Skip to content

Releases: flashcatcloud/flashduty-sdk

v0.9.1

29 May 03:58
f5b93ab

Choose a tag to compare

Self-describing timestamp types for LLM-friendly output.

  • New Timestamp (Unix seconds) and TimestampMilli (Unix ms): marshal to RFC3339 (local TZ), unmarshal from epoch-or-RFC3339, zero→0 sentinel.
  • Response time fields migrated to these types; request/input fields and durations/offsets stay int64.
  • BREAKING (pre-1.0): CreateIncident/CreateStatusIncident now return typed *CreateIncidentOutput/*CreateStatusIncidentOutput instead of any; several response field types changed int64→Timestamp.
  • Added CLAUDE.md + AGENTS.md.

PR #20.

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.