The Wire · Showcase
NODE STREAM VALIDATION FIX LANDS, NIGHTLY BUILDS ROLL
By RepoJournal · Filed · About Node.js
Stream writer methods now properly validate options.signal before use, closing a gap where invalid signals caused inconsistent behavior across push, broadcast, and fromWritable.
The core fix [1] lands in nodejs/node, standardizing error handling so that push, broadcast, and fromWritable write methods all throw ERR_INVALID_ARG_TYPE for invalid signal values instead of silently ignoring them or causing unexpected behavior downstream. This is a quality-of-life improvement for developers using the modern streams API with async signal handling. On the infrastructure side, nodejs/snap continues its automated nightly builds [2] [3], keeping the distribution channel fresh for early adopters. Over in nodejs/undici, the HTTP client got a bug fix [4] [5] to skip decompression on HEAD responses, which have no body but were being processed anyway. Meanwhile nodejs/branch-diff released v3.1.6 [6] with a dependency bump to actions/setup-node 7.0.0 [7], which adds cache key outputs for CI workflows. Documentation improvements across the main repo include clearer guidance on PEM signing key formats [8] and a devcontainer spelling fix [9]. Synchronous connect support for BoundSocket [10] and a build system improvement for Temporal crate versioning [11] round out the patch work.
Action items
- → Review stream validation changes if you use push, broadcast, or fromWritable with signal options nodejs/node [plan]
- → Update branch-diff if you maintain release tooling nodejs/branch-diff [monitor]
- → Test undici decompress fix if HEAD request handling matters to your app nodejs/undici [plan]
References
- [1] stream: validate writer options signal ↗ nodejs/node
- [2] snap: (auto) updated to 27.0.0-nightly20260716608112affa nodejs/snap
- [3] snap: (auto) updated to 27.0.0-nightly202607157a11a9b2db nodejs/snap
- [4] fix(decompress): skip HEAD responses ↗ nodejs/undici
- [5] fix(decompress): skip HEAD responses (#5564) nodejs/undici
- [6] v3.1.6 ↗ nodejs/branch-diff
- [7] chore(deps): bump actions/setup-node from 6.4.0 to 7.0.0 ↗ nodejs/branch-diff
- [8] doc: clarify PEM format for signing keys nodejs/node
- [9] doc: fix spelling in devcontainer guide nodejs/node
- [10] net: support sync connect for BoundSocket nodejs/node
- [11] build: extract temporal_capi crate directory name into gyp variable nodejs/node