Repository navigation
Comparing changes
Open a pull request
base repository: nodejs/undici
base: v8.8.0
head repository: nodejs/undici
compare: v8.9.0
- 13 commits
- 31 files changed
- 8 contributors
Commits on Jul 20, 2026
-
fix(decompress): preserve response trailers (#5572)
Signed-off-by: Ram-blip <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f36ea9c - Browse repository at this point
Copy the full SHA f36ea9cView commit details
Commits on Jul 21, 2026
-
build(deps-dev): bump ws from 8.21.0 to 8.21.1 (#5576)
Bumps [ws](https://github.com/websockets/ws) from 8.21.0 to 8.21.1. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](websockets/ws@8.21.0...8.21.1) --- updated-dependencies: - dependency-name: ws dependency-version: 8.21.1 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d228fab - Browse repository at this point
Copy the full SHA d228fabView commit details
Commits on Jul 22, 2026
-
fix: validate coerced header values for CRLF (#5579)
Functions bypassed the object guard in processHeader() and were coerced via template literals without isValidHeaderValue(), allowing CRLF injection when toString/Symbol.toPrimitive returned embedded newlines. Validate after coercion on both scalar and array paths. Signed-off-by: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 354a151 - Browse repository at this point
Copy the full SHA 354a151View commit details -
fix: handle frozen globalThis in setGlobalDispatcher (#5574)
* fix: handle frozen globalThis in setGlobalDispatcher When Object.freeze(globalThis) is called before undici globals are accessed, setGlobalDispatcher would throw TypeError because it cannot extend globalThis. This fix wraps the Object.defineProperty calls in try/catch. When globalThis is not extensible (frozen), the dispatcher is stored in a module-level fallback variable instead. getGlobalDispatcher is updated to return the fallback dispatcher when the globalThis property is not available. This allows undici to work correctly even when globalThis has been frozen, which is recommended by Node.js security best practices (CWE-349). Fixes issue where Object.freeze(globalThis) breaks undici access. * test: add unit test for frozen globalThis in setGlobalDispatcher Add comprehensive test coverage for the frozen globalThis fix. Tests verify: 1. setGlobalDispatcher does not throw when globalThis is frozen 2. getGlobalDispatcher continues to return a valid dispatcher 3. The fallback mechanism works correctly when globalThis is not extensible This addresses the review feedback from mcollina requesting tests. * test: improve frozen globalThis test coverage Add comprehensive test cases to ensure all code paths in the frozen globalThis fix are exercised. Tests verify: 1. setGlobalDispatcher does not throw when globalThis is frozen 2. getGlobalDispatcher returns a valid dispatcher 3. Fallback dispatcher persists across multiple calls This addresses review feedback requesting tests.
Configuration menu - View commit details
-
Copy full SHA for a0922b0 - Browse repository at this point
Copy the full SHA a0922b0View commit details
Commits on Jul 23, 2026
-
Configuration menu - View commit details
-
Copy full SHA for a17e301 - Browse repository at this point
Copy the full SHA a17e301View commit details -
fix: harden cookie domain, path, and unparsed attribute validation
Signed-off-by: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 10d93fc - Browse repository at this point
Copy the full SHA 10d93fcView commit details -
fix: handle empty qualified private cache directive
Signed-off-by: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4fe5bc5 - Browse repository at this point
Copy the full SHA 4fe5bc5View commit details -
test: cover crash on mixed unqualified and qualified private cache di…
…rectives Ref: GHSA-4cwx-7wf7-3272 Signed-off-by: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f09b49 - Browse repository at this point
Copy the full SHA 9f09b49View commit details -
fix(retry): reject partial content length mismatch
Signed-off-by: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e11a68e - Browse repository at this point
Copy the full SHA e11a68eView commit details -
test(retry): correct broken content-range fixtures in retry-handler.js
Signed-off-by: Ulises Gascon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2b3f749 - Browse repository at this point
Copy the full SHA 2b3f749View commit details -
fix(cache): harden cache directive parsing
Signed-off-by: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c601fff - Browse repository at this point
Copy the full SHA c601fffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d3cf92 - Browse repository at this point
Copy the full SHA 7d3cf92View commit details
Commits on Jul 24, 2026
-
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 21a8e1e - Browse repository at this point
Copy the full SHA 21a8e1eView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v8.8.0...v8.9.0