-
-
Notifications
You must be signed in to change notification settings - Fork 671
[Release] v6.21.2 #4092
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
Closed
Closed
[Release] v6.21.2 #4092
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Matteo Collina <[email protected]>
Signed-off-by: Matteo Collina <[email protected]>
Signed-off-by: Matteo Collina <[email protected]>
Signed-off-by: Matteo Collina <[email protected]>
* fix: restore externalized Node.js dep compatibility Restore the ability to build Undici compatible with Node.js' `configure --shared-builtin-undici/undici-path ...` build option. Scopes the `hasApk` conditional to only cover the part that requires `apk`. Makes the WASM optimizer (binaryen) optional to allow building on Linux distributions that do not package `binaryen` and must be able to rebuild everything (including tooling) from source. * ci: add workflow for externalized Node.js dep Add a workflow to test building Undici in a way compatible with Node.js built with `configure --shared-builtin-undici/undici-path ...`. This configuration is used by downstream Node.js packagers (e.g. Fedora) who require the ability to be able to build everything from source.
Signed-off-by: Matteo Collina <[email protected]>
* fix: memory leak Holding a reference to the stream in the finalization registry causes a memory leak, even when consuming the body. * docs: add comment explaining the strong reference * typo
Signed-off-by: Matteo Collina <[email protected]>
…t a TTY Signed-off-by: Matteo Collina <[email protected]>
Signed-off-by: Matteo Collina <[email protected]>
* test: add test for memory leak * lint
The wasm-opt binary may be available in different place than the local directory (`./wasm-opt`) – for example, in /usr/bin/wasm-opt. Similarly to the other parametrized WASM build options, use WASM_OPT environment variable to identify the wanted binary, with fallback to the previous value. Even with the environment variable available, the `hasOptimizer` is kept to make the optimization optional. Signed-off-by: Jan Staněk <[email protected]>
Signed-off-by: Matteo Collina <[email protected]>
Signed-off-by: Matteo Collina <[email protected]>
Co-authored-by: Jean-Baptiste Richardet <[email protected]>
Co-authored-by: KaKa <[email protected]> Co-authored-by: Carlos Fuentes <[email protected]>
Co-authored-by: Mert Can Altin <[email protected]> Co-authored-by: Carlos Fuentes <[email protected]>
(cherry picked from commit b725457) Co-authored-by: Aras Abbasi <[email protected]>
…blocking (#3495) (#3673) * fix: refactor fast timers, fix UND_ERR_CONNECT_TIMEOUT on event loop blocking * also test native timers * improve the commentary of fasttimers * revert changes in client-h1.js * make fasttimers independent from performance.now * less flaky? (cherry picked from commit 8a09d77) Co-authored-by: Aras Abbasi <[email protected]>
(cherry picked from commit 3faf140) Co-authored-by: Aras Abbasi <[email protected]>
* fix: use fasttimers for all connection timeouts * Apply suggestions from code review * activate some tests * also use fastTimers in connect.js * fix tests * fix tests * fix tests * fix: use native timeouts for TIMEOUT_IDLE, rename TIMEOUT_IDLE to TIMEOUT_KEEP_ALIVE (#3554) * fix: use native timeouts for TIMEOUT_IDLE, rename TIMEOUT_IDLE to TIMEOUT_KEEP_ALIVE * ensure that fast timers and native timers are set properly * . * . * rename import * more informative connection error * ignore request-timeout binary file, rename clearAll to reset * fix * add test * use queueMicrotask earlier in the socket callbacks (cherry picked from commit dca0aa0) Co-authored-by: Aras Abbasi <[email protected]>
(cherry picked from commit 990df2c) Co-authored-by: Aras Abbasi <[email protected]>
…ass them faster (#3656) (#3679) * test: less flaky timers acceptance test * use fake timers * tick 10 * one tick --------- Co-authored-by: Carlos Fuentes <[email protected]> (cherry picked from commit 5308d29) Co-authored-by: Aras Abbasi <[email protected]>
(cherry picked from commit 773ba01) Co-authored-by: Khafra <[email protected]>
…onses (#3662) (#3689) (cherry picked from commit 2d524cf) Co-authored-by: Aras Abbasi <[email protected]>
Co-authored-by: Aras Abbasi <[email protected]> (cherry picked from commit 862c035) Co-authored-by: Khafra <[email protected]>
Signed-off-by: Matteo Collina <[email protected]>
(cherry picked from commit 3d0ce67) Co-authored-by: Aras Abbasi <[email protected]>
(cherry picked from commit db8e642) Co-authored-by: tsctx <[email protected]>
(cherry picked from commit d6c44f3) Co-authored-by: Carlos Fuentes <[email protected]>
…mise (#3716) (#3723) (cherry picked from commit cda5f94) Co-authored-by: Aras Abbasi <[email protected]>
* web: mark as uncloneable when possible This tells node that the marked instances from undici are not cloneable, so that attempts to cloning those throw `DataCloneError`. * test: add test cases for platform objects uncloneable * fix: move to webidl * fix: move it under webidl * fixup: rename it to markAsUncloneable * fix: mark more web instances uncloneable * fixup --------- Co-authored-by: Khafra <[email protected]> (cherry picked from commit 1ab2382)
(cherry picked from commit e5c242d) Co-authored-by: tsctx <[email protected]>
* fix: handle undefined deref of weakref socket * exit early --------- Co-authored-by: Aras Abbasi <[email protected]> (cherry picked from commit f98fbef) Co-authored-by: hochoy <[email protected]>
* fix: range end is zero-indexed * tests: update tests for retry handler (cherry picked from commit 2b81fbc) Co-authored-by: D Trombett <[email protected]>
Signed-off-by: Matteo Collina <[email protected]>
* fix: sending formdata bodies with http2 (#3863) (cherry picked from commit e49b575) * fix: bad merge --------- Co-authored-by: Khafra <[email protected]>
… when http2 goaway (#3877) Co-authored-by: 沈鸿飞 <[email protected]>
* Update return type * add type tests (cherry picked from commit a1fb2cc) Co-authored-by: Qayyuum Harun <[email protected]>
* Use crypto.randomInt() Signed-off-by: Matteo Collina <[email protected]> * fixup Signed-off-by: Matteo Collina <[email protected]> --------- Signed-off-by: Matteo Collina <[email protected]>
Signed-off-by: Matteo Collina <[email protected]>
|
Nope, this didn't work. I'll release manually. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What's Changed
075a5ccto9af472bin /build by @dependabot in build(deps): bump node from075a5ccto9af472bin /build #33559af472bto138d0b5in /build by @dependabot in build(deps): bump node from9af472bto138d0b5in /build #3392BodyReadable.bytesby @tsctx in feat: implementBodyReadable.bytes#3391138d0b5to67225d4in /build by @dependabot in build(deps): bump node from138d0b5to67225d4in /build #3398duplexdocs by @Ethan-Arrowood in Fix fetchduplexdocs #342267225d4to858234ain /build by @dependabot in build(deps): bump node from67225d4to858234ain /build #341117e6738to30c5be9in /build by @dependabot in build(deps): bump node from17e6738to30c5be9in /build #344330c5be9toa20e858in /build by @dependabot in build(deps): bump node from30c5be9toa20e858in /build #3496a20e858toa17f484in /build by @dependabot in build(deps): bump node froma20e858toa17f484in /build #3542a17f484toef7b4bbin /build by @dependabot in build(deps): bump node froma17f484toef7b4bbin /build #3547ef7b4bbto3cb4748in /build by @dependabot in build(deps): bump node fromef7b4bbto3cb4748in /build #3573pre-commitdependency by @eXhumer in chore: remove unusedpre-commitdependency #3599closeon failed WebSocket connection by @eXhumer in fix: firecloseon failed WebSocket connection #35663cb4748to83b4d7bin /build by @dependabot in build(deps): bump node from3cb4748to83b4d7bin /build #3621test/fixtures/*.pemby @LiviaMedeiros in test: increase bitness intest/fixtures/*.pem#3659ignoreTrailingSlashto MockAgent and.intercept()by @Uzlopak in fix: add optionignoreTrailingSlashto MockAgent and.intercept()#3655cacheprop to RequestInit by @rindeal in fix(types): add missingcacheprop to RequestInit #3569undici.requestafter server returns #3736): leaked error event on response body by @metcoder95 in fix(#3736): leaked error event on response body #374083b4d7btof1b4315in /build by @dependabot in build(deps): bump node from83b4d7btof1b4315in /build #3756nowAbsoluteto fast timers by @flakey5 in lib: addnowAbsoluteto fast timers #3749ERR_TLS_CERT_ALTNAME_INVALIDwith dns interceptor and https #3817): send servername for SNI on TLS by @metcoder95 in fix(#3817): send servername for SNI on TLS #3821request+ "Garbage Collection" by @WTCT-TOP in Add example forrequest+ "Garbage Collection" #3916undici:request:headersdoes not indicate completion of a response by @legendecas in fix:undici:request:headersdoes not indicate completion of a response #3974onResponseErrorby @tmair in docs: fix incorrect method signature ofonResponseError#4030EnvHttpProxyAgentas stable by @aduh95 in feat: markEnvHttpProxyAgentas stable #4049New Contributors
cacheprop to RequestInit #3569request+ "Garbage Collection" #3916undici:request:headersdoes not indicate completion of a response #3974onResponseError#4030Full Changelog: v6.21.1...v6.21.2