Releases: adilbaig/pagerduty
Stable Release
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
Incorporating a PR that allows calling PagerDuty through a proxy. Useful for working with corporate firewalls.
Thanks @jmgibson1976
Stable Release
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
- Minor Documentation Improvements
- setDetails and setDescription moved to TriggerEvent
- Updated test to PHPUnit
Stable Release
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.