Packages

@durable-streams/client

0.2.7 · 10 Sep 2026Apache-2.0507.1k / weekRepositoryHomepagenpmAtom feed

Your version

0.1.4

8 Jan 2026Where it was published

0.2.7 is the newest release of 0.1.x.

In short

1 new

Release note

The section about @durable-streams/client of a note shared by several packages.

Patch Changes

  • Add Kafka-style idempotent producers for exactly-once write semantics.

    Server:

    • Producer state tracking with Producer-Id, Producer-Epoch, Producer-Seq headers

    • Duplicate detection returns 204 (idempotent success)

    • Zombie fencing via epoch validation (403 on stale epoch)

    • Sequence gap detection (409 with expected/received seq)

    • Per-producer serialization for concurrent request handling

    Client:

    • New IdempotentProducer class with batching and pipelining

    • Fire-and-forget API with automatic deduplication

    • Configurable maxBatchBytes, lingerMs, maxInFlight

    • Auto-claim flow for ephemeral producers

    • StaleEpochError and SequenceGapError for error handling

    Protocol:

    • New section 5.2.1 documenting idempotent producer semantics

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.