Changelog

nodejs/node · · 6 commits

Streams get a safety pass, compose goes stable

Stream internals fixed two pipe/backpressure bugs, broadcast now validates writev input, and stream.compose is marked stable.

Stream pipeTo now respects accepted backpressure (trivikr8c6e39e)

pipeTo() no longer retries chunks that a sync writer already accepted while signaling backpressure. This fixes a bug where block-mode PushWriter could cause duplicate async writes instead of waiting for drain, improving correctness under pressure.

BroadcastWriter now rejects non-array writev input (trivikra6696e2)

BroadcastWriter.writev() and writevSync() now validate that chunks is actually an array and throw ERR_INVALID_ARG_TYPE otherwise. That tightens the API and matches the validation covered by new tests.

stream.compose is now stable (mcollina19dd555)

The docs now mark stream.compose as Stability 2 instead of experimental. This signals the API is ready for general use.

Other misc changes

  • WebStreams internal validation cleanup for highWaterMark/size coercion (aduh9513c2374)
  • Debugger test flake fixes around restart/initial-break handling (inoway469de9b9f, inoway463163d8a)