Skip to content

v0.10.0

Choose a tag to compare

@jilio jilio released this 28 Dec 06:34
· 142 commits to main since this release

Release v0.10.0

BREAKING CHANGES:

EventStore Interface Redesign (#43):

  • Replaced int64 positions with opaque Offset type (string)
  • New constants: OffsetOldest (""), OffsetNewest ("$")
  • EventStore reduced to 2 core methods: Append and Read
  • New optional interfaces: EventStoreStreamer, EventStoreSubscriber
  • Separate SubscriptionStore interface for position tracking
  • SubscribeWithReplay now requires context.Context as first parameter
  • New options: WithSubscriptionStore, WithReplayBatchSize

SQLite Store Updates (#45):

  • Method renames: Save→Append, Load→Read, LoadStream→ReadStream
  • Subscription methods renamed: SaveSubscriptionPosition→SaveOffset, etc.
  • Removed GetPosition method
  • Updated MetricsHook interface

Durable-Streams Store Rewrite (#48):

  • New signature: New(baseURL, streamPath, opts...) instead of New(streamURL)
  • Removed WithRetry() option (handled by underlying client library)
  • Now uses conformance-tested ahimsalabs/durable-streams-go client

This release enables support for remote storage backends like durable-streams
that use opaque string offsets rather than sequential integers.