v0.2.0
This release adds first-class support for external event consumers and resumable streaming checkpoints.
Highlights
-
Add tail-and-follow event streaming with
tailEvents({ last, signal })Consumers can now start from the most recent
Nevents and continue following new events as they are appended. -
Add resumable streaming with opaque cursors via
resumeEvents({ cursor, signal })Each streamed item now includes an opaque cursor you can persist and reuse later to continue exactly after the last processed event.
-
Improve stream correctness under contention and failures
Streaming reads are coordinated with in-flight writes so consumers do not observe events that are later rolled back.
-
Improve stream lifecycle behavior
Stream iterators now shut down cleanly when closed (including
return()), without requiring additional abort plumbing.
Runtime requirements
- Node.js 24+ is now required (
engines.node >= 24.0.0).