github documonster/documonster v0.21.0

12 hours ago

0.21.0 (2026-10-22)

⚠ BREAKING CHANGES

  • stream: the browser build follows Node where it used to differ.
    • compose() with no stage throws ERR_MISSING_ARGS; a single stage becomes
      Duplex.from(stage) rather than being returned as is.
    • compose() returns the entry's Duplex (ComposedDuplex<In, Out>), not ITransform.
    • Readable.from(blob), Duplex.fromWeb(readableStream) and Duplex.toWeb(readable)
      are rejected, as Node rejects them.
    • Readable.from(webStream) reads it as an async iterable (object mode by default).
    • The classes' fromWeb / toWeb keep Node's behaviour, defects included; use the
      module's functions for the fixed behaviour.
    • setDefaultHighWaterMark validates its value as Node does.
    • readableStreamToAsyncIterable yields every value, null and undefined included.

Features

  • stream: One Node-style stream API with the same behaviour on Node.js, Bun and browsers (8f3756f)

Bug Fixes

  • stream,excel: Hold to Node's per-platform and per-version behaviour in tests and defaults (03a569a)
  • stream: A chunk the decoder rejects fails the stream, not the process (513c3c8)
  • stream: Declare what each stream actually yields and accepts (8aac218)

Don't miss a new documonster release

NewReleases is sending notifications on new releases.