Packages

undici

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

Upgrading undici From 5.29.0 to 8.12.3

133 releases in betweennotes for 125

Other targets from 5.29.0Clears its 16 advisories6.29.1Latest8.12.4
  1. 5.29.0yours
  2. 6.0.0major
  3. 8 releases
  4. 6.6.1security
  5. 9 releases
  6. 6.11.1security
  7. 23 releases
  8. 6.21.1security
  9. 4 releases
  10. 6.24.0security
  11. 3 releases
  12. 6.27.0security
  13. 6.28.0security
  14. 6.28.1security
  15. 2 releases
  16. 7.0.0major
  17. 5 releases
  18. 7.2.3security
  19. 17 releases
  20. 7.18.2security
  21. 7 releases
  22. 7.24.0security
  23. 13 releases
  24. 7.28.0security
  25. 7.29.0security
  26. 7.29.1security
  27. 2 releases
  28. 7.30.2security
  29. 8.0.0major
  30. 8 releases
  31. 8.5.0security
  32. 3 releases
  33. 8.9.0security
  34. 2 releases
  35. 8.10.2security
  36. 5 releases
  37. 8.12.2security
  38. 8.12.3target
  39. 10 pre
12+
changes to make
16
advisories fixed
224+
new
563+
fixes

Counted from 125 of 133 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking8.0.3
  • Breaking8.0.1
  • Breaking8.0.1
  • Breaking7.16.0
  • Breaking7.13.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0

Security

Fixes 16 advisories affecting 5.29.0

Release by release

  1. 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

  2. 8.12.2

    Security fix15 Oct 2026
  3. 8.12.1

    14 Oct 20261 fix
    • Fixed

      Restore build:wasm npm script

  4. 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

  5. 8.11.2

    24 Sep 20262 fixes
    • Fixed

      Close rejected HTTP/2 WebSocket handshake streams

    • Fixed

      Avoid reconnecting aborted requests

  6. 8.11.1

    24 Sep 20262 fixes
    • Fixed

      Fix websocketstream bugs

    • Fixed

      Fix hang on 3xx response with large body

  7. 8.11.0

    22 Sep 202625 fixes
    • Fixed

      Complete upgrade diagnostics lifecycle

    • Fixed

      decompress: Join a repeated content-encoding header

    • Fixed

      cookies: Keep a cookie named proto in getCookies

    • Fixed

      Selectively re-enable SIMD for ppc64

  8. 8.10.2

    Security fix4 Sep 2026
    • Security

      GHSA-vp8m-p9jh-q5pm: cache and deduplication interceptors could use caller-controlled request metadata instead of the authoritative dispatcher origin, enabling cross-origin cache poisoning and data disclosure. Undici now derives interceptor identities from the dispatcher origin and bypasses origin-dependent interceptors when no authoritative origin exists. Fixed by caf6194d.

    • Security

      GHSA-w293-vg96-wgc3: BalancedPool could drop function-valued connection options while cloning its configuration, including custom TLS certificate validation callbacks. Undici now preserves connect and legacy tls options when creating upstreams. Fixed by 8f5868fb.

    • Security

      GHSA-rfgv-xxqx-mfg5: a WebSocket server could select a subprotocol when none was requested, causing an uncaught TypeError that could terminate the process. Undici now rejects the handshake with protocol error 1002. Fixed by 66e12816.

    • Security

      GHSA-3wwx-pv8p-q78v: a malformed permessage-deflate payload exceeding the configured decompression limit could emit an unhandled zlib error and terminate the process. Undici now destroys the inflater after reaching the limit. Fixed by 4411a238.

247 other lines we could not sort, mostly version bumps
  • 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
  • Dataurl parsing improvements + update WPT

    8.11.0
  • fetch: Use ReadableStreamTee for cloning streams

    8.8.0

668 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.