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.
This PR contains the following updates:
20.3.1
->20.4.0
Release Notes
nodejs/node (node)
v20.4.0
: 2023-07-05, Version 20.4.0 (Current), @RafaelGSSCompare Source
Notable Changes
Mock Timers
The new feature allows developers to write more reliable and predictable tests for time-dependent functionality.
It includes
MockTimers
with the ability to mocksetTimeout
,setInterval
fromglobals
,node:timers
, andnode:timers/promises
.The feature provides a simple API to advance time, enable specific timers, and release all timers.
This feature was contributed by Erick Wendel in #47775.
Support to the explicit resource management proposal
Node is adding support to the explicit resource management
proposal to its resources allowing users of TypeScript/babel to use
using
/await using
withV8 support for everyone else on the way.
This feature was contributed by Moshe Atlow and Benjamin Gruenbaum in #48518.
Other notable changes
fe333d2584
] - crypto: update root certificates to NSS 3.90 (Node.js GitHub Bot) #4841660c2ea4e79
] - doc: add vmoroz to collaborators (Vladimir Morozov) #485275cacdf9e6b
] - doc: add kvakil to collaborators (Keyhan Vakil) #48449504d1d7bdc
] - (SEMVER-MINOR) tls: add ALPNCallback server option for dynamic ALPN negotiation (Tim Perry) #45190Commits
8a611a387f
] - benchmark: add bar.R (Rafael Gonzaga) #4772912fa716cf9
] - benchmark: refactor crypto oneshot (Filip Skokan) #48267d6ecbde592
] - benchmark: add crypto.create*Key (Filip Skokan) #48284e60b6dedd8
] - bootstrap: unify snapshot builder and embedder entry points (Joyee Cheung) #4824240662957b1
] - bootstrap: simplify initialization of source map handlers (Joyee Cheung) #483046551538079
] - build: fixconfigure --link-module
(Richard Lau) #48522f7f32089e7
] - build: sync libuv header change (Jiawen Geng) #48429f60205c915
] - build: update action to close stale PRs (Michael Dawson) #481964f4d0b802e
] - child_process: improve spawn performance on Linux (Keyhan Vakil) #48523fe333d2584
] - crypto: update root certificates to NSS 3.90 (Node.js GitHub Bot) #4841689aaf16237
] - crypto: remove OPENSSL_FIPS guard for OpenSSL 3 (Richard Lau) #483926199e1946c
] - deps: upgrade to libuv 1.46.0 (Santiago Gimeno) #486181b2b930fda
] - deps: add loong64 config into openssl gypi (Shi Pujin) #48043ba8d048929
] - deps: update acorn to 8.9.0 (Node.js GitHub Bot) #48484d96f921d06
] - deps: update zlib to 1.2.13.1-motley-f81f385 (Node.js GitHub Bot) #48541ed1d047e8f
] - deps: update googletest toec4fed9
(Node.js GitHub Bot) #48538f43d718c67
] - deps: update minimatch to 9.0.2 (Node.js GitHub Bot) #485422f66147cbf
] - deps: update corepack to 0.19.0 (Node.js GitHub Bot) #48540d91b0fde73
] - deps: V8: cherry-pick1a782f6
(Keyhan Vakil) #48523112335e342
] - deps: update corepack to 0.18.1 (Node.js GitHub Bot) #484832b141c413f
] - deps: update icu to 73.2 (Node.js GitHub Bot) #48502188b34d4a1
] - deps: upgrade npm to 9.7.2 (npm team) #48514bf0444b5d9
] - deps: update zlib to 1.2.13.1-motley-3ca9f16 (Node.js GitHub Bot) #48413b339d80a56
] - deps: upgrade npm to 9.7.1 (npm team) #483784132931b87
] - deps: update simdutf to 3.2.14 (Node.js GitHub Bot) #483448cd56c1e85
] - deps: update ada to 2.5.1 (Node.js GitHub Bot) #4831978cffcd645
] - deps: update zlib to982b036
(Node.js GitHub Bot) #483276d00c2e33b
] - doc: fix options order (Luigi Pinca) #486177ad2d3a5d1
] - doc: update security release stewards (Rafael Gonzaga) #48569cc3a056fdd
] - doc: update return type for describe (Shrujal Shah) #4857299ae0b98af
] - doc: run license-builder (github-actions[bot]) #485529750d8205c
] - doc: add description of autoAllocateChunkSize in ReadableStream (Debadree Chatterjee) #48004417927bb41
] - doc: fixfilename
type inwatch
result (Dmitry Semigradsky) #48032ca2ae86bd7
] - doc: unnestmime
andMIMEParams
from MIMEType constructor (Dmitry Semigradsky) #47950bda1228135
] - doc: update security-release-process.md (Rafael Gonzaga) #4850460c2ea4e79
] - doc: add vmoroz to collaborators (Vladimir Morozov) #4852737bc0eac4a
] - doc: improve inspector.close() description (mary marchini) #484942a403cdad5
] - doc: link to Runtime Keys in export conditions (Jacob Hummer) #48408e2d579e644
] - doc: update fs flags documentation (sinkhaha) #4846338bf290115
] - doc: reviseerror.md
introduction (Antoine du Hamel) #48423641a2e9c6d
] - doc: add preveen-stack to triagers (Preveen P) #483874ab5e8d2e3
] - doc: refine when file is undefined in test events (Moshe Atlow) #484515cacdf9e6b
] - doc: add kvakil to collaborators (Keyhan Vakil) #48449b9c643e3ef
] - doc: add additional info on TSFN dispatch (Michael Dawson) #4836717a0e1d1bf
] - doc: add link for news from security wg (Michael Dawson) #483963a62994a4f
] - doc: fix typo in events.md (Darshan Sen) #48436e10a4cdf68
] - doc: run license-builder (github-actions[bot]) #4833619fde638fd
] - fs: call the callback with an error if writeSync fails (killa) #479494cad9fd8bd
] - fs: remove unneeded return statement (Luigi Pinca) #48526d367b73f43
] - fs: use kResistStopPropagation (Chemi Atlow) #48521e50c3169af
] - fs, stream: initialSymbol.dispose
andSymbol.asyncDispose
support (Moshe Atlow) #485187d8a0b6eb7
] - http: null the joinDuplicateHeaders property on cleanup (Luigi Pinca) #4860894ebb02f59
] - http: server add async dispose (atlowChemi) #48548c6a69e31a3
] - http: remove useless ternary in test (geekreal) #484812f0f40328f
] - http: fix for handling on boot timers headers and request (Franciszek Koltuniuk) #482915378ad8ab1
] - http2: server addasyncDispose
(atlowChemi) #4854897a58c5970
] - https: server addasyncDispose
(atlowChemi) #4854840ae6eb6aa
] - https: fix connection checking interval not clearing on server close (Nitzan Uziely) #4838315530fea4c
] - lib: merge cjs and esm package json reader caches (Yagiz Nizipli) #4847732bda81c31
] - lib: reduce url getters onmakeRequireFunction
(Yagiz Nizipli) #484920da03f01ba
] - lib: remove duplicated requires in check_syntax (Yagiz Nizipli) #4850897b00c347d
] - lib: add option to force handling stopped events (Chemi Atlow) #48301fe16749649
] - lib: fix output message when repl is used with pm (Rafael Gonzaga) #484388c2c02d28a
] - lib: create weakRef only if any signals provided (Chemi Atlow) #48448b6ae411ea9
] - lib: remove obsolete deletion of bufferBinding.zeroFill (Chengzhong Wu) #47881562b3d4856
] - lib: move web global bootstrapping to the expected file (Chengzhong Wu) #47881f9c0d5acac
] - lib: fix blob.stream() causing hanging promises (Debadree Chatterjee) #482320162a0f5bf
] - lib: add support for inherited custom inspection methods (Antoine du Hamel) #48306159ab6627a
] - lib: reduce URL invocations on http2 origins (Yagiz Nizipli) #48338f0709fdc59
] - module: add SourceMap.findOrigin (Isaac Z. Schlueter) #477904ec2d925b1
] - module: reduce url invocations in esm/load.js (Yagiz Nizipli) #483372c363971cc
] - net: improve network family autoselection handle handling (Paolo Insogna) #48464dbf9e9ffc8
] - node-api: provide napi_define_properties fast path (Gabriel Schulhof) #4844087ad657777
] - node-api: implement external strings (Gabriel Schulhof) #483394efa6807ea
] - permission: handle end nodes with children cases (Rafael Gonzaga) #4853184fe811108
] - repl: display dynamic import variant in static import error messages (Hemanth HM) #48129bdcc037470
] - report: disable js stack when no context is entered (Chengzhong Wu) #4849597bd9ccd04
] - src: fix uninitialized field access in AsyncHooks (Jan Olaf Krems) #48566404958fc96
] - src: fix Coverity issue regarding unnecessary copy (Yagiz Nizipli) #48565c4b8edea24
] - src: refactorSplitString
in util (Yagiz Nizipli) #484915bc13a4772
] - src: revert IS_RELEASE (Rafael Gonzaga) #485054971e46051
] - src: add V8 fast api toguessHandleType
(Yagiz Nizipli) #48349954e46e792
] - src: return uint32 forguessHandleType
(Yagiz Nizipli) #4834905009675da
] - src: make realm binding data store weak (Chengzhong Wu) #47688120ac74352
] - src: remove aliased buffer weak callback (Chengzhong Wu) #476886591826e99
] - src: handle wasm out of bound in osx will raise SIGBUS correctly (Congcong Cai) #465611b84ddeec2
] - src: implement constants binding directly (Joyee Cheung) #4818606d49c1f10
] - src: implement natives binding without special casing (Joyee Cheung) #48186325441abf5
] - src: add missing to_ascii method in dns queries (Daniel Lemire) #4835484d0eb74b8
] - stream: fix premature pipeline end (Robert Nagy) #484353df7368735
] - test: add missing assertions to test-runner-cli (Moshe Atlow) #4859307eb310b0d
] - test: remove test-crypto-keygen flaky designation (Luigi Pinca) #4857575aa0a7682
] - test: remove test-timers-immediate-queue flaky designation (Luigi Pinca) #48575a9756f3126
] - test: add Symbol.dispose support to mock timers (Benjamin Gruenbaum) #485490f912a7248
] - test: mark test-child-process-stdio-reuse-readable-stdio flaky (Luigi Pinca) #4853730f4bc4985
] - test: make IsolateData per-isolate in cctest (Joyee Cheung) #48450407ce3fdcb
] - test: define NAPI_VERSION before including node_api.h (Chengzhong Wu) #4837624a8fa95f0
] - test: remove unnecessary noop function args tomustNotCall()
(Antoine du Hamel) #4851309af579775
] - test: skip test-runner-watch-mode on IBMi (Moshe Atlow) #4847377cb1ee0b2
] - test: add missing <algorithm> include for std::find (Sam James) #483807c790ca03c
] - test: fix flaky test-watch-mode (Moshe Atlow) #481471398829746
] - test: fixtest-net-autoselectfamily
for kernel without IPv6 support (Livia Medeiros) #48265764119ba4b
] - test: update url web-platform tests (Yagiz Nizipli) #48319f1ead59629
] - test: ignore the copied entry_point.c (Luigi Pinca) #48297fc5d1bddcb
] - test: refactor test-gc-http-client-timeout (Luigi Pinca) #4829246a3d068a0
] - test: update encoding web-platform tests (Yagiz Nizipli) #48320141e5aad83
] - test: update FileAPI web-platform tests (Yagiz Nizipli) #4832283cfc67099
] - test: update user-timing web-platform tests (Yagiz Nizipli) #483212c56835a33
] - test_runner: fixedtest
shorthands return type (Shocker) #485557d01c8894a
] - (SEMVER-MINOR) test_runner: add initial draft for fakeTimers (Erick Wendel) #47775de4f14c249
] - test_runner: add enqueue and dequeue events (Moshe Atlow) #484285ebe3a4ea7
] - test_runner: make--test-name-pattern
recursive (Moshe Atlow) #4838293bf447308
] - test_runner: refactor coverage report output for readability (Damien Seguin) #47791504d1d7bdc
] - (SEMVER-MINOR) tls: add ALPNCallback server option for dynamic ALPN negotiation (Tim Perry) #45190203c3cf4ca
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #48544333907b19d
] - tools: speedup compilation of js2c output (Keyhan Vakil) #4816010bd5f4d97
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #4848652de27b9fe
] - tools: pin ruff version number (Rich Trott) #485054345526644
] - tools: replace sed with perl (Luigi Pinca) #484996c590835f3
] - tools: automate update openssl v16 (Marco Ippolito) #4837790b5335338
] - tools: update eslint to 8.43.0 (Node.js GitHub Bot) #48487cd83530a11
] - tools: update doc to [email protected] (Node.js GitHub Bot) #48485e500b439bd
] - tools: prepare tools/doc for to-vfile 8.0.0 (Rich Trott) #48485d623616813
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #48417a2e107dde4
] - tools: update create-or-update-pull-request-action (Richard Lau) #483988009e2c3be
] - tools: update eslint-plugin-jsdoc (Richard Lau) #4839310385c8565
] - tools: add version update to external dependencies (Andrea Fassina) #48081b1cef81b18
] - tools: update eslint to 8.42.0 (Node.js GitHub Bot) #483280923dc0b8e
] - tools: disable jsdoc/no-defaults rule (Luigi Pinca) #48328b03146da85
] - typings: remove unused primordials (Yagiz Nizipli) #48509e9c9d187b9
] - typings: fix JSDoc in ESM loader modules (Antoine du Hamel) #48424fafe651d23
] - url: conform to origin getter spec changes (Yagiz Nizipli) #48319Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR has been generated by Mend Renovate. View repository job log here.