Skip to content

Releases: adilbaig/pagerduty

Stable Release

04 Aug 16:50
Compare
Choose a tag to compare

This release fixes the images and links specifications to comply with PagerDuty API V2 Event Structure. In V1, a 'contexts' object was used to add links and images. This was replaced in v2, with top-level properties for both. Since this is compliant with V2, I'm not incrementing to a major version.

BREAKING CHANGE: Note that if you were using the ImageContext or LinkContext class prior to this release, those are no longer available. Use the addLink() and addImage() methods of the TriggerEvent class directly. For example:

# Old Code
$image = new ImageContext("https://www.pagerduty.com/wp-content/uploads/2016/05/pagerduty-logo-green.png", "https://example.com/", "Example text");
$event->addContext($image);
# New code
$event->addImage("https://www.pagerduty.com/wp-content/uploads/2016/05/pagerduty-logo-green.png", "https://example.com/", "Example text");

Refer to the README for examples of both methods. Thanks to @mattdudys for contributing to this release.

Stable Release

15 Jul 21:04
Compare
Choose a tag to compare

Incorporating a PR that allows calling PagerDuty through a proxy. Useful for working with corporate firewalls.

Thanks @jmgibson1976

Stable Release

14 Sep 13:47
177e016
Compare
Choose a tag to compare

This release defaults to the PagerDuty EventsAPI V2 . PagerDuty is going to decommission the V1 API on October 19th 2018.

This API is slightly incompatible with the previous version, due to changes in the REST service. Updating the TriggerEvent ctor should do it for most use cases.

Stable Release

02 Jun 08:40
Compare
Choose a tag to compare
  • Minor Documentation Improvements
  • setDetails and setDescription moved to TriggerEvent
  • Updated test to PHPUnit

Stable Release

11 Oct 21:28
Compare
Choose a tag to compare

This is a complete rewrite of the API, and is thus backwards incompatible with v1.
It was designed to solve problems with the old API design, and to better integrate with the current Events API.

1.0.0

03 Apr 21:26
Compare
Choose a tag to compare

First stable release.