Packages

undici

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

Upgrading undici From 8.0.2 to 8.13.1

24 releases in betweenevery note read

Other targets from 8.0.2Clears its 30 advisories8.12.2Latest8.12.4
  1. 8.0.2yours
  2. 8.0.3breaking
  3. 5 releases
  4. 8.5.0security
  5. 3 releases
  6. 8.9.0security
  7. 2 releases
  8. 8.10.2security
  9. 5 releases
  10. 8.12.2security
  11. 1 release
  12. 8.12.4security
  13. 1 release
  14. 8.13.1target

Before you upgrade

Tick each one off as you go
  • Breaking8.0.3

Security

Fixes 30 advisories affecting 8.0.2

Release by release

  1. 8.13.1

    20 Nov 20267 fixes
    • Fixed

      agent: Close unused pool after aborted request

    • Fixed

      h2: Replace a connection whose PING goes unanswered

    • Fixed

      proxy-agent: Decode SOCKS5 credentials from the proxy URI

    • Fixed

      h2: Preserve request AsyncLocalStorage context for onInfo

    • Fixed

      fetch: Preserve empty strings when inspecting FormData

    • Fixed

      Do not send a request on a connection verified for another servername

    • Fixed

      pipeline: Abort request when response body is dropped early

  2. 8.13.0

    20 Nov 20261 new · 8 fixes
    • New

      interceptors: Mark decompress interceptor as stable

    • Fixed

      pool: Release saturated h2 protocol probes after SETTINGS

    • Fixed

      h2: Preserve transport errors and mismatch causes

    • Fixed

      h1: Do not reuse idle sockets whose keep-alive timeout expired

  3. 8.12.4

    Security fix5 Nov 202610 fixes
    • Security

      This release fixes six vulnerabilities.

    • Fixed

      mock: Ignore the trailing slash before a query string

    • Fixed

      Let interim 1xx responses through DecoratorHandler

    • Fixed

      types: Declare FormData prototype methods

  4. 8.12.3

    19 Oct 20262 fixes
    • Fixed

      h2: Replace a connection that stops responding after a stream timeout

    • Fixed

      pool: Keep caller async context for queued requests

  5. 8.12.2

    Security fix15 Oct 2026
  6. 8.12.1

    14 Oct 20261 fix
    • Fixed

      Restore build:wasm npm script

  7. 8.12.0

    14 Oct 20263 new · 34 fixes
    • New

      Added @perseveranza-pets/milo as alternative experimental HTTP parser

    • New

      cache: Compress big sqlite cache entries with zstd

    • New

      Throw an error when WebAssembly is not available.

    • Fixed

      cookies: Ignore a numeric expires outside the Date range

  8. 8.11.2

    24 Sep 20262 fixes
    • Fixed

      Close rejected HTTP/2 WebSocket handshake streams

    • Fixed

      Avoid reconnecting aborted requests

23 other lines we could not sort, mostly version bumps
  • interceptors: Enforce cache-after-redirect composition order

    8.13.0
  • Disable wasm SIMD on the RISC-V

    8.12.4
  • extractBody fixes 2

    8.12.0
  • Reenable cachestorage wpts

    8.12.0
  • Limit zstd window size to 8 MB

    8.12.0
  • Wpt/wpt runner fixes

    8.12.0
  • Split wpt out of npm test

    8.12.0
  • Deslopify websocket test

    8.11.1
  • Revert "fix: preserve HTTP/2 for legacy fetch consumers"

    8.11.1
  • Use private fields for brand checks

    8.11.0

235 internal lines (docs, tests, tooling) left out.

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.