Packages

undici

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

Your version

7.17.0

5 Jan 2026Where it was published

7.30.2 is the newest release of 7.x.

In short

7 new2 faster18 fixed9 changed47 internal

Security

32 advisories affect 7.17.0; 7.30.1 fixes them

27 more

Release note

What's Changed

  • types: Use MessagePort instance type in MessageEvent

  • lint: Activate n/no-process-exit

  • H2: Correct CONNECT behaviour

  • Add runtime feature "detection"

  • Use less promises in extractBody

  • proxy-agent: Add missing return after callback-call

  • Remove redundant line in retry-handler

  • Use lazyloaders for runtime feature detection

  • Minor changes in dispatcher-base.js and types for Dispatcher

  • http2: Refactor and split tests of http2.js into multiple files

  • dns-interceptor test should await plan to complete

  • Keep promise chains intact

  • Add getUpstream() method to BalancedPool

  • fetch: Handle invalid priority values properly

  • types: Optional status in Response.redirect

  • cacheStores types and usage in README

  • Feat dns interceptor storage

  • 304 not modified reply upon revalidation did not update cache.

  • fetch: Improve regexes in data-uri.js

  • Optimize validate http token

  • fix(ws) onSocketClose being called multiple times

  • Prevent duplicate debug logs when multiple undici instances exist

  • Run the gc() in long-lived-abort-controller test

  • Do not destroy the HTTP2 stream twice in tests

  • Fix http2-dispatcher test

  • Fetch blob with range off-by-one error

  • Ensure HTTP/2 sends Content-Length for empty POST requests

  • #2458: WebSocket through HTTP/2

  • Don't freeze urlList for opaque filtered responses

  • Fix fd parsing unquoted attribute values

  • dispatcher/proxy-agent: New diagnostics event 'undici:proxy:connected'

  • Feat/round robin pool

  • Formdata ignore epilogue preamble

  • Snapshot url exclusion

  • Support h2c over unix domain sockets

  • Add deduplicate interceptor for request deduplication

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.