Packages

undici

8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed

Your version

8.3.0

14 May 2026Where it was published

8.13.1 is the newest release of 8.x.

In short

2 new7 faster15 fixed2 changed55 internal

Security

30 advisories affect 8.3.0; 8.12.2 fixes them

25 more

Release note

What's Changed

  • Preserve pool capacity after removing stale client

  • client: Cache HTTP/2 authority

  • types: Add TOpaque to client connect options

  • Avoid duplicate pool dispatcher selection on backpressure

  • types: Stop interfering with @types/node

  • Align h2 empty body content-length methods with h1

  • SnapshotAgent: Add normalizeBody and normalizeQuery

  • socks5: Use configured connector in Socks5ProxyAgent

  • http2: Avoid isArray checks for common headers

  • socks5: Preserve dispatch backpressure return value

  • http2: End zero-length request bodies with headers

  • dispatcher: Remove unreachable assert in writeBlob

  • Clean up benchmark resources before worker exit

  • proxy-agent: Avoid extra header allocations in auth guard

  • Prevent node-fetch test server close from hanging on Windows

  • Accept unknown-size Content-Range values

  • retry-handler: Validate response body length against Content-Range

  • Preserve fetch multipart body on MockAgent fallback

  • Replace finished() with writable lifecycle tracking

  • client-h2: Reuse request stream handlers

  • Prevent pipeline body replay on redirect

  • types: Remove throwOnError from Dispatcher.RequestOptions

  • Validate EOF for chunked h1 responses

  • Cache formdata boundary

  • Add Node 26 to the matrix

  • client-h2: Reuse request upgrade stream handlers

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.