@durable-streams/client
0.2.7 · 10 Sep 2026Apache-2.0507.1k / weekRepositoryHomepagenpmAtom feed
Upgrading @durable-streams/client From 0.1.5 to 0.2.7
8 releases in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 121
- new
- 122
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.2.1
- Breaking0.2.1
Release by release
- Fixed
Fix producer flushing in browsers and other runtimes without Node.js
processby replacing thefastqdependency with a built-in async queue.
- Fixed
- Fixed
Fix idempotent producer auto-claim sequencing so later batches wait for the first running batch to claim its epoch before reserving and sending subsequent sequence numbers.
flush()now also waits for batches held behind the initial auto-claim barrier.
- Fixed
- Fixed
Restore the TypeScript client surface expected by Durable Streams consumers: publish the SSE control-event constants from the package entrypoint and expose
IdempotentProducer.lastSuccessfulOffsetafter successful writes or closes.
- Fixed
- New
Implement fetch-then-live pattern: initial requests omit the
livequery parameter so catch-up responses are cacheable by CDNs and browsers. Live mode (long-poll or SSE) activates only after the client reaches up-to-date. - New
Add first-class live mode configuration to
createStreamDB()so callers can force"sse"or"long-poll", and addheaderstoIdempotentProducerOptionsfor producer batch and close requests.
- New
0.2.3nothing new or fixed in the note
- New
Add TanStack Intent skills for AI coding agents. Skills cover getting started, reading streams, writing data, server deployment, go-to-production checklist, state schema, stream-db, and Yjs sync. Fix
live: "auto"references in README tolive: true. - Fixed
Refactor StreamResponseImpl to use an immutable state machine for sync state (offset, cursor, upToDate, streamClosed).
- Fixed
Extract pure helper functions from StreamResponseImpl class to module-level functions
- New
- Breaking
Require pre-serialized JSON strings for append() (#193) (Kyle Mathews mathews.kyle@gmail.com)
- Breaking
Remove non-existent ErrorDetails type export (Kyle Mathews mathews.kyle@gmail.com)
- New
cli: Add --url, --help options and improve validation/messages (#192) (Kyle Mathews mathews.kyle@gmail.com)
- New
cli: Add authorization support (#189) (Kyle Mathews mathews.kyle@gmail.com)
- Breaking
- New
Bump all packages to version 0.2.0
- New
155 other lines we could not sort, mostly version bumps
- 0.2.1
Address PR review feedback on README (Claude noreply@anthropic.com)
- 0.2.1
Address blocking code review issues (Kyle Mathews mathews.kyle@gmail.com)
- 0.2.1
Address code review feedback (Kyle Mathews mathews.kyle@gmail.com)
- 0.2.1
Address reviewer feedback on conformance test suite (Claude noreply@anthropic.com)
- 0.2.1
Address second code review feedback (Kyle Mathews mathews.kyle@gmail.com)
- 0.2.1
Apply eslint fixes to CLI files (Claude noreply@anthropic.com)
- 0.2.1
Auto-create registry stream if it doesn't exist (Kyle Mathews mathews.kyle@gmail.com)
- 0.2.1
Break circular dependency between client and writer packages (Kyle Mathews mathews.kyle@gmail.com)
- 0.2.1
Broaden README messaging to cover all real-time use cases (Claude noreply@anthropic.com)
- 0.2.1
Change default offset from 0 to -1 (Kevin kevin@electric-sql.com)
41 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.