Packages

undici

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

Upgrading undici From 6.29.1 to 8.12.3

76 releases in betweenevery note read

Other targets from 6.29.1Latest8.12.4
  1. 6.29.1yours
  2. 7.0.0major
  3. 5 releases
  4. 7.2.3security
  5. 17 releases
  6. 7.18.2security
  7. 7 releases
  8. 7.24.0security
  9. 13 releases
  10. 7.28.0security
  11. 7.29.0security
  12. 7.29.1security
  13. 2 releases
  14. 7.30.2security
  15. 8.0.0major
  16. 8 releases
  17. 8.5.0security
  18. 3 releases
  19. 8.9.0security
  20. 2 releases
  21. 8.10.2security
  22. 5 releases
  23. 8.12.2security
  24. 8.12.3target
  25. 10 pre

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

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.

152 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

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