-
Notifications
You must be signed in to change notification settings - Fork 606
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
[Release] v6.21.2 #4092
Closed
Closed
[Release] v6.21.2 #4092
Conversation
This file contains 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
075a5cc
to9af472b
in /build by @dependabot in build(deps): bump node from075a5cc
to9af472b
in /build #33559af472b
to138d0b5
in /build by @dependabot in build(deps): bump node from9af472b
to138d0b5
in /build #3392BodyReadable.bytes
by @tsctx in feat: implementBodyReadable.bytes
#3391138d0b5
to67225d4
in /build by @dependabot in build(deps): bump node from138d0b5
to67225d4
in /build #3398duplex
docs by @Ethan-Arrowood in Fix fetchduplex
docs #342267225d4
to858234a
in /build by @dependabot in build(deps): bump node from67225d4
to858234a
in /build #341117e6738
to30c5be9
in /build by @dependabot in build(deps): bump node from17e6738
to30c5be9
in /build #344330c5be9
toa20e858
in /build by @dependabot in build(deps): bump node from30c5be9
toa20e858
in /build #3496a20e858
toa17f484
in /build by @dependabot in build(deps): bump node froma20e858
toa17f484
in /build #3542a17f484
toef7b4bb
in /build by @dependabot in build(deps): bump node froma17f484
toef7b4bb
in /build #3547ef7b4bb
to3cb4748
in /build by @dependabot in build(deps): bump node fromef7b4bb
to3cb4748
in /build #3573pre-commit
dependency by @eXhumer in chore: remove unusedpre-commit
dependency #3599close
on failed WebSocket connection by @eXhumer in fix: fireclose
on failed WebSocket connection #35663cb4748
to83b4d7b
in /build by @dependabot in build(deps): bump node from3cb4748
to83b4d7b
in /build #3621test/fixtures/*.pem
by @LiviaMedeiros in test: increase bitness intest/fixtures/*.pem
#3659ignoreTrailingSlash
to MockAgent and.intercept()
by @Uzlopak in fix: add optionignoreTrailingSlash
to MockAgent and.intercept()
#3655cache
prop to RequestInit by @rindeal in fix(types): add missingcache
prop to RequestInit #3569undici.request
after server returns #3736): leaked error event on response body by @metcoder95 in fix(#3736): leaked error event on response body #374083b4d7b
tof1b4315
in /build by @dependabot in build(deps): bump node from83b4d7b
tof1b4315
in /build #3756nowAbsolute
to fast timers by @flakey5 in lib: addnowAbsolute
to fast timers #3749ERR_TLS_CERT_ALTNAME_INVALID
with 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:headers
does not indicate completion of a response by @legendecas in fix:undici:request:headers
does not indicate completion of a response #3974onResponseError
by @tmair in docs: fix incorrect method signature ofonResponseError
#4030EnvHttpProxyAgent
as stable by @aduh95 in feat: markEnvHttpProxyAgent
as stable #4049New Contributors
cache
prop to RequestInit #3569request
+ "Garbage Collection" #3916undici:request:headers
does not indicate completion of a response #3974onResponseError
#4030Full Changelog: v6.21.1...v6.21.2