Skip to content

Releases: Protocol-Lattice/GoEventBus

v0.3.0: feat: add batch handlers for bulk event dispatch (#16) (#16)

21 May 17:45
f5bb1bc

Choose a tag to compare

Introduces BatchHandlerFunc and RegisterBatch, allowing events for a
projection to be collected across a Publish cycle and delivered as a
slice in configurable chunks. Supports fan-out, DLQ routing, panic
recovery, async dispatch, and per-event lifecycle hooks. Updates README
with full batch handler documentation.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

v0.2.9

21 May 17:33
15b1611

Choose a tag to compare

feat: add WithRetry middleware with ConstantBackoff and ExponentialBa…

v0.2.8: feat: add dead letter queue with panic recovery (#14)

21 May 17:29
bf36f58

Choose a tag to compare

Failed and panicking handlers are routed to an opt-in DeadLetterQueue
(store.DLQ = GoEventBus.NewDeadLetterQueue()) instead of being silently
counted in errorCount. Panics are wrapped as errors with errors.Is/As
support and do not kill worker goroutines or the calling goroutine.

New API: DeadLetter struct, DeadLetterQueue with Len/Entries/Drain/Replay.
Replay re-subscribes all entries, increments Attempts, and keeps entries
that fail to re-enqueue. Recovery moved from worker() into execute() so
sync-mode panics are also caught. README updated with full DLQ section.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

v0.2.7

21 May 17:19
be9539d

Choose a tag to compare

feat: implement fan-out — multiple handlers per Dispatcher projection…

v0.2.6: fix: patch 5 security vulnerabilities found in audit (#12)

21 May 17:04
d7604f9

Choose a tag to compare

- Fail-fast nil dispatcher and zero buffer size in NewEventStore
- Recover panicking handlers in async workers so wg.Done() always fires
  and the worker pool is never silently exhausted
- Remove __ctx magic key from execute() and Transaction.Commit() to
  prevent context injection via Args
- Lock txMu in Rollback() to prevent concurrent Subscribe from losing
  events when head is reset
- Add regression tests for panic recovery and invalid constructor args

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

v0.2.5

21 Feb 14:14
5102dd1

Choose a tag to compare

refactor: use Data field in Event for type-safe payloads and fix test…

v0.2.4

12 Nov 20:11

Choose a tag to compare

Fix examples

v0.2.3

29 Oct 06:41

Choose a tag to compare

change name of module

v0.2.0

28 Oct 20:30

Choose a tag to compare

feat: changing module name

v0.1.46

14 Jul 10:05

Choose a tag to compare

fix gofmt