Changelog

nodejs/node · · 5 commits

Streams, QUIC deps, and docs refreshed

A QUIC dependency update, stream performance and correctness fixes, plus clearer test event docs landed today.

Stream reads and iteration got faster (mcollina9f1ae22)

Node trimmed extra pull checks in default WHATWG stream paths and skipped default size-algorithm overhead when enqueueing chunks. The change should improve read and async-iteration performance, with the commit noting measurable wins across several benchmarks.

SAB-backed stream iterator chunks now copy to ArrayBuffer (trivikr6eff679)

Stream iter consumers now copy SharedArrayBuffer-backed bytes into real ArrayBuffer instances so bytes() and arrayBuffer() match the spec more closely. This fixes a correctness issue that could leak SAB-backed results to APIs that promise ArrayBuffer output.

QUIC dependency updated to ngtcp2 1.24.0 (nodejs-github-bot8a3b11c)

Node refreshed its bundled ngtcp2 dependency and adjusted the surrounding QUIC glue to match the upstream API and file layout changes. The update also adds an OpenSSL cleanup hook, which helps avoid leaks and keeps the embedded QUIC stack aligned with upstream.

HTTP IncomingMessage no longer takes an unused read argument (efekrsklabe2545)

IncomingMessage.prototype._read dropped its unused n parameter. This removes dead code and the old V8 adaptor-frame workaround comment, reflecting that the historical engine limitation is no longer relevant.

Other misc changes

  • Added a test API doc table grouping TestsStream events by scope and emission order (MoLow8f5fda2)
  • Test coverage updates for the SAB stream iterator fix (trivikr6eff679)
  • Minor internal cleanup in lib/_http_incoming.js related to the removed _read parameter (efekrsklabe2545)