Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/undici
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.28.0
Choose a base ref
...
head repository: nodejs/undici
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.29.0
Choose a head ref
  • 10 commits
  • 18 files changed
  • 6 contributors

Commits on Aug 4, 2026

  1. perf: reduce EventSourceStream parser allocations (#5032) (#5647)

    Assisted-by: OpenAI:gpt-5.4
    
    (cherry picked from commit aeed21a)
    
    Signed-off-by: Kamat, Trivikram <[email protected]>
    Co-authored-by: Trivikram Kamat <[email protected]>
    mcollina and trivikr authored Aug 4, 2026
    Configuration menu
    Copy the full SHA
    bd90fff View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2026

  1. fix(websocket): destroy inflater after decompression limit

    Stop the permessage-deflate inflater after removing its listeners so a late zlib error cannot become an uncaught exception. Add regression coverage for malformed compressed payloads that exceed the configured limit.
    
    Fixes: GHSA-3wwx-pv8p-q78v
    CVE: CVE-2026-85024
    Signed-off-by: Matteo Collina <[email protected]>
    (cherry picked from commit fa45246280698732d8822571da3ae650a8cdfa10)
    (cherry picked from commit 96f455485e0ccd224c839f2478b7dad0b53c1b1e)
    mcollina committed Sep 4, 2026
    Configuration menu
    Copy the full SHA
    07c60d9 View commit details
    Browse the repository at this point in the history
  2. fix(websocket): reject unrequested subprotocols

    Guard the opening-handshake protocol check when the client did not request any subprotocols. Fail the WebSocket connection with protocol error 1002 instead of allowing a TypeError to escape from the response microtask and terminate the process.
    
    Fixes: GHSA-rfgv-xxqx-mfg5
    CVE: CVE-2026-19534
    Signed-off-by: Matteo Collina <[email protected]>
    (cherry picked from commit 3e2c9c7210ce437636e58df4804fa7d689d5ca7a)
    mcollina committed Sep 4, 2026
    Configuration menu
    Copy the full SHA
    2af0faf View commit details
    Browse the repository at this point in the history
  3. fix(retry): validate resumed response framing

    Checkpoint the original response framing before exposing headers and reject resumed responses whose Content-Range does not match it. Do not retry after an exposed response without a resumable length, preventing attacker-controlled retry responses from being concatenated into downstream output.
    
    Fixes: GHSA-r53p-7pc4-xj5r
    CVE: CVE-2026-18540
    Signed-off-by: Matteo Collina <[email protected]>
    mcollina committed Sep 4, 2026
    Configuration menu
    Copy the full SHA
    ce31bc8 View commit details
    Browse the repository at this point in the history
  4. perf(h1): drop idle-socket timer floor with a ref'd setImmediate (#5707…

    …) (#5770)
    
    (cherry picked from commit 8c9182e)
    Signed-off-by: Matteo Collina <[email protected]>
    
    # Conflicts:
    #	test/node-test/keep-alive-reuse.js
    
    Co-authored-by: Yagiz Nizipli <[email protected]>
    mcollina and anonrig authored Sep 4, 2026
    Configuration menu
    Copy the full SHA
    3866a3b View commit details
    Browse the repository at this point in the history
  5. Bumped v6.28.1 (#5773)

    Co-authored-by: github-actions <[email protected]>
    github-actions[bot] and github-actions authored Sep 4, 2026
    Configuration menu
    Copy the full SHA
    ffc8aa0 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2026

  1. fix(retry): settle exposed body on terminal failure (#5778)

    Adapt the response-ownership guard from e905b5b to the v6 handler interface. Abort terminal attempts instead of replacing a response already exposed downstream, while preserving initial response forwarding.
    
    Add handler-level regression coverage for terminal errors and initial non-retryable responses.
    mcollina authored Sep 14, 2026
    Configuration menu
    Copy the full SHA
    2a91fc8 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2026

  1. Backport upgrade diagnostics lifecycle fixes to v6.x (#5833)

    * fix: complete upgrade diagnostics lifecycle
    
    Successful CONNECT and protocol upgrades stop before Undici marks the request complete. Diagnostics subscribers retain request state, and streamed request-body listeners remain attached to the upgraded socket.
    
    Publish the existing response lifecycle around accepted upgrades. Preserve the early HTTP/2 CONNECT handoff in v6, and terminate diagnostics if the stream fails before its response.
    
    Refs: #5783
    Signed-off-by: Ruben Bridgewater <[email protected]>
    
    * fix: preserve abort after upgrade handoff
    
    Completing upgrade requests suppresses late request errors, but v6 retains the abort callback as the transport cleanup owner after handoff. Returning early leaves upgraded sockets and HTTP/2 CONNECT streams open.
    
    Signed-off-by: Ruben Bridgewater <[email protected]>
    
    ---------
    
    Signed-off-by: Ruben Bridgewater <[email protected]>
    BridgeAR authored Sep 17, 2026
    Configuration menu
    Copy the full SHA
    6d44174 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2026

  1. test: synchronize the issue-3356 body timeout (#5834)

    The test races its forced body timeout against both the first response chunk and a native response-completion timer. A byte-zero retry can succeed, while an early response completion can prevent the expected rejection.
    
    An open RetryAgent can also keep server teardown pending after the assertion completes.
    
    Signed-off-by: Ruben Bridgewater <[email protected]>
    BridgeAR authored Sep 25, 2026
    Configuration menu
    Copy the full SHA
    57ac4de View commit details
    Browse the repository at this point in the history
  2. Bumped v6.29.0 (#5888)

    Co-authored-by: github-actions <[email protected]>
    github-actions[bot] and github-actions authored Sep 25, 2026
    Configuration menu
    Copy the full SHA
    e1d0501 View commit details
    Browse the repository at this point in the history
Loading