RepoJournal
Node.js

@nodejs

The Node.js runtime - every backend team's CVE source of truth

Keep up with Node.js in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: JavaScript Full archive →

The Wire · Showcase

UNDICI 8.2.0 LANDS IN NODE CORE WITH HTTP/2 FIX

By RepoJournal · Filed · About Node.js

Node's bundled HTTP client now properly aligns HTTP/2 empty body handling with HTTP/1 semantics, closing a consistency gap that could break streaming assumptions.

Undici 8.2.0 shipped into Node core [1] carrying a critical fix for HTTP/2 content-length behavior on empty bodies [2]. The issue: content-length methods weren't consistent between h1 and h2 protocols, meaning code that worked reliably over HTTP/1 could silently fail over HTTP/2. This is the kind of protocol-level inconsistency that burns hours in production debugging. The undici repo also moved to stop interfering with @types/node type definitions [3], untangling a dependency mess where outdated undici-types were shadowing current implementations. On the Node side, the HTTP module tightened drain event semantics [4] — drain now fires only after socket buffers actually empty, fixing a race condition where 'drain' fired while writableLength remained non-zero. This restores the invariant developers reasonably expect. Meanwhile, armv6 support moved out of experimental [5], and documentation got minor structural cleanup [6].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] deps: update undici to 8.2.0 ↗ nodejs/node
  2. [2] fix: align h2 empty body content-length methods with h1 (#5172) nodejs/undici
  3. [3] types: stop interfering with @types/node ↗ nodejs/undici
  4. [4] http: emit 'drain' on OutgoingMessage only after buffers drain nodejs/node
  5. [5] build: remove armv6 from experimental platforms nodejs/node
  6. [6] doc: minor structural stream/iter edits ↗ nodejs/node

Quick answers

What shipped in Node.js on May 5, 2026?
Node's bundled HTTP client now properly aligns HTTP/2 empty body handling with HTTP/1 semantics, closing a consistency gap that could break streaming assumptions. In total, 23 commits and 25 pull requests landed.
Who contributed to Node.js on May 5, 2026?
2 developers shipped this update, including nodejs-github-bot and Renegade334.
What were the notable Node.js updates?
deps: update undici to 8.2.0, fix: align h2 empty body content-length methods with h1 (#5172), and types: stop interfering with @types/node.

More from @nodejs

Daily updates, in your inbox

Follow Node.js

Keep up with Node.js in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?