This release fixes issues for SREs watching stability and regressions.
Published 19d
MCP Data & Storage
✓ No known CVEs patched
✓ No known CVEs patched in this version
Topics
durable
durable-streams
real-time
streaming
streamstore
typescript
+1 more
write-ahead-log
Affected surfaces
auth
breaking_upgrade
Summary
AI summaryFixes streams.create() return type and normalizes date fields to Date objects.
Full changelog
Patch Changes
- 2149094: Change the default account endpoint from
aws.s2.devtoa.s2.dev. The previous endpoint continues to work, so existing configurations are unaffected. - 825cb7d: Fix
streams.create()to returnStreamInfo(withname,createdAt,deletedAt) and normalize date fields toDateobjects, matchinglist()andensure(). It was previously typed as{ config }and left dates as raw strings. - 7cf9eb0: Make append-session bookkeeping O(1) per ack instead of O(queue depth): replace array
shift()with an amortized O(1) FIFO queue (inflight batches, capacity waiters, pending acks), and drain new submissions from a dedicated queue instead of rescanning the full inflight queue every pump cycle. - 19a3e23: Fix read-session cancellation being silently dropped:
RetryReadSession.cancelcalledcancel()on the inner transport stream, which is always locked by the retry pump's reader, so it rejected withERR_INVALID_STATE(swallowed) and the underlying HTTP/2 stream stayed open. A live tail kept receiving server heartbeats indefinitely, which made a subsequentS2Stream.close()hang forever in the graceful HTTP/2 session close. Cancellation now goes through the pump's reader, so the transport stream and its HTTP/2 stream are torn down andclose()completes. - 8287128: Report a clear protocol error when the S2S transport receives a compressed frame for an algorithm that was never negotiated, instead of the misleading "zlib module has not been loaded".
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About s2-streamstore/s2-sdk-typescript
Official MCP server for the S2.dev serverless stream platform.
Related context
Related tools
Earlier breaking changes
- v@s2-dev/[email protected] Removes generated API.BasinScope as spec no longer defines it.
- v@s2-dev/[email protected] Removes root export BasinScope; introduces LocationName instead.
- v@s2-dev/[email protected] Replaces BasinInfo.scope with location field.
- v@s2-dev/[email protected] Replaces EnsureBasinInput.scope with location field.
- v@s2-dev/[email protected] Replaces CreateBasinInput.scope with location field.
Beta — feedback welcome: [email protected]