1.4.0
Highlights
- Add support for passing a
context.Context
to all methods in package (in non-breaking way) - Add new
APIError
type, that allows for richer inspection of errors returned from API. - Add support for the V2 Events API, Analytics, and Change Events.
- Miscellaneous bug fixes, including some that may result in incorrect API request/response handling.
Closed issues
- CreateEventWithHTTPClient nil pointer dereference #274 (blockpane)
- ManageIncidents - support set resolution #243 (hagaishapira)
- Exposing context.Context in exported API without requiring major version bump #267 (theckman)
- Fix any linter issues and add missing GoDoc comments #317 (theckman)
Merged pull requests
- Fix rulset rule not respecting position "0" #236 (zane-deg)
- Event v2 client #241 (goatherder)
- Add Support For Change Events #246 (Sjeanpierre)
- Correct namespacing of Change Event resource #248 (Sjeanpierre)
- add tag and tag_test #252 (stmcallister)
- allow creating services with no scheduled actions #234 (cluarkhpe)
- business_service: clean b.ID before calling UPDATE #253 (GiedriusS)
- service_dependency: fix (dis-)associate operations #254 (GiedriusS)
- ruleset: remove omitempty from Route #256 (GiedriusS)
- add service.alert_grouping_params field #257 (stmcallister)
- fix creating services that don't use support hours #255 (cluarkhpe)
- Provide a method for ferryign API errors back to the caller #265 (theckman)
- Prepare internals for exposing context.Context in exported API #266 (theckman)
- Update APIError struct to use new NullAPIErrorObject type for safety #272 (theckman)
- Update internal HTTP methods to not take pointer to map as argument #269 (theckman)
- Fix tags on log entry options struct #275 (evnsio)
- Add alerts to IncidentDetails struct #276 (StupidScience)
- Fix logentry.channel json marshaling/unmarshaling #264 (StupidScience)
- Fixed CreateRuleSet docs typo #281 (neufeldtech)
- Omitting EndpointURL from Extension if empty #282 (au-akash)
- add ListServicesPaginated to services api (and tests) #260 (c6h12o6)
- return nil instead of resp on error #278 (fixes #274) (blockpane)
- Analytics #261 (melchiormoulin)
- Add context.Context support to * (fixes #267) (theckman)
- Add support for Service Event Rules #304 (mrzacarias)
- teams and services analytics endpoints #312 (newbootz)
- Add Resolution string to ManageIncidentsOptions struct #313 (fixes #243) (theckman)
- Fix invalid JSON struct tag, other linter issues #319 (fixes #317) (theckman)
- Add ability to set Escalation Policy when managing incidents #323 (theckman) superseded: #273 (evnsio)