go client library for PagerDuty v2 API
See CHANGELOG.md.
Full Changelog: https://github.com/PagerDuty/go-pagerduty/compare/v1.6.0...v1.7.0
Hello there! We just wanted to drop in and address the elephant in the room. In a previous release we made a promise to maintain API compatibility for future v1 releases. This release contains a few changes that may require minor updates to the way your code interacts with API request and response objects. These changes are necessary in order to make these APIs work properly for as many of you as possible.
One of our goals with this client library is to provide a working client that properly interacts with the PagerDuty Public API. While we remain committed to not breaking API compatibility for reasons such as "making the library [better | easier to use | etc.]"; we believe it is in all of our best interest to make this client library work.
As always, we welcome your feedback on this decision via a GitHub issue.
EventsAPIV2Error
for errors that occur with Events API (V2) calls by @theckman in https://github.com/PagerDuty/go-pagerduty/pull/419
includes
by @jaimegago in https://github.com/PagerDuty/go-pagerduty/pull/439
main
branch!Full Changelog: https://github.com/PagerDuty/go-pagerduty/compare/v1.5.0...1.6.0 Milestone: Milestone 1.6.0
Highlights
Closed issues
None
Merged pull requests
NOTICE
This release is special, and intentionally includes breaking API changes without bumping the module's major version. We apologize for any inconveience this causes, but we felt this approach was better than incurring the cost of releasing v2 today. Specifically, we believed it was best to break the API, so that you became aware of features you depended on that were not working as you expected. We welcome your feedback on this decision via a GitHub issue.
These changes largely fix API issues that would have made it impossible for the this module to be used correctly. Most often this is due to incorrect or invalid struct fields, others were a lack of required inputs to specific actions.
We commit henceforth to maintaining API compatibility for future v1 releases.
Highlights
APIError
type to provide more helpful error strings.Breaking changes
Closed issues
Merged pull requests
pd schedule override create
. #341 (dsymonds)Highlights
v1.4.0
our error parsing logic was not impacted by the bug.Merged pull requests
Closed issues
Highlights
Merged pull requests
Closed issues
Highlights
context.Context
to all methods in package (in non-breaking way)APIError
type, that allows for richer inspection of errors returned from API.Closed issues
Merged pull requests
Merge pull request #239 from PagerDuty/changelog-v1-3-0
update changelog for v1.3.0