-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added EnvHttpProxyAgent to support HTTP_PROXY #2994
Added EnvHttpProxyAgent to support HTTP_PROXY #2994
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not just detect the env var and set a ProxyAgent
as globalDispatcher
? ref:
Line 10 in ef25209
setGlobalDispatcher(new Agent()) |
I'm not really in sync with the addition of the new Agent as does not seems needed to enable this feature, we can keep it simple and just use the ProxyAgent
if the feature is enabled or disabled otherwise.
Given the nature of the feature, I believe this might qualify as major
as can cause unexpected side-effects if there's usage of HTTP_PROXY
or similar already; unless we provide an option to ignore to force ignore the env var.
The three separate agents are needed to fully support the HTTP_PROXY, HTTPS_PROXY, NO_PROXY use case. When only HTTP_PROXY is set, all requests go through it. When HTTPS_PROXY is set, https requests go through that one. And when NO_PROXY is set, requests that match are not proxied. Creating a new agent is what appeared agreed upon in #1650 |
I think it shouldn't be set as the default agent, making it a semver-minor change. |
agentSymbols.forEach((agent) => { | ||
sinon.spy(dispatcher[agent], 'dispatch') | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't believe there's a need for mocks
, we can test it pretty similar to how we test ProxyAgent
, but depending on the environment vars
I would prefer just adding this first, then we can turn it on by default. It seems the safer option. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job! Could you also add some docs?
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2994 +/- ##
==========================================
+ Coverage 93.51% 94.17% +0.65%
==========================================
Files 89 90 +1
Lines 24227 24321 +94
==========================================
+ Hits 22657 22905 +248
+ Misses 1570 1416 -154 ☔ View full report in Codecov by Sentry. |
I've just got docs and refactoring tests away from mocks remaining. I believe all the other feedback is in now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not forget about the types
and documentation
@10xLaCroixDrinker I think it would be great to ship this. Any ETA on docs and types? |
I can push those up today or tomorrow, but I haven't had time to work on rewriting the tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't necessarily like the name since it also handles https proxies, but I don't have any alternative suggestions. Good work on this, I never got around to implementing it. 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
The tests are failing on Windows |
@KhafraDev are you blocking this somehow? Can it land? |
|
||
`NO_PROXY` is a comma or space-separated list of hostnames that should not be proxied. The list may contain leading wildcard characters (`*`). If `NO_PROXY` is set, the EnvHttpProxyAgent will bypass the proxy for requests to hosts that match the list. If `NO_PROXY` is set to `"*"`, the EnvHttpProxyAgent will bypass the proxy for all requests. | ||
|
||
Lower case environment variables are also supported: `http_proxy`, `https_proxy`, and `no_proxy`. However, if both the lower case and upper case environment variables are set, the lower case environment variables will be ignored. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm late to the party, but I strongly recommend to reconsider the case preference as per the proxy var "spec", lowercase form should be preferred:
Use lowercase form. HTTP_PROXY is not always supported or recommended.
If you absolutely must use the uppercase form as well, be sure they share the same value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can make the change some time in the next couple days.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done: #3152
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [undici](https://undici.nodejs.org) ([source](https://github.com/nodejs/undici)) | [`6.13.0` -> `6.14.1`](https://renovatebot.com/diffs/npm/undici/6.13.0/6.14.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/6.13.0/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/6.13.0/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>nodejs/undici (undici)</summary> ### [`v6.14.1`](https://github.com/nodejs/undici/compare/v6.14.0...1c440555a0c25d6a2ee2b0bdf8c5afcd9636332f) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.0...v6.14.1) ### [`v6.14.0`](https://github.com/nodejs/undici/releases/tag/v6.14.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.13.0...v6.14.0) #### What's Changed - bench: enable benchmarks for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3100 - perf: improve performance of isomorphicEncode by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3101 - util: remove isReadableAborted by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3104 - fix(types): The second parameter of EventSource is optional by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3106 - fix: onConnect types by [@​ronag](https://github.com/ronag) in [nodejs/undici#3116 - add dispatcher option to EventSource by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3119 - core: improve parseURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3102 - test: increase coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3121 - docs: add directions to run docs and benchmarks by [@​FatumaA](https://github.com/FatumaA) in [nodejs/undici#3092 - perf: avoid unnecessary clone by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3117 - build(deps-dev): bump borp from 0.10.0 to 0.11.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3126 - drop node support for < v18.17.0 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3125 - test: improve test and ci performance by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3135 - Added EnvHttpProxyAgent to support HTTP_PROXY by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#2994 - fetch: Change wording of "Body is unusable" error by [@​nzakas](https://github.com/nzakas) in [nodejs/undici#3105 - perf: use class instead of object literals with getters by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3138 - fix: unhandled exception or failing error body by [@​ronag](https://github.com/ronag) in [nodejs/undici#3137 - reuse realm for Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3142 - fix([H2-#​3140](https://github.com/H2-/undici/issues/3140)): abort requets upon GOAWAY by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3143 - don't store realm on Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3146 - improve: wasm build by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3074 #### New Contributors - [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) made their first contribution in [nodejs/undici#2994 - [@​nzakas](https://github.com/nzakas) made their first contribution in [nodejs/undici#3105 **Full Changelog**: nodejs/undici@v6.13.0...v6.14.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Canary-nextjs).
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [undici](https://undici.nodejs.org) ([source](https://github.com/nodejs/undici)) | [`6.13.0` -> `6.14.1`](https://renovatebot.com/diffs/npm/undici/6.11.1/6.14.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/6.11.1/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/6.11.1/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nodejs/undici (undici)</summary> ### [`v6.14.1`](https://github.com/nodejs/undici/compare/v6.14.0...1c440555a0c25d6a2ee2b0bdf8c5afcd9636332f) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.0...v6.14.1) ### [`v6.14.0`](https://github.com/nodejs/undici/releases/tag/v6.14.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.13.0...v6.14.0) #### What's Changed - bench: enable benchmarks for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3100 - perf: improve performance of isomorphicEncode by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3101 - util: remove isReadableAborted by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3104 - fix(types): The second parameter of EventSource is optional by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3106 - fix: onConnect types by [@​ronag](https://github.com/ronag) in [nodejs/undici#3116 - add dispatcher option to EventSource by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3119 - core: improve parseURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3102 - test: increase coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3121 - docs: add directions to run docs and benchmarks by [@​FatumaA](https://github.com/FatumaA) in [nodejs/undici#3092 - perf: avoid unnecessary clone by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3117 - build(deps-dev): bump borp from 0.10.0 to 0.11.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3126 - drop node support for < v18.17.0 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3125 - test: improve test and ci performance by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3135 - Added EnvHttpProxyAgent to support HTTP_PROXY by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#2994 - fetch: Change wording of "Body is unusable" error by [@​nzakas](https://github.com/nzakas) in [nodejs/undici#3105 - perf: use class instead of object literals with getters by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3138 - fix: unhandled exception or failing error body by [@​ronag](https://github.com/ronag) in [nodejs/undici#3137 - reuse realm for Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3142 - fix([H2-#​3140](https://github.com/H2-/undici/issues/3140)): abort requets upon GOAWAY by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3143 - don't store realm on Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3146 - improve: wasm build by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3074 #### New Contributors - [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) made their first contribution in [nodejs/undici#2994 - [@​nzakas](https://github.com/nzakas) made their first contribution in [nodejs/undici#3105 **Full Changelog**: nodejs/undici@v6.13.0...v6.14.0 ### [`v6.13.0`](https://github.com/nodejs/undici/releases/tag/v6.13.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.12.0...v6.13.0) #### What's Changed - build(deps): bump node from `9696b26` to `ad255c6` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3073 - test: remove only by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3077 - fix: defer errors with setImmediate by [@​ronag](https://github.com/ronag) in [nodejs/undici#3081 - improve DecoratorHandler by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3079 - chore: removed unused escapeFormDataName by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3084 - Mention option to pass streams into FormData by [@​JaoodxD](https://github.com/JaoodxD) in [nodejs/undici#3086 - fetch: improve performance of isValidEncodedURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3090 - optimize utf8Decode by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3085 - refactor: h2 refactoring by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3082 - Skip the creation of a transform stream in fetch by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3093 - fetch: improve performance of urlHasHttpsScheme by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3094 - fetch: avoid creation of an intermediary ReadableStream by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3095 - test: duplicate jest unspecific tests to native runner by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3075 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3096 - fetch: improve performance of isValidHeaderValue by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3098 - chore: automate releases with pr by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3089 #### New Contributors - [@​github-actions](https://github.com/github-actions) made their first contribution in [nodejs/undici#3099 **Full Changelog**: nodejs/undici@v6.12.0...v6.13.0 ### [`v6.12.0`](https://github.com/nodejs/undici/releases/tag/v6.12.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.11.1...v6.12.0) #### What's Changed - fix: broken test by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3045 - fix: http2 header parsing by [@​climba03003](https://github.com/climba03003) in [nodejs/undici#3047 - types: fix Request.refererPolicy and RequestInit.refererPolicy are incompatible by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3039 - fix(types): onHeaders always takes headers as an array of buffer by [@​ronag](https://github.com/ronag) in [nodejs/undici#3050 - fix: ProxyAgent causes request.headers.host to be forcibly reset by [@​1zilc](https://github.com/1zilc) in [nodejs/undici#3026 - fallback to Buffer.isUtf8 on platforms without icu by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3006 - build(deps): bump github/codeql-action from 3.24.6 to 3.24.9 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3037 - build(deps): bump actions/dependency-review-action from 4.1.3 to 4.2.5 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3035 - build(deps): bump node from `577f8eb` to `87524df` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3055 - build(deps): bump node from `87524df` to `9696b26` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3058 - fetch: Block ports 4190 & 6679 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3059 - test: activate testing for interceptors and cache by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3061 - cache: improve test coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3063 - feat: modernize fuzzing by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3060 - fix: request abort by [@​ronag](https://github.com/ronag) in [nodejs/undici#3056 - fix: signal handling by [@​ronag](https://github.com/ronag) in [nodejs/undici#3053 - fix(H2): handle goaway properly by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3057 - test: client, set body to null if bigger than CHUNK_LIMIT by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3064 - mock: improve mock interceptor by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3062 - fix: bad client destroy on servername change by [@​ronag](https://github.com/ronag) in [nodejs/undici#3066 - perf: improve isBlobLike by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3070 - test: add sanity check for llhttp wasm files by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3068 #### New Contributors - [@​zbinlin](https://github.com/zbinlin) made their first contribution in [nodejs/undici#3039 - [@​1zilc](https://github.com/1zilc) made their first contribution in [nodejs/undici#3026 **Full Changelog**: nodejs/undici@v6.11.1...v6.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [undici](https://undici.nodejs.org) ([source](https://github.com/nodejs/undici)) | [`6.14.1` -> `6.15.0`](https://renovatebot.com/diffs/npm/undici/6.11.1/6.15.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/6.11.1/6.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/6.11.1/6.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nodejs/undici (undici)</summary> ### [`v6.15.0`](https://github.com/nodejs/undici/releases/tag/v6.15.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.1...v6.15.0) #### What's Changed - Expose EnvHttpProxyAgent to Node.js core bundle, so it can be turned … by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3148 - test: add headerslist copy check by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3156 - chore: ensure automated v6 release compared to v6 by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3149 - fetch: do not leak signal listeners by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3158 - fix: request cache mode is not the same as request mode by [@​tsibley](https://github.com/tsibley) in [nodejs/undici#3151 - fetch: don't re-lowercase HeadersList by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3159 - fix casing issue when cloning Headers object by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3160 - build(deps): bump node from `6d0f18a` to `db8772d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3163 - fix header cloning bug by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3162 - chore: change bench naming for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3165 - expose WebSocket related events in node bundle by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3167 - feat: add support for if-match on retry handler by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3144 - fix: correct firing order of abort events by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3169 - create fast MessageEvent by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3170 - chore: add explicitly [@​fastify/busboy](https://github.com/fastify/busboy) by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3172 - chore: remove sinon as dev dependency by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3171 - webidl changes by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3175 - preserve dictionary key name in webidl errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3176 #### New Contributors - [@​tsibley](https://github.com/tsibley) made their first contribution in [nodejs/undici#3151 **Full Changelog**: nodejs/undici@v6.14.1...v6.15.0 ### [`v6.14.1`](https://github.com/nodejs/undici/releases/tag/v6.14.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.0...v6.14.1) #### What's Changed - fix: tweak keep-alive timeout implementation by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3145 - build(deps-dev): bump borp from 0.11.0 to 0.12.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3153 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3154 - fix(EnvHttpProxyAgent): prefer lowercase env vars by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#3152 **Full Changelog**: nodejs/undici@v6.14.0...v6.14.1 ### [`v6.14.0`](https://github.com/nodejs/undici/releases/tag/v6.14.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.13.0...v6.14.0) #### What's Changed - bench: enable benchmarks for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3100 - perf: improve performance of isomorphicEncode by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3101 - util: remove isReadableAborted by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3104 - fix(types): The second parameter of EventSource is optional by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3106 - fix: onConnect types by [@​ronag](https://github.com/ronag) in [nodejs/undici#3116 - add dispatcher option to EventSource by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3119 - core: improve parseURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3102 - test: increase coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3121 - docs: add directions to run docs and benchmarks by [@​FatumaA](https://github.com/FatumaA) in [nodejs/undici#3092 - perf: avoid unnecessary clone by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3117 - build(deps-dev): bump borp from 0.10.0 to 0.11.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3126 - drop node support for < v18.17.0 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3125 - test: improve test and ci performance by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3135 - Added EnvHttpProxyAgent to support HTTP_PROXY by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#2994 - fetch: Change wording of "Body is unusable" error by [@​nzakas](https://github.com/nzakas) in [nodejs/undici#3105 - perf: use class instead of object literals with getters by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3138 - fix: unhandled exception or failing error body by [@​ronag](https://github.com/ronag) in [nodejs/undici#3137 - reuse realm for Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3142 - fix([H2-#​3140](https://github.com/H2-/undici/issues/3140)): abort requets upon GOAWAY by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3143 - don't store realm on Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3146 - improve: wasm build by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3074 #### New Contributors - [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) made their first contribution in [nodejs/undici#2994 - [@​nzakas](https://github.com/nzakas) made their first contribution in [nodejs/undici#3105 **Full Changelog**: nodejs/undici@v6.13.0...v6.14.0 ### [`v6.13.0`](https://github.com/nodejs/undici/releases/tag/v6.13.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.12.0...v6.13.0) #### What's Changed - build(deps): bump node from `9696b26` to `ad255c6` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3073 - test: remove only by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3077 - fix: defer errors with setImmediate by [@​ronag](https://github.com/ronag) in [nodejs/undici#3081 - improve DecoratorHandler by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3079 - chore: removed unused escapeFormDataName by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3084 - Mention option to pass streams into FormData by [@​JaoodxD](https://github.com/JaoodxD) in [nodejs/undici#3086 - fetch: improve performance of isValidEncodedURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3090 - optimize utf8Decode by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3085 - refactor: h2 refactoring by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3082 - Skip the creation of a transform stream in fetch by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3093 - fetch: improve performance of urlHasHttpsScheme by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3094 - fetch: avoid creation of an intermediary ReadableStream by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3095 - test: duplicate jest unspecific tests to native runner by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3075 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3096 - fetch: improve performance of isValidHeaderValue by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3098 - chore: automate releases with pr by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3089 #### New Contributors - [@​github-actions](https://github.com/github-actions) made their first contribution in [nodejs/undici#3099 **Full Changelog**: nodejs/undici@v6.12.0...v6.13.0 ### [`v6.12.0`](https://github.com/nodejs/undici/releases/tag/v6.12.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.11.1...v6.12.0) #### What's Changed - fix: broken test by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3045 - fix: http2 header parsing by [@​climba03003](https://github.com/climba03003) in [nodejs/undici#3047 - types: fix Request.refererPolicy and RequestInit.refererPolicy are incompatible by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3039 - fix(types): onHeaders always takes headers as an array of buffer by [@​ronag](https://github.com/ronag) in [nodejs/undici#3050 - fix: ProxyAgent causes request.headers.host to be forcibly reset by [@​1zilc](https://github.com/1zilc) in [nodejs/undici#3026 - fallback to Buffer.isUtf8 on platforms without icu by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3006 - build(deps): bump github/codeql-action from 3.24.6 to 3.24.9 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3037 - build(deps): bump actions/dependency-review-action from 4.1.3 to 4.2.5 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3035 - build(deps): bump node from `577f8eb` to `87524df` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3055 - build(deps): bump node from `87524df` to `9696b26` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3058 - fetch: Block ports 4190 & 6679 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3059 - test: activate testing for interceptors and cache by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3061 - cache: improve test coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3063 - feat: modernize fuzzing by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3060 - fix: request abort by [@​ronag](https://github.com/ronag) in [nodejs/undici#3056 - fix: signal handling by [@​ronag](https://github.com/ronag) in [nodejs/undici#3053 - fix(H2): handle goaway properly by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3057 - test: client, set body to null if bigger than CHUNK_LIMIT by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3064 - mock: improve mock interceptor by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3062 - fix: bad client destroy on servername change by [@​ronag](https://github.com/ronag) in [nodejs/undici#3066 - perf: improve isBlobLike by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3070 - test: add sanity check for llhttp wasm files by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3068 #### New Contributors - [@​zbinlin](https://github.com/zbinlin) made their first contribution in [nodejs/undici#3039 - [@​1zilc](https://github.com/1zilc) made their first contribution in [nodejs/undici#3026 **Full Changelog**: nodejs/undici@v6.11.1...v6.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [undici](https://undici.nodejs.org) ([source](https://github.com/nodejs/undici)) | [`6.15.0` -> `6.16.0`](https://renovatebot.com/diffs/npm/undici/6.11.1/6.16.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/6.11.1/6.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/6.11.1/6.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nodejs/undici (undici)</summary> ### [`v6.16.0`](https://github.com/nodejs/undici/releases/tag/v6.16.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.15.0...v6.16.0) #### What's Changed - add index to sequence converter errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3178 - build(deps-dev): bump borp from 0.12.0 to 0.13.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3179 - build(deps): bump node from 21-alpine3.19 to 22-alpine3.19 in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3180 - build(deps): bump superagent from 8.1.2 to 9.0.2 in /benchmarks by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3181 - fix: keep raw header name by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3183 - fix(fetch): improve Headers and Request type-compatibility by [@​kettanaito](https://github.com/kettanaito) in [nodejs/undici#1964 - fix 3 mimesniff tests by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3185 - build(deps): bump hendrikmuhs/ccache-action from 1.2.12 to 1.2.13 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3187 - build(deps): bump codecov/codecov-action from 4.1.1 to 4.3.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3191 - build(deps): bump github/codeql-action from 3.24.9 to 3.25.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3192 - build(deps): bump actions/dependency-review-action from 4.2.5 to 4.3.2 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3189 - build(deps): bump step-security/harden-runner from 2.7.0 to 2.7.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3188 - build(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3190 - build(deps): bump node from `9459e24` to `487dc5d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3195 - perf: avoid spread in makeRequest() by [@​gunjam](https://github.com/gunjam) in [nodejs/undici#3193 - refactor: code cleanup by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3194 - fix parsing when receiving empty body websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3205 - fix: MockResponseCallbackOptions type by [@​merojosa](https://github.com/merojosa) in [nodejs/undici#2951 - docs(proxy): fix typo by [@​kanadgupta](https://github.com/kanadgupta) in [nodejs/undici#3207 - fix websocket receiving an invalid utf-8 in close frame by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3206 - perf: avoid setImmediate if body is reading by [@​ronag](https://github.com/ronag) in [nodejs/undici#3210 - fix: request abort signal by [@​ronag](https://github.com/ronag) in [nodejs/undici#3209 - fix: remove abort handler on close by [@​ronag](https://github.com/ronag) in [nodejs/undici#3211 - fix: pass abort function by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3212 - websocket: 200x faster generate mask by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3204 - use FinalizationRegistry to cancel the body if response is collected by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3199 - websocket: don't clone buffer if it's not needed. by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3214 - websocket: use FastBuffer by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3213 #### New Contributors - [@​kettanaito](https://github.com/kettanaito) made their first contribution in [nodejs/undici#1964 - [@​gunjam](https://github.com/gunjam) made their first contribution in [nodejs/undici#3193 - [@​merojosa](https://github.com/merojosa) made their first contribution in [nodejs/undici#2951 - [@​kanadgupta](https://github.com/kanadgupta) made their first contribution in [nodejs/undici#3207 **Full Changelog**: nodejs/undici@v6.15.0...v6.16.0 ### [`v6.15.0`](https://github.com/nodejs/undici/releases/tag/v6.15.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.1...v6.15.0) #### What's Changed - Expose EnvHttpProxyAgent to Node.js core bundle, so it can be turned … by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3148 - test: add headerslist copy check by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3156 - chore: ensure automated v6 release compared to v6 by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3149 - fetch: do not leak signal listeners by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3158 - fix: request cache mode is not the same as request mode by [@​tsibley](https://github.com/tsibley) in [nodejs/undici#3151 - fetch: don't re-lowercase HeadersList by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3159 - fix casing issue when cloning Headers object by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3160 - build(deps): bump node from `6d0f18a` to `db8772d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3163 - fix header cloning bug by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3162 - chore: change bench naming for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3165 - expose WebSocket related events in node bundle by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3167 - feat: add support for if-match on retry handler by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3144 - fix: correct firing order of abort events by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3169 - create fast MessageEvent by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3170 - chore: add explicitly [@​fastify/busboy](https://github.com/fastify/busboy) by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3172 - chore: remove sinon as dev dependency by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3171 - webidl changes by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3175 - preserve dictionary key name in webidl errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3176 #### New Contributors - [@​tsibley](https://github.com/tsibley) made their first contribution in [nodejs/undici#3151 **Full Changelog**: nodejs/undici@v6.14.1...v6.15.0 ### [`v6.14.1`](https://github.com/nodejs/undici/releases/tag/v6.14.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.0...v6.14.1) #### What's Changed - fix: tweak keep-alive timeout implementation by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3145 - build(deps-dev): bump borp from 0.11.0 to 0.12.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3153 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3154 - fix(EnvHttpProxyAgent): prefer lowercase env vars by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#3152 **Full Changelog**: nodejs/undici@v6.14.0...v6.14.1 ### [`v6.14.0`](https://github.com/nodejs/undici/releases/tag/v6.14.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.13.0...v6.14.0) #### What's Changed - bench: enable benchmarks for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3100 - perf: improve performance of isomorphicEncode by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3101 - util: remove isReadableAborted by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3104 - fix(types): The second parameter of EventSource is optional by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3106 - fix: onConnect types by [@​ronag](https://github.com/ronag) in [nodejs/undici#3116 - add dispatcher option to EventSource by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3119 - core: improve parseURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3102 - test: increase coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3121 - docs: add directions to run docs and benchmarks by [@​FatumaA](https://github.com/FatumaA) in [nodejs/undici#3092 - perf: avoid unnecessary clone by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3117 - build(deps-dev): bump borp from 0.10.0 to 0.11.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3126 - drop node support for < v18.17.0 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3125 - test: improve test and ci performance by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3135 - Added EnvHttpProxyAgent to support HTTP_PROXY by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#2994 - fetch: Change wording of "Body is unusable" error by [@​nzakas](https://github.com/nzakas) in [nodejs/undici#3105 - perf: use class instead of object literals with getters by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3138 - fix: unhandled exception or failing error body by [@​ronag](https://github.com/ronag) in [nodejs/undici#3137 - reuse realm for Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3142 - fix([H2-#​3140](https://github.com/H2-/undici/issues/3140)): abort requets upon GOAWAY by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3143 - don't store realm on Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3146 - improve: wasm build by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3074 #### New Contributors - [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) made their first contribution in [nodejs/undici#2994 - [@​nzakas](https://github.com/nzakas) made their first contribution in [nodejs/undici#3105 **Full Changelog**: nodejs/undici@v6.13.0...v6.14.0 ### [`v6.13.0`](https://github.com/nodejs/undici/releases/tag/v6.13.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.12.0...v6.13.0) #### What's Changed - build(deps): bump node from `9696b26` to `ad255c6` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3073 - test: remove only by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3077 - fix: defer errors with setImmediate by [@​ronag](https://github.com/ronag) in [nodejs/undici#3081 - improve DecoratorHandler by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3079 - chore: removed unused escapeFormDataName by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3084 - Mention option to pass streams into FormData by [@​JaoodxD](https://github.com/JaoodxD) in [nodejs/undici#3086 - fetch: improve performance of isValidEncodedURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3090 - optimize utf8Decode by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3085 - refactor: h2 refactoring by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3082 - Skip the creation of a transform stream in fetch by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3093 - fetch: improve performance of urlHasHttpsScheme by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3094 - fetch: avoid creation of an intermediary ReadableStream by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3095 - test: duplicate jest unspecific tests to native runner by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3075 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3096 - fetch: improve performance of isValidHeaderValue by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3098 - chore: automate releases with pr by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3089 #### New Contributors - [@​github-actions](https://github.com/github-actions) made their first contribution in [nodejs/undici#3099 **Full Changelog**: nodejs/undici@v6.12.0...v6.13.0 ### [`v6.12.0`](https://github.com/nodejs/undici/releases/tag/v6.12.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.11.1...v6.12.0) #### What's Changed - fix: broken test by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3045 - fix: http2 header parsing by [@​climba03003](https://github.com/climba03003) in [nodejs/undici#3047 - types: fix Request.refererPolicy and RequestInit.refererPolicy are incompatible by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3039 - fix(types): onHeaders always takes headers as an array of buffer by [@​ronag](https://github.com/ronag) in [nodejs/undici#3050 - fix: ProxyAgent causes request.headers.host to be forcibly reset by [@​1zilc](https://github.com/1zilc) in [nodejs/undici#3026 - fallback to Buffer.isUtf8 on platforms without icu by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3006 - build(deps): bump github/codeql-action from 3.24.6 to 3.24.9 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3037 - build(deps): bump actions/dependency-review-action from 4.1.3 to 4.2.5 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3035 - build(deps): bump node from `577f8eb` to `87524df` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3055 - build(deps): bump node from `87524df` to `9696b26` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3058 - fetch: Block ports 4190 & 6679 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3059 - test: activate testing for interceptors and cache by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3061 - cache: improve test coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3063 - feat: modernize fuzzing by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3060 - fix: request abort by [@​ronag](https://github.com/ronag) in [nodejs/undici#3056 - fix: signal handling by [@​ronag](https://github.com/ronag) in [nodejs/undici#3053 - fix(H2): handle goaway properly by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3057 - test: client, set body to null if bigger than CHUNK_LIMIT by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3064 - mock: improve mock interceptor by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3062 - fix: bad client destroy on servername change by [@​ronag](https://github.com/ronag) in [nodejs/undici#3066 - perf: improve isBlobLike by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3070 - test: add sanity check for llhttp wasm files by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3068 #### New Contributors - [@​zbinlin](https://github.com/zbinlin) made their first contribution in [nodejs/undici#3039 - [@​1zilc](https://github.com/1zilc) made their first contribution in [nodejs/undici#3026 **Full Changelog**: nodejs/undici@v6.11.1...v6.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [undici](https://undici.nodejs.org) ([source](https://github.com/nodejs/undici)) | [`6.16.0` -> `6.16.1`](https://renovatebot.com/diffs/npm/undici/6.11.1/6.16.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.16.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.16.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/6.11.1/6.16.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/6.11.1/6.16.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nodejs/undici (undici)</summary> ### [`v6.16.1`](https://github.com/nodejs/undici/compare/v6.16.0...a613753c03b78ea11dbf884aaafc067895a580e1) [Compare Source](https://github.com/nodejs/undici/compare/v6.16.0...v6.16.1) ### [`v6.16.0`](https://github.com/nodejs/undici/releases/tag/v6.16.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.15.0...v6.16.0) #### What's Changed - add index to sequence converter errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3178 - build(deps-dev): bump borp from 0.12.0 to 0.13.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3179 - build(deps): bump node from 21-alpine3.19 to 22-alpine3.19 in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3180 - build(deps): bump superagent from 8.1.2 to 9.0.2 in /benchmarks by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3181 - fix: keep raw header name by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3183 - fix(fetch): improve Headers and Request type-compatibility by [@​kettanaito](https://github.com/kettanaito) in [nodejs/undici#1964 - fix 3 mimesniff tests by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3185 - build(deps): bump hendrikmuhs/ccache-action from 1.2.12 to 1.2.13 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3187 - build(deps): bump codecov/codecov-action from 4.1.1 to 4.3.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3191 - build(deps): bump github/codeql-action from 3.24.9 to 3.25.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3192 - build(deps): bump actions/dependency-review-action from 4.2.5 to 4.3.2 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3189 - build(deps): bump step-security/harden-runner from 2.7.0 to 2.7.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3188 - build(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3190 - build(deps): bump node from `9459e24` to `487dc5d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3195 - perf: avoid spread in makeRequest() by [@​gunjam](https://github.com/gunjam) in [nodejs/undici#3193 - refactor: code cleanup by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3194 - fix parsing when receiving empty body websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3205 - fix: MockResponseCallbackOptions type by [@​merojosa](https://github.com/merojosa) in [nodejs/undici#2951 - docs(proxy): fix typo by [@​kanadgupta](https://github.com/kanadgupta) in [nodejs/undici#3207 - fix websocket receiving an invalid utf-8 in close frame by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3206 - perf: avoid setImmediate if body is reading by [@​ronag](https://github.com/ronag) in [nodejs/undici#3210 - fix: request abort signal by [@​ronag](https://github.com/ronag) in [nodejs/undici#3209 - fix: remove abort handler on close by [@​ronag](https://github.com/ronag) in [nodejs/undici#3211 - fix: pass abort function by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3212 - websocket: 200x faster generate mask by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3204 - use FinalizationRegistry to cancel the body if response is collected by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3199 - websocket: don't clone buffer if it's not needed. by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3214 - websocket: use FastBuffer by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3213 #### New Contributors - [@​kettanaito](https://github.com/kettanaito) made their first contribution in [nodejs/undici#1964 - [@​gunjam](https://github.com/gunjam) made their first contribution in [nodejs/undici#3193 - [@​merojosa](https://github.com/merojosa) made their first contribution in [nodejs/undici#2951 - [@​kanadgupta](https://github.com/kanadgupta) made their first contribution in [nodejs/undici#3207 **Full Changelog**: nodejs/undici@v6.15.0...v6.16.0 ### [`v6.15.0`](https://github.com/nodejs/undici/releases/tag/v6.15.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.1...v6.15.0) #### What's Changed - Expose EnvHttpProxyAgent to Node.js core bundle, so it can be turned … by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3148 - test: add headerslist copy check by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3156 - chore: ensure automated v6 release compared to v6 by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3149 - fetch: do not leak signal listeners by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3158 - fix: request cache mode is not the same as request mode by [@​tsibley](https://github.com/tsibley) in [nodejs/undici#3151 - fetch: don't re-lowercase HeadersList by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3159 - fix casing issue when cloning Headers object by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3160 - build(deps): bump node from `6d0f18a` to `db8772d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3163 - fix header cloning bug by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3162 - chore: change bench naming for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3165 - expose WebSocket related events in node bundle by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3167 - feat: add support for if-match on retry handler by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3144 - fix: correct firing order of abort events by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3169 - create fast MessageEvent by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3170 - chore: add explicitly [@​fastify/busboy](https://github.com/fastify/busboy) by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3172 - chore: remove sinon as dev dependency by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3171 - webidl changes by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3175 - preserve dictionary key name in webidl errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3176 #### New Contributors - [@​tsibley](https://github.com/tsibley) made their first contribution in [nodejs/undici#3151 **Full Changelog**: nodejs/undici@v6.14.1...v6.15.0 ### [`v6.14.1`](https://github.com/nodejs/undici/releases/tag/v6.14.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.0...v6.14.1) #### What's Changed - fix: tweak keep-alive timeout implementation by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3145 - build(deps-dev): bump borp from 0.11.0 to 0.12.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3153 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3154 - fix(EnvHttpProxyAgent): prefer lowercase env vars by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#3152 **Full Changelog**: nodejs/undici@v6.14.0...v6.14.1 ### [`v6.14.0`](https://github.com/nodejs/undici/releases/tag/v6.14.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.13.0...v6.14.0) #### What's Changed - bench: enable benchmarks for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3100 - perf: improve performance of isomorphicEncode by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3101 - util: remove isReadableAborted by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3104 - fix(types): The second parameter of EventSource is optional by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3106 - fix: onConnect types by [@​ronag](https://github.com/ronag) in [nodejs/undici#3116 - add dispatcher option to EventSource by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3119 - core: improve parseURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3102 - test: increase coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3121 - docs: add directions to run docs and benchmarks by [@​FatumaA](https://github.com/FatumaA) in [nodejs/undici#3092 - perf: avoid unnecessary clone by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3117 - build(deps-dev): bump borp from 0.10.0 to 0.11.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3126 - drop node support for < v18.17.0 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3125 - test: improve test and ci performance by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3135 - Added EnvHttpProxyAgent to support HTTP_PROXY by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#2994 - fetch: Change wording of "Body is unusable" error by [@​nzakas](https://github.com/nzakas) in [nodejs/undici#3105 - perf: use class instead of object literals with getters by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3138 - fix: unhandled exception or failing error body by [@​ronag](https://github.com/ronag) in [nodejs/undici#3137 - reuse realm for Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3142 - fix([H2-#​3140](https://github.com/H2-/undici/issues/3140)): abort requets upon GOAWAY by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3143 - don't store realm on Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3146 - improve: wasm build by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3074 #### New Contributors - [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) made their first contribution in [nodejs/undici#2994 - [@​nzakas](https://github.com/nzakas) made their first contribution in [nodejs/undici#3105 **Full Changelog**: nodejs/undici@v6.13.0...v6.14.0 ### [`v6.13.0`](https://github.com/nodejs/undici/releases/tag/v6.13.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.12.0...v6.13.0) #### What's Changed - build(deps): bump node from `9696b26` to `ad255c6` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3073 - test: remove only by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3077 - fix: defer errors with setImmediate by [@​ronag](https://github.com/ronag) in [nodejs/undici#3081 - improve DecoratorHandler by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3079 - chore: removed unused escapeFormDataName by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3084 - Mention option to pass streams into FormData by [@​JaoodxD](https://github.com/JaoodxD) in [nodejs/undici#3086 - fetch: improve performance of isValidEncodedURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3090 - optimize utf8Decode by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3085 - refactor: h2 refactoring by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3082 - Skip the creation of a transform stream in fetch by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3093 - fetch: improve performance of urlHasHttpsScheme by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3094 - fetch: avoid creation of an intermediary ReadableStream by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3095 - test: duplicate jest unspecific tests to native runner by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3075 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3096 - fetch: improve performance of isValidHeaderValue by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3098 - chore: automate releases with pr by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3089 #### New Contributors - [@​github-actions](https://github.com/github-actions) made their first contribution in [nodejs/undici#3099 **Full Changelog**: nodejs/undici@v6.12.0...v6.13.0 ### [`v6.12.0`](https://github.com/nodejs/undici/releases/tag/v6.12.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.11.1...v6.12.0) #### What's Changed - fix: broken test by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3045 - fix: http2 header parsing by [@​climba03003](https://github.com/climba03003) in [nodejs/undici#3047 - types: fix Request.refererPolicy and RequestInit.refererPolicy are incompatible by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3039 - fix(types): onHeaders always takes headers as an array of buffer by [@​ronag](https://github.com/ronag) in [nodejs/undici#3050 - fix: ProxyAgent causes request.headers.host to be forcibly reset by [@​1zilc](https://github.com/1zilc) in [nodejs/undici#3026 - fallback to Buffer.isUtf8 on platforms without icu by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3006 - build(deps): bump github/codeql-action from 3.24.6 to 3.24.9 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3037 - build(deps): bump actions/dependency-review-action from 4.1.3 to 4.2.5 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3035 - build(deps): bump node from `577f8eb` to `87524df` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3055 - build(deps): bump node from `87524df` to `9696b26` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3058 - fetch: Block ports 4190 & 6679 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3059 - test: activate testing for interceptors and cache by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3061 - cache: improve test coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3063 - feat: modernize fuzzing by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3060 - fix: request abort by [@​ronag](https://github.com/ronag) in [nodejs/undici#3056 - fix: signal handling by [@​ronag](https://github.com/ronag) in [nodejs/undici#3053 - fix(H2): handle goaway properly by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3057 - test: client, set body to null if bigger than CHUNK_LIMIT by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3064 - mock: improve mock interceptor by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3062 - fix: bad client destroy on servername change by [@​ronag](https://github.com/ronag) in [nodejs/undici#3066 - perf: improve isBlobLike by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3070 - test: add sanity check for llhttp wasm files by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3068 #### New Contributors - [@​zbinlin](https://github.com/zbinlin) made their first contribution in [nodejs/undici#3039 - [@​1zilc](https://github.com/1zilc) made their first contribution in [nodejs/undici#3026 **Full Changelog**: nodejs/undici@v6.11.1...v6.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [undici](https://undici.nodejs.org) ([source](https://github.com/nodejs/undici)) | [`6.16.1` -> `6.18.1`](https://renovatebot.com/diffs/npm/undici/6.11.1/6.18.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.18.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.18.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/6.11.1/6.18.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/6.11.1/6.18.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nodejs/undici (undici)</summary> ### [`v6.18.1`](https://github.com/nodejs/undici/releases/tag/v6.18.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.0...v6.18.1) #### What's Changed - docs: Update references to dispatcher in docs by [@​haikyuu](https://github.com/haikyuu) in [nodejs/undici#3281 - fix: compatibility for global headers by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3286 - websocket: pre-calculated length by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3284 - ci: fix autobahn workflow by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3291 - revert: "websocket: pre-calculated length" by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3290 - websocket: use FixedQueue instead of Set by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3283 #### New Contributors - [@​haikyuu](https://github.com/haikyuu) made their first contribution in [nodejs/undici#3281 **Full Changelog**: nodejs/undici@v6.18.0...v6.18.1 ### [`v6.18.0`](https://github.com/nodejs/undici/releases/tag/v6.18.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.17.0...v6.18.0) #### What's Changed - permessage-deflate decompression support in websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3263 - fix: Fix server closing in tests. by [@​ShogunPanda](https://github.com/ShogunPanda) in [nodejs/undici#3279 **Full Changelog**: nodejs/undici@v6.17.0...v6.18.0 ### [`v6.17.0`](https://github.com/nodejs/undici/releases/tag/v6.17.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.16.1...v6.17.0) #### What's Changed - fetch: fix captureStackTrace by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3227 - fetch: fix wpt test request-upload.any.js by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3234 - websocket: don't clone buffer by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3240 - Remove unecessary async from writeBuffer by [@​DarkGL](https://github.com/DarkGL) in [nodejs/undici#3245 - refactor websocket control frame handling by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3241 - fix parsing continuation frames in websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3247 - ci: node nightly test should use node 23 by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3248 - Add test to verify if the connection is correctly aborted on cancel by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3219 - Autobahn suite by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3251 - websocket: fix 6 autobahn tests by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3254 - websocket: checkout correct commit in autobahn workflow by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3258 - Cleanup websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3257 - websocket: autobahn workflow should fail on error by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3259 - add bodymixin bytes by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3262 - perf: avoid buffer cloning by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3264 - feat: dump interceptor by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3118 - use private properties in Headers by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3269 - Revert "websocket: autobahn workflow should fail on error" by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3270 - build(deps): bump node from `487dc5d` to `9e8f45f` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3271 #### New Contributors - [@​DarkGL](https://github.com/DarkGL) made their first contribution in [nodejs/undici#3245 **Full Changelog**: nodejs/undici@v6.16.1...v6.17.0 ### [`v6.16.1`](https://github.com/nodejs/undici/releases/tag/v6.16.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.16.0...v6.16.1) #### What's Changed - fix some typos by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3217 - websocket: move codeblock in parseCloseBody by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3215 - fetch: enable wpt test request-referrer.any.js by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3223 - fetch: wpt add /fetch/api/resources/cache.py to server.mjs by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3225 - add pipe support for wpt server by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3228 - test: reduce the number of requests in `fire-and-forget.js` by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3229 - ci: add node 22 in ci test matrix, use 22 for coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3226 - fetch: don't set an invalid origin header by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3235 - fail wpt runner if expected failures does not match actual by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3236 - fix: ignore content-length when dumping HEAD by [@​ronag](https://github.com/ronag) in [nodejs/undici#3222 **Full Changelog**: nodejs/undici@v6.16.0...v6.16.1 ### [`v6.16.0`](https://github.com/nodejs/undici/releases/tag/v6.16.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.15.0...v6.16.0) #### What's Changed - add index to sequence converter errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3178 - build(deps-dev): bump borp from 0.12.0 to 0.13.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3179 - build(deps): bump node from 21-alpine3.19 to 22-alpine3.19 in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3180 - build(deps): bump superagent from 8.1.2 to 9.0.2 in /benchmarks by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3181 - fix: keep raw header name by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3183 - fix(fetch): improve Headers and Request type-compatibility by [@​kettanaito](https://github.com/kettanaito) in [nodejs/undici#1964 - fix 3 mimesniff tests by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3185 - build(deps): bump hendrikmuhs/ccache-action from 1.2.12 to 1.2.13 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3187 - build(deps): bump codecov/codecov-action from 4.1.1 to 4.3.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3191 - build(deps): bump github/codeql-action from 3.24.9 to 3.25.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3192 - build(deps): bump actions/dependency-review-action from 4.2.5 to 4.3.2 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3189 - build(deps): bump step-security/harden-runner from 2.7.0 to 2.7.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3188 - build(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3190 - build(deps): bump node from `9459e24` to `487dc5d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3195 - perf: avoid spread in makeRequest() by [@​gunjam](https://github.com/gunjam) in [nodejs/undici#3193 - refactor: code cleanup by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3194 - fix parsing when receiving empty body websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3205 - fix: MockResponseCallbackOptions type by [@​merojosa](https://github.com/merojosa) in [nodejs/undici#2951 - docs(proxy): fix typo by [@​kanadgupta](https://github.com/kanadgupta) in [nodejs/undici#3207 - fix websocket receiving an invalid utf-8 in close frame by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3206 - perf: avoid setImmediate if body is reading by [@​ronag](https://github.com/ronag) in [nodejs/undici#3210 - fix: request abort signal by [@​ronag](https://github.com/ronag) in [nodejs/undici#3209 - fix: remove abort handler on close by [@​ronag](https://github.com/ronag) in [nodejs/undici#3211 - fix: pass abort function by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3212 - websocket: 200x faster generate mask by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3204 - use FinalizationRegistry to cancel the body if response is collected by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3199 - websocket: don't clone buffer if it's not needed. by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3214 - websocket: use FastBuffer by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3213 #### New Contributors - [@​kettanaito](https://github.com/kettanaito) made their first contribution in [nodejs/undici#1964 - [@​gunjam](https://github.com/gunjam) made their first contribution in [nodejs/undici#3193 - [@​merojosa](https://github.com/merojosa) made their first contribution in [nodejs/undici#2951 - [@​kanadgupta](https://github.com/kanadgupta) made their first contribution in [nodejs/undici#3207 **Full Changelog**: nodejs/undici@v6.15.0...v6.16.0 ### [`v6.15.0`](https://github.com/nodejs/undici/releases/tag/v6.15.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.1...v6.15.0) #### What's Changed - Expose EnvHttpProxyAgent to Node.js core bundle, so it can be turned … by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3148 - test: add headerslist copy check by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3156 - chore: ensure automated v6 release compared to v6 by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3149 - fetch: do not leak signal listeners by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3158 - fix: request cache mode is not the same as request mode by [@​tsibley](https://github.com/tsibley) in [nodejs/undici#3151 - fetch: don't re-lowercase HeadersList by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3159 - fix casing issue when cloning Headers object by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3160 - build(deps): bump node from `6d0f18a` to `db8772d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3163 - fix header cloning bug by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3162 - chore: change bench naming for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3165 - expose WebSocket related events in node bundle by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3167 - feat: add support for if-match on retry handler by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3144 - fix: correct firing order of abort events by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3169 - create fast MessageEvent by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3170 - chore: add explicitly [@​fastify/busboy](https://github.com/fastify/busboy) by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3172 - chore: remove sinon as dev dependency by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3171 - webidl changes by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3175 - preserve dictionary key name in webidl errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3176 #### New Contributors - [@​tsibley](https://github.com/tsibley) made their first contribution in [nodejs/undici#3151 **Full Changelog**: nodejs/undici@v6.14.1...v6.15.0 ### [`v6.14.1`](https://github.com/nodejs/undici/releases/tag/v6.14.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.0...v6.14.1) #### What's Changed - fix: tweak keep-alive timeout implementation by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3145 - build(deps-dev): bump borp from 0.11.0 to 0.12.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3153 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3154 - fix(EnvHttpProxyAgent): prefer lowercase env vars by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#3152 **Full Changelog**: nodejs/undici@v6.14.0...v6.14.1 ### [`v6.14.0`](https://github.com/nodejs/undici/releases/tag/v6.14.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.13.0...v6.14.0) #### What's Changed - bench: enable benchmarks for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3100 - perf: improve performance of isomorphicEncode by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3101 - util: remove isReadableAborted by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3104 - fix(types): The second parameter of EventSource is optional by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3106 - fix: onConnect types by [@​ronag](https://github.com/ronag) in [nodejs/undici#3116 - add dispatcher option to EventSource by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3119 - core: improve parseURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3102 - test: increase coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3121 - docs: add directions to run docs and benchmarks by [@​FatumaA](https://github.com/FatumaA) in [nodejs/undici#3092 - perf: avoid unnecessary clone by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3117 - build(deps-dev): bump borp from 0.10.0 to 0.11.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3126 - drop node support for < v18.17.0 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3125 - test: improve test and ci performance by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3135 - Added EnvHttpProxyAgent to support HTTP_PROXY by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#2994 - fetch: Change wording of "Body is unusable" error by [@​nzakas](https://github.com/nzakas) in [nodejs/undici#3105 - perf: use class instead of object literals with getters by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3138 - fix: unhandled exception or failing error body by [@​ronag](https://github.com/ronag) in [nodejs/undici#3137 - reuse realm for Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3142 - fix([H2-#​3140](https://github.com/H2-/undici/issues/3140)): abort requets upon GOAWAY by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3143 - don't store realm on Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3146 - improve: wasm build by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3074 #### New Contributors - [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) made their first contribution in [nodejs/undici#2994 - [@​nzakas](https://github.com/nzakas) made their first contribution in [nodejs/undici#3105 **Full Changelog**: nodejs/undici@v6.13.0...v6.14.0 ### [`v6.13.0`](https://github.com/nodejs/undici/releases/tag/v6.13.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.12.0...v6.13.0) #### What's Changed - build(deps): bump node from `9696b26` to `ad255c6` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3073 - test: remove only by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3077 - fix: defer errors with setImmediate by [@​ronag](https://github.com/ronag) in [nodejs/undici#3081 - improve DecoratorHandler by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3079 - chore: removed unused escapeFormDataName by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3084 - Mention option to pass streams into FormData by [@​JaoodxD](https://github.com/JaoodxD) in [nodejs/undici#3086 - fetch: improve performance of isValidEncodedURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3090 - optimize utf8Decode by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3085 - refactor: h2 refactoring by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3082 - Skip the creation of a transform stream in fetch by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3093 - fetch: improve performance of urlHasHttpsScheme by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3094 - fetch: avoid creation of an intermediary ReadableStream by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3095 - test: duplicate jest unspecific tests to native runner by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3075 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3096 - fetch: improve performance of isValidHeaderValue by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3098 - chore: automate releases with pr by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3089 #### New Contributors - [@​github-actions](https://github.com/github-actions) made their first contribution in [nodejs/undici#3099 **Full Changelog**: nodejs/undici@v6.12.0...v6.13.0 ### [`v6.12.0`](https://github.com/nodejs/undici/releases/tag/v6.12.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.11.1...v6.12.0) #### What's Changed - fix: broken test by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3045 - fix: http2 header parsing by [@​climba03003](https://github.com/climba03003) in [nodejs/undici#3047 - types: fix Request.refererPolicy and RequestInit.refererPolicy are incompatible by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3039 - fix(types): onHeaders always takes headers as an array of buffer by [@​ronag](https://github.com/ronag) in [nodejs/undici#3050 - fix: ProxyAgent causes request.headers.host to be forcibly reset by [@​1zilc](https://github.com/1zilc) in [nodejs/undici#3026 - fallback to Buffer.isUtf8 on platforms without icu by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3006 - build(deps): bump github/codeql-action from 3.24.6 to 3.24.9 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3037 - build(deps): bump actions/dependency-review-action from 4.1.3 to 4.2.5 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3035 - build(deps): bump node from `577f8eb` to `87524df` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3055 - build(deps): bump node from `87524df` to `9696b26` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3058 - fetch: Block ports 4190 & 6679 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3059 - test: activate testing for interceptors and cache by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3061 - cache: improve test coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3063 - feat: modernize fuzzing by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3060 - fix: request abort by [@​ronag](https://github.com/ronag) in [nodejs/undici#3056 - fix: signal handling by [@​ronag](https://github.com/ronag) in [nodejs/undici#3053 - fix(H2): handle goaway properly by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3057 - test: client, set body to null if bigger than CHUNK_LIMIT by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3064 - mock: improve mock interceptor by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3062 - fix: bad client destroy on servername change by [@​ronag](https://github.com/ronag) in [nodejs/undici#3066 - perf: improve isBlobLike by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3070 - test: add sanity check for llhttp wasm files by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3068 #### New Contributors - [@​zbinlin](https://github.com/zbinlin) made their first contribution in [nodejs/undici#3039 - [@​1zilc](https://github.com/1zilc) made their first contribution in [nodejs/undici#3026 **Full Changelog**: nodejs/undici@v6.11.1...v6.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [undici](https://undici.nodejs.org) ([source](https://github.com/nodejs/undici)) | [`6.18.1` -> `6.18.2`](https://renovatebot.com/diffs/npm/undici/6.11.1/6.18.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.18.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.18.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/6.11.1/6.18.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/6.11.1/6.18.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nodejs/undici (undici)</summary> ### [`v6.18.2`](https://github.com/nodejs/undici/compare/v6.18.1...665f24738041757789fab95cce40cb0345cf2c0f) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.1...v6.18.2) ### [`v6.18.1`](https://github.com/nodejs/undici/releases/tag/v6.18.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.0...v6.18.1) #### What's Changed - docs: Update references to dispatcher in docs by [@​haikyuu](https://github.com/haikyuu) in [nodejs/undici#3281 - fix: compatibility for global headers by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3286 - websocket: pre-calculated length by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3284 - ci: fix autobahn workflow by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3291 - revert: "websocket: pre-calculated length" by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3290 - websocket: use FixedQueue instead of Set by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3283 #### New Contributors - [@​haikyuu](https://github.com/haikyuu) made their first contribution in [nodejs/undici#3281 **Full Changelog**: nodejs/undici@v6.18.0...v6.18.1 ### [`v6.18.0`](https://github.com/nodejs/undici/releases/tag/v6.18.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.17.0...v6.18.0) #### What's Changed - permessage-deflate decompression support in websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3263 - fix: Fix server closing in tests. by [@​ShogunPanda](https://github.com/ShogunPanda) in [nodejs/undici#3279 **Full Changelog**: nodejs/undici@v6.17.0...v6.18.0 ### [`v6.17.0`](https://github.com/nodejs/undici/releases/tag/v6.17.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.16.1...v6.17.0) #### What's Changed - fetch: fix captureStackTrace by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3227 - fetch: fix wpt test request-upload.any.js by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3234 - websocket: don't clone buffer by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3240 - Remove unecessary async from writeBuffer by [@​DarkGL](https://github.com/DarkGL) in [nodejs/undici#3245 - refactor websocket control frame handling by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3241 - fix parsing continuation frames in websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3247 - ci: node nightly test should use node 23 by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3248 - Add test to verify if the connection is correctly aborted on cancel by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3219 - Autobahn suite by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3251 - websocket: fix 6 autobahn tests by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3254 - websocket: checkout correct commit in autobahn workflow by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3258 - Cleanup websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3257 - websocket: autobahn workflow should fail on error by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3259 - add bodymixin bytes by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3262 - perf: avoid buffer cloning by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3264 - feat: dump interceptor by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3118 - use private properties in Headers by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3269 - Revert "websocket: autobahn workflow should fail on error" by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3270 - build(deps): bump node from `487dc5d` to `9e8f45f` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3271 #### New Contributors - [@​DarkGL](https://github.com/DarkGL) made their first contribution in [nodejs/undici#3245 **Full Changelog**: nodejs/undici@v6.16.1...v6.17.0 ### [`v6.16.1`](https://github.com/nodejs/undici/releases/tag/v6.16.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.16.0...v6.16.1) #### What's Changed - fix some typos by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3217 - websocket: move codeblock in parseCloseBody by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3215 - fetch: enable wpt test request-referrer.any.js by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3223 - fetch: wpt add /fetch/api/resources/cache.py to server.mjs by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3225 - add pipe support for wpt server by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3228 - test: reduce the number of requests in `fire-and-forget.js` by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3229 - ci: add node 22 in ci test matrix, use 22 for coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3226 - fetch: don't set an invalid origin header by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3235 - fail wpt runner if expected failures does not match actual by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3236 - fix: ignore content-length when dumping HEAD by [@​ronag](https://github.com/ronag) in [nodejs/undici#3222 **Full Changelog**: nodejs/undici@v6.16.0...v6.16.1 ### [`v6.16.0`](https://github.com/nodejs/undici/releases/tag/v6.16.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.15.0...v6.16.0) #### What's Changed - add index to sequence converter errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3178 - build(deps-dev): bump borp from 0.12.0 to 0.13.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3179 - build(deps): bump node from 21-alpine3.19 to 22-alpine3.19 in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3180 - build(deps): bump superagent from 8.1.2 to 9.0.2 in /benchmarks by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3181 - fix: keep raw header name by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3183 - fix(fetch): improve Headers and Request type-compatibility by [@​kettanaito](https://github.com/kettanaito) in [nodejs/undici#1964 - fix 3 mimesniff tests by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3185 - build(deps): bump hendrikmuhs/ccache-action from 1.2.12 to 1.2.13 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3187 - build(deps): bump codecov/codecov-action from 4.1.1 to 4.3.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3191 - build(deps): bump github/codeql-action from 3.24.9 to 3.25.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3192 - build(deps): bump actions/dependency-review-action from 4.2.5 to 4.3.2 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3189 - build(deps): bump step-security/harden-runner from 2.7.0 to 2.7.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3188 - build(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3190 - build(deps): bump node from `9459e24` to `487dc5d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3195 - perf: avoid spread in makeRequest() by [@​gunjam](https://github.com/gunjam) in [nodejs/undici#3193 - refactor: code cleanup by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3194 - fix parsing when receiving empty body websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3205 - fix: MockResponseCallbackOptions type by [@​merojosa](https://github.com/merojosa) in [nodejs/undici#2951 - docs(proxy): fix typo by [@​kanadgupta](https://github.com/kanadgupta) in [nodejs/undici#3207 - fix websocket receiving an invalid utf-8 in close frame by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3206 - perf: avoid setImmediate if body is reading by [@​ronag](https://github.com/ronag) in [nodejs/undici#3210 - fix: request abort signal by [@​ronag](https://github.com/ronag) in [nodejs/undici#3209 - fix: remove abort handler on close by [@​ronag](https://github.com/ronag) in [nodejs/undici#3211 - fix: pass abort function by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3212 - websocket: 200x faster generate mask by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3204 - use FinalizationRegistry to cancel the body if response is collected by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3199 - websocket: don't clone buffer if it's not needed. by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3214 - websocket: use FastBuffer by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3213 #### New Contributors - [@​kettanaito](https://github.com/kettanaito) made their first contribution in [nodejs/undici#1964 - [@​gunjam](https://github.com/gunjam) made their first contribution in [nodejs/undici#3193 - [@​merojosa](https://github.com/merojosa) made their first contribution in [nodejs/undici#2951 - [@​kanadgupta](https://github.com/kanadgupta) made their first contribution in [nodejs/undici#3207 **Full Changelog**: nodejs/undici@v6.15.0...v6.16.0 ### [`v6.15.0`](https://github.com/nodejs/undici/releases/tag/v6.15.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.1...v6.15.0) #### What's Changed - Expose EnvHttpProxyAgent to Node.js core bundle, so it can be turned … by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3148 - test: add headerslist copy check by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3156 - chore: ensure automated v6 release compared to v6 by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3149 - fetch: do not leak signal listeners by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3158 - fix: request cache mode is not the same as request mode by [@​tsibley](https://github.com/tsibley) in [nodejs/undici#3151 - fetch: don't re-lowercase HeadersList by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3159 - fix casing issue when cloning Headers object by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3160 - build(deps): bump node from `6d0f18a` to `db8772d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3163 - fix header cloning bug by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3162 - chore: change bench naming for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3165 - expose WebSocket related events in node bundle by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3167 - feat: add support for if-match on retry handler by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3144 - fix: correct firing order of abort events by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3169 - create fast MessageEvent by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3170 - chore: add explicitly [@​fastify/busboy](https://github.com/fastify/busboy) by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3172 - chore: remove sinon as dev dependency by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3171 - webidl changes by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3175 - preserve dictionary key name in webidl errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3176 #### New Contributors - [@​tsibley](https://github.com/tsibley) made their first contribution in [nodejs/undici#3151 **Full Changelog**: nodejs/undici@v6.14.1...v6.15.0 ### [`v6.14.1`](https://github.com/nodejs/undici/releases/tag/v6.14.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.0...v6.14.1) #### What's Changed - fix: tweak keep-alive timeout implementation by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3145 - build(deps-dev): bump borp from 0.11.0 to 0.12.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3153 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3154 - fix(EnvHttpProxyAgent): prefer lowercase env vars by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#3152 **Full Changelog**: nodejs/undici@v6.14.0...v6.14.1 ### [`v6.14.0`](https://github.com/nodejs/undici/releases/tag/v6.14.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.13.0...v6.14.0) #### What's Changed - bench: enable benchmarks for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3100 - perf: improve performance of isomorphicEncode by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3101 - util: remove isReadableAborted by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3104 - fix(types): The second parameter of EventSource is optional by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3106 - fix: onConnect types by [@​ronag](https://github.com/ronag) in [nodejs/undici#3116 - add dispatcher option to EventSource by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3119 - core: improve parseURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3102 - test: increase coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3121 - docs: add directions to run docs and benchmarks by [@​FatumaA](https://github.com/FatumaA) in [nodejs/undici#3092 - perf: avoid unnecessary clone by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3117 - build(deps-dev): bump borp from 0.10.0 to 0.11.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3126 - drop node support for < v18.17.0 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3125 - test: improve test and ci performance by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3135 - Added EnvHttpProxyAgent to support HTTP_PROXY by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#2994 - fetch: Change wording of "Body is unusable" error by [@​nzakas](https://github.com/nzakas) in [nodejs/undici#3105 - perf: use class instead of object literals with getters by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3138 - fix: unhandled exception or failing error body by [@​ronag](https://github.com/ronag) in [nodejs/undici#3137 - reuse realm for Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3142 - fix([H2-#​3140](https://github.com/H2-/undici/issues/3140)): abort requets upon GOAWAY by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3143 - don't store realm on Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3146 - improve: wasm build by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3074 #### New Contributors - [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) made their first contribution in [nodejs/undici#2994 - [@​nzakas](https://github.com/nzakas) made their first contribution in [nodejs/undici#3105 **Full Changelog**: nodejs/undici@v6.13.0...v6.14.0 ### [`v6.13.0`](https://github.com/nodejs/undici/releases/tag/v6.13.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.12.0...v6.13.0) #### What's Changed - build(deps): bump node from `9696b26` to `ad255c6` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3073 - test: remove only by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3077 - fix: defer errors with setImmediate by [@​ronag](https://github.com/ronag) in [nodejs/undici#3081 - improve DecoratorHandler by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3079 - chore: removed unused escapeFormDataName by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3084 - Mention option to pass streams into FormData by [@​JaoodxD](https://github.com/JaoodxD) in [nodejs/undici#3086 - fetch: improve performance of isValidEncodedURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3090 - optimize utf8Decode by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3085 - refactor: h2 refactoring by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3082 - Skip the creation of a transform stream in fetch by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3093 - fetch: improve performance of urlHasHttpsScheme by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3094 - fetch: avoid creation of an intermediary ReadableStream by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3095 - test: duplicate jest unspecific tests to native runner by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3075 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3096 - fetch: improve performance of isValidHeaderValue by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3098 - chore: automate releases with pr by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3089 #### New Contributors - [@​github-actions](https://github.com/github-actions) made their first contribution in [nodejs/undici#3099 **Full Changelog**: nodejs/undici@v6.12.0...v6.13.0 ### [`v6.12.0`](https://github.com/nodejs/undici/releases/tag/v6.12.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.11.1...v6.12.0) #### What's Changed - fix: broken test by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3045 - fix: http2 header parsing by [@​climba03003](https://github.com/climba03003) in [nodejs/undici#3047 - types: fix Request.refererPolicy and RequestInit.refererPolicy are incompatible by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3039 - fix(types): onHeaders always takes headers as an array of buffer by [@​ronag](https://github.com/ronag) in [nodejs/undici#3050 - fix: ProxyAgent causes request.headers.host to be forcibly reset by [@​1zilc](https://github.com/1zilc) in [nodejs/undici#3026 - fallback to Buffer.isUtf8 on platforms without icu by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3006 - build(deps): bump github/codeql-action from 3.24.6 to 3.24.9 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3037 - build(deps): bump actions/dependency-review-action from 4.1.3 to 4.2.5 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3035 - build(deps): bump node from `577f8eb` to `87524df` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3055 - build(deps): bump node from `87524df` to `9696b26` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3058 - fetch: Block ports 4190 & 6679 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3059 - test: activate testing for interceptors and cache by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3061 - cache: improve test coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3063 - feat: modernize fuzzing by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3060 - fix: request abort by [@​ronag](https://github.com/ronag) in [nodejs/undici#3056 - fix: signal handling by [@​ronag](https://github.com/ronag) in [nodejs/undici#3053 - fix(H2): handle goaway properly by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3057 - test: client, set body to null if bigger than CHUNK_LIMIT by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3064 - mock: improve mock interceptor by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3062 - fix: bad client destroy on servername change by [@​ronag](https://github.com/ronag) in [nodejs/undici#3066 - perf: improve isBlobLike by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3070 - test: add sanity check for llhttp wasm files by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3068 #### New Contributors - [@​zbinlin](https://github.com/zbinlin) made their first contribution in [nodejs/undici#3039 - [@​1zilc](https://github.com/1zilc) made their first contribution in [nodejs/undici#3026 **Full Changelog**: nodejs/undici@v6.11.1...v6.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [undici](https://undici.nodejs.org) ([source](https://github.com/nodejs/undici)) | [`6.18.2` -> `6.19.0`](https://renovatebot.com/diffs/npm/undici/6.11.1/6.19.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/6.11.1/6.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/6.11.1/6.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nodejs/undici (undici)</summary> ### [`v6.19.0`](https://github.com/nodejs/undici/releases/tag/v6.19.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.2...v6.19.0) #### What's Changed - build(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3305 - build(deps): bump codecov/codecov-action from 4.3.1 to 4.4.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3303 - build(deps): bump step-security/harden-runner from 2.7.1 to 2.8.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3304 - build(deps): bump github/codeql-action from 3.25.3 to 3.25.7 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3306 - build(deps): bump node from `9e8f45f` to `dd7e693` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3309 - build(deps): bump node from `dd7e693` to `e6d4495` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3313 - remove websocket experimental warning by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3311 - perf: optimization of request instantiation by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3107 - perf: convert object to params by [@​DarkGL](https://github.com/DarkGL) in [nodejs/undici#3302 - build(deps-dev): bump borp from 0.14.0 to 0.15.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3320 - build(deps-dev): bump c8 from 9.1.0 to 10.0.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3321 - fix: add missing error classes to types by [@​maxbeatty](https://github.com/maxbeatty) in [nodejs/undici#3316 - export interceptor to type def file by [@​jakecastelli](https://github.com/jakecastelli) in [nodejs/undici#3318 - build(deps): bump node from `e6d4495` to `075a5cc` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3326 - doc: clearify the behaviour of `bodyTimeout` in the request by [@​jakecastelli](https://github.com/jakecastelli) in [nodejs/undici#3324 - feature: support pre-shared sessions by [@​tastypackets](https://github.com/tastypackets) in [nodejs/undici#3325 #### New Contributors - [@​maxbeatty](https://github.com/maxbeatty) made their first contribution in [nodejs/undici#3316 - [@​jakecastelli](https://github.com/jakecastelli) made their first contribution in [nodejs/undici#3318 **Full Changelog**: nodejs/undici@v6.18.2...v6.19.0 ### [`v6.18.2`](https://github.com/nodejs/undici/compare/v6.18.1...665f24738041757789fab95cce40cb0345cf2c0f) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.1...v6.18.2) ### [`v6.18.1`](https://github.com/nodejs/undici/releases/tag/v6.18.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.0...v6.18.1) #### What's Changed - docs: Update references to dispatcher in docs by [@​haikyuu](https://github.com/haikyuu) in [nodejs/undici#3281 - fix: compatibility for global headers by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3286 - websocket: pre-calculated length by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3284 - ci: fix autobahn workflow by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3291 - revert: "websocket: pre-calculated length" by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3290 - websocket: use FixedQueue instead of Set by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3283 #### New Contributors - [@​haikyuu](https://github.com/haikyuu) made their first contribution in [nodejs/undici#3281 **Full Changelog**: nodejs/undici@v6.18.0...v6.18.1 ### [`v6.18.0`](https://github.com/nodejs/undici/releases/tag/v6.18.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.17.0...v6.18.0) #### What's Changed - permessage-deflate decompression support in websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3263 - fix: Fix server closing in tests. by [@​ShogunPanda](https://github.com/ShogunPanda) in [nodejs/undici#3279 **Full Changelog**: nodejs/undici@v6.17.0...v6.18.0 ### [`v6.17.0`](https://github.com/nodejs/undici/releases/tag/v6.17.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.16.1...v6.17.0) #### What's Changed - fetch: fix captureStackTrace by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3227 - fetch: fix wpt test request-upload.any.js by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3234 - websocket: don't clone buffer by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3240 - Remove unecessary async from writeBuffer by [@​DarkGL](https://github.com/DarkGL) in [nodejs/undici#3245 - refactor websocket control frame handling by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3241 - fix parsing continuation frames in websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3247 - ci: node nightly test should use node 23 by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3248 - Add test to verify if the connection is correctly aborted on cancel by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3219 - Autobahn suite by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3251 - websocket: fix 6 autobahn tests by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3254 - websocket: checkout correct commit in autobahn workflow by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3258 - Cleanup websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3257 - websocket: autobahn workflow should fail on error by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3259 - add bodymixin bytes by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3262 - perf: avoid buffer cloning by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3264 - feat: dump interceptor by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3118 - use private properties in Headers by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3269 - Revert "websocket: autobahn workflow should fail on error" by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3270 - build(deps): bump node from `487dc5d` to `9e8f45f` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3271 #### New Contributors - [@​DarkGL](https://github.com/DarkGL) made their first contribution in [nodejs/undici#3245 **Full Changelog**: nodejs/undici@v6.16.1...v6.17.0 ### [`v6.16.1`](https://github.com/nodejs/undici/releases/tag/v6.16.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.16.0...v6.16.1) #### What's Changed - fix some typos by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3217 - websocket: move codeblock in parseCloseBody by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3215 - fetch: enable wpt test request-referrer.any.js by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3223 - fetch: wpt add /fetch/api/resources/cache.py to server.mjs by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3225 - add pipe support for wpt server by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3228 - test: reduce the number of requests in `fire-and-forget.js` by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3229 - ci: add node 22 in ci test matrix, use 22 for coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3226 - fetch: don't set an invalid origin header by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3235 - fail wpt runner if expected failures does not match actual by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3236 - fix: ignore content-length when dumping HEAD by [@​ronag](https://github.com/ronag) in [nodejs/undici#3222 **Full Changelog**: nodejs/undici@v6.16.0...v6.16.1 ### [`v6.16.0`](https://github.com/nodejs/undici/releases/tag/v6.16.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.15.0...v6.16.0) #### What's Changed - add index to sequence converter errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3178 - build(deps-dev): bump borp from 0.12.0 to 0.13.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3179 - build(deps): bump node from 21-alpine3.19 to 22-alpine3.19 in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3180 - build(deps): bump superagent from 8.1.2 to 9.0.2 in /benchmarks by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3181 - fix: keep raw header name by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3183 - fix(fetch): improve Headers and Request type-compatibility by [@​kettanaito](https://github.com/kettanaito) in [nodejs/undici#1964 - fix 3 mimesniff tests by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3185 - build(deps): bump hendrikmuhs/ccache-action from 1.2.12 to 1.2.13 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3187 - build(deps): bump codecov/codecov-action from 4.1.1 to 4.3.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3191 - build(deps): bump github/codeql-action from 3.24.9 to 3.25.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3192 - build(deps): bump actions/dependency-review-action from 4.2.5 to 4.3.2 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3189 - build(deps): bump step-security/harden-runner from 2.7.0 to 2.7.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3188 - build(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3190 - build(deps): bump node from `9459e24` to `487dc5d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3195 - perf: avoid spread in makeRequest() by [@​gunjam](https://github.com/gunjam) in [nodejs/undici#3193 - refactor: code cleanup by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3194 - fix parsing when receiving empty body websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3205 - fix: MockResponseCallbackOptions type by [@​merojosa](https://github.com/merojosa) in [nodejs/undici#2951 - docs(proxy): fix typo by [@​kanadgupta](https://github.com/kanadgupta) in [nodejs/undici#3207 - fix websocket receiving an invalid utf-8 in close frame by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3206 - perf: avoid setImmediate if body is reading by [@​ronag](https://github.com/ronag) in [nodejs/undici#3210 - fix: request abort signal by [@​ronag](https://github.com/ronag) in [nodejs/undici#3209 - fix: remove abort handler on close by [@​ronag](https://github.com/ronag) in [nodejs/undici#3211 - fix: pass abort function by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3212 - websocket: 200x faster generate mask by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3204 - use FinalizationRegistry to cancel the body if response is collected by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3199 - websocket: don't clone buffer if it's not needed. by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3214 - websocket: use FastBuffer by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3213 #### New Contributors - [@​kettanaito](https://github.com/kettanaito) made their first contribution in [nodejs/undici#1964 - [@​gunjam](https://github.com/gunjam) made their first contribution in [nodejs/undici#3193 - [@​merojosa](https://github.com/merojosa) made their first contribution in [nodejs/undici#2951 - [@​kanadgupta](https://github.com/kanadgupta) made their first contribution in [nodejs/undici#3207 **Full Changelog**: nodejs/undici@v6.15.0...v6.16.0 ### [`v6.15.0`](https://github.com/nodejs/undici/releases/tag/v6.15.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.1...v6.15.0) #### What's Changed - Expose EnvHttpProxyAgent to Node.js core bundle, so it can be turned … by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3148 - test: add headerslist copy check by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3156 - chore: ensure automated v6 release compared to v6 by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3149 - fetch: do not leak signal listeners by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3158 - fix: request cache mode is not the same as request mode by [@​tsibley](https://github.com/tsibley) in [nodejs/undici#3151 - fetch: don't re-lowercase HeadersList by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3159 - fix casing issue when cloning Headers object by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3160 - build(deps): bump node from `6d0f18a` to `db8772d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3163 - fix header cloning bug by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3162 - chore: change bench naming for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3165 - expose WebSocket related events in node bundle by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3167 - feat: add support for if-match on retry handler by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3144 - fix: correct firing order of abort events by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3169 - create fast MessageEvent by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3170 - chore: add explicitly [@​fastify/busboy](https://github.com/fastify/busboy) by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3172 - chore: remove sinon as dev dependency by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3171 - webidl changes by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3175 - preserve dictionary key name in webidl errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3176 #### New Contributors - [@​tsibley](https://github.com/tsibley) made their first contribution in [nodejs/undici#3151 **Full Changelog**: nodejs/undici@v6.14.1...v6.15.0 ### [`v6.14.1`](https://github.com/nodejs/undici/releases/tag/v6.14.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.0...v6.14.1) #### What's Changed - fix: tweak keep-alive timeout implementation by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3145 - build(deps-dev): bump borp from 0.11.0 to 0.12.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3153 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3154 - fix(EnvHttpProxyAgent): prefer lowercase env vars by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#3152 **Full Changelog**: nodejs/undici@v6.14.0...v6.14.1 ### [`v6.14.0`](https://github.com/nodejs/undici/releases/tag/v6.14.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.13.0...v6.14.0) #### What's Changed - bench: enable benchmarks for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3100 - perf: improve performance of isomorphicEncode by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3101 - util: remove isReadableAborted by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3104 - fix(types): The second parameter of EventSource is optional by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3106 - fix: onConnect types by [@​ronag](https://github.com/ronag) in [nodejs/undici#3116 - add dispatcher option to EventSource by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3119 - core: improve parseURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3102 - test: increase coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3121 - docs: add directions to run docs and benchmarks by [@​FatumaA](https://github.com/FatumaA) in [nodejs/undici#3092 - perf: avoid unnecessary clone by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3117 - build(deps-dev): bump borp from 0.10.0 to 0.11.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3126 - drop node support for < v18.17.0 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3125 - test: improve test and ci performance by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3135 - Added EnvHttpProxyAgent to support HTTP_PROXY by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#2994 - fetch: Change wording of "Body is unusable" error by [@​nzakas](https://github.com/nzakas) in [nodejs/undici#3105 - perf: use class instead of object literals with getters by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3138 - fix: unhandled exception or failing error body by [@​ronag](https://github.com/ronag) in [nodejs/undici#3137 - reuse realm for Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3142 - fix([H2-#​3140](https://github.com/H2-/undici/issues/3140)): abort requets upon GOAWAY by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3143 - don't store realm on Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3146 - improve: wasm build by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3074 #### New Contributors - [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) made their first contribution in [nodejs/undici#2994 - [@​nzakas](https://github.com/nzakas) made their first contribution in [nodejs/undici#3105 **Full Changelog**: nodejs/undici@v6.13.0...v6.14.0 ### [`v6.13.0`](https://github.com/nodejs/undici/releases/tag/v6.13.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.12.0...v6.13.0) #### What's Changed - build(deps): bump node from `9696b26` to `ad255c6` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3073 - test: remove only by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3077 - fix: defer errors with setImmediate by [@​ronag](https://github.com/ronag) in [nodejs/undici#3081 - improve DecoratorHandler by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3079 - chore: removed unused escapeFormDataName by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3084 - Mention option to pass streams into FormData by [@​JaoodxD](https://github.com/JaoodxD) in [nodejs/undici#3086 - fetch: improve performance of isValidEncodedURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3090 - optimize utf8Decode by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3085 - refactor: h2 refactoring by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3082 - Skip the creation of a transform stream in fetch by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3093 - fetch: improve performance of urlHasHttpsScheme by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3094 - fetch: avoid creation of an intermediary ReadableStream by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3095 - test: duplicate jest unspecific tests to native runner by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3075 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3096 - fetch: improve performance of isValidHeaderValue by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3098 - chore: automate releases with pr by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3089 #### New Contributors - [@​github-actions](https://github.com/github-actions) made their first contribution in [nodejs/undici#3099 **Full Changelog**: nodejs/undici@v6.12.0...v6.13.0 ### [`v6.12.0`](https://github.com/nodejs/undici/releases/tag/v6.12.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.11.1...v6.12.0) #### What's Changed - fix: broken test by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3045 - fix: http2 header parsing by [@​climba03003](https://github.com/climba03003) in [nodejs/undici#3047 - types: fix Request.refererPolicy and RequestInit.refererPolicy are incompatible by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3039 - fix(types): onHeaders always takes headers as an array of buffer by [@​ronag](https://github.com/ronag) in [nodejs/undici#3050 - fix: ProxyAgent causes request.headers.host to be forcibly reset by [@​1zilc](https://github.com/1zilc) in [nodejs/undici#3026 - fallback to Buffer.isUtf8 on platforms without icu by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3006 - build(deps): bump github/codeql-action from 3.24.6 to 3.24.9 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3037 - build(deps): bump actions/dependency-review-action from 4.1.3 to 4.2.5 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3035 - build(deps): bump node from `577f8eb` to `87524df` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3055 - build(deps): bump node from `87524df` to `9696b26` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3058 - fetch: Block ports 4190 & 6679 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3059 - test: activate testing for interceptors and cache by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3061 - cache: improve test coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3063 - feat: modernize fuzzing by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3060 - fix: request abort by [@​ronag](https://github.com/ronag) in [nodejs/undici#3056 - fix: signal handling by [@​ronag](https://github.com/ronag) in [nodejs/undici#3053 - fix(H2): handle goaway properly by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3057 - test: client, set body to null if bigger than CHUNK_LIMIT by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3064 - mock: improve mock interceptor by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3062 - fix: bad client destroy on servername change by [@​ronag](https://github.com/ronag) in [nodejs/undici#3066 - perf: improve isBlobLike by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3070 - test: add sanity check for llhttp wasm files by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3068 #### New Contributors - [@​zbinlin](https://github.com/zbinlin) made their first contribution in [nodejs/undici#3039 - [@​1zilc](https://github.com/1zilc) made their first contribution in [nodejs/undici#3026 **Full Changelog**: nodejs/undici@v6.11.1...v6.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [undici](https://undici.nodejs.org) ([source](https://github.com/nodejs/undici)) | [`6.19.0` -> `6.19.2`](https://renovatebot.com/diffs/npm/undici/6.11.1/6.19.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.19.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.19.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/6.11.1/6.19.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/6.11.1/6.19.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nodejs/undici (undici)</summary> ### [`v6.19.2`](https://github.com/nodejs/undici/releases/tag/v6.19.2) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.1...v6.19.2) #### What's Changed - fix [#​3337](https://github.com/nodejs/undici/issues/3337) by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3338 - build: use `husky` as `husky install` is deprecated by [@​jazelly](https://github.com/jazelly) in [nodejs/undici#3340 - fix: interceptors.d.ts has no default export by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3332 **Full Changelog**: nodejs/undici@v6.19.1...v6.19.2 ### [`v6.19.1`](https://github.com/nodejs/undici/compare/v6.19.0...f6b9b442b02d8ab81b06ea0473e1c22bc8ddc254) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.0...v6.19.1) ### [`v6.19.0`](https://github.com/nodejs/undici/releases/tag/v6.19.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.2...v6.19.0) #### What's Changed - build(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3305 - build(deps): bump codecov/codecov-action from 4.3.1 to 4.4.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3303 - build(deps): bump step-security/harden-runner from 2.7.1 to 2.8.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3304 - build(deps): bump github/codeql-action from 3.25.3 to 3.25.7 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3306 - build(deps): bump node from `9e8f45f` to `dd7e693` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3309 - build(deps): bump node from `dd7e693` to `e6d4495` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3313 - remove websocket experimental warning by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3311 - perf: optimization of request instantiation by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3107 - perf: convert object to params by [@​DarkGL](https://github.com/DarkGL) in [nodejs/undici#3302 - build(deps-dev): bump borp from 0.14.0 to 0.15.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3320 - build(deps-dev): bump c8 from 9.1.0 to 10.0.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3321 - fix: add missing error classes to types by [@​maxbeatty](https://github.com/maxbeatty) in [nodejs/undici#3316 - export interceptor to type def file by [@​jakecastelli](https://github.com/jakecastelli) in [nodejs/undici#3318 - build(deps): bump node from `e6d4495` to `075a5cc` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3326 - doc: clearify the behaviour of `bodyTimeout` in the request by [@​jakecastelli](https://github.com/jakecastelli) in [nodejs/undici#3324 - feature: support pre-shared sessions by [@​tastypackets](https://github.com/tastypackets) in [nodejs/undici#3325 #### New Contributors - [@​maxbeatty](https://github.com/maxbeatty) made their first contribution in [nodejs/undici#3316 - [@​jakecastelli](https://github.com/jakecastelli) made their first contribution in [nodejs/undici#3318 **Full Changelog**: nodejs/undici@v6.18.2...v6.19.0 ### [`v6.18.2`](https://github.com/nodejs/undici/compare/v6.18.1...665f24738041757789fab95cce40cb0345cf2c0f) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.1...v6.18.2) ### [`v6.18.1`](https://github.com/nodejs/undici/releases/tag/v6.18.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.0...v6.18.1) #### What's Changed - docs: Update references to dispatcher in docs by [@​haikyuu](https://github.com/haikyuu) in [nodejs/undici#3281 - fix: compatibility for global headers by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3286 - websocket: pre-calculated length by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3284 - ci: fix autobahn workflow by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3291 - revert: "websocket: pre-calculated length" by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3290 - websocket: use FixedQueue instead of Set by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3283 #### New Contributors - [@​haikyuu](https://github.com/haikyuu) made their first contribution in [nodejs/undici#3281 **Full Changelog**: nodejs/undici@v6.18.0...v6.18.1 ### [`v6.18.0`](https://github.com/nodejs/undici/releases/tag/v6.18.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.17.0...v6.18.0) #### What's Changed - permessage-deflate decompression support in websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3263 - fix: Fix server closing in tests. by [@​ShogunPanda](https://github.com/ShogunPanda) in [nodejs/undici#3279 **Full Changelog**: nodejs/undici@v6.17.0...v6.18.0 ### [`v6.17.0`](https://github.com/nodejs/undici/releases/tag/v6.17.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.16.1...v6.17.0) #### What's Changed - fetch: fix captureStackTrace by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3227 - fetch: fix wpt test request-upload.any.js by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3234 - websocket: don't clone buffer by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3240 - Remove unecessary async from writeBuffer by [@​DarkGL](https://github.com/DarkGL) in [nodejs/undici#3245 - refactor websocket control frame handling by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3241 - fix parsing continuation frames in websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3247 - ci: node nightly test should use node 23 by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3248 - Add test to verify if the connection is correctly aborted on cancel by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3219 - Autobahn suite by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3251 - websocket: fix 6 autobahn tests by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3254 - websocket: checkout correct commit in autobahn workflow by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3258 - Cleanup websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3257 - websocket: autobahn workflow should fail on error by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3259 - add bodymixin bytes by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3262 - perf: avoid buffer cloning by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3264 - feat: dump interceptor by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3118 - use private properties in Headers by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3269 - Revert "websocket: autobahn workflow should fail on error" by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3270 - build(deps): bump node from `487dc5d` to `9e8f45f` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3271 #### New Contributors - [@​DarkGL](https://github.com/DarkGL) made their first contribution in [nodejs/undici#3245 **Full Changelog**: nodejs/undici@v6.16.1...v6.17.0 ### [`v6.16.1`](https://github.com/nodejs/undici/releases/tag/v6.16.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.16.0...v6.16.1) #### What's Changed - fix some typos by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3217 - websocket: move codeblock in parseCloseBody by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3215 - fetch: enable wpt test request-referrer.any.js by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3223 - fetch: wpt add /fetch/api/resources/cache.py to server.mjs by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3225 - add pipe support for wpt server by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3228 - test: reduce the number of requests in `fire-and-forget.js` by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3229 - ci: add node 22 in ci test matrix, use 22 for coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3226 - fetch: don't set an invalid origin header by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3235 - fail wpt runner if expected failures does not match actual by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3236 - fix: ignore content-length when dumping HEAD by [@​ronag](https://github.com/ronag) in [nodejs/undici#3222 **Full Changelog**: nodejs/undici@v6.16.0...v6.16.1 ### [`v6.16.0`](https://github.com/nodejs/undici/releases/tag/v6.16.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.15.0...v6.16.0) #### What's Changed - add index to sequence converter errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3178 - build(deps-dev): bump borp from 0.12.0 to 0.13.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3179 - build(deps): bump node from 21-alpine3.19 to 22-alpine3.19 in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3180 - build(deps): bump superagent from 8.1.2 to 9.0.2 in /benchmarks by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3181 - fix: keep raw header name by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3183 - fix(fetch): improve Headers and Request type-compatibility by [@​kettanaito](https://github.com/kettanaito) in [nodejs/undici#1964 - fix 3 mimesniff tests by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3185 - build(deps): bump hendrikmuhs/ccache-action from 1.2.12 to 1.2.13 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3187 - build(deps): bump codecov/codecov-action from 4.1.1 to 4.3.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3191 - build(deps): bump github/codeql-action from 3.24.9 to 3.25.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3192 - build(deps): bump actions/dependency-review-action from 4.2.5 to 4.3.2 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3189 - build(deps): bump step-security/harden-runner from 2.7.0 to 2.7.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3188 - build(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3190 - build(deps): bump node from `9459e24` to `487dc5d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3195 - perf: avoid spread in makeRequest() by [@​gunjam](https://github.com/gunjam) in [nodejs/undici#3193 - refactor: code cleanup by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3194 - fix parsing when receiving empty body websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3205 - fix: MockResponseCallbackOptions type by [@​merojosa](https://github.com/merojosa) in [nodejs/undici#2951 - docs(proxy): fix typo by [@​kanadgupta](https://github.com/kanadgupta) in [nodejs/undici#3207 - fix websocket receiving an invalid utf-8 in close frame by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3206 - perf: avoid setImmediate if body is reading by [@​ronag](https://github.com/ronag) in [nodejs/undici#3210 - fix: request abort signal by [@​ronag](https://github.com/ronag) in [nodejs/undici#3209 - fix: remove abort handler on close by [@​ronag](https://github.com/ronag) in [nodejs/undici#3211 - fix: pass abort function by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3212 - websocket: 200x faster generate mask by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3204 - use FinalizationRegistry to cancel the body if response is collected by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3199 - websocket: don't clone buffer if it's not needed. by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3214 - websocket: use FastBuffer by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3213 #### New Contributors - [@​kettanaito](https://github.com/kettanaito) made their first contribution in [nodejs/undici#1964 - [@​gunjam](https://github.com/gunjam) made their first contribution in [nodejs/undici#3193 - [@​merojosa](https://github.com/merojosa) made their first contribution in [nodejs/undici#2951 - [@​kanadgupta](https://github.com/kanadgupta) made their first contribution in [nodejs/undici#3207 **Full Changelog**: nodejs/undici@v6.15.0...v6.16.0 ### [`v6.15.0`](https://github.com/nodejs/undici/releases/tag/v6.15.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.1...v6.15.0) #### What's Changed - Expose EnvHttpProxyAgent to Node.js core bundle, so it can be turned … by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3148 - test: add headerslist copy check by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3156 - chore: ensure automated v6 release compared to v6 by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3149 - fetch: do not leak signal listeners by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3158 - fix: request cache mode is not the same as request mode by [@​tsibley](https://github.com/tsibley) in [nodejs/undici#3151 - fetch: don't re-lowercase HeadersList by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3159 - fix casing issue when cloning Headers object by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3160 - build(deps): bump node from `6d0f18a` to `db8772d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3163 - fix header cloning bug by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3162 - chore: change bench naming for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3165 - expose WebSocket related events in node bundle by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3167 - feat: add support for if-match on retry handler by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3144 - fix: correct firing order of abort events by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3169 - create fast MessageEvent by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3170 - chore: add explicitly [@​fastify/busboy](https://github.com/fastify/busboy) by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3172 - chore: remove sinon as dev dependency by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3171 - webidl changes by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3175 - preserve dictionary key name in webidl errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3176 #### New Contributors - [@​tsibley](https://github.com/tsibley) made their first contribution in [nodejs/undici#3151 **Full Changelog**: nodejs/undici@v6.14.1...v6.15.0 ### [`v6.14.1`](https://github.com/nodejs/undici/releases/tag/v6.14.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.0...v6.14.1) #### What's Changed - fix: tweak keep-alive timeout implementation by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3145 - build(deps-dev): bump borp from 0.11.0 to 0.12.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3153 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3154 - fix(EnvHttpProxyAgent): prefer lowercase env vars by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#3152 **Full Changelog**: nodejs/undici@v6.14.0...v6.14.1 ### [`v6.14.0`](https://github.com/nodejs/undici/releases/tag/v6.14.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.13.0...v6.14.0) #### What's Changed - bench: enable benchmarks for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3100 - perf: improve performance of isomorphicEncode by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3101 - util: remove isReadableAborted by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3104 - fix(types): The second parameter of EventSource is optional by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3106 - fix: onConnect types by [@​ronag](https://github.com/ronag) in [nodejs/undici#3116 - add dispatcher option to EventSource by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3119 - core: improve parseURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3102 - test: increase coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3121 - docs: add directions to run docs and benchmarks by [@​FatumaA](https://github.com/FatumaA) in [nodejs/undici#3092 - perf: avoid unnecessary clone by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3117 - build(deps-dev): bump borp from 0.10.0 to 0.11.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3126 - drop node support for < v18.17.0 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3125 - test: improve test and ci performance by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3135 - Added EnvHttpProxyAgent to support HTTP_PROXY by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#2994 - fetch: Change wording of "Body is unusable" error by [@​nzakas](https://github.com/nzakas) in [nodejs/undici#3105 - perf: use class instead of object literals with getters by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3138 - fix: unhandled exception or failing error body by [@​ronag](https://github.com/ronag) in [nodejs/undici#3137 - reuse realm for Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3142 - fix([H2-#​3140](https://github.com/H2-/undici/issues/3140)): abort requets upon GOAWAY by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3143 - don't store realm on Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3146 - improve: wasm build by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3074 #### New Contributors - [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) made their first contribution in [nodejs/undici#2994 - [@​nzakas](https://github.com/nzakas) made their first contribution in [nodejs/undici#3105 **Full Changelog**: nodejs/undici@v6.13.0...v6.14.0 ### [`v6.13.0`](https://github.com/nodejs/undici/releases/tag/v6.13.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.12.0...v6.13.0) #### What's Changed - build(deps): bump node from `9696b26` to `ad255c6` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3073 - test: remove only by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3077 - fix: defer errors with setImmediate by [@​ronag](https://github.com/ronag) in [nodejs/undici#3081 - improve DecoratorHandler by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3079 - chore: removed unused escapeFormDataName by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3084 - Mention option to pass streams into FormData by [@​JaoodxD](https://github.com/JaoodxD) in [nodejs/undici#3086 - fetch: improve performance of isValidEncodedURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3090 - optimize utf8Decode by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3085 - refactor: h2 refactoring by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3082 - Skip the creation of a transform stream in fetch by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3093 - fetch: improve performance of urlHasHttpsScheme by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3094 - fetch: avoid creation of an intermediary ReadableStream by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3095 - test: duplicate jest unspecific tests to native runner by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3075 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3096 - fetch: improve performance of isValidHeaderValue by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3098 - chore: automate releases with pr by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3089 #### New Contributors - [@​github-actions](https://github.com/github-actions) made their first contribution in [nodejs/undici#3099 **Full Changelog**: nodejs/undici@v6.12.0...v6.13.0 ### [`v6.12.0`](https://github.com/nodejs/undici/releases/tag/v6.12.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.11.1...v6.12.0) #### What's Changed - fix: broken test by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3045 - fix: http2 header parsing by [@​climba03003](https://github.com/climba03003) in [nodejs/undici#3047 - types: fix Request.refererPolicy and RequestInit.refererPolicy are incompatible by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3039 - fix(types): onHeaders always takes headers as an array of buffer by [@​ronag](https://github.com/ronag) in [nodejs/undici#3050 - fix: ProxyAgent causes request.headers.host to be forcibly reset by [@​1zilc](https://github.com/1zilc) in [nodejs/undici#3026 - fallback to Buffer.isUtf8 on platforms without icu by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3006 - build(deps): bump github/codeql-action from 3.24.6 to 3.24.9 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3037 - build(deps): bump actions/dependency-review-action from 4.1.3 to 4.2.5 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3035 - build(deps): bump node from `577f8eb` to `87524df` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3055 - build(deps): bump node from `87524df` to `9696b26` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3058 - fetch: Block ports 4190 & 6679 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3059 - test: activate testing for interceptors and cache by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3061 - cache: improve test coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3063 - feat: modernize fuzzing by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3060 - fix: request abort by [@​ronag](https://github.com/ronag) in [nodejs/undici#3056 - fix: signal handling by [@​ronag](https://github.com/ronag) in [nodejs/undici#3053 - fix(H2): handle goaway properly by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3057 - test: client, set body to null if bigger than CHUNK_LIMIT by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3064 - mock: improve mock interceptor by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3062 - fix: bad client destroy on servername change by [@​ronag](https://github.com/ronag) in [nodejs/undici#3066 - perf: improve isBlobLike by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3070 - test: add sanity check for llhttp wasm files by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3068 #### New Contributors - [@​zbinlin](https://github.com/zbinlin) made their first contribution in [nodejs/undici#3039 - [@​1zilc](https://github.com/1zilc) made their first contribution in [nodejs/undici#3026 **Full Changelog**: nodejs/undici@v6.11.1...v6.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [undici](https://undici.nodejs.org) ([source](https://github.com/nodejs/undici)) | [`6.19.2` -> `6.19.4`](https://renovatebot.com/diffs/npm/undici/6.11.1/6.19.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.19.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.19.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/6.11.1/6.19.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/6.11.1/6.19.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nodejs/undici (undici)</summary> ### [`v6.19.4`](https://github.com/nodejs/undici/compare/v6.19.3...62241c3600513cf0e8eac11cf16ed9dca98a80ac) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.3...62241c3600513cf0e8eac11cf16ed9dca98a80ac) ### [`v6.19.3`](https://github.com/nodejs/undici/releases/tag/v6.19.3) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.2...v6.19.3) **Full Changelog**: nodejs/undici@v6.19.2...v6.19.3 ### [`v6.19.2`](https://github.com/nodejs/undici/releases/tag/v6.19.2) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.1...v6.19.2) #### What's Changed - fix [#​3337](https://github.com/nodejs/undici/issues/3337) by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3338 - build: use `husky` as `husky install` is deprecated by [@​jazelly](https://github.com/jazelly) in [nodejs/undici#3340 - fix: interceptors.d.ts has no default export by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3332 **Full Changelog**: nodejs/undici@v6.19.1...v6.19.2 ### [`v6.19.1`](https://github.com/nodejs/undici/releases/tag/v6.19.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.0...v6.19.1) #### What's Changed - don't append empty origin by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3335 **Full Changelog**: nodejs/undici@v6.19.0...v6.19.1 ### [`v6.19.0`](https://github.com/nodejs/undici/releases/tag/v6.19.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.2...v6.19.0) #### What's Changed - build(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3305 - build(deps): bump codecov/codecov-action from 4.3.1 to 4.4.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3303 - build(deps): bump step-security/harden-runner from 2.7.1 to 2.8.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3304 - build(deps): bump github/codeql-action from 3.25.3 to 3.25.7 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3306 - build(deps): bump node from `9e8f45f` to `dd7e693` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3309 - build(deps): bump node from `dd7e693` to `e6d4495` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3313 - remove websocket experimental warning by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3311 - perf: optimization of request instantiation by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3107 - perf: convert object to params by [@​DarkGL](https://github.com/DarkGL) in [nodejs/undici#3302 - build(deps-dev): bump borp from 0.14.0 to 0.15.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3320 - build(deps-dev): bump c8 from 9.1.0 to 10.0.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3321 - fix: add missing error classes to types by [@​maxbeatty](https://github.com/maxbeatty) in [nodejs/undici#3316 - export interceptor to type def file by [@​jakecastelli](https://github.com/jakecastelli) in [nodejs/undici#3318 - build(deps): bump node from `e6d4495` to `075a5cc` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3326 - doc: clearify the behaviour of `bodyTimeout` in the request by [@​jakecastelli](https://github.com/jakecastelli) in [nodejs/undici#3324 - feature: support pre-shared sessions by [@​tastypackets](https://github.com/tastypackets) in [nodejs/undici#3325 #### New Contributors - [@​maxbeatty](https://github.com/maxbeatty) made their first contribution in [nodejs/undici#3316 - [@​jakecastelli](https://github.com/jakecastelli) made their first contribution in [nodejs/undici#3318 **Full Changelog**: nodejs/undici@v6.18.2...v6.19.0 ### [`v6.18.2`](https://github.com/nodejs/undici/compare/v6.18.1...665f24738041757789fab95cce40cb0345cf2c0f) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.1...v6.18.2) ### [`v6.18.1`](https://github.com/nodejs/undici/releases/tag/v6.18.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.0...v6.18.1) #### What's Changed - docs: Update references to dispatcher in docs by [@​haikyuu](https://github.com/haikyuu) in [nodejs/undici#3281 - fix: compatibility for global headers by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3286 - websocket: pre-calculated length by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3284 - ci: fix autobahn workflow by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3291 - revert: "websocket: pre-calculated length" by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3290 - websocket: use FixedQueue instead of Set by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3283 #### New Contributors - [@​haikyuu](https://github.com/haikyuu) made their first contribution in [nodejs/undici#3281 **Full Changelog**: nodejs/undici@v6.18.0...v6.18.1 ### [`v6.18.0`](https://github.com/nodejs/undici/releases/tag/v6.18.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.17.0...v6.18.0) #### What's Changed - permessage-deflate decompression support in websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3263 - fix: Fix server closing in tests. by [@​ShogunPanda](https://github.com/ShogunPanda) in [nodejs/undici#3279 **Full Changelog**: nodejs/undici@v6.17.0...v6.18.0 ### [`v6.17.0`](https://github.com/nodejs/undici/releases/tag/v6.17.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.16.1...v6.17.0) #### What's Changed - fetch: fix captureStackTrace by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3227 - fetch: fix wpt test request-upload.any.js by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3234 - websocket: don't clone buffer by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3240 - Remove unecessary async from writeBuffer by [@​DarkGL](https://github.com/DarkGL) in [nodejs/undici#3245 - refactor websocket control frame handling by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3241 - fix parsing continuation frames in websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3247 - ci: node nightly test should use node 23 by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3248 - Add test to verify if the connection is correctly aborted on cancel by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3219 - Autobahn suite by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3251 - websocket: fix 6 autobahn tests by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3254 - websocket: checkout correct commit in autobahn workflow by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3258 - Cleanup websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3257 - websocket: autobahn workflow should fail on error by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3259 - add bodymixin bytes by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3262 - perf: avoid buffer cloning by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3264 - feat: dump interceptor by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3118 - use private properties in Headers by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3269 - Revert "websocket: autobahn workflow should fail on error" by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3270 - build(deps): bump node from `487dc5d` to `9e8f45f` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3271 #### New Contributors - [@​DarkGL](https://github.com/DarkGL) made their first contribution in [nodejs/undici#3245 **Full Changelog**: nodejs/undici@v6.16.1...v6.17.0 ### [`v6.16.1`](https://github.com/nodejs/undici/releases/tag/v6.16.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.16.0...v6.16.1) #### What's Changed - fix some typos by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3217 - websocket: move codeblock in parseCloseBody by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3215 - fetch: enable wpt test request-referrer.any.js by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3223 - fetch: wpt add /fetch/api/resources/cache.py to server.mjs by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3225 - add pipe support for wpt server by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3228 - test: reduce the number of requests in `fire-and-forget.js` by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3229 - ci: add node 22 in ci test matrix, use 22 for coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3226 - fetch: don't set an invalid origin header by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3235 - fail wpt runner if expected failures does not match actual by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3236 - fix: ignore content-length when dumping HEAD by [@​ronag](https://github.com/ronag) in [nodejs/undici#3222 **Full Changelog**: nodejs/undici@v6.16.0...v6.16.1 ### [`v6.16.0`](https://github.com/nodejs/undici/releases/tag/v6.16.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.15.0...v6.16.0) #### What's Changed - add index to sequence converter errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3178 - build(deps-dev): bump borp from 0.12.0 to 0.13.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3179 - build(deps): bump node from 21-alpine3.19 to 22-alpine3.19 in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3180 - build(deps): bump superagent from 8.1.2 to 9.0.2 in /benchmarks by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3181 - fix: keep raw header name by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3183 - fix(fetch): improve Headers and Request type-compatibility by [@​kettanaito](https://github.com/kettanaito) in [nodejs/undici#1964 - fix 3 mimesniff tests by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3185 - build(deps): bump hendrikmuhs/ccache-action from 1.2.12 to 1.2.13 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3187 - build(deps): bump codecov/codecov-action from 4.1.1 to 4.3.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3191 - build(deps): bump github/codeql-action from 3.24.9 to 3.25.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3192 - build(deps): bump actions/dependency-review-action from 4.2.5 to 4.3.2 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3189 - build(deps): bump step-security/harden-runner from 2.7.0 to 2.7.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3188 - build(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3190 - build(deps): bump node from `9459e24` to `487dc5d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3195 - perf: avoid spread in makeRequest() by [@​gunjam](https://github.com/gunjam) in [nodejs/undici#3193 - refactor: code cleanup by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3194 - fix parsing when receiving empty body websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3205 - fix: MockResponseCallbackOptions type by [@​merojosa](https://github.com/merojosa) in [nodejs/undici#2951 - docs(proxy): fix typo by [@​kanadgupta](https://github.com/kanadgupta) in [nodejs/undici#3207 - fix websocket receiving an invalid utf-8 in close frame by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3206 - perf: avoid setImmediate if body is reading by [@​ronag](https://github.com/ronag) in [nodejs/undici#3210 - fix: request abort signal by [@​ronag](https://github.com/ronag) in [nodejs/undici#3209 - fix: remove abort handler on close by [@​ronag](https://github.com/ronag) in [nodejs/undici#3211 - fix: pass abort function by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3212 - websocket: 200x faster generate mask by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3204 - use FinalizationRegistry to cancel the body if response is collected by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3199 - websocket: don't clone buffer if it's not needed. by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3214 - websocket: use FastBuffer by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3213 #### New Contributors - [@​kettanaito](https://github.com/kettanaito) made their first contribution in [nodejs/undici#1964 - [@​gunjam](https://github.com/gunjam) made their first contribution in [nodejs/undici#3193 - [@​merojosa](https://github.com/merojosa) made their first contribution in [nodejs/undici#2951 - [@​kanadgupta](https://github.com/kanadgupta) made their first contribution in [nodejs/undici#3207 **Full Changelog**: nodejs/undici@v6.15.0...v6.16.0 ### [`v6.15.0`](https://github.com/nodejs/undici/releases/tag/v6.15.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.1...v6.15.0) #### What's Changed - Expose EnvHttpProxyAgent to Node.js core bundle, so it can be turned … by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3148 - test: add headerslist copy check by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3156 - chore: ensure automated v6 release compared to v6 by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3149 - fetch: do not leak signal listeners by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3158 - fix: request cache mode is not the same as request mode by [@​tsibley](https://github.com/tsibley) in [nodejs/undici#3151 - fetch: don't re-lowercase HeadersList by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3159 - fix casing issue when cloning Headers object by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3160 - build(deps): bump node from `6d0f18a` to `db8772d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3163 - fix header cloning bug by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3162 - chore: change bench naming for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3165 - expose WebSocket related events in node bundle by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3167 - feat: add support for if-match on retry handler by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3144 - fix: correct firing order of abort events by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3169 - create fast MessageEvent by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3170 - chore: add explicitly [@​fastify/busboy](https://github.com/fastify/busboy) by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3172 - chore: remove sinon as dev dependency by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3171 - webidl changes by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3175 - preserve dictionary key name in webidl errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3176 #### New Contributors - [@​tsibley](https://github.com/tsibley) made their first contribution in [nodejs/undici#3151 **Full Changelog**: nodejs/undici@v6.14.1...v6.15.0 ### [`v6.14.1`](https://github.com/nodejs/undici/releases/tag/v6.14.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.0...v6.14.1) #### What's Changed - fix: tweak keep-alive timeout implementation by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3145 - build(deps-dev): bump borp from 0.11.0 to 0.12.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3153 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3154 - fix(EnvHttpProxyAgent): prefer lowercase env vars by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#3152 **Full Changelog**: nodejs/undici@v6.14.0...v6.14.1 ### [`v6.14.0`](https://github.com/nodejs/undici/releases/tag/v6.14.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.13.0...v6.14.0) #### What's Changed - bench: enable benchmarks for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3100 - perf: improve performance of isomorphicEncode by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3101 - util: remove isReadableAborted by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3104 - fix(types): The second parameter of EventSource is optional by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3106 - fix: onConnect types by [@​ronag](https://github.com/ronag) in [nodejs/undici#3116 - add dispatcher option to EventSource by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3119 - core: improve parseURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3102 - test: increase coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3121 - docs: add directions to run docs and benchmarks by [@​FatumaA](https://github.com/FatumaA) in [nodejs/undici#3092 - perf: avoid unnecessary clone by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3117 - build(deps-dev): bump borp from 0.10.0 to 0.11.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3126 - drop node support for < v18.17.0 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3125 - test: improve test and ci performance by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3135 - Added EnvHttpProxyAgent to support HTTP_PROXY by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#2994 - fetch: Change wording of "Body is unusable" error by [@​nzakas](https://github.com/nzakas) in [nodejs/undici#3105 - perf: use class instead of object literals with getters by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3138 - fix: unhandled exception or failing error body by [@​ronag](https://github.com/ronag) in [nodejs/undici#3137 - reuse realm for Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3142 - fix([H2-#​3140](https://github.com/H2-/undici/issues/3140)): abort requets upon GOAWAY by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3143 - don't store realm on Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3146 - improve: wasm build by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3074 #### New Contributors - [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) made their first contribution in [nodejs/undici#2994 - [@​nzakas](https://github.com/nzakas) made their first contribution in [nodejs/undici#3105 **Full Changelog**: nodejs/undici@v6.13.0...v6.14.0 ### [`v6.13.0`](https://github.com/nodejs/undici/releases/tag/v6.13.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.12.0...v6.13.0) #### What's Changed - build(deps): bump node from `9696b26` to `ad255c6` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3073 - test: remove only by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3077 - fix: defer errors with setImmediate by [@​ronag](https://github.com/ronag) in [nodejs/undici#3081 - improve DecoratorHandler by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3079 - chore: removed unused escapeFormDataName by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3084 - Mention option to pass streams into FormData by [@​JaoodxD](https://github.com/JaoodxD) in [nodejs/undici#3086 - fetch: improve performance of isValidEncodedURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3090 - optimize utf8Decode by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3085 - refactor: h2 refactoring by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3082 - Skip the creation of a transform stream in fetch by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3093 - fetch: improve performance of urlHasHttpsScheme by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3094 - fetch: avoid creation of an intermediary ReadableStream by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3095 - test: duplicate jest unspecific tests to native runner by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3075 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3096 - fetch: improve performance of isValidHeaderValue by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3098 - chore: automate releases with pr by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3089 #### New Contributors - [@​github-actions](https://github.com/github-actions) made their first contribution in [nodejs/undici#3099 **Full Changelog**: nodejs/undici@v6.12.0...v6.13.0 ### [`v6.12.0`](https://github.com/nodejs/undici/releases/tag/v6.12.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.11.1...v6.12.0) #### What's Changed - fix: broken test by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3045 - fix: http2 header parsing by [@​climba03003](https://github.com/climba03003) in [nodejs/undici#3047 - types: fix Request.refererPolicy and RequestInit.refererPolicy are incompatible by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3039 - fix(types): onHeaders always takes headers as an array of buffer by [@​ronag](https://github.com/ronag) in [nodejs/undici#3050 - fix: ProxyAgent causes request.headers.host to be forcibly reset by [@​1zilc](https://github.com/1zilc) in [nodejs/undici#3026 - fallback to Buffer.isUtf8 on platforms without icu by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3006 - build(deps): bump github/codeql-action from 3.24.6 to 3.24.9 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3037 - build(deps): bump actions/dependency-review-action from 4.1.3 to 4.2.5 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3035 - build(deps): bump node from `577f8eb` to `87524df` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3055 - build(deps): bump node from `87524df` to `9696b26` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3058 - fetch: Block ports 4190 & 6679 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3059 - test: activate testing for interceptors and cache by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3061 - cache: improve test coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3063 - feat: modernize fuzzing by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3060 - fix: request abort by [@​ronag](https://github.com/ronag) in [nodejs/undici#3056 - fix: signal handling by [@​ronag](https://github.com/ronag) in [nodejs/undici#3053 - fix(H2): handle goaway properly by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3057 - test: client, set body to null if bigger than CHUNK_LIMIT by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3064 - mock: improve mock interceptor by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3062 - fix: bad client destroy on servername change by [@​ronag](https://github.com/ronag) in [nodejs/undici#3066 - perf: improve isBlobLike by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3070 - test: add sanity check for llhttp wasm files by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3068 #### New Contributors - [@​zbinlin](https://github.com/zbinlin) made their first contribution in [nodejs/undici#3039 - [@​1zilc](https://github.com/1zilc) made their first contribution in [nodejs/undici#3026 **Full Changelog**: nodejs/undici@v6.11.1...v6.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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 was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/X-oss-byte/Nextjs).
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [undici](https://undici.nodejs.org) ([source](https://github.com/nodejs/undici)) | [`6.19.4` -> `6.19.5`](https://renovatebot.com/diffs/npm/undici/6.11.1/6.19.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.19.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.19.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/6.11.1/6.19.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/6.11.1/6.19.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nodejs/undici (undici)</summary> ### [`v6.19.5`](https://github.com/nodejs/undici/releases/tag/v6.19.5) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.4...v6.19.5) **Full Changelog**: nodejs/undici@v6.19.4...v6.19.5 ### [`v6.19.4`](https://github.com/nodejs/undici/compare/v6.19.3...62241c3600513cf0e8eac11cf16ed9dca98a80ac) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.3...v6.19.4) ### [`v6.19.3`](https://github.com/nodejs/undici/releases/tag/v6.19.3) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.2...v6.19.3) **Full Changelog**: nodejs/undici@v6.19.2...v6.19.3 ### [`v6.19.2`](https://github.com/nodejs/undici/releases/tag/v6.19.2) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.1...v6.19.2) #### What's Changed - fix [#​3337](https://github.com/nodejs/undici/issues/3337) by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3338 - build: use `husky` as `husky install` is deprecated by [@​jazelly](https://github.com/jazelly) in [nodejs/undici#3340 - fix: interceptors.d.ts has no default export by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3332 **Full Changelog**: nodejs/undici@v6.19.1...v6.19.2 ### [`v6.19.1`](https://github.com/nodejs/undici/releases/tag/v6.19.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.0...v6.19.1) #### What's Changed - don't append empty origin by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3335 **Full Changelog**: nodejs/undici@v6.19.0...v6.19.1 ### [`v6.19.0`](https://github.com/nodejs/undici/releases/tag/v6.19.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.2...v6.19.0) #### What's Changed - build(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3305 - build(deps): bump codecov/codecov-action from 4.3.1 to 4.4.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3303 - build(deps): bump step-security/harden-runner from 2.7.1 to 2.8.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3304 - build(deps): bump github/codeql-action from 3.25.3 to 3.25.7 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3306 - build(deps): bump node from `9e8f45f` to `dd7e693` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3309 - build(deps): bump node from `dd7e693` to `e6d4495` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3313 - remove websocket experimental warning by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3311 - perf: optimization of request instantiation by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3107 - perf: convert object to params by [@​DarkGL](https://github.com/DarkGL) in [nodejs/undici#3302 - build(deps-dev): bump borp from 0.14.0 to 0.15.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3320 - build(deps-dev): bump c8 from 9.1.0 to 10.0.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3321 - fix: add missing error classes to types by [@​maxbeatty](https://github.com/maxbeatty) in [nodejs/undici#3316 - export interceptor to type def file by [@​jakecastelli](https://github.com/jakecastelli) in [nodejs/undici#3318 - build(deps): bump node from `e6d4495` to `075a5cc` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3326 - doc: clearify the behaviour of `bodyTimeout` in the request by [@​jakecastelli](https://github.com/jakecastelli) in [nodejs/undici#3324 - feature: support pre-shared sessions by [@​tastypackets](https://github.com/tastypackets) in [nodejs/undici#3325 #### New Contributors - [@​maxbeatty](https://github.com/maxbeatty) made their first contribution in [nodejs/undici#3316 - [@​jakecastelli](https://github.com/jakecastelli) made their first contribution in [nodejs/undici#3318 **Full Changelog**: nodejs/undici@v6.18.2...v6.19.0 ### [`v6.18.2`](https://github.com/nodejs/undici/compare/v6.18.1...665f24738041757789fab95cce40cb0345cf2c0f) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.1...v6.18.2) ### [`v6.18.1`](https://github.com/nodejs/undici/releases/tag/v6.18.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.0...v6.18.1) #### What's Changed - docs: Update references to dispatcher in docs by [@​haikyuu](https://github.com/haikyuu) in [nodejs/undici#3281 - fix: compatibility for global headers by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3286 - websocket: pre-calculated length by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3284 - ci: fix autobahn workflow by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3291 - revert: "websocket: pre-calculated length" by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3290 - websocket: use FixedQueue instead of Set by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3283 #### New Contributors - [@​haikyuu](https://github.com/haikyuu) made their first contribution in [nodejs/undici#3281 **Full Changelog**: nodejs/undici@v6.18.0...v6.18.1 ### [`v6.18.0`](https://github.com/nodejs/undici/releases/tag/v6.18.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.17.0...v6.18.0) #### What's Changed - permessage-deflate decompression support in websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3263 - fix: Fix server closing in tests. by [@​ShogunPanda](https://github.com/ShogunPanda) in [nodejs/undici#3279 **Full Changelog**: nodejs/undici@v6.17.0...v6.18.0 ### [`v6.17.0`](https://github.com/nodejs/undici/releases/tag/v6.17.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.16.1...v6.17.0) #### What's Changed - fetch: fix captureStackTrace by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3227 - fetch: fix wpt test request-upload.any.js by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3234 - websocket: don't clone buffer by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3240 - Remove unecessary async from writeBuffer by [@​DarkGL](https://github.com/DarkGL) in [nodejs/undici#3245 - refactor websocket control frame handling by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3241 - fix parsing continuation frames in websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3247 - ci: node nightly test should use node 23 by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3248 - Add test to verify if the connection is correctly aborted on cancel by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3219 - Autobahn suite by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3251 - websocket: fix 6 autobahn tests by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3254 - websocket: checkout correct commit in autobahn workflow by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3258 - Cleanup websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3257 - websocket: autobahn workflow should fail on error by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3259 - add bodymixin bytes by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3262 - perf: avoid buffer cloning by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3264 - feat: dump interceptor by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3118 - use private properties in Headers by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3269 - Revert "websocket: autobahn workflow should fail on error" by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3270 - build(deps): bump node from `487dc5d` to `9e8f45f` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3271 #### New Contributors - [@​DarkGL](https://github.com/DarkGL) made their first contribution in [nodejs/undici#3245 **Full Changelog**: nodejs/undici@v6.16.1...v6.17.0 ### [`v6.16.1`](https://github.com/nodejs/undici/releases/tag/v6.16.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.16.0...v6.16.1) #### What's Changed - fix some typos by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3217 - websocket: move codeblock in parseCloseBody by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3215 - fetch: enable wpt test request-referrer.any.js by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3223 - fetch: wpt add /fetch/api/resources/cache.py to server.mjs by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3225 - add pipe support for wpt server by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3228 - test: reduce the number of requests in `fire-and-forget.js` by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3229 - ci: add node 22 in ci test matrix, use 22 for coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3226 - fetch: don't set an invalid origin header by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3235 - fail wpt runner if expected failures does not match actual by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3236 - fix: ignore content-length when dumping HEAD by [@​ronag](https://github.com/ronag) in [nodejs/undici#3222 **Full Changelog**: nodejs/undici@v6.16.0...v6.16.1 ### [`v6.16.0`](https://github.com/nodejs/undici/releases/tag/v6.16.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.15.0...v6.16.0) #### What's Changed - add index to sequence converter errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3178 - build(deps-dev): bump borp from 0.12.0 to 0.13.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3179 - build(deps): bump node from 21-alpine3.19 to 22-alpine3.19 in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3180 - build(deps): bump superagent from 8.1.2 to 9.0.2 in /benchmarks by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3181 - fix: keep raw header name by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3183 - fix(fetch): improve Headers and Request type-compatibility by [@​kettanaito](https://github.com/kettanaito) in [nodejs/undici#1964 - fix 3 mimesniff tests by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3185 - build(deps): bump hendrikmuhs/ccache-action from 1.2.12 to 1.2.13 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3187 - build(deps): bump codecov/codecov-action from 4.1.1 to 4.3.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3191 - build(deps): bump github/codeql-action from 3.24.9 to 3.25.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3192 - build(deps): bump actions/dependency-review-action from 4.2.5 to 4.3.2 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3189 - build(deps): bump step-security/harden-runner from 2.7.0 to 2.7.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3188 - build(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3190 - build(deps): bump node from `9459e24` to `487dc5d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3195 - perf: avoid spread in makeRequest() by [@​gunjam](https://github.com/gunjam) in [nodejs/undici#3193 - refactor: code cleanup by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3194 - fix parsing when receiving empty body websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3205 - fix: MockResponseCallbackOptions type by [@​merojosa](https://github.com/merojosa) in [nodejs/undici#2951 - docs(proxy): fix typo by [@​kanadgupta](https://github.com/kanadgupta) in [nodejs/undici#3207 - fix websocket receiving an invalid utf-8 in close frame by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3206 - perf: avoid setImmediate if body is reading by [@​ronag](https://github.com/ronag) in [nodejs/undici#3210 - fix: request abort signal by [@​ronag](https://github.com/ronag) in [nodejs/undici#3209 - fix: remove abort handler on close by [@​ronag](https://github.com/ronag) in [nodejs/undici#3211 - fix: pass abort function by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3212 - websocket: 200x faster generate mask by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3204 - use FinalizationRegistry to cancel the body if response is collected by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3199 - websocket: don't clone buffer if it's not needed. by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3214 - websocket: use FastBuffer by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3213 #### New Contributors - [@​kettanaito](https://github.com/kettanaito) made their first contribution in [nodejs/undici#1964 - [@​gunjam](https://github.com/gunjam) made their first contribution in [nodejs/undici#3193 - [@​merojosa](https://github.com/merojosa) made their first contribution in [nodejs/undici#2951 - [@​kanadgupta](https://github.com/kanadgupta) made their first contribution in [nodejs/undici#3207 **Full Changelog**: nodejs/undici@v6.15.0...v6.16.0 ### [`v6.15.0`](https://github.com/nodejs/undici/releases/tag/v6.15.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.1...v6.15.0) #### What's Changed - Expose EnvHttpProxyAgent to Node.js core bundle, so it can be turned … by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3148 - test: add headerslist copy check by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3156 - chore: ensure automated v6 release compared to v6 by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3149 - fetch: do not leak signal listeners by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3158 - fix: request cache mode is not the same as request mode by [@​tsibley](https://github.com/tsibley) in [nodejs/undici#3151 - fetch: don't re-lowercase HeadersList by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3159 - fix casing issue when cloning Headers object by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3160 - build(deps): bump node from `6d0f18a` to `db8772d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3163 - fix header cloning bug by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3162 - chore: change bench naming for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3165 - expose WebSocket related events in node bundle by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3167 - feat: add support for if-match on retry handler by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3144 - fix: correct firing order of abort events by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3169 - create fast MessageEvent by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3170 - chore: add explicitly [@​fastify/busboy](https://github.com/fastify/busboy) by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3172 - chore: remove sinon as dev dependency by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3171 - webidl changes by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3175 - preserve dictionary key name in webidl errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3176 #### New Contributors - [@​tsibley](https://github.com/tsibley) made their first contribution in [nodejs/undici#3151 **Full Changelog**: nodejs/undici@v6.14.1...v6.15.0 ### [`v6.14.1`](https://github.com/nodejs/undici/releases/tag/v6.14.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.0...v6.14.1) #### What's Changed - fix: tweak keep-alive timeout implementation by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3145 - build(deps-dev): bump borp from 0.11.0 to 0.12.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3153 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3154 - fix(EnvHttpProxyAgent): prefer lowercase env vars by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#3152 **Full Changelog**: nodejs/undici@v6.14.0...v6.14.1 ### [`v6.14.0`](https://github.com/nodejs/undici/releases/tag/v6.14.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.13.0...v6.14.0) #### What's Changed - bench: enable benchmarks for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3100 - perf: improve performance of isomorphicEncode by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3101 - util: remove isReadableAborted by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3104 - fix(types): The second parameter of EventSource is optional by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3106 - fix: onConnect types by [@​ronag](https://github.com/ronag) in [nodejs/undici#3116 - add dispatcher option to EventSource by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3119 - core: improve parseURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3102 - test: increase coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3121 - docs: add directions to run docs and benchmarks by [@​FatumaA](https://github.com/FatumaA) in [nodejs/undici#3092 - perf: avoid unnecessary clone by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3117 - build(deps-dev): bump borp from 0.10.0 to 0.11.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3126 - drop node support for < v18.17.0 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3125 - test: improve test and ci performance by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3135 - Added EnvHttpProxyAgent to support HTTP_PROXY by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#2994 - fetch: Change wording of "Body is unusable" error by [@​nzakas](https://github.com/nzakas) in [nodejs/undici#3105 - perf: use class instead of object literals with getters by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3138 - fix: unhandled exception or failing error body by [@​ronag](https://github.com/ronag) in [nodejs/undici#3137 - reuse realm for Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3142 - fix([H2-#​3140](https://github.com/H2-/undici/issues/3140)): abort requets upon GOAWAY by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3143 - don't store realm on Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3146 - improve: wasm build by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3074 #### New Contributors - [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) made their first contribution in [nodejs/undici#2994 - [@​nzakas](https://github.com/nzakas) made their first contribution in [nodejs/undici#3105 **Full Changelog**: nodejs/undici@v6.13.0...v6.14.0 ### [`v6.13.0`](https://github.com/nodejs/undici/releases/tag/v6.13.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.12.0...v6.13.0) #### What's Changed - build(deps): bump node from `9696b26` to `ad255c6` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3073 - test: remove only by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3077 - fix: defer errors with setImmediate by [@​ronag](https://github.com/ronag) in [nodejs/undici#3081 - improve DecoratorHandler by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3079 - chore: removed unused escapeFormDataName by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3084 - Mention option to pass streams into FormData by [@​JaoodxD](https://github.com/JaoodxD) in [nodejs/undici#3086 - fetch: improve performance of isValidEncodedURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3090 - optimize utf8Decode by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3085 - refactor: h2 refactoring by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3082 - Skip the creation of a transform stream in fetch by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3093 - fetch: improve performance of urlHasHttpsScheme by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3094 - fetch: avoid creation of an intermediary ReadableStream by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3095 - test: duplicate jest unspecific tests to native runner by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3075 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3096 - fetch: improve performance of isValidHeaderValue by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3098 - chore: automate releases with pr by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3089 #### New Contributors - [@​github-actions](https://github.com/github-actions) made their first contribution in [nodejs/undici#3099 **Full Changelog**: nodejs/undici@v6.12.0...v6.13.0 ### [`v6.12.0`](https://github.com/nodejs/undici/releases/tag/v6.12.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.11.1...v6.12.0) #### What's Changed - fix: broken test by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3045 - fix: http2 header parsing by [@​climba03003](https://github.com/climba03003) in [nodejs/undici#3047 - types: fix Request.refererPolicy and RequestInit.refererPolicy are incompatible by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3039 - fix(types): onHeaders always takes headers as an array of buffer by [@​ronag](https://github.com/ronag) in [nodejs/undici#3050 - fix: ProxyAgent causes request.headers.host to be forcibly reset by [@​1zilc](https://github.com/1zilc) in [nodejs/undici#3026 - fallback to Buffer.isUtf8 on platforms without icu by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3006 - build(deps): bump github/codeql-action from 3.24.6 to 3.24.9 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3037 - build(deps): bump actions/dependency-review-action from 4.1.3 to 4.2.5 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3035 - build(deps): bump node from `577f8eb` to `87524df` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3055 - build(deps): bump node from `87524df` to `9696b26` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3058 - fetch: Block ports 4190 & 6679 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3059 - test: activate testing for interceptors and cache by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3061 - cache: improve test coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3063 - feat: modernize fuzzing by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3060 - fix: request abort by [@​ronag](https://github.com/ronag) in [nodejs/undici#3056 - fix: signal handling by [@​ronag](https://github.com/ronag) in [nodejs/undici#3053 - fix(H2): handle goaway properly by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3057 - test: client, set body to null if bigger than CHUNK_LIMIT by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3064 - mock: improve mock interceptor by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3062 - fix: bad client destroy on servername change by [@​ronag](https://github.com/ronag) in [nodejs/undici#3066 - perf: improve isBlobLike by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3070 - test: add sanity check for llhttp wasm files by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3068 #### New Contributors - [@​zbinlin](https://github.com/zbinlin) made their first contribution in [nodejs/undici#3039 - [@​1zilc](https://github.com/1zilc) made their first contribution in [nodejs/undici#3026 **Full Changelog**: nodejs/undici@v6.11.1...v6.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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 was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/X-oss-byte/Nextjs).
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [undici](https://undici.nodejs.org) ([source](https://github.com/nodejs/undici)) | [`6.19.5` -> `6.19.7`](https://renovatebot.com/diffs/npm/undici/6.11.1/6.19.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/6.11.1/6.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/6.11.1/6.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nodejs/undici (undici)</summary> ### [`v6.19.7`](https://github.com/nodejs/undici/releases/tag/v6.19.7) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.6...v6.19.7) **Full Changelog**: nodejs/undici@v6.19.6...v6.19.7 ### [`v6.19.6`](https://github.com/nodejs/undici/compare/v6.19.5...b9bf7adfddeb9cd93a9433a0a1d38e39afa5dfb5) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.5...v6.19.6) ### [`v6.19.5`](https://github.com/nodejs/undici/releases/tag/v6.19.5) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.4...v6.19.5) **Full Changelog**: nodejs/undici@v6.19.4...v6.19.5 ### [`v6.19.4`](https://github.com/nodejs/undici/compare/v6.19.3...62241c3600513cf0e8eac11cf16ed9dca98a80ac) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.3...v6.19.4) ### [`v6.19.3`](https://github.com/nodejs/undici/releases/tag/v6.19.3) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.2...v6.19.3) **Full Changelog**: nodejs/undici@v6.19.2...v6.19.3 ### [`v6.19.2`](https://github.com/nodejs/undici/releases/tag/v6.19.2) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.1...v6.19.2) #### What's Changed - fix [#​3337](https://github.com/nodejs/undici/issues/3337) by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3338 - build: use `husky` as `husky install` is deprecated by [@​jazelly](https://github.com/jazelly) in [nodejs/undici#3340 - fix: interceptors.d.ts has no default export by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3332 **Full Changelog**: nodejs/undici@v6.19.1...v6.19.2 ### [`v6.19.1`](https://github.com/nodejs/undici/releases/tag/v6.19.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.0...v6.19.1) #### What's Changed - don't append empty origin by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3335 **Full Changelog**: nodejs/undici@v6.19.0...v6.19.1 ### [`v6.19.0`](https://github.com/nodejs/undici/releases/tag/v6.19.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.2...v6.19.0) #### What's Changed - build(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3305 - build(deps): bump codecov/codecov-action from 4.3.1 to 4.4.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3303 - build(deps): bump step-security/harden-runner from 2.7.1 to 2.8.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3304 - build(deps): bump github/codeql-action from 3.25.3 to 3.25.7 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3306 - build(deps): bump node from `9e8f45f` to `dd7e693` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3309 - build(deps): bump node from `dd7e693` to `e6d4495` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3313 - remove websocket experimental warning by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3311 - perf: optimization of request instantiation by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3107 - perf: convert object to params by [@​DarkGL](https://github.com/DarkGL) in [nodejs/undici#3302 - build(deps-dev): bump borp from 0.14.0 to 0.15.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3320 - build(deps-dev): bump c8 from 9.1.0 to 10.0.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3321 - fix: add missing error classes to types by [@​maxbeatty](https://github.com/maxbeatty) in [nodejs/undici#3316 - export interceptor to type def file by [@​jakecastelli](https://github.com/jakecastelli) in [nodejs/undici#3318 - build(deps): bump node from `e6d4495` to `075a5cc` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3326 - doc: clearify the behaviour of `bodyTimeout` in the request by [@​jakecastelli](https://github.com/jakecastelli) in [nodejs/undici#3324 - feature: support pre-shared sessions by [@​tastypackets](https://github.com/tastypackets) in [nodejs/undici#3325 #### New Contributors - [@​maxbeatty](https://github.com/maxbeatty) made their first contribution in [nodejs/undici#3316 - [@​jakecastelli](https://github.com/jakecastelli) made their first contribution in [nodejs/undici#3318 **Full Changelog**: nodejs/undici@v6.18.2...v6.19.0 ### [`v6.18.2`](https://github.com/nodejs/undici/compare/v6.18.1...665f24738041757789fab95cce40cb0345cf2c0f) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.1...v6.18.2) ### [`v6.18.1`](https://github.com/nodejs/undici/releases/tag/v6.18.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.0...v6.18.1) #### What's Changed - docs: Update references to dispatcher in docs by [@​haikyuu](https://github.com/haikyuu) in [nodejs/undici#3281 - fix: compatibility for global headers by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3286 - websocket: pre-calculated length by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3284 - ci: fix autobahn workflow by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3291 - revert: "websocket: pre-calculated length" by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3290 - websocket: use FixedQueue instead of Set by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3283 #### New Contributors - [@​haikyuu](https://github.com/haikyuu) made their first contribution in [nodejs/undici#3281 **Full Changelog**: nodejs/undici@v6.18.0...v6.18.1 ### [`v6.18.0`](https://github.com/nodejs/undici/releases/tag/v6.18.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.17.0...v6.18.0) #### What's Changed - permessage-deflate decompression support in websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3263 - fix: Fix server closing in tests. by [@​ShogunPanda](https://github.com/ShogunPanda) in [nodejs/undici#3279 **Full Changelog**: nodejs/undici@v6.17.0...v6.18.0 ### [`v6.17.0`](https://github.com/nodejs/undici/releases/tag/v6.17.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.16.1...v6.17.0) #### What's Changed - fetch: fix captureStackTrace by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3227 - fetch: fix wpt test request-upload.any.js by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3234 - websocket: don't clone buffer by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3240 - Remove unecessary async from writeBuffer by [@​DarkGL](https://github.com/DarkGL) in [nodejs/undici#3245 - refactor websocket control frame handling by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3241 - fix parsing continuation frames in websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3247 - ci: node nightly test should use node 23 by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3248 - Add test to verify if the connection is correctly aborted on cancel by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3219 - Autobahn suite by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3251 - websocket: fix 6 autobahn tests by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3254 - websocket: checkout correct commit in autobahn workflow by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3258 - Cleanup websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3257 - websocket: autobahn workflow should fail on error by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3259 - add bodymixin bytes by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3262 - perf: avoid buffer cloning by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3264 - feat: dump interceptor by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3118 - use private properties in Headers by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3269 - Revert "websocket: autobahn workflow should fail on error" by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3270 - build(deps): bump node from `487dc5d` to `9e8f45f` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3271 #### New Contributors - [@​DarkGL](https://github.com/DarkGL) made their first contribution in [nodejs/undici#3245 **Full Changelog**: nodejs/undici@v6.16.1...v6.17.0 ### [`v6.16.1`](https://github.com/nodejs/undici/releases/tag/v6.16.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.16.0...v6.16.1) #### What's Changed - fix some typos by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3217 - websocket: move codeblock in parseCloseBody by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3215 - fetch: enable wpt test request-referrer.any.js by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3223 - fetch: wpt add /fetch/api/resources/cache.py to server.mjs by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3225 - add pipe support for wpt server by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3228 - test: reduce the number of requests in `fire-and-forget.js` by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3229 - ci: add node 22 in ci test matrix, use 22 for coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3226 - fetch: don't set an invalid origin header by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3235 - fail wpt runner if expected failures does not match actual by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3236 - fix: ignore content-length when dumping HEAD by [@​ronag](https://github.com/ronag) in [nodejs/undici#3222 **Full Changelog**: nodejs/undici@v6.16.0...v6.16.1 ### [`v6.16.0`](https://github.com/nodejs/undici/releases/tag/v6.16.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.15.0...v6.16.0) #### What's Changed - add index to sequence converter errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3178 - build(deps-dev): bump borp from 0.12.0 to 0.13.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3179 - build(deps): bump node from 21-alpine3.19 to 22-alpine3.19 in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3180 - build(deps): bump superagent from 8.1.2 to 9.0.2 in /benchmarks by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3181 - fix: keep raw header name by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3183 - fix(fetch): improve Headers and Request type-compatibility by [@​kettanaito](https://github.com/kettanaito) in [nodejs/undici#1964 - fix 3 mimesniff tests by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3185 - build(deps): bump hendrikmuhs/ccache-action from 1.2.12 to 1.2.13 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3187 - build(deps): bump codecov/codecov-action from 4.1.1 to 4.3.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3191 - build(deps): bump github/codeql-action from 3.24.9 to 3.25.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3192 - build(deps): bump actions/dependency-review-action from 4.2.5 to 4.3.2 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3189 - build(deps): bump step-security/harden-runner from 2.7.0 to 2.7.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3188 - build(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3190 - build(deps): bump node from `9459e24` to `487dc5d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3195 - perf: avoid spread in makeRequest() by [@​gunjam](https://github.com/gunjam) in [nodejs/undici#3193 - refactor: code cleanup by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3194 - fix parsing when receiving empty body websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3205 - fix: MockResponseCallbackOptions type by [@​merojosa](https://github.com/merojosa) in [nodejs/undici#2951 - docs(proxy): fix typo by [@​kanadgupta](https://github.com/kanadgupta) in [nodejs/undici#3207 - fix websocket receiving an invalid utf-8 in close frame by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3206 - perf: avoid setImmediate if body is reading by [@​ronag](https://github.com/ronag) in [nodejs/undici#3210 - fix: request abort signal by [@​ronag](https://github.com/ronag) in [nodejs/undici#3209 - fix: remove abort handler on close by [@​ronag](https://github.com/ronag) in [nodejs/undici#3211 - fix: pass abort function by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3212 - websocket: 200x faster generate mask by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3204 - use FinalizationRegistry to cancel the body if response is collected by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3199 - websocket: don't clone buffer if it's not needed. by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3214 - websocket: use FastBuffer by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3213 #### New Contributors - [@​kettanaito](https://github.com/kettanaito) made their first contribution in [nodejs/undici#1964 - [@​gunjam](https://github.com/gunjam) made their first contribution in [nodejs/undici#3193 - [@​merojosa](https://github.com/merojosa) made their first contribution in [nodejs/undici#2951 - [@​kanadgupta](https://github.com/kanadgupta) made their first contribution in [nodejs/undici#3207 **Full Changelog**: nodejs/undici@v6.15.0...v6.16.0 ### [`v6.15.0`](https://github.com/nodejs/undici/releases/tag/v6.15.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.1...v6.15.0) #### What's Changed - Expose EnvHttpProxyAgent to Node.js core bundle, so it can be turned … by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3148 - test: add headerslist copy check by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3156 - chore: ensure automated v6 release compared to v6 by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3149 - fetch: do not leak signal listeners by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3158 - fix: request cache mode is not the same as request mode by [@​tsibley](https://github.com/tsibley) in [nodejs/undici#3151 - fetch: don't re-lowercase HeadersList by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3159 - fix casing issue when cloning Headers object by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3160 - build(deps): bump node from `6d0f18a` to `db8772d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3163 - fix header cloning bug by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3162 - chore: change bench naming for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3165 - expose WebSocket related events in node bundle by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3167 - feat: add support for if-match on retry handler by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3144 - fix: correct firing order of abort events by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3169 - create fast MessageEvent by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3170 - chore: add explicitly [@​fastify/busboy](https://github.com/fastify/busboy) by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3172 - chore: remove sinon as dev dependency by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3171 - webidl changes by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3175 - preserve dictionary key name in webidl errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3176 #### New Contributors - [@​tsibley](https://github.com/tsibley) made their first contribution in [nodejs/undici#3151 **Full Changelog**: nodejs/undici@v6.14.1...v6.15.0 ### [`v6.14.1`](https://github.com/nodejs/undici/releases/tag/v6.14.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.0...v6.14.1) #### What's Changed - fix: tweak keep-alive timeout implementation by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3145 - build(deps-dev): bump borp from 0.11.0 to 0.12.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3153 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3154 - fix(EnvHttpProxyAgent): prefer lowercase env vars by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#3152 **Full Changelog**: nodejs/undici@v6.14.0...v6.14.1 ### [`v6.14.0`](https://github.com/nodejs/undici/releases/tag/v6.14.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.13.0...v6.14.0) #### What's Changed - bench: enable benchmarks for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3100 - perf: improve performance of isomorphicEncode by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3101 - util: remove isReadableAborted by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3104 - fix(types): The second parameter of EventSource is optional by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3106 - fix: onConnect types by [@​ronag](https://github.com/ronag) in [nodejs/undici#3116 - add dispatcher option to EventSource by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3119 - core: improve parseURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3102 - test: increase coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3121 - docs: add directions to run docs and benchmarks by [@​FatumaA](https://github.com/FatumaA) in [nodejs/undici#3092 - perf: avoid unnecessary clone by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3117 - build(deps-dev): bump borp from 0.10.0 to 0.11.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3126 - drop node support for < v18.17.0 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3125 - test: improve test and ci performance by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3135 - Added EnvHttpProxyAgent to support HTTP_PROXY by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#2994 - fetch: Change wording of "Body is unusable" error by [@​nzakas](https://github.com/nzakas) in [nodejs/undici#3105 - perf: use class instead of object literals with getters by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3138 - fix: unhandled exception or failing error body by [@​ronag](https://github.com/ronag) in [nodejs/undici#3137 - reuse realm for Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3142 - fix([H2-#​3140](https://github.com/H2-/undici/issues/3140)): abort requets upon GOAWAY by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3143 - don't store realm on Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3146 - improve: wasm build by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3074 #### New Contributors - [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) made their first contribution in [nodejs/undici#2994 - [@​nzakas](https://github.com/nzakas) made their first contribution in [nodejs/undici#3105 **Full Changelog**: nodejs/undici@v6.13.0...v6.14.0 ### [`v6.13.0`](https://github.com/nodejs/undici/releases/tag/v6.13.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.12.0...v6.13.0) #### What's Changed - build(deps): bump node from `9696b26` to `ad255c6` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3073 - test: remove only by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3077 - fix: defer errors with setImmediate by [@​ronag](https://github.com/ronag) in [nodejs/undici#3081 - improve DecoratorHandler by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3079 - chore: removed unused escapeFormDataName by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3084 - Mention option to pass streams into FormData by [@​JaoodxD](https://github.com/JaoodxD) in [nodejs/undici#3086 - fetch: improve performance of isValidEncodedURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3090 - optimize utf8Decode by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3085 - refactor: h2 refactoring by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3082 - Skip the creation of a transform stream in fetch by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3093 - fetch: improve performance of urlHasHttpsScheme by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3094 - fetch: avoid creation of an intermediary ReadableStream by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3095 - test: duplicate jest unspecific tests to native runner by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3075 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3096 - fetch: improve performance of isValidHeaderValue by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3098 - chore: automate releases with pr by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3089 #### New Contributors - [@​github-actions](https://github.com/github-actions) made their first contribution in [nodejs/undici#3099 **Full Changelog**: nodejs/undici@v6.12.0...v6.13.0 ### [`v6.12.0`](https://github.com/nodejs/undici/releases/tag/v6.12.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.11.1...v6.12.0) #### What's Changed - fix: broken test by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3045 - fix: http2 header parsing by [@​climba03003](https://github.com/climba03003) in [nodejs/undici#3047 - types: fix Request.refererPolicy and RequestInit.refererPolicy are incompatible by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3039 - fix(types): onHeaders always takes headers as an array of buffer by [@​ronag](https://github.com/ronag) in [nodejs/undici#3050 - fix: ProxyAgent causes request.headers.host to be forcibly reset by [@​1zilc](https://github.com/1zilc) in [nodejs/undici#3026 - fallback to Buffer.isUtf8 on platforms without icu by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3006 - build(deps): bump github/codeql-action from 3.24.6 to 3.24.9 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3037 - build(deps): bump actions/dependency-review-action from 4.1.3 to 4.2.5 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3035 - build(deps): bump node from `577f8eb` to `87524df` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3055 - build(deps): bump node from `87524df` to `9696b26` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3058 - fetch: Block ports 4190 & 6679 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3059 - test: activate testing for interceptors and cache by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3061 - cache: improve test coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3063 - feat: modernize fuzzing by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3060 - fix: request abort by [@​ronag](https://github.com/ronag) in [nodejs/undici#3056 - fix: signal handling by [@​ronag](https://github.com/ronag) in [nodejs/undici#3053 - fix(H2): handle goaway properly by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3057 - test: client, set body to null if bigger than CHUNK_LIMIT by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3064 - mock: improve mock interceptor by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3062 - fix: bad client destroy on servername change by [@​ronag](https://github.com/ronag) in [nodejs/undici#3066 - perf: improve isBlobLike by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3070 - test: add sanity check for llhttp wasm files by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3068 #### New Contributors - [@​zbinlin](https://github.com/zbinlin) made their first contribution in [nodejs/undici#3039 - [@​1zilc](https://github.com/1zilc) made their first contribution in [nodejs/undici#3026 **Full Changelog**: nodejs/undici@v6.11.1...v6.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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 was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/X-oss-byte/Nextjs).
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [undici](https://undici.nodejs.org) ([source](https://github.com/nodejs/undici)) | [`6.19.7` -> `6.19.8`](https://renovatebot.com/diffs/npm/undici/6.11.1/6.19.8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.19.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.19.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/6.11.1/6.19.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/6.11.1/6.19.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nodejs/undici (undici)</summary> ### [`v6.19.8`](https://github.com/nodejs/undici/compare/v6.19.7...3d3ce0695c8c3f9a8f3c8af90dd42d0569d3f0bb) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.7...v6.19.8) ### [`v6.19.7`](https://github.com/nodejs/undici/releases/tag/v6.19.7) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.6...v6.19.7) **Full Changelog**: nodejs/undici@v6.19.6...v6.19.7 ### [`v6.19.6`](https://github.com/nodejs/undici/releases/tag/v6.19.6) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.5...v6.19.6) **Full Changelog**: nodejs/undici@v6.19.5...v6.19.6 ### [`v6.19.5`](https://github.com/nodejs/undici/releases/tag/v6.19.5) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.4...v6.19.5) **Full Changelog**: nodejs/undici@v6.19.4...v6.19.5 ### [`v6.19.4`](https://github.com/nodejs/undici/compare/v6.19.3...62241c3600513cf0e8eac11cf16ed9dca98a80ac) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.3...v6.19.4) ### [`v6.19.3`](https://github.com/nodejs/undici/releases/tag/v6.19.3) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.2...v6.19.3) **Full Changelog**: nodejs/undici@v6.19.2...v6.19.3 ### [`v6.19.2`](https://github.com/nodejs/undici/releases/tag/v6.19.2) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.1...v6.19.2) #### What's Changed - fix [#​3337](https://github.com/nodejs/undici/issues/3337) by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3338 - build: use `husky` as `husky install` is deprecated by [@​jazelly](https://github.com/jazelly) in [nodejs/undici#3340 - fix: interceptors.d.ts has no default export by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3332 **Full Changelog**: nodejs/undici@v6.19.1...v6.19.2 ### [`v6.19.1`](https://github.com/nodejs/undici/releases/tag/v6.19.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.19.0...v6.19.1) #### What's Changed - don't append empty origin by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3335 **Full Changelog**: nodejs/undici@v6.19.0...v6.19.1 ### [`v6.19.0`](https://github.com/nodejs/undici/releases/tag/v6.19.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.2...v6.19.0) #### What's Changed - build(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3305 - build(deps): bump codecov/codecov-action from 4.3.1 to 4.4.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3303 - build(deps): bump step-security/harden-runner from 2.7.1 to 2.8.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3304 - build(deps): bump github/codeql-action from 3.25.3 to 3.25.7 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3306 - build(deps): bump node from `9e8f45f` to `dd7e693` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3309 - build(deps): bump node from `dd7e693` to `e6d4495` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3313 - remove websocket experimental warning by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3311 - perf: optimization of request instantiation by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3107 - perf: convert object to params by [@​DarkGL](https://github.com/DarkGL) in [nodejs/undici#3302 - build(deps-dev): bump borp from 0.14.0 to 0.15.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3320 - build(deps-dev): bump c8 from 9.1.0 to 10.0.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3321 - fix: add missing error classes to types by [@​maxbeatty](https://github.com/maxbeatty) in [nodejs/undici#3316 - export interceptor to type def file by [@​jakecastelli](https://github.com/jakecastelli) in [nodejs/undici#3318 - build(deps): bump node from `e6d4495` to `075a5cc` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3326 - doc: clearify the behaviour of `bodyTimeout` in the request by [@​jakecastelli](https://github.com/jakecastelli) in [nodejs/undici#3324 - feature: support pre-shared sessions by [@​tastypackets](https://github.com/tastypackets) in [nodejs/undici#3325 #### New Contributors - [@​maxbeatty](https://github.com/maxbeatty) made their first contribution in [nodejs/undici#3316 - [@​jakecastelli](https://github.com/jakecastelli) made their first contribution in [nodejs/undici#3318 **Full Changelog**: nodejs/undici@v6.18.2...v6.19.0 ### [`v6.18.2`](https://github.com/nodejs/undici/compare/v6.18.1...665f24738041757789fab95cce40cb0345cf2c0f) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.1...v6.18.2) ### [`v6.18.1`](https://github.com/nodejs/undici/releases/tag/v6.18.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.18.0...v6.18.1) #### What's Changed - docs: Update references to dispatcher in docs by [@​haikyuu](https://github.com/haikyuu) in [nodejs/undici#3281 - fix: compatibility for global headers by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3286 - websocket: pre-calculated length by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3284 - ci: fix autobahn workflow by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3291 - revert: "websocket: pre-calculated length" by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3290 - websocket: use FixedQueue instead of Set by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3283 #### New Contributors - [@​haikyuu](https://github.com/haikyuu) made their first contribution in [nodejs/undici#3281 **Full Changelog**: nodejs/undici@v6.18.0...v6.18.1 ### [`v6.18.0`](https://github.com/nodejs/undici/releases/tag/v6.18.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.17.0...v6.18.0) #### What's Changed - permessage-deflate decompression support in websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3263 - fix: Fix server closing in tests. by [@​ShogunPanda](https://github.com/ShogunPanda) in [nodejs/undici#3279 **Full Changelog**: nodejs/undici@v6.17.0...v6.18.0 ### [`v6.17.0`](https://github.com/nodejs/undici/releases/tag/v6.17.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.16.1...v6.17.0) #### What's Changed - fetch: fix captureStackTrace by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3227 - fetch: fix wpt test request-upload.any.js by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3234 - websocket: don't clone buffer by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3240 - Remove unecessary async from writeBuffer by [@​DarkGL](https://github.com/DarkGL) in [nodejs/undici#3245 - refactor websocket control frame handling by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3241 - fix parsing continuation frames in websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3247 - ci: node nightly test should use node 23 by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3248 - Add test to verify if the connection is correctly aborted on cancel by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3219 - Autobahn suite by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3251 - websocket: fix 6 autobahn tests by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3254 - websocket: checkout correct commit in autobahn workflow by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3258 - Cleanup websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3257 - websocket: autobahn workflow should fail on error by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3259 - add bodymixin bytes by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3262 - perf: avoid buffer cloning by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3264 - feat: dump interceptor by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3118 - use private properties in Headers by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3269 - Revert "websocket: autobahn workflow should fail on error" by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3270 - build(deps): bump node from `487dc5d` to `9e8f45f` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3271 #### New Contributors - [@​DarkGL](https://github.com/DarkGL) made their first contribution in [nodejs/undici#3245 **Full Changelog**: nodejs/undici@v6.16.1...v6.17.0 ### [`v6.16.1`](https://github.com/nodejs/undici/releases/tag/v6.16.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.16.0...v6.16.1) #### What's Changed - fix some typos by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3217 - websocket: move codeblock in parseCloseBody by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3215 - fetch: enable wpt test request-referrer.any.js by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3223 - fetch: wpt add /fetch/api/resources/cache.py to server.mjs by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3225 - add pipe support for wpt server by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3228 - test: reduce the number of requests in `fire-and-forget.js` by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3229 - ci: add node 22 in ci test matrix, use 22 for coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3226 - fetch: don't set an invalid origin header by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3235 - fail wpt runner if expected failures does not match actual by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3236 - fix: ignore content-length when dumping HEAD by [@​ronag](https://github.com/ronag) in [nodejs/undici#3222 **Full Changelog**: nodejs/undici@v6.16.0...v6.16.1 ### [`v6.16.0`](https://github.com/nodejs/undici/releases/tag/v6.16.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.15.0...v6.16.0) #### What's Changed - add index to sequence converter errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3178 - build(deps-dev): bump borp from 0.12.0 to 0.13.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3179 - build(deps): bump node from 21-alpine3.19 to 22-alpine3.19 in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3180 - build(deps): bump superagent from 8.1.2 to 9.0.2 in /benchmarks by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3181 - fix: keep raw header name by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3183 - fix(fetch): improve Headers and Request type-compatibility by [@​kettanaito](https://github.com/kettanaito) in [nodejs/undici#1964 - fix 3 mimesniff tests by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3185 - build(deps): bump hendrikmuhs/ccache-action from 1.2.12 to 1.2.13 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3187 - build(deps): bump codecov/codecov-action from 4.1.1 to 4.3.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3191 - build(deps): bump github/codeql-action from 3.24.9 to 3.25.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3192 - build(deps): bump actions/dependency-review-action from 4.2.5 to 4.3.2 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3189 - build(deps): bump step-security/harden-runner from 2.7.0 to 2.7.1 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3188 - build(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3190 - build(deps): bump node from `9459e24` to `487dc5d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3195 - perf: avoid spread in makeRequest() by [@​gunjam](https://github.com/gunjam) in [nodejs/undici#3193 - refactor: code cleanup by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3194 - fix parsing when receiving empty body websocket by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3205 - fix: MockResponseCallbackOptions type by [@​merojosa](https://github.com/merojosa) in [nodejs/undici#2951 - docs(proxy): fix typo by [@​kanadgupta](https://github.com/kanadgupta) in [nodejs/undici#3207 - fix websocket receiving an invalid utf-8 in close frame by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3206 - perf: avoid setImmediate if body is reading by [@​ronag](https://github.com/ronag) in [nodejs/undici#3210 - fix: request abort signal by [@​ronag](https://github.com/ronag) in [nodejs/undici#3209 - fix: remove abort handler on close by [@​ronag](https://github.com/ronag) in [nodejs/undici#3211 - fix: pass abort function by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3212 - websocket: 200x faster generate mask by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3204 - use FinalizationRegistry to cancel the body if response is collected by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3199 - websocket: don't clone buffer if it's not needed. by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3214 - websocket: use FastBuffer by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3213 #### New Contributors - [@​kettanaito](https://github.com/kettanaito) made their first contribution in [nodejs/undici#1964 - [@​gunjam](https://github.com/gunjam) made their first contribution in [nodejs/undici#3193 - [@​merojosa](https://github.com/merojosa) made their first contribution in [nodejs/undici#2951 - [@​kanadgupta](https://github.com/kanadgupta) made their first contribution in [nodejs/undici#3207 **Full Changelog**: nodejs/undici@v6.15.0...v6.16.0 ### [`v6.15.0`](https://github.com/nodejs/undici/releases/tag/v6.15.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.1...v6.15.0) #### What's Changed - Expose EnvHttpProxyAgent to Node.js core bundle, so it can be turned … by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3148 - test: add headerslist copy check by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3156 - chore: ensure automated v6 release compared to v6 by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3149 - fetch: do not leak signal listeners by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3158 - fix: request cache mode is not the same as request mode by [@​tsibley](https://github.com/tsibley) in [nodejs/undici#3151 - fetch: don't re-lowercase HeadersList by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3159 - fix casing issue when cloning Headers object by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3160 - build(deps): bump node from `6d0f18a` to `db8772d` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3163 - fix header cloning bug by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3162 - chore: change bench naming for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3165 - expose WebSocket related events in node bundle by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3167 - feat: add support for if-match on retry handler by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3144 - fix: correct firing order of abort events by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3169 - create fast MessageEvent by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3170 - chore: add explicitly [@​fastify/busboy](https://github.com/fastify/busboy) by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3172 - chore: remove sinon as dev dependency by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3171 - webidl changes by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3175 - preserve dictionary key name in webidl errors by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3176 #### New Contributors - [@​tsibley](https://github.com/tsibley) made their first contribution in [nodejs/undici#3151 **Full Changelog**: nodejs/undici@v6.14.1...v6.15.0 ### [`v6.14.1`](https://github.com/nodejs/undici/releases/tag/v6.14.1) [Compare Source](https://github.com/nodejs/undici/compare/v6.14.0...v6.14.1) #### What's Changed - fix: tweak keep-alive timeout implementation by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3145 - build(deps-dev): bump borp from 0.11.0 to 0.12.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3153 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3154 - fix(EnvHttpProxyAgent): prefer lowercase env vars by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#3152 **Full Changelog**: nodejs/undici@v6.14.0...v6.14.1 ### [`v6.14.0`](https://github.com/nodejs/undici/releases/tag/v6.14.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.13.0...v6.14.0) #### What's Changed - bench: enable benchmarks for h2 by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3100 - perf: improve performance of isomorphicEncode by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3101 - util: remove isReadableAborted by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3104 - fix(types): The second parameter of EventSource is optional by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3106 - fix: onConnect types by [@​ronag](https://github.com/ronag) in [nodejs/undici#3116 - add dispatcher option to EventSource by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3119 - core: improve parseURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3102 - test: increase coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3121 - docs: add directions to run docs and benchmarks by [@​FatumaA](https://github.com/FatumaA) in [nodejs/undici#3092 - perf: avoid unnecessary clone by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3117 - build(deps-dev): bump borp from 0.10.0 to 0.11.0 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3126 - drop node support for < v18.17.0 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3125 - test: improve test and ci performance by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3135 - Added EnvHttpProxyAgent to support HTTP_PROXY by [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) in [nodejs/undici#2994 - fetch: Change wording of "Body is unusable" error by [@​nzakas](https://github.com/nzakas) in [nodejs/undici#3105 - perf: use class instead of object literals with getters by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3138 - fix: unhandled exception or failing error body by [@​ronag](https://github.com/ronag) in [nodejs/undici#3137 - reuse realm for Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3142 - fix([H2-#​3140](https://github.com/H2-/undici/issues/3140)): abort requets upon GOAWAY by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3143 - don't store realm on Request/Response by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3146 - improve: wasm build by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3074 #### New Contributors - [@​10xLaCroixDrinker](https://github.com/10xLaCroixDrinker) made their first contribution in [nodejs/undici#2994 - [@​nzakas](https://github.com/nzakas) made their first contribution in [nodejs/undici#3105 **Full Changelog**: nodejs/undici@v6.13.0...v6.14.0 ### [`v6.13.0`](https://github.com/nodejs/undici/releases/tag/v6.13.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.12.0...v6.13.0) #### What's Changed - build(deps): bump node from `9696b26` to `ad255c6` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3073 - test: remove only by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3077 - fix: defer errors with setImmediate by [@​ronag](https://github.com/ronag) in [nodejs/undici#3081 - improve DecoratorHandler by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3079 - chore: removed unused escapeFormDataName by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3084 - Mention option to pass streams into FormData by [@​JaoodxD](https://github.com/JaoodxD) in [nodejs/undici#3086 - fetch: improve performance of isValidEncodedURL by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3090 - optimize utf8Decode by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3085 - refactor: h2 refactoring by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3082 - Skip the creation of a transform stream in fetch by [@​mcollina](https://github.com/mcollina) in [nodejs/undici#3093 - fetch: improve performance of urlHasHttpsScheme by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3094 - fetch: avoid creation of an intermediary ReadableStream by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3095 - test: duplicate jest unspecific tests to native runner by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3075 - build(deps): bump node from `ad255c6` to `6d0f18a` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3096 - fetch: improve performance of isValidHeaderValue by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3098 - chore: automate releases with pr by [@​mweberxyz](https://github.com/mweberxyz) in [nodejs/undici#3089 #### New Contributors - [@​github-actions](https://github.com/github-actions) made their first contribution in [nodejs/undici#3099 **Full Changelog**: nodejs/undici@v6.12.0...v6.13.0 ### [`v6.12.0`](https://github.com/nodejs/undici/releases/tag/v6.12.0) [Compare Source](https://github.com/nodejs/undici/compare/v6.11.1...v6.12.0) #### What's Changed - fix: broken test by [@​tsctx](https://github.com/tsctx) in [nodejs/undici#3045 - fix: http2 header parsing by [@​climba03003](https://github.com/climba03003) in [nodejs/undici#3047 - types: fix Request.refererPolicy and RequestInit.refererPolicy are incompatible by [@​zbinlin](https://github.com/zbinlin) in [nodejs/undici#3039 - fix(types): onHeaders always takes headers as an array of buffer by [@​ronag](https://github.com/ronag) in [nodejs/undici#3050 - fix: ProxyAgent causes request.headers.host to be forcibly reset by [@​1zilc](https://github.com/1zilc) in [nodejs/undici#3026 - fallback to Buffer.isUtf8 on platforms without icu by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3006 - build(deps): bump github/codeql-action from 3.24.6 to 3.24.9 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3037 - build(deps): bump actions/dependency-review-action from 4.1.3 to 4.2.5 by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3035 - build(deps): bump node from `577f8eb` to `87524df` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3055 - build(deps): bump node from `87524df` to `9696b26` in /build by [@​dependabot](https://github.com/dependabot) in [nodejs/undici#3058 - fetch: Block ports 4190 & 6679 by [@​KhafraDev](https://github.com/KhafraDev) in [nodejs/undici#3059 - test: activate testing for interceptors and cache by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3061 - cache: improve test coverage by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3063 - feat: modernize fuzzing by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3060 - fix: request abort by [@​ronag](https://github.com/ronag) in [nodejs/undici#3056 - fix: signal handling by [@​ronag](https://github.com/ronag) in [nodejs/undici#3053 - fix(H2): handle goaway properly by [@​metcoder95](https://github.com/metcoder95) in [nodejs/undici#3057 - test: client, set body to null if bigger than CHUNK_LIMIT by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3064 - mock: improve mock interceptor by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3062 - fix: bad client destroy on servername change by [@​ronag](https://github.com/ronag) in [nodejs/undici#3066 - perf: improve isBlobLike by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3070 - test: add sanity check for llhttp wasm files by [@​Uzlopak](https://github.com/Uzlopak) in [nodejs/undici#3068 #### New Contributors - [@​zbinlin](https://github.com/zbinlin) made their first contribution in [nodejs/undici#3039 - [@​1zilc](https://github.com/1zilc) made their first contribution in [nodejs/undici#3026 **Full Changelog**: nodejs/undici@v6.11.1...v6.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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 was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/X-oss-byte/Nextjs).
This relates to...
Closes #1650
Changes
Added EnvHttpProxyAgent and made it the default global dispatcher. The addition to index-fetch.js was required to keep those tests passing after changing the global dispatcher to a ProxyAgent
Features
Automatically detect/support HTTP_PROXY, HTTPS_PROXY, & NO_PROXY
Bug Fixes
N/A
Breaking Changes and Deprecations
Using these env vars by default could result in unexpected behavior
Status