Skip to content

Version 0.5.0

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 05 Nov 21:54
· 60 commits to main since this release
v0.5.0
d01cda8

Added

  • Added MessageFilter with explicit all-types and specific-types selections, and Go and TypeScript validation helpers.
  • Added EventStreamConsumerTooSlow and the Go helper EventStreamConsumerTooSlowError() for RESOURCE_EXHAUSTED errors when a client cannot keep up and event stream delivery can no longer continue contiguously.

Changed

  • [BC] Changed EventStreamSegment.envelopes to contain individual Envelope values instead of MultiEnvelope values.
  • [BC] Replaced message_type_ids in WatchEventsRequest and ReadEventsRequest with a required filter. Missing filters, filters with no selection, and empty specific-type selections are invalid and result in INVALID_ARGUMENT from either RPC.
  • Clarified event matching, stream discovery and segment continuity requirements for WatchEvents and ReadEvents.
  • Changed WatchEvents to return RESOURCE_EXHAUSTED with an attached EventStreamConsumerTooSlow detail when a client cannot keep up and delivery can no longer continue contiguously.

Removed

  • [BC] Removed MultiEnvelope and its Go and TypeScript batching, expansion and validation helpers. Use individual Envelope values instead.

Fixed

  • Fixed TypeScript validateUUID() accepting negative or overflowing UUID components when their version and variant bits were otherwise valid.