chore(deps): Update dependency undici@>=6.0.0 <6.28.1 to v8 #205

Merged
ullrich merged 1 commit from renovate/undici-=6.0.0-6.28.1-8.x into main 2026-10-02 15:33:05 +00:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence
undici@>=6.0.0 <6.28.1 (source) [6.29.0 → 8.11.2](https://renovatebot.com/diffs/npm/undici@>=6.0.0 <6.28.1/6.29.0/8.11.2) age confidence

Release Notes

nodejs/undici (undici@>=6.0.0 <6.28.1)

v8.11.2

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v8.11.1...v8.11.2

v8.11.1

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v8.11.0...v8.11.1

v8.11.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v8.10.2...v8.11.0

v8.10.2

Compare Source

⚠️ Security fixes

High severity
  • 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.
  • 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.
  • 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.
Medium severity
  • 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.
  • GHSA-rx4f-c7p8-82vq: an unclean WebSocketStream close could create an unobserved rejected promise when its writable stream was locked, potentially terminating the process. Undici now propagates the failure through the retained writable stream controller. Fixed by 662d0ea6.
  • GHSA-2jfj-6hjv-fm6j: shared caches could store and replay responses containing Set-Cookie, disclosing one user's cookies to another caller. Undici now excludes these responses from shared caches, including existing entries and revalidation paths. Fixed by cb75bbb3.
  • GHSA-3xpg-4rpp-hhhm: the decompression interceptor did not bound decoded output, allowing compressed responses to consume excessive memory. Undici now limits every decompression stage to 64 MiB by default and supports a configurable maxSize. Fixed by 7aac7f12.
  • GHSA-pmjh-fq2x-6v4x: a terminal retry failure after response headers were exposed could orphan the original response body, causing consumers to hang indefinitely. Undici now propagates the terminal error to the exposed body. Fixed by e905b5b8.
Low severity
  • GHSA-8436-99hf-9mmv: cache interceptors could store and replay responses to unsafe HTTP methods such as POST or DELETE. Undici now restricts cache reads and writes to safe methods while preserving invalidation by successful unsafe requests. Fixed by 2be07bf9.
  • GHSA-2gqq-gqf2-x968: the dump interceptor could treat an oversized chunked response as successfully truncated when no Content-Length was present. Undici now enforces maxSize against received bytes and aborts oversized responses. Fixed by 6d583124.
  • GHSA-r53p-7pc4-xj5r: the retry interceptor could concatenate a resumed response with inconsistent framing into downstream output, enabling response splitting or corruption. Undici now validates Content-Range against the original response framing before resuming. Fixed by 0160a719.

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v8.10.1...v8.10.2

v8.10.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v8.10.0...v8.10.1

v8.10.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v8.9.0...v8.10.0

v8.9.0

Compare Source

⚠️ Security fixes

High severity
  • GHSA-4cwx-7wf7-3272: malformed qualified private Cache-Control directives could cause cross-user information disclosure in shared caches or a parse-time crash. The cache parser now treats empty qualified directives conservatively and safely handles mixed qualified and unqualified directives. Fixed by 4fe5bc5f with regression coverage in 9f09b49a.
Medium severity
  • GHSA-m8rv-5g2x-5cg5: a malicious type property on a duck-typed blob-like HTTP/1.1 request body could inject CRLF sequences into the generated content-type header. Undici now coerces and validates the value before adding it to the request. Fixed by 7d3cf924.
  • GHSA-jr45-8vmc-qm54: optional whitespace around = in qualified no-cache and private directives could bypass shared-cache restrictions and disclose authenticated data across users. Cache-Control parsing now normalizes these forms and applies conservative cache decisions. Fixed by c601fff1.
  • GHSA-8xcm-r25x-g524: the retry interceptor could expose a stale Content-Length after resuming a partial response, potentially causing downstream response desynchronization, hangs, or corruption. Undici now rejects partial responses whose Content-Length is inconsistent with Content-Range. Fixed by e11a68ed, with corrected fixtures in 2b3f7493.
  • GHSA-v3r7-h72x-cjcm: unsanitized domain and unparsed values passed to setCookie() could inject cookie attributes. Undici now validates cookie domains, paths, and unparsed attributes more strictly. Fixed by 10d93fc3.

Additional hardening

Undici now validates non-string header values after coercion, including array elements, preventing crafted toString() or Symbol.toPrimitive implementations from introducing CRLF sequences. This defense-in-depth change was made in 354a151f.

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v8.8.0...v8.9.0

v8.8.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v8.7.0...v8.8.0

v8.7.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v8.6.0...v8.7.0

v8.6.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v8.5.0...v8.6.0

v8.5.0

Compare Source

⚠️ Security Release

This release line addresses 8 security advisories. Most are fixed in
v8.5.0; the SOCKS5 pool-reuse issue was fixed earlier in v8.2.0.

Action required: Upgrade to undici 8.5.0 or later.

npm install undici@^8.5.0

Summary

Advisory CVE Severity (CVSS) Fixed in Fix commit
GHSA-vxpw-j846-p89q CVE-2026-12151 High (7.5) 8.5.0 32dbf0b3
GHSA-38rv-x7px-6hhq CVE-2026-9675 High (7.5) 8.5.0 b4c287b3
GHSA-vmh5-mc38-953g CVE-2026-9697 High (7.4) 8.5.0 42d49559
GHSA-hm92-r4w5-c3mj CVE-2026-6734 High (7.5) 8.2.0 a516f870
GHSA-pr7r-676h-xcf6 CVE-2026-9678 Moderate (5.9) 8.5.0 cb105d7c
GHSA-p88m-4jfj-68fv CVE-2026-9679 Moderate (5.9) 8.5.0 5655ea43
GHSA-g8m3-5g58-fq7m CVE-2026-11525 Low (3.7) 8.5.0 5655ea43
GHSA-35p6-xmwp-9g52 CVE-2026-6733 Low (3.7) 8.5.0 6ea54ef8

High severity

WebSocket DoS via fragment count bypass — CVE-2026-12151

GHSA-vxpw-j846-p89q · CWE-400, CWE-770
Fix: 32dbf0b3 websocket: limit the number of fragments in a message (also c5ed7875 handle empty fragments and stream limits)

A malicious WebSocket server can stream a large number of small or empty
continuation frames. Undici enforced a limit on cumulative payload size but did
not limit the number of fragments per message, leading to unbounded memory
growth and denial of service.

  • Affected: applications using new WebSocket(...) or WebSocketStream
    against untrusted endpoints.
  • Workaround: none — upgrade is required.
WebSocket DoS via cumulative fragment bypass — CVE-2026-9675

GHSA-38rv-x7px-6hhq · CWE-400, CWE-770
Fix: b4c287b3 fix(websocket): enforce max payload size across fragments

Undici validated the size of individual frames but did not track cumulative size
across a fragmented message. An attacker could send many small fragments that
each pass per-frame validation but collectively exceed the configured limit,
causing memory exhaustion. This is a regression introduced in 8.1.0 (the
6.x and 7.x lines are not affected).

  • Workaround: none — upgrade is required.
TLS certificate validation bypass in SOCKS5 ProxyAgent — CVE-2026-9697

GHSA-vmh5-mc38-953g · CWE-295
Fix: 42d49559 fix: honor requestTls when proxy is SOCKS5

The ProxyAgent silently discarded the requestTls option when configured with
a SOCKS5 proxy. TLS connections through the SOCKS5 tunnel ignored user-configured
parameters such as ca, cert, key, rejectUnauthorized, and servername,
falling back to the default Mozilla CA bundle. Applications relying on
certificate pinning to an internal CA were exposed to man-in-the-middle attacks.

  • Affected: ProxyAgent / Socks5ProxyAgent over SOCKS5 that rely on
    requestTls.
  • Workaround: route traffic through an HTTP-proxy ProxyAgent, where
    requestTls functions correctly.
Cross-origin request routing via SOCKS5 proxy pool reuse — CVE-2026-6734

GHSA-hm92-r4w5-c3mj · CWE-346 · Fixed in 8.2.0
Fix: a516f870 fix(socks5-proxy-agent): use per-origin pools to prevent cross-origin routing (#​5041)

Socks5ProxyAgent reused a single connection pool across different origins
without verifying the pool's origin matched the requested origin. This could
route credentials and request data to unintended destinations, cause responses
from the wrong origin to be trusted, and enable HTTPS→HTTP downgrade.

  • Affected: applications using Socks5ProxyAgent across multiple origins
    (introduced via #​4385).
  • Workaround: use a separate agent instance per origin.

Moderate severity

Cross-user information disclosure via shared cache whitespace bypass — CVE-2026-9678

GHSA-pr7r-676h-xcf6 · CWE-524
Fix: cb105d7c fix(cache): trim qualified field names

The cache interceptor mishandled responses with whitespace-padded
Cache-Control directives such as private=" authorization". In shared-cache
mode this could cause authenticated data to be cached and served to other users.

  • Affected: apps using the cache interceptor in shared mode that forward
    Authorization upstream and receive non-canonical qualified directives.
  • Workaround: disable shared-cache mode for authenticated traffic, avoid
    caching authenticated responses, or add Vary: Authorization upstream.

GHSA-p88m-4jfj-68fv · CWE-93
Fix: 5655ea43 fix(cookies): preserve values and parse SameSite strictly

parseSetCookie applied percent-decoding to cookie values, turning encoded
sequences like %0D%0A and %00 into literal bytes, contrary to RFC 6265 §5.4
and browser behavior. Applications forwarding parsed Set-Cookie values into
response headers were exposed to header injection, enabling session fixation,
open redirects, and cache poisoning. Introduced in 7.0.0 via
#​3789.

  • Workaround: sanitize values before forwarding — strip or reject CR, LF,
    NUL, ;, and =.

Low severity

GHSA-g8m3-5g58-fq7m · CWE-183
Fix: 5655ea43 fix(cookies): preserve values and parse SameSite strictly

The cookie parser accepted SameSite values containing Strict, Lax, or
None as substrings rather than requiring exact matches per RFC 6265. Values
like SameSite=NoneOfYourBusiness parsed as None, and SameSite=StrictLax
parsed as Lax, silently weakening cookie security policies for apps that
forward parsed attributes.

HTTP response queue poisoning via keep-alive socket reuse — CVE-2026-6733

GHSA-35p6-xmwp-9g52 · CWE-367 (TOCTOU race condition)
Fix: 6ea54ef8 fix: guard idle socket validation to skip fresh sockets, hardened by c9fbe9d2 keep idle validation on native timers (#​5397) and ac5394b8 keep idle validation on global timers (#​5407)

An attacker controlling an upstream HTTP/1.1 server could inject unsolicited
responses onto idle keep-alive sockets. On socket reuse, the injected response
was associated with a new request, delivering responses to the wrong requests.

  • Requirements: attacker-controlled/compromised upstream and active
    keep-alive reuse.
  • Workaround: disable keep-alive reuse with keepAliveTimeout: 0 on the
    Client or Pool.

Also in v8.5.0 (non-security)

v8.5.0 shipped the security fixes above alongside the following changes. These
are not security fixes
— they are listed for completeness of the release. (The
two queue-poisoning hardening PRs, #​5397
and #​5407, are covered under
CVE-2026-6733 above and are not repeated here.)

  • HTTP/2: #5408 don't rewind kPendingIdx past in-flight requests · #5391 allow h2 POST request multiplexing · #5406 reap idle HTTP/2 sessions · #5410 preserve h2 queue on out-of-order completion
  • Features: #5416 add bodyMixin.textStream() · #5418 align EventSource with spec
  • Docs / CI / tests: #5413 document request header validation · #5383 absorb h2 stream timeout resets (test) · #5420 remove stale repro + lint · #5426 extend Windows CI timeout · #5427 detect available python in WPT runner

Full changelog: v8.4.1...v8.5.0.


Credits

Per-advisory credits (as recorded in each GHSA):

v8.4.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v8.4.0...v8.4.1

v8.4.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v8.3.0...v8.4.0

v8.3.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v8.2.0...v8.3.0

v8.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v8.1.0...v8.2.0

v8.1.0

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v8.0.3...v8.1.0

v8.0.3

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v8.0.2...v8.0.3

v8.0.2

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v8.0.1...v8.0.2

v8.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.24.7...v8.0.1

v8.0.0

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v7.24.7...v8.0.0

v7.30.0

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v7.29.1...v7.30.0

v7.29.1

Compare Source

⚠️ Security fixes

High severity
  • 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 f690157d.
  • 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 6615e017.
Medium severity
  • 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 63cf698b.
  • GHSA-rx4f-c7p8-82vq: an unclean WebSocketStream close could create an unobserved rejected promise when its writable stream was locked, potentially terminating the process. Undici now propagates the failure through the retained writable stream controller. Fixed by 1858656e.
  • GHSA-2jfj-6hjv-fm6j: shared caches could store and replay responses containing Set-Cookie, disclosing one user's cookies to another caller. Undici now excludes these responses from shared caches, including existing entries and revalidation paths. Fixed by b6c5a002.
  • GHSA-3xpg-4rpp-hhhm: the decompression interceptor did not bound decoded output, allowing compressed responses to consume excessive memory. Undici now limits every decompression stage to 64 MiB by default and supports a configurable maxSize. Fixed by 2c7d7e12.
  • GHSA-pmjh-fq2x-6v4x: a terminal retry failure after response headers were exposed could orphan the original response body, causing consumers to hang indefinitely. Undici now propagates the terminal error to the exposed body. Fixed by 3c672659.
Low severity
  • GHSA-8436-99hf-9mmv: cache interceptors could store and replay responses to unsafe HTTP methods such as POST or DELETE. Undici now restricts cache reads and writes to safe methods while preserving invalidation by successful unsafe requests. Fixed by b61d9432.
  • GHSA-2gqq-gqf2-x968: the dump interceptor could treat an oversized chunked response as successfully truncated when no Content-Length was present. Undici now enforces maxSize against received bytes and aborts oversized responses. Fixed by 21693f40.
  • GHSA-r53p-7pc4-xj5r: the retry interceptor could concatenate a resumed response with inconsistent framing into downstream output, enabling response splitting or corruption. Undici now validates Content-Range against the original response framing before resuming. Fixed by cd8af90b.

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v7.29.0...v7.29.1

v7.29.0

Compare Source

⚠️ Security fixes

High severity
  • GHSA-4cwx-7wf7-3272: malformed qualified private Cache-Control directives could cause cross-user information disclosure in shared caches or a parse-time crash. The cache parser now treats empty qualified directives conservatively and safely handles mixed qualified and unqualified directives. Fixed by 9f10f1e9, with regression coverage in 466e99d1.
Medium severity
  • GHSA-m8rv-5g2x-5cg5: a malicious type property on a duck-typed blob-like HTTP/1.1 request body could inject CRLF sequences into the generated content-type header. Undici now coerces and validates the value before adding it to the request. Fixed by 33928bc2.
  • GHSA-jr45-8vmc-qm54: optional whitespace around = in qualified no-cache and private directives could bypass shared-cache restrictions and disclose authenticated data across users. Cache-Control parsing now normalizes these forms and applies conservative cache decisions. Fixed by 98011a86.
  • GHSA-8xcm-r25x-g524: the retry interceptor could expose a stale Content-Length after resuming a partial response, potentially causing downstream response desynchronization, hangs, or corruption. Undici now rejects partial responses whose Content-Length is inconsistent with Content-Range. Fixed by 1b5a5312, with corrected fixtures in 4a9dafb1.
  • GHSA-v3r7-h72x-cjcm: unsanitized domain and unparsed values passed to setCookie() could inject cookie attributes. Undici now validates cookie domains, paths, and unparsed attributes more strictly. Fixed by 3bf91ddb.

Full Changelog: https://github.com/nodejs/undici/compare/v7.28.0...v7.29.0

v7.28.0

Compare Source

⚠️ Security Release

This release line addresses 7 security advisories, all shipped in v7.28.0.

Action required: Upgrade to undici 7.28.0 or later.

npm install undici@^7.28.0

The v7 line is not affected by GHSA-38rv-x7px-6hhq (CVE-2026-9675), which is
an 8.x-only regression.

Note on GHSA-hm92-r4w5-c3mj: this fix shipped in v7.28.0, not the
earlier 7.2x line — the vulnerable single-pool code was still present through
v7.27.2. The per-origin pool fix is
3805b8f8 (#​5041).

Summary

Advisory CVE Severity (CVSS) Fixed in Fix commit
GHSA-vxpw-j846-p89q CVE-2026-12151 High (7.5) 7.28.0 8cb10f98
GHSA-vmh5-mc38-953g CVE-2026-9697 High (7.4) 7.28.0 04201f89
GHSA-hm92-r4w5-c3mj CVE-2026-6734 High (7.5) 7.28.0 3805b8f8
GHSA-pr7r-676h-xcf6 CVE-2026-9678 Moderate (5.9) 7.28.0 85a24055
GHSA-p88m-4jfj-68fv CVE-2026-9679 Moderate (5.9) 7.28.0 d0574cc4
GHSA-g8m3-5g58-fq7m CVE-2026-11525 Low (3.7) 7.28.0 d0574cc4
GHSA-35p6-xmwp-9g52 CVE-2026-6733 Low (3.7) 7.28.0 ea8930cf

High severity

WebSocket DoS via fragment count bypass — CVE-2026-12151

GHSA-vxpw-j846-p89q · CWE-400, CWE-770
Fix: 8cb10f98 websocket: limit the number of fragments in a message (part of backport a027a4a0 Backport WebSocket maxPayloadSize fixes to v7.x, #​5423)

A malicious WebSocket server can stream a large number of small or empty
continuation frames. Undici enforced a limit on cumulative payload size but did
not limit the number of fragments per message, leading to unbounded memory
growth and denial of service.

  • Affected: applications using new WebSocket(...) or WebSocketStream
    against untrusted endpoints.
  • Workaround: none — upgrade is required.
TLS certificate validation bypass in SOCKS5 ProxyAgent — CVE-2026-9697

GHSA-vmh5-mc38-953g · CWE-295
Fix: 04201f89 fix: honor requestTls when proxy is SOCKS5 (#​5417)

The ProxyAgent silently discarded the requestTls option when configured with
a SOCKS5 proxy. TLS connections through the SOCKS5 tunnel ignored user-configured
parameters such as ca, cert, key, rejectUnauthorized, and servername,
falling back to the default Mozilla CA bundle. Applications relying on
certificate pinning to an internal CA were exposed to man-in-the-middle attacks.

  • Affected: ProxyAgent / Socks5ProxyAgent over SOCKS5 that rely on
    requestTls.
  • Workaround: route traffic through an HTTP-proxy ProxyAgent, where
    requestTls functions correctly.
Cross-origin request routing via SOCKS5 proxy pool reuse — CVE-2026-6734

GHSA-hm92-r4w5-c3mj · CWE-346
Fix: 3805b8f8 fix(socks5-proxy-agent): use per-origin pools to prevent cross-origin routing (#​5041)

Socks5ProxyAgent reused a single connection pool across different origins
without verifying the pool's origin matched the requested origin. This could
route credentials and request data to unintended destinations, cause responses
from the wrong origin to be trusted, and enable HTTPS→HTTP downgrade.

  • Affected: applications using Socks5ProxyAgent across multiple origins
    (introduced in 7.23.0 via #​4385).
  • Workaround: use a separate agent instance per origin.

Moderate severity

Cross-user information disclosure via shared cache whitespace bypass — CVE-2026-9678

GHSA-pr7r-676h-xcf6 · CWE-524
Fix: 85a24055 fix(cache): trim qualified field names

The cache interceptor mishandled responses with whitespace-padded
Cache-Control directives such as private=" authorization". In shared-cache
mode this could cause authenticated data to be cached and served to other users.

  • Affected: apps using the cache interceptor in shared mode that forward
    Authorization upstream and receive non-canonical qualified directives.
  • Workaround: disable shared-cache mode for authenticated traffic, avoid
    caching authenticated responses, or add Vary: Authorization upstream.

GHSA-p88m-4jfj-68fv · CWE-93
Fix: d0574cc4 fix(cookies): preserve values and parse SameSite strictly

parseSetCookie applied percent-decoding to cookie values, turning encoded
sequences like %0D%0A and %00 into literal bytes, contrary to RFC 6265 §5.4
and browser behavior. Applications forwarding parsed Set-Cookie values into
response headers were exposed to header injection, enabling session fixation,
open redirects, and cache poisoning. Introduced in 7.0.0 via
#​3789.

  • Workaround: sanitize values before forwarding — strip or reject CR, LF,
    NUL, ;, and =.

Low severity

GHSA-g8m3-5g58-fq7m · CWE-183
Fix: d0574cc4 fix(cookies): preserve values and parse SameSite strictly

The cookie parser accepted SameSite values containing Strict, Lax, or
None as substrings rather than requiring exact matches per RFC 6265. Values
like SameSite=NoneOfYourBusiness parsed as None, and SameSite=StrictLax
parsed as Lax, silently weakening cookie security policies for apps that
forward parsed attributes.

HTTP response queue poisoning via keep-alive socket reuse — CVE-2026-6733

GHSA-35p6-xmwp-9g52 · CWE-367 (TOCTOU race condition)
Fix: ea8930cf fix: guard idle socket validation to skip fresh sockets, hardened by 8e4046e4 keep idle validation on native timers (#​5402) and 0fa80869 keep idle validation on global timers (#​5409)

An attacker controlling an upstream HTTP/1.1 server could inject unsolicited
responses onto idle keep-alive sockets. On socket reuse, the injected response
was associated with a new request, delivering responses to the wrong requests.

  • Requirements: attacker-controlled/compromised upstream and active
    keep-alive reuse.
  • Workaround: disable keep-alive reuse with keepAliveTimeout: 0 on the
    Client or Pool.

Release contents & deliberate backports

v7.28.0 is a security-only release — every change in it is one of the fixes
above, backported to the v7.x maintenance line on purpose from the v8
development line:

  • #5423 — backport of the WebSocket maxPayloadSize fragment-count / cumulative-size limits (CVE-2026-12151).
  • #5402 & #5409 — backport of the idle-validation hardening (native + global timers) for the queue-poisoning fix (CVE-2026-6733).
  • #5417 — requestTls over SOCKS5 fix (CVE-2026-9697).

The cookie (d0574cc4),
cache (85a24055) and
queue-poisoning core (ea8930cf)
fixes were applied directly to the v7.x branch. Full changelog:
v7.27.2...v7.28.0.


Credits

Per-advisory credits (as recorded in each GHSA):

v7.27.2

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v7.27.1...v7.27.2

v7.27.1

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v7.27.0...v7.27.1

v7.27.0

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v7.26.0...v7.27.0

v7.26.0

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v7.25.0...v7.26.0

v7.25.0

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v7.24.8...v7.25.0

v7.24.8

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v7.24.7...v7.24.8

v7.24.7

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.24.6...v7.24.7

v7.24.6

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.24.5...v7.24.6

v7.24.5

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.24.4...v7.24.5

v7.24.4

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v7.24.3...v7.24.4

v7.24.3

Compare Source

What's Changed

  • fix(h2): TypeError: Cannot read properties of null (reading 'push') i… by @​hxinhan in #​4881

Full Changelog: https://github.com/nodejs/undici/compare/v7.24.2...v7.24.3

v7.24.2

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v7.24.1...v7.24.2

v7.24.1

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v7.24.0...v7.24.1

v7.24.0

Compare Source

Undici v7.24.0 Security Release Notes

This release addresses multiple security vulnerabilities in Undici.

Upgrade guidance

All users on v7 should upgrade to v7.24.0 or later.

Fixed advisories

  • GHSA-2mjp-6q6p-2qxm / CVE-2026-1525 (Medium)
    Inconsistent interpretation of HTTP requests (request/response smuggling class issue).

  • GHSA-f269-vfmq-vjvj / CVE-2026-1528 (High)
    Malicious WebSocket 64-bit frame length handling could crash the client.

  • GHSA-phc3-fgpg-7m6h / CVE-2026-2581 (Medium)
    Unbounded memory consumption in deduplication interceptor response buffering (DoS risk).

  • GHSA-4992-7rv2-5pvq / CVE-2026-1527 (Medium)
    CRLF injection via the upgrade option.

  • GHSA-v9p9-hfj2-hcw8 / CVE-2026-2229 (High)
    Unhandled exception from invalid server_max_window_bits in WebSocket permessage-deflate negotiation.

  • GHSA-vrm6-8vpv-qv8q / CVE-2026-1526 (High)
    Unbounded memory consumption in WebSocket permessage-deflate decompression.

Affected and patched ranges

  • CVE-2026-1525: affected 7.0.0 < 7.24.0, patched 7.24.0
  • CVE-2026-1528: affected 7.0.0 < 7.24.0, patched 7.24.0
  • CVE-2026-2581: affected >= 7.17.0 < 7.24.0, patched 7.24.0
  • CVE-2026-1527: affected 7.0.0 < 7.24.0, patched 7.24.0
  • CVE-2026-2229: affected 7.0.0 < 7.24.0, patched 7.24.0
  • CVE-2026-1526: affected 7.0.0 < 7.24.0, patched 7.24.0

References

v7.23.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.22.0...v7.23.0

v7.22.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.21.0...v7.22.0

v7.21.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.20.0...v7.21.0

v7.20.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.19.2...v7.20.0

v7.19.2

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.19.1...v7.19.2

v7.19.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.19.0...v7.19.1

v7.19.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.18.2...v7.19.0

v7.18.2

Compare Source

⚠️ Security Release

This fixes https://github.com/nodejs/undici/security/advisories/GHSA-g9mf-h72j-4rw9 and CVE-2026-22036.

What's Changed

  • fix(decompress): limit Content-Encoding chain to 5 to prevent resourc… by @​mcollina in #​4729

Full Changelog: https://github.com/nodejs/undici/compare/v7.18.1...v7.18.2

v7.18.1

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v7.18.0...v7.18.1

v7.18.0

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v7.17.0...v7.18.0

v7.17.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.16.0...v7.17.0

v7.16.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.15.0...v7.16.0

v7.15.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.14.0...v7.15.0

v7.14.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.13.0...v7.14.0

v7.13.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.12.0...v7.13.0

v7.12.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.11.0...v7.12.0

v7.11.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.10.0...v7.11.0

v7.10.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.9.0...v7.10.0

v7.9.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.8.0...v7.9.0

v7.8.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.7.0...v7.8.0

v7.7.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.6.0...v7.7.0

v7.6.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.5.0...v7.6.0

v7.5.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.4.0...v7.5.0

v7.4.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.3.0...v7.4.0

v7.3.0

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v7.2.3...v7.3.0

v7.2.3

Compare Source

⚠️ Security Release ⚠️

Fixes CVE CVE-2025-22150 https://github.com/nodejs/undici/security/advisories/GHSA-c76h-2ccp-4975 (embargoed until 22-01-2025).

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v7.2.2...v7.2.3

v7.2.2

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v7.2.1...v7.2.2

v7.2.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.2.0...v7.2.1

v7.2.0

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v7.1.1...v7.2.0

v7.1.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v7.1.0...v7.1.1

v7.1.0

Compare Source

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v7.0.0...v7.1.0

v7.0.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/nodejs/undici/compare/v6.19.2...v7.0.0


Configuration

📅 Schedule: (in timezone Europe/Copenhagen)

  • Branch creation
    • "before 6am on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [undici@>=6.0.0 <6.28.1](https://undici.nodejs.org) ([source](https://github.com/nodejs/undici)) | [`6.29.0` → `8.11.2`](https://renovatebot.com/diffs/npm/undici@>=6.0.0 <6.28.1/6.29.0/8.11.2) | ![age](https://developer.mend.io/api/mc/badges/age/npm/undici/8.11.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/6.29.0/8.11.2?slim=true) | --- ### Release Notes <details> <summary>nodejs/undici (undici@>=6.0.0 <6.28.1)</summary> ### [`v8.11.2`](https://github.com/nodejs/undici/releases/tag/v8.11.2) [Compare Source](https://github.com/nodejs/undici/compare/v8.11.1...v8.11.2) #### What's Changed - fix: close rejected HTTP/2 WebSocket handshake streams by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5873](https://github.com/nodejs/undici/pull/5873) - fix: avoid reconnecting aborted requests by [@&#8203;Junaid-PK](https://github.com/Junaid-PK) in [#&#8203;5846](https://github.com/nodejs/undici/pull/5846) #### New Contributors - [@&#8203;Junaid-PK](https://github.com/Junaid-PK) made their first contribution in [#&#8203;5846](https://github.com/nodejs/undici/pull/5846) **Full Changelog**: <https://github.com/nodejs/undici/compare/v8.11.1...v8.11.2> ### [`v8.11.1`](https://github.com/nodejs/undici/releases/tag/v8.11.1) [Compare Source](https://github.com/nodejs/undici/compare/v8.11.0...v8.11.1) #### What's Changed - deslopify websocket test by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;5851](https://github.com/nodejs/undici/pull/5851) - Revert "fix: preserve HTTP/2 for legacy fetch consumers" by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5860](https://github.com/nodejs/undici/pull/5860) - fix websocketstream bugs by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;5863](https://github.com/nodejs/undici/pull/5863) - fix hang on 3xx response with large body by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;5850](https://github.com/nodejs/undici/pull/5850) - docs: warn about buffering response bodies by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5872](https://github.com/nodejs/undici/pull/5872) - test: cover native fetch gzip decoding through the legacy bridge by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5874](https://github.com/nodejs/undici/pull/5874) **Full Changelog**: <https://github.com/nodejs/undici/compare/v8.11.0...v8.11.1> ### [`v8.11.0`](https://github.com/nodejs/undici/releases/tag/v8.11.0) [Compare Source](https://github.com/nodejs/undici/compare/v8.10.2...v8.11.0) #### What's Changed - fix: complete upgrade diagnostics lifecycle by [@&#8203;BridgeAR](https://github.com/BridgeAR) in [#&#8203;5761](https://github.com/nodejs/undici/pull/5761) - build(deps): bump step-security/harden-runner from 2.19.4 to 2.21.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5753](https://github.com/nodejs/undici/pull/5753) - fix(decompress): join a repeated content-encoding header by [@&#8203;luantaraschi](https://github.com/luantaraschi) in [#&#8203;5664](https://github.com/nodejs/undici/pull/5664) - fix(cookies): keep a cookie named **proto** in getCookies by [@&#8203;luantaraschi](https://github.com/luantaraschi) in [#&#8203;5663](https://github.com/nodejs/undici/pull/5663) - build(deps-dev): bump jest from 30.5.0 to 30.5.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5784](https://github.com/nodejs/undici/pull/5784) - build(deps): bump got from 15.1.0 to 16.0.0 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5785](https://github.com/nodejs/undici/pull/5785) - fix: selectively re-enable SIMD for ppc64 by [@&#8203;richardlau](https://github.com/richardlau) in [#&#8203;5776](https://github.com/nodejs/undici/pull/5776) - use private fields for brand checks by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;5792](https://github.com/nodejs/undici/pull/5792) - fix(h2): do not unref a session with open streams by [@&#8203;kjsik11](https://github.com/kjsik11) in [#&#8203;5782](https://github.com/nodejs/undici/pull/5782) - fix(h2): avoid pool fan-out during ALPN negotiation by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5799](https://github.com/nodejs/undici/pull/5799) - fix issue [#&#8203;5715](https://github.com/nodejs/undici/issues/5715) by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;5805](https://github.com/nodejs/undici/pull/5805) - ci: extend macOS Node.js workflow timeout by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5775](https://github.com/nodejs/undici/pull/5775) - fix(env-http-proxy-agent): NO\_PROXY wildcard semantics by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5777](https://github.com/nodejs/undici/pull/5777) - fix(h2): do not replay a request whose response already started after GOAWAY by [@&#8203;kjsik11](https://github.com/kjsik11) in [#&#8203;5788](https://github.com/nodejs/undici/pull/5788) - test: skip HTTP/2 churn test on Node.js 25 on all platforms by [@&#8203;kjsik11](https://github.com/kjsik11) in [#&#8203;5790](https://github.com/nodejs/undici/pull/5790) - fix(proxy-agent): preserve repeated iterable headers by [@&#8203;GiHoon1123](https://github.com/GiHoon1123) in [#&#8203;5779](https://github.com/nodejs/undici/pull/5779) - docs(errors): document ProxyConnectionError (UND\_ERR\_PRX\_CONN) by [@&#8203;kilisamemarisaaa](https://github.com/kilisamemarisaaa) in [#&#8203;5781](https://github.com/nodejs/undici/pull/5781) - dataurl parsing improvements + update WPT by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;5812](https://github.com/nodejs/undici/pull/5812) - fix(decompress): treat inherited Object.prototype names as unsupported encodings by [@&#8203;NgoQuocViet2001](https://github.com/NgoQuocViet2001) in [#&#8203;5807](https://github.com/nodejs/undici/pull/5807) - test(h2): stabilize http2-connection by [@&#8203;ViniciusDev26](https://github.com/ViniciusDev26) in [#&#8203;5801](https://github.com/nodejs/undici/pull/5801) - fix: preserve HTTP/2 for non-upgrade legacy requests by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5811](https://github.com/nodejs/undici/pull/5811) - fix: skip drain dispatch for clientTtl-evicted clients in PoolBase by [@&#8203;vwong](https://github.com/vwong) in [#&#8203;5677](https://github.com/nodejs/undici/pull/5677) - chore: update tests blocking release by [@&#8203;vwong](https://github.com/vwong) in [#&#8203;5828](https://github.com/nodejs/undici/pull/5828) - build(deps): bump uWebSockets.js from v20.68.0 to v20.70.0 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5824](https://github.com/nodejs/undici/pull/5824) - fix(deduplicate): settle requests when composed with retry by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5817](https://github.com/nodejs/undici/pull/5817) - fix(cache): do not report aborted on successful cache hits by [@&#8203;Yahiro025](https://github.com/Yahiro025) in [#&#8203;5819](https://github.com/nodejs/undici/pull/5819) - fix(cookies): keep an Expires of 0 when serializing a cookie by [@&#8203;NgoQuocViet2001](https://github.com/NgoQuocViet2001) in [#&#8203;5808](https://github.com/nodejs/undici/pull/5808) - fix: honor backpressure in decompression interceptor by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5829](https://github.com/nodejs/undici/pull/5829) - fix(h2): validate h2Options.maxConcurrentStreams itself by [@&#8203;kjsik11](https://github.com/kjsik11) in [#&#8203;5830](https://github.com/nodejs/undici/pull/5830) - test(fetch): make pull-dont-push exceed any socket buffer by [@&#8203;kjsik11](https://github.com/kjsik11) in [#&#8203;5840](https://github.com/nodejs/undici/pull/5840) - test(decompress): wait for highWaterMark via readable instead of setImmediate loop by [@&#8203;kjsik11](https://github.com/kjsik11) in [#&#8203;5841](https://github.com/nodejs/undici/pull/5841) - fix(h2): keep the session ref'd while requests are queued by [@&#8203;kjsik11](https://github.com/kjsik11) in [#&#8203;5839](https://github.com/nodejs/undici/pull/5839) - fix cache.addAll and cache.add hanging by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;5844](https://github.com/nodejs/undici/pull/5844) - fix(retry): settle responses after connection close by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5815](https://github.com/nodejs/undici/pull/5815) - fix(h2): validate response content-length by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5816](https://github.com/nodejs/undici/pull/5816) - fix(redirect): ignore informational responses in history by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5813](https://github.com/nodejs/undici/pull/5813) - fix(websocket): reset the compressed flag when a message completes by [@&#8203;askalf](https://github.com/askalf) in [#&#8203;5827](https://github.com/nodejs/undici/pull/5827) - fix(h2): keep queued requests alive when the last stream closes by [@&#8203;kjsik11](https://github.com/kjsik11) in [#&#8203;5847](https://github.com/nodejs/undici/pull/5847) - build(deps-dev): bump jest from 30.5.1 to 30.5.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5854](https://github.com/nodejs/undici/pull/5854) - build(deps-dev): bump fast-check from 4.9.0 to 4.10.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5852](https://github.com/nodejs/undici/pull/5852) - build(deps): bump uWebSockets.js from v20.70.0 to v20.71.0 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5856](https://github.com/nodejs/undici/pull/5856) - build(deps-dev): bump [@&#8203;metcoder95/https-pem](https://github.com/metcoder95/https-pem) from 1.0.0 to 1.0.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5853](https://github.com/nodejs/undici/pull/5853) #### New Contributors - [@&#8203;luantaraschi](https://github.com/luantaraschi) made their first contribution in [#&#8203;5664](https://github.com/nodejs/undici/pull/5664) - [@&#8203;kilisamemarisaaa](https://github.com/kilisamemarisaaa) made their first contribution in [#&#8203;5781](https://github.com/nodejs/undici/pull/5781) - [@&#8203;NgoQuocViet2001](https://github.com/NgoQuocViet2001) made their first contribution in [#&#8203;5807](https://github.com/nodejs/undici/pull/5807) - [@&#8203;ViniciusDev26](https://github.com/ViniciusDev26) made their first contribution in [#&#8203;5801](https://github.com/nodejs/undici/pull/5801) - [@&#8203;vwong](https://github.com/vwong) made their first contribution in [#&#8203;5677](https://github.com/nodejs/undici/pull/5677) - [@&#8203;Yahiro025](https://github.com/Yahiro025) made their first contribution in [#&#8203;5819](https://github.com/nodejs/undici/pull/5819) - [@&#8203;askalf](https://github.com/askalf) made their first contribution in [#&#8203;5827](https://github.com/nodejs/undici/pull/5827) **Full Changelog**: <https://github.com/nodejs/undici/compare/v8.10.2...v8.11.0> ### [`v8.10.2`](https://github.com/nodejs/undici/releases/tag/v8.10.2) [Compare Source](https://github.com/nodejs/undici/compare/v8.10.1...v8.10.2) #### ⚠️ Security fixes ##### High severity - [GHSA-vp8m-p9jh-q5pm](https://github.com/nodejs/undici/security/advisories/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](https://github.com/nodejs/undici/commit/caf6194d3dae989b731ed87ab85f182befe5eb80). - [GHSA-w293-vg96-wgc3](https://github.com/nodejs/undici/security/advisories/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](https://github.com/nodejs/undici/commit/8f5868fbdbc8f1146dfc1bcd1f2d117790141390). - [GHSA-rfgv-xxqx-mfg5](https://github.com/nodejs/undici/security/advisories/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](https://github.com/nodejs/undici/commit/66e12816064cf3068f63bd134748b7fc4e779bad). ##### Medium severity - [GHSA-3wwx-pv8p-q78v](https://github.com/nodejs/undici/security/advisories/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](https://github.com/nodejs/undici/commit/4411a238a98e8791da5fff10cc9e3578a7668ed6). - [GHSA-rx4f-c7p8-82vq](https://github.com/nodejs/undici/security/advisories/GHSA-rx4f-c7p8-82vq): an unclean `WebSocketStream` close could create an unobserved rejected promise when its writable stream was locked, potentially terminating the process. Undici now propagates the failure through the retained writable stream controller. Fixed by [662d0ea6](https://github.com/nodejs/undici/commit/662d0ea671fe64139e79533c913fce412765e1d7). - [GHSA-2jfj-6hjv-fm6j](https://github.com/nodejs/undici/security/advisories/GHSA-2jfj-6hjv-fm6j): shared caches could store and replay responses containing `Set-Cookie`, disclosing one user's cookies to another caller. Undici now excludes these responses from shared caches, including existing entries and revalidation paths. Fixed by [cb75bbb3](https://github.com/nodejs/undici/commit/cb75bbb34224a968b4ad80cab8b7aba5e0b3b28a). - [GHSA-3xpg-4rpp-hhhm](https://github.com/nodejs/undici/security/advisories/GHSA-3xpg-4rpp-hhhm): the decompression interceptor did not bound decoded output, allowing compressed responses to consume excessive memory. Undici now limits every decompression stage to 64 MiB by default and supports a configurable `maxSize`. Fixed by [7aac7f12](https://github.com/nodejs/undici/commit/7aac7f12f757844763c8b8f1ab6e305e80d55838). - [GHSA-pmjh-fq2x-6v4x](https://github.com/nodejs/undici/security/advisories/GHSA-pmjh-fq2x-6v4x): a terminal retry failure after response headers were exposed could orphan the original response body, causing consumers to hang indefinitely. Undici now propagates the terminal error to the exposed body. Fixed by [e905b5b8](https://github.com/nodejs/undici/commit/e905b5b87e6953bcc542af90557b2fee5b7b5974). ##### Low severity - [GHSA-8436-99hf-9mmv](https://github.com/nodejs/undici/security/advisories/GHSA-8436-99hf-9mmv): cache interceptors could store and replay responses to unsafe HTTP methods such as `POST` or `DELETE`. Undici now restricts cache reads and writes to safe methods while preserving invalidation by successful unsafe requests. Fixed by [2be07bf9](https://github.com/nodejs/undici/commit/2be07bf97b3022e0324142d31f99f6e019d815e3). - [GHSA-2gqq-gqf2-x968](https://github.com/nodejs/undici/security/advisories/GHSA-2gqq-gqf2-x968): the dump interceptor could treat an oversized chunked response as successfully truncated when no `Content-Length` was present. Undici now enforces `maxSize` against received bytes and aborts oversized responses. Fixed by [6d583124](https://github.com/nodejs/undici/commit/6d583124e7cf60b640097d64144ed633cc450584). - [GHSA-r53p-7pc4-xj5r](https://github.com/nodejs/undici/security/advisories/GHSA-r53p-7pc4-xj5r): the retry interceptor could concatenate a resumed response with inconsistent framing into downstream output, enabling response splitting or corruption. Undici now validates `Content-Range` against the original response framing before resuming. Fixed by [0160a719](https://github.com/nodejs/undici/commit/0160a719063fb0a77f4fdf9500b9166b91e14329). #### What's Changed - build(deps-dev): bump undici from 6.27.0 to 6.28.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5653](https://github.com/nodejs/undici/pull/5653) - build(deps-dev): bump jest from 30.4.2 to 30.5.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5750](https://github.com/nodejs/undici/pull/5750) - build(deps): bump github/codeql-action/analyze from 4.37.3 to 4.37.9 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5752](https://github.com/nodejs/undici/pull/5752) - build(deps): bump github/codeql-action/upload-sarif from 4.36.2 to 4.37.9 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5754](https://github.com/nodejs/undici/pull/5754) - test(h2): cover stream reset with NGHTTP2\_INTERNAL\_ERROR by [@&#8203;zeexzeex](https://github.com/zeexzeex) in [#&#8203;5725](https://github.com/nodejs/undici/pull/5725) - fix(retry): reject invalid resumed responses by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5724](https://github.com/nodejs/undici/pull/5724) - test: make stale-while-revalidate cache update test deterministic by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5722](https://github.com/nodejs/undici/pull/5722) - fix: avoid unbounded recursion in Set-Cookie attribute parser by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5757](https://github.com/nodejs/undici/pull/5757) - fix: honor SOCKS5 connection timeout by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5733](https://github.com/nodejs/undici/pull/5733) - fix(eventsource): validate Last-Event-ID on reconnect by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5746](https://github.com/nodejs/undici/pull/5746) - fix: avoid duplicate release attempts by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5745](https://github.com/nodejs/undici/pull/5745) - fix(cache): refetch when 304 adds vary fields by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5732](https://github.com/nodejs/undici/pull/5732) - types: expose PendingInterceptor and PendingInterceptorsFormatter on the MockAgent namespace by [@&#8203;RaphaelFakhri](https://github.com/RaphaelFakhri) in [#&#8203;5721](https://github.com/nodejs/undici/pull/5721) - ci(codeql): align CodeQL action versions to v4.37.9 by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5759](https://github.com/nodejs/undici/pull/5759) - build(deps-dev): bump [@&#8203;humanfs/node](https://github.com/humanfs/node) from 0.16.7 to 0.16.8 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5760](https://github.com/nodejs/undici/pull/5760) - fix(proxy-agent): guard Proxy-Authorization in iterable header containers by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5758](https://github.com/nodejs/undici/pull/5758) - docs: name the parameters these two blocks describe by [@&#8203;darkdi](https://github.com/darkdi) in [#&#8203;5735](https://github.com/nodejs/undici/pull/5735) - fix(websocket): fail the connection on a non-200 h2 extended CONNECT response by [@&#8203;kjsik11](https://github.com/kjsik11) in [#&#8203;5751](https://github.com/nodejs/undici/pull/5751) - test(node-fetch): re-enable the set-cookie header combining test by [@&#8203;pacocartones](https://github.com/pacocartones) in [#&#8203;5730](https://github.com/nodejs/undici/pull/5730) - fix(retry): forward rawHeaders writes through RetryController by [@&#8203;official-burak](https://github.com/official-burak) in [#&#8203;5727](https://github.com/nodejs/undici/pull/5727) - fix(fetch): only send Sec-Fetch-Mode to potentially trustworthy URLs by [@&#8203;kjsik11](https://github.com/kjsik11) in [#&#8203;5738](https://github.com/nodejs/undici/pull/5738) #### New Contributors - [@&#8203;darkdi](https://github.com/darkdi) made their first contribution in [#&#8203;5735](https://github.com/nodejs/undici/pull/5735) - [@&#8203;kjsik11](https://github.com/kjsik11) made their first contribution in [#&#8203;5751](https://github.com/nodejs/undici/pull/5751) - [@&#8203;official-burak](https://github.com/official-burak) made their first contribution in [#&#8203;5727](https://github.com/nodejs/undici/pull/5727) **Full Changelog**: <https://github.com/nodejs/undici/compare/v8.10.1...v8.10.2> ### [`v8.10.1`](https://github.com/nodejs/undici/releases/tag/v8.10.1) [Compare Source](https://github.com/nodejs/undici/compare/v8.10.0...v8.10.1) #### What's Changed - fix(mock): re-invoke reply callback for persistent mocks by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5650](https://github.com/nodejs/undici/pull/5650) - fix: preserve MockAgent interceptors for legacy global fetch by [@&#8203;pacocartones](https://github.com/pacocartones) in [#&#8203;5648](https://github.com/nodejs/undici/pull/5648) - ci: align codeql-action autobuild and analyze with init at v4.37.3 by [@&#8203;ostapondo](https://github.com/ostapondo) in [#&#8203;5655](https://github.com/nodejs/undici/pull/5655) - ci: test against the current Node.js nightly major by [@&#8203;ostapondo](https://github.com/ostapondo) in [#&#8203;5654](https://github.com/nodejs/undici/pull/5654) - ci: only accept a numeric nightly major by [@&#8203;ostapondo](https://github.com/ostapondo) in [#&#8203;5657](https://github.com/nodejs/undici/pull/5657) - test: complete the h2 settings round-trip before asserting single-session multiplexing by [@&#8203;ostapondo](https://github.com/ostapondo) in [#&#8203;5656](https://github.com/nodejs/undici/pull/5656) - fix: propagate dispatcher origin to composed interceptors by [@&#8203;jibin7jose](https://github.com/jibin7jose) in [#&#8203;5624](https://github.com/nodejs/undici/pull/5624) - fix: limit EventSource event size by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5552](https://github.com/nodejs/undici/pull/5552) - build(deps-dev): bump ws from 8.21.1 to 8.21.3 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5678](https://github.com/nodejs/undici/pull/5678) - fix(retry): honor the retryAfter option in the default retry strategy by [@&#8203;codeAnqiang-ma](https://github.com/codeAnqiang-ma) in [#&#8203;5683](https://github.com/nodejs/undici/pull/5683) - fix(interceptor/dump): reject aborted requests when response is smaller than maxSize by [@&#8203;codeAnqiang-ma](https://github.com/codeAnqiang-ma) in [#&#8203;5685](https://github.com/nodejs/undici/pull/5685) - test: add unexpected disconnect guards to remaining http2 tests by [@&#8203;zeexzeex](https://github.com/zeexzeex) in [#&#8203;5686](https://github.com/nodejs/undici/pull/5686) - test: harden http2-request-never-settles against late session errors by [@&#8203;pacocartones](https://github.com/pacocartones) in [#&#8203;5674](https://github.com/nodejs/undici/pull/5674) - fix(test): skip cache-tests when submodule is missing by [@&#8203;edenbuilds](https://github.com/edenbuilds) in [#&#8203;5661](https://github.com/nodejs/undici/pull/5661) - fix(retry): honor the abort signal during the retry backoff by [@&#8203;pacocartones](https://github.com/pacocartones) in [#&#8203;5675](https://github.com/nodejs/undici/pull/5675) - fix(deduplicate): settle the deduplicated request when it is aborted by [@&#8203;pacocartones](https://github.com/pacocartones) in [#&#8203;5673](https://github.com/nodejs/undici/pull/5673) - build(deps-dev): bump esbuild from 0.28.1 to 0.28.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5698](https://github.com/nodejs/undici/pull/5698) - build(deps-dev): bump [@&#8203;fastify/busboy](https://github.com/fastify/busboy) from 3.2.0 to 3.2.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5697](https://github.com/nodejs/undici/pull/5697) - fix: accept a negative Set-Cookie Max-Age attribute by [@&#8203;arshsmith1](https://github.com/arshsmith1) in [#&#8203;5571](https://github.com/nodejs/undici/pull/5571) - fix(h2): honour maxResponseSize by [@&#8203;ondraulehla](https://github.com/ondraulehla) in [#&#8203;5676](https://github.com/nodejs/undici/pull/5676) - test: stabilize HTTP/2 timeout tests by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5689](https://github.com/nodejs/undici/pull/5689) - fix: forward onBodySent/onRequestSent through interceptor handlers by [@&#8203;adarshx01](https://github.com/adarshx01) in [#&#8203;5696](https://github.com/nodejs/undici/pull/5696) - perf(h1): drop idle-socket timer floor with a ref'd setImmediate by [@&#8203;anonrig](https://github.com/anonrig) in [#&#8203;5707](https://github.com/nodejs/undici/pull/5707) - perf(fetch): skip empty RequestInit work by [@&#8203;anonrig](https://github.com/anonrig) in [#&#8203;5701](https://github.com/nodejs/undici/pull/5701) - fix: propagate dispatcher options to base class by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5687](https://github.com/nodejs/undici/pull/5687) - fix(env-http-proxy-agent): ignore trailing dots when matching no\_proxy by [@&#8203;pacocartones](https://github.com/pacocartones) in [#&#8203;5637](https://github.com/nodejs/undici/pull/5637) - build(deps-dev): bump [@&#8203;fastify/busboy](https://github.com/fastify/busboy) from 3.2.1 to 3.2.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5718](https://github.com/nodejs/undici/pull/5718) - build(deps): bump brace-expansion by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5719](https://github.com/nodejs/undici/pull/5719) - fix(socks5-proxy-agent): destroy socket when negotiation times out by [@&#8203;abhijeet117](https://github.com/abhijeet117) in [#&#8203;5709](https://github.com/nodejs/undici/pull/5709) - fix(cache): evict entries when a key holds a single entry by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5737](https://github.com/nodejs/undici/pull/5737) - test: restore /xhr to the WPT filter by [@&#8203;RaphaelFakhri](https://github.com/RaphaelFakhri) in [#&#8203;5723](https://github.com/nodejs/undici/pull/5723) - fix(h2): forward 1xx informational responses to onInfo by [@&#8203;pacocartones](https://github.com/pacocartones) in [#&#8203;5712](https://github.com/nodejs/undici/pull/5712) - fix(agent): preserve pools with pending GOAWAY replays by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5740](https://github.com/nodejs/undici/pull/5740) - test: skip HTTP/2 churn test on Node.js 26 by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5742](https://github.com/nodejs/undici/pull/5742) #### New Contributors - [@&#8203;ostapondo](https://github.com/ostapondo) made their first contribution in [#&#8203;5655](https://github.com/nodejs/undici/pull/5655) - [@&#8203;jibin7jose](https://github.com/jibin7jose) made their first contribution in [#&#8203;5624](https://github.com/nodejs/undici/pull/5624) - [@&#8203;codeAnqiang-ma](https://github.com/codeAnqiang-ma) made their first contribution in [#&#8203;5683](https://github.com/nodejs/undici/pull/5683) - [@&#8203;zeexzeex](https://github.com/zeexzeex) made their first contribution in [#&#8203;5686](https://github.com/nodejs/undici/pull/5686) - [@&#8203;edenbuilds](https://github.com/edenbuilds) made their first contribution in [#&#8203;5661](https://github.com/nodejs/undici/pull/5661) - [@&#8203;arshsmith1](https://github.com/arshsmith1) made their first contribution in [#&#8203;5571](https://github.com/nodejs/undici/pull/5571) - [@&#8203;ondraulehla](https://github.com/ondraulehla) made their first contribution in [#&#8203;5676](https://github.com/nodejs/undici/pull/5676) - [@&#8203;adarshx01](https://github.com/adarshx01) made their first contribution in [#&#8203;5696](https://github.com/nodejs/undici/pull/5696) - [@&#8203;abhijeet117](https://github.com/abhijeet117) made their first contribution in [#&#8203;5709](https://github.com/nodejs/undici/pull/5709) - [@&#8203;RaphaelFakhri](https://github.com/RaphaelFakhri) made their first contribution in [#&#8203;5723](https://github.com/nodejs/undici/pull/5723) **Full Changelog**: <https://github.com/nodejs/undici/compare/v8.10.0...v8.10.1> ### [`v8.10.0`](https://github.com/nodejs/undici/releases/tag/v8.10.0) [Compare Source](https://github.com/nodejs/undici/compare/v8.9.0...v8.10.0) #### What's Changed - feat: namespace h2 options by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;5498](https://github.com/nodejs/undici/pull/5498) - test: update WPT expectations by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5587](https://github.com/nodejs/undici/pull/5587) - test: add cache/dedupe + dns re-dispatch integration tests by [@&#8203;GiHoon1123](https://github.com/GiHoon1123) in [#&#8203;5535](https://github.com/nodejs/undici/pull/5535) - fix(websocket): support process.unref by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5578](https://github.com/nodejs/undici/pull/5578) - fix(h2): ensure every request settles by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5603](https://github.com/nodejs/undici/pull/5603) - fix(readable): consume a body whose end has already been emitted by [@&#8203;marko1olo](https://github.com/marko1olo) in [#&#8203;5617](https://github.com/nodejs/undici/pull/5617) - fix(retry): skip the content-length checkpoint for HEAD and for a 206 without content-range by [@&#8203;marko1olo](https://github.com/marko1olo) in [#&#8203;5610](https://github.com/nodejs/undici/pull/5610) - fix: revert idle socket validation to setTimeout(0) to prevent stall on idle event loop by [@&#8203;marceli1404](https://github.com/marceli1404) in [#&#8203;5606](https://github.com/nodejs/undici/pull/5606) - fix(env-http-proxy-agent): match bare IPv6 addresses in no\_proxy by [@&#8203;marko1olo](https://github.com/marko1olo) in [#&#8203;5623](https://github.com/nodejs/undici/pull/5623) - test: handle aggregate balanced pool errors by [@&#8203;marko1olo](https://github.com/marko1olo) in [#&#8203;5377](https://github.com/nodejs/undici/pull/5377) - fix(readable): keep body bytes that arrive after setEncoding() by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5620](https://github.com/nodejs/undici/pull/5620) - fix(socks5): evict unused origin pools by [@&#8203;Kkartik14](https://github.com/Kkartik14) in [#&#8203;5595](https://github.com/nodejs/undici/pull/5595) - fix: skip deduplication for upgrade requests by [@&#8203;Ram-blip](https://github.com/Ram-blip) in [#&#8203;5593](https://github.com/nodejs/undici/pull/5593) - fix(retry): forward informational responses by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5625](https://github.com/nodejs/undici/pull/5625) - fix(mock): non-string path matchers under ignoreTrailingSlash, and DataView reply bodies by [@&#8203;marko1olo](https://github.com/marko1olo) in [#&#8203;5619](https://github.com/nodejs/undici/pull/5619) - fix(interceptors): cache() and deduplicate() silently inert on Client/Pool without opts.origin by [@&#8203;marko1olo](https://github.com/marko1olo) in [#&#8203;5628](https://github.com/nodejs/undici/pull/5628) - build(deps): bump ossf/scorecard-action from 2.4.3 to 2.4.4 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5633](https://github.com/nodejs/undici/pull/5633) - build(deps): bump github/codeql-action/init from 4.36.2 to 4.37.3 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5634](https://github.com/nodejs/undici/pull/5634) - build(deps): bump actions/setup-node from 6.4.0 to 7.0.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5636](https://github.com/nodejs/undici/pull/5636) - fix(mock): emit request body lifecycle hooks by [@&#8203;marko1olo](https://github.com/marko1olo) in [#&#8203;5367](https://github.com/nodejs/undici/pull/5367) - fix(h2): detach upgrade close handler after GOAWAY by [@&#8203;pacocartones](https://github.com/pacocartones) in [#&#8203;5641](https://github.com/nodejs/undici/pull/5641) - fix: retry refused HTTP/2 streams by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5598](https://github.com/nodejs/undici/pull/5598) - fix: preserve DNS origin hostname on sockets by [@&#8203;cyphercodes](https://github.com/cyphercodes) in [#&#8203;5577](https://github.com/nodejs/undici/pull/5577) #### New Contributors - [@&#8203;marceli1404](https://github.com/marceli1404) made their first contribution in [#&#8203;5606](https://github.com/nodejs/undici/pull/5606) - [@&#8203;Kkartik14](https://github.com/Kkartik14) made their first contribution in [#&#8203;5595](https://github.com/nodejs/undici/pull/5595) - [@&#8203;pacocartones](https://github.com/pacocartones) made their first contribution in [#&#8203;5641](https://github.com/nodejs/undici/pull/5641) - [@&#8203;cyphercodes](https://github.com/cyphercodes) made their first contribution in [#&#8203;5577](https://github.com/nodejs/undici/pull/5577) **Full Changelog**: <https://github.com/nodejs/undici/compare/v8.9.0...v8.10.0> ### [`v8.9.0`](https://github.com/nodejs/undici/releases/tag/v8.9.0) [Compare Source](https://github.com/nodejs/undici/compare/v8.8.0...v8.9.0) #### ⚠️ Security fixes ##### High severity - [GHSA-4cwx-7wf7-3272](https://github.com/nodejs/undici/security/advisories/GHSA-4cwx-7wf7-3272): malformed qualified `private` Cache-Control directives could cause cross-user information disclosure in shared caches or a parse-time crash. The cache parser now treats empty qualified directives conservatively and safely handles mixed qualified and unqualified directives. Fixed by [4fe5bc5f](https://github.com/nodejs/undici/commit/4fe5bc5fefe5ac81a200fc8e1cf84b8bf8464451) with regression coverage in [9f09b49a](https://github.com/nodejs/undici/commit/9f09b49accd391cca818409447f2fb8bc93229b3). ##### Medium severity - [GHSA-m8rv-5g2x-5cg5](https://github.com/nodejs/undici/security/advisories/GHSA-m8rv-5g2x-5cg5): a malicious `type` property on a duck-typed blob-like HTTP/1.1 request body could inject CRLF sequences into the generated `content-type` header. Undici now coerces and validates the value before adding it to the request. Fixed by [7d3cf924](https://github.com/nodejs/undici/commit/7d3cf924c262c486bc77f951348f4e5c847b7b42). - [GHSA-jr45-8vmc-qm54](https://github.com/nodejs/undici/security/advisories/GHSA-jr45-8vmc-qm54): optional whitespace around `=` in qualified `no-cache` and `private` directives could bypass shared-cache restrictions and disclose authenticated data across users. Cache-Control parsing now normalizes these forms and applies conservative cache decisions. Fixed by [c601fff1](https://github.com/nodejs/undici/commit/c601fff1c56eca84438c3ed4ecb39404252be622). - [GHSA-8xcm-r25x-g524](https://github.com/nodejs/undici/security/advisories/GHSA-8xcm-r25x-g524): the retry interceptor could expose a stale `Content-Length` after resuming a partial response, potentially causing downstream response desynchronization, hangs, or corruption. Undici now rejects partial responses whose `Content-Length` is inconsistent with `Content-Range`. Fixed by [e11a68ed](https://github.com/nodejs/undici/commit/e11a68ed4ff345c79402476f7a00d473443e318d), with corrected fixtures in [2b3f7493](https://github.com/nodejs/undici/commit/2b3f749336d356bbbc50192f87f6cf7bc714721a). - [GHSA-v3r7-h72x-cjcm](https://github.com/nodejs/undici/security/advisories/GHSA-v3r7-h72x-cjcm): unsanitized `domain` and `unparsed` values passed to `setCookie()` could inject cookie attributes. Undici now validates cookie domains, paths, and unparsed attributes more strictly. Fixed by [10d93fc3](https://github.com/nodejs/undici/commit/10d93fc332f2c8c161982dec3833201de29891b5). #### Additional hardening Undici now validates non-string header values after coercion, including array elements, preventing crafted `toString()` or `Symbol.toPrimitive` implementations from introducing CRLF sequences. This defense-in-depth change was made in [354a151f](https://github.com/nodejs/undici/commit/354a151f615f03d72f6aff02f3ad18a7e99a72b5). #### What's Changed - fix(decompress): preserve response trailers by [@&#8203;Ram-blip](https://github.com/Ram-blip) in [#&#8203;5572](https://github.com/nodejs/undici/pull/5572) - build(deps-dev): bump ws from 8.21.0 to 8.21.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5576](https://github.com/nodejs/undici/pull/5576) - fix: validate coerced header values for CRLF by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5579](https://github.com/nodejs/undici/pull/5579) - fix: handle frozen globalThis in setGlobalDispatcher by [@&#8203;mhayk](https://github.com/mhayk) in [#&#8203;5574](https://github.com/nodejs/undici/pull/5574) - Ignore auto-generated .npmrc on Windows by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;5583](https://github.com/nodejs/undici/pull/5583) #### New Contributors - [@&#8203;mhayk](https://github.com/mhayk) made their first contribution in [#&#8203;5574](https://github.com/nodejs/undici/pull/5574) **Full Changelog**: <https://github.com/nodejs/undici/compare/v8.8.0...v8.9.0> ### [`v8.8.0`](https://github.com/nodejs/undici/releases/tag/v8.8.0) [Compare Source](https://github.com/nodejs/undici/compare/v8.7.0...v8.8.0) #### What's Changed - fetch: use ReadableStreamTee for cloning streams by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;5517](https://github.com/nodejs/undici/pull/5517) - fix(benchmarks): adjust got after v15 upgrade by [@&#8203;slagiewka](https://github.com/slagiewka) in [#&#8203;5526](https://github.com/nodejs/undici/pull/5526) - feat(mock): support asynchronous reply options callbacks by [@&#8203;Develop-KIM](https://github.com/Develop-KIM) in [#&#8203;5534](https://github.com/nodejs/undici/pull/5534) - docs: clarify proxy threat model by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5530](https://github.com/nodejs/undici/pull/5530) - docs: clarify MockAgent pool usage by [@&#8203;vibhor-aggr](https://github.com/vibhor-aggr) in [#&#8203;5542](https://github.com/nodejs/undici/pull/5542) - docs: clarify parser timeout precision by [@&#8203;vibhor-aggr](https://github.com/vibhor-aggr) in [#&#8203;5543](https://github.com/nodejs/undici/pull/5543) - fix: handle flat alternating header arrays in cache normalizeHeaders by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5536](https://github.com/nodejs/undici/pull/5536) - chore(benchmarks): require(esm) on ESM-only packages by [@&#8203;slagiewka](https://github.com/slagiewka) in [#&#8203;5527](https://github.com/nodejs/undici/pull/5527) - fix: run idle socket validation off setImmediate instead of setTimeout by [@&#8203;carlotestor](https://github.com/carlotestor) in [#&#8203;5499](https://github.com/nodejs/undici/pull/5499) - docs: add custom interceptor example by [@&#8203;vibhor-aggr](https://github.com/vibhor-aggr) in [#&#8203;5548](https://github.com/nodejs/undici/pull/5548) - fix(h1): ignore type of service errors by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5547](https://github.com/nodejs/undici/pull/5547) - fix(fetch): convert null init in Response.json by [@&#8203;Ram-blip](https://github.com/Ram-blip) in [#&#8203;5540](https://github.com/nodejs/undici/pull/5540) - fix(redirect): remove body headers after POST-to-GET by [@&#8203;Ram-blip](https://github.com/Ram-blip) in [#&#8203;5551](https://github.com/nodejs/undici/pull/5551) - build(deps-dev): bump fast-check from 4.8.0 to 4.9.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5556](https://github.com/nodejs/undici/pull/5556) - fix(h2): allow stream-bodied requests to multiplex on a busy session by [@&#8203;GiHoon1123](https://github.com/GiHoon1123) in [#&#8203;5538](https://github.com/nodejs/undici/pull/5538) - fix(h2): destroy aborted stream synchronously instead of via setImmediate by [@&#8203;staylor](https://github.com/staylor) in [#&#8203;5559](https://github.com/nodejs/undici/pull/5559) - fix(decompress): skip HEAD responses by [@&#8203;Ram-blip](https://github.com/Ram-blip) in [#&#8203;5564](https://github.com/nodejs/undici/pull/5564) - ci: build undici with node.js v26 by [@&#8203;shivarm](https://github.com/shivarm) in [#&#8203;5237](https://github.com/nodejs/undici/pull/5237) - docs: clarify top-level request option url fields by [@&#8203;vibhor-aggr](https://github.com/vibhor-aggr) in [#&#8203;5545](https://github.com/nodejs/undici/pull/5545) - test: add unexpected disconnect guards to http2 tests by [@&#8203;Develop-KIM](https://github.com/Develop-KIM) in [#&#8203;5533](https://github.com/nodejs/undici/pull/5533) - fix: track origins by client map key in Agent teardown by [@&#8203;emmayusufu](https://github.com/emmayusufu) in [#&#8203;5537](https://github.com/nodejs/undici/pull/5537) - fix: enforce must-revalidate and proxy-revalidate over max-stale and stale-if-error by [@&#8203;jeswr](https://github.com/jeswr) in [#&#8203;5511](https://github.com/nodejs/undici/pull/5511) - fix(retry): handle Retry-After zero delay by [@&#8203;Ram-blip](https://github.com/Ram-blip) in [#&#8203;5519](https://github.com/nodejs/undici/pull/5519) - fix: honor stale-if-error on connection errors during revalidation by [@&#8203;jeswr](https://github.com/jeswr) in [#&#8203;5513](https://github.com/nodejs/undici/pull/5513) - fix: store revalidation-only responses so etag revalidation can engage by [@&#8203;jeswr](https://github.com/jeswr) in [#&#8203;5515](https://github.com/nodejs/undici/pull/5515) - fix(h2): prevent uncaughtException from onHttp2SocketError accessing undefined kClient by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5546](https://github.com/nodejs/undici/pull/5546) - fix(h2): complete request stream on 'end' instead of waiting for 'close' by [@&#8203;staylor](https://github.com/staylor) in [#&#8203;5560](https://github.com/nodejs/undici/pull/5560) - fix: invalidate Location and Content-Location URIs on unsafe methods by [@&#8203;jeswr](https://github.com/jeswr) in [#&#8203;5514](https://github.com/nodejs/undici/pull/5514) - test: deflake invalid websocket close status test by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5550](https://github.com/nodejs/undici/pull/5550) - refactor: replace tspl with node:test t.plan in connect-timeout tests by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5518](https://github.com/nodejs/undici/pull/5518) - fix(h2): release completed requests from queue by [@&#8203;staylor](https://github.com/staylor) in [#&#8203;5569](https://github.com/nodejs/undici/pull/5569) #### New Contributors - [@&#8203;Develop-KIM](https://github.com/Develop-KIM) made their first contribution in [#&#8203;5534](https://github.com/nodejs/undici/pull/5534) - [@&#8203;carlotestor](https://github.com/carlotestor) made their first contribution in [#&#8203;5499](https://github.com/nodejs/undici/pull/5499) - [@&#8203;GiHoon1123](https://github.com/GiHoon1123) made their first contribution in [#&#8203;5538](https://github.com/nodejs/undici/pull/5538) - [@&#8203;emmayusufu](https://github.com/emmayusufu) made their first contribution in [#&#8203;5537](https://github.com/nodejs/undici/pull/5537) **Full Changelog**: <https://github.com/nodejs/undici/compare/v8.7.0...v8.8.0> ### [`v8.7.0`](https://github.com/nodejs/undici/releases/tag/v8.7.0) [Compare Source](https://github.com/nodejs/undici/compare/v8.6.0...v8.7.0) #### What's Changed - test: guard balanced-pool error port lookup by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5463](https://github.com/nodejs/undici/pull/5463) - perf: optimize http/2 request hot path by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5483](https://github.com/nodejs/undici/pull/5483) - fix: do not reject open-ended Range values in simpleRangeHeaderValue by [@&#8203;spokodev](https://github.com/spokodev) in [#&#8203;5490](https://github.com/nodejs/undici/pull/5490) - fix(eventsource): set use-URL-credentials flag by [@&#8203;Ram-blip](https://github.com/Ram-blip) in [#&#8203;5489](https://github.com/nodejs/undici/pull/5489) - test: deflake connect-timeout watchdog by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5197](https://github.com/nodejs/undici/pull/5197) - docs: correct npm script name and JSON syntax in examples by [@&#8203;lenoxfernando](https://github.com/lenoxfernando) in [#&#8203;5496](https://github.com/nodejs/undici/pull/5496) - fix: reject non-ascii octets in validateCookiePath by [@&#8203;spokodev](https://github.com/spokodev) in [#&#8203;5452](https://github.com/nodejs/undici/pull/5452) - fix(readable): ignore late consume chunks by [@&#8203;marko1olo](https://github.com/marko1olo) in [#&#8203;5375](https://github.com/nodejs/undici/pull/5375) - fix(h2): destroy the stream on abort instead of relying on close() by [@&#8203;staylor](https://github.com/staylor) in [#&#8203;5462](https://github.com/nodejs/undici/pull/5462) - fix: ignore an unparseable Set-Cookie Expires attribute by [@&#8203;spokodev](https://github.com/spokodev) in [#&#8203;5488](https://github.com/nodejs/undici/pull/5488) - docs: add reproduction guide and update bug report template by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5451](https://github.com/nodejs/undici/pull/5451) - fix(h2): guard onResponse against a 'response' event delivered after completion by [@&#8203;staylor](https://github.com/staylor) in [#&#8203;5440](https://github.com/nodejs/undici/pull/5440) - fix(h2): requeue request on GOAWAY'd session instead of crashing by [@&#8203;staylor](https://github.com/staylor) in [#&#8203;5453](https://github.com/nodejs/undici/pull/5453) - fix: add static buildDispatch method to RedirectHandler type definition by [@&#8203;matthieusieben](https://github.com/matthieusieben) in [#&#8203;5442](https://github.com/nodejs/undici/pull/5442) - fix: auto-detect HTTP proxy tunneling by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5116](https://github.com/nodejs/undici/pull/5116) #### New Contributors - [@&#8203;spokodev](https://github.com/spokodev) made their first contribution in [#&#8203;5490](https://github.com/nodejs/undici/pull/5490) - [@&#8203;lenoxfernando](https://github.com/lenoxfernando) made their first contribution in [#&#8203;5496](https://github.com/nodejs/undici/pull/5496) - [@&#8203;staylor](https://github.com/staylor) made their first contribution in [#&#8203;5462](https://github.com/nodejs/undici/pull/5462) **Full Changelog**: <https://github.com/nodejs/undici/compare/v8.6.0...v8.7.0> ### [`v8.6.0`](https://github.com/nodejs/undici/releases/tag/v8.6.0) [Compare Source](https://github.com/nodejs/undici/compare/v8.5.0...v8.6.0) #### What's Changed - build(deps-dev): bump proxy from 4.0.0 to 4.1.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5433](https://github.com/nodejs/undici/pull/5433) - update accept-encoding header in fetch by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;5439](https://github.com/nodejs/undici/pull/5439) - fix: drop response chunks after the response stream is destroyed ([#&#8203;5356](https://github.com/nodejs/undici/issues/5356)) by [@&#8203;cesarvspr](https://github.com/cesarvspr) in [#&#8203;5357](https://github.com/nodejs/undici/pull/5357) - fix: handle incomplete multi-byte UTF-8 sequences in setEncoding() by [@&#8203;joecwu](https://github.com/joecwu) in [#&#8203;5003](https://github.com/nodejs/undici/pull/5003) - fix(retry): keep flow-control wired to the active connection across resumes by [@&#8203;bogomya](https://github.com/bogomya) in [#&#8203;5405](https://github.com/nodejs/undici/pull/5405) - test: cover connect lookup option by [@&#8203;vibhor-aggr](https://github.com/vibhor-aggr) in [#&#8203;5411](https://github.com/nodejs/undici/pull/5411) - test: fail on unexpected reconnect disconnect by [@&#8203;vibhor-aggr](https://github.com/vibhor-aggr) in [#&#8203;5412](https://github.com/nodejs/undici/pull/5412) - build(deps-dev): bump esbuild from 0.28.0 to 0.28.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5419](https://github.com/nodejs/undici/pull/5419) - fix(proxy): fail the request when the CONNECT tunnel drops instead of looping by [@&#8203;cesarvspr](https://github.com/cesarvspr) in [#&#8203;5441](https://github.com/nodejs/undici/pull/5441) - feat(docs): migrate to doc-kit by [@&#8203;avivkeller](https://github.com/avivkeller) in [#&#8203;5438](https://github.com/nodejs/undici/pull/5438) - build(deps-dev): bump undici from 6.25.0 to 6.27.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5445](https://github.com/nodejs/undici/pull/5445) - fetch: fix issue 4058 by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;5456](https://github.com/nodejs/undici/pull/5456) - docs: add Interceptors API reference page by [@&#8203;enjoykumawat](https://github.com/enjoykumawat) in [#&#8203;5446](https://github.com/nodejs/undici/pull/5446) - Document H1 keep-alive trust tradeoff by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5457](https://github.com/nodejs/undici/pull/5457) - fix(h2): deliver an early final response to an Expect: 100-continue request by [@&#8203;jeswr](https://github.com/jeswr) in [#&#8203;5470](https://github.com/nodejs/undici/pull/5470) - fix(types): correct deleteCookie attributes by [@&#8203;Ram-blip](https://github.com/Ram-blip) in [#&#8203;5461](https://github.com/nodejs/undici/pull/5461) - fix(h1): complete paused parser on socket end instead of crashing by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;5474](https://github.com/nodejs/undici/pull/5474) - build(deps): bump github/codeql-action/init from 4.36.1 to 4.36.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5476](https://github.com/nodejs/undici/pull/5476) - build(deps): bump github/codeql-action/upload-sarif from 4.36.1 to 4.36.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5481](https://github.com/nodejs/undici/pull/5481) - build(deps): bump fastify/github-action-merge-dependabot from 3.12.0 to 3.15.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5480](https://github.com/nodejs/undici/pull/5480) - build(deps): bump codecov/codecov-action from 6.0.1 to 7.0.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5478](https://github.com/nodejs/undici/pull/5478) - build(deps): bump actions/checkout from 6.0.3 to 7.0.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5482](https://github.com/nodejs/undici/pull/5482) - build(deps): bump github/codeql-action from 4.36.1 to 4.36.2 by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5484](https://github.com/nodejs/undici/pull/5484) - build(deps): bump github/codeql-action/analyze from 4.36.1 to 4.36.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5477](https://github.com/nodejs/undici/pull/5477) - feat: support HTTP QUERY method (RFC 10008) by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5459](https://github.com/nodejs/undici/pull/5459) - fix: requeue h2 requests after goaway by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5473](https://github.com/nodejs/undici/pull/5473) #### New Contributors - [@&#8203;joecwu](https://github.com/joecwu) made their first contribution in [#&#8203;5003](https://github.com/nodejs/undici/pull/5003) - [@&#8203;bogomya](https://github.com/bogomya) made their first contribution in [#&#8203;5405](https://github.com/nodejs/undici/pull/5405) - [@&#8203;enjoykumawat](https://github.com/enjoykumawat) made their first contribution in [#&#8203;5446](https://github.com/nodejs/undici/pull/5446) - [@&#8203;jeswr](https://github.com/jeswr) made their first contribution in [#&#8203;5470](https://github.com/nodejs/undici/pull/5470) - [@&#8203;Ram-blip](https://github.com/Ram-blip) made their first contribution in [#&#8203;5461](https://github.com/nodejs/undici/pull/5461) **Full Changelog**: <https://github.com/nodejs/undici/compare/v8.5.0...v8.6.0> ### [`v8.5.0`](https://github.com/nodejs/undici/releases/tag/v8.5.0) [Compare Source](https://github.com/nodejs/undici/compare/v8.4.1...v8.5.0) ### ⚠️ Security Release This release line addresses **8 security advisories**. Most are fixed in **v8.5.0**; the SOCKS5 pool-reuse issue was fixed earlier in **v8.2.0**. > **Action required:** Upgrade to **undici 8.5.0** or later. > > ```sh > npm install undici@^8.5.0 > ``` #### Summary | Advisory | CVE | Severity (CVSS) | Fixed in | Fix commit | | ----------------------------------------------------------------------------------------------- | -------------- | --------------- | -------- | -------------------------------------------------------------- | | [GHSA-vxpw-j846-p89q](https://github.com/nodejs/undici/security/advisories/GHSA-vxpw-j846-p89q) | CVE-2026-12151 | High (7.5) | 8.5.0 | [`32dbf0b3`](https://github.com/nodejs/undici/commit/32dbf0b3) | | [GHSA-38rv-x7px-6hhq](https://github.com/nodejs/undici/security/advisories/GHSA-38rv-x7px-6hhq) | CVE-2026-9675 | High (7.5) | 8.5.0 | [`b4c287b3`](https://github.com/nodejs/undici/commit/b4c287b3) | | [GHSA-vmh5-mc38-953g](https://github.com/nodejs/undici/security/advisories/GHSA-vmh5-mc38-953g) | CVE-2026-9697 | High (7.4) | 8.5.0 | [`42d49559`](https://github.com/nodejs/undici/commit/42d49559) | | [GHSA-hm92-r4w5-c3mj](https://github.com/nodejs/undici/security/advisories/GHSA-hm92-r4w5-c3mj) | CVE-2026-6734 | High (7.5) | 8.2.0 | [`a516f870`](https://github.com/nodejs/undici/commit/a516f870) | | [GHSA-pr7r-676h-xcf6](https://github.com/nodejs/undici/security/advisories/GHSA-pr7r-676h-xcf6) | CVE-2026-9678 | Moderate (5.9) | 8.5.0 | [`cb105d7c`](https://github.com/nodejs/undici/commit/cb105d7c) | | [GHSA-p88m-4jfj-68fv](https://github.com/nodejs/undici/security/advisories/GHSA-p88m-4jfj-68fv) | CVE-2026-9679 | Moderate (5.9) | 8.5.0 | [`5655ea43`](https://github.com/nodejs/undici/commit/5655ea43) | | [GHSA-g8m3-5g58-fq7m](https://github.com/nodejs/undici/security/advisories/GHSA-g8m3-5g58-fq7m) | CVE-2026-11525 | Low (3.7) | 8.5.0 | [`5655ea43`](https://github.com/nodejs/undici/commit/5655ea43) | | [GHSA-35p6-xmwp-9g52](https://github.com/nodejs/undici/security/advisories/GHSA-35p6-xmwp-9g52) | CVE-2026-6733 | Low (3.7) | 8.5.0 | [`6ea54ef8`](https://github.com/nodejs/undici/commit/6ea54ef8) | *** #### High severity ##### WebSocket DoS via fragment count bypass — CVE-2026-12151 **[GHSA-vxpw-j846-p89q](https://github.com/nodejs/undici/security/advisories/GHSA-vxpw-j846-p89q)** · CWE-400, CWE-770 **Fix:** [`32dbf0b3`](https://github.com/nodejs/undici/commit/32dbf0b3) *websocket: limit the number of fragments in a message* (also [`c5ed7875`](https://github.com/nodejs/undici/commit/c5ed7875) *handle empty fragments and stream limits*) A malicious WebSocket server can stream a large number of small or empty continuation frames. Undici enforced a limit on cumulative payload size but did not limit the *number* of fragments per message, leading to unbounded memory growth and denial of service. - **Affected:** applications using `new WebSocket(...)` or `WebSocketStream` against untrusted endpoints. - **Workaround:** none — upgrade is required. ##### WebSocket DoS via cumulative fragment bypass — CVE-2026-9675 **[GHSA-38rv-x7px-6hhq](https://github.com/nodejs/undici/security/advisories/GHSA-38rv-x7px-6hhq)** · CWE-400, CWE-770 **Fix:** [`b4c287b3`](https://github.com/nodejs/undici/commit/b4c287b3) *fix(websocket): enforce max payload size across fragments* Undici validated the size of individual frames but did not track cumulative size across a fragmented message. An attacker could send many small fragments that each pass per-frame validation but collectively exceed the configured limit, causing memory exhaustion. **This is a regression introduced in 8.1.0** (the 6.x and 7.x lines are not affected). - **Workaround:** none — upgrade is required. ##### TLS certificate validation bypass in SOCKS5 ProxyAgent — CVE-2026-9697 **[GHSA-vmh5-mc38-953g](https://github.com/nodejs/undici/security/advisories/GHSA-vmh5-mc38-953g)** · CWE-295 **Fix:** [`42d49559`](https://github.com/nodejs/undici/commit/42d49559) *fix: honor requestTls when proxy is SOCKS5* The `ProxyAgent` silently discarded the `requestTls` option when configured with a SOCKS5 proxy. TLS connections through the SOCKS5 tunnel ignored user-configured parameters such as `ca`, `cert`, `key`, `rejectUnauthorized`, and `servername`, falling back to the default Mozilla CA bundle. Applications relying on certificate pinning to an internal CA were exposed to man-in-the-middle attacks. - **Affected:** `ProxyAgent` / `Socks5ProxyAgent` over SOCKS5 that rely on `requestTls`. - **Workaround:** route traffic through an HTTP-proxy `ProxyAgent`, where `requestTls` functions correctly. ##### Cross-origin request routing via SOCKS5 proxy pool reuse — CVE-2026-6734 **[GHSA-hm92-r4w5-c3mj](https://github.com/nodejs/undici/security/advisories/GHSA-hm92-r4w5-c3mj)** · CWE-346 · **Fixed in 8.2.0** **Fix:** [`a516f870`](https://github.com/nodejs/undici/commit/a516f870) *fix(socks5-proxy-agent): use per-origin pools to prevent cross-origin routing* ([#&#8203;5041](https://github.com/nodejs/undici/pull/5041)) `Socks5ProxyAgent` reused a single connection pool across different origins without verifying the pool's origin matched the requested origin. This could route credentials and request data to unintended destinations, cause responses from the wrong origin to be trusted, and enable HTTPS→HTTP downgrade. - **Affected:** applications using `Socks5ProxyAgent` across multiple origins (introduced via [#&#8203;4385](https://github.com/nodejs/undici/pull/4385)). - **Workaround:** use a separate agent instance per origin. *** #### Moderate severity ##### Cross-user information disclosure via shared cache whitespace bypass — CVE-2026-9678 **[GHSA-pr7r-676h-xcf6](https://github.com/nodejs/undici/security/advisories/GHSA-pr7r-676h-xcf6)** · CWE-524 **Fix:** [`cb105d7c`](https://github.com/nodejs/undici/commit/cb105d7c) *fix(cache): trim qualified field names* The cache interceptor mishandled responses with whitespace-padded `Cache-Control` directives such as `private=" authorization"`. In shared-cache mode this could cause authenticated data to be cached and served to other users. - **Affected:** apps using the cache interceptor in shared mode that forward `Authorization` upstream and receive non-canonical qualified directives. - **Workaround:** disable shared-cache mode for authenticated traffic, avoid caching authenticated responses, or add `Vary: Authorization` upstream. ##### HTTP header injection via Set-Cookie percent-decoding — CVE-2026-9679 **[GHSA-p88m-4jfj-68fv](https://github.com/nodejs/undici/security/advisories/GHSA-p88m-4jfj-68fv)** · CWE-93 **Fix:** [`5655ea43`](https://github.com/nodejs/undici/commit/5655ea43) *fix(cookies): preserve values and parse SameSite strictly* `parseSetCookie` applied percent-decoding to cookie values, turning encoded sequences like `%0D%0A` and `%00` into literal bytes, contrary to RFC 6265 §5.4 and browser behavior. Applications forwarding parsed Set-Cookie values into response headers were exposed to header injection, enabling session fixation, open redirects, and cache poisoning. Introduced in 7.0.0 via [#&#8203;3789](https://github.com/nodejs/undici/pull/3789). - **Workaround:** sanitize values before forwarding — strip or reject CR, LF, NUL, `;`, and `=`. *** #### Low severity ##### Set-Cookie SameSite attribute downgrade — CVE-2026-11525 **[GHSA-g8m3-5g58-fq7m](https://github.com/nodejs/undici/security/advisories/GHSA-g8m3-5g58-fq7m)** · CWE-183 **Fix:** [`5655ea43`](https://github.com/nodejs/undici/commit/5655ea43) *fix(cookies): preserve values and parse SameSite strictly* The cookie parser accepted `SameSite` values containing `Strict`, `Lax`, or `None` as substrings rather than requiring exact matches per RFC 6265. Values like `SameSite=NoneOfYourBusiness` parsed as `None`, and `SameSite=StrictLax` parsed as `Lax`, silently weakening cookie security policies for apps that forward parsed attributes. ##### HTTP response queue poisoning via keep-alive socket reuse — CVE-2026-6733 **[GHSA-35p6-xmwp-9g52](https://github.com/nodejs/undici/security/advisories/GHSA-35p6-xmwp-9g52)** · CWE-367 (TOCTOU race condition) **Fix:** [`6ea54ef8`](https://github.com/nodejs/undici/commit/6ea54ef8) *fix: guard idle socket validation to skip fresh sockets*, hardened by [`c9fbe9d2`](https://github.com/nodejs/undici/commit/c9fbe9d2) *keep idle validation on native timers* ([#&#8203;5397](https://github.com/nodejs/undici/pull/5397)) and [`ac5394b8`](https://github.com/nodejs/undici/commit/ac5394b8) *keep idle validation on global timers* ([#&#8203;5407](https://github.com/nodejs/undici/pull/5407)) An attacker controlling an upstream HTTP/1.1 server could inject unsolicited responses onto idle keep-alive sockets. On socket reuse, the injected response was associated with a new request, delivering responses to the wrong requests. - **Requirements:** attacker-controlled/compromised upstream and active keep-alive reuse. - **Workaround:** disable keep-alive reuse with `keepAliveTimeout: 0` on the Client or Pool. *** #### Also in v8.5.0 (non-security) v8.5.0 shipped the security fixes above alongside the following changes. **These are not security fixes** — they are listed for completeness of the release. (The two queue-poisoning hardening PRs, [#&#8203;5397](https://github.com/nodejs/undici/pull/5397) and [#&#8203;5407](https://github.com/nodejs/undici/pull/5407), are covered under CVE-2026-6733 above and are not repeated here.) - **HTTP/2:** [`#5408`](https://github.com/nodejs/undici/pull/5408) don't rewind `kPendingIdx` past in-flight requests · [`#5391`](https://github.com/nodejs/undici/pull/5391) allow h2 POST request multiplexing · [`#5406`](https://github.com/nodejs/undici/pull/5406) reap idle HTTP/2 sessions · [`#5410`](https://github.com/nodejs/undici/pull/5410) preserve h2 queue on out-of-order completion - **Features:** [`#5416`](https://github.com/nodejs/undici/pull/5416) add `bodyMixin.textStream()` · [`#5418`](https://github.com/nodejs/undici/pull/5418) align EventSource with spec - **Docs / CI / tests:** [`#5413`](https://github.com/nodejs/undici/pull/5413) document request header validation · [`#5383`](https://github.com/nodejs/undici/pull/5383) absorb h2 stream timeout resets (test) · [`#5420`](https://github.com/nodejs/undici/pull/5420) remove stale repro + lint · [`#5426`](https://github.com/nodejs/undici/pull/5426) extend Windows CI timeout · [`#5427`](https://github.com/nodejs/undici/pull/5427) detect available python in WPT runner Full changelog: [`v8.4.1...v8.5.0`](https://github.com/nodejs/undici/compare/v8.4.1...v8.5.0). *** #### Credits Per-advisory credits (as recorded in each GHSA): - **CVE-2026-12151** — reported by [@&#8203;lpinca](https://github.com/lpinca) & [@&#8203;Nadav0077](https://github.com/Nadav0077); reviewed by [@&#8203;UlisesGascon](https://github.com/UlisesGascon). - **CVE-2026-9675** — reported by [@&#8203;mauriceng98](https://github.com/mauriceng98) & [@&#8203;Str1ckl4nd](https://github.com/Str1ckl4nd); fixed by [@&#8203;mcollina](https://github.com/mcollina) & [@&#8203;KhafraDev](https://github.com/KhafraDev); reviewed by [@&#8203;UlisesGascon](https://github.com/UlisesGascon). - **CVE-2026-9697** — reported by [@&#8203;tonghuaroot](https://github.com/tonghuaroot); reviewed by [@&#8203;UlisesGascon](https://github.com/UlisesGascon). - **CVE-2026-6734** — reported by [@&#8203;ChALkeR](https://github.com/ChALkeR); reviewed by [@&#8203;mcollina](https://github.com/mcollina); verified by [@&#8203;UlisesGascon](https://github.com/UlisesGascon). - **CVE-2026-9678** — fixed by [@&#8203;mcollina](https://github.com/mcollina); reviewed by [@&#8203;UlisesGascon](https://github.com/UlisesGascon). - **CVE-2026-9679** — reported by [@&#8203;tndud042713](https://github.com/tndud042713); fixed by [@&#8203;mcollina](https://github.com/mcollina); reviewed by [@&#8203;KhafraDev](https://github.com/KhafraDev) & [@&#8203;UlisesGascon](https://github.com/UlisesGascon). - **CVE-2026-11525** — fixed by [@&#8203;mcollina](https://github.com/mcollina); reviewed by [@&#8203;UlisesGascon](https://github.com/UlisesGascon). - **CVE-2026-6733** — fixed by [@&#8203;mcollina](https://github.com/mcollina); verified by [@&#8203;UlisesGascon](https://github.com/UlisesGascon). ### [`v8.4.1`](https://github.com/nodejs/undici/releases/tag/v8.4.1) [Compare Source](https://github.com/nodejs/undici/compare/v8.4.0...v8.4.1) #### What's Changed - test: avoid localhost lookup in fetch cookies tests by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5363](https://github.com/nodejs/undici/pull/5363) - fix: prevent race condition between onEnd and onTrailers in HTTP/2 client ([#&#8203;5216](https://github.com/nodejs/undici/issues/5216)) by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5343](https://github.com/nodejs/undici/pull/5343) - fix(dns): skip requests without origin by [@&#8203;marko1olo](https://github.com/marko1olo) in [#&#8203;5376](https://github.com/nodejs/undici/pull/5376) - docs: add Getting Started guide by [@&#8203;AliMahmoudDev](https://github.com/AliMahmoudDev) in [#&#8203;5371](https://github.com/nodejs/undici/pull/5371) - docs: fix code examples that crash at runtime and other inaccuracies by [@&#8203;AliMahmoudDev](https://github.com/AliMahmoudDev) in [#&#8203;5386](https://github.com/nodejs/undici/pull/5386) - fix: handle paused parser on socket end (issue [#&#8203;5360](https://github.com/nodejs/undici/issues/5360)) by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5389](https://github.com/nodejs/undici/pull/5389) - fix(client): reject pipelined TLS altname errors by [@&#8203;marko1olo](https://github.com/marko1olo) in [#&#8203;5373](https://github.com/nodejs/undici/pull/5373) - docs: fix multiple inaccuracies in API documentation by [@&#8203;AliMahmoudDev](https://github.com/AliMahmoudDev) in [#&#8203;5384](https://github.com/nodejs/undici/pull/5384) - docs: fix remaining broken links in API documentation by [@&#8203;AliMahmoudDev](https://github.com/AliMahmoudDev) in [#&#8203;5342](https://github.com/nodejs/undici/pull/5342) #### New Contributors - [@&#8203;marko1olo](https://github.com/marko1olo) made their first contribution in [#&#8203;5376](https://github.com/nodejs/undici/pull/5376) **Full Changelog**: <https://github.com/nodejs/undici/compare/v8.4.0...v8.4.1> ### [`v8.4.0`](https://github.com/nodejs/undici/releases/tag/v8.4.0) [Compare Source](https://github.com/nodejs/undici/compare/v8.3.0...v8.4.0) #### What's Changed - fix: register connect listener before initiating requests in close-and-destroy test by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5272](https://github.com/nodejs/undici/pull/5272) - test: stabilize tls-cert-leak regression by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5306](https://github.com/nodejs/undici/pull/5306) - fix: replace tspl with native test context in test/examples.js by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5300](https://github.com/nodejs/undici/pull/5300) - http2: remove redundant request stream binding by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5302](https://github.com/nodejs/undici/pull/5302) - test: limit cache-tests workers on Windows by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5309](https://github.com/nodejs/undici/pull/5309) - test: use test context cleanup hooks in parser issue tests by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5282](https://github.com/nodejs/undici/pull/5282) - Add redirect option to strip headers on redirect by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5281](https://github.com/nodejs/undici/pull/5281) - chore(test): fix lint failure by [@&#8203;aduh95](https://github.com/aduh95) in [#&#8203;5316](https://github.com/nodejs/undici/pull/5316) - chore(ci): use `npm ci` instead of `npm install` by [@&#8203;aduh95](https://github.com/aduh95) in [#&#8203;5315](https://github.com/nodejs/undici/pull/5315) - docs: clarify formData security considerations by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5320](https://github.com/nodejs/undici/pull/5320) - docs: add EventSource server example by [@&#8203;Will-thom](https://github.com/Will-thom) in [#&#8203;5321](https://github.com/nodejs/undici/pull/5321) - fix(core): simplify `addAbortListener` util by [@&#8203;aduh95](https://github.com/aduh95) in [#&#8203;5317](https://github.com/nodejs/undici/pull/5317) - build(deps-dev): bump ws from 8.20.0 to 8.21.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5325](https://github.com/nodejs/undici/pull/5325) - build(deps-dev): bump jsondiffpatch from 0.7.3 to 0.7.6 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5313](https://github.com/nodejs/undici/pull/5313) - docs: match undici EoL to node version it's bundled in by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5330](https://github.com/nodejs/undici/pull/5330) - fix: handle all HTTP/2 request stream sync errors by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5311](https://github.com/nodejs/undici/pull/5311) - fix: preserve timeout errors for HTTP/2 requests by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5091](https://github.com/nodejs/undici/pull/5091) - fix(core): normalize autoSelectFamily timeout AggregateError by [@&#8203;youcefzemmar](https://github.com/youcefzemmar) in [#&#8203;5329](https://github.com/nodejs/undici/pull/5329) - chore(core): define `kEnumerableProperty` atomically by [@&#8203;aduh95](https://github.com/aduh95) in [#&#8203;5332](https://github.com/nodejs/undici/pull/5332) - chore(core): use `regex.exec` instead of `string.match` by [@&#8203;aduh95](https://github.com/aduh95) in [#&#8203;5331](https://github.com/nodejs/undici/pull/5331) - fix: reset invalid HTTP/2 sessions by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5310](https://github.com/nodejs/undici/pull/5310) - feat(connect): add `preferH2` connector option to offer h2 first in ALPN by [@&#8203;Antamansid](https://github.com/Antamansid) in [#&#8203;5327](https://github.com/nodejs/undici/pull/5327) - test: fix flaky http2 trailers test by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5338](https://github.com/nodejs/undici/pull/5338) - fix(mock): restore single-arg MockCallHistory.filterCallsByX by [@&#8203;youcefzemmar](https://github.com/youcefzemmar) in [#&#8203;5328](https://github.com/nodejs/undici/pull/5328) - docs: document missing error types in Errors.md by [@&#8203;cesarvspr](https://github.com/cesarvspr) in [#&#8203;5339](https://github.com/nodejs/undici/pull/5339) - build(deps): bump github/codeql-action from 4.35.3 to 4.36.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5346](https://github.com/nodejs/undici/pull/5346) - build(deps): bump actions/dependency-review-action from 4.9.0 to 5.0.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5347](https://github.com/nodejs/undici/pull/5347) - build(deps): bump uWebSockets.js from v20.67.0 to v20.68.0 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5352](https://github.com/nodejs/undici/pull/5352) - build(deps): bump concurrently from 9.2.1 to 10.0.3 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5353](https://github.com/nodejs/undici/pull/5353) - build(deps): bump step-security/harden-runner from 2.19.1 to 2.19.4 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5348](https://github.com/nodejs/undici/pull/5348) - build(deps): bump actions/checkout from 6.0.2 to 6.0.3 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5351](https://github.com/nodejs/undici/pull/5351) - build(deps): bump codecov/codecov-action from 6.0.0 to 6.0.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5349](https://github.com/nodejs/undici/pull/5349) - docs: improve connect option documentation in Client.md by [@&#8203;AliMahmoudDev](https://github.com/AliMahmoudDev) in [#&#8203;5344](https://github.com/nodejs/undici/pull/5344) - fix(mock): do not persist snapshots on close in playback mode by [@&#8203;GeoffreyBooth](https://github.com/GeoffreyBooth) in [#&#8203;5359](https://github.com/nodejs/undici/pull/5359) - fix(fetch): remove abort listener when request settles by [@&#8203;ATOM00blue](https://github.com/ATOM00blue) in [#&#8203;5318](https://github.com/nodejs/undici/pull/5318) - test: add Node.js global fetch regression coverage by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5361](https://github.com/nodejs/undici/pull/5361) - fix(h2): make Client multiplex on h2 ([#&#8203;4143](https://github.com/nodejs/undici/issues/4143)) by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5362](https://github.com/nodejs/undici/pull/5362) #### New Contributors - [@&#8203;Will-thom](https://github.com/Will-thom) made their first contribution in [#&#8203;5321](https://github.com/nodejs/undici/pull/5321) - [@&#8203;youcefzemmar](https://github.com/youcefzemmar) made their first contribution in [#&#8203;5329](https://github.com/nodejs/undici/pull/5329) - [@&#8203;Antamansid](https://github.com/Antamansid) made their first contribution in [#&#8203;5327](https://github.com/nodejs/undici/pull/5327) - [@&#8203;cesarvspr](https://github.com/cesarvspr) made their first contribution in [#&#8203;5339](https://github.com/nodejs/undici/pull/5339) - [@&#8203;AliMahmoudDev](https://github.com/AliMahmoudDev) made their first contribution in [#&#8203;5344](https://github.com/nodejs/undici/pull/5344) - [@&#8203;ATOM00blue](https://github.com/ATOM00blue) made their first contribution in [#&#8203;5318](https://github.com/nodejs/undici/pull/5318) **Full Changelog**: <https://github.com/nodejs/undici/compare/v8.3.0...v8.4.0> ### [`v8.3.0`](https://github.com/nodejs/undici/releases/tag/v8.3.0) [Compare Source](https://github.com/nodejs/undici/compare/v8.2.0...v8.3.0) #### What's Changed - fix: preserve pool capacity after removing stale client by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5151](https://github.com/nodejs/undici/pull/5151) - build(deps): bump actions/github-script from 8.0.0 to 9.0.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5157](https://github.com/nodejs/undici/pull/5157) - build(deps): bump actions/upload-artifact from 5.0.0 to 7.0.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5162](https://github.com/nodejs/undici/pull/5162) - build(deps): bump peter-evans/create-pull-request from 8.1.0 to 8.1.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5156](https://github.com/nodejs/undici/pull/5156) - chore(http2): collapse duplicate request stream setup by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5140](https://github.com/nodejs/undici/pull/5140) - perf(client): cache HTTP/2 authority by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5141](https://github.com/nodejs/undici/pull/5141) - build(deps-dev): bump borp from 0.20.2 to 1.0.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4819](https://github.com/nodejs/undici/pull/4819) - types: add TOpaque to client connect options by [@&#8203;samuel871211](https://github.com/samuel871211) in [#&#8203;4928](https://github.com/nodejs/undici/pull/4928) - build(deps): bump tinybench from 5.1.0 to 6.0.1 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4688](https://github.com/nodejs/undici/pull/4688) - build(deps): bump codecov/codecov-action from 5.5.1 to 6.0.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4950](https://github.com/nodejs/undici/pull/4950) - build(deps): bump actions/dependency-review-action from 4.8.1 to 4.9.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4951](https://github.com/nodejs/undici/pull/4951) - test(fetch): add userinfo coverage for issue-4897 URLs by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4901](https://github.com/nodejs/undici/pull/4901) - perf: avoid duplicate pool dispatcher selection on backpressure by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5149](https://github.com/nodejs/undici/pull/5149) - build(deps): bump actions/setup-node from 6.2.0 to 6.4.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5163](https://github.com/nodejs/undici/pull/5163) - build(deps): bump step-security/harden-runner from 2.14.1 to 2.19.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5160](https://github.com/nodejs/undici/pull/5160) - build(deps): bump cronometro from 5.3.0 to 6.0.3 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4687](https://github.com/nodejs/undici/pull/4687) - build(deps): bump github/codeql-action from 4.35.1 to 4.35.3 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5161](https://github.com/nodejs/undici/pull/5161) - build(deps-dev): bump neostandard from 0.12.2 to 0.13.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4853](https://github.com/nodejs/undici/pull/4853) - build(deps): bump hendrikmuhs/ccache-action from 1.2.22 to 1.2.23 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5158](https://github.com/nodejs/undici/pull/5158) - build(deps): bump fastify/github-action-merge-dependabot from 3.11.2 to 3.12.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5159](https://github.com/nodejs/undici/pull/5159) - build(deps-dev): bump c8 from 10.1.3 to 11.0.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4854](https://github.com/nodejs/undici/pull/4854) - build(deps): bump uWebSockets.js from v20.64.0 to v20.66.0 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5130](https://github.com/nodejs/undici/pull/5130) - docs: mention install() also installs WebSocket globals by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5174](https://github.com/nodejs/undici/pull/5174) - types: stop interfering with [@&#8203;types/node](https://github.com/types/node) by [@&#8203;Renegade334](https://github.com/Renegade334) in [#&#8203;5173](https://github.com/nodejs/undici/pull/5173) - fix: align h2 empty body content-length methods with h1 by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5172](https://github.com/nodejs/undici/pull/5172) - build(deps-dev): bump fast-check from 4.6.0 to 4.7.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5192](https://github.com/nodejs/undici/pull/5192) - build(deps-dev): bump typescript from 6.0.2 to 6.0.3 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5191](https://github.com/nodejs/undici/pull/5191) - test: move cleanup from finally to after hooks by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5194](https://github.com/nodejs/undici/pull/5194) - test: resolve flaky timeout in issue-3356 by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5188](https://github.com/nodejs/undici/pull/5188) - `SnapshotAgent`: Add `normalizeBody` and `normalizeQuery` by [@&#8203;GeoffreyBooth](https://github.com/GeoffreyBooth) in [#&#8203;5121](https://github.com/nodejs/undici/pull/5121) - fix(socks5): use configured connector in Socks5ProxyAgent by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5168](https://github.com/nodejs/undici/pull/5168) - perf(http2): avoid isArray checks for common headers by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5170](https://github.com/nodejs/undici/pull/5170) - fix(test): make deduplicate body-streaming test non-flaky by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5196](https://github.com/nodejs/undici/pull/5196) - test(retry): add regression test for RetryAgent + HTTP/2 stream timeout ([#&#8203;5137](https://github.com/nodejs/undici/issues/5137)) by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5176](https://github.com/nodejs/undici/pull/5176) - fix(socks5): preserve dispatch backpressure return value by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5166](https://github.com/nodejs/undici/pull/5166) - perf(http2): end zero-length request bodies with headers by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5169](https://github.com/nodejs/undici/pull/5169) - fix(test): make issue-2898-comment.js assertion robust against flakiness by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5208](https://github.com/nodejs/undici/pull/5208) - test: disable timeouts in h2 high concurrency regression by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5205](https://github.com/nodejs/undici/pull/5205) - test: deflake stream compat coverage by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5209](https://github.com/nodejs/undici/pull/5209) - fix(dispatcher): remove unreachable assert in writeBlob by [@&#8203;SAY-5](https://github.com/SAY-5) in [#&#8203;5231](https://github.com/nodejs/undici/pull/5231) - fix: clean up benchmark resources before worker exit by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5225](https://github.com/nodejs/undici/pull/5225) - test: avoid per-chunk assertions in diagnostics get by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5224](https://github.com/nodejs/undici/pull/5224) - test: capture cache test worker stderr and preserve failures by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5206](https://github.com/nodejs/undici/pull/5206) - chore: gitignore benchmarks/package-lock.json by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5228](https://github.com/nodejs/undici/pull/5228) - perf(proxy-agent): avoid extra header allocations in auth guard by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5164](https://github.com/nodejs/undici/pull/5164) - test(wpt): retry WPT server startup on port conflicts or timeout by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5215](https://github.com/nodejs/undici/pull/5215) - test: make websocket diagnostics ping-pong ordering deterministic by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5222](https://github.com/nodejs/undici/pull/5222) - test(websocket): fix flaky send test by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5232](https://github.com/nodejs/undici/pull/5232) - fix: prevent node-fetch test server close from hanging on Windows by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5246](https://github.com/nodejs/undici/pull/5246) - test: wait for cache test server to listen by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5242](https://github.com/nodejs/undici/pull/5242) - fix: accept unknown-size Content-Range values by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5120](https://github.com/nodejs/undici/pull/5120) - test: avoid global dispatcher state in mock client tests by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5258](https://github.com/nodejs/undici/pull/5258) - test: fix flaky permessage-deflate limit timeout by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5229](https://github.com/nodejs/undici/pull/5229) - test: drain request bodies in request tests by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5247](https://github.com/nodejs/undici/pull/5247) - test: reduce retry-after invalid date timing flake by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5250](https://github.com/nodejs/undici/pull/5250) - test: drive request timeout ticks after connect by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5251](https://github.com/nodejs/undici/pull/5251) - test: only fail max-listener checks on max-listener warnings by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5253](https://github.com/nodejs/undici/pull/5253) - test: avoid double-closing server in client-request test by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5255](https://github.com/nodejs/undici/pull/5255) - fix(retry-handler): validate response body length against Content-Range by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4975](https://github.com/nodejs/undici/pull/4975) - test: wait for inflight-and-close body cleanup by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5261](https://github.com/nodejs/undici/pull/5261) - fix(test): make http2-pseudo-headers test order-independent by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5234](https://github.com/nodejs/undici/pull/5234) - fix: preserve fetch multipart body on MockAgent fallback by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5269](https://github.com/nodejs/undici/pull/5269) - ci: build Node FFI fixtures for shared-builtin tests by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5275](https://github.com/nodejs/undici/pull/5275) - test: deflake issue-5137 stream count assertion by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5243](https://github.com/nodejs/undici/pull/5243) - fix: replace finished() with writable lifecycle tracking by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5001](https://github.com/nodejs/undici/pull/5001) - perf(client-h2): reuse request stream handlers by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5280](https://github.com/nodejs/undici/pull/5280) - fix: prevent pipeline body replay on redirect by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5274](https://github.com/nodejs/undici/pull/5274) - fix(types): remove throwOnError from Dispatcher.RequestOptions by [@&#8203;Zelys-DFKH](https://github.com/Zelys-DFKH) in [#&#8203;5279](https://github.com/nodejs/undici/pull/5279) - fix: validate EOF for chunked h1 responses by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5273](https://github.com/nodejs/undici/pull/5273) - test: deflake parser-issues teardown by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5278](https://github.com/nodejs/undici/pull/5278) - test: make http2-alpn control requests explicit by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5252](https://github.com/nodejs/undici/pull/5252) - test: include cache-test worker metadata on failure by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5276](https://github.com/nodejs/undici/pull/5276) - test: include after in parser-issues by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5284](https://github.com/nodejs/undici/pull/5284) - cache formdata boundary by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;5292](https://github.com/nodejs/undici/pull/5292) - build(deps-dev): bump fast-check from 4.7.0 to 4.8.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5298](https://github.com/nodejs/undici/pull/5298) - test: retry crashed cache-test workers once by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5294](https://github.com/nodejs/undici/pull/5294) - Add Node 26 to the matrix by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5271](https://github.com/nodejs/undici/pull/5271) - perf(client-h2): reuse request upgrade stream handlers by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5293](https://github.com/nodejs/undici/pull/5293) - build(deps-dev): bump jest from 30.3.0 to 30.4.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5297](https://github.com/nodejs/undici/pull/5297) - build(deps): bump uWebSockets.js from v20.66.0 to v20.67.0 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5299](https://github.com/nodejs/undici/pull/5299) - test: fix flaky http2-dispatcher WebSocket upgrade tests by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5304](https://github.com/nodejs/undici/pull/5304) #### New Contributors - [@&#8203;Zelys-DFKH](https://github.com/Zelys-DFKH) made their first contribution in [#&#8203;5279](https://github.com/nodejs/undici/pull/5279) **Full Changelog**: <https://github.com/nodejs/undici/compare/v8.2.0...v8.3.0> ### [`v8.2.0`](https://github.com/nodejs/undici/releases/tag/v8.2.0) [Compare Source](https://github.com/nodejs/undici/compare/v8.1.0...v8.2.0) #### What's Changed - chore: use native addAbortListener by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5021](https://github.com/nodejs/undici/pull/5021) - fix: fix the logic for the UNDICI\_NO\_WASM\_SIMD environment variable by [@&#8203;ShenHongFei](https://github.com/ShenHongFei) in [#&#8203;5026](https://github.com/nodejs/undici/pull/5026) - fix(http2): send body for non-expectsPayload methods with content by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5030](https://github.com/nodejs/undici/pull/5030) - fix(fetch): correct 'navigator' typo to 'navigate' in fetchFinale by [@&#8203;deepview-autofix](https://github.com/deepview-autofix) in [#&#8203;5044](https://github.com/nodejs/undici/pull/5044) - fix(webidl): correct signed integer bounds in ConvertToInt by [@&#8203;deepview-autofix](https://github.com/deepview-autofix) in [#&#8203;5038](https://github.com/nodejs/undici/pull/5038) - fix(fetch): use || for CRLF check in multipart formdata-parser by [@&#8203;deepview-autofix](https://github.com/deepview-autofix) in [#&#8203;5049](https://github.com/nodejs/undici/pull/5049) - fix(websocket): correct argument order in WebSocketStream UTF-8 failure by [@&#8203;deepview-autofix](https://github.com/deepview-autofix) in [#&#8203;5050](https://github.com/nodejs/undici/pull/5050) - fix(pool): propagate useH2c to connector when connections > 1 by [@&#8203;SAY-5](https://github.com/SAY-5) in [#&#8203;5031](https://github.com/nodejs/undici/pull/5031) - fix(cache): return immutable staleAt in milliseconds by [@&#8203;deepview-autofix](https://github.com/deepview-autofix) in [#&#8203;5048](https://github.com/nodejs/undici/pull/5048) - fix(socks5-proxy-agent): use per-origin pools to prevent cross-origin routing by [@&#8203;deepview-autofix](https://github.com/deepview-autofix) in [#&#8203;5041](https://github.com/nodejs/undici/pull/5041) - fix(cache): evict oldest entries first in SqliteCacheStore prune by [@&#8203;deepview-autofix](https://github.com/deepview-autofix) in [#&#8203;5039](https://github.com/nodejs/undici/pull/5039) - fix(socks5): correctly expand IPv6 '::' compressed notation by [@&#8203;deepview-autofix](https://github.com/deepview-autofix) in [#&#8203;5046](https://github.com/nodejs/undici/pull/5046) - Remove unused func and unnecessary shim by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;5053](https://github.com/nodejs/undici/pull/5053) - fix: reject malformed content-length request headers by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5060](https://github.com/nodejs/undici/pull/5060) - fix(request): reject NaN highWaterMark during option validation by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5062](https://github.com/nodejs/undici/pull/5062) - docs: fix broken links in docsify sidebar by [@&#8203;maruthang](https://github.com/maruthang) in [#&#8203;5065](https://github.com/nodejs/undici/pull/5065) - fix(fetch): prefer filename\* over filename in multipart form-data by [@&#8203;maruthang](https://github.com/maruthang) in [#&#8203;5068](https://github.com/nodejs/undici/pull/5068) - fix(http2): reject websocket upgrades on non-200 responses by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5072](https://github.com/nodejs/undici/pull/5072) - feat: support username-only proxy authentication in ProxyAgent by [@&#8203;rossilor95](https://github.com/rossilor95) in [#&#8203;4935](https://github.com/nodejs/undici/pull/4935) - build(deps): bump uWebSockets.js from v20.58.0 to v20.64.0 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5083](https://github.com/nodejs/undici/pull/5083) - fix(client-h2): stop double-decrementing kOpenStreams on stream timeout by [@&#8203;SAY-5](https://github.com/SAY-5) in [#&#8203;5076](https://github.com/nodejs/undici/pull/5076) - fix(http2): reject upgrade streams closed before response headers by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5069](https://github.com/nodejs/undici/pull/5069) - fix(http2): allow GET and HEAD request bodies over h2 by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5058](https://github.com/nodejs/undici/pull/5058) - fix(cache): include query in cache key when opts.path is undefined by [@&#8203;maruthang](https://github.com/maruthang) in [#&#8203;5081](https://github.com/nodejs/undici/pull/5081) - fix: avoid premature cleanup of dispatcher in Agent by [@&#8203;bienzaaron](https://github.com/bienzaaron) in [#&#8203;5034](https://github.com/nodejs/undici/pull/5034) - fix(http2): record ping failures on the socket by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5075](https://github.com/nodejs/undici/pull/5075) - add undici security policy by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5056](https://github.com/nodejs/undici/pull/5056) - fix(mock): make filterCalls AND operator actually intersect results by [@&#8203;deepview-autofix](https://github.com/deepview-autofix) in [#&#8203;5045](https://github.com/nodejs/undici/pull/5045) - fix(socks5): enforce authenticated state before CONNECT by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5097](https://github.com/nodejs/undici/pull/5097) - fix(cache): skip expired sqlite vary entries during lookup by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5095](https://github.com/nodejs/undici/pull/5095) - fix: enforce maxCachedSessions in TLS session cache by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5102](https://github.com/nodejs/undici/pull/5102) - fix(socks5): encode embedded IPv4 tails in IPv6 literals correctly by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5099](https://github.com/nodejs/undici/pull/5099) - fix: handle invalid HTTP/2 connection headers ([#&#8203;4356](https://github.com/nodejs/undici/issues/4356)) by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5101](https://github.com/nodejs/undici/pull/5101) - fix(interceptor): add throwOnMaxRedirect to types and interceptor opts by [@&#8203;maruthang](https://github.com/maruthang) in [#&#8203;5066](https://github.com/nodejs/undici/pull/5066) - fix(websocket): avoid double-closing canceled stream readers by [@&#8203;colinaaa](https://github.com/colinaaa) in [#&#8203;5105](https://github.com/nodejs/undici/pull/5105) - fix(cache): persist vary when updating sqlite cache entries by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5109](https://github.com/nodejs/undici/pull/5109) - refactor(h1): track HEAD keep-alive override as boolean by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5110](https://github.com/nodejs/undici/pull/5110) - client: cache llhttp wasm buffer view by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5115](https://github.com/nodejs/undici/pull/5115) - deps: update llhttp to 9.3.1 by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5113](https://github.com/nodejs/undici/pull/5113) - fix(http2): preserve accepted streams after GOAWAY by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5090](https://github.com/nodejs/undici/pull/5090) - fix: reuse parser WeakRef for timeout callbacks by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5125](https://github.com/nodejs/undici/pull/5125) - fix: stop buffering data after SOCKS5 connect by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5118](https://github.com/nodejs/undici/pull/5118) - perf(http2): avoid response header reserialization by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5085](https://github.com/nodejs/undici/pull/5085) - fix(cache): enforce sqlite maxCount after insert by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5112](https://github.com/nodejs/undici/pull/5112) - perf: reduce EventSourceStream parser allocations by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5032](https://github.com/nodejs/undici/pull/5032) - types(dispatcher): use OutgoingHttpHeaders for request headers by [@&#8203;maruthang](https://github.com/maruthang) in [#&#8203;5067](https://github.com/nodejs/undici/pull/5067) - cleanup: delete redundant .gitkeep file by [@&#8203;shivarm](https://github.com/shivarm) in [#&#8203;5133](https://github.com/nodejs/undici/pull/5133) - fix(http2): respect peer max concurrent streams by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5135](https://github.com/nodejs/undici/pull/5135) - test(http2): ensure websocket upgrade resumes queued requests by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5132](https://github.com/nodejs/undici/pull/5132) - test(mock): cover SnapshotAgent excludeUrls playback by [@&#8203;maruthang](https://github.com/maruthang) in [#&#8203;5080](https://github.com/nodejs/undici/pull/5080) - perf(client): parse h1 content-length statelessly by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5124](https://github.com/nodejs/undici/pull/5124) - perf(http2): reduce writeH2 per-request callback allocations by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5138](https://github.com/nodejs/undici/pull/5138) - chore(deps): add lockfile by [@&#8203;aduh95](https://github.com/aduh95) in [#&#8203;5139](https://github.com/nodejs/undici/pull/5139) - perf: use byteLength property for binary body chunks by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5126](https://github.com/nodejs/undici/pull/5126) - fix(cache): allow streamed entries at maxEntrySize limit by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5129](https://github.com/nodejs/undici/pull/5129) - perf(http2): avoid cloning headers when removing status by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5127](https://github.com/nodejs/undici/pull/5127) - fix: validate H2CClient maxConcurrentStreams option by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5143](https://github.com/nodejs/undici/pull/5143) - perf: avoid redundant scans in BalancedPool dispatcher selection by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5146](https://github.com/nodejs/undici/pull/5146) - fix: replace stale pool clients under connection limit by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5145](https://github.com/nodejs/undici/pull/5145) #### New Contributors - [@&#8203;deepview-autofix](https://github.com/deepview-autofix) made their first contribution in [#&#8203;5044](https://github.com/nodejs/undici/pull/5044) - [@&#8203;SAY-5](https://github.com/SAY-5) made their first contribution in [#&#8203;5031](https://github.com/nodejs/undici/pull/5031) - [@&#8203;maruthang](https://github.com/maruthang) made their first contribution in [#&#8203;5065](https://github.com/nodejs/undici/pull/5065) - [@&#8203;bienzaaron](https://github.com/bienzaaron) made their first contribution in [#&#8203;5034](https://github.com/nodejs/undici/pull/5034) **Full Changelog**: <https://github.com/nodejs/undici/compare/v8.1.0...v8.2.0> ### [`v8.1.0`](https://github.com/nodejs/undici/releases/tag/v8.1.0) [Compare Source](https://github.com/nodejs/undici/compare/v8.0.3...v8.1.0) #### What's Changed - feat: add configurable maxPayloadSize for WebSocket by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4955](https://github.com/nodejs/undici/pull/4955) **Full Changelog**: <https://github.com/nodejs/undici/compare/v8.0.3...v8.1.0> ### [`v8.0.3`](https://github.com/nodejs/undici/releases/tag/v8.0.3) [Compare Source](https://github.com/nodejs/undici/compare/v8.0.2...v8.0.3) #### What's Changed - docs: add an Undici 7 to 8 migration guide by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4963](https://github.com/nodejs/undici/pull/4963) - chore: switch deferred promise with Promise.withResolvers() by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;4972](https://github.com/nodejs/undici/pull/4972) - chore: remove zstd and markAsUncloneable feature probes by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;4968](https://github.com/nodejs/undici/pull/4968) - test: remove obsolete nodeMajor/nodeMinor util exports by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;4976](https://github.com/nodejs/undici/pull/4976) - chore: use Promise.withResolvers in SOCKS5 proxy agent by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;4978](https://github.com/nodejs/undici/pull/4978) - build(deps-dev): bump esbuild from 0.27.7 to 0.28.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4985](https://github.com/nodejs/undici/pull/4985) - build(deps-dev): bump proxy from 2.2.0 to 4.0.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4987](https://github.com/nodejs/undici/pull/4987) - build(deps): bump got from 14.6.6 to 15.0.0 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4988](https://github.com/nodejs/undici/pull/4988) - chore: use Object.hasOwn for iterator checks by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;4979](https://github.com/nodejs/undici/pull/4979) - doc: Update `dump({ limit: Integer })` default value by [@&#8203;samuel871211](https://github.com/samuel871211) in [#&#8203;4981](https://github.com/nodejs/undici/pull/4981) - fix: avoid 401 failures for stream-backed request bodies by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4941](https://github.com/nodejs/undici/pull/4941) - test: remove unsupported Node version checks from fetch tests by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;4977](https://github.com/nodejs/undici/pull/4977) - types: remove legacy AbortSignal alias now provided by [@&#8203;types/node](https://github.com/types/node) by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;4995](https://github.com/nodejs/undici/pull/4995) - fix: remove stale constructor interceptors from types and pool options by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;4994](https://github.com/nodejs/undici/pull/4994) - doc: update incorrect description of `dump.maxSize` by [@&#8203;samuel871211](https://github.com/samuel871211) in [#&#8203;4982](https://github.com/nodejs/undici/pull/4982) - ci: enable coverage for node.js 25 by [@&#8203;shivarm](https://github.com/shivarm) in [#&#8203;4980](https://github.com/nodejs/undici/pull/4980) - refactor: reuse wrapRequestBody in RedirectHandler by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;4992](https://github.com/nodejs/undici/pull/4992) - fix: preserve connect option in H2CClient by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;5000](https://github.com/nodejs/undici/pull/5000) - types: document Client and H2CClient option declarations by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;4998](https://github.com/nodejs/undici/pull/4998) - fix: native WebSocket over H2 server after undici import by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4990](https://github.com/nodejs/undici/pull/4990) - chore(test): issue 3969 by [@&#8203;rozzilla](https://github.com/rozzilla) in [#&#8203;5005](https://github.com/nodejs/undici/pull/5005) - fix(1270): throw descriptive error when opts.dispatcher–passed instance methods by [@&#8203;rozzilla](https://github.com/rozzilla) in [#&#8203;5007](https://github.com/nodejs/undici/pull/5007) - docs: Change the default value of allowH2 in JSDoc by [@&#8203;7hokerz](https://github.com/7hokerz) in [#&#8203;5009](https://github.com/nodejs/undici/pull/5009) - chore(test): cover issue 5014 by [@&#8203;rozzilla](https://github.com/rozzilla) in [#&#8203;5015](https://github.com/nodejs/undici/pull/5015) - fix: prevent cache dedup key collision via unescaped delimiters by [@&#8203;eddieran](https://github.com/eddieran) in [#&#8203;5013](https://github.com/nodejs/undici/pull/5013) - fix(proxy agent): respect connectTimeout by [@&#8203;rozzilla](https://github.com/rozzilla) in [#&#8203;5011](https://github.com/nodejs/undici/pull/5011) #### New Contributors - [@&#8203;7hokerz](https://github.com/7hokerz) made their first contribution in [#&#8203;5009](https://github.com/nodejs/undici/pull/5009) - [@&#8203;eddieran](https://github.com/eddieran) made their first contribution in [#&#8203;5013](https://github.com/nodejs/undici/pull/5013) **Full Changelog**: <https://github.com/nodejs/undici/compare/v8.0.2...v8.0.3> ### [`v8.0.2`](https://github.com/nodejs/undici/releases/tag/v8.0.2) [Compare Source](https://github.com/nodejs/undici/compare/v8.0.1...v8.0.2) #### What's Changed - fix(websocket): fallback to HTTP/1.1 when H2 CONNECT is unavailable by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4966](https://github.com/nodejs/undici/pull/4966) - fix: release ref by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4965](https://github.com/nodejs/undici/pull/4965) - ci: reenable shared builtin CI tests by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4967](https://github.com/nodejs/undici/pull/4967) **Full Changelog**: <https://github.com/nodejs/undici/compare/v8.0.1...v8.0.2> ### [`v8.0.1`](https://github.com/nodejs/undici/releases/tag/v8.0.1) [Compare Source](https://github.com/nodejs/undici/compare/v8.0.0...v8.0.1) #### What's Changed - Remove legacy handler wrappers by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4786](https://github.com/nodejs/undici/pull/4786) - fix: isolate global dispatcher v2 and add Dispatcher1Wrapper bridge by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4827](https://github.com/nodejs/undici/pull/4827) - fix: preserve request statusText and update h2 dispatch tests by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4830](https://github.com/nodejs/undici/pull/4830) - feat!: enable h2 by default by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;4828](https://github.com/nodejs/undici/pull/4828) - fix(cache): preserve short-lived entries for revalidation by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4934](https://github.com/nodejs/undici/pull/4934) - fix: remove support for non-real Blob objects by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4937](https://github.com/nodejs/undici/pull/4937) - build(deps): bump github/codeql-action from 4.32.3 to 4.35.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4953](https://github.com/nodejs/undici/pull/4953) - Undici 8 by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4916](https://github.com/nodejs/undici/pull/4916) - build(deps): bump hendrikmuhs/ccache-action from 1.2.19 to 1.2.22 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4954](https://github.com/nodejs/undici/pull/4954) - doc: remove duplicate listItem of RetryHandler.md & RetryHandler.md by [@&#8203;samuel871211](https://github.com/samuel871211) in [#&#8203;4948](https://github.com/nodejs/undici/pull/4948) - fix: mirror the legacy global dispatcher for built-in fetch by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4962](https://github.com/nodejs/undici/pull/4962) - fix(websocket/stream): only enqueue parsed messages in WebSocketStream by [@&#8203;colinaaa](https://github.com/colinaaa) in [#&#8203;4959](https://github.com/nodejs/undici/pull/4959) #### New Contributors - [@&#8203;colinaaa](https://github.com/colinaaa) made their first contribution in [#&#8203;4959](https://github.com/nodejs/undici/pull/4959) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.24.7...v8.0.1> ### [`v8.0.0`](https://github.com/nodejs/undici/releases/tag/v8.0.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.30.0...v8.0.0) #### What's Changed - Remove legacy handler wrappers by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4786](https://github.com/nodejs/undici/pull/4786) - fix: isolate global dispatcher v2 and add Dispatcher1Wrapper bridge by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4827](https://github.com/nodejs/undici/pull/4827) - fix: preserve request statusText and update h2 dispatch tests by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4830](https://github.com/nodejs/undici/pull/4830) - feat!: enable h2 by default by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;4828](https://github.com/nodejs/undici/pull/4828) - fix(cache): preserve short-lived entries for revalidation by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4934](https://github.com/nodejs/undici/pull/4934) - fix: remove support for non-real Blob objects by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4937](https://github.com/nodejs/undici/pull/4937) - build(deps): bump github/codeql-action from 4.32.3 to 4.35.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4953](https://github.com/nodejs/undici/pull/4953) - Undici 8 by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4916](https://github.com/nodejs/undici/pull/4916) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.24.7...v8.0.0> ### [`v7.30.0`](https://github.com/nodejs/undici/releases/tag/v7.30.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.29.1...v7.30.0) #### What's Changed - \[Backport v7.x] fix: selectively re-enable SIMD for ppc64 by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;5794](https://github.com/nodejs/undici/pull/5794) - Backport upgrade diagnostics lifecycle fixes to v7.x by [@&#8203;BridgeAR](https://github.com/BridgeAR) in [#&#8203;5783](https://github.com/nodejs/undici/pull/5783) - \[Backport v7.x] fix: honor backpressure in decompression interceptor by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5837](https://github.com/nodejs/undici/pull/5837) - fix: close rejected HTTP/2 WebSocket streams on v7.x by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5876](https://github.com/nodejs/undici/pull/5876) - test(fetch): make pull-dont-push exceed any socket buffer by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5889](https://github.com/nodejs/undici/pull/5889) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.29.1...v7.30.0> ### [`v7.29.1`](https://github.com/nodejs/undici/releases/tag/v7.29.1) [Compare Source](https://github.com/nodejs/undici/compare/v7.29.0...v7.29.1) #### ⚠️ Security fixes ##### High severity - [GHSA-w293-vg96-wgc3](https://github.com/nodejs/undici/security/advisories/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 [f690157d](https://github.com/nodejs/undici/commit/f690157d728508652fef14673630c71515123e96). - [GHSA-rfgv-xxqx-mfg5](https://github.com/nodejs/undici/security/advisories/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 [6615e017](https://github.com/nodejs/undici/commit/6615e0175e9b635bcd2e3e87a47daa82f6f5b728). ##### Medium severity - [GHSA-3wwx-pv8p-q78v](https://github.com/nodejs/undici/security/advisories/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 [63cf698b](https://github.com/nodejs/undici/commit/63cf698b611fecc6ee0a17b185b930051e4b982f). - [GHSA-rx4f-c7p8-82vq](https://github.com/nodejs/undici/security/advisories/GHSA-rx4f-c7p8-82vq): an unclean `WebSocketStream` close could create an unobserved rejected promise when its writable stream was locked, potentially terminating the process. Undici now propagates the failure through the retained writable stream controller. Fixed by [1858656e](https://github.com/nodejs/undici/commit/1858656ebb1e919311c1f31613dfd581b7214349). - [GHSA-2jfj-6hjv-fm6j](https://github.com/nodejs/undici/security/advisories/GHSA-2jfj-6hjv-fm6j): shared caches could store and replay responses containing `Set-Cookie`, disclosing one user's cookies to another caller. Undici now excludes these responses from shared caches, including existing entries and revalidation paths. Fixed by [b6c5a002](https://github.com/nodejs/undici/commit/b6c5a00252c37da9dd2db9bead053bb843e1f988). - [GHSA-3xpg-4rpp-hhhm](https://github.com/nodejs/undici/security/advisories/GHSA-3xpg-4rpp-hhhm): the decompression interceptor did not bound decoded output, allowing compressed responses to consume excessive memory. Undici now limits every decompression stage to 64 MiB by default and supports a configurable `maxSize`. Fixed by [2c7d7e12](https://github.com/nodejs/undici/commit/2c7d7e1227043c644c4c32cfd1e276f4fd4fcb11). - [GHSA-pmjh-fq2x-6v4x](https://github.com/nodejs/undici/security/advisories/GHSA-pmjh-fq2x-6v4x): a terminal retry failure after response headers were exposed could orphan the original response body, causing consumers to hang indefinitely. Undici now propagates the terminal error to the exposed body. Fixed by [3c672659](https://github.com/nodejs/undici/commit/3c6726599cea8646384dde846c97d630da472a74). ##### Low severity - [GHSA-8436-99hf-9mmv](https://github.com/nodejs/undici/security/advisories/GHSA-8436-99hf-9mmv): cache interceptors could store and replay responses to unsafe HTTP methods such as `POST` or `DELETE`. Undici now restricts cache reads and writes to safe methods while preserving invalidation by successful unsafe requests. Fixed by [b61d9432](https://github.com/nodejs/undici/commit/b61d9432bac7caac51273ad209862e4c0bf935ae). - [GHSA-2gqq-gqf2-x968](https://github.com/nodejs/undici/security/advisories/GHSA-2gqq-gqf2-x968): the dump interceptor could treat an oversized chunked response as successfully truncated when no `Content-Length` was present. Undici now enforces `maxSize` against received bytes and aborts oversized responses. Fixed by [21693f40](https://github.com/nodejs/undici/commit/21693f406f0142f3504192e9f9b022dcf84782ae). - [GHSA-r53p-7pc4-xj5r](https://github.com/nodejs/undici/security/advisories/GHSA-r53p-7pc4-xj5r): the retry interceptor could concatenate a resumed response with inconsistent framing into downstream output, enabling response splitting or corruption. Undici now validates `Content-Range` against the original response framing before resuming. Fixed by [cd8af90b](https://github.com/nodejs/undici/commit/cd8af90b38ae33c2838d54a2d629774122effe95). #### What's Changed - \[v7.x] drop: remove Node.js 26 from shared-builtin CI build by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5592](https://github.com/nodejs/undici/pull/5592) - fix(h2): honour headersTimeout by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5604](https://github.com/nodejs/undici/pull/5604) - fix(h2): keep the connection ref'd while requests are outstanding by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5605](https://github.com/nodejs/undici/pull/5605) - ci: increase Windows workflow timeout on v7.x by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5621](https://github.com/nodejs/undici/pull/5621) - fix(h2): retire the request that completed, not the head of the queue by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5618](https://github.com/nodejs/undici/pull/5618) - fix(h2): settle a request whose stream is cancelled by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5607](https://github.com/nodejs/undici/pull/5607) - perf: reduce EventSourceStream parser allocations ([#&#8203;5032](https://github.com/nodejs/undici/issues/5032)) by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5646](https://github.com/nodejs/undici/pull/5646) - fix(h2): handle GOAWAY for CONNECT streams by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5640](https://github.com/nodejs/undici/pull/5640) - \[v7.x] perf(h1): drop idle-socket timer floor with a ref'd setImmediate ([#&#8203;5707](https://github.com/nodejs/undici/issues/5707)) by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5769](https://github.com/nodejs/undici/pull/5769) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.29.0...v7.29.1> ### [`v7.29.0`](https://github.com/nodejs/undici/releases/tag/v7.29.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.28.0...v7.29.0) #### ⚠️ Security fixes ##### High severity - [GHSA-4cwx-7wf7-3272](https://github.com/nodejs/undici/security/advisories/GHSA-4cwx-7wf7-3272): malformed qualified `private` Cache-Control directives could cause cross-user information disclosure in shared caches or a parse-time crash. The cache parser now treats empty qualified directives conservatively and safely handles mixed qualified and unqualified directives. Fixed by [9f10f1e9](https://github.com/nodejs/undici/commit/9f10f1e9bfcc68b5c8b53d0459cb6d9562008fcd), with regression coverage in [466e99d1](https://github.com/nodejs/undici/commit/466e99d123b452c9ac56dea8b03ec4dcd0d98ad5). ##### Medium severity - [GHSA-m8rv-5g2x-5cg5](https://github.com/nodejs/undici/security/advisories/GHSA-m8rv-5g2x-5cg5): a malicious `type` property on a duck-typed blob-like HTTP/1.1 request body could inject CRLF sequences into the generated `content-type` header. Undici now coerces and validates the value before adding it to the request. Fixed by [33928bc2](https://github.com/nodejs/undici/commit/33928bc24f742ea8422ed90d17f2e0cc83e4d09d). - [GHSA-jr45-8vmc-qm54](https://github.com/nodejs/undici/security/advisories/GHSA-jr45-8vmc-qm54): optional whitespace around `=` in qualified `no-cache` and `private` directives could bypass shared-cache restrictions and disclose authenticated data across users. Cache-Control parsing now normalizes these forms and applies conservative cache decisions. Fixed by [98011a86](https://github.com/nodejs/undici/commit/98011a862a248bb43c1bc5a2edcf4ee787948e95). - [GHSA-8xcm-r25x-g524](https://github.com/nodejs/undici/security/advisories/GHSA-8xcm-r25x-g524): the retry interceptor could expose a stale `Content-Length` after resuming a partial response, potentially causing downstream response desynchronization, hangs, or corruption. Undici now rejects partial responses whose `Content-Length` is inconsistent with `Content-Range`. Fixed by [1b5a5312](https://github.com/nodejs/undici/commit/1b5a5312c3a7d7a30c31bf0d000b39a8a2531e1c), with corrected fixtures in [4a9dafb1](https://github.com/nodejs/undici/commit/4a9dafb16ff43880cf590e6d9c2aeee25fbff6d7). - [GHSA-v3r7-h72x-cjcm](https://github.com/nodejs/undici/security/advisories/GHSA-v3r7-h72x-cjcm): unsanitized `domain` and `unparsed` values passed to `setCookie()` could inject cookie attributes. Undici now validates cookie domains, paths, and unparsed attributes more strictly. Fixed by [3bf91ddb](https://github.com/nodejs/undici/commit/3bf91ddb493e853957f3a58e155326a668ab8aef). **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.28.0...v7.29.0> ### [`v7.28.0`](https://github.com/nodejs/undici/releases/tag/v7.28.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.27.2...v7.28.0) ### ⚠️ Security Release This release line addresses **7 security advisories**, all shipped in **v7.28.0**. > **Action required:** Upgrade to **undici 7.28.0** or later. > > ```sh > npm install undici@^7.28.0 > ``` The v7 line is **not** affected by GHSA-38rv-x7px-6hhq (CVE-2026-9675), which is an 8.x-only regression. > **Note on GHSA-hm92-r4w5-c3mj:** this fix shipped in **v7.28.0**, not the > earlier 7.2x line — the vulnerable single-pool code was still present through > `v7.27.2`. The per-origin pool fix is > [`3805b8f8`](https://github.com/nodejs/undici/commit/3805b8f8) ([#&#8203;5041](https://github.com/nodejs/undici/pull/5041)). #### Summary | Advisory | CVE | Severity (CVSS) | Fixed in | Fix commit | | ----------------------------------------------------------------------------------------------- | -------------- | --------------- | -------- | -------------------------------------------------------------- | | [GHSA-vxpw-j846-p89q](https://github.com/nodejs/undici/security/advisories/GHSA-vxpw-j846-p89q) | CVE-2026-12151 | High (7.5) | 7.28.0 | [`8cb10f98`](https://github.com/nodejs/undici/commit/8cb10f98) | | [GHSA-vmh5-mc38-953g](https://github.com/nodejs/undici/security/advisories/GHSA-vmh5-mc38-953g) | CVE-2026-9697 | High (7.4) | 7.28.0 | [`04201f89`](https://github.com/nodejs/undici/commit/04201f89) | | [GHSA-hm92-r4w5-c3mj](https://github.com/nodejs/undici/security/advisories/GHSA-hm92-r4w5-c3mj) | CVE-2026-6734 | High (7.5) | 7.28.0 | [`3805b8f8`](https://github.com/nodejs/undici/commit/3805b8f8) | | [GHSA-pr7r-676h-xcf6](https://github.com/nodejs/undici/security/advisories/GHSA-pr7r-676h-xcf6) | CVE-2026-9678 | Moderate (5.9) | 7.28.0 | [`85a24055`](https://github.com/nodejs/undici/commit/85a24055) | | [GHSA-p88m-4jfj-68fv](https://github.com/nodejs/undici/security/advisories/GHSA-p88m-4jfj-68fv) | CVE-2026-9679 | Moderate (5.9) | 7.28.0 | [`d0574cc4`](https://github.com/nodejs/undici/commit/d0574cc4) | | [GHSA-g8m3-5g58-fq7m](https://github.com/nodejs/undici/security/advisories/GHSA-g8m3-5g58-fq7m) | CVE-2026-11525 | Low (3.7) | 7.28.0 | [`d0574cc4`](https://github.com/nodejs/undici/commit/d0574cc4) | | [GHSA-35p6-xmwp-9g52](https://github.com/nodejs/undici/security/advisories/GHSA-35p6-xmwp-9g52) | CVE-2026-6733 | Low (3.7) | 7.28.0 | [`ea8930cf`](https://github.com/nodejs/undici/commit/ea8930cf) | *** #### High severity ##### WebSocket DoS via fragment count bypass — CVE-2026-12151 **[GHSA-vxpw-j846-p89q](https://github.com/nodejs/undici/security/advisories/GHSA-vxpw-j846-p89q)** · CWE-400, CWE-770 **Fix:** [`8cb10f98`](https://github.com/nodejs/undici/commit/8cb10f98) *websocket: limit the number of fragments in a message* (part of backport [`a027a4a0`](https://github.com/nodejs/undici/commit/a027a4a0) *Backport WebSocket maxPayloadSize fixes to v7.x*, [#&#8203;5423](https://github.com/nodejs/undici/pull/5423)) A malicious WebSocket server can stream a large number of small or empty continuation frames. Undici enforced a limit on cumulative payload size but did not limit the *number* of fragments per message, leading to unbounded memory growth and denial of service. - **Affected:** applications using `new WebSocket(...)` or `WebSocketStream` against untrusted endpoints. - **Workaround:** none — upgrade is required. ##### TLS certificate validation bypass in SOCKS5 ProxyAgent — CVE-2026-9697 **[GHSA-vmh5-mc38-953g](https://github.com/nodejs/undici/security/advisories/GHSA-vmh5-mc38-953g)** · CWE-295 **Fix:** [`04201f89`](https://github.com/nodejs/undici/commit/04201f89) *fix: honor requestTls when proxy is SOCKS5* ([#&#8203;5417](https://github.com/nodejs/undici/pull/5417)) The `ProxyAgent` silently discarded the `requestTls` option when configured with a SOCKS5 proxy. TLS connections through the SOCKS5 tunnel ignored user-configured parameters such as `ca`, `cert`, `key`, `rejectUnauthorized`, and `servername`, falling back to the default Mozilla CA bundle. Applications relying on certificate pinning to an internal CA were exposed to man-in-the-middle attacks. - **Affected:** `ProxyAgent` / `Socks5ProxyAgent` over SOCKS5 that rely on `requestTls`. - **Workaround:** route traffic through an HTTP-proxy `ProxyAgent`, where `requestTls` functions correctly. ##### Cross-origin request routing via SOCKS5 proxy pool reuse — CVE-2026-6734 **[GHSA-hm92-r4w5-c3mj](https://github.com/nodejs/undici/security/advisories/GHSA-hm92-r4w5-c3mj)** · CWE-346 **Fix:** [`3805b8f8`](https://github.com/nodejs/undici/commit/3805b8f8) *fix(socks5-proxy-agent): use per-origin pools to prevent cross-origin routing* ([#&#8203;5041](https://github.com/nodejs/undici/pull/5041)) `Socks5ProxyAgent` reused a single connection pool across different origins without verifying the pool's origin matched the requested origin. This could route credentials and request data to unintended destinations, cause responses from the wrong origin to be trusted, and enable HTTPS→HTTP downgrade. - **Affected:** applications using `Socks5ProxyAgent` across multiple origins (introduced in 7.23.0 via [#&#8203;4385](https://github.com/nodejs/undici/pull/4385)). - **Workaround:** use a separate agent instance per origin. *** #### Moderate severity ##### Cross-user information disclosure via shared cache whitespace bypass — CVE-2026-9678 **[GHSA-pr7r-676h-xcf6](https://github.com/nodejs/undici/security/advisories/GHSA-pr7r-676h-xcf6)** · CWE-524 **Fix:** [`85a24055`](https://github.com/nodejs/undici/commit/85a24055) *fix(cache): trim qualified field names* The cache interceptor mishandled responses with whitespace-padded `Cache-Control` directives such as `private=" authorization"`. In shared-cache mode this could cause authenticated data to be cached and served to other users. - **Affected:** apps using the cache interceptor in shared mode that forward `Authorization` upstream and receive non-canonical qualified directives. - **Workaround:** disable shared-cache mode for authenticated traffic, avoid caching authenticated responses, or add `Vary: Authorization` upstream. ##### HTTP header injection via Set-Cookie percent-decoding — CVE-2026-9679 **[GHSA-p88m-4jfj-68fv](https://github.com/nodejs/undici/security/advisories/GHSA-p88m-4jfj-68fv)** · CWE-93 **Fix:** [`d0574cc4`](https://github.com/nodejs/undici/commit/d0574cc4) *fix(cookies): preserve values and parse SameSite strictly* `parseSetCookie` applied percent-decoding to cookie values, turning encoded sequences like `%0D%0A` and `%00` into literal bytes, contrary to RFC 6265 §5.4 and browser behavior. Applications forwarding parsed Set-Cookie values into response headers were exposed to header injection, enabling session fixation, open redirects, and cache poisoning. Introduced in 7.0.0 via [#&#8203;3789](https://github.com/nodejs/undici/pull/3789). - **Workaround:** sanitize values before forwarding — strip or reject CR, LF, NUL, `;`, and `=`. *** #### Low severity ##### Set-Cookie SameSite attribute downgrade — CVE-2026-11525 **[GHSA-g8m3-5g58-fq7m](https://github.com/nodejs/undici/security/advisories/GHSA-g8m3-5g58-fq7m)** · CWE-183 **Fix:** [`d0574cc4`](https://github.com/nodejs/undici/commit/d0574cc4) *fix(cookies): preserve values and parse SameSite strictly* The cookie parser accepted `SameSite` values containing `Strict`, `Lax`, or `None` as substrings rather than requiring exact matches per RFC 6265. Values like `SameSite=NoneOfYourBusiness` parsed as `None`, and `SameSite=StrictLax` parsed as `Lax`, silently weakening cookie security policies for apps that forward parsed attributes. ##### HTTP response queue poisoning via keep-alive socket reuse — CVE-2026-6733 **[GHSA-35p6-xmwp-9g52](https://github.com/nodejs/undici/security/advisories/GHSA-35p6-xmwp-9g52)** · CWE-367 (TOCTOU race condition) **Fix:** [`ea8930cf`](https://github.com/nodejs/undici/commit/ea8930cf) *fix: guard idle socket validation to skip fresh sockets*, hardened by [`8e4046e4`](https://github.com/nodejs/undici/commit/8e4046e4) *keep idle validation on native timers* ([#&#8203;5402](https://github.com/nodejs/undici/pull/5402)) and [`0fa80869`](https://github.com/nodejs/undici/commit/0fa80869) *keep idle validation on global timers* ([#&#8203;5409](https://github.com/nodejs/undici/pull/5409)) An attacker controlling an upstream HTTP/1.1 server could inject unsolicited responses onto idle keep-alive sockets. On socket reuse, the injected response was associated with a new request, delivering responses to the wrong requests. - **Requirements:** attacker-controlled/compromised upstream and active keep-alive reuse. - **Workaround:** disable keep-alive reuse with `keepAliveTimeout: 0` on the Client or Pool. *** #### Release contents & deliberate backports v7.28.0 is a security-only release — every change in it is one of the fixes above, backported to the v7.x maintenance line **on purpose** from the v8 development line: - [`#5423`](https://github.com/nodejs/undici/pull/5423) — backport of the WebSocket `maxPayloadSize` fragment-count / cumulative-size limits (CVE-2026-12151). - [`#5402`](https://github.com/nodejs/undici/pull/5402) & [`#5409`](https://github.com/nodejs/undici/pull/5409) — backport of the idle-validation hardening (native + global timers) for the queue-poisoning fix (CVE-2026-6733). - [`#5417`](https://github.com/nodejs/undici/pull/5417) — `requestTls` over SOCKS5 fix (CVE-2026-9697). The cookie ([`d0574cc4`](https://github.com/nodejs/undici/commit/d0574cc4)), cache ([`85a24055`](https://github.com/nodejs/undici/commit/85a24055)) and queue-poisoning core ([`ea8930cf`](https://github.com/nodejs/undici/commit/ea8930cf)) fixes were applied directly to the v7.x branch. Full changelog: [`v7.27.2...v7.28.0`](https://github.com/nodejs/undici/compare/v7.27.2...v7.28.0). *** #### Credits Per-advisory credits (as recorded in each GHSA): - **CVE-2026-12151** — reported by [@&#8203;lpinca](https://github.com/lpinca) & [@&#8203;Nadav0077](https://github.com/Nadav0077); reviewed by [@&#8203;UlisesGascon](https://github.com/UlisesGascon). - **CVE-2026-9697** — reported by [@&#8203;tonghuaroot](https://github.com/tonghuaroot); reviewed by [@&#8203;UlisesGascon](https://github.com/UlisesGascon). - **CVE-2026-6734** — reported by [@&#8203;ChALkeR](https://github.com/ChALkeR); reviewed by [@&#8203;mcollina](https://github.com/mcollina); verified by [@&#8203;UlisesGascon](https://github.com/UlisesGascon). - **CVE-2026-9678** — fixed by [@&#8203;mcollina](https://github.com/mcollina); reviewed by [@&#8203;UlisesGascon](https://github.com/UlisesGascon). - **CVE-2026-9679** — reported by [@&#8203;tndud042713](https://github.com/tndud042713); fixed by [@&#8203;mcollina](https://github.com/mcollina); reviewed by [@&#8203;KhafraDev](https://github.com/KhafraDev) & [@&#8203;UlisesGascon](https://github.com/UlisesGascon). - **CVE-2026-11525** — fixed by [@&#8203;mcollina](https://github.com/mcollina); reviewed by [@&#8203;UlisesGascon](https://github.com/UlisesGascon). - **CVE-2026-6733** — fixed by [@&#8203;mcollina](https://github.com/mcollina); verified by [@&#8203;UlisesGascon](https://github.com/UlisesGascon). ### [`v7.27.2`](https://github.com/nodejs/undici/releases/tag/v7.27.2) [Compare Source](https://github.com/nodejs/undici/compare/v7.27.1...v7.27.2) #### What's Changed - fix: use legacy global dispatcher in v7 by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5368](https://github.com/nodejs/undici/pull/5368) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.27.1...v7.27.2> ### [`v7.27.1`](https://github.com/nodejs/undici/releases/tag/v7.27.1) [Compare Source](https://github.com/nodejs/undici/compare/v7.27.0...v7.27.1) #### What's Changed - fix: preserve raw headers in dispatch handler bridge by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5345](https://github.com/nodejs/undici/pull/5345) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.27.0...v7.27.1> ### [`v7.27.0`](https://github.com/nodejs/undici/releases/tag/v7.27.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.26.0...v7.27.0) #### What's Changed - \[7.x] fix: support Node 26 and legacy global dispatcher by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5319](https://github.com/nodejs/undici/pull/5319) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.26.0...v7.27.0> ### [`v7.26.0`](https://github.com/nodejs/undici/releases/tag/v7.26.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.25.0...v7.26.0) #### What's Changed - fix: backport safe main fixes to v7.x by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5136](https://github.com/nodejs/undici/pull/5136) - fix: validate EOF for chunked h1 responses by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5307](https://github.com/nodejs/undici/pull/5307) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.25.0...v7.26.0> ### [`v7.25.0`](https://github.com/nodejs/undici/releases/tag/v7.25.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.24.8...v7.25.0) #### What's Changed **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.24.8...v7.25.0> ### [`v7.24.8`](https://github.com/nodejs/undici/releases/tag/v7.24.8) [Compare Source](https://github.com/nodejs/undici/compare/v7.24.7...v7.24.8) #### What's Changed - fix: backport 401 stream-backed body fix to v7.x by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;5006](https://github.com/nodejs/undici/pull/5006) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.24.7...v7.24.8> ### [`v7.24.7`](https://github.com/nodejs/undici/releases/tag/v7.24.7) [Compare Source](https://github.com/nodejs/undici/compare/v7.24.6...v7.24.7) #### What's Changed - docs: update broken links in file "Dispatcher.md" by [@&#8203;samuel871211](https://github.com/samuel871211) in [#&#8203;4924](https://github.com/nodejs/undici/pull/4924) - doc: remove unused parameter `redirectionLimitReached` by [@&#8203;samuel871211](https://github.com/samuel871211) in [#&#8203;4933](https://github.com/nodejs/undici/pull/4933) - test: skip flaky macOS Node 20 cookie fetch cases by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4932](https://github.com/nodejs/undici/pull/4932) - fix(types): align Response with DOM fetch types by [@&#8203;theamodhshetty](https://github.com/theamodhshetty) in [#&#8203;4867](https://github.com/nodejs/undici/pull/4867) - fix(types): Fix clone method type declaration to be an instance method rather than instance property by [@&#8203;mistval](https://github.com/mistval) in [#&#8203;4925](https://github.com/nodejs/undici/pull/4925) - test: skip IPv6 tests when IPv6 is not available by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4939](https://github.com/nodejs/undici/pull/4939) - fix: correctly handle multi-value rawHeaders in fetch by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4938](https://github.com/nodejs/undici/pull/4938) - ignore AGENTS.md by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4942](https://github.com/nodejs/undici/pull/4942) #### New Contributors - [@&#8203;samuel871211](https://github.com/samuel871211) made their first contribution in [#&#8203;4924](https://github.com/nodejs/undici/pull/4924) - [@&#8203;mistval](https://github.com/mistval) made their first contribution in [#&#8203;4925](https://github.com/nodejs/undici/pull/4925) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.24.6...v7.24.7> ### [`v7.24.6`](https://github.com/nodejs/undici/releases/tag/v7.24.6) [Compare Source](https://github.com/nodejs/undici/compare/v7.24.5...v7.24.6) #### What's Changed - fix(test): client wasm compatible with clang 22 by [@&#8203;rozzilla](https://github.com/rozzilla) in [#&#8203;4909](https://github.com/nodejs/undici/pull/4909) - fix(mock): improve error message when intercepts are exhausted by [@&#8203;travisbreaks](https://github.com/travisbreaks) in [#&#8203;4912](https://github.com/nodejs/undici/pull/4912) - fix(websocket): support open diagnostics over h2 by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4921](https://github.com/nodejs/undici/pull/4921) - fix: assume http/https scheme for scheme-less proxy env vars by [@&#8203;travisbreaks](https://github.com/travisbreaks) in [#&#8203;4914](https://github.com/nodejs/undici/pull/4914) - fix(cache): check Authorization on request headers per RFC 9111 §3.5 by [@&#8203;metalix2](https://github.com/metalix2) in [#&#8203;4911](https://github.com/nodejs/undici/pull/4911) - fix: wrap kConnector call in try/catch to prevent client hang by [@&#8203;veeceey](https://github.com/veeceey) in [#&#8203;4834](https://github.com/nodejs/undici/pull/4834) - docs: clarify fetch and FormData pairing by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4922](https://github.com/nodejs/undici/pull/4922) - fix: support Connection header with connection-specific header names per RFC 7230 by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4775](https://github.com/nodejs/undici/pull/4775) - fix: avoid prototype collisions in parseHeaders by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4923](https://github.com/nodejs/undici/pull/4923) - build(deps-dev): bump typescript from 5.9.3 to 6.0.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4926](https://github.com/nodejs/undici/pull/4926) - test: auto-init WPT submodule by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4930](https://github.com/nodejs/undici/pull/4930) #### New Contributors - [@&#8203;rozzilla](https://github.com/rozzilla) made their first contribution in [#&#8203;4909](https://github.com/nodejs/undici/pull/4909) - [@&#8203;veeceey](https://github.com/veeceey) made their first contribution in [#&#8203;4834](https://github.com/nodejs/undici/pull/4834) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.24.5...v7.24.6> ### [`v7.24.5`](https://github.com/nodejs/undici/releases/tag/v7.24.5) [Compare Source](https://github.com/nodejs/undici/compare/v7.24.4...v7.24.5) #### What's Changed - Formdata tests by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4902](https://github.com/nodejs/undici/pull/4902) - test: add unexpected disconnect guards to more client test files by [@&#8203;samayer12](https://github.com/samayer12) in [#&#8203;4844](https://github.com/nodejs/undici/pull/4844) - fix(cache): only apply 1-year deleteAt for immutable responses by [@&#8203;metalix2](https://github.com/metalix2) in [#&#8203;4913](https://github.com/nodejs/undici/pull/4913) #### New Contributors - [@&#8203;metalix2](https://github.com/metalix2) made their first contribution in [#&#8203;4913](https://github.com/nodejs/undici/pull/4913) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.24.4...v7.24.5> ### [`v7.24.4`](https://github.com/nodejs/undici/releases/tag/v7.24.4) [Compare Source](https://github.com/nodejs/undici/compare/v7.24.3...v7.24.4) #### What's Changed - fix(fetch): handle URL credentials in dispatch path extraction by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4892](https://github.com/nodejs/undici/pull/4892) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.24.3...v7.24.4> ### [`v7.24.3`](https://github.com/nodejs/undici/releases/tag/v7.24.3) [Compare Source](https://github.com/nodejs/undici/compare/v7.24.2...v7.24.3) #### What's Changed - fix(h2): TypeError: Cannot read properties of null (reading 'push') i… by [@&#8203;hxinhan](https://github.com/hxinhan) in [#&#8203;4881](https://github.com/nodejs/undici/pull/4881) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.24.2...v7.24.3> ### [`v7.24.2`](https://github.com/nodejs/undici/releases/tag/v7.24.2) [Compare Source](https://github.com/nodejs/undici/compare/v7.24.1...v7.24.2) #### What's Changed - fix fetch path logic by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4890](https://github.com/nodejs/undici/pull/4890) - remove maxDecompressedMessageSize by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4891](https://github.com/nodejs/undici/pull/4891) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.24.1...v7.24.2> ### [`v7.24.1`](https://github.com/nodejs/undici/releases/tag/v7.24.1) [Compare Source](https://github.com/nodejs/undici/compare/v7.24.0...v7.24.1) #### What's Changed - fix: **proto** pollution by [@&#8203;rahulyadav5524](https://github.com/rahulyadav5524) in [#&#8203;4885](https://github.com/nodejs/undici/pull/4885) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.24.0...v7.24.1> ### [`v7.24.0`](https://github.com/nodejs/undici/releases/tag/v7.24.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.23.0...v7.24.0) ### Undici v7.24.0 Security Release Notes This release addresses multiple security vulnerabilities in Undici. #### Upgrade guidance All users on v7 should upgrade to **v7.24.0** or later. #### Fixed advisories - [GHSA-2mjp-6q6p-2qxm](https://github.com/nodejs/undici/security/advisories/GHSA-2mjp-6q6p-2qxm) / CVE-2026-1525 (Medium)\ Inconsistent interpretation of HTTP requests (request/response smuggling class issue). - [GHSA-f269-vfmq-vjvj](https://github.com/nodejs/undici/security/advisories/GHSA-f269-vfmq-vjvj) / CVE-2026-1528 (High)\ Malicious WebSocket 64-bit frame length handling could crash the client. - [GHSA-phc3-fgpg-7m6h](https://github.com/nodejs/undici/security/advisories/GHSA-phc3-fgpg-7m6h) / CVE-2026-2581 (Medium)\ Unbounded memory consumption in deduplication interceptor response buffering (DoS risk). - [GHSA-4992-7rv2-5pvq](https://github.com/nodejs/undici/security/advisories/GHSA-4992-7rv2-5pvq) / CVE-2026-1527 (Medium)\ CRLF injection via the `upgrade` option. - [GHSA-v9p9-hfj2-hcw8](https://github.com/nodejs/undici/security/advisories/GHSA-v9p9-hfj2-hcw8) / CVE-2026-2229 (High)\ Unhandled exception from invalid `server_max_window_bits` in WebSocket permessage-deflate negotiation. - [GHSA-vrm6-8vpv-qv8q](https://github.com/nodejs/undici/security/advisories/GHSA-vrm6-8vpv-qv8q) / CVE-2026-1526 (High)\ Unbounded memory consumption in WebSocket permessage-deflate decompression. #### Affected and patched ranges - CVE-2026-1525: affected `7.0.0 < 7.24.0`, patched `7.24.0` - CVE-2026-1528: affected `7.0.0 < 7.24.0`, patched `7.24.0` - CVE-2026-2581: affected `>= 7.17.0 < 7.24.0`, patched `7.24.0` - CVE-2026-1527: affected `7.0.0 < 7.24.0`, patched `7.24.0` - CVE-2026-2229: affected `7.0.0 < 7.24.0`, patched `7.24.0` - CVE-2026-1526: affected `7.0.0 < 7.24.0`, patched `7.24.0` #### References - GitHub Security Advisories: <https://github.com/nodejs/undici/security/advisories> - NVD CVE-2026-1525: <https://nvd.nist.gov/vuln/detail/CVE-2026-1525> - NVD CVE-2026-1528: <https://nvd.nist.gov/vuln/detail/CVE-2026-1528> - NVD CVE-2026-2581: <https://nvd.nist.gov/vuln/detail/CVE-2026-2581> - NVD CVE-2026-1527: <https://nvd.nist.gov/vuln/detail/CVE-2026-1527> - NVD CVE-2026-2229: <https://nvd.nist.gov/vuln/detail/CVE-2026-2229> - NVD CVE-2026-1526: <https://nvd.nist.gov/vuln/detail/CVE-2026-1526> ### [`v7.23.0`](https://github.com/nodejs/undici/releases/tag/v7.23.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.22.0...v7.23.0) #### What's Changed - fix: prevent AbortController GC when redirect is 'error' by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4750](https://github.com/nodejs/undici/pull/4750) - docs: clarify UndiciHeaders validation guidance by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4832](https://github.com/nodejs/undici/pull/4832) - build(deps): bump actions/checkout from 5.0.0 to 6.0.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4795](https://github.com/nodejs/undici/pull/4795) - build(deps): bump step-security/harden-runner from 2.14.0 to 2.14.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4794](https://github.com/nodejs/undici/pull/4794) - build(deps): bump github/codeql-action from 4.31.2 to 4.32.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4793](https://github.com/nodejs/undici/pull/4793) - test: add unexpected disconnect guards to client test files by [@&#8203;samayer12](https://github.com/samayer12) in [#&#8203;4833](https://github.com/nodejs/undici/pull/4833) - fix fetch stripping trailing ? from url by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4837](https://github.com/nodejs/undici/pull/4837) - fix: forward onResponseStarted through WrapHandler and UnwrapHandler by [@&#8203;7rulnik](https://github.com/7rulnik) in [#&#8203;4840](https://github.com/nodejs/undici/pull/4840) - webidl: access keys in lexicographical order by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4841](https://github.com/nodejs/undici/pull/4841) - ci: disable coverage on Node.js 25 by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4852](https://github.com/nodejs/undici/pull/4852) - build(deps): bump uWebSockets.js from v20.56.0 to v20.58.0 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4855](https://github.com/nodejs/undici/pull/4855) - fix(h2): TypeError: Cannot read properties of null (reading 'servername') in \_resume when H2 stream completes by [@&#8203;hxinhan](https://github.com/hxinhan) in [#&#8203;4847](https://github.com/nodejs/undici/pull/4847) - fix(h2): ignore late data frames after request completion by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4845](https://github.com/nodejs/undici/pull/4845) - fix(handler): preserve latin1 header encoding in WrapHandler by [@&#8203;theamodhshetty](https://github.com/theamodhshetty) in [#&#8203;4859](https://github.com/nodejs/undici/pull/4859) - docs(examples): add cache interceptor example with fetch by [@&#8203;nthbotast](https://github.com/nthbotast) in [#&#8203;4864](https://github.com/nodejs/undici/pull/4864) - docs(dispatcher): clarify onResponseStart return value is ignored by [@&#8203;nthbotast](https://github.com/nthbotast) in [#&#8203;4865](https://github.com/nodejs/undici/pull/4865) - feat: add SOCKS5 proxy support to ProxyAgent by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4385](https://github.com/nodejs/undici/pull/4385) - fix: harden header iterable checks for prototype-pollution scenarios by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4824](https://github.com/nodejs/undici/pull/4824) - fix(interceptor): preserve tuple headers in dns interceptor by [@&#8203;theamodhshetty](https://github.com/theamodhshetty) in [#&#8203;4863](https://github.com/nodejs/undici/pull/4863) - docs(dispatcher): use RFC 2606 domains in interceptor examples by [@&#8203;nthbotast](https://github.com/nthbotast) in [#&#8203;4873](https://github.com/nodejs/undici/pull/4873) - feat: add IP prioritization hints for HTTP/1.1 and HTTP/2 by [@&#8203;amyssnippet](https://github.com/amyssnippet) in [#&#8203;4831](https://github.com/nodejs/undici/pull/4831) - docs: clarify when to install undici vs using Node's built-in fetch by [@&#8203;travisbreaks](https://github.com/travisbreaks) in [#&#8203;4868](https://github.com/nodejs/undici/pull/4868) - docs(dispatcher): add cache interceptor fetch example by [@&#8203;nthbotast](https://github.com/nthbotast) in [#&#8203;4870](https://github.com/nodejs/undici/pull/4870) - fix(dispatcher): pass socketPath to custom connect callbacks by [@&#8203;theamodhshetty](https://github.com/theamodhshetty) in [#&#8203;4857](https://github.com/nodejs/undici/pull/4857) #### New Contributors - [@&#8203;samayer12](https://github.com/samayer12) made their first contribution in [#&#8203;4833](https://github.com/nodejs/undici/pull/4833) - [@&#8203;7rulnik](https://github.com/7rulnik) made their first contribution in [#&#8203;4840](https://github.com/nodejs/undici/pull/4840) - [@&#8203;hxinhan](https://github.com/hxinhan) made their first contribution in [#&#8203;4847](https://github.com/nodejs/undici/pull/4847) - [@&#8203;theamodhshetty](https://github.com/theamodhshetty) made their first contribution in [#&#8203;4859](https://github.com/nodejs/undici/pull/4859) - [@&#8203;nthbotast](https://github.com/nthbotast) made their first contribution in [#&#8203;4864](https://github.com/nodejs/undici/pull/4864) - [@&#8203;amyssnippet](https://github.com/amyssnippet) made their first contribution in [#&#8203;4831](https://github.com/nodejs/undici/pull/4831) - [@&#8203;travisbreaks](https://github.com/travisbreaks) made their first contribution in [#&#8203;4868](https://github.com/nodejs/undici/pull/4868) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.22.0...v7.23.0> ### [`v7.22.0`](https://github.com/nodejs/undici/releases/tag/v7.22.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.21.0...v7.22.0) #### What's Changed - docs: fix syntax highlighting in WebSocket.md by [@&#8203;styfle](https://github.com/styfle) in [#&#8203;4814](https://github.com/nodejs/undici/pull/4814) - fix: use OR operator in includesCredentials per WHATWG URL Standard by [@&#8203;jackhax](https://github.com/jackhax) in [#&#8203;4816](https://github.com/nodejs/undici/pull/4816) - feat(dispatcher/env-http-proxy-agent): strip leading dot and asterisk by [@&#8203;SuperOleg39](https://github.com/SuperOleg39) in [#&#8203;4676](https://github.com/nodejs/undici/pull/4676) - fix: route WebSocket upgrades through onRequestUpgrade by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4787](https://github.com/nodejs/undici/pull/4787) - build(deps-dev): bump esbuild from 0.25.12 to 0.27.3 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4821](https://github.com/nodejs/undici/pull/4821) - fix(deduplicate): do not deduplicate non-safe methods by default by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4818](https://github.com/nodejs/undici/pull/4818) - feat: Support async cache stores in revalidation by [@&#8203;marcopiraccini](https://github.com/marcopiraccini) in [#&#8203;4826](https://github.com/nodejs/undici/pull/4826) #### New Contributors - [@&#8203;jackhax](https://github.com/jackhax) made their first contribution in [#&#8203;4816](https://github.com/nodejs/undici/pull/4816) - [@&#8203;marcopiraccini](https://github.com/marcopiraccini) made their first contribution in [#&#8203;4826](https://github.com/nodejs/undici/pull/4826) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.21.0...v7.22.0> ### [`v7.21.0`](https://github.com/nodejs/undici/releases/tag/v7.21.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.20.0...v7.21.0) #### What's Changed - build(deps): bump actions/setup-node from 6.0.0 to 6.2.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4796](https://github.com/nodejs/undici/pull/4796) - test: restore global dispatcher after fetch tests by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4790](https://github.com/nodejs/undici/pull/4790) - Add missing `close` method to WebSocketStream interface by [@&#8203;piotr-cz](https://github.com/piotr-cz) in [#&#8203;4802](https://github.com/nodejs/undici/pull/4802) - fix: error stream instead of canceling by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4804](https://github.com/nodejs/undici/pull/4804) - Fix clientTtl cleanup race in Agent by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4807](https://github.com/nodejs/undici/pull/4807) - feat([#&#8203;4230](https://github.com/nodejs/undici/issues/4230)): Implement pingInterval for dispatching PING frames by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;4296](https://github.com/nodejs/undici/pull/4296) - fix: handle undefined \_\_filename in bundled environments by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4812](https://github.com/nodejs/undici/pull/4812) - fix: set finalizer only for fetch responses by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;4803](https://github.com/nodejs/undici/pull/4803) #### New Contributors - [@&#8203;piotr-cz](https://github.com/piotr-cz) made their first contribution in [#&#8203;4802](https://github.com/nodejs/undici/pull/4802) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.20.0...v7.21.0> ### [`v7.20.0`](https://github.com/nodejs/undici/releases/tag/v7.20.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.19.2...v7.20.0) #### What's Changed - fix: preserve fetch stack traces by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4778](https://github.com/nodejs/undici/pull/4778) - Fix error handling in MockPool example by [@&#8203;dave-kennedy](https://github.com/dave-kennedy) in [#&#8203;4781](https://github.com/nodejs/undici/pull/4781) - feat: expose statusText in request() ResponseData by [@&#8203;domenic](https://github.com/domenic) in [#&#8203;4784](https://github.com/nodejs/undici/pull/4784) - test: reduce retry-after invalid date flake by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4788](https://github.com/nodejs/undici/pull/4788) - extractBody fixes by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4791](https://github.com/nodejs/undici/pull/4791) - fix: MockAgent delayed response with AbortSignal ([#&#8203;4693](https://github.com/nodejs/undici/issues/4693)) by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4772](https://github.com/nodejs/undici/pull/4772) - fix: onParserTimeout potentially accessing undefined by [@&#8203;vbfox](https://github.com/vbfox) in [#&#8203;4758](https://github.com/nodejs/undici/pull/4758) #### New Contributors - [@&#8203;dave-kennedy](https://github.com/dave-kennedy) made their first contribution in [#&#8203;4781](https://github.com/nodejs/undici/pull/4781) - [@&#8203;vbfox](https://github.com/vbfox) made their first contribution in [#&#8203;4758](https://github.com/nodejs/undici/pull/4758) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.19.2...v7.20.0> ### [`v7.19.2`](https://github.com/nodejs/undici/releases/tag/v7.19.2) [Compare Source](https://github.com/nodejs/undici/compare/v7.19.1...v7.19.2) #### What's Changed - Minor code cleanups to decompress interceptor by [@&#8203;domenic](https://github.com/domenic) in [#&#8203;4754](https://github.com/nodejs/undici/pull/4754) - fix(h2): fix flaky stream end handling on macOS by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4762](https://github.com/nodejs/undici/pull/4762) - return response when receiving 401 instead of network error by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4769](https://github.com/nodejs/undici/pull/4769) - fix: properly close idle connections in test server cleanup by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4764](https://github.com/nodejs/undici/pull/4764) - fix: decode HTTP headers as latin1 instead of utf8 by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4768](https://github.com/nodejs/undici/pull/4768) - fix: submodule update by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4648](https://github.com/nodejs/undici/pull/4648) - build(deps): bump peter-evans/create-pull-request from 7.0.8 to 8.0.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4720](https://github.com/nodejs/undici/pull/4720) #### New Contributors - [@&#8203;domenic](https://github.com/domenic) made their first contribution in [#&#8203;4754](https://github.com/nodejs/undici/pull/4754) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.19.1...v7.19.2> ### [`v7.19.1`](https://github.com/nodejs/undici/releases/tag/v7.19.1) [Compare Source](https://github.com/nodejs/undici/compare/v7.19.0...v7.19.1) #### What's Changed - fix: use commit hash when generating release ([#&#8203;4757](https://github.com/nodejs/undici/issues/4757)) by [@&#8203;fenichelar](https://github.com/fenichelar) in [#&#8203;4759](https://github.com/nodejs/undici/pull/4759) - fix fetch 401 loop by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4761](https://github.com/nodejs/undici/pull/4761) #### New Contributors - [@&#8203;fenichelar](https://github.com/fenichelar) made their first contribution in [#&#8203;4759](https://github.com/nodejs/undici/pull/4759) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.19.0...v7.19.1> ### [`v7.19.0`](https://github.com/nodejs/undici/releases/tag/v7.19.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.18.2...v7.19.0) #### What's Changed - fix: Handle FormData body type correctly in RetryAgent retried requests by [@&#8203;eliotschu](https://github.com/eliotschu) in [#&#8203;4692](https://github.com/nodejs/undici/pull/4692) - feat(client): expose HTTP/2 flow-control options by [@&#8203;pabloelisseo](https://github.com/pabloelisseo) in [#&#8203;4706](https://github.com/nodejs/undici/pull/4706) - Implement origin normalization in MockAgent for case-insensitivity and URL handling by [@&#8203;SksOp](https://github.com/SksOp) in [#&#8203;4731](https://github.com/nodejs/undici/pull/4731) - fix websocket basic auth by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4747](https://github.com/nodejs/undici/pull/4747) - fix(cache): regenerate stream from source when cache.match is called after GC by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4713](https://github.com/nodejs/undici/pull/4713) - chore: use testcontext for test:cache by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4571](https://github.com/nodejs/undici/pull/4571) - chore: use testcontext for subresource integrity tests by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4575](https://github.com/nodejs/undici/pull/4575) - feat(cache): add origins option for whitelist filtering by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4739](https://github.com/nodejs/undici/pull/4739) - ci: test shared-builtin only on Node.js 24 and 25 by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4746](https://github.com/nodejs/undici/pull/4746) - fix websocketstream open error by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4748](https://github.com/nodejs/undici/pull/4748) #### New Contributors - [@&#8203;eliotschu](https://github.com/eliotschu) made their first contribution in [#&#8203;4692](https://github.com/nodejs/undici/pull/4692) - [@&#8203;pabloelisseo](https://github.com/pabloelisseo) made their first contribution in [#&#8203;4706](https://github.com/nodejs/undici/pull/4706) - [@&#8203;SksOp](https://github.com/SksOp) made their first contribution in [#&#8203;4731](https://github.com/nodejs/undici/pull/4731) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.18.2...v7.19.0> ### [`v7.18.2`](https://github.com/nodejs/undici/releases/tag/v7.18.2) [Compare Source](https://github.com/nodejs/undici/compare/v7.18.1...v7.18.2) #### ⚠️ Security Release This fixes <https://github.com/nodejs/undici/security/advisories/GHSA-g9mf-h72j-4rw9> and CVE-2026-22036. #### What's Changed - fix(decompress): limit Content-Encoding chain to 5 to prevent resourc… by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4729](https://github.com/nodejs/undici/pull/4729) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.18.1...v7.18.2> ### [`v7.18.1`](https://github.com/nodejs/undici/releases/tag/v7.18.1) [Compare Source](https://github.com/nodejs/undici/compare/v7.18.0...v7.18.1) #### What's Changed - Test and Fix running without SSL by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4727](https://github.com/nodejs/undici/pull/4727) - docs: add security warning for strictContentLength option by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4726](https://github.com/nodejs/undici/pull/4726) - build(deps): bump step-security/harden-runner from 2.13.1 to 2.14.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4718](https://github.com/nodejs/undici/pull/4718) - build(deps): bump actions/checkout from 6.0.0 to 6.0.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4719](https://github.com/nodejs/undici/pull/4719) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.18.0...v7.18.1> ### [`v7.18.0`](https://github.com/nodejs/undici/releases/tag/v7.18.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.17.0...v7.18.0) #### What's Changed **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.17.0...v7.18.0> ### [`v7.17.0`](https://github.com/nodejs/undici/releases/tag/v7.17.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.16.0...v7.17.0) #### What's Changed - chore: extract infra and encoding methods by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4523](https://github.com/nodejs/undici/pull/4523) - ci: remove h2 by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4534](https://github.com/nodejs/undici/pull/4534) - ci: make nodejs-shared wf reusable, install binaryen for wasm-opt, test on node-nightly by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4535](https://github.com/nodejs/undici/pull/4535) - ci: fix nightly shared library case by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4543](https://github.com/nodejs/undici/pull/4543) - test: consume bodies of fetch responses to fix failing macos 20 ci by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4528](https://github.com/nodejs/undici/pull/4528) - docs: add Cache Interceptor example to README by [@&#8203;tawseefnabi](https://github.com/tawseefnabi) in [#&#8203;4393](https://github.com/nodejs/undici/pull/4393) - test: remove node20 version check by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4544](https://github.com/nodejs/undici/pull/4544) - types: use MessagePort instance type in MessageEvent by [@&#8203;Renegade334](https://github.com/Renegade334) in [#&#8203;4546](https://github.com/nodejs/undici/pull/4546) - ci: set write permissions on job level by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4537](https://github.com/nodejs/undici/pull/4537) - lint: activate n/no-process-exit by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4548](https://github.com/nodejs/undici/pull/4548) - ci: run benchmarks on pull\_requests and by pushing on specific branches only by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4536](https://github.com/nodejs/undici/pull/4536) - chore: activate n/prefer-node-protocol to enforce `'node:'` prefix for requiring node built-ins by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4547](https://github.com/nodejs/undici/pull/4547) - feat(H2): correct CONNECT behaviour by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;4541](https://github.com/nodejs/undici/pull/4541) - test: fix plans by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4550](https://github.com/nodejs/undici/pull/4550) - feat: add runtime feature "detection" by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4545](https://github.com/nodejs/undici/pull/4545) - perf: use less promises in extractBody by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4458](https://github.com/nodejs/undici/pull/4458) - fix(proxy-agent): add missing return after callback-call by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4553](https://github.com/nodejs/undici/pull/4553) - fix: remove redundant line in retry-handler by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4554](https://github.com/nodejs/undici/pull/4554) - ci: add no-wasm-simd option by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4533](https://github.com/nodejs/undici/pull/4533) - fix: use lazyloaders for runtime feature detection by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4557](https://github.com/nodejs/undici/pull/4557) - fix: minor changes in dispatcher-base.js and types for Dispatcher by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4556](https://github.com/nodejs/undici/pull/4556) - http2: refactor and split tests of http2.js into multiple files by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4561](https://github.com/nodejs/undici/pull/4561) - fix: dns-interceptor test should await plan to complete by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4560](https://github.com/nodejs/undici/pull/4560) - chore: remove istanbul instructions by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4559](https://github.com/nodejs/undici/pull/4559) - fix: keep promise chains intact by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4558](https://github.com/nodejs/undici/pull/4558) - build(deps): bump wait-on from 8.0.5 to 9.0.1 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4567](https://github.com/nodejs/undici/pull/4567) - chore: remove tspl from eventsource by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4569](https://github.com/nodejs/undici/pull/4569) - chore: remove tspl from fetch by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4570](https://github.com/nodejs/undici/pull/4570) - feat: add getUpstream() method to BalancedPool by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4586](https://github.com/nodejs/undici/pull/4586) - fetch: handle invalid priority values properly by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4522](https://github.com/nodejs/undici/pull/4522) - ci: fix test coverage for codecov by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4520](https://github.com/nodejs/undici/pull/4520) - types: optional `status` in `Response.redirect` by [@&#8203;gineika](https://github.com/gineika) in [#&#8203;4591](https://github.com/nodejs/undici/pull/4591) - docs: unix socket add-on by [@&#8203;FelixVaughan](https://github.com/FelixVaughan) in [#&#8203;4587](https://github.com/nodejs/undici/pull/4587) - build(deps): bump codecov/codecov-action from 5.5.0 to 5.5.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4601](https://github.com/nodejs/undici/pull/4601) - build(deps): bump hendrikmuhs/ccache-action from 1.2.18 to 1.2.19 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4600](https://github.com/nodejs/undici/pull/4600) - build(deps): bump ossf/scorecard-action from 2.4.2 to 2.4.3 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4603](https://github.com/nodejs/undici/pull/4603) - build(deps): bump actions/setup-node from 4.0.2 to 5.0.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4604](https://github.com/nodejs/undici/pull/4604) - build(deps): bump actions/github-script from 7.0.1 to 8.0.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4602](https://github.com/nodejs/undici/pull/4602) - build(deps): bump step-security/harden-runner from 2.13.0 to 2.13.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4598](https://github.com/nodejs/undici/pull/4598) - build(deps): bump github/codeql-action from 3.30.0 to 3.30.5 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4599](https://github.com/nodejs/undici/pull/4599) - build(deps): bump actions/dependency-review-action from 4.7.3 to 4.8.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4597](https://github.com/nodejs/undici/pull/4597) - fix: cacheStores types and usage in README by [@&#8203;lucalooz](https://github.com/lucalooz) in [#&#8203;4605](https://github.com/nodejs/undici/pull/4605) - Feat dns interceptor storage by [@&#8203;SuperOleg39](https://github.com/SuperOleg39) in [#&#8203;4589](https://github.com/nodejs/undici/pull/4589) - docs: add crawling best practices by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4590](https://github.com/nodejs/undici/pull/4590) - fix: `304 not modified` reply upon revalidation did not update cache. by [@&#8203;daan944](https://github.com/daan944) in [#&#8203;4617](https://github.com/nodejs/undici/pull/4617) - chore: use testcontext for test:infra by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4579](https://github.com/nodejs/undici/pull/4579) - fetch: improve regexes in data-uri.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4483](https://github.com/nodejs/undici/pull/4483) - perf: optimize validate http token by [@&#8203;PandaWorker](https://github.com/PandaWorker) in [#&#8203;4608](https://github.com/nodejs/undici/pull/4608) - test: improve long-lived-abort-controller test by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4621](https://github.com/nodejs/undici/pull/4621) - ci: add node.js 25 to test matrix by [@&#8203;shivarm](https://github.com/shivarm) in [#&#8203;4626](https://github.com/nodejs/undici/pull/4626) - chore: use testcontext for test/utils tests by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4577](https://github.com/nodejs/undici/pull/4577) - chore: remove tspl from websocket by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4568](https://github.com/nodejs/undici/pull/4568) - fix(ws) onSocketClose being called multiple times by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4632](https://github.com/nodejs/undici/pull/4632) - fix: prevent duplicate debug logs when multiple undici instances exist by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4630](https://github.com/nodejs/undici/pull/4630) - chore: use testcontext for busboy tests by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4572](https://github.com/nodejs/undici/pull/4572) - test: fix flaky http2-dispatcher test by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4633](https://github.com/nodejs/undici/pull/4633) - build(deps): bump uWebSockets.js from v20.52.0 to v20.54.0 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4635](https://github.com/nodejs/undici/pull/4635) - Run the gc() in long-lived-abort-controller test by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4638](https://github.com/nodejs/undici/pull/4638) - Do not destroy the HTTP2 stream twice in tests by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4637](https://github.com/nodejs/undici/pull/4637) - Fix http2-dispatcher test by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4640](https://github.com/nodejs/undici/pull/4640) - fix: fetch blob with range off-by-one error by [@&#8203;platypii](https://github.com/platypii) in [#&#8203;4643](https://github.com/nodejs/undici/pull/4643) - fix: ensure HTTP/2 sends Content-Length for empty POST requests by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4613](https://github.com/nodejs/undici/pull/4613) - build(deps): bump uWebSockets.js from v20.54.0 to v20.55.0 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4645](https://github.com/nodejs/undici/pull/4645) - feat([#&#8203;2458](https://github.com/nodejs/undici/issues/2458)): WebSocket through HTTP/2 by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;4540](https://github.com/nodejs/undici/pull/4540) - docs(README): correct the example code for the consumption of respons… by [@&#8203;tenkirin](https://github.com/tenkirin) in [#&#8203;4658](https://github.com/nodejs/undici/pull/4658) - build(deps): bump github/codeql-action from 3.30.5 to 4.31.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4653](https://github.com/nodejs/undici/pull/4653) - build(deps): bump fastify/github-action-merge-dependabot from 3.11.1 to 3.11.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4655](https://github.com/nodejs/undici/pull/4655) - build(deps): bump actions/setup-node from 5.0.0 to 6.0.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4652](https://github.com/nodejs/undici/pull/4652) - build(deps): bump actions/upload-artifact from 4.6.2 to 5.0.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4651](https://github.com/nodejs/undici/pull/4651) - build(deps): bump actions/dependency-review-action from 4.8.0 to 4.8.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4654](https://github.com/nodejs/undici/pull/4654) - don't freeze urlList for opaque filtered responses by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4656](https://github.com/nodejs/undici/pull/4656) - fix fd parsing unquoted attribute values by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4662](https://github.com/nodejs/undici/pull/4662) - build(deps): bump uWebSockets.js from v20.55.0 to v20.56.0 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4665](https://github.com/nodejs/undici/pull/4665) - feat(dispatcher/proxy-agent): new diagnostics event 'undici:proxy:connected' by [@&#8203;SuperOleg39](https://github.com/SuperOleg39) in [#&#8203;4659](https://github.com/nodejs/undici/pull/4659) - Feat/round robin pool by [@&#8203;FelixVaughan](https://github.com/FelixVaughan) in [#&#8203;4650](https://github.com/nodejs/undici/pull/4650) - Formdata ignore epilogue preamble by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4672](https://github.com/nodejs/undici/pull/4672) - build(deps): bump actions/checkout from 5.0.0 to 6.0.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4682](https://github.com/nodejs/undici/pull/4682) - fix: snapshot url exclusion by [@&#8203;FelixVaughan](https://github.com/FelixVaughan) in [#&#8203;4670](https://github.com/nodejs/undici/pull/4670) - feat: support h2c over unix domain sockets by [@&#8203;chrros95](https://github.com/chrros95) in [#&#8203;4690](https://github.com/nodejs/undici/pull/4690) - fix(docs): remove unused TypeScript example code block by [@&#8203;kerolloz](https://github.com/kerolloz) in [#&#8203;4701](https://github.com/nodejs/undici/pull/4701) - feat: add deduplicate interceptor for request deduplication by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4679](https://github.com/nodejs/undici/pull/4679) - chore: use testcontext for mock tests by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4582](https://github.com/nodejs/undici/pull/4582) - fix(test): remove hardcoded folder name in client-error-stack-trace test by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4707](https://github.com/nodejs/undici/pull/4707) #### New Contributors - [@&#8203;gineika](https://github.com/gineika) made their first contribution in [#&#8203;4591](https://github.com/nodejs/undici/pull/4591) - [@&#8203;lucalooz](https://github.com/lucalooz) made their first contribution in [#&#8203;4605](https://github.com/nodejs/undici/pull/4605) - [@&#8203;SuperOleg39](https://github.com/SuperOleg39) made their first contribution in [#&#8203;4589](https://github.com/nodejs/undici/pull/4589) - [@&#8203;daan944](https://github.com/daan944) made their first contribution in [#&#8203;4617](https://github.com/nodejs/undici/pull/4617) - [@&#8203;PandaWorker](https://github.com/PandaWorker) made their first contribution in [#&#8203;4608](https://github.com/nodejs/undici/pull/4608) - [@&#8203;platypii](https://github.com/platypii) made their first contribution in [#&#8203;4643](https://github.com/nodejs/undici/pull/4643) - [@&#8203;tenkirin](https://github.com/tenkirin) made their first contribution in [#&#8203;4658](https://github.com/nodejs/undici/pull/4658) - [@&#8203;kerolloz](https://github.com/kerolloz) made their first contribution in [#&#8203;4701](https://github.com/nodejs/undici/pull/4701) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.16.0...v7.17.0> ### [`v7.16.0`](https://github.com/nodejs/undici/releases/tag/v7.16.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.15.0...v7.16.0) #### What's Changed - Drop npm token, use OIDC instead by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4447](https://github.com/nodejs/undici/pull/4447) - fetch: instantiate readableStream in extractBody with sync methods by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4350](https://github.com/nodejs/undici/pull/4350) - fix: remove async on `[kClose]` and `[kDestroy]`, only return Promise by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4450](https://github.com/nodejs/undici/pull/4450) - fetch: make consumeBody sync by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4449](https://github.com/nodejs/undici/pull/4449) - perf: make `client.connect()` sync by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4455](https://github.com/nodejs/undici/pull/4455) - fetch: remove promise in exported fetch by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4452](https://github.com/nodejs/undici/pull/4452) - fix([#&#8203;4451](https://github.com/nodejs/undici/issues/4451)): implement http2 cookie support by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;4453](https://github.com/nodejs/undici/pull/4453) - test: cache store tests should properly be skipped by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4463](https://github.com/nodejs/undici/pull/4463) - test: fix IPv6 skip check for test/client.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4466](https://github.com/nodejs/undici/pull/4466) - test: remove skip check for AbortSignal.timeout, as it exists since node18 by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4464](https://github.com/nodejs/undici/pull/4464) - test: investigate macos failing by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4467](https://github.com/nodejs/undici/pull/4467) - test: remove obsolete < node v18 test case for http2 by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4461](https://github.com/nodejs/undici/pull/4461) - perf: avoid intermediate promise on `BodyReadable.dump` by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4459](https://github.com/nodejs/undici/pull/4459) - test: remove skip check for long-lived-abort-controller test (was flaky 10 months ago) by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4465](https://github.com/nodejs/undici/pull/4465) - test: remove skip checks for existance of global available Blob and File by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4460](https://github.com/nodejs/undici/pull/4460) - perf (fetch): use less promises for ReadableStream by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4457](https://github.com/nodejs/undici/pull/4457) - fix: catch synchronous errors in request callbacks by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4443](https://github.com/nodejs/undici/pull/4443) - fix: avoid instanceof MockNotMatchedError by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4474](https://github.com/nodejs/undici/pull/4474) - eventsource: remove promise for #reconnect method by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4469](https://github.com/nodejs/undici/pull/4469) - feat: make UndiciErrors reliable to instanceof by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4472](https://github.com/nodejs/undici/pull/4472) - chore: call super() after type checks by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4475](https://github.com/nodejs/undici/pull/4475) - chore: FixedQueue does not need special constructor by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4476](https://github.com/nodejs/undici/pull/4476) - fix: buildAndValidateMockOptions should always get an object passed and always return an object by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4479](https://github.com/nodejs/undici/pull/4479) - fix: remove unused ResponseStatusCodeError by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4473](https://github.com/nodejs/undici/pull/4473) - chore: pool and dispatcherbase dont need constructor, use no array helper functions by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4477](https://github.com/nodejs/undici/pull/4477) - lint: avoid unintented use of globals in code and tests, improve test for installing/overwriting globals by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4478](https://github.com/nodejs/undici/pull/4478) - test: fix macos flakyness by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4468](https://github.com/nodejs/undici/pull/4468) - fix: 'no-referrer-when-downgrade' in determineRequestsReferrer should return referrerURL by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4482](https://github.com/nodejs/undici/pull/4482) - fix: deflake cache-fastimers-fix.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4491](https://github.com/nodejs/undici/pull/4491) - fix: improve validation of IP addresses as trustworthy, correct ipv4 check by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4489](https://github.com/nodejs/undici/pull/4489) - test (pool.js): fix flakyness of clientTtl test by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4494](https://github.com/nodejs/undici/pull/4494) - test (eventsource): refactor tests for eventsource, speed them up by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4493](https://github.com/nodejs/undici/pull/4493) - fix: remove useless catch in client-h1.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4481](https://github.com/nodejs/undici/pull/4481) - test: skip flaky encoding test on macos and node20 by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4497](https://github.com/nodejs/undici/pull/4497) - fix: implement proper stale-while-revalidate behavior per RFC 5861 by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4492](https://github.com/nodejs/undici/pull/4492) - test (websocket): speed up test/websocket/issue-2679.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4501](https://github.com/nodejs/undici/pull/4501) - webidl: fix existing and add missing buffer source converters by [@&#8203;Renegade334](https://github.com/Renegade334) in [#&#8203;4503](https://github.com/nodejs/undici/pull/4503) - use real wpt test server by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4486](https://github.com/nodejs/undici/pull/4486) - test: another try to fix flaky macos and node 20 by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4490](https://github.com/nodejs/undici/pull/4490) - build(deps): bump actions/checkout from 4 to 5 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4507](https://github.com/nodejs/undici/pull/4507) - build(deps): bump actions/dependency-review-action from 4.7.1 to 4.7.3 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4509](https://github.com/nodejs/undici/pull/4509) - fix writing to websocketstream with SharedArrayBuffer/SharedArrayBuff… by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4504](https://github.com/nodejs/undici/pull/4504) - test: use faketimers for test/client-keep-alive, refactor a little by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4499](https://github.com/nodejs/undici/pull/4499) - build(deps): bump github/codeql-action from 3.29.7 to 3.30.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4510](https://github.com/nodejs/undici/pull/4510) - build(deps): bump codecov/codecov-action from 5.4.3 to 5.5.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4508](https://github.com/nodejs/undici/pull/4508) - fix(h2): adjust :scheme on h2 requests by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;4454](https://github.com/nodejs/undici/pull/4454) - chore: use lowercase filenames, remove unused verifyVersion.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4514](https://github.com/nodejs/undici/pull/4514) - chore: refactor workflows by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4513](https://github.com/nodejs/undici/pull/4513) - chore: use `[]` instead of new Array(0) by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4435](https://github.com/nodejs/undici/pull/4435) - change webidl attribute to bitwise flag by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4505](https://github.com/nodejs/undici/pull/4505) - chore: make also cache-tests integrated as a submodule by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4517](https://github.com/nodejs/undici/pull/4517) - ci: fine grained test nodejs workflow by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4516](https://github.com/nodejs/undici/pull/4516) - feat: Support for capping the number of origins in Agent by [@&#8203;JoshMock](https://github.com/JoshMock) in [#&#8203;4365](https://github.com/nodejs/undici/pull/4365) - wpt: properly handle write permissions errors in wpt-runner setup by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4518](https://github.com/nodejs/undici/pull/4518) - fetch: process content-encoding header only if relevant by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4496](https://github.com/nodejs/undici/pull/4496) - websocket: always emit error event by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4521](https://github.com/nodejs/undici/pull/4521) - refactor: parseHttpDate by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4421](https://github.com/nodejs/undici/pull/4421) - fix: wpt should use master branch by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4524](https://github.com/nodejs/undici/pull/4524) - fix: shell command built from environment values by [@&#8203;ptrgits](https://github.com/ptrgits) in [#&#8203;4392](https://github.com/nodejs/undici/pull/4392) - example: use metcoders https-pem for the example by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4436](https://github.com/nodejs/undici/pull/4436) - Disable SIMD for PPC64 architecture, add UNDICI\_NO\_WASM\_SIMD env to facilitate testing by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4530](https://github.com/nodejs/undici/pull/4530) - fix: make error symbols non enumerable by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4531](https://github.com/nodejs/undici/pull/4531) #### New Contributors - [@&#8203;Renegade334](https://github.com/Renegade334) made their first contribution in [#&#8203;4503](https://github.com/nodejs/undici/pull/4503) - [@&#8203;JoshMock](https://github.com/JoshMock) made their first contribution in [#&#8203;4365](https://github.com/nodejs/undici/pull/4365) - [@&#8203;ptrgits](https://github.com/ptrgits) made their first contribution in [#&#8203;4392](https://github.com/nodejs/undici/pull/4392) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.15.0...v7.16.0> ### [`v7.15.0`](https://github.com/nodejs/undici/releases/tag/v7.15.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.14.0...v7.15.0) #### What's Changed - feat: extract sri from fetch, upgrade to latest spec by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4307](https://github.com/nodejs/undici/pull/4307) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;4422](https://github.com/nodejs/undici/pull/4422) - build(deps-dev): bump [@&#8203;fastify/busboy](https://github.com/fastify/busboy) from 3.1.1 to 3.2.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4428](https://github.com/nodejs/undici/pull/4428) - fix: memory leak in Agent by [@&#8203;hexchain](https://github.com/hexchain) in [#&#8203;4425](https://github.com/nodejs/undici/pull/4425) - chore: remove lib/api/util.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3578](https://github.com/nodejs/undici/pull/3578) - ci: reenable shared builtin CI tests by [@&#8203;richardlau](https://github.com/richardlau) in [#&#8203;4426](https://github.com/nodejs/undici/pull/4426) - Decompression Interceptor by [@&#8203;FelixVaughan](https://github.com/FelixVaughan) in [#&#8203;4317](https://github.com/nodejs/undici/pull/4317) - chore: update llhttp by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4431](https://github.com/nodejs/undici/pull/4431) - chore: remove unused exceptions in try catch blocks by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4440](https://github.com/nodejs/undici/pull/4440) - types: remove type Error = unknown for diagnostic-channels by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4438](https://github.com/nodejs/undici/pull/4438) - chore: avoid overriding global escape and unescape by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4437](https://github.com/nodejs/undici/pull/4437) - cache : serialize Query only if needed, avoid throwing error by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4441](https://github.com/nodejs/undici/pull/4441) - types: add SnapshotRecorderMode by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4442](https://github.com/nodejs/undici/pull/4442) #### New Contributors - [@&#8203;hexchain](https://github.com/hexchain) made their first contribution in [#&#8203;4425](https://github.com/nodejs/undici/pull/4425) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.14.0...v7.15.0> ### [`v7.14.0`](https://github.com/nodejs/undici/releases/tag/v7.14.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.13.0...v7.14.0) #### What's Changed - Fix flaky snapshot-testing by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4367](https://github.com/nodejs/undici/pull/4367) - Actually flush the file in lib/mock/snapshot-recorder.js by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4378](https://github.com/nodejs/undici/pull/4378) - docs: clarify Node.js version support in LTS table by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4375](https://github.com/nodejs/undici/pull/4375) - cache: fix excessive caching and some other lack of caching by [@&#8203;fredericDelaporte](https://github.com/fredericDelaporte) in [#&#8203;4335](https://github.com/nodejs/undici/pull/4335) - feat(websocket): add handshake response info to undici:websocket:open diagnostic event by [@&#8203;tawseefnabi](https://github.com/tawseefnabi) in [#&#8203;4396](https://github.com/nodejs/undici/pull/4396) - feat: add install() function to type definitions by [@&#8203;jsaguet](https://github.com/jsaguet) in [#&#8203;4384](https://github.com/nodejs/undici/pull/4384) - build(deps): bump github/codeql-action from 3.29.2 to 3.29.5 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4380](https://github.com/nodejs/undici/pull/4380) - build(deps): bump cronometro from 4.0.3 to 5.3.0 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4171](https://github.com/nodejs/undici/pull/4171) - build(deps): bump step-security/harden-runner from 2.12.0 to 2.13.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4379](https://github.com/nodejs/undici/pull/4379) - fix: h2 CI by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;4395](https://github.com/nodejs/undici/pull/4395) - feat: EventSource can be configured with reconnectionTime by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4260](https://github.com/nodejs/undici/pull/4260) - build(deps-dev): bump tsd from 0.32.0 to 0.33.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4404](https://github.com/nodejs/undici/pull/4404) - eventsource: deflake reconnectionTime tests by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4406](https://github.com/nodejs/undici/pull/4406) - cache: change normaliseHeaders to normalizeHeaders by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4408](https://github.com/nodejs/undici/pull/4408) - build(deps-dev): bump jest from 29.7.0 to 30.0.5 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4387](https://github.com/nodejs/undici/pull/4387) - build(deps-dev): bump cross-env from 7.0.3 to 10.0.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4386](https://github.com/nodejs/undici/pull/4386) - cache-control: no-cache: use quoted-string form by [@&#8203;alxndrsn](https://github.com/alxndrsn) in [#&#8203;4177](https://github.com/nodejs/undici/pull/4177) - test: fix snapshot testing flaky test by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4410](https://github.com/nodejs/undici/pull/4410) - fix formdata constructor args mark optional by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;4411](https://github.com/nodejs/undici/pull/4411) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;4358](https://github.com/nodejs/undici/pull/4358) - Update Cache Tests by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;4096](https://github.com/nodejs/undici/pull/4096) - chore: improve imports and requires by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4418](https://github.com/nodejs/undici/pull/4418) - refactor: snapshot-recorder by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4413](https://github.com/nodejs/undici/pull/4413) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;4416](https://github.com/nodejs/undici/pull/4416) - fix: better set a finalizer on cloned response by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;4419](https://github.com/nodejs/undici/pull/4419) #### New Contributors - [@&#8203;tawseefnabi](https://github.com/tawseefnabi) made their first contribution in [#&#8203;4396](https://github.com/nodejs/undici/pull/4396) - [@&#8203;jsaguet](https://github.com/jsaguet) made their first contribution in [#&#8203;4384](https://github.com/nodejs/undici/pull/4384) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.13.0...v7.14.0> ### [`v7.13.0`](https://github.com/nodejs/undici/releases/tag/v7.13.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.12.0...v7.13.0) #### What's Changed - MockAgent.prototype.get support ignoreTrailingSlash option by [@&#8203;lisez](https://github.com/lisez) in [#&#8203;4344](https://github.com/nodejs/undici/pull/4344) - chore: more jsdoc and minor improvements for lib/api/readable.js, by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4351](https://github.com/nodejs/undici/pull/4351) - ci: skip Node.js 20 tests on Windows by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4353](https://github.com/nodejs/undici/pull/4353) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;4267](https://github.com/nodejs/undici/pull/4267) - feat(ProxyAgent) improve Curl-y behavior in HTTP->HTTP Proxy connections ([#&#8203;4180](https://github.com/nodejs/undici/issues/4180)) by [@&#8203;caitp](https://github.com/caitp) in [#&#8203;4340](https://github.com/nodejs/undici/pull/4340) - fix: detect and prevent redirect loops with Client/Pool by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4361](https://github.com/nodejs/undici/pull/4361) - remove node:buffer imports by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4362](https://github.com/nodejs/undici/pull/4362) - fix: remove deprecated maxRedirections option from types by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4363](https://github.com/nodejs/undici/pull/4363) - Amend the GC warning in the README to clarify that consuming bodies is recommended but not required by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4364](https://github.com/nodejs/undici/pull/4364) - fix(inteceptor/dump): handle preemptive network errors by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;4354](https://github.com/nodejs/undici/pull/4354) - feat: add SnapshotAgent for HTTP request recording and playback by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4270](https://github.com/nodejs/undici/pull/4270) #### New Contributors - [@&#8203;lisez](https://github.com/lisez) made their first contribution in [#&#8203;4344](https://github.com/nodejs/undici/pull/4344) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.12.0...v7.13.0> ### [`v7.12.0`](https://github.com/nodejs/undici/releases/tag/v7.12.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.11.0...v7.12.0) #### What's Changed - test: remove tspl on 2283 test by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4301](https://github.com/nodejs/undici/pull/4301) - chore: reduce amount of intermediate functions by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4298](https://github.com/nodejs/undici/pull/4298) - ci: disable shared builtin CI tests by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4276](https://github.com/nodejs/undici/pull/4276) - webidl: remove unnecessary parameters from webidl.converters.RequestInfo and webidl.converters.RequestInit by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4304](https://github.com/nodejs/undici/pull/4304) - fetch: remove await, add jsdoc for some body read functions by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4303](https://github.com/nodejs/undici/pull/4303) - test: use assert and not testcontext in issue-2283.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4306](https://github.com/nodejs/undici/pull/4306) - chore: jsdoc use `@returns` everywhere by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4302](https://github.com/nodejs/undici/pull/4302) - chore: fix typo by [@&#8203;pimothyxd](https://github.com/pimothyxd) in [#&#8203;4312](https://github.com/nodejs/undici/pull/4312) - build(deps): bump github/codeql-action from 3.28.18 to 3.29.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;4315](https://github.com/nodejs/undici/pull/4315) - feat: throw error when maxRedirections is used with undici.request() by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4311](https://github.com/nodejs/undici/pull/4311) - Clarify the type option of the cache interceptor by [@&#8203;fredericDelaporte](https://github.com/fredericDelaporte) in [#&#8203;4299](https://github.com/nodejs/undici/pull/4299) - cache: allow caching heuristically cacheable error status codes by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4318](https://github.com/nodejs/undici/pull/4318) - chore(doc): update undici vs fetch by [@&#8203;styfle](https://github.com/styfle) in [#&#8203;4319](https://github.com/nodejs/undici/pull/4319) - don't set a finalizer on cloned request by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;4320](https://github.com/nodejs/undici/pull/4320) - websocketstream: close readablestream properly by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4322](https://github.com/nodejs/undici/pull/4322) - add ping(websocket, payload) util by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4325](https://github.com/nodejs/undici/pull/4325) - fix sending ping with no payload by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4329](https://github.com/nodejs/undici/pull/4329) - refactor: eliminate eager llhttp promise creation by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4337](https://github.com/nodejs/undici/pull/4337) - Fix misleading cacheByDefault documentation by [@&#8203;fredericDelaporte](https://github.com/fredericDelaporte) in [#&#8203;4338](https://github.com/nodejs/undici/pull/4338) - add websocket to websocket diagnostic channels by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4321](https://github.com/nodejs/undici/pull/4321) - speed up flaky websocket test by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4343](https://github.com/nodejs/undici/pull/4343) - fetch: minor modifications by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4347](https://github.com/nodejs/undici/pull/4347) - fetch: make readable-stream methods sync by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4346](https://github.com/nodejs/undici/pull/4346) - remove creating an extra Promise just for common cleanup by [@&#8203;bmeck](https://github.com/bmeck) in [#&#8203;4339](https://github.com/nodejs/undici/pull/4339) - chore: extract createDeferredPromise from fetch/utils.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4345](https://github.com/nodejs/undici/pull/4345) #### New Contributors - [@&#8203;pimothyxd](https://github.com/pimothyxd) made their first contribution in [#&#8203;4312](https://github.com/nodejs/undici/pull/4312) - [@&#8203;fredericDelaporte](https://github.com/fredericDelaporte) made their first contribution in [#&#8203;4299](https://github.com/nodejs/undici/pull/4299) - [@&#8203;bmeck](https://github.com/bmeck) made their first contribution in [#&#8203;4339](https://github.com/nodejs/undici/pull/4339) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.11.0...v7.12.0> ### [`v7.11.0`](https://github.com/nodejs/undici/releases/tag/v7.11.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.10.0...v7.11.0) #### What's Changed - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;4214](https://github.com/nodejs/undici/pull/4214) - feat(fetch): add zstandard decompression support by [@&#8203;J3m5](https://github.com/J3m5) in [#&#8203;4238](https://github.com/nodejs/undici/pull/4238) - fix(debug): remove extra forward slash in logs by [@&#8203;aidant](https://github.com/aidant) in [#&#8203;4236](https://github.com/nodejs/undici/pull/4236) - types: EventSource short handlers can be null by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4246](https://github.com/nodejs/undici/pull/4246) - remove finalizationregistry workaround by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4250](https://github.com/nodejs/undici/pull/4250) - build(deps): bump actions/dependency-review-action from 4.5.0 to 4.7.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;4255](https://github.com/nodejs/undici/pull/4255) - build(deps): bump github/codeql-action from 3.28.1 to 3.28.18 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;4252](https://github.com/nodejs/undici/pull/4252) - build(deps): bump codecov/codecov-action from 5.1.2 to 5.4.3 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;4253](https://github.com/nodejs/undici/pull/4253) - build(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.2 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;4254](https://github.com/nodejs/undici/pull/4254) - Query unaware interceptors cache fix by [@&#8203;FelixVaughan](https://github.com/FelixVaughan) in [#&#8203;4240](https://github.com/nodejs/undici/pull/4240) - docs: fix interceptor order description in compose method by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4251](https://github.com/nodejs/undici/pull/4251) - chore: require node native modules with `node:`-prefix by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4256](https://github.com/nodejs/undici/pull/4256) - fix: eventsource does not reconnect on network error by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4247](https://github.com/nodejs/undici/pull/4247) - fix: add guard by [@&#8203;GeoffreyBooth](https://github.com/GeoffreyBooth) in [#&#8203;4262](https://github.com/nodejs/undici/pull/4262) - Extract webidl by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4259](https://github.com/nodejs/undici/pull/4259) - build(deps): bump peter-evans/create-pull-request from 7.0.6 to 7.0.8 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;4132](https://github.com/nodejs/undici/pull/4132) - build(deps-dev): bump fast-check from 3.23.2 to 4.1.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;4167](https://github.com/nodejs/undici/pull/4167) - build(deps): bump actions/upload-artifact from 4.5.0 to 4.6.2 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;4137](https://github.com/nodejs/undici/pull/4137) - build(deps-dev): bump tsd from 0.31.2 to 0.32.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;4168](https://github.com/nodejs/undici/pull/4168) - build(deps): bump hendrikmuhs/ccache-action from 1.2.14 to 1.2.18 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;4190](https://github.com/nodejs/undici/pull/4190) - build(deps): bump fastify/github-action-merge-dependabot from 3.11.0 to 3.11.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;4135](https://github.com/nodejs/undici/pull/4135) - build(deps): bump step-security/harden-runner from 2.11.1 to 2.12.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;4188](https://github.com/nodejs/undici/pull/4188) - build(deps-dev): bump borp from 0.19.0 to 0.20.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;4194](https://github.com/nodejs/undici/pull/4194) - Fix several WPT failures by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;4263](https://github.com/nodejs/undici/pull/4263) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;4235](https://github.com/nodejs/undici/pull/4235) - node.js `fetch` is wrongly typed ([#&#8203;4271](https://github.com/nodejs/undici/issues/4271)) by [@&#8203;bpasero](https://github.com/bpasero) in [#&#8203;4272](https://github.com/nodejs/undici/pull/4272) - Fix: Provide body on retry error, preserve socket by [@&#8203;fatal10110](https://github.com/fatal10110) in [#&#8203;4228](https://github.com/nodejs/undici/pull/4228) - add cause to WebSocket error by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4274](https://github.com/nodejs/undici/pull/4274) - doc: undici vs fetch by [@&#8203;FelixVaughan](https://github.com/FelixVaughan) in [#&#8203;4245](https://github.com/nodejs/undici/pull/4245) - bench: add websockets by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;3203](https://github.com/nodejs/undici/pull/3203) - webidl: remove fallback for USVString by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4264](https://github.com/nodejs/undici/pull/4264) - fix: Use correct `Dispatcher.RequestOptions` by [@&#8203;IvanDimanov-OfficeRnD](https://github.com/IvanDimanov-OfficeRnD) in [#&#8203;4281](https://github.com/nodejs/undici/pull/4281) - feat: add install() function for global WHATWG fetch classes by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4286](https://github.com/nodejs/undici/pull/4286) - Fixed RedirectHandler type by [@&#8203;rahulyadav5524](https://github.com/rahulyadav5524) in [#&#8203;4278](https://github.com/nodejs/undici/pull/4278) - feat([#&#8203;4086](https://github.com/nodejs/undici/issues/4086)): proxy keep alive by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;4128](https://github.com/nodejs/undici/pull/4128) - Add `cleanMocks` to `MockClient` and `MockPool` by [@&#8203;DemianParkhomenko](https://github.com/DemianParkhomenko) in [#&#8203;4176](https://github.com/nodejs/undici/pull/4176) - fetch: add missing new operator on TypeError instantiation in readAllBytes by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4297](https://github.com/nodejs/undici/pull/4297) - Skip failing wpts by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4294](https://github.com/nodejs/undici/pull/4294) - feat: add request body diagnostic channels by [@&#8203;legendecas](https://github.com/legendecas) in [#&#8203;4289](https://github.com/nodejs/undici/pull/4289) - Fix timer guards to avoid TypeError under fake‐timers and polyfilled … by [@&#8203;1ly4s0](https://github.com/1ly4s0) in [#&#8203;4213](https://github.com/nodejs/undici/pull/4213) - cache: update MemoryCacheStore default limits by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4292](https://github.com/nodejs/undici/pull/4292) - fix: EnvHttpProxyAgent.Options should accept ProxyAgent.Options by [@&#8203;urugator](https://github.com/urugator) in [#&#8203;4243](https://github.com/nodejs/undici/pull/4243) #### New Contributors - [@&#8203;J3m5](https://github.com/J3m5) made their first contribution in [#&#8203;4238](https://github.com/nodejs/undici/pull/4238) - [@&#8203;aidant](https://github.com/aidant) made their first contribution in [#&#8203;4236](https://github.com/nodejs/undici/pull/4236) - [@&#8203;bpasero](https://github.com/bpasero) made their first contribution in [#&#8203;4272](https://github.com/nodejs/undici/pull/4272) - [@&#8203;IvanDimanov-OfficeRnD](https://github.com/IvanDimanov-OfficeRnD) made their first contribution in [#&#8203;4281](https://github.com/nodejs/undici/pull/4281) - [@&#8203;rahulyadav5524](https://github.com/rahulyadav5524) made their first contribution in [#&#8203;4278](https://github.com/nodejs/undici/pull/4278) - [@&#8203;DemianParkhomenko](https://github.com/DemianParkhomenko) made their first contribution in [#&#8203;4176](https://github.com/nodejs/undici/pull/4176) - [@&#8203;1ly4s0](https://github.com/1ly4s0) made their first contribution in [#&#8203;4213](https://github.com/nodejs/undici/pull/4213) - [@&#8203;urugator](https://github.com/urugator) made their first contribution in [#&#8203;4243](https://github.com/nodejs/undici/pull/4243) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.10.0...v7.11.0> ### [`v7.10.0`](https://github.com/nodejs/undici/releases/tag/v7.10.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.9.0...v7.10.0) #### What's Changed - Add "clientLifetime" option to close and remove connections from the pool after a specified time. by [@&#8203;dhalbrook](https://github.com/dhalbrook) in [#&#8203;4175](https://github.com/nodejs/undici/pull/4175) - remove spurious only by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4207](https://github.com/nodejs/undici/pull/4207) - add node v24 workflow by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;4206](https://github.com/nodejs/undici/pull/4206) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;4172](https://github.com/nodejs/undici/pull/4172) - chore: add `pnpm-lock.yaml` to `.gitignore` by [@&#8203;styfle](https://github.com/styfle) in [#&#8203;4227](https://github.com/nodejs/undici/pull/4227) - fix: agent memory leak by [@&#8203;styfle](https://github.com/styfle) in [#&#8203;4223](https://github.com/nodejs/undici/pull/4223) - Add ability to detect when MemoryCacheStore reaches max size by [@&#8203;FelixVaughan](https://github.com/FelixVaughan) in [#&#8203;4224](https://github.com/nodejs/undici/pull/4224) - feat(ProxyAgent): match Curl behavior in HTTP->HTTP Proxy connections by [@&#8203;caitp](https://github.com/caitp) in [#&#8203;4180](https://github.com/nodejs/undici/pull/4180) - docs: correct example in FormData request by [@&#8203;inyourtime](https://github.com/inyourtime) in [#&#8203;4226](https://github.com/nodejs/undici/pull/4226) #### New Contributors - [@&#8203;dhalbrook](https://github.com/dhalbrook) made their first contribution in [#&#8203;4175](https://github.com/nodejs/undici/pull/4175) - [@&#8203;caitp](https://github.com/caitp) made their first contribution in [#&#8203;4180](https://github.com/nodejs/undici/pull/4180) - [@&#8203;inyourtime](https://github.com/inyourtime) made their first contribution in [#&#8203;4226](https://github.com/nodejs/undici/pull/4226) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.9.0...v7.10.0> ### [`v7.9.0`](https://github.com/nodejs/undici/releases/tag/v7.9.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.8.0...v7.9.0) #### What's Changed - build(deps): bump step-security/harden-runner from 2.10.2 to 2.11.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;4134](https://github.com/nodejs/undici/pull/4134) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;4155](https://github.com/nodejs/undici/pull/4155) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;4170](https://github.com/nodejs/undici/pull/4170) - feat: add new `acceptNonStandardSearchParameters` MockAgent option by [@&#8203;dario-piotrowicz](https://github.com/dario-piotrowicz) in [#&#8203;4148](https://github.com/nodejs/undici/pull/4148) - fix: cache: treat cache-control request header case-insensitively by [@&#8203;alxndrsn](https://github.com/alxndrsn) in [#&#8203;4131](https://github.com/nodejs/undici/pull/4131) - cache: honour unqualified no-cache response directive by [@&#8203;alxndrsn](https://github.com/alxndrsn) in [#&#8203;4178](https://github.com/nodejs/undici/pull/4178) - build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;4079](https://github.com/nodejs/undici/pull/4079) - Ensure conflicting flat headers in HTTP/2 are combined correctly by [@&#8203;pimterry](https://github.com/pimterry) in [#&#8203;4196](https://github.com/nodejs/undici/pull/4196) - Add stats of client and pool to be accessible through agent by [@&#8203;tdeekens](https://github.com/tdeekens) in [#&#8203;4157](https://github.com/nodejs/undici/pull/4157) - Fix missing code in diagnostics example by [@&#8203;islandryu](https://github.com/islandryu) in [#&#8203;4195](https://github.com/nodejs/undici/pull/4195) - Doc cors spec compliance by [@&#8203;FelixVaughan](https://github.com/FelixVaughan) in [#&#8203;4202](https://github.com/nodejs/undici/pull/4202) - Restore cache tests & fix max-age behavior by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4198](https://github.com/nodejs/undici/pull/4198) #### New Contributors - [@&#8203;tdeekens](https://github.com/tdeekens) made their first contribution in [#&#8203;4157](https://github.com/nodejs/undici/pull/4157) - [@&#8203;islandryu](https://github.com/islandryu) made their first contribution in [#&#8203;4195](https://github.com/nodejs/undici/pull/4195) - [@&#8203;FelixVaughan](https://github.com/FelixVaughan) made their first contribution in [#&#8203;4202](https://github.com/nodejs/undici/pull/4202) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.8.0...v7.9.0> ### [`v7.8.0`](https://github.com/nodejs/undici/releases/tag/v7.8.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.7.0...v7.8.0) #### What's Changed - cache: more efficient sqlite indices by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;4142](https://github.com/nodejs/undici/pull/4142) - skip now failing wpts by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4145](https://github.com/nodejs/undici/pull/4145) - apply some sqlite pragma optimizations by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;4147](https://github.com/nodejs/undici/pull/4147) - types(websocket): Import from stream/web by [@&#8203;Jiralite](https://github.com/Jiralite) in [#&#8203;4038](https://github.com/nodejs/undici/pull/4038) - cache: don't check size if not necessary by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;4140](https://github.com/nodejs/undici/pull/4140) - docs: fix inteceptors typo by [@&#8203;dario-piotrowicz](https://github.com/dario-piotrowicz) in [#&#8203;4151](https://github.com/nodejs/undici/pull/4151) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;4141](https://github.com/nodejs/undici/pull/4141) - build(deps-dev): bump esbuild from 0.24.2 to 0.25.2 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;4130](https://github.com/nodejs/undici/pull/4130) #### New Contributors - [@&#8203;Jiralite](https://github.com/Jiralite) made their first contribution in [#&#8203;4038](https://github.com/nodejs/undici/pull/4038) - [@&#8203;dario-piotrowicz](https://github.com/dario-piotrowicz) made their first contribution in [#&#8203;4151](https://github.com/nodejs/undici/pull/4151) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.7.0...v7.8.0> ### [`v7.7.0`](https://github.com/nodejs/undici/releases/tag/v7.7.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.6.0...v7.7.0) #### What's Changed - fix: export UndiciHeaders type and set dispatch headers to UndiciHeaders by [@&#8203;dancastillo](https://github.com/dancastillo) in [#&#8203;3849](https://github.com/nodejs/undici/pull/3849) - feat(h2): emit connectionerror upon GOAWAY frame by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;4123](https://github.com/nodejs/undici/pull/4123) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;4126](https://github.com/nodejs/undici/pull/4126) - Update DNS caching example to include other interceptors, production configuration by [@&#8203;GeoffreyBooth](https://github.com/GeoffreyBooth) in [#&#8203;4127](https://github.com/nodejs/undici/pull/4127) - feat: implement h2c client by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;4118](https://github.com/nodejs/undici/pull/4118) #### New Contributors - [@&#8203;GeoffreyBooth](https://github.com/GeoffreyBooth) made their first contribution in [#&#8203;4127](https://github.com/nodejs/undici/pull/4127) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.6.0...v7.7.0> ### [`v7.6.0`](https://github.com/nodejs/undici/releases/tag/v7.6.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.5.0...v7.6.0) #### What's Changed - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;4067](https://github.com/nodejs/undici/pull/4067) - lib: limit string split length by [@&#8203;gurgunday](https://github.com/gurgunday) in [#&#8203;4098](https://github.com/nodejs/undici/pull/4098) - docs/PULL\_REQUEST\_TEMPLATE: deep-link to certificate of origin by [@&#8203;alxndrsn](https://github.com/alxndrsn) in [#&#8203;4102](https://github.com/nodejs/undici/pull/4102) - cache: fix typo by [@&#8203;alxndrsn](https://github.com/alxndrsn) in [#&#8203;4101](https://github.com/nodejs/undici/pull/4101) - disable header de-duplication in test servers by [@&#8203;alxndrsn](https://github.com/alxndrsn) in [#&#8203;4110](https://github.com/nodejs/undici/pull/4110) - CacheRevalidationHandler: add missing header to comment by [@&#8203;alxndrsn](https://github.com/alxndrsn) in [#&#8203;4111](https://github.com/nodejs/undici/pull/4111) - Fix typo in Agent.md by [@&#8203;Exifers](https://github.com/Exifers) in [#&#8203;4115](https://github.com/nodejs/undici/pull/4115) - build(deps-dev): bump [@&#8203;matteo](https://github.com/matteo).collina/tspl from 0.1.1 to 0.2.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;4119](https://github.com/nodejs/undici/pull/4119) - fix 4105 by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4117](https://github.com/nodejs/undici/pull/4117) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;4100](https://github.com/nodejs/undici/pull/4100) - cache: ensure vary & revalidation headers are case-insensitive by [@&#8203;alxndrsn](https://github.com/alxndrsn) in [#&#8203;4112](https://github.com/nodejs/undici/pull/4112) #### New Contributors - [@&#8203;alxndrsn](https://github.com/alxndrsn) made their first contribution in [#&#8203;4102](https://github.com/nodejs/undici/pull/4102) - [@&#8203;Exifers](https://github.com/Exifers) made their first contribution in [#&#8203;4115](https://github.com/nodejs/undici/pull/4115) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.5.0...v7.6.0> ### [`v7.5.0`](https://github.com/nodejs/undici/releases/tag/v7.5.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.4.0...v7.5.0) #### What's Changed - feat(docs): button to switch dark and light mode by [@&#8203;shivarm](https://github.com/shivarm) in [#&#8203;4044](https://github.com/nodejs/undici/pull/4044) - feat: add mock call history to access request configuration in test by [@&#8203;blephy](https://github.com/blephy) in [#&#8203;4029](https://github.com/nodejs/undici/pull/4029) - fix: Fix retry-handler.js when retry-after header is a Date by [@&#8203;fgiova](https://github.com/fgiova) in [#&#8203;4084](https://github.com/nodejs/undici/pull/4084) - Update Cache Tests by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;4027](https://github.com/nodejs/undici/pull/4027) - Allow disabling autoSelectFamily in an Agent by [@&#8203;hitsthings](https://github.com/hitsthings) in [#&#8203;4070](https://github.com/nodejs/undici/pull/4070) - Removed clients with unrecoverable errors from the Pool by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4088](https://github.com/nodejs/undici/pull/4088) #### New Contributors - [@&#8203;blephy](https://github.com/blephy) made their first contribution in [#&#8203;4029](https://github.com/nodejs/undici/pull/4029) - [@&#8203;fgiova](https://github.com/fgiova) made their first contribution in [#&#8203;4084](https://github.com/nodejs/undici/pull/4084) - [@&#8203;hitsthings](https://github.com/hitsthings) made their first contribution in [#&#8203;4070](https://github.com/nodejs/undici/pull/4070) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.4.0...v7.5.0> ### [`v7.4.0`](https://github.com/nodejs/undici/releases/tag/v7.4.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.3.0...v7.4.0) #### What's Changed - fix: apply byte offset on Buffer.from by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;4019](https://github.com/nodejs/undici/pull/4019) - fix: fetch body fallback random number generation by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;4023](https://github.com/nodejs/undici/pull/4023) - Add release instructions by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4022](https://github.com/nodejs/undici/pull/4022) - Update Cache Tests by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;4020](https://github.com/nodejs/undici/pull/4020) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;4011](https://github.com/nodejs/undici/pull/4011) - docs: document about global dispatcher and errors ([#&#8203;3987](https://github.com/nodejs/undici/issues/3987)) by [@&#8203;zuozp8](https://github.com/zuozp8) in [#&#8203;4014](https://github.com/nodejs/undici/pull/4014) - docs: fix incorrect method signature of `onResponseError` by [@&#8203;tmair](https://github.com/tmair) in [#&#8203;4030](https://github.com/nodejs/undici/pull/4030) - feat(docs): copy to clipboard button by [@&#8203;shivarm](https://github.com/shivarm) in [#&#8203;4037](https://github.com/nodejs/undici/pull/4037) - don't check AbortSignal maxListeners on some node versions by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4045](https://github.com/nodejs/undici/pull/4045) - feat: mark `EnvHttpProxyAgent` as stable by [@&#8203;aduh95](https://github.com/aduh95) in [#&#8203;4049](https://github.com/nodejs/undici/pull/4049) - test: fix windows wpt by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;4050](https://github.com/nodejs/undici/pull/4050) - fix: do not throw unhandled exception when data is undefined in interceptor.reply by [@&#8203;frederikprijck](https://github.com/frederikprijck) in [#&#8203;4036](https://github.com/nodejs/undici/pull/4036) - fix: handle missing vary header values by [@&#8203;gurgunday](https://github.com/gurgunday) in [#&#8203;4031](https://github.com/nodejs/undici/pull/4031) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;4028](https://github.com/nodejs/undici/pull/4028) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;4062](https://github.com/nodejs/undici/pull/4062) - fix: fix EnvHttpProxyAgent for the Node.js bundle by [@&#8203;joyeecheung](https://github.com/joyeecheung) in [#&#8203;4064](https://github.com/nodejs/undici/pull/4064) #### New Contributors - [@&#8203;zuozp8](https://github.com/zuozp8) made their first contribution in [#&#8203;4014](https://github.com/nodejs/undici/pull/4014) - [@&#8203;tmair](https://github.com/tmair) made their first contribution in [#&#8203;4030](https://github.com/nodejs/undici/pull/4030) - [@&#8203;shivarm](https://github.com/shivarm) made their first contribution in [#&#8203;4037](https://github.com/nodejs/undici/pull/4037) - [@&#8203;frederikprijck](https://github.com/frederikprijck) made their first contribution in [#&#8203;4036](https://github.com/nodejs/undici/pull/4036) - [@&#8203;joyeecheung](https://github.com/joyeecheung) made their first contribution in [#&#8203;4064](https://github.com/nodejs/undici/pull/4064) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.3.0...v7.4.0> ### [`v7.3.0`](https://github.com/nodejs/undici/releases/tag/v7.3.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.2.3...v7.3.0) #### What's Changed - fix: sqlite null ref by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;4016](https://github.com/nodejs/undici/pull/4016) - fix: sqlite remove unnecessary parameter by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;4017](https://github.com/nodejs/undici/pull/4017) - feat: sqlite add set and minor cleanup by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;4018](https://github.com/nodejs/undici/pull/4018) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.2.3...v7.3.0> ### [`v7.2.3`](https://github.com/nodejs/undici/releases/tag/v7.2.3) [Compare Source](https://github.com/nodejs/undici/compare/v7.2.2...v7.2.3) ### ⚠️ Security Release ⚠️ Fixes CVE CVE-2025-22150 <https://github.com/nodejs/undici/security/advisories/GHSA-c76h-2ccp-4975> (embargoed until 22-01-2025). #### What's Changed - Fix typo in update cache tests action by [@&#8203;flakey5](https://github.com/flakey5) in [#&#8203;4008](https://github.com/nodejs/undici/pull/4008) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.2.2...v7.2.3> ### [`v7.2.2`](https://github.com/nodejs/undici/releases/tag/v7.2.2) [Compare Source](https://github.com/nodejs/undici/compare/v7.2.1...v7.2.2) #### What's Changed - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3991](https://github.com/nodejs/undici/pull/3991) - fix: dual-stack retries infinite loop by [@&#8203;luddd3](https://github.com/luddd3) in [#&#8203;4001](https://github.com/nodejs/undici/pull/4001) - build(deps): bump codecov/codecov-action from 5.0.7 to 5.1.2 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3980](https://github.com/nodejs/undici/pull/3980) - build(deps): bump github/codeql-action from 3.27.0 to 3.28.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;4003](https://github.com/nodejs/undici/pull/4003) - tests: Update Cache Tests by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3965](https://github.com/nodejs/undici/pull/3965) - ReadableStreamFrom pull until cannot on empty enqueu by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;4002](https://github.com/nodejs/undici/pull/4002) - Resolve circular dependency by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;4006](https://github.com/nodejs/undici/pull/4006) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.2.1...v7.2.2> ### [`v7.2.1`](https://github.com/nodejs/undici/releases/tag/v7.2.1) [Compare Source](https://github.com/nodejs/undici/compare/v7.2.0...v7.2.1) #### What's Changed - fix(3951): typo on errorede dns lookup by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3956](https://github.com/nodejs/undici/pull/3956) - feat: add missing error type by [@&#8203;Gigioliva](https://github.com/Gigioliva) in [#&#8203;3964](https://github.com/nodejs/undici/pull/3964) - websocket: improve frame parsing by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;3447](https://github.com/nodejs/undici/pull/3447) - fix([#&#8203;3966](https://github.com/nodejs/undici/issues/3966)): account for network errors by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3967](https://github.com/nodejs/undici/pull/3967) - build(deps-dev): bump [@&#8203;fastify/busboy](https://github.com/fastify/busboy) from 3.1.0 to 3.1.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3971](https://github.com/nodejs/undici/pull/3971) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3954](https://github.com/nodejs/undici/pull/3954) - docs: fix dispatcher stream example links by [@&#8203;luddd3](https://github.com/luddd3) in [#&#8203;3972](https://github.com/nodejs/undici/pull/3972) - fix: `undici:request:headers` does not indicate completion of a response by [@&#8203;legendecas](https://github.com/legendecas) in [#&#8203;3974](https://github.com/nodejs/undici/pull/3974) - build(deps): bump cronometro from 3.0.2 to 4.0.1 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3976](https://github.com/nodejs/undici/pull/3976) - fix([#&#8203;3975](https://github.com/nodejs/undici/issues/3975)): do not unref timeout by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3977](https://github.com/nodejs/undici/pull/3977) - fix: bad response on h2 server by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3978](https://github.com/nodejs/undici/pull/3978) - build(deps): bump peter-evans/create-pull-request from 7.0.5 to 7.0.6 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3981](https://github.com/nodejs/undici/pull/3981) - build(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3983](https://github.com/nodejs/undici/pull/3983) - chore: ensure automated v7 release compared to v7 by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;3986](https://github.com/nodejs/undici/pull/3986) - test: ignore test for CITGM by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3993](https://github.com/nodejs/undici/pull/3993) - fix: retry flaky test by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3992](https://github.com/nodejs/undici/pull/3992) #### New Contributors - [@&#8203;legendecas](https://github.com/legendecas) made their first contribution in [#&#8203;3974](https://github.com/nodejs/undici/pull/3974) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.2.0...v7.2.1> ### [`v7.2.0`](https://github.com/nodejs/undici/releases/tag/v7.2.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.1.1...v7.2.0) #### What's Changed - fix: dns interceptor undefined function by [@&#8203;luddd3](https://github.com/luddd3) in [#&#8203;3958](https://github.com/nodejs/undici/pull/3958) - More cache fixes by [@&#8203;flakey5](https://github.com/flakey5) in [#&#8203;3955](https://github.com/nodejs/undici/pull/3955) - \[Release] v7.2.0 by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3962](https://github.com/nodejs/undici/pull/3962) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.1.1...v7.2.0> ### [`v7.1.1`](https://github.com/nodejs/undici/releases/tag/v7.1.1) [Compare Source](https://github.com/nodejs/undici/compare/v7.1.0...v7.1.1) #### What's Changed - fix: publish undici:client:sendHeaders message on H2 by [@&#8203;fengmk2](https://github.com/fengmk2) in [#&#8203;3921](https://github.com/nodejs/undici/pull/3921) - Add support schedule by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;3923](https://github.com/nodejs/undici/pull/3923) - cache: do not set undefined etag by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;3925](https://github.com/nodejs/undici/pull/3925) - test: cleanup cache tests by [@&#8203;flakey5](https://github.com/flakey5) in [#&#8203;3926](https://github.com/nodejs/undici/pull/3926) - fix mimetype parser wrong operator by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;3924](https://github.com/nodejs/undici/pull/3924) - correctly set if-none-match by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;3933](https://github.com/nodejs/undici/pull/3933) - Add example for `request` + "Garbage Collection" by [@&#8203;WTCT-TOP](https://github.com/WTCT-TOP) in [#&#8203;3916](https://github.com/nodejs/undici/pull/3916) - fix: response error interceptor by [@&#8203;Gigioliva](https://github.com/Gigioliva) in [#&#8203;3930](https://github.com/nodejs/undici/pull/3930) - build(deps-dev): bump neostandard from 0.11.9 to 0.12.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3938](https://github.com/nodejs/undici/pull/3938) - fix([#&#8203;3937](https://github.com/nodejs/undici/issues/3937)): respect correct host header by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3940](https://github.com/nodejs/undici/pull/3940) - fix: handle case no content type by [@&#8203;Gigioliva](https://github.com/Gigioliva) in [#&#8203;3931](https://github.com/nodejs/undici/pull/3931) - support array of headers in WrapHandler by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3941](https://github.com/nodejs/undici/pull/3941) - build(deps): bump step-security/harden-runner from 2.10.1 to 2.10.2 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3911](https://github.com/nodejs/undici/pull/3911) - test: Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3888](https://github.com/nodejs/undici/pull/3888) - build(deps-dev): bump [@&#8203;fastify/busboy](https://github.com/fastify/busboy) from 3.0.0 to 3.1.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3939](https://github.com/nodejs/undici/pull/3939) - Support SQLite unflagged without useless warnings by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;3947](https://github.com/nodejs/undici/pull/3947) - docs: enhance documentation by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3945](https://github.com/nodejs/undici/pull/3945) #### New Contributors - [@&#8203;WTCT-TOP](https://github.com/WTCT-TOP) made their first contribution in [#&#8203;3916](https://github.com/nodejs/undici/pull/3916) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.1.0...v7.1.1> ### [`v7.1.0`](https://github.com/nodejs/undici/releases/tag/v7.1.0) [Compare Source](https://github.com/nodejs/undici/compare/v7.0.0...v7.1.0) #### What's Changed - Mark http/2 support as stable by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;3893](https://github.com/nodejs/undici/pull/3893) - test: fix dns interceptor flakiness by [@&#8203;luddd3](https://github.com/luddd3) in [#&#8203;3902](https://github.com/nodejs/undici/pull/3902) - fix([#&#8203;3901](https://github.com/nodejs/undici/issues/3901)): migrate dns interceptor to new hooks by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3903](https://github.com/nodejs/undici/pull/3903) - feat(interceptors): migrate decorator handler to new hooks by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3905](https://github.com/nodejs/undici/pull/3905) - feat: Adjust allowed error codes for detecting node:sqlite by [@&#8203;xconverge](https://github.com/xconverge) in [#&#8203;3900](https://github.com/nodejs/undici/pull/3900) - build(deps): bump actions/dependency-review-action from 4.4.0 to 4.5.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3913](https://github.com/nodejs/undici/pull/3913) - build(deps): bump codecov/codecov-action from 4.6.0 to 5.0.7 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3910](https://github.com/nodejs/undici/pull/3910) - Move Tomas to past collaborators by [@&#8203;delvedor](https://github.com/delvedor) in [#&#8203;3909](https://github.com/nodejs/undici/pull/3909) - docs: add advanced usage examples for ProxyAgent by [@&#8203;mertcanaltin](https://github.com/mertcanaltin) in [#&#8203;3906](https://github.com/nodejs/undici/pull/3906) - \[Release] v7.1.0 by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3922](https://github.com/nodejs/undici/pull/3922) **Full Changelog**: <https://github.com/nodejs/undici/compare/v7.0.0...v7.1.0> ### [`v7.0.0`](https://github.com/nodejs/undici/releases/tag/v7.0.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.29.0...v7.0.0) #### What's Changed - fetch: fix content-encoding order by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;3343](https://github.com/nodejs/undici/pull/3343) - Add regression test for broken body by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;3346](https://github.com/nodejs/undici/pull/3346) - build(deps): bump node from `075a5cc` to `9af472b` in /build by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3355](https://github.com/nodejs/undici/pull/3355) - fix: post request signal by [@&#8203;Gigioliva](https://github.com/Gigioliva) in [#&#8203;3354](https://github.com/nodejs/undici/pull/3354) - Revert "fix: post request signal ([#&#8203;3354](https://github.com/nodejs/undici/issues/3354))" by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3359](https://github.com/nodejs/undici/pull/3359) - websocket: don't use pooled buffer in mask pool by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;3357](https://github.com/nodejs/undici/pull/3357) - fix: consider bytes read when dumping by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3360](https://github.com/nodejs/undici/pull/3360) - refactor: simplify signal handling by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3362](https://github.com/nodejs/undici/pull/3362) - fix: use explicit flag for when use has interacted with stream by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3361](https://github.com/nodejs/undici/pull/3361) - Refactor example documentation structure and add CacheableLookup example by [@&#8203;DarkGL](https://github.com/DarkGL) in [#&#8203;3363](https://github.com/nodejs/undici/pull/3363) - refactor: simplify request error handling by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3364](https://github.com/nodejs/undici/pull/3364) - fix: ensure onConnect is always called by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3327](https://github.com/nodejs/undici/pull/3327) - Refactor responseHeader to responseHeaders by [@&#8203;DarkGL](https://github.com/DarkGL) in [#&#8203;3375](https://github.com/nodejs/undici/pull/3375) - fix: don't override user defined MaxListeners by [@&#8203;fawazahmed0](https://github.com/fawazahmed0) in [#&#8203;3372](https://github.com/nodejs/undici/pull/3372) - fix: forward dispatch return value by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3368](https://github.com/nodejs/undici/pull/3368) - build(deps): bump github/codeql-action from 3.25.7 to 3.25.11 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3382](https://github.com/nodejs/undici/pull/3382) - build(deps): bump codecov/codecov-action from 4.4.1 to 4.5.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3384](https://github.com/nodejs/undici/pull/3384) - build(deps): bump actions/dependency-review-action from 4.3.2 to 4.3.3 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3383](https://github.com/nodejs/undici/pull/3383) - build(deps): bump step-security/harden-runner from 2.8.0 to 2.8.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3381](https://github.com/nodejs/undici/pull/3381) - fix: throw on retry when payload is consume by downstream by [@&#8203;climba03003](https://github.com/climba03003) in [#&#8203;3389](https://github.com/nodejs/undici/pull/3389) - Remove file by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3367](https://github.com/nodejs/undici/pull/3367) - build(deps): bump node from `9af472b` to `138d0b5` in /build by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3392](https://github.com/nodejs/undici/pull/3392) - feat!: upgrade llhttp to 9.2.0 ([#&#8203;2705](https://github.com/nodejs/undici/issues/2705)) by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3388](https://github.com/nodejs/undici/pull/3388) - websocket: reduce memory usage by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;3393](https://github.com/nodejs/undici/pull/3393) - feat: implement `BodyReadable.bytes` by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;3391](https://github.com/nodejs/undici/pull/3391) - websocket: avoid using Buffer.byteLength by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;3394](https://github.com/nodejs/undici/pull/3394) - separate whatwg websocket logic from rfc 6455 by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3396](https://github.com/nodejs/undici/pull/3396) - websocket: add fast-path for string input by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;3395](https://github.com/nodejs/undici/pull/3395) - Add generic type for opaque object by [@&#8203;jfhr](https://github.com/jfhr) in [#&#8203;3385](https://github.com/nodejs/undici/pull/3385) - build(deps): bump node from `138d0b5` to `67225d4` in /build by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3398](https://github.com/nodejs/undici/pull/3398) - interceptors: move throwOnError to interceptor by [@&#8203;mertcanaltin](https://github.com/mertcanaltin) in [#&#8203;3331](https://github.com/nodejs/undici/pull/3331) - chore!: drop interceptors by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3399](https://github.com/nodejs/undici/pull/3399) - build(deps-dev): bump [@&#8203;fastify/busboy](https://github.com/fastify/busboy) from 2.1.1 to 3.0.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3404](https://github.com/nodejs/undici/pull/3404) - fix: don't call onConnect automatically by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3407](https://github.com/nodejs/undici/pull/3407) - In CITGM, skip tests that are flaky there by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;3413](https://github.com/nodejs/undici/pull/3413) - Update esbuild to 0.19.10 by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;3415](https://github.com/nodejs/undici/pull/3415) - Fix signature of RetryHandler by [@&#8203;JbIPS](https://github.com/JbIPS) in [#&#8203;3416](https://github.com/nodejs/undici/pull/3416) - docs: fix ToC in CONTRIBUTING.md by [@&#8203;richardlau](https://github.com/richardlau) in [#&#8203;3420](https://github.com/nodejs/undici/pull/3420) - Fix fetch `duplex` docs by [@&#8203;Ethan-Arrowood](https://github.com/Ethan-Arrowood) in [#&#8203;3422](https://github.com/nodejs/undici/pull/3422) - fix: restore externalized Node.js dep compatibility by [@&#8203;richardlau](https://github.com/richardlau) in [#&#8203;3421](https://github.com/nodejs/undici/pull/3421) - fix: cast falsy servername to null to avoid falsy inequality by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3426](https://github.com/nodejs/undici/pull/3426) - Add backport action by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;3427](https://github.com/nodejs/undici/pull/3427) - build(deps): bump node from `67225d4` to `858234a` in /build by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3411](https://github.com/nodejs/undici/pull/3411) - build(deps): bump github/codeql-action from 3.25.11 to 3.25.15 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3432](https://github.com/nodejs/undici/pull/3432) - build(deps): bump actions/dependency-review-action from 4.3.3 to 4.3.4 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3431](https://github.com/nodejs/undici/pull/3431) - build(deps): bump actions/upload-artifact from 4.3.3 to 4.3.4 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3430](https://github.com/nodejs/undici/pull/3430) - build(deps): bump ossf/scorecard-action from 2.3.3 to 2.4.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3428](https://github.com/nodejs/undici/pull/3428) - build(deps): bump step-security/harden-runner from 2.8.1 to 2.9.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3429](https://github.com/nodejs/undici/pull/3429) - build(deps): bump superagent from 9.0.2 to 10.0.0 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3439](https://github.com/nodejs/undici/pull/3439) - build(deps): bump node from `17e6738` to `30c5be9` in /build by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3443](https://github.com/nodejs/undici/pull/3443) - docs: use default link of Web Streams API by [@&#8203;trivikr](https://github.com/trivikr) in [#&#8203;3446](https://github.com/nodejs/undici/pull/3446) - fix: increased memory in finalization first appearing in v6.16.0 by [@&#8203;snyamathi](https://github.com/snyamathi) in [#&#8203;3445](https://github.com/nodejs/undici/pull/3445) - test: add test for memory leak by [@&#8203;snyamathi](https://github.com/snyamathi) in [#&#8203;3450](https://github.com/nodejs/undici/pull/3450) - build: parametrize the location of wasm-opt by [@&#8203;khardix](https://github.com/khardix) in [#&#8203;3454](https://github.com/nodejs/undici/pull/3454) - test: streamline test scripts in regard of without-intl and run more tests for without-intl case by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3453](https://github.com/nodejs/undici/pull/3453) - feat!: drop throwOnError by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3451](https://github.com/nodejs/undici/pull/3451) - types: allow non strict HTTPMethod by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3457](https://github.com/nodejs/undici/pull/3457) - build(deps-dev): bump borp from 0.15.0 to 0.17.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3424](https://github.com/nodejs/undici/pull/3424) - remove core isErrored and isReadable by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3459](https://github.com/nodejs/undici/pull/3459) - use bodyUnusable to check if body is unusable by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3460](https://github.com/nodejs/undici/pull/3460) - perf: non-recursive implementation of euclidian gcd in balanced pool by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3461](https://github.com/nodejs/undici/pull/3461) - fix: do validation first before actual business logic, like super() by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3463](https://github.com/nodejs/undici/pull/3463) - use FinalizationRegistry for cloned response body by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3458](https://github.com/nodejs/undici/pull/3458) - perf: use isIPv6 for checking if hostname is isIPv6 by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3466](https://github.com/nodejs/undici/pull/3466) - fix: stripURLForReferrer jsdoc in fetch logic by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3471](https://github.com/nodejs/undici/pull/3471) - fix: remove kInterceptors in ProxyAgent by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3474](https://github.com/nodejs/undici/pull/3474) - fix: fix codesmells in retry-handler by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3475](https://github.com/nodejs/undici/pull/3475) - add autocompletable header types by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3462](https://github.com/nodejs/undici/pull/3462) - fix: add missing kOriginalDispatch Symbol in mock-logic by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3470](https://github.com/nodejs/undici/pull/3470) - fix: fix jsdoc in cookies/parse.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3469](https://github.com/nodejs/undici/pull/3469) - fix: remove unnecessary parameters in USVString calls by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3467](https://github.com/nodejs/undici/pull/3467) - fix: add jsdoc in tree.js, avoiding codesmells by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3476](https://github.com/nodejs/undici/pull/3476) - perf: set isLowerCase param on all calls of HeadersList.append by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3468](https://github.com/nodejs/undici/pull/3468) - fix: instantiation of ResponseError, pass headers and data correctly by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3472](https://github.com/nodejs/undici/pull/3472) - ci: add WPT updater by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3482](https://github.com/nodejs/undici/pull/3482) - meta: move nightly comment body to issue body by [@&#8203;RedYetiDev](https://github.com/RedYetiDev) in [#&#8203;3484](https://github.com/nodejs/undici/pull/3484) - chore: improve jsdoc in cookies by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3478](https://github.com/nodejs/undici/pull/3478) - chore: improve jsdoc and minor changes in EventSource by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3480](https://github.com/nodejs/undici/pull/3480) - types: add Autocomplete utility type by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3479](https://github.com/nodejs/undici/pull/3479) - fix: instantiation of SecureProxyConnectionError should pass options to parent class by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3473](https://github.com/nodejs/undici/pull/3473) - chore: replace standard and snazzy with neostandard by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3485](https://github.com/nodejs/undici/pull/3485) - fix: workflow commit user by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;3491](https://github.com/nodejs/undici/pull/3491) - build(deps): bump node from `30c5be9` to `a20e858` in /build by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3496](https://github.com/nodejs/undici/pull/3496) - chore: add --noEmit for typescript tests by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3498](https://github.com/nodejs/undici/pull/3498) - perf: only create wasm buffer if requested by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3499](https://github.com/nodejs/undici/pull/3499) - fix(types): MockAgent accepts ProxyAgent, EnvHttpProxyAgent and RetryAgent for agent option by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3497](https://github.com/nodejs/undici/pull/3497) - stricter Headers brand checks in cookies by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3500](https://github.com/nodejs/undici/pull/3500) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3488](https://github.com/nodejs/undici/pull/3488) - fix: setEncoding should not throw on body [#&#8203;1125](https://github.com/nodejs/undici/issues/1125) by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3505](https://github.com/nodejs/undici/pull/3505) - websocket: set websocket readyState on fail by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3507](https://github.com/nodejs/undici/pull/3507) - build(deps-dev): bump jsdom from 24.1.3 to 25.0.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3511](https://github.com/nodejs/undici/pull/3511) - build(deps): bump wait-on from 7.2.0 to 8.0.0 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3513](https://github.com/nodejs/undici/pull/3513) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3515](https://github.com/nodejs/undici/pull/3515) - fix: reduce memory usage in client-h1 by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3510](https://github.com/nodejs/undici/pull/3510) - fix: refactor fast timers, fix UND\_ERR\_CONNECT\_TIMEOUT on event loop blocking by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3495](https://github.com/nodejs/undici/pull/3495) - ci: make autobahn workflow reusable workflow, run the autobahn on nightly tests by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3503](https://github.com/nodejs/undici/pull/3503) - remove third party everything support in fetch by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3502](https://github.com/nodejs/undici/pull/3502) - remove double validation in webidl by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3516](https://github.com/nodejs/undici/pull/3516) - test: improve gc detection by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3504](https://github.com/nodejs/undici/pull/3504) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3519](https://github.com/nodejs/undici/pull/3519) - populate defaultValues in webidl dict. converter when passing null or undefined by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3518](https://github.com/nodejs/undici/pull/3518) - change webidl.util.Type return to an enum value by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3520](https://github.com/nodejs/undici/pull/3520) - set default argument values to undefined instead of {} by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3521](https://github.com/nodejs/undici/pull/3521) - ci: fix nightly workflow by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3525](https://github.com/nodejs/undici/pull/3525) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3527](https://github.com/nodejs/undici/pull/3527) - remove unused symbol by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3530](https://github.com/nodejs/undici/pull/3530) - fix formdata arg validation by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3529](https://github.com/nodejs/undici/pull/3529) - build(deps): bump github/codeql-action from 3.25.15 to 3.26.6 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3534](https://github.com/nodejs/undici/pull/3534) - build(deps): bump hendrikmuhs/ccache-action from 1.2.13 to 1.2.14 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3536](https://github.com/nodejs/undici/pull/3536) - build(deps): bump step-security/harden-runner from 2.9.0 to 2.9.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3535](https://github.com/nodejs/undici/pull/3535) - build(deps): bump actions/upload-artifact from 4.3.4 to 4.4.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3537](https://github.com/nodejs/undici/pull/3537) - Remove patched DOM types by [@&#8203;eXhumer](https://github.com/eXhumer) in [#&#8203;3533](https://github.com/nodejs/undici/pull/3533) - chore: minor changes in client-h1, use subarray instead of slice by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3538](https://github.com/nodejs/undici/pull/3538) - fix: run asserts first if possible by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3541](https://github.com/nodejs/undici/pull/3541) - build(deps): bump node from `a20e858` to `a17f484` in /build by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3542](https://github.com/nodejs/undici/pull/3542) - chore: noop per file by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3544](https://github.com/nodejs/undici/pull/3544) - build(deps): bump node from `a17f484` to `ef7b4bb` in /build by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3547](https://github.com/nodejs/undici/pull/3547) - chore: rename buildUrl to serializePathWithQuery + jsdoc by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3545](https://github.com/nodejs/undici/pull/3545) - fix: add jsdoc and do minor changes in utils.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3550](https://github.com/nodejs/undici/pull/3550) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3556](https://github.com/nodejs/undici/pull/3556) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3561](https://github.com/nodejs/undici/pull/3561) - feat: jsdoc and minor optimizations in client-h1.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3551](https://github.com/nodejs/undici/pull/3551) - fix: handle websocket closed correctly by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3565](https://github.com/nodejs/undici/pull/3565) - fix: extract noop everywhere by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3559](https://github.com/nodejs/undici/pull/3559) - chore: add jsdoc for lib/web/websocket/util.js, minor rewrite of utf8Decode by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3563](https://github.com/nodejs/undici/pull/3563) - jsdoc: lib/api/readable.js, fix some types by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3567](https://github.com/nodejs/undici/pull/3567) - fix: use fasttimers for all connection timeouts by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3552](https://github.com/nodejs/undici/pull/3552) - chore: use 'use strict' in cjs files by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3568](https://github.com/nodejs/undici/pull/3568) - chore: update typescript testing deps by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3571](https://github.com/nodejs/undici/pull/3571) - build(deps)!: bump concurrently from 8.2.2 to 9.0.0 in /benchmarks (node < 18 unsupported) by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3574](https://github.com/nodejs/undici/pull/3574) - build(deps): bump node from `ef7b4bb` to `3cb4748` in /build by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3573](https://github.com/nodejs/undici/pull/3573) - chore: improve jsdoc of lib/core/tree.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3572](https://github.com/nodejs/undici/pull/3572) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3576](https://github.com/nodejs/undici/pull/3576) - jsdoc: improve typing of deepClone by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3575](https://github.com/nodejs/undici/pull/3575) - chore: improve jsdoc of lib/core/constants.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3570](https://github.com/nodejs/undici/pull/3570) - chore: upgrade fixed queue, lint accordingly, add jsdoc by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3577](https://github.com/nodejs/undici/pull/3577) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3581](https://github.com/nodejs/undici/pull/3581) - ci: less flaky test/request-timeout.js test by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3580](https://github.com/nodejs/undici/pull/3580) - chore: remove pluralizer by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3586](https://github.com/nodejs/undici/pull/3586) - util: rename validateHandler to assertRequestHandler, minor changes in util.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3583](https://github.com/nodejs/undici/pull/3583) - mock: remove Error.captureStackTrace in MockNotMatchedError by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3587](https://github.com/nodejs/undici/pull/3587) - fix: DRY up lib/core/diagnostics.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3585](https://github.com/nodejs/undici/pull/3585) - fix: husky deprecation warning by [@&#8203;eXhumer](https://github.com/eXhumer) in [#&#8203;3593](https://github.com/nodejs/undici/pull/3593) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3598](https://github.com/nodejs/undici/pull/3598) - chore: remove unused `pre-commit` dependency by [@&#8203;eXhumer](https://github.com/eXhumer) in [#&#8203;3599](https://github.com/nodejs/undici/pull/3599) - diagnostics-channel: use not deprecated subscribe fn by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3600](https://github.com/nodejs/undici/pull/3600) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3607](https://github.com/nodejs/undici/pull/3607) - fetch: make fullyReadBody sync by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3603](https://github.com/nodejs/undici/pull/3603) - jsdoc: add jsdoc to lib/web/fetch/constants.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3597](https://github.com/nodejs/undici/pull/3597) - fetch: pullAlgorithm passes the async resume function through by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3604](https://github.com/nodejs/undici/pull/3604) - fix: typo in Client.md by [@&#8203;SkeLLLa](https://github.com/SkeLLLa) in [#&#8203;3612](https://github.com/nodejs/undici/pull/3612) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3615](https://github.com/nodejs/undici/pull/3615) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3622](https://github.com/nodejs/undici/pull/3622) - fetch: avoid async function in mainFetch to generate response by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3605](https://github.com/nodejs/undici/pull/3605) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3626](https://github.com/nodejs/undici/pull/3626) - append crlf to formdata body by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3625](https://github.com/nodejs/undici/pull/3625) - fix: fire `close` on failed WebSocket connection by [@&#8203;eXhumer](https://github.com/eXhumer) in [#&#8203;3566](https://github.com/nodejs/undici/pull/3566) - fix: fire close on failed WebSocket connection by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3628](https://github.com/nodejs/undici/pull/3628) - handle body errors by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3632](https://github.com/nodejs/undici/pull/3632) - make cloned request inherit dispatcher by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3631](https://github.com/nodejs/undici/pull/3631) - Remove symbols from web specs by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3633](https://github.com/nodejs/undici/pull/3633) - cleanup web symbol removal by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3638](https://github.com/nodejs/undici/pull/3638) - build(deps): bump mitata from 0.1.14 to 1.0.4 in /benchmarks by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3641](https://github.com/nodejs/undici/pull/3641) - feat: implement WebSocketStream by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3560](https://github.com/nodejs/undici/pull/3560) - export WebSocketStream, add docs and types by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3645](https://github.com/nodejs/undici/pull/3645) - build(deps): bump node from `3cb4748` to `83b4d7b` in /build by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3621](https://github.com/nodejs/undici/pull/3621) - feat: add DNS interceptor by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3490](https://github.com/nodejs/undici/pull/3490) - prefer fail over close the websocket connection in error cases by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3651](https://github.com/nodejs/undici/pull/3651) - fix: various typos by [@&#8203;NathanBaulch](https://github.com/NathanBaulch) in [#&#8203;3640](https://github.com/nodejs/undici/pull/3640) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3634](https://github.com/nodejs/undici/pull/3634) - test: increase bitness in `test/fixtures/*.pem` by [@&#8203;LiviaMedeiros](https://github.com/LiviaMedeiros) in [#&#8203;3659](https://github.com/nodejs/undici/pull/3659) - mock: fix mocking of Uint8Array and ArrayBuffers as provided mock-responses by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3662](https://github.com/nodejs/undici/pull/3662) - test: less flaky timers acceptance test, rework fast timer tests to pass them faster by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3656](https://github.com/nodejs/undici/pull/3656) - build(deps): bump github/codeql-action from 3.26.6 to 3.26.10 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3664](https://github.com/nodejs/undici/pull/3664) - build(deps): bump peter-evans/create-pull-request from 6.1.0 to 7.0.5 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3665](https://github.com/nodejs/undici/pull/3665) - build(deps): bump fastify/github-action-merge-dependabot from 3.10.1 to 3.10.2 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3667](https://github.com/nodejs/undici/pull/3667) - build(deps): bump codecov/codecov-action from 4.5.0 to 4.6.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3668](https://github.com/nodejs/undici/pull/3668) - ws: move implementation agnostic onFail logic to shared function by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3663](https://github.com/nodejs/undici/pull/3663) - build(deps): bump step-security/harden-runner from 2.9.1 to 2.10.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3666](https://github.com/nodejs/undici/pull/3666) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3669](https://github.com/nodejs/undici/pull/3669) - fix: add option `ignoreTrailingSlash` to MockAgent and `.intercept()` by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3655](https://github.com/nodejs/undici/pull/3655) - fix: ignore leading and trailing crlfs in formdata body by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3677](https://github.com/nodejs/undici/pull/3677) - test: add test to ensure full type when parsing multipart/form-data' by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3683](https://github.com/nodejs/undici/pull/3683) - test: use globalThis.Headers and skip if is missing by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3684](https://github.com/nodejs/undici/pull/3684) - jsdoc: adds some jsdoc to fetch headers implementation, minor changes by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3687](https://github.com/nodejs/undici/pull/3687) - feat: check maxHeadersSize on client instantiation and not on Parser instantion by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3654](https://github.com/nodejs/undici/pull/3654) - test: remove test for issue 1670 by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3690](https://github.com/nodejs/undici/pull/3690) - replace instanceof in brand checks with isPrototypeOf by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3692](https://github.com/nodejs/undici/pull/3692) - test: make fetch test independent from internet connection by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3691](https://github.com/nodejs/undici/pull/3691) - build(deps-dev): bump esbuild from 0.19.12 to 0.24.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3698](https://github.com/nodejs/undici/pull/3698) - fix: restructure determineRequestsReferrer to match better spec by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3699](https://github.com/nodejs/undici/pull/3699) - set ws readyState if closed before connection could be established by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3701](https://github.com/nodejs/undici/pull/3701) - types: fix return type of WebidlUtil.Type by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3685](https://github.com/nodejs/undici/pull/3685) - fetch: refactor referrer policy util functions by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3706](https://github.com/nodejs/undici/pull/3706) - fix: PoolBase kClose and kDestroy should await and not return the Promise by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3716](https://github.com/nodejs/undici/pull/3716) - fix: data-url set extractValue of collectAnHTTPQuotedString by default to false by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3717](https://github.com/nodejs/undici/pull/3717) - faster brand check by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;3720](https://github.com/nodejs/undici/pull/3720) - web: mark as uncloneable when possible by [@&#8203;jazelly](https://github.com/jazelly) in [#&#8203;3709](https://github.com/nodejs/undici/pull/3709) - chore(H2): onboard H2 into Undici queueing system by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3707](https://github.com/nodejs/undici/pull/3707) - http: extract listeners from client-h1 by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3725](https://github.com/nodejs/undici/pull/3725) - http2: extract listenHandlers and one bugfix by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3722](https://github.com/nodejs/undici/pull/3722) - feat: http caching by [@&#8203;flakey5](https://github.com/flakey5) in [#&#8203;3562](https://github.com/nodejs/undici/pull/3562) - build(deps-dev): bump borp from 0.17.0 to 0.18.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3734](https://github.com/nodejs/undici/pull/3734) - docs: fix broken link in readme by [@&#8203;pastelsky](https://github.com/pastelsky) in [#&#8203;3591](https://github.com/nodejs/undici/pull/3591) - chore: add jsdoc to lib/web/websocket/constants.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3564](https://github.com/nodejs/undici/pull/3564) - chore: remove redundant async in readable.js by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3643](https://github.com/nodejs/undici/pull/3643) - fix(types): add missing `cache` prop to RequestInit by [@&#8203;rindeal](https://github.com/rindeal) in [#&#8203;3569](https://github.com/nodejs/undici/pull/3569) - \[http-cache] follow up by [@&#8203;Uzlopak](https://github.com/Uzlopak) in [#&#8203;3733](https://github.com/nodejs/undici/pull/3733) - fix([#&#8203;3736](https://github.com/nodejs/undici/issues/3736)): leaked error event on response body by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3740](https://github.com/nodejs/undici/pull/3740) - fix: unsafe methods not causing cache purge by [@&#8203;flakey5](https://github.com/flakey5) in [#&#8203;3739](https://github.com/nodejs/undici/pull/3739) - build(deps): bump node from `83b4d7b` to `f1b4315` in /build by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3756](https://github.com/nodejs/undici/pull/3756) - fix filename\* parsing by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3768](https://github.com/nodejs/undici/pull/3768) - fix http2 test by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3769](https://github.com/nodejs/undici/pull/3769) - add unsafe-url referrerPolicy test by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3772](https://github.com/nodejs/undici/pull/3772) - chore(docs): add request() example for conditionally reading the body by [@&#8203;styfle](https://github.com/styfle) in [#&#8203;3743](https://github.com/nodejs/undici/pull/3743) - fix: dns interceptor ip ttl by [@&#8203;luddd3](https://github.com/luddd3) in [#&#8203;3770](https://github.com/nodejs/undici/pull/3770) - add node v23 workflow by [@&#8203;tsctx](https://github.com/tsctx) in [#&#8203;3780](https://github.com/nodejs/undici/pull/3780) - fix: dns interceptor affinity by [@&#8203;luddd3](https://github.com/luddd3) in [#&#8203;3778](https://github.com/nodejs/undici/pull/3778) - fix aborting Streams by [@&#8203;epistemancering](https://github.com/epistemancering) in [#&#8203;3754](https://github.com/nodejs/undici/pull/3754) - add tests from cookie package by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3789](https://github.com/nodejs/undici/pull/3789) - disable failing test by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3782](https://github.com/nodejs/undici/pull/3782) - fix: http2 queueing by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3761](https://github.com/nodejs/undici/pull/3761) - test(interceptors): fix dns testing on windows by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3793](https://github.com/nodejs/undici/pull/3793) - feat: use resolved ports in dns interceptor by [@&#8203;luddd3](https://github.com/luddd3) in [#&#8203;3786](https://github.com/nodejs/undici/pull/3786) - fix: cache by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3804](https://github.com/nodejs/undici/pull/3804) - fix: assume blocking unless HEAD by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3771](https://github.com/nodejs/undici/pull/3771) - chore: use common WASM builder by [@&#8203;mhdawson](https://github.com/mhdawson) in [#&#8203;3791](https://github.com/nodejs/undici/pull/3791) - refactor: silence neostandard import rules error by [@&#8203;jerome-benoit](https://github.com/jerome-benoit) in [#&#8203;3776](https://github.com/nodejs/undici/pull/3776) - build(deps): bump actions/dependency-review-action from 4.3.4 to 4.4.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3797](https://github.com/nodejs/undici/pull/3797) - build(deps): bump github/codeql-action from 3.26.10 to 3.27.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3796](https://github.com/nodejs/undici/pull/3796) - build(deps): bump fastify/github-action-merge-dependabot from 3.10.2 to 3.11.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3795](https://github.com/nodejs/undici/pull/3795) - docs: add example using proxy with fetch by [@&#8203;dancastillo](https://github.com/dancastillo) in [#&#8203;3800](https://github.com/nodejs/undici/pull/3800) - fix: handle Headers in RedirectHandler by [@&#8203;iiAku](https://github.com/iiAku) in [#&#8203;3777](https://github.com/nodejs/undici/pull/3777) - Skip debuglog tests by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;3810](https://github.com/nodejs/undici/pull/3810) - build(deps): bump actions/upload-artifact from 4.4.0 to 4.4.3 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3794](https://github.com/nodejs/undici/pull/3794) - h2: do not emit data after goaway by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;3811](https://github.com/nodejs/undici/pull/3811) - fix redirect interceptor with FormData body by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3815](https://github.com/nodejs/undici/pull/3815) - docs: fix broken links in undici webpage by [@&#8203;dancastillo](https://github.com/dancastillo) in [#&#8203;3807](https://github.com/nodejs/undici/pull/3807) - fix: handle undici Headers and Maps in redirect-handler by [@&#8203;iiAku](https://github.com/iiAku) in [#&#8203;3819](https://github.com/nodejs/undici/pull/3819) - fix: handle undefined deref() of WeakRef(socket) by [@&#8203;hochoy](https://github.com/hochoy) in [#&#8203;3751](https://github.com/nodejs/undici/pull/3751) - build(deps-dev): bump [@&#8203;sinonjs/fake-timers](https://github.com/sinonjs/fake-timers) from 11.3.1 to 12.0.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3823](https://github.com/nodejs/undici/pull/3823) - fix: range end is zero-indexed by [@&#8203;DTrombett](https://github.com/DTrombett) in [#&#8203;3826](https://github.com/nodejs/undici/pull/3826) - lib: more cache fixes by [@&#8203;flakey5](https://github.com/flakey5) in [#&#8203;3816](https://github.com/nodejs/undici/pull/3816) - fix: cache fixes by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3830](https://github.com/nodejs/undici/pull/3830) - Headers webidl errors by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3833](https://github.com/nodejs/undici/pull/3833) - Fix goaway by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;3835](https://github.com/nodejs/undici/pull/3835) - refactor: maxEntriesCount by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3832](https://github.com/nodejs/undici/pull/3832) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3693](https://github.com/nodejs/undici/pull/3693) - docs: fix broken links by using absolute path by [@&#8203;dancastillo](https://github.com/dancastillo) in [#&#8203;3820](https://github.com/nodejs/undici/pull/3820) - fix: memory store by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3834](https://github.com/nodejs/undici/pull/3834) - Update Dispatch.md to Dispatcher.md by [@&#8203;bcomnes](https://github.com/bcomnes) in [#&#8203;3839](https://github.com/nodejs/undici/pull/3839) - lib: add `nowAbsolute` to fast timers by [@&#8203;flakey5](https://github.com/flakey5) in [#&#8203;3749](https://github.com/nodejs/undici/pull/3749) - feat: cache etag support by [@&#8203;flakey5](https://github.com/flakey5) in [#&#8203;3758](https://github.com/nodejs/undici/pull/3758) - feat: support request cache control directives by [@&#8203;flakey5](https://github.com/flakey5) in [#&#8203;3658](https://github.com/nodejs/undici/pull/3658) - Bench updates prior to release by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;3845](https://github.com/nodejs/undici/pull/3845) - fix([#&#8203;3817](https://github.com/nodejs/undici/issues/3817)): send servername for SNI on TLS by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3821](https://github.com/nodejs/undici/pull/3821) - Revert nowAbsolute, add regression test by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;3850](https://github.com/nodejs/undici/pull/3850) - fix: missing error handler by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3859](https://github.com/nodejs/undici/pull/3859) - fix: 301 and 302 change method to GET by [@&#8203;DTrombett](https://github.com/DTrombett) in [#&#8203;3862](https://github.com/nodejs/undici/pull/3862) - feat: sqlite cache store by [@&#8203;flakey5](https://github.com/flakey5) in [#&#8203;3657](https://github.com/nodejs/undici/pull/3657) - fix: sending formdata bodies with http2 by [@&#8203;KhafraDev](https://github.com/KhafraDev) in [#&#8203;3863](https://github.com/nodejs/undici/pull/3863) - Update return type of RetryCallback by [@&#8203;mqayyuum](https://github.com/mqayyuum) in [#&#8203;3851](https://github.com/nodejs/undici/pull/3851) - fix: cleanup sqlite store by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3868](https://github.com/nodejs/undici/pull/3868) - refactor: sqlite versioning by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3870](https://github.com/nodejs/undici/pull/3870) - fix: pass down context in onConnect by [@&#8203;DTrombett](https://github.com/DTrombett) in [#&#8203;3858](https://github.com/nodejs/undici/pull/3858) - fix: cache fixes by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3871](https://github.com/nodejs/undici/pull/3871) - fix: we can redirect disturbed request body if it's not going to be used by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3873](https://github.com/nodejs/undici/pull/3873) - perf: only prune if adding new entry by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3872](https://github.com/nodejs/undici/pull/3872) - fix: Fixed the issue that there is no running request when http2 goaway by [@&#8203;ShenHongFei](https://github.com/ShenHongFei) in [#&#8203;3875](https://github.com/nodejs/undici/pull/3875) - feat: new hooks by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3878](https://github.com/nodejs/undici/pull/3878) - Multiple fixes for SQLiteStore, enable it in CI by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;3881](https://github.com/nodejs/undici/pull/3881) - Update WPT by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;3838](https://github.com/nodejs/undici/pull/3838) - cache: fix stale-while-revalidate and stale-if-error by [@&#8203;flakey5](https://github.com/flakey5) in [#&#8203;3865](https://github.com/nodejs/undici/pull/3865) - refactor: port redirect handler to new hooks by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3879](https://github.com/nodejs/undici/pull/3879) - Drop node v18 by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;3880](https://github.com/nodejs/undici/pull/3880) - build(deps-dev): bump borp from 0.18.0 to 0.19.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;3882](https://github.com/nodejs/undici/pull/3882) - perf: store data as blobs in sql cache by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3885](https://github.com/nodejs/undici/pull/3885) - test: add cache testing suite by [@&#8203;flakey5](https://github.com/flakey5) in [#&#8203;3842](https://github.com/nodejs/undici/pull/3842) - fix: move statusMessage as optional arg in end by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3886](https://github.com/nodejs/undici/pull/3886) - fix: port retry to new hooks by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3883](https://github.com/nodejs/undici/pull/3883) - fix: cache rm unused branch by [@&#8203;ronag](https://github.com/ronag) in [#&#8203;3889](https://github.com/nodejs/undici/pull/3889) - fix: response error interceptor broken by [@&#8203;luddd3](https://github.com/luddd3) in [#&#8203;3805](https://github.com/nodejs/undici/pull/3805) - Make the responseError interceptor backward compatible, add a body property by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;3891](https://github.com/nodejs/undici/pull/3891) - feat: add support for Timeout and Trailers by [@&#8203;metcoder95](https://github.com/metcoder95) in [#&#8203;3854](https://github.com/nodejs/undici/pull/3854) - Correctly parse JSON contentType in responseError interceptor by [@&#8203;mcollina](https://github.com/mcollina) in [#&#8203;3892](https://github.com/nodejs/undici/pull/3892) #### New Contributors - [@&#8203;Gigioliva](https://github.com/Gigioliva) made their first contribution in [#&#8203;3354](https://github.com/nodejs/undici/pull/3354) - [@&#8203;fawazahmed0](https://github.com/fawazahmed0) made their first contribution in [#&#8203;3372](https://github.com/nodejs/undici/pull/3372) - [@&#8203;jfhr](https://github.com/jfhr) made their first contribution in [#&#8203;3385](https://github.com/nodejs/undici/pull/3385) - [@&#8203;JbIPS](https://github.com/JbIPS) made their first contribution in [#&#8203;3416](https://github.com/nodejs/undici/pull/3416) - [@&#8203;richardlau](https://github.com/richardlau) made their first contribution in [#&#8203;3420](https://github.com/nodejs/undici/pull/3420) - [@&#8203;RedYetiDev](https://github.com/RedYetiDev) made their first contribution in [#&#8203;3484](https://github.com/nodejs/undici/pull/3484) - [@&#8203;NathanBaulch](https://github.com/NathanBaulch) made their first contribution in [#&#8203;3640](https://github.com/nodejs/undici/pull/3640) - [@&#8203;flakey5](https://github.com/flakey5) made their first contribution in [#&#8203;3562](https://github.com/nodejs/undici/pull/3562) - [@&#8203;pastelsky](https://github.com/pastelsky) made their first contribution in [#&#8203;3591](https://github.com/nodejs/undici/pull/3591) - [@&#8203;rindeal](https://github.com/rindeal) made their first contribution in [#&#8203;3569](https://github.com/nodejs/undici/pull/3569) - [@&#8203;styfle](https://github.com/styfle) made their first contribution in [#&#8203;3743](https://github.com/nodejs/undici/pull/3743) - [@&#8203;luddd3](https://github.com/luddd3) made their first contribution in [#&#8203;3770](https://github.com/nodejs/undici/pull/3770) - [@&#8203;epistemancering](https://github.com/epistemancering) made their first contribution in [#&#8203;3754](https://github.com/nodejs/undici/pull/3754) - [@&#8203;jerome-benoit](https://github.com/jerome-benoit) made their first contribution in [#&#8203;3776](https://github.com/nodejs/undici/pull/3776) - [@&#8203;hochoy](https://github.com/hochoy) made their first contribution in [#&#8203;3751](https://github.com/nodejs/undici/pull/3751) - [@&#8203;DTrombett](https://github.com/DTrombett) made their first contribution in [#&#8203;3826](https://github.com/nodejs/undici/pull/3826) - [@&#8203;bcomnes](https://github.com/bcomnes) made their first contribution in [#&#8203;3839](https://github.com/nodejs/undici/pull/3839) - [@&#8203;mqayyuum](https://github.com/mqayyuum) made their first contribution in [#&#8203;3851](https://github.com/nodejs/undici/pull/3851) - [@&#8203;ShenHongFei](https://github.com/ShenHongFei) made their first contribution in [#&#8203;3875](https://github.com/nodejs/undici/pull/3875) **Full Changelog**: <https://github.com/nodejs/undici/compare/v6.19.2...v7.0.0> </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Copenhagen) - Branch creation - "before 6am on monday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJtYWpvciJdfQ==-->
renovate force-pushed renovate/undici-=6.0.0-6.28.1-8.x from f34f3df999
All checks were successful
CD Staging / Build & Push Docker Images (pull_request) Has been skipped
CD Staging / Build & Push Docker Images-1 (pull_request) Has been skipped
CD Staging / Deploy Staging (pull_request) Has been skipped
CD Staging / Deploy PR Preview (pull_request) Has been skipped
CD Staging / Tear Down PR Preview (pull_request) Has been skipped
renovate/stability-days Updates have met minimum release age requirement
CI / Security Scan (pull_request) Successful in 22s
CI / Dockerfile Package Check (pull_request) Successful in 18s
CI / Checks (pull_request) Successful in 4m19s
CI / Visual Tests (pull_request) Successful in 2m15s
CI / Journal Image Smoke Test (pull_request) Successful in 16m54s
CI / E2E Tests (pull_request) Successful in 5m27s
to 2b9a47e23f
All checks were successful
CD Staging / Build & Push Docker Images (pull_request) Has been skipped
CD Staging / Build & Push Docker Images-1 (pull_request) Has been skipped
CD Staging / Deploy Staging (pull_request) Has been skipped
CD Staging / Deploy PR Preview (pull_request) Has been skipped
renovate/stability-days Updates have met minimum release age requirement
CI / Security Scan (pull_request) Successful in 27s
CI / Dockerfile Package Check (pull_request) Successful in 22s
CI / Checks (pull_request) Successful in 4m21s
CI / Visual Tests (pull_request) Successful in 2m23s
CI / E2E Tests (pull_request) Successful in 11m35s
CI / Journal Image Smoke Test (pull_request) Successful in 15m16s
Cancel superseded CI / Cancel in-flight CI (pull_request) Successful in 25s
CD Staging / Tear Down PR Preview (pull_request) Successful in 36s
2026-10-02 15:11:10 +00:00
Compare
ullrich scheduled this pull request to auto merge when all checks succeed 2026-10-02 15:24:50 +00:00
ullrich deleted branch renovate/undici-=6.0.0-6.28.1-8.x 2026-10-02 15:33:07 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
trails-cool/trails!205
No description provided.