Skip to content

This release fixes issues for SREs watching stability and regressions.

Published 19d MCP Data & Storage
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ 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 summary

Fixes streams.create() return type and normalizes date fields to Date objects.

Full changelog

Patch Changes

  • 2149094: Change the default account endpoint from aws.s2.dev to a.s2.dev. The previous endpoint continues to work, so existing configurations are unaffected.
  • 825cb7d: Fix streams.create() to return StreamInfo (with name, createdAt, deletedAt) and normalize date fields to Date objects, matching list() and ensure(). 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.cancel called cancel() on the inner transport stream, which is always locked by the retry pump's reader, so it rejected with ERR_INVALID_STATE (swallowed) and the underlying HTTP/2 stream stayed open. A live tail kept receiving server heartbeats indefinitely, which made a subsequent S2Stream.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 and close() 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

Track s2-streamstore/s2-sdk-typescript

Get notified when new releases ship.

Sign up free

About s2-streamstore/s2-sdk-typescript

Official MCP server for the S2.dev serverless stream platform.

All releases →

Related context

Earlier breaking changes

Beta — feedback welcome: [email protected]