Skip to content

Releases: flashcatcloud/flashduty-sdk

flashduty-sdk v0.9.0

22 May 07:30
20770c7

Choose a tag to compare

What's Changed

  • Add incident lifecycle SDK APIs for unack, wake, remove, disable merge, comment, add responders, and related update flows.
  • Add incident war-room SDK APIs, including create/list/detail/delete/add-member/default-observers.
  • Add war-room-enabled datasource listing for CLI integration selection.
  • Centralize SDK HTTP request/response handling in common helpers while preserving existing non-200 error behavior.

Verification

  • /Users/bowen/.goenv/versions/1.25.1/bin/go test -count=1 ./...

v0.8.0

08 May 05:08
3ed32a1

Choose a tag to compare

Bug fixes

  • ListIncidents / ListChanges: backend /incident/list and /change/list expect a channel_ids ([]int64) array filter — the previous singular channel_id field was silently ignored, returning results from every channel. (#4)

API changes

  • Added ChannelIDs []int64 to ListIncidentsInput and ListChangesInput.
  • The legacy ChannelID int64 field is now deprecated. Existing callers continue to work — a non-zero ChannelID is wrapped into a single-element ChannelIDs slice on the wire.