$ the-wire · showcase
ESM export errors go hard, an http2 tracing hook arrives
By RepoJournal · Filed · About Node.js · Composed from the cited sources · methodology
Node's ESM resolver stops warning and starts throwing on malformed exports subpaths and targets, while an http CVE fix moves into the mainline and diagnostics_channel gains a channel that can actually inject HTTP/2 client request headers.
esm: move DEP0155 and DEP0166 to End-of-Life nodejs/node
DEP0155 and DEP0166 are End-of-Life: exports subpaths ending in "/" now throw ERR_INVALID_MODULE_SPECIFIER, and imports/exports targets with empty segments (double, leading, or trailing slashes after "./") throw ERR_INVALID_PACKAGE_TARGET. This is a breaking change for packages that shipped those specifiers and relied on the deprecation warning path; pattern matches with empty segments now thro...
http: forward-port the pending-read fix for CVE-2026-105481 nodejs/node
Forward-ports the fix for CVE-2026-105481, where the Agent data guard only ran once the event loop polled for I/O, letting data land in an idle kept-alive socket's OS buffer and be served as the next request's own response. The fix checks the OS directly via a new LibuvStreamWrap::HasPendingRead before reusing a free socket, closing a response-queue poisoning window on keep-alive connections.
http2: allow client request header injection via diagnostics_channel nodejs/node
Adds an http2.client.request.headers diagnostics_channel event so instrumentation can add headers like traceparent to outgoing HTTP/2 client requests. The existing http2.client.stream.created and http2.client.stream.start channels publish sentHeaders after ClientHttp2Session#request() has already serialized them, so mutating that object never reached the wire.
diagnostics_channel: add threadpool work event nodejs/node
An experimental threadpool.work.<type> channel reports enqueued, started, and ended timestamps per work item, letting tracing tools separate queue time from native execution time; cancelled work reports started and ended as null. Channel and subscriber state are cached per Environment so the unsubscribed path stays cheap.
fix(request): reject an already aborted request before dispatch nodejs/undici
undici's request() used to dispatch a request whose signal was already aborted, opening a connection and surfacing ECONNREFUSED instead of the abort; it now rejects with signal.reason ?? new RequestAbortedError() before dispatch, so no connection is opened. Also closed: a synchronous dispatch failure now returns the right value rather than reporting the dispatcher as busy awaiting a drain event.
fix(fetch): close the connection when a null body status response has content (#6218) nodejs/undici
Fetch now aborts the dispatch as soon as content arrives on a null-body status like 205, instead of holding the connection until bodyTimeout while silently draining bytes nobody can read; 205 responses without content still reuse the connection. Elsewhere in doc-kit, metadata and section-pages start on their dependency's first chunk so the two stages overlap with more than one thread, leaving g...
Action items