chore(deps): update node.js to v20 #74
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
javascript
question
rust
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
renovate-bot
renovate-security
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: mCaptcha/survey#74
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/node-20.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
18-bookworm-slim
->20-bookworm-slim
^16.10.5
->^20.0.0
Release Notes
nodejs/node (node)
v20.14.0
: 2024-05-28, Version 20.14.0 'Iron' (LTS), @marco-ippolitoCompare Source
Notable Changes
28d2baa17c
] - src,permission: throw async errors on async APIs (Rafael Gonzaga) #5273077e2bf029a
] - (SEMVER-MINOR) test_runner: support forced exit (Colin Ihrig) #52038Commits
e3ad05d8b0
] - deps: V8: cherry-pick500de8b
(Richard Lau) #52676053282e661
] - deps: V8: backportc4be0a9
(Richard Lau) #52183200dadb879
] - deps: V8: cherry-pickf8d5e57
(Richard Lau) #52183f5cd125e02
] - deps: update googletest tofa6de7f
(Node.js GitHub Bot) #52949bbbfd7f4e1
] - deps: update corepack to 0.28.1 (Node.js GitHub Bot) #529467ba30a57a6
] - deps: update simdutf to 5.2.8 (Node.js GitHub Bot) #52727b21a480a28
] - deps: update simdutf to 5.2.6 (Node.js GitHub Bot) #527276cfad60d97
] - deps: update googletest to2d16ed0
(Node.js GitHub Bot) #5165734708d1429
] - deps: update googletest tod83fee1
(Node.js GitHub Bot) #51657c1d3e558e8
] - deps: update googletest to5a37b51
(Node.js GitHub Bot) #5165769959d0fca
] - deps: update googletest to5197b1a
(Node.js GitHub Bot) #51657c8305f6057
] - deps: update googletest toeff443c
(Node.js GitHub Bot) #51657760b788704
] - deps: update googletest toc231e6f
(Node.js GitHub Bot) #51657301541cc8f
] - deps: update googletest toe4fdb87
(Node.js GitHub Bot) #51657981d57e401
] - deps: update googletest to5df0241
(Node.js GitHub Bot) #51657a1817f534d
] - deps: update googletest tob75ecf1
(Node.js GitHub Bot) #5165742070ca189
] - deps: update googletest to4565741
(Node.js GitHub Bot) #51657edc3e5d056
] - deps: update uvwasi to 0.0.21 (Node.js GitHub Bot) #5286326b1231ffb
] - deps: upgrade npm to 10.7.0 (npm team) #52767e6d9fbece2
] - doc: update process.versions properties (ishabi) #527368c1f837c0a
] - doc: remove mold use on mac for speeding up build (Cong Zhang) #52252d9c5114694
] - doc: fix grammatical mistake (codershiba) #52808b350f435b7
] - meta: add mailmap entry for legendecas (Chengzhong Wu) #5279561f9f12eff
] - meta: bump actions/checkout from 4.1.1 to 4.1.4 (dependabot[bot]) #52787ac563667d6
] - meta: bump github/codeql-action from 3.24.9 to 3.25.3 (dependabot[bot]) #5278670611d7924
] - meta: bump actions/upload-artifact from 4.3.1 to 4.3.3 (dependabot[bot]) #5278530482ea273
] - meta: bump actions/download-artifact from 4.1.4 to 4.1.7 (dependabot[bot]) #52784d1607cdebb
] - meta: bump codecov/codecov-action from 4.1.1 to 4.3.1 (dependabot[bot]) #5278321f1b6bfc3
] - meta: bump step-security/harden-runner from 2.7.0 to 2.7.1 (dependabot[bot]) #527820c6019a222
] - meta: standardize regex (Aviv Keller) #5269328d2baa17c
] - src,permission: throw async errors on async APIs (Rafael Gonzaga) #52730cffd2cc0c9
] - Revert "stream: revert fix cloned webstreams not being unref'd" (Marco Ippolito) #531443dd96f1fab
] - stream: implement TransformStream cleanup using "transformer.cancel" (Debadree Chatterjee) #501268e7e778e01
] - test: skip v8-updates/test-linux-perf (Michaël Zasso) #49639f8e18869e9
] - test: replace always-opt flag with alway-turbofan (Michaël Zasso) #50115a501860d63
] - test_runner: don't await the same promise for each test (Colin Ihrig) #52185e2ae4367f4
] - test_runner: run top level tests in a microtask (Colin Ihrig) #5209277e2bf029a
] - (SEMVER-MINOR) test_runner: support forced exit (Colin Ihrig) #52038b7bc63565e
] - test_runner: ignore todo flag when running suites (Colin Ihrig) #52117be587e3ae3
] - test_runner: use paths for test locations (Colin Ihrig) #52010743281ab25
] - test_runner: support source mapped test locations (Colin Ihrig) #520104051316d95
] - tools: update lint-md-dependencies to rollup@4.17.0 (Node.js GitHub Bot) #52729v20.13.1
: 2024-05-09, Version 20.13.1 'Iron' (LTS), @marco-ippolitoCompare Source
2024-05-09, Version 20.13.1 'Iron' (LTS), @marco-ippolito
Revert "tools: install npm PowerShell scripts on Windows"
Due to a regression in the npm installation on Windows, this commit reverts the change that installed npm PowerShell scripts on Windows.
Commits
b7d80802cc
] - Revert "tools: install npm PowerShell scripts on Windows" (marco-ippolito) #52897v20.13.0
: 2024-05-07, Version 20.13.0 'Iron' (LTS), @marco-ippolitoCompare Source
2024-05-07, Version 20.13.0 'Iron' (LTS), @marco-ippolito
buffer: improve
base64
andbase64url
performanceThe performance of the
base64
andbase64url
encoding and decoding functions has been improved significantly.Contributed by Yagiz Nizipli in #52428
crypto: deprecate implicitly shortened GCM tags
This release, introduces a doc-only deprecation of using GCM authentication tags that are shorter than the cipher's block size, unless the user specified the
authTagLength
option.Contributed by Tobias Nießen in #52345
events,doc: mark CustomEvent as stable
From this release
CustomEvent
has been marked stable.Contributed by Daeyeon Jeong in #52618
fs: add stacktrace to fs/promises
Sync functions in fs throwed an error with a stacktrace which is helpful for debugging. But functions in fs/promises throwed an error without a stacktrace. This commit adds stacktraces by calling
Error.captureStacktrace
and re-throwing the error.Contributed by 翠 / green in #49849
report: add
--report-exclude-network
optionNew option
--report-exclude-network
, also available asreport.excludeNetwork
, enables the user to exclude networking interfaces in their diagnostic report. On some systems, this can cause the report to take minutes to generate so this option can be used to optimize that.Contributed by Ethan Arrowood in #51645
src: add uv_get_available_memory to report and process
From this release it is possible to get the available memory in the system by calling
process.getAvailableMemory()
.Contributed by theanarkh #52023
stream: support typed arrays
This commit adds support for typed arrays in streams.
Contributed by IlyasShabi #51866
util: support array of formats in util.styleText
It is now possible to pass an array of format strings to
util.styleText
to apply multiple formats to the same text.Contributed by Marco Ippolito in #52040
v8: implement v8.queryObjects() for memory leak regression testing
This is similar to the queryObjects() console API provided by the Chromium DevTools console. It can be used to search for objects that have the matching constructor on its prototype chain in the heap after a full garbage collection, which can be useful for memory leak regression tests.
To avoid surprising results, users should avoid using this API on constructors whose implementation they don't control, or on constructors that can be invoked by other parties in the application.
To avoid accidental leaks, this API does not return raw references to the objects found. By default, it returns the count of the objects found. If options.format is 'summary', it returns an array containing brief string representations for each object. The visibility provided in this API is similar to what the heap snapshot provides, while users can save the cost of serialization and parsing and directly filer the target objects during the search.
We have been using this API internally for the test suite, which has been more stable than any other leak regression testing strategies in the CI. With a public implementation we can now use the public API instead.
Contributed by Joyee Cheung in #51927
watch: mark as stable
From this release Watch Mode is considered stable.
When in watch mode, changes in the watched files cause the Node.js process to restart.
Contributed by Moshe Atlow in #52074
Other Notable Changes
f8ad30048d
] - benchmark: add AbortSignal.abort benchmarks (Raz Luvaton) #524083b41da9a56
] - (SEMVER-MINOR) deps: update simdutf to 5.0.0 (Daniel Lemire) #521380a08c4a7b3
] - (SEMVER-MINOR) deps: update undici to 6.3.0 (Node.js GitHub Bot) #51462f1b7bda4f5
] - (SEMVER-MINOR) deps: update undici to 6.2.1 (Node.js GitHub Bot) #512784acca8ed84
] - (SEMVER-MINOR) dns: add order option and support ipv6first (Paolo Insogna) #52492cc67720ff9
] - doc: update release gpg keyserver (marco-ippolito) #52257c2def7df96
] - doc: add release key for marco-ippolito (marco-ippolito) #52257807c89cb26
] - doc: add UlisesGascon as a collaborator (Ulises Gascón) #519915e78a20ef9
] - (SEMVER-MINOR) doc: deprecate fs.Stats public constructor (Marco Ippolito) #51879722fe64ff7
] - (SEMVER-MINOR) lib, url: add awindows
option to path parsing (Aviv Keller) #52509d116fa1568
] - (SEMVER-MINOR) net: add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) #524746af7b78b0d
] - (SEMVER-MINOR) src: addstring_view
overload to snapshot FromBlob (Anna Henningsen) #52595b3a11b574b
] - (SEMVER-MINOR) src: preload function for Environment (Cheng Zhao) #5153941646d9c9e
] - (SEMVER-MINOR) test_runner: add suite() (Colin Ihrig) #52127fc9ba17f6c
] - (SEMVER-MINOR) test_runner: addtest:complete
event to reflect execution order (Moshe Atlow) #51909Commits
6fdd748b21
] - benchmark: reduce the buffer size for blob (Debadree Chatterjee) #525482274d0c868
] - benchmark: inherit stdio/stderr instead of pipe (Ali Hassan) #524560300598315
] - benchmark: add ipc support to spawn stdio config (Ali Hassan) #52456f8ad30048d
] - benchmark: add AbortSignal.abort benchmarks (Raz Luvaton) #524087508d48736
] - benchmark: conditionally use spawn with taskset for cpu pinning (Ali Hassan) #52253ea8e72e185
] - benchmark: add toNamespacedPath bench (Rafael Gonzaga) #52236c00715cc1e
] - benchmark: add style-text benchmark (Rafael Gonzaga) #520041c1a6935ee
] - buffer: add missing ARG_TYPE(ArrayBuffer) for isUtf8 (Jungku Lee) #524771b2aff7dce
] - buffer: improvebase64
andbase64url
performance (Yagiz Nizipli) #52428328bded5ab
] - buffer: improvebtoa
performance (Yagiz Nizipli) #52427e67bc34326
] - buffer: use simdutf foratob
implementation (Yagiz Nizipli) #523815abddb45d8
] - build: fix typo in node.gyp (Michaël Zasso) #527197d1f304f5e
] - build: fix headers install for shared mode on Win (Segev Finer) #524426826bbf267
] - build: fix arm64 cross-compilation bug on non-arm machines (Mahdi Sharifi) #525596e85bc431a
] - build: temporary disable ubsan (Rafael Gonzaga) #52560297368a1ed
] - build: fix arm64 cross-compilation (Michaël Zasso) #5125693bddb598f
] - build,tools: add test-ubsan ci (Rafael Gonzaga) #4629720bb16582f
] - build,tools,node-api: fix building node-api tests for Windows Debug (Vladimir Morozov) #526329af15cfff1
] - child_process: use internal addAbortListener (Chemi Atlow) #52081a4847c4619
] - crypto: simplify assertions in Safe*Print (David Benjamin) #497090ec4d9d734
] - crypto: enable NODE_EXTRA_CA_CERTS with BoringSSL (Shelley Vohr) #5221703e05b092c
] - crypto: deprecate implicitly shortened GCM tags (Tobias Nießen) #523450f784c96ba
] - crypto: make timingSafeEqual faster for Uint8Array (Tobias Nießen) #52341739958e472
] - crypto: rejectEd25519
/Ed448 in Sign/Verify prototypes (Filip Skokan) #52340197b61f210
] - crypto: validate RSA-PSS saltLength in subtle.sign and subtle.verify (Filip Skokan) #52262a6eede33f3
] - crypto: fixinput
validation incrypto.hash
(Antoine du Hamel) #52070bfa4986e5d
] - deps: update corepack to 0.28.0 (Node.js GitHub Bot) #5261670546698d7
] - deps: update ada to 2.7.8 (Node.js GitHub Bot) #52517a135027f84
] - deps: update icu to 75.1 (Node.js GitHub Bot) #52573c96f1043d4
] - deps: update undici to 6.13.0 (Node.js GitHub Bot) #524939c330b610b
] - deps: update zlib to 1.3.0.1-motley-7d77fb7 (Node.js GitHub Bot) #525167e5bbeebab
] - deps: update nghttp2 to 1.61.0 (Node.js GitHub Bot) #52395b42a4735d9
] - deps: update minimatch to 9.0.4 (Node.js GitHub Bot) #52524d34fd21bc2
] - deps: update simdutf to 5.2.4 (Node.js GitHub Bot) #52473ecc180f830
] - deps: upgrade npm to 10.5.2 (npm team) #52458606c183344
] - deps: update simdutf to 5.2.3 (Yagiz Nizipli) #523810a103e99fe
] - deps: upgrade npm to 10.5.1 (npm team) #52351cce861e670
] - deps: update c-ares to 1.28.1 (Node.js GitHub Bot) #522855258b547ea
] - deps: update undici to 6.11.1 (Node.js GitHub Bot) #52328923a77c80a
] - deps: update undici to 6.10.2 (Node.js GitHub Bot) #52227bd3c6a231c
] - deps: update zlib to 1.3.0.1-motley-24c07df (Node.js GitHub Bot) #521993b41da9a56
] - (SEMVER-MINOR) deps: update simdutf to 5.0.0 (Daniel Lemire) #52138d6f9ca385c
] - deps: update zlib to 1.3.0.1-motley-24342f6 (Node.js GitHub Bot) #52123f5512897b0
] - deps: update corepack to 0.26.0 (Node.js GitHub Bot) #52027d891275178
] - deps: update ada to 2.7.7 (Node.js GitHub Bot) #5202818838f2db3
] - deps: update simdutf to 4.0.9 (Node.js GitHub Bot) #51655503c034abc
] - deps: update undici to 6.6.2 (Node.js GitHub Bot) #51667256bcba52e
] - deps: update undici to 6.6.0 (Node.js GitHub Bot) #516307a1e321d95
] - deps: update undici to 6.4.0 (Node.js GitHub Bot) #51527dde9e08224
] - deps: update ngtcp2 to 1.1.0 (Node.js GitHub Bot) #513190a08c4a7b3
] - (SEMVER-MINOR) deps: update undici to 6.3.0 (Node.js GitHub Bot) #51462f1b7bda4f5
] - (SEMVER-MINOR) deps: update undici to 6.2.1 (Node.js GitHub Bot) #51278ecadd638cd
] - deps: V8: remove references to non-existent flags (Richard Lau) #5225627d364491f
] - dgram: use internal addAbortListener (Chemi Atlow) #52081b94d11935a
] - diagnostics_channel: early-exit tracing channel trace methods (Stephen Belanger) #519154acca8ed84
] - (SEMVER-MINOR) dns: add order option and support ipv6first (Paolo Insogna) #52492bcc06ac5a9
] - doc: remove relative limitation to pm (Rafael Gonzaga) #526484d5ef4f7af
] - doc: fix info string causing duplicated code blocks (Mathieu Leenhardt) #52660d5a316f5ea
] - doc: run license-builder (github-actions[bot]) #52631d7434fe411
] - doc: deprecate --experimental-policy (RafaelGSS) #5260202a83d89f7
] - doc: add info on contributor spotlight program (Michael Dawson) #52598a905eaace1
] - doc: correct unsafe URL example in http docs (Malte Legenhausen) #5255569c21a6522
] - doc: replace U+00A0 with U+0020 (Luigi Pinca) #525905df34c7d0a
] - doc: sort options alphabetically (Luigi Pinca) #52589b49464bc9d
] - doc: correct stream.finished changes (KaKa) #525514d051ba89b
] - doc: add RedYetiDev to triage team (Aviv Keller) #525564ed55bf16c
] - doc: fix issue detected in markdown lint update (Rich Trott) #52566a8bc40fd07
] - doc: update test runner coverage limitations (Moshe Atlow) #5251517d5ba9fed
] - doc: add lint-js-fix into BUILDING.md (jakecastelli) #5229088adbd0991
] - doc: remove Internet Explorer mention in BUILDING.md (Rich Trott) #52455e8cb29d66d
] - doc: accommodate upcoming stricter .md linting (Rich Trott) #52454e2ea984c7b
] - doc: add Rafael to steward list (Rafael Gonzaga) #5245293d684097a
] - doc: correct naming convention in C++ style guide (Mohammed Keyvanzadeh) #52424b9bdb947ac
] - doc: updateprocess.execArg
example to be more useful (Jacob Smith) #52412f3f67ff84a
] - doc: call out http(s).globalAgent default (mathis-west-1) #52392392a0d310e
] - doc: update the location ofbuild_with_cmake
(Emmanuel Ferdman) #523563ad62f1cc7
] - doc: reserve 125 for Electron 31 (Shelley Vohr) #52379bfd4c7844b
] - doc: use consistent plural form of "index" (Rich Trott) #523736f31cc8361
] - doc: add Rafael to sec release stewards (Rafael Gonzaga) #52354c55a3be789
] - doc: document missing options of events.on (Chemi Atlow) #520801a843f7c6d
] - doc: add missing space (Augustin Mauroy) #523608ee20d8693
] - doc: add tips about vcpkg cause build faild on windows (Cong Zhang) #52181a86705c113
] - doc: replace "below" with "following" (Rich Trott) #52315f3e8d1159a
] - doc: fix email pattern to be wrapped with<<
instead of single<
(Raz Luvaton) #52284cc67720ff9
] - doc: update release gpg keyserver (marco-ippolito) #52257c2def7df96
] - doc: add release key for marco-ippolito (marco-ippolito) #522572509f3be18
] - doc: fix arrow vertical alignment in HTML version (Akash Yeole) #521932abaea3cdc
] - doc: move TSC members from regular to emeritus (Michael Dawson) #5220965618a3d7b
] - doc: add section explaining todo tests (Colin Ihrig) #52204bf0ed95b04
] - doc: editChildProcess
'message'
event docs (theanarkh) #521543d67b6b5e8
] - doc: add mold to speeding up section (Cong Zhang) #521798ba308a838
] - doc: http event order correction (wh0) #514649771f41069
] - doc: move gabrielschulhof to TSC emeritus (Gabriel Schulhof) #5219272bd2b0d62
] - doc: fix--env-file
docs for valid quotes for defining values (Gabriel Bota) #521574f19203dfb
] - doc: clarify what is supported in NODE_OPTIONS (Michael Dawson) #520765bce596838
] - doc: fix typos in maintaining-dependencies.md (RoboSchmied) #52160f5241e20cc
] - doc: add spec for contains module syntax (Geoffrey Booth) #52059bda3cdea86
] - doc: optimize the doc about Unix abstract socket (theanarkh) #520438d7d6eff81
] - doc: update pnpm link (Superchupu) #52113af7c55f62d
] - doc: remove ableist language from crypto (Jamie King) #52063f8362b0a5a
] - doc: update collaborator email (Ruy Adorno) #5208848cbd5f71e
] - doc: state that removing npm is a non-goal (Geoffrey Booth) #519510ef2708131
] - doc: mention NodeSource in RafaelGSS steward list (Rafael Gonzaga) #52057a6473a89be
] - doc: remove ArrayBuffer from crypto.hash() data parameter type (fengmk2) #52069ae7a11c787
] - doc: add some commonly used lables up gront (Michael Dawson) #5200601aaddde3c
] - doc: document thatconst c2 = vm.createContext(c1); c1 === c2
is true (Daniel Kaplan) #51960912145fac4
] - doc: clarify what moderation issues are for (Antoine du Hamel) #51990807c89cb26
] - doc: add UlisesGascon as a collaborator (Ulises Gascón) #5199153ff3e5682
] - doc: deprecate hmac public constructor (Marco Ippolito) #518815e78a20ef9
] - (SEMVER-MINOR) doc: deprecate fs.Stats public constructor (Marco Ippolito) #518797bfb0b43e6
] - events: rename high & low watermark for consistency (Chemi Atlow) #520805e6967359b
] - events: extract addAbortListener for safe internal use (Chemi Atlow) #520816930205272
] - events: remove abort listener from signal inon
(Neal Beeken) #51091235ab4f99f
] - events,doc: mark CustomEvent as stable (Daeyeon Jeong) #52618ca5b827148
] - fs: fix read / readSync positional offset types (Ruy Adorno) #52603e7d0d804b2
] - fs: fixes recursive fs.watch crash on Linux when deleting files (Matteo Collina) #52349c5fd193d6b
] - fs: refactor maybeCallback function (Yagiz Nizipli) #521290a9910c2c1
] - fs: fix edge case in readFileSync utf8 fast path (Richard Lau) #5210151d7cd5de8
] - fs: validate fd from cpp onfchown
(Yagiz Nizipli) #5205133ad86c2be
] - fs: validate fd from cpp onclose
(Yagiz Nizipli) #5205134667c0a7e
] - fs: validate file mode from cpp (Yagiz Nizipli) #52050c530520be3
] - fs: add stacktrace to fs/promises (翠 / green) #49849edecd464b9
] - fs,permission: make handling of buffers consistent (Tobias Nießen) #523483bcd68337e
] - http2: fix excessive CPU usage when usingallowHTTP1=true
(Eugene) #52713e01015996a
] - http2: fix h2-over-h2 connection proxying (Tim Perry) #523689f88736860
] - http2: use internal addAbortListener (Chemi Atlow) #52081acd7758959
] - lib: use predefined variable instead of bit operation (Deokjin Kim) #5258018ae7a46f6
] - lib: refactor lazy loading of undici for fetch method (Victor Chen) #5227564c2c2a7ac
] - lib: replace string prototype usage with alternatives (Aviv Keller) #52440ee11b5315c
] - lib: .load .save add proper error message when no file passed (Thomas Mauran) #52225e5521b537f
] - lib: fix type error for _refreshLine (Jackson Tian) #52133d5d6e041c8
] - lib: emit listening event once when call listen twice (theanarkh) #52119d33fc36784
] - lib: make sure clear the old timer in http server (theanarkh) #52118ea4905c0f5
] - lib: fix listen with handle in cluster worker (theanarkh) #520568fd8130507
] - lib, doc: rename readme.md to README.md (Aviv Keller) #52471722fe64ff7
] - (SEMVER-MINOR) lib, url: add awindows
option to path parsing (Aviv Keller) #5250926691e6032
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #52633befb90dc83
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #5245722b7167e72
] - meta: bump actions/download-artifact from 4.1.3 to 4.1.4 (dependabot[bot]) #523144dafd3ede2
] - meta: bump rtCamp/action-slack-notify from 2.2.1 to 2.3.0 (dependabot[bot]) #523132760db7640
] - meta: bump github/codeql-action from 3.24.6 to 3.24.9 (dependabot[bot]) #52312542aaf9ca9
] - meta: bump actions/cache from 4.0.1 to 4.0.2 (dependabot[bot]) #52311df330998d9
] - meta: bump actions/setup-python from 5.0.0 to 5.1.0 (dependabot[bot]) #523105f40fe0cc2
] - meta: bump codecov/codecov-action from 4.1.0 to 4.1.1 (dependabot[bot]) #52308481420f25c
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #523003121949f85
] - meta: pass Codecov upload token to codecov action (Michaël Zasso) #51982882a64e639
] - module: fix detect-module not retrying as esm for cjs-only errors (Geoffrey Booth) #520245fcc1d32a8
] - module: refactor ESM loader initialization and entry point handling (Joyee Cheung) #51999d116fa1568
] - (SEMVER-MINOR) net: add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) #5247437abad86ae
] - net: use internal addAbortListener (Chemi Atlow) #52081a920489a1f
] - node-api: address coverity report (Michael Dawson) #525840a225a4b40
] - node-api: copy external type tags when they are set (Niels Martignène) #52426f9d95674be
] - node-api: make tsfn accept napi_finalize once more (Gabriel Schulhof) #5180172aabe1139
] - perf_hooks: reduce overhead of createHistogram (Vinícius Lourenço) #50074fb601c3a94
] - readline: use internal addAbortListener (Chemi Atlow) #5208129f09f05f7
] - (SEMVER-MINOR) report: add--report-exclude-network
option (Ethan Arrowood) #516457e6d923f5b
] - src: cast to v8::Value before using v8::EmbedderGraph::V8Node (Joyee Cheung) #526386af7b78b0d
] - (SEMVER-MINOR) src: addstring_view
overload to snapshot FromBlob (Anna Henningsen) #5259527491e55c1
] - src: remove regex usage for env file parsing (IlyasShabi) #52406b05e639e27
] - src: fix loadEnvFile ENOENT error (mathis-west-1) #524381b4d2814d1
] - src: update branch name in node_revert.h (Tobias Nießen) #523907e35a169ea
] - src: stop usingv8::BackingStore::Reallocate
(Michaël Zasso) #522922449d2606a
] - src: fix move after use reported by coverity (Michael Dawson) #52141b33eff887d
] - (SEMVER-MINOR) src: add C++ ProcessEmitWarningSync() (Joyee Cheung) #51977f2c7408927
] - src: return a number from process.constrainedMemory() constantly (Chengzhong Wu) #520397f575c886b
] - (SEMVER-MINOR) src: add uv_get_available_memory to report and process (theanarkh) #52023e161e62313
] - src: use dedicated routine to compile function for builtin CJS loader (Joyee Cheung) #5201607322b490f
] - src: fix reading empty string views in Blob[De]serializer (Joyee Cheung) #52000e216192390
] - src: refactor out FormatErrorMessage for error formatting (Joyee Cheung) #51999b3a11b574b
] - (SEMVER-MINOR) src: preload function for Environment (Cheng Zhao) #5153909bd367ef6
] - stream: make Duplex inherit destroy from Writable (Luigi Pinca) #523180b853a7576
] - (SEMVER-MINOR) stream: support typed arrays (IlyasShabi) #51866f8209ffe45
] - stream: addnew
when constructingERR_MULTIPLE_CALLBACK
(haze) #521108442457117
] - stream: use internal addAbortListener (Chemi Atlow) #520818d20b641a2
] - Revert "stream: fix cloned webstreams not being unref'd" (Matteo Collina) #51491a923adffab
] - test: marktest-error-serdes
as flaky (Antoine du Hamel) #52739d4f1803f0b
] - test: mark test as flaky (Michael Dawson) #526711e88e042c2
] - test: skip test-fs-watch-recursive-delete.js on IBM i (Abdirahim Musse) #526456da558af8b
] - test: ensure that all worker servers are ready (Luigi Pinca) #52563c871fadb85
] - test: fix test-tls-ticket-cluster.js (Hüseyin Açacak) #52431b6cb74d775
] - test: split wasi poll test for windows (Hüseyin Açacak) #525384ad159bb75
] - test: write tests for assertIsArray http2 util (Sinan Sonmez (Chaush)) #525111f7a28cbe7
] - test: fix watch test with require not testing pid (Raz Luvaton) #523535b758b93d5
] - test: simplify ASan build checks (Michaël Zasso) #52430375c3db5ea
] - test: fix Windows compiler warnings in overlapped-checker (Michaël Zasso) #52405a1dd92cdee
] - test: add test for skip+todo combinations (Colin Ihrig) #522048a0b721930
] - test: fix incorrect test fixture (Colin Ihrig) #52185dd1f761f3b
] - test: add missing cctest/test_path.cc (Yagiz Nizipli) #521486da446d9e1
] - test: addspawnSyncAndAssert
util (Antoine du Hamel) #52132d7bfb4e8d8
] - test: reduce flakiness of test-runner-output.mjs (Colin Ihrig) #52146e4981b3d75
] - test: add test for using--print
with promises (Antoine du Hamel) #521375cc540078e
] - test: un-set test-emit-after-on-destroyed as flaky (Abdirahim Musse) #51995b9eb0035dd
] - test: skip test for dynamically linked OpenSSL (Richard Lau) #5254232014f5601
] - test: avoid v8 deadcode on performance function (Vinícius Lourenço) #5007429d2011f51
] - test_runner: better error handing for test hook (Alex Yang) #524019497097fb3
] - test_runner: fix clearing final timeout in own callback (Ben Richeson) #523320f690f0b9e
] - test_runner: fix recursive run (Moshe Atlow) #5232234ab1a36ee
] - test_runner: hide new line when no error in spec reporter (Moshe Atlow) #52297379535abe3
] - test_runner: disable highWatermark on TestsStream (Colin Ihrig) #5228735588cff39
] - test_runner: run afterEach hooks in correct order (Colin Ihrig) #522395cd3df8fe1
] - test_runner: simplify test end time tracking (Colin Ihrig) #5218207e4a42e4b
] - test_runner: simplify test start time tracking (Colin Ihrig) #52182caec996831
] - test_runner: emit diagnostics when watch mode drains (Moshe Atlow) #5213041646d9c9e
] - (SEMVER-MINOR) test_runner: add suite() (Colin Ihrig) #52127fd1489a623
] - test_runner: skip each hooks for skipped tests (Colin Ihrig) #5211573b38bfa9e
] - test_runner: remove redundant report call (Colin Ihrig) #5208968187c4d9e
] - test_runner: use internal addAbortListener (Chemi Atlow) #5208161e7ae05ef
] - test_runner: use source maps when reporting coverage (Moshe Atlow) #52060e64a25af61
] - test_runner: handle undefined test locations (Colin Ihrig) #52036590decf202
] - test_runner: avoid overwriting root start time (Colin Ihrig) #52020a4cbb61c65
] - test_runner: abort unfinished tests on async error (Colin Ihrig) #51996a223ca4868
] - test_runner: run before hook immediately if test started (Moshe Atlow) #52003956ee74c7e
] - test_runner: add support for null and date value output (Malthe Borch) #51920fc9ba17f6c
] - (SEMVER-MINOR) test_runner: addtest:complete
event to reflect execution order (Moshe Atlow) #51909d5ac979aeb
] - test_runner: format coverage report for tap reporter (Pulkit Gupta) #51119c925bc18dc
] - tools: take co-authors into account infind-inactive-collaborators
(Antoine du Hamel) #526691d37e772ec
] - tools: fix invalid escape sequence in mkssldef (Michaël Zasso) #526245b22fc3a81
] - tools: update lint-md-dependencies to rollup@4.15.0 (Node.js GitHub Bot) #526179cf47bb2f1
] - tools: update lint-md-dependencies (Rich Trott) #52581c0c60d13c0
] - tools: fix heading spaces for osx-entitlements.plist (Jackson Tian) #525617c349d7819
] - tools: update lint-md-dependencies to rollup@4.14.2 vfile-reporter@8.1.1 (Node.js GitHub Bot) #52518b4d703297b
] - tools: use stylistic ESLint plugin for formatting (Michaël Zasso) #50714c6813360c2
] - tools: update minimatch index path (Marco Ippolito) #525238464c0253c
] - tools: add a linter for README lists (Antoine du Hamel) #5247655a3fbc842
] - tools: change inactive limit to 12 months (Yagiz Nizipli) #5242574a171f130
] - tools: update stale bot messaging (Wes Todd) #52423b2a3dcec2a
] - tools: update lint-md-dependencies to rollup@4.14.0 (Node.js GitHub Bot) #52398f71a777e6e
] - tools: update Ruff to v0.3.4 (Michaël Zasso) #52302e3e0c68f8f
] - tools: run test-ubsan on ubuntu-latest (Michaël Zasso) #52375893b5aac31
] - tools: update lint-md-dependencies to rollup@4.13.2 (Node.js GitHub Bot) #52286049cca419e
] - Revert "tools: runbuild-windows
workflow only on source changes" (Michaël Zasso) #52320b3dfc62cee
] - tools: use Python 3.12 in GitHub Actions workflows (Michaël Zasso) #52301c7238d0c04
] - tools: allow local updates for llhttp (Paolo Insogna) #52085c39f15cafd
] - tools: install npm PowerShell scripts on Windows (Luke Karrys) #52009b36fea064a
] - tools: update lint-md-dependencies to rollup@4.13.0 (Node.js GitHub Bot) #52122a5204eb915
] - tools: fix error reported by coverity in js2c.cc (Michael Dawson) #52142cef4b7ef3d
] - tools: sync ubsan workflow with asan (Michaël Zasso) #52152d406976bbe
] - tools: update github_reporter to 1.7.0 (Node.js GitHub Bot) #52121fb100a2ac8
] - tools: remove gyp-next .github folder (Marco Ippolito) #520645f1e7a0de2
] - tools: update gyp-next to 0.16.2 (Node.js GitHub Bot) #520621f1253446b
] - tools: install manpage to share/man for FreeBSD (Po-Chuan Hsieh) #517914b8b92fccc
] - tools: automate gyp-next update (Marco Ippolito) #520141ec9e58692
] - typings: fix invalid JSDoc declarations (Yagiz Nizipli) #526592d6b19970b
] - (SEMVER-MINOR) util: support array of formats in util.styleText (Marco Ippolito) #52040d30cccdf8c
] - (SEMVER-MINOR) v8: implement v8.queryObjects() for memory leak regression testing (Joyee Cheung) #519277f3b7fdeff
] - watch: fix some node argument not passed to watched process (Raz Luvaton) #523588ba6f9bc9a
] - watch: use internal addAbortListener (Chemi Atlow) #520815a922232da
] - watch: mark as stable (Moshe Atlow) #52074508e968a5f
] - watch: batch file restarts (Moshe Atlow) #51992v20.12.2
: 2024-04-10, Version 20.12.2 'Iron' (LTS), @RafaelGSSCompare Source
This is a security release.
Notable Changes
child_process.spawn
without shell option enabled on WindowsCommits
69ffc6d50d
] - src: disallow direct .bat and .cmd file spawning (Ben Noordhuis) nodejs-private/node-private#563v20.12.1
: 2024-04-03, Version 20.12.1 'Iron' (LTS), @RafaelGSSCompare Source
This is a security release
Notable Changes
Commits
bd8f10a257
] - deps: update undici to v5.28.4 (Matteo Collina) nodejs-private/node-private#5765e34540a96
] - http: do not allow OBS fold in headers by default (Paolo Insogna) nodejs-private/node-private#557ba1ae6d188
] - src: ensure to close stream when destroying session (Anna Henningsen) nodejs-private/node-private#561v20.12.0
: 2024-03-26, Version 20.12.0 'Iron' (LTS), @richardlauCompare Source
Notable Changes
crypto: implement crypto.hash()
This patch introduces a helper crypto.hash() that computes
a digest from the input at one shot. This can be 1.2-2x faster
than the object-based createHash() for smaller inputs (<= 5MB)
that are readily available (not streamed) and incur less memory
overhead since no intermediate objects will be created.
Contributed by Joyee Cheung in #51044.
Loading and parsing environment variables
process.loadEnvFile(path)
:.env
file. If no path is specified, it automatically loads the .env file in the current directory. Example:process.loadEnvFile()
.process.loadEnvFile('./development.env')
.util.parseEnv(content)
:require('node:util').parseEnv('HELLO=world')
.Contributed by Yagiz Nizipli in #51476.
New connection attempt events
Three new events were added in the
net.createConnection
flow:connectionAttempt
: Emitted when a new connection attempt is established. In case of Happy Eyeballs, this might emitted multiple times.connectionAttemptFailed
: Emitted when a connection attempt failed. In case of Happy Eyeballs, this might emitted multiple times.connectionAttemptTimeout
: Emitted when a connection attempt timed out. In case of Happy Eyeballs, this will not be emitted for the last attempt. This is not emitted at all if Happy Eyeballs is not used.Additionally, a previous bug has been fixed where a new connection attempt could have been started after a previous one failed and after the connection was destroyed by the user.
This led to a failed assertion.
Contributed by Paolo Insogna in #51045.
Permission Model changes
Node.js 20.12.0 comes with several fixes for the experimental permission model and two new semver-minor commits.
We're adding a new flag
--allow-addons
to enable addon usage when using the Permission Model.Contributed by Rafael Gonzaga in #51183
And relative paths are now supported through the
--allow-fs-*
flags.Therefore, with this release one can use:
To give only read access to the entrypoint of the application.
Contributed by Rafael Gonzaga and Carlos Espa in #50758.
sea: support embedding assets
Users can now include assets by adding a key-path dictionary
to the configuration as the
assets
field. At build time, Node.jswould read the assets from the specified paths and bundle them into
the preparation blob. In the generated executable, users can retrieve
the assets using the
sea.getAsset()
andsea.getAssetAsBlob()
API.The single-executable application can access the assets as follows:
Contributed by Joyee Cheung in #50960.
Support configurable snapshot through
--build-snapshot-config
flagWe are adding a new flag
--build-snapshot-config
to configure snapshots through a custom JSON configuration file.When using this flag, additional script files provided on the command line will
not be executed and instead be interpreted as regular command line arguments.
These changes were contributed by Joyee Cheung and Anna Henningsen in #50453
Text Styling
util.styleText(format, text)
: This function returns a formatted text considering theformat
passed.A new API has been created to format text based on
util.inspect.colors
, enabling you to style text in different colors (such as red, blue, ...) and emphasis (italic, bold, ...).Contributed by Rafael Gonzaga in #51850.
vm: support using the default loader to handle dynamic import()
This patch adds support for using
vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER
as theimportModuleDynamically
option in all vm APIs that take this option exceptvm.SourceTextModule
. This allows users to have a shortcut to support dynamicimport()
in the compiled code without missing the compilation cache if they don't need customization of the loading process. We emit an experimental warning when theimport()
is actually handled by the default loader through this option instead of requiring--experimental-vm-modules
.Contributed by Joyee Cheung in #51244.
Root certificates updated to NSS 3.98
Certificates added:
Certificates removed:
Updated dependencies
Other notable changes
4f49e9d000
] - (SEMVER-MINOR) build: build opt to set local location of headers (Michael Dawson) #51525ccdb01187b
] - doc: add zcbenz to collaborators (Cheng Zhao) #51812481af53aea
] - doc: add lemire to collaborators (Daniel Lemire) #515725ba4d96525
] - (SEMVER-MINOR) http2: add h2 compat support for appendHeader (Tim Perry) #514120861498e8b
] - (SEMVER-MINOR) http2: add server handshake utility (snek) #511726b08d006ee
] - (SEMVER-MINOR) http2: receive customsettings (Marten Richter) #513237894989bf0
] - (SEMVER-MINOR) lib: move encodingsMap to internal/util (Joyee Cheung) #51044a58c98ea85
] - (SEMVER-MINOR) src: print string content better in BlobDeserializer (Joyee Cheung) #50960c3c0a3ee5c
] - (SEMVER-MINOR) src: support multi-line values for .env file (IlyasShabi) #512892a921966c6
] - (SEMVER-MINOR) src: do not coerce dotenv paths (Tobias Nießen) #514250dee86f295
] - (SEMVER-MINOR) src: support configurable snapshot (Joyee Cheung) #50453ade6614067
] - (SEMVER-MINOR) stream: add support fordeflate-raw
format to webstreams compression (Damian Krzeminski) #50097fe922f05e4
] - (SEMVER-MINOR) timers: export timers.promises (Marco Ippolito) #51246Commits
cbda4e9fc5
] - assert,crypto: make KeyObject and CryptoKey testable for equality (Filip Skokan) #5089792fca59647
] - async_hooks,inspector: implement inspector api without async_wrap (Gabriel Bota) #51501029ca982dc
] - benchmark: update iterations of benchmark/async_hooks/async-local- (Lei Shi) #51420350e9fee8d
] - benchmark: update iterations of benchmark/domain/domain-fn-args.js (Lei Shi) #5140840fda97deb
] - benchmark: update iterations of assert/deepequal-typedarrays.js (Lei Shi) #514191b2e3b7049
] - benchmark: update iterations of benchmark/assert/deepequal-map.js (Lei Shi) #514167639259203
] - benchmark: rename startup.js to startup-core.js (Joyee Cheung) #516694be33b5577
] - benchmark: remove dependency on unshipped tools (Adam Majer) #51146bd03a154a9
] - benchmark: update iterations in benchmark/perf_hooks (Lei Shi) #5086919b943b909
] - benchmark: update iterations in benchmark/crypto/aes-gcm-throughput.js (Lei Shi) #50929278c990dea
] - benchmark: update iteration and size in benchmark/crypto/randomBytes.js (Lei Shi) #50868443d4fcff3
] - benchmark: add undici websocket benchmark (Chenyu Yang) #505863ab6143380
] - benchmark: add create-hash benchmark (Joyee Cheung) #510266a8ff09332
] - benchmark: update interations and len in benchmark/util/text-decoder.js (Lei Shi) #5093822b53bc1fa
] - benchmark: update iterations of benchmark/util/type-check.js (Lei Shi) #50937f56bda5109
] - benchmark: update iterations in benchmark/util/normalize-encoding.js (Lei Shi) #509344fc83e1ce3
] - benchmark: update iterations in benchmark/util/inspect-array.js (Lei Shi) #509330edddcfc19
] - benchmark: update iterations in benchmark/util/format.js (Lei Shi) #50932f109961fd1
] - benchmark: update iterations in benchmark/crypto/hkdf.js (Lei Shi) #508661e923f11f2
] - benchmark: update iterations in benchmark/crypto/get-ciphers.js (Lei Shi) #50863f13643da06
] - benchmark: update number of iterations forutil.inspect
(kylo5aby) #5065103b19cbd2a
] - bootstrap: improve snapshot unsupported builtin warnings (Joyee Cheung) #5094451ea5b60a9
] - build: fix arm64 host cross-compilation in GN (Cheng Zhao) #519039f5547afa2
] - Revert "build: workaround for node-core-utils" (Richard Lau) #5197558255e73ae
] - build: respect theNODE
env variable inMakefile
(Antoine du Hamel) #517430a7419bf0b
] - Revert "build: fix warning in cares under GN build" (Luigi Pinca) #518654118174b85
] - build: removelibrt
libs link for Android compatibility (BuShe Pie) #51632012da16b85
] - build: do not rely on gn_helpers in GN build (Cheng Zhao) #5143993fcf52990
] - build: fix warning in cares under GN build (Cheng Zhao) #516872176495455
] - build: fix building js2c with GN (Cheng Zhao) #51818d6e702f885
] - build: encode non-ASCII Latin1 characters as one byte in JS2C (Joyee Cheung) #516054f49e9d000
] - (SEMVER-MINOR) build: build opt to set local location of headers (Michael Dawson) #515258e84aad0ef
] - build: use macOS m1 machines for testing (Yagiz Nizipli) #516205fce1a17e2
] - build: check before removing %config% link (liudonghua) #5143746d6dce1a8
] - build: increase parallel executions in github (Yagiz Nizipli) #515548b3ead1f3e
] - build: remove copyright header in node.gni (Cheng Zhao) #51535d8b86ad363
] - build: update GN build files for ngtcp2 (Cheng Zhao) #51313ba0ffddd2d
] - build: fix for VScode "Reopen in Container" (Serg Kryvonos) #512718b97e2e0a7
] - build: add-flax-vector-conversions
to V8 build (Michaël Zasso) #51257bd528c7dc0
] - build: fix warnings from uv for gn build (Cheng Zhao) #51069ffe467b062
] - build,tools: make addons tests work with GN (Cheng Zhao) #50737448d67109a
] - (SEMVER-MINOR) crypto: implement crypto.hash() (Joyee Cheung) #5104448959dd2b4
] - crypto: update root certificates to NSS 3.98 (Node.js GitHub Bot) #5179468e8b2c492
] - crypto: use EVP_MD_fetch and cache EVP_MD for hashes (Joyee Cheung) #51034adb5d69621
] - crypto: update CryptoKey symbol properties (Filip Skokan) #50897df0213fd3d
] - deps: update nghttp2 to 1.60.0 (Node.js GitHub Bot) #51948208dd887a5
] - deps: upgrade npm to 10.5.0 (npm team) #51913587e70e1ee
] - deps: update corepack to 0.25.2 (Node.js GitHub Bot) #5181038343c4857
] - deps: update c-ares to 1.27.0 (Node.js GitHub Bot) #51846c9974f621c
] - deps: update c-ares to 1.26.0 (Node.js GitHub Bot) #515820aa18e1a1c
] - deps: update googletest to6a59382
(Node.js GitHub Bot) #51580f871bc6ddc
] - deps: update nghttp2 to 1.59.0 (Node.js GitHub Bot) #5158194f8ee8717
] - deps: update corepack to 0.24.1 (Node.js GitHub Bot) #51459c23ce06e6b
] - deps: update ada to 2.7.6 (Node.js GitHub Bot) #51542372ce69de1
] - deps: update ada to 2.7.5 (Node.js GitHub Bot) #51542133719b2c9
] - deps: update googletest to7c07a86
(Node.js GitHub Bot) #5145835675aa07f
] - deps: update acorn-walk to 8.3.2 (Node.js GitHub Bot) #51457ca73f55a22
] - deps: update base64 to 0.5.2 (Node.js GitHub Bot) #51455c9dad18191
] - deps: compile c-ares with C11 support (Michaël Zasso) #51410a727fa73ee
] - deps: upgrade npm to 10.3.0 (npm team) #51431834bbfd039
] - deps: update c-ares to 1.25.0 (Node.js GitHub Bot) #513854c8fa3e7c2
] - deps: update uvwasi to 0.0.20 and fixup tests (Michael Dawson) #51355bd183ef2af
] - deps: add nghttp3/**/.deps to .gitignore (Luigi Pinca) #514001d8169995c
] - deps: update corepack to 0.24.0 (Node.js GitHub Bot) #513184dfbbb8789
] - deps: update acorn to 8.11.3 (Node.js GitHub Bot) #513177d60877fa3
] - deps: update brotli to 1.1.0 (Node.js GitHub Bot) #508041b99a3f0af
] - deps: update zlib to 1.3.0.1-motley-40e35a7 (Node.js GitHub Bot) #512742270285839
] - deps: update simdutf to 4.0.8 (Node.js GitHub Bot) #5100061d1535d84
] - deps: V8: cherry-pickde611e6
(Keyhan Vakil) #5120004323fd595
] - deps: update googletest to530d5c8
(Node.js GitHub Bot) #51191454b4f8d7e
] - deps: update acorn-walk to 8.3.1 (Node.js GitHub Bot) #50457cc693eb908
] - deps: update acorn-walk to 8.3.0 (Node.js GitHub Bot) #5045709519c6655
] - deps: update zlib to 1.3.0.1-motley-dd5fc13 (Node.js GitHub Bot) #51105a2f39e9168
] - deps: V8: cherry-pick0fd478b
(Joyee Cheung) #505721aaf156ea7
] - deps: update zlib to 1.3-22124f5 (Node.js GitHub Bot) #509103f4e254047
] - deps: update googletest to76bb2af
(Node.js GitHub Bot) #50555702684c008
] - deps: update googletest tob10fad3
(Node.js GitHub Bot) #505554ee7f29657
] - deps: update timezone to 2024a (Michaël Zasso) #51723452d74c8b6
] - deps: update icu to 74.2 (Michaël Zasso) #51723e6fc5a5ee1
] - deps: update timezone to 2023d (Node.js GitHub Bot) #514614ee0f8306b
] - deps: update icu to 74.1 (Node.js GitHub Bot) #50515cb49f31480
] - deps: cherry-pick libuv/libuv@d09441c
(Richard Lau) #51976ea50540c5e
] - Revert "deps: V8: cherry-pick13192d6
" (kxxt) #514956fd1617ab4
] - doc: add policy for distribution (Geoffrey Booth) #51918fc0b389006
] - doc: fix actual result of example is different in events (Deokjin Kim) #5192593d6d66339
] - doc: clarify Corepack threat model (Antoine du Hamel) #51917276d1d1d65
] - doc: add stability index to crypto.hash() (Joyee Cheung) #51978473af948b5
] - doc: remove redundant backquote which breaks sentence (JounQin) #51904b52b249b05
] - doc: update node-api/node-addon-api team link to sharing project news (Ulises Gascón) #51877a74c373ea4
] - doc: add website team to sharing project news (Ulises Gascón) #49002b7ce547d41
] - doc: update guide link for Event Loop (Shrujal Shah) #518743dfee7ee33
] - doc: changeExperimentalWarnings
toExperimentalWarning
(Ameet Kaustav) #51741740d0679e7
] - doc: add Paolo to TSC members (Michael Dawson) #518253240a2f349
] - doc: reserve 123 for Electron 30 (Keeley Hammond) #51803597e3db0f9
] - doc: add mention to GPG_TTY (Rafael Gonzaga) #51806ccdb01187b
] - doc: add zcbenz to collaborators (Cheng Zhao) #518123a3de00437
] - doc: add entry to stewards (Rafael Gonzaga) #5176006b882d2fa
] - doc: update technical priorities for 2023 (Jean Burellier) #475239a68b47fe1
] - doc: mark isWebAssemblyCompiledModule eol (Marco Ippolito) #514428016628710
] - doc: fixglobals.md
introduction (Antoine du Hamel) #517429ddbe4523f
] - doc: updates for better json generating (Dmitry Semigradsky) #51592140cf26d47
] - doc: document the GN build (Cheng Zhao) #51676ecfb3f18b3
] - doc: fix uncaught exception example (Gabriel Schulhof) #51638b3157a08bf
] - doc: clarify execution ofafter
hook on test suite completion (Ognjen Jevremović) #515231dae1873d9
] - doc: fixdns.lookup
anddnsPromises.lookup
description (Duncan Chiu) #5151750df052087
] - doc: note that path.normalize deviates from POSIX (Tobias Nießen) #51513481af53aea
] - doc: add lemire to collaborators (Daniel Lemire) #51572dec0d5d19a
] - doc: fix historical experimental fetch flag (Kenrick) #5150696c480b1a1
] - doc: fix type of connectionAttempt parameter (Rafael Gonzaga) #5149076968ab112
] - doc: remove reference to resolved child_process v8 issue (Ian Kerins) #51467bdd3a2a9fd
] - doc: update typos (Aranđel Šarenac) #514753532f5587c
] - doc: add notes on inspector breakpoints (Chengzhong Wu) #514170dffb9f049
] - doc: add links inoffboarding.md
(Antoine du Hamel) #5144058d2442f0f
] - doc: fix spelling mistake (u9g) #51454a09f440dbd
] - doc: add check for security reverts (Michael Dawson) #51376401837bfc4
] - doc: fix some policy scope typos (Tim Kuijsten) #51234f301f829ba
] - doc: improve subtests documentation (Marco Ippolito) #513791e40f552fd
] - doc: add missing word inchild_process.md
(Joseph Joy) #5037042b4f0f5ab
] - doc: fixup alignment of warning subsection (James M Snell) #51374b5bc597871
] - doc: the GN files should use Node's license (Cheng Zhao) #5069401a41041d6
] - doc: improve localWindowSize event descriptions (Davy Landman) #5107163aa27df10
] - doc: mark--jitless
as experimental (Antoine du Hamel) #51247c8233912e9
] - doc: run license-builder (github-actions[bot]) #511999e360df521
] - doc: fix limitations and known issues in pm (Rafael Gonzaga) #5118452d8222d32
] - doc: mention node:wasi in the Threat Model (Rafael Gonzaga) #51211cb3270e4c8
] - doc: remove ambiguous 'considered' (Rich Trott) #51207979e183e0c
] - doc: set exit code in custom test runner example (Matteo Collina) #51056eaadebb1f4
] - doc: remove version frommaintaining-dependencies.md
(Antoine du Hamel) #51195256db6e056
] - doc: mention native addons are restricted in pm (Rafael Gonzaga) #511852a61602ab2
] - doc: correct note on behavior of stats.isDirectory (Nick Reilingh) #50946184b8bea5b
] - doc: fixTestsStream
parent class (Jungku Lee) #51181c61597ffe4
] - (SEMVER-MINOR) doc: add documentation for --build-snapshot-config (Anna Henningsen) #50453b88170d602
] - doc: run license-builder (github-actions[bot]) #51111f2b4626ab8
] - doc: deprecate hash constructor (Marco Ippolito) #510776c241550cd
] - doc: add note regarding--experimental-detect-module
(Shubherthi Mitra) #510898ee30ea900
] - doc: correct tracingChannel.traceCallback() (Gerhard Stöbich) #510681cd27b6eff
] - doc: use length argument in pbkdf2Key (Tobias Nießen) #5106609ad974537
] - doc: add deprecation notice todirent.path
(Antoine du Hamel) #510591113e58f87
] - doc: deprecatedirent.path
(Antoine du Hamel) #5102037979d750e
] - doc: add additional details about--input-type
(Shubham Pandey) #507963ff00e1e79
] - doc: add procedure when CVEs don't get published (Rafael Gonzaga) #509450930be6bd5
] - doc: fix some errors in esm resolution algorithms (Christopher Jeffrey (JJ)) #50898ddc7964b03
] - doc: reserve 121 for Electron 29 (Shelley Vohr) #50957625fd69b76
] - doc: run license-builder (github-actions[bot]) #50926f18269607a
] - doc: document non-node_modules-only runtime deprecation (Joyee Cheung) #507485f8e7a0fdb
] - doc: add doc for Unix abstract socket (theanarkh) #50904e0598787e0
] - doc: remove flicker on page load on dark theme (Dima Demakov) #509422a7047d933
] - doc,crypto: further clarify RSA_PKCS1_PADDING support (Tobias Nießen) #5179931c4ba4dfd
] - doc,crypto: add changelog and note about disabled RSA_PKCS1_PADDING (Filip Skokan) #5178290da41548f
] - doc,module: clarify hook chain execution sequence (Jacob Smith) #51884bb7d7f3d1c
] - errors: fix stacktrace of SystemError (uzlopak) #49956db7459b57b
] - errors: improve hideStackFrames (Aras Abbasi) #49990a6b3569121
] - esm: improve error when callingimport.meta.resolve
fromdata:
URL (Antoine du Hamel) #4951638f4000905
] - esm: fix hint on invalid module specifier (Antoine du Hamel) #51223e39e37bbd5
] - esm: fix hook name in error message (Bruce MacNaughton) #50466d9b5cd533c
] - events: no stopPropagation call in cancelBubble (mert.altin) #50405287a02c4b2
] - fs: load rimraf lazily in fs/promises (Joyee Cheung) #51617bbd1351ef0
] - fs: remove race condition for recursive watch on Linux (Matteo Collina) #514061b7ccec5a7
] - fs: update jsdoc forfilehandle.createWriteStream
andappendFile
(Jungku Lee) #5149425056f5024
] - fs: fix fs.promises.realpath for long paths on Windows (翠 / green) #51032a8fd01a5a2
] - fs: make offset, position & length args in fh.read() optional (Pulkit Gupta) #51087721557c6d8
] - fs: add missing jsdoc parameters toreadSync
(Yagiz Nizipli) #512253ce9aacfcd
] - fs: removeinternalModuleReadJSON
binding (Yagiz Nizipli) #5122465df2c6787
] - fs: improve mkdtemp performance for buffer prefix (Yagiz Nizipli) #510786705b48012
] - fs: validate fd synchronously on c++ (Yagiz Nizipli) #51027afd5d67f89
] - fs: throw fchownSync error from c++ (Yagiz Nizipli) #51075bac982bce5
] - fs: update params in jsdoc for createReadStream and createWriteStream (Jungku Lee) #510636764f0c9a8
] - fs: improve error performance of readvSync (IlyasShabi) #501000225fce776
] - (SEMVER-MINOR) fs: introducedirent.parentPath
(Antoine du Hamel) #509764adea6c405
] - fs,test: add URL to string to fs.watch (Rafael Gonzaga) #513466bf148e12b
] - http: fixclose
return value mismatch between doc and implementation (kylo5aby) #5179766318602d0
] - http: split set-cookie when using setHeaders (Marco Ippolito) #51649f7b53d05bd
] - http: remove misleading warning (Luigi Pinca) #512049062d30600
] - http: do not override user-provided options object (KuthorX) #336334e38dee4ee
] - http: handle multi-value content-disposition header (Arsalan Ahmad) #50977b560bfbb84
] - http2: close idle connections when allowHTTP1 is true (xsbchen) #515695ba4d96525
] - (SEMVER-MINOR) http2: add h2 compat support for appendHeader (Tim Perry) #514120861498e8b
] - (SEMVER-MINOR) http2: add server handshake utility (snek) #511726b08d006ee
] - (SEMVER-MINOR) http2: receive customsettings (Marten Richter) #5132323414a6120
] - http2: addtl http/2 settings (Marten Richter) #490253fe59ba224
] - inspector: add NodeRuntime.waitingForDebugger event (mary marchini) #5156044f05e0d30
] - lib: make sure close net server (theanarkh) #519293be5ff9c45
] - lib: return directly if udp socket close before lookup (theanarkh) #51914dcbf88f4c7
] - lib: account for cwd access from snapshot serialization cb (Anna Henningsen) #51901da8fa484f8
] - lib: fix http client socket path (theanarkh) #5190055011d2c71
] - lib: only build the ESM facade for builtins when they are needed (Joyee Cheung) #516697894989bf0
] - (SEMVER-MINOR) lib: move encodingsMap to internal/util (Joyee Cheung) #510449082cc557d
] - lib: do not access process.noDeprecation at build time (Joyee Cheung) #514476679e6b616
] - lib: add assertion for user ESM execution (Joyee Cheung) #51748d6e8d03afc
] - lib: create global console properties at snapshot build time (Joyee Cheung) #51700bd2a3c10ae
] - lib: define FormData and fetch etc. in the built-in snapshot (Joyee Cheung) #51598da79876ef0
] - lib: allow checking the test result from afterEach (Tim Stableford) #51485bff7e3cf7a
] - lib: remove unnecessary refreshHrtimeBuffer() (Joyee Cheung) #51446562947e012
] - lib: fix use of--frozen-intrinsics
with--jitless
(Antoine du Hamel) #512487b83ef749e
] - lib: move function declaration outside of loop (Sanjaiyan Parthipan) #512420a85b0fd9d
] - lib: reduce overhead ofSafePromiseAllSettledReturnVoid
calls (Antoine du Hamel) #51243f4d7f0498e
] - lib: expose default prepareStackTrace (Chengzhong Wu) #508275c7a9c8d4a
] - lib: don't parse windows drive letters as schemes (华) #505809da6384f5a
] - lib: refactor to use validateFunction in diagnostics_channel (Deokjin Kim) #50955be3205ae24
] - lib: streamline process.binding() handling (Joyee Cheung) #50773f4987eb91e
] - lib,permission: handle buffer on fs.symlink (Rafael Gonzaga) #51212861e040b40
] - lib,src: extract sourceMappingURL from module (unbyte) #516908a082754e0
] - lib,src: replace toUSVString withtoWellFormed()
(Yagiz Nizipli) #473423badc1139c
] - (SEMVER-MINOR) lib,src,permission: port path.resolve to C++ (Rafael Gonzaga) #507584b3cc3ce18
] - loader: speed up line length calc used by moduleProvider (Mudit) #50969960d67c51f
] - meta: bump github/codeql-action from 3.23.2 to 3.24.6 (dependabot[bot]) #519421783b93af2
] - meta: bump actions/upload-artifact from 4.3.0 to 4.3.1 (dependabot[bot]) #519411db603db2f
] - meta: bump codecov/codecov-action from 4.0.1 to 4.1.0 (dependabot[bot]) #519402ddec64d5a
] - meta: bump actions/cache from 4.0.0 to 4.0.1 (dependabot[bot]) #5193992490421be
] - meta: bump actions/download-artifact from 4.1.1 to 4.1.3 (dependabot[bot]) #51938f3fa2b72b8
] - meta: bump actions/setup-node from 4.0.1 to 4.0.2 (dependabot[bot]) #51937a62b042e83
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #51726491f9f9902
] - meta: bump codecov/codecov-action from 3.1.4 to 4.0.1 (dependabot[bot]) #516482765077a47
] - meta: bump actions/download-artifact from 4.1.0 to 4.1.1 (dependabot[bot]) #51644152a07b854
] - meta: bump actions/upload-artifact from 4.0.0 to 4.3.0 (dependabot[bot]) #5164353826920fb
] - meta: bump step-security/harden-runner from 2.6.1 to 2.7.0 (dependabot[bot]) #516413d1dc9b030
] - meta: bump actions/cache from 3.3.2 to 4.0.0 (dependabot[bot]) #51640287bdf6bda
] - meta: bump github/codeql-action from 3.22.12 to 3.23.2 (dependabot[bot]) #5163990068fb0f1
] - meta: add .mailmap entry for lemire (Daniel Lemire) #51600f91786bd70
] - meta: mark security-wg codeowner for deps folder (Marco Ippolito) #51529e51221be8d
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #514684a8a012c6d
] - meta: move RaisinTen to emeritus and remove from strategic initiatives (Darshan Sen) #51411e9276bab3f
] - meta: add .temp and .lock tags to ignore (Rafael Gonzaga) #51343ae6fecbc8d
] - meta: bump actions/setup-python from 4.7.1 to 5.0.0 (dependabot[bot]) #51335f4be49a618
] - meta: bump actions/setup-node from 4.0.0 to 4.0.1 (dependabot[bot]) #51334e24aa7ced1
] - meta: bump github/codeql-action from 2.22.8 to 3.22.12 (dependabot[bot]) #51333287c2bcf56
] - meta: bump actions/stale from 8.0.0 to 9.0.0 (dependabot[bot]) #513321cad0dfaff
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #51329eef64b782e
] - meta: notify tsc on changes in SECURITY.md (Rafael Gonzaga) #5125995a880f728
] - meta: update artifact actions to v4 (Michaël Zasso) #5121959805f6879
] - meta: bump step-security/harden-runner from 2.6.0 to 2.6.1 (dependabot[bot]) #50999d74e0b97c3
] - meta: bump github/codeql-action from 2.22.5 to 2.22.8 (dependabot[bot]) #5099891cd9183d1
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #50931c621491aba
] - module: fix crash when built-in module export adefault
key (Antoine du Hamel) #5148143a8d3e984
] - module: fix--preserve-symlinks-main
(per4uk) #51312d8da197f86
] - module: move the CJS exports cache to internal/modules/cjs/loader (Joyee Cheung) #511575fc10ca4d6
] - module: load source maps incommonjs
translator (Hiroki Osame) #5103343e9f0bc65
] - module: documentparentURL
in register options (Hiroki Osame) #51039870ef5a73f
] - net: fix connect crash when call destroy in lookup handler (theanarkh) #51826caf71e05a6
] - net: fix example IPv4 in dns docs (Aras Abbasi) #5137758a636be0e
] - (SEMVER-MINOR) net: add connection attempt events (Paolo Insogna) #5104506a29f830a
] - node-api: make napi_get_buffer_info check if passed buffer is valid (Janrupf) #515710fb98438e4
] - node-api: move NAPI_EXPERIMENTAL definition to gyp file (Gabriel Schulhof) #51254242139fb98
] - node-api: optimize napi_set_property for perf (Mert Can Altın) #50282dc3d70c040
] - node-api: type tag external values without v8::Private (Chengzhong Wu) #511490ac070ccb7
] - node-api: segregate nogc APIs from rest via type system (Gabriel Schulhof) #50060de65cada70
] - node-api: introduce experimental feature flags (Gabriel Schulhof) #50991e192ba18cd
] - perf_hooks: performance milestone time origin timestamp improvement (IlyasShabi) #51713f94336f95a
] - repl: fixNO_COLORS
env var is ignored (Moshe Atlow) #51568e08649caa0
] - repl: fix prepareStackTrace frames array order (Chengzhong Wu) #5082707614072f1
] - sea: update stability index (Joyee Cheung) #51774eea0d74454
] - (SEMVER-MINOR) sea: support sea.getRawAsset() (Joyee Cheung) #50960db0efa3f40
] - (SEMVER-MINOR) sea: support embedding assets (Joyee Cheung) #509609b164c6eec
] - src: fix --disable-single-executable-application (Joyee Cheung) #51808306c1d35e5
] - src: simplify direct queries of env vars in C++ land (Joyee Cheung) #51829696063a47c
] - src: stop the profiler and the inspector before snapshot serialization (Joyee Cheung) #51815be40c8286c
] - src: simplify embedder entry point execution (Joyee Cheung) #5155790391ff256
] - src: compile code eagerly in snapshot builder (Joyee Cheung) #516723875fa1dc5
] - src: check empty before accessing string (Cheng Zhao) #51665a58c98ea85
] - (SEMVER-MINOR) src: print string content better in BlobDeserializer (Joyee Cheung) #5096062707a9d27
] - src: fix vm bug for configurable globalThis (F. Hinkelmann) #51602c3c0a3ee5c
] - (SEMVER-MINOR) src: support multi-line values for .env file (IlyasShabi) #51289dc8fe9ebf4
] - (SEMVER-MINOR) src: addprocess.loadEnvFile
andutil.parseEnv
(Yagiz Nizipli) #51476a5afad2a4d
] - src: terminate correctly double-quote in env variable (Marco Ippolito) #515102a921966c6
] - (SEMVER-MINOR) src: do not coerce dotenv paths (Tobias Nießen) #5142550ec55c268
] - src: refactorGetCreationContext
calls (Jungku Lee) #513672e65389922
] - src: do not read string out of bounds (Cheng Zhao) #51358a653531089
] - src: avoid shadowed string in fs_permission (Shelley Vohr) #51123c190a057ff
] - src: avoid draining platform tasks at FreeEnvironment (Chengzhong Wu) #5129000227674f5
] - src: add fast api for Histogram (James M Snell) #512964733c8e4df
] - src: refactorGetCreationContext
calls (Yagiz Nizipli) #51287d76e16bb47
] - src: enter isolate before destructing IsolateData (Ben Noordhuis) #511384ffdd37d2c
] - src: eliminate duplicate code in histogram.cc (James M Snell) #512632ce8b974a0
] - src: fix unix abstract socket path for trace event (theanarkh) #508589b25268cb8
] - src: use BignumPointer and use BN_clear_free (James M Snell) #50454a80f660343
] - src: implement FastByteLengthUtf8 with simdutf::utf8_length_from_latin1 (Daniel Lemire) #508400dee86f295
] - (SEMVER-MINOR) src: support configurable snapshot (Joyee Cheung) #5045390b5ed1d1d
] - src: implement countObjectsWithPrototype (Joyee Cheung) #505729365e129ed
] - src: register udp_wrap external references (Joyee Cheung) #50943b05d496b6c
] - src: register spawn_sync external references (Joyee Cheung) #50943642fb44982
] - src: register process_wrap external references (Joyee Cheung) #50943c7c9e81a1a
] - src: fix double free reported by coverity (Michael Dawson) #51046358793e28e
] - src: remove unused headers innode_file.cc
(Jungku Lee) #50927c705b73a74
] - src: implement --trace-promises (Joyee Cheung) #5089997aa67f006
] - src: fix dynamically linked zlib version (Richard Lau) #51007d6f46a44f2
] - src: make ModifyCodeGenerationFromStrings more robust (Joyee Cheung) #50763362135a1f9
] - src: disable uncaught exception abortion for ESM syntax detection (Yagiz Nizipli) #50987d82b0d4320
] - src: fix backtrace with tail noreturn abort (Chengzhong Wu) #508496df3e31bff
] - src: print MKSNAPSHOT debug logs to stderr (Joyee Cheung) #50759fd5efac176
] - (SEMVER-MINOR) src,permission: add --allow-addon flag (Rafael Gonzaga) #51183b616f6fa06
] - src,stream: improve WriteString (ywave620) #5115516d8cd5b22
] - stream: do not defer construction by one microtick (Matteo Collina) #520057931c3bbc8
] - stream: fix eventNames() to not return not defined events (IlyasShabi) #51331d0a6f3515d
] - stream: fix cloned webstreams not being unref correctly (tsctx) #515268750070a47
] - stream: fix fd is null when calling clearBuffer (kylo5aby) #50994ade6614067
] - (SEMVER-MINOR) stream: add support fordeflate-raw
format to webstreams compression (Damian Krzeminski) #50097905c48fc6e
] - test: add regression test for test_runner after hook (Colin Ihrig) #5199860f008b65e
] - test: reduce flakiness oftest-runner-output
(Antoine du Hamel) #519520ad88f6a5c
] - test: fix flaky http-chunk-extensions-limit test (Ethan Arrowood) #519433f85c7ac97
] - test: remove flaky designation (Luigi Pinca) #51736f37648ee5c
] - test: skip SEA tests when SEA generation fails (Joyee Cheung) #51887136b6a998b
] - test: fix unreliable assumption in js-native-api/test_cannot_run_js (Joyee Cheung) #51898d90594aefa
] - test: deflake test-http2-large-write-multiple-requests (Joyee Cheung) #51863a0b36e33d1
] - test: fix test-debugger-profile for coverage generation (Joyee Cheung) #51816dd0f164ca3
] - test: fix test-bootstrap-modules for coverage generation (Joyee Cheung) #51816e4c7d62496
] - test: ensure delay in recursive fs watch tests (Joyee Cheung) #51842963d7d7dea
] - test: fix test-child-process-fork-net (Joyee Cheung) #51841dd708d337e
] - test: split wasi tests (Joyee Cheung) #51836853b48d905
] - test: remove test-fs-stat-bigint flaky designation (Luigi Pinca) #51735fdc7d751de
] - test: skip test-http-correct-hostname on loong64 (Shi Pujin) #51663c33f860d2b
] - test: remove test-cli-node-options flaky designation (Luigi Pinca) #51716f528e965f6
] - test: remove test-domain-error-types flaky designation (Luigi Pinca) #517177e3ee828f1
] - test: fixinternet/test-inspector-help-page
(Richard Lau) #51693170278c25d
] - test: remove duplicate entry for flaky test (Luigi Pinca) #51654d0d5bd0e54
] - test: remove test-crypto-keygen flaky designation (Luigi Pinca) #51567bca6dcca0b
] - test: remove test-fs-rmdir-recursive flaky designation (Luigi Pinca) #51566af3f229d6b
] - test: remove common.expectsError calls for asserts (Paulo Chaves) #51504f6fcd200e6
] - test: mark test-http2-large-file as flaky (Michaël Zasso) #515491d8e65a230
] - test: use checkIfCollectableByCounting in SourceTextModule leak test (Joyee Cheung) #51512713afed6b0
] - test: remove test-file-write-stream4 flaky designation (Luigi Pinca) #51472292d0174df
] - test: add URL tests to fs-write (Rafael Gonzaga) #51352954e2f2f58
] - test: remove unneeded common.expectsError for asserts (Andrés Morelos) #51353f2dfe0fa80
] - test: add regression test for 51586 (Matteo Collina) #514916ee5f50789
] - test: fix flaky conditions for ppc64 SEA tests (Richard Lau) #5142206a6eef9a4
] - test: replace forEach() with for...of (Alexander Jones) #50608a98102a6de
] - test: replace forEach with for...of (Ospite Privilegiato) #50787e9080a94d3
] - test: replace foreach with for of (lucacapocci94-dev) #5079042b162b06d
] - test: replace forEach() with for...of (Jia) #50610cab7737f7e
] - test: fix inconsistency write size intest-fs-readfile-tostring-fail
(Jungku Lee) #5114115731b4b2f
] - test: replace forEach test-http-server-multiheaders2 (Marco Mac) #507949cedaa62fa
] - test: replace forEach with for-of in test-webcrypto-export-import-ec (Chiara Ricciardi) #512497f301e04be
] - test: move to for of loop in test-http-hostname-typechecking.js (Luca Del Puppo) #507826e62e649df
] - test: skip test-watch-mode-inspect on arm (Michael Dawson) #51210c3c2b2b041
] - test: replace forEach with for of in file test-trace-events-net.js (Ianna83) #5078955c423ba4f
] - test: replace forEach() with for...of in test/parallel/test-util-log.js (Edoardo Dusi) #507838ac05cf3c4
] - test: replace forEach with for of in test-trace-events-api.js (Andrea Pavone) #50784d10d39e8ba
] - test: replace forEach with for-of in test-v8-serders.js (Mattia Iannone) #50791576adc5e5b
] - test: add URL tests to fs-read in pm (Rafael Gonzaga) #51213996cef51b7
] - test: use tmpdir.refresh() in test-esm-loader-resolve-type.mjs (Luigi Pinca) #512068f2d982342
] - test: use tmpdir.refresh() in test-esm-json.mjs (Luigi Pinca) #51205efd6630143
] - test: fix flakiness in worker*.test-free-called (Jithil P Ponnan) #5101354a29ee506
] - test: deflake test-diagnostics-channel-memory-leak (Joyee Cheung) #505726319ea6183
] - test: test syncrhnous methods of child_process in snapshot (Joyee Cheung) #5094350df4aee2b
] - test: handle relative https redirect (Richard Lau) #511219f88f40cae
] - test: fix test runner colored output test (Moshe Atlow) #51064a1feae24cb
] - test: resolve path of embedtest binary correctly (Cheng Zhao) #50276a4f1805c92
] - test: escape cwd in regexp (Jérémy Lal) #509801c28db8116
] - test: replace forEach to for.. test-webcrypto-export-import-cfrg.js (Angelo Parziale) #50785a4f505213e
] - test: log more information in SEA tests (Joyee Cheung) #50759c91b817a5c
] - test: consolidate utf8 text fixtures in tests (Joyee Cheung) #5073226a06b093b
] - test: give more time to GC in test-shadow-realm-gc-* (Joyee Cheung) #50735e8f5735149
] - test: test surrogate pair filenames on windows (Mert Can Altın) #518001ab9ff46a5
] - test: mark test-wasi as flaky on Windows on ARM (Joyee Cheung) #518341c47da1453
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #5153391c8624608
] - test_runner: serialize 'expected' and 'actual' in isolation (Malthe Borch) #51851cea90dcfe3
] - test_runner: add ref methods to mocked timers (Marco Ippolito) #518099ff0df1793
] - test_runner: check if timeout was cleared by own callback (Ben Richeson) #5167334ecd1e36b
] - test_runner: fixed test object is incorrectly passed to setup() (Pulkit Gupta) #50982da17a2538e
] - test_runner: fixed to run after hook if before throws an error (Pulkit Gupta) #51062b8f0ea6f60
] - test_runner: fix infinite loop when files are undefined in test runner (Pulkit Gupta) #51047fe922f05e4
] - (SEMVER-MINOR) timers: export timers.promises (Marco Ippolito) #51246f4ac7baf85
] - tools: fix installing node with shared mode (Cheng Zhao) #51910f07605fa7b
] - tools: update eslint to 8.57.0 (Node.js GitHub Bot) #51867d16b235fca
] - tools: update lint-md-dependencies to rollup@4.12.0 (Node.js GitHub Bot) #51795d27e811a01
] - tools: fix missing fallthrough in js2c (Cheng Zhao) #518457eb69308da
] - tools: disable automated libuv updates (Rafael Gonzaga) #517751f15af425c
] - tools: update lint-md-dependencies to rollup@4.10.0 (Node.js GitHub Bot) #51720c7ae13e6bc
] - tools: update github_reporter to 1.6.0 (Node.js GitHub Bot) #516580fb079bd85
] - tools: runbuild-windows
workflow only on source changes (Antoine du Hamel) #51596c2538e31fa
] - tools: update lint-md-dependencies to rollup@4.9.6 (Node.js GitHub Bot) #51583e02dbf074b
] - tools: fix loong64 build (Shi Pujin) #51401ce49cb6656
] - tools: set normalizeTD text default to empty string (Marco Ippolito) #51543e8dc5ac552
] - tools: limit parallelism with ninja in V8 builds (Richard Lau) #5147397470b179b
] - tools: do not pass invalid flag to C compiler (Michaël Zasso) #5140959af1d7923
] - tools: update lint-md-dependencies to rollup@4.9.5 (Node.js GitHub Bot) #514606385c7ad57
] - tools: update inspector_protocol to83b1154
(Kohei Ueno) #513095235aaf299
] - tools: update github_reporter to 1.5.4 (Node.js GitHub Bot) #513954ce2ecb1ce
] - tools: fix version parsing in brotli update script (Richard Lau) #5137386102078f5
] - tools: update lint-md-dependencies to rollup@4.9.4 (Node.js GitHub Bot) #51396e658208159
] - tools: remove openssl v1 update script (Marco Ippolito) #513784372f6a5b8
] - tools: remove deprecated python api (Alex Yang) #497312b24059e53
] - tools: update lint-md-dependencies to rollup@4.9.2 (Node.js GitHub Bot) #513201da2e8d15e
] - tools: fix dep_updaters dir updates (Michaël Zasso) #51294b264dda7f2
] - tools: update inspector_protocol toc488ba2
(cola119) #51293fdb07d5418
] - tools: update inspector_protocol to9b4a4aa
(cola119) #512936863fb84a6
] - tools: update inspector_protocol to2f51e05
(cola119) #512936b85f5c6e0
] - tools: update inspector_protocol tod7b099b
(cola119) #51293cf029ca24f
] - tools: update inspector_protocol to912eb68
(cola119) #51293af119447f5
] - tools: update inspector_protocol to547c5b8
(cola119) #512935a72506823
] - tools: update inspector_protocol toca525fc
(cola119) #51293c7aa3976f9
] - tools: update lint-md-dependencies to rollup@4.9.1 (Node.js GitHub Bot) #512768e02d08a82
] - tools: check timezone current version (Marco Ippolito) #51178fa1e88775d
] - tools: update lint-md-dependencies to rollup@4.9.0 (Node.js GitHub Bot) #5119304c0bf9cc5
] - tools: update eslint to 8.56.0 (Node.js GitHub Bot) #51194e896cbd0d5
] - tools: update lint-md-dependencies to rollup@4.7.0 (Node.js GitHub Bot) #51106c7350c2083
] - tools: update doc to highlight.js@11.9.0 unified@11.0.4 (Node.js GitHub Bot) #5045900dfabf8fb
] - tools: update eslint to 8.55.0 (Node.js GitHub Bot) #51025f91d56157b
] - tools: update lint-md-dependencies to rollup@4.6.1 (Node.js GitHub Bot) #51022450163cf9b
] - tools: add triggers to update release links workflow (Moshe Atlow) #50974b1442024ea
] - tools: update lint-md-dependencies to rollup@4.5.2 (Node.js GitHub Bot) #509136fc6a62daf
] - tools: fix current version check (Marco Ippolito) #50951bc6bdda8b1
] - tools: fix update-icu.sh (Michaël Zasso) #51723a7a4cce75d
] - typings: lib/internal/vm.js (Geoffrey Booth) #501126375540507
] - typings: fix JSDoc ininternal/modules/esm/hooks
(Alex Yang) #508874bc8e98d7c
] - url: don't update URL immediately on update to URLSearchParams (Matt Cowley) #515202acbcbd8ad
] - url: throw error if argument length of revokeObjectURL is 0 (DylanTet) #50433c50134615e
] - (SEMVER-MINOR) util: add styleText API to text formatting (Rafael Gonzaga) #51850f79ac336ad
] - util: pass invalidSubtypeIndex instead of trimmedSubtype to error (Gaurish Sethia) #51264c3b89c310f
] - util: improve performance of function areSimilarFloatArrays (Liu Jia) #510405202995b48
] - vm: implement isContext() directly in JS land with private symbol (Joyee Cheung) #516850211a3d65f
] - (SEMVER-MINOR) vm: support using the default loader to handle dynamic import() (Joyee Cheung) #5124407fc077c5d
] - vm: use v8::DeserializeInternalFieldsCallback explicitly (Joyee Cheung) #509845183e3a4b1
] - watch: clarify that the fileName parameter can be null (Luigi Pinca) #5130563bf8a66df
] - watch: fix nullfileName
on windows systems (vnc5) #4989107da4e9b58
] - watch: fix infinite loop when passing --watch=true flag (Pulkit Gupta) #51160v20.11.1
: 2024-02-14, Version 20.11.1 'Iron' (LTS), @RafaelGSS prepared by @marco-ippolitoCompare Source
Notable changes
This is a security release.
Notable changes
Commits
7079c062bb
] - crypto: disable PKCS#1 padding for privateDecrypt (Michael Dawson) nodejs-private/node-private#525186a6e1ffb
] - deps: fix GHSA-f74f-cvh7-c6q6/CVE-2024-24806 (Santiago Gimeno) #51737686da19abb
] - deps: disable io_uring support in libuv by default (Tobias Nießen) nodejs-private/node-private#529f7b44bfbce
] - deps: update archs files for openssl-3.0.13+quic1 (Node.js GitHub Bot) #516147a30fecea2
] - deps: upgrade openssl sources to quictls/openssl-3.0.13+quic1 (Node.js GitHub Bot) #51614480fc169a8
] - fs: protect against modified Buffer internals in possiblyTransformPath (Tobias Nießen) nodejs-private/node-private#49777ac7c3153
] - http: add maximum chunk extension size (Paolo Insogna) nodejs-private/node-private#519ed7d149675
] - lib: use cache fs internals against path traversal (RafaelGSS) nodejs-private/node-private#51689bd5fc38f
] - lib: update undici to v5.28.3 (Matteo Collina) nodejs-private/node-private#539d01dd4291d
] - permission: fix wildcard when children > 1 (Rafael Gonzaga) #5120940ff37dfcc
] - src: fix HasOnly(capability) in node::credentials (Tobias Nießen) nodejs-private/node-private#5053f6addd590
] - src,deps: disable setuid() etc if io_uring enabled (Tobias Nießen) nodejs-private/node-private#529d6da413aa4
] - test,doc: clarify wildcard usage (RafaelGSS) nodejs-private/node-private#517c213910aea
] - zlib: pause stream if outgoing buffer is full (Matteo Collina) nodejs-private/node-private#541v20.11.0
: 2024-01-09, Version 20.11.0 'Iron' (LTS), @UlisesGasconCompare Source
Notable Changes
833190fe7c
] - crypto: update root certificates to NSS 3.95 (Node.js GitHub Bot) #50805a541b78bdb
] - doc: add MrJithil to collaborators (Jithil P Ponnan) #50666d4be8fad83
] - doc: add Ethan-Arrowood as a collaborator (Ethan Arrowood) #50393c1a196c897
] - (SEMVER-MINOR) esm: add import.meta.dirname and import.meta.filename (James Sumners) #48740aa3209b880
] - fs: add c++ fast path for writeFileSync utf8 (CanadaHonk) #498848e886a2fff
] - (SEMVER-MINOR) module: remove useCustomLoadersIfPresent flag (Chengzhong Wu) #4865521ab3c0f0b
] - (SEMVER-MINOR) module: bootstrap module loaders in shadow realm (Chengzhong Wu) #4865529d91b13e3
] - (SEMVER-MINOR) src: add--disable-warning
option (Ethan Arrowood) #5066111b3e470db
] - (SEMVER-MINOR) src: create per isolate proxy env template (Chengzhong Wu) #48655621c4d66c2
] - (SEMVER-MINOR) src: make process binding data weak (Chengzhong Wu) #48655139d6c8d3b
] - stream: use Array for Readable buffer (Robert Nagy) #503416206957e8d
] - stream: optimize creation (Robert Nagy) #50337e64378643d
] - (SEMVER-MINOR) test_runner: adds built in lcov reporter (Phil Nash) #500184a830c2d9d
] - (SEMVER-MINOR) test_runner: add Date to the supported mock APIs (Lucas Santos) #48638842dc01def
] - (SEMVER-MINOR) test_runner, cli: add --test-timeout flag (Shubham Pandey) #50443Commits
e40a559ab1
] - benchmark: update iterations in benchmark/util/splice-one.js (Liu Jia) #5069800f7a5d26f
] - benchmark: increase the iteration number to an appropriate value (Lei Shi) #50766be6ad3f375
] - benchmark: rewrite import.meta benchmark (Joyee Cheung) #506839857364129
] - benchmark: add misc/startup-cli-version benchmark (Joyee Cheung) #5068422d729e7f5
] - benchmark: remove punycode from require-builtins fixture (Joyee Cheung) #506894cf10a149a
] - benchmark: change iterations in benchmark/es/string-concatenations.js (Liu Jia) #5058515c2ed93a8
] - benchmark: add benchmarks for encodings (Aras Abbasi) #503488a896428ca
] - benchmark: add more cases to Readable.from (Raz Luvaton) #50351dbe6c5f354
] - benchmark: skip test-benchmark-os on IBMi (Michael Dawson) #50286179b4b6e62
] - benchmark: move permission-fs-read to permission-processhas-fs-read (Aki Hasegawa-Johnson) #4977032d65c001d
] - buffer: improve Buffer.equals performance (kylo5aby) #5062180ea83757e
] - build: add GN configurations for simdjson (Cheng Zhao) #50831904e645bcd
] - build: add configuration flag to enable Maglev (Keyhan Vakil) #50692019efa8a5a
] - build: fix GN configuration for deps/base64 (Cheng Zhao) #50696a645d5ac54
] - build: disable flag v8_scriptormodule_legacy_lifetime (Chengzhong Wu) #506168705058b09
] - build: add GN build files (Cheng Zhao) #476370a5e9c12cf
] - build: fix build with Python 3.12 (Luigi Pinca) #50582ff5713dd43
] - build: support Python 3.12 (Shi Pujin) #50209cfd50f229a
] - build: fix building when there is only python3 (Cheng Zhao) #48462833190fe7c
] - crypto: update root certificates to NSS 3.95 (Node.js GitHub Bot) #5080554c46dae9e
] - deps: update zlib to 1.2.13.1-motley-5daffc7 (Node.js GitHub Bot) #508030be84e5a28
] - deps: update undici to 5.27.2 (Node.js GitHub Bot) #50813ec67890824
] - deps: V8: cherry-pick0f9ebbc
(Chengzhong Wu) #50867bc2ebb972b
] - deps: V8: cherry-pick13192d6
(Levi Zim) #50552656135d70a
] - deps: update zlib to 1.2.13.1-motley-dfc48fc (Node.js GitHub Bot) #5045641ee4bcc5d
] - deps: update ada to 2.7.4 (Node.js GitHub Bot) #50815a40948b5c5
] - deps: update minimatch to 9.0.3 (Node.js GitHub Bot) #508067be1222c4a
] - deps: update simdutf to 4.0.4 (Node.js GitHub Bot) #5077268e7d49db6
] - deps: upgrade npm to 10.2.4 (npm team) #507513d82d38336
] - deps: escape Python strings correctly (Michaël Zasso) #50695d3870ac957
] - deps: update base64 to 0.5.1 (Node.js GitHub Bot) #506294b219b6ece
] - deps: update corepack to 0.23.0 (Node.js GitHub Bot) #505636c41b50922
] - deps: update nghttp2 to 1.58.0 (Node.js GitHub Bot) #504413beee0ae8f
] - deps: update acorn to 8.11.2 (Node.js GitHub Bot) #50460220916fa93
] - deps: update undici to 5.27.0 (Node.js GitHub Bot) #50463f9960b3545
] - deps: update googletest to116b7e5
(Node.js GitHub Bot) #50324d5c16f897a
] - dns: call handle.setServers() with a valid array (Luigi Pinca) #508111bd6537c97
] - doc: recommend supported Python versions (Luigi Pinca) #50407402e257520
] - doc: update notable changes in v21.1.0 (Joyee Cheung) #50388032535e270
] - doc: make theme consistent across api and other docs (Dima Demakov) #50877d53842683f
] - doc: add a section regardinginstanceof
inprimordials.md
(Antoine du Hamel) #50874fe315055a7
] - doc: update email to reflect affiliation (Yagiz Nizipli) #50856e14f661950
] - doc: shard not supported with watch mode (Pulkit Gupta) #50640b3d015de71
] - doc: get rid of unnecessaryeslint-skip
comments (Antoine du Hamel) #50829168cbf9cb9
] - doc: create deprecation code for isWebAssemblyCompiledModule (Marco Ippolito) #5048630baacba41
] - doc: add CanadaHonk to triagers (CanadaHonk) #50848e6e7cbceac
] - doc: fix typos in --allow-fs-* (Tobias Nießen) #50845e22ce9586f
] - doc: update Crypto API doc for x509.keyUsage (Daniel Meechan) #50603549d4422b7
] - doc: fix fs.writeFileSync return value documentation (Ryan Zimmerman) #507603c79e3cdba
] - doc: update print results(detail) inPerformanceEntry
(Jungku Lee) #50723aeaf96d06e
] - doc: fixBuffer.allocUnsafe
documentation (Mert Can Altın) #50686347e1dd06a
] - doc: run license-builder (github-actions[bot]) #50691a541b78bdb
] - doc: add MrJithil to collaborators (Jithil P Ponnan) #5066690f415dd61
] - doc: fix typo in fs.md (fwio) #50570e2388151ba
] - doc: add missing description of argument insubtle.encrypt
(Deokjin Kim) #5057839cc013465
] - doc: update pm documentation to include resource (Ranieri Innocenti Spada) #50601ba6d427c23
] - doc: correct attribution in v20.6.0 changelog (Jacob Smith) #505641b2dab8254
] - doc: update to alignconsole.table
row to the left (Jungku Lee) #505535d48ef7778
] - doc: underline links (Rich Trott) #504815e6057c9d2
] - doc: remove duplicate word (Gerhard Stöbich) #5047564bf2fd4ee
] - doc: fix typo inwebstreams.md
(André Santos) #50426cca55b8414
] - doc: add information about Node-API versions >=9 (Michael Dawson) #50168d4be8fad83
] - doc: add Ethan-Arrowood as a collaborator (Ethan Arrowood) #503930b311838f6
] - doc: fix TOC inreleases.md
(Bryce Seefieldt) #50372843d5f84ca
] - esm: fallback togetSource
whenload
returns nullishsource
(Antoine du Hamel) #508258d5469c84b
] - esm: do not callgetSource
when format iscommonjs
(Francesco Trotta) #50465b48cf314d3
] - esm: bypass CJS loader in default load under--default-type=module
(Antoine du Hamel) #50004c1a196c897
] - (SEMVER-MINOR) esm: add import.meta.dirname and import.meta.filename (James Sumners) #48740435f9c9276
] - fs: use default w flag for writeFileSync with utf8 encoding (Murilo Kakazu) #50990aa3209b880
] - fs: add c++ fast path for writeFileSync utf8 (CanadaHonk) #4988405e25e0230
] - fs: improve error perf of synclstat
+fstat
(CanadaHonk) #49868f94a24cb4b
] - fs: improve error performance forrmdirSync
(CanadaHonk) #49846cada22e2a4
] - fs: fix to not return for void function (Jungku Lee) #50769ba40b2e33e
] - fs: replace deprecatedpath._makeLong
in copyFile (CanadaHonk) #50844d1b6bd660a
] - fs: update param in jsdoc forreaddir
(Jungku Lee) #5044811412e863a
] - fs: do not throw error on cpSync internals (Yagiz Nizipli) #50185868a464c15
] - fs,url: moveFromNamespacedPath
tonode_url
(Yagiz Nizipli) #50090de7fe08c7b
] - fs,url: refactorFileURLToPath
method (Yagiz Nizipli) #50090186e6e0395
] - fs,url: moveFileURLToPath
to node_url (Yagiz Nizipli) #50090aea7fe54af
] - inspector: use private fields instead of symbols (Yagiz Nizipli) #5077648dbde71d8
] - lib: use primordials for navigator.userAgent (Aras Abbasi) #50467fa220cac87
] - lib: remove deprecated string methods (Jithil P Ponnan) #50592f1cf1c385f
] - lib: fix assert shows diff messages in ESM and CJS (Jithil P Ponnan) #506343844af288f
] - lib: make event static properties non writable and configurable (Muthukumar) #504250a0b416d6c
] - lib: avoid memory allocation on nodeprecation flag (Vinicius Lourenço) #50231e7551d5770
] - lib: align console.table row to the left (Jithil P Ponnan) #501350c85cebdf2
] - meta: clarify nomination process according to Node.js charter (Matteo Collina) #50834f4070dd8d4
] - meta: clarify recommendation for bug reproductions (Antoine du Hamel) #508822ddeead436
] - meta: move cjihrig to TSC regular member (Colin Ihrig) #5081634a789d9be
] - meta: add web-standards as WPTs owner (Filip Skokan) #5063640bbffa266
] - meta: bump github/codeql-action from 2.21.9 to 2.22.5 (dependabot[bot]) #50513c49553631d
] - meta: bump step-security/harden-runner from 2.5.1 to 2.6.0 (dependabot[bot]) #5051299df0138b0
] - meta: bump ossf/scorecard-action from 2.2.0 to 2.3.1 (dependabot[bot]) #505099db6227ac6
] - meta: fix spacing in collaborator list (Antoine du Hamel) #506412589a5a566
] - meta: bump actions/setup-python from 4.7.0 to 4.7.1 (dependabot[bot]) #505105a86661a95
] - meta: add crypto as crypto and webcrypto docs owner (Filip Skokan) #50579ac8d2b9cc2
] - meta: bump actions/setup-node from 3.8.1 to 4.0.0 (dependabot[bot]) #50514bee2c0cf11
] - meta: bump actions/checkout from 4.1.0 to 4.1.1 (dependabot[bot]) #5051191a0944e5f
] - meta: add ethan.arrowood@vercel.com to mailmap (Ethan Arrowood) #504918d3cf8c4ee
] - meta: add web-standards as web api visibility owner (Chengzhong Wu) #50418807c12de36
] - meta: mention other notable changes section (Rafael Gonzaga) #5030921ab3c0f0b
] - (SEMVER-MINOR) module: bootstrap module loaders in shadow realm (Chengzhong Wu) #486558e886a2fff
] - (SEMVER-MINOR) module: remove useCustomLoadersIfPresent flag (Chengzhong Wu) #4865577e8361213
] - module: execute--import
sequentially (Antoine du Hamel) #50474fffc4951ac
] - module: add application/json in accept header when fetching json module (Marco Ippolito) #50119f808e7a650
] - net: check pipe mode and path (theanarkh) #50770cf3a4c5b84
] - node-api: factor out common code into macros (Gabriel Schulhof) #50664a7d8f6b529
] - perf_hooks: implement performance.now() with fast API calls (Joyee Cheung) #50492076dc7540b
] - permission: do not create symlinks if target is relative (Tobias Nießen) #4915643160dcd2d
] - permission: mark const functions as such (Tobias Nießen) #507057a661d7ad9
] - permission: address coverity warning (Michael Dawson) #50215b2b4132c3e
] - src: iterate on import attributes array correctly (Michaël Zasso) #5070311b3e470db
] - (SEMVER-MINOR) src: create per isolate proxy env template (Chengzhong Wu) #48655d00412a083
] - (SEMVER-MINOR) src: create fs_dir per isolate properties (Chengzhong Wu) #4865514cc3b9b90
] - (SEMVER-MINOR) src: create worker per isolate properties (Chengzhong Wu) #48655621c4d66c2
] - (SEMVER-MINOR) src: make process binding data weak (Chengzhong Wu) #4865507a4e94e84
] - src: assert return value of BN_bn2binpad (Tobias Nießen) #50860158db2d61e
] - src: fix coverity warning (Michael Dawson) #5084694363bb3fd
] - src: fix compatility with upcoming V8 12.1 APIs (Cheng Zhao) #5070929d91b13e3
] - (SEMVER-MINOR) src: add--disable-warning
option (Ethan Arrowood) #50661f054c337f8
] - src: add IsolateScopes before using isolates (Keyhan Vakil) #50680d08eb382cd
] - src: avoid copying strings in FSPermission::Apply (Tobias Nießen) #506626620df1c05
] - src: remove erroneous default argument in RadixTree (Tobias Nießen) #50736436c3aef15
] - src: fix JSONParser leaking internal V8 scopes (Keyhan Vakil) #506886f46d31018
] - src: return error --env-file if file is not found (Ardi Nugraha) #505883d43fd359c
] - src: avoid silent coercion to signed/unsigned int (Tobias Nießen) #50663c253e39b56
] - src: handle errors from uv_pipe_connect2() (Deokjin Kim) #506573a9713bb5a
] - src: use v8::Isolate::TryGetCurrent() in DumpJavaScriptBacktrace() (Joyee Cheung) #5051894f8a925a8
] - src: print more information in C++ assertions (Joyee Cheung) #5024223f830616b
] - src: hide node::credentials::HasOnly outside unit (Tobias Nießen) #50450b7ecb0a390
] - src: readiterable entries may be empty (Matthew Aitken) #503984ef1d68715
] - src: implement structuredClone in native (Joyee Cheung) #503309346f15138
] - src: use find instead of char-by-char in FromFilePath() (Daniel Lemire) #502888414fb4d2a
] - src: add commit hash shorthand in zlib version (Jithil P Ponnan) #50158a878e3abb0
] - stream: fix enumerability of ReadableStream.from (Mattias Buelens) #5077995ed4ffc1e
] - stream: fix enumerability of ReadableStream.prototype.values (Mattias Buelens) #507794cf155ca0c
] - stream: add Symbol.toStringTag to Compression Streams (Filip Skokan) #507126012e3e781
] - stream: fix Writable.destroy performance regression (Robert Nagy) #50478dd5206820c
] - stream: pre-allocate _events (Robert Nagy) #50428829b82ed0f
] - stream: remove no longer relevant comment (Robert Nagy) #5044698ae1b4132
] - stream: use bit fields for construct/destroy (Robert Nagy) #5040808a0c6c56c
] - stream: improve from perf (Raz Luvaton) #5035959f7316b8f
] - stream: avoid calls to listenerCount (Robert Nagy) #503579d52430eb9
] - stream: readable use bitmap accessors (Robert Nagy) #50350139d6c8d3b
] - stream: use Array for Readable buffer (Robert Nagy) #503416206957e8d
] - stream: optimize creation (Robert Nagy) #50337f87921de3b
] - stream: refactor writable _write (Robert Nagy) #50198b338f3d3c2
] - stream: avoid getter for defaultEncoding (Robert Nagy) #502031862235a26
] - test: fix message v8 not normalising alphanumeric paths (Jithil P Ponnan) #507307c28a4ca8f
] - test: fix dns test case failures after c-ares update to 1.21.0+ (Brad House) #507434544593d31
] - test: replace forEach with for of (Conor Watson) #5059496143a3293
] - test: replace forEach to for at test-webcrypto-sign-verify-ecdsa.js (Alessandro Di Nisio) #50795107b5e63c5
] - test: replace foreach with for in test-https-simple.js (Shikha Mehta) #497939b2e5e9db4
] - test: add note about unresolved spec issue (Mattias Buelens) #50779edce637c1a
] - test: add note about readable streams with type owning (Mattias Buelens) #50779641044670b
] - test: replace forEach with for-of in test-url-relative (vitosorriso) #5078875ee78438c
] - test: replace forEach() with for ... of in test-tls-getprotocol.js (Steve Goode) #5060024f9d3fbeb
] - test: enable idlharness tests for encoding (Mattias Buelens) #50778a9d290956e
] - test: replace forEach in whatwg-encoding-custom-interop (Honza Machala) #506076584dd80f7
] - test: replace forEach() with for-loop (Jan) #50596be54a22869
] - test: improve test-bootstrap-modules.js (Joyee Cheung) #50708660e70e73b
] - test: skip parallel/test-macos-app-sandbox if disk space < 120MB (Joyee Cheung) #507645712c41122
] - test: replace foreach with for (Markus Muschol) #5059949e5f47b1c
] - test: test streambase has already has a consumer (Jithil P Ponnan) #48059bb7d764c8e
] - test: change forEach to for...of in path extname (Kyriakos Markakis) #506674d28ced079
] - test: replace forEach with for...of (Ryan Williams) #5061192a153ecde
] - test: migrate message v8 tests from Python to JS (Joshua LeMay) #50421a376284d8a
] - test: use destructuring for accessing setting values (Honza Jedlička) #506097b9b1fba27
] - test: replace forEach() with for .. of (Evgenia Blajer) #506059397b2da7e
] - test: replace forEach() with for ... of in test-readline-keys.js (William Liang) #506049043ba4cfb
] - test: replace forEach() with for ... of in test-http2-single-headers.js (spiritualized) #506069f911d31f6
] - test: replace forEach with for of (john-mcinall) #506028a5f36fe74
] - test: remove unused file (James Sumners) #505289950203340
] - test: replace forEach with for of (Kevin Kühnemund) #5059703ba28f102
] - test: replace forEach with for of (CorrWu) #49785ea61261b54
] - test: replace forEach with for [...] of (Gabriel Bota) #506154349790913
] - test: add WPT report test duration (Filip Skokan) #505747cacddfcc1
] - test: replace forEach() with for ... of loop in test-global.js (Kajol) #49772889f58d07f
] - test: skip test-diagnostics-channel-memory-leak.js (Joyee Cheung) #5032741644ee071
] - test: improveUV_THREADPOOL_SIZE
tests on.env
(Yagiz Nizipli) #492131db44b9a53
] - test: recognize wpt completion error (Chengzhong Wu) #50429ecfc951ddc
] - test: report error wpt test results (Chengzhong Wu) #50429deb0351d95
] - test: replace forEach() with for...of (Ram) #49794f885dfe5e3
] - test: replace forEach() with for...of in test-trace-events-http (Chand) #497959dc63c56db
] - test: replace forEach with for...of in test-fs-realpath-buffer-encoding (Niya Shiyas) #49804600d1260da
] - test: fix timeout of test-cpu-prof-dir-worker.js in LoongArch devices (Shi Pujin) #50363099f5cfa0a
] - test: fix vm assertion actual and expected order (Chengzhong Wu) #50371a31f9bfe01
] - test: v8: Add test-linux-perf-logger test suite (Luke Albao) #503526c59114947
] - test: ensure never settling promises are detected (Antoine du Hamel) #503189830ae4bf7
] - test_runner: add tests for various mock timer issues (Mika Fischer) #503842c72ed85fb
] - test_runner: pass abortSignal to test files (Moshe Atlow) #50630c33a84af11
] - test_runner: replace forEach with for of (Tom Haddad) #5059529c68a22bb
] - test_runner: output errors of suites (Moshe Atlow) #50361e64378643d
] - (SEMVER-MINOR) test_runner: adds built in lcov reporter (Phil Nash) #500184aaaff413b
] - test_runner: test return value of mocked promisified timers (Mika Fischer) #503314a830c2d9d
] - (SEMVER-MINOR) test_runner: add Date to the supported mock APIs (Lucas Santos) #48638842dc01def
] - (SEMVER-MINOR) test_runner, cli: add --test-timeout flag (Shubham Pandey) #50443613a9072b7
] - tls: fix order of setting cipher before setting cert and key (Kumar Rishav) #50186d905c61e16
] - tls: usevalidateFunction
foroptions.SNICallback
(Deokjin Kim) #50530c8d6dd58e7
] - tools: add macOS notarization verification step (Ulises Gascón) #50833c9bd0b0c0f
] - tools: use macOS keychain to notarize the releases (Ulises Gascón) #50715932a5d7b2c
] - tools: update eslint to 8.54.0 (Node.js GitHub Bot) #50809d7114d97be
] - tools: update lint-md-dependencies to rollup@4.5.0 (Node.js GitHub Bot) #5080793085cf844
] - tools: add workflow to update release links (Michaël Zasso) #5071066764c5d04
] - tools: recognize GN files in dep_updaters (Cheng Zhao) #506932a451e176a
] - tools: remove unused file (Ulises Gascon) #506228ce6403230
] - tools: change minimatch install strategy (Marco Ippolito) #5047697778e2e77
] - tools: update lint-md-dependencies to rollup@4.3.1 (Node.js GitHub Bot) #50675797f6a9ba8
] - tools: add macOS notarization stapler (Ulises Gascón) #506258fa1319352
] - tools: update eslint to 8.53.0 (Node.js GitHub Bot) #50559592f57970f
] - tools: update lint-md-dependencies to rollup@4.3.0 (Node.js GitHub Bot) #505562fd78fc39e
] - tools: compare ICU checksums before file changes (Michaël Zasso) #50522631d710fc4
] - tools: improve update acorn-walk script (Marco Ippolito) #5047333fd2af2ab
] - tools: update lint-md-dependencies to rollup@4.2.0 (Node.js GitHub Bot) #5049622b7a74838
] - tools: update gyp-next to v0.16.1 (Michaël Zasso) #50380f5ccab5005
] - tools: skip ruff on tools/gyp (Michaël Zasso) #50380408fd90508
] - tools: update lint-md-dependencies to rollup@4.1.5 unified@11.0.4 (Node.js GitHub Bot) #50461685f936ccd
] - tools: avoid npm install in deps installation (Marco Ippolito) #504137d43c5a094
] - Revert "tools: update doc dependencies" (Richard Lau) #504148fd67c2e3e
] - tools: update doc dependencies (Node.js GitHub Bot) #49988586becb507
] - tools: run coverage CI only on relevant files (Antoine du Hamel) #503492d06eea6c5
] - tools: update eslint to 8.52.0 (Node.js GitHub Bot) #503266a897baf16
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #50190e6e7f39b9e
] - util: improve performance of normalizeEncoding (kylo5aby) #507213b6b1afa47
] - v8,tools: expose necessary V8 defines (Cheng Zhao) #508202664012617
] - vm: allow dynamic import with a referrer realm (Chengzhong Wu) #50360c6c0a74b54
] - wasi: document security sandboxing status (Guy Bedford) #50396989814093e
] - win,tools: upgrade Windows signing to smctl (Stefan Stojanovic) #50956v20.10.0
: 2023-11-22, Version 20.10.0 'Iron' (LTS), @targosCompare Source
Notable Changes
--experimental-default-type
flag to flip module defaultsThe new flag
--experimental-default-type
can be used to flip the defaultmodule system used by Node.js. Input that is already explicitly defined as ES
modules or CommonJS, such as by a
package.json
"type"
field or.mjs
/.cjs
file extension or the
--input-type
flag, is unaffected. What is currentlyimplicitly CommonJS would instead be interpreted as ES modules under
--experimental-default-type=module
:String input provided via
--eval
or STDIN, if--input-type
is unspecified.Files ending in
.js
or with no extension, if there is nopackage.json
filepresent in the same folder or any parent folder.
Files ending in
.js
or with no extension, if the nearest parentpackage.json
field lacks atype
field; unless the folder is inside anode_modules
folder.In addition, extensionless files are interpreted as Wasm if
--experimental-wasm-modules
is passed and the file contains the "magic bytes"Wasm header.
Contributed by Geoffrey Booth in #49869.
Detect ESM syntax in ambiguous JavaScript
The new flag
--experimental-detect-module
can be used to automatically run ESmodules when their syntax can be detected. For “ambiguous” files, which are
.js
or extensionless files with nopackage.json
with atype
field, Node.jswill parse the file to detect ES module syntax; if found, it will run the file
as an ES module, otherwise it will run the file as a CommonJS module. The same
applies to string input via
--eval
orSTDIN
.We hope to make detection enabled by default in a future version of Node.js.
Detection increases startup time, so we encourage everyone—especially package
authors—to add a
type
field topackage.json
, even for the default"type": "commonjs"
. The presence of atype
field, or explicit extensionssuch as
.mjs
or.cjs
, will opt out of detection.Contributed by Geoffrey Booth in #50096.
New
flush
option in file system functionsWhen writing to files, it is possible that data is not immediately flushed to
permanent storage. This allows subsequent read operations to see stale data.
This PR adds a
'flush'
option to thefs.writeFile
family of functions whichforces the data to be flushed at the end of a successful write operation.
Contributed by Colin Ihrig in #50009 and #50095.
Experimental WebSocket client
Adds a
--experimental-websocket
flag that adds aWebSocket
global, as standardized by WHATWG.
Contributed by Matthew Aitken in #49830.
vm: fix V8 compilation cache support for vm.Script
Previously repeated compilation of the same source code using
vm.Script
stopped hitting the V8 compilation cache after v16.x when support for
importModuleDynamically
was added tovm.Script
, resulting in a performanceregression that blocked users (in particular Jest users) from upgrading from
v16.x.
The recent fixes allow the compilation cache to be hit again
for
vm.Script
when--experimental-vm-modules
is not used even in thepresence of the
importModuleDynamically
option, so that users affected by theperformance regression can now upgrade. Ongoing work is also being done to
enable compilation cache support for
vm.CompileFunction
.Contributed by Joyee Cheung in #49950
and #50137.
Other notable changes
21453ae555
] - (SEMVER-MINOR) deps: update uvwasi to 0.0.19 (Node.js GitHub Bot) #49908ee65e44c31
] - esm: use import attributes instead of import assertions (Antoine du Hamel) #50140ffdc357167
] - (SEMVER-MINOR) stream: allow passing stream class tostream.compose
(Alex Yang) #501874861ad6431
] - stream: improve performance of readable stream reads (Raz Luvaton) #501734b27087b30
] - stream: optimize Writable (Robert Nagy) #50012709c6c0cab
] - (SEMVER-MINOR) test_runner, cli: add --test-concurrency flag (Colin Ihrig) #4999657efd5292c
] - (SEMVER-MINOR) vm: use import attributes instead of import assertions (Antoine du Hamel) #50141Commits
73757a5f42
] - benchmark: fix race condition on fs benchs (Vinicius Lourenço) #5003523269717bb
] - benchmark: add warmup to accessSync bench (Rafael Gonzaga) #5007388611d199a
] - benchmark: improved config for blob,file benchmark (Vinícius Lourenço) #49730b70757476c
] - benchmark: added new benchmarks for blob (Vinícius Lourenço) #49730458d9a82e3
] - buffer: remove unnecessary assignment in fromString (Tobias Nießen) #50199878c0b332e
] - build: fix IBM i build with Python 3.9 (Richard Lau) #48056773320e1de
] - crypto: ensure valid point on elliptic curve in SubtleCrypto.importKey (Filip Skokan) #50234edb0ffd7d4
] - crypto: use X509_ALGOR accessors instead of reaching into X509_ALGOR (David Benjamin) #500573f98c06dbb
] - crypto: account for disabled SharedArrayBuffer (Shelley Vohr) #5003455485ff1cc
] - crypto: return clear errors when loading invalid PFX data (Tim Perry) #4956668ec1e5eeb
] - deps: upgrade npm to 10.2.3 (npm team) #50531b00c11ad7c
] - deps: V8: cherry-pickd90d453
(Michaël Zasso) #50077e63aef91b4
] - deps: V8: cherry-pickf7d000a
(Luke Albao) #500774b243b553a
] - deps: V8: cherry-pick9721082
(Shi Pujin) #500779d3cdcbebf
] - deps: V8: cherry-pick840650f
(Michaël Zasso) #500770c40b513fd
] - deps: V8: cherry-picka1efa53
(Michaël Zasso) #5007768cddd79f7
] - deps: update archs files for openssl-3.0.12+quic1 (Node.js GitHub Bot) #504113308189180
] - deps: upgrade openssl sources to quictls/openssl-3.0.12+quic1 (Node.js GitHub Bot) #50411b61707e535
] - deps: update ada to 2.7.2 (Node.js GitHub Bot) #503381aecf0c17b
] - deps: update corepack to 0.22.0 (Node.js GitHub Bot) #50325f5924f174c
] - deps: update c-ares to 1.20.1 (Node.js GitHub Bot) #50082b705e19a95
] - deps: update c-ares to 1.20.0 (Node.js GitHub Bot) #50082f72cbb7e02
] - deps: V8: cherry-pick2590224
(Joyee Cheung) #501566547bd2493
] - deps: V8: cherry-pickea996ad
(Antoine du Hamel) #5018316fd730e95
] - deps: V8: cherry-picka0fd320
(Antoine du Hamel) #50183614c3620c3
] - deps: update corepack to 0.21.0 (Node.js GitHub Bot) #50088545aa74ae2
] - deps: update simdutf to 3.2.18 (Node.js GitHub Bot) #500919302806c0a
] - deps: update zlib to 1.2.13.1-motley-fef5869 (Node.js GitHub Bot) #5008503bf5c5d9a
] - deps: update googletest to2dd1c13
(Node.js GitHub Bot) #50081cd8e90690b
] - deps: update googletest toe47544a
(Node.js GitHub Bot) #4998240672cfe53
] - deps: update ada to 2.6.10 (Node.js GitHub Bot) #4998434c7eb0eb2
] - deps: fix call to undeclared functions 'ntohl' and 'htons' (MatteoBax) #4997903654b44b6
] - deps: update ada to 2.6.9 (Node.js GitHub Bot) #493404c740b1dd8
] - deps: update ada to 2.6.8 (Node.js GitHub Bot) #49340759cf5a760
] - deps: update ada to 2.6.7 (Node.js GitHub Bot) #4934031a4e9781a
] - deps: update ada to 2.6.5 (Node.js GitHub Bot) #493402ca867f2ab
] - deps: update ada to 2.6.3 (Node.js GitHub Bot) #4934021453ae555
] - (SEMVER-MINOR) deps: update uvwasi to 0.0.19 (Node.js GitHub Bot) #499087ca1228be8
] - deps: V8: cherry-pick8ec2651
(Abdirahim Musse) #498623cc41d253c
] - deps: upgrade npm to 10.2.0 (npm team) #5002761b4afb7dd
] - deps: update undici to 5.26.4 (Node.js GitHub Bot) #50274ea28738336
] - doc: add loong64 info into platform list (Shi Pujin) #5008600c12b7a20
] - doc: update release process LTS step (Richard Lau) #50299a9ba29ba10
] - doc: fix release process table of contents (Richard Lau) #502164b5033519e
] - doc: update apistream.compose
(Alex Yang) #50206d4659e2080
] - doc: add ReflectConstruct to known perf issues (Vinicius Lourenço) #50111ffa94612fd
] - doc: fix typo in dgram docs (Peter Johnson) #50211f37b577b14
] - doc: fix H4ad collaborator sort (Vinicius Lourenço) #50218c75264b1f9
] - doc: add H4ad to collaborators (Vinícius Lourenço) #502175025e24ac7
] - doc: update release-stewards with last sec-release (Rafael Gonzaga) #5017963379313d5
] - doc: add command to keep major branch sync (Rafael Gonzaga) #5010285de4b8254
] - doc: add loong64 to list of architectures (Shi Pujin) #50172ff8e1b860e
] - doc: update security release process (Michael Dawson) #5016633470d965c
] - doc: improve ccache explanation (Chengzhong Wu) #501337b97c44e2a
] - doc: move danielleadams to TSC non-voting member (Danielle Adams) #501423d03ca9f31
] - doc: fix description offs.readdir
recursive
option (RamdohokarAngha) #48902aab045ec4b
] - doc: mention files read before env setup (Rafael Gonzaga) #5007226a7608a24
] - doc: move permission model to Active Development (Rafael Gonzaga) #50068d7bbf7f2c4
] - doc: add command to get patch minors and majors (Rafael Gonzaga) #500679830165e34
] - doc: use precise promise terminology in fs (Benjamin Gruenbaum) #50029585cbb211d
] - doc: use precise terminology in test runner (Benjamin Gruenbaum) #500282862f07124
] - doc: clarify explaination text on how to run the example (Anshul Sinha) #39020fe47c8ad91
] - doc: reserve 119 for Electron 28 (David Sanders) #5002036ecd2c588
] - doc: update Collaborator pronouns (Tierney Cyren) #50005315d82a73e
] - doc: update link to Abstract Modules Records spec (Rich Trott) #49961f63a92bb6c
] - doc: updated building docs for windows (Claudio W) #49767ad17126501
] - doc: update CHANGELOG_V20 about vm fixes (Joyee Cheung) #4995124458e2ac3
] - doc: document dangerous symlink behavior (Tobias Nießen) #49154337a676d1f
] - doc: add main ARIA landmark to API docs (Rich Trott) #49882959ef7ac6b
] - doc: add navigation ARIA landmark to doc ToC (Rich Trott) #49882a60fbf2ab3
] - doc: mark Node.js 19 as End-of-Life (Richard Lau) #48283c255575699
] - errors: improve performance of determine-specific-type (Aras Abbasi) #49696e66991e6b2
] - errors: improve formatList in errors.js (Aras Abbasi) #49642c71e548b65
] - errors: improve performance of instantiation (Aras Abbasi) #496543b867e4256
] - esm: do not give wrong hints when detecting file format (Antoine du Hamel) #50314a589a1a905
] - (SEMVER-MINOR) esm: detect ESM syntax in ambiguous JavaScript (Geoffrey Booth) #50096c64490e9aa
] - esm: improve check for ESM syntax (Geoffrey Booth) #50127ee65e44c31
] - esm: use import attributes instead of import assertions (Antoine du Hamel) #501404de838fdeb
] - esm: bypass CommonJS loader under --default-type (Geoffrey Booth) #4998627e02b633d
] - esm: unflag extensionless javascript and wasm in module scope (Geoffrey Booth) #499741e762ddf63
] - esm: improvegetFormatOfExtensionlessFile
speed (Yagiz Nizipli) #49965112cc7f9f2
] - esm: improve JSDoc annotation of internal functions (Antoine du Hamel) #49959c48cd84188
] - esm: fix cache collision on JSON files using file: URL (Antoine du Hamel) #49887dc80ccef25
] - esm: --experimental-default-type flag to flip module defaults (Geoffrey Booth) #4986901039795a2
] - esm: require braces for modules code (Geoffrey Booth) #49657e49ebf8f9a
] - fs: improve error performance forreadSync
(Jungku Lee) #50033eb33f70260
] - fs: improve error performance forfsyncSync
(Jungku Lee) #498808d0edc6399
] - fs: improve error performance formkdirSync
(CanadaHonk) #4984736df27509e
] - fs: improve error performance ofrealpathSync
(Yagiz Nizipli) #499624242cb7d7f
] - fs: improve error performance oflchownSync
(Yagiz Nizipli) #4996289e7878e44
] - fs: improve error performance ofsymlinkSync
(Yagiz Nizipli) #49962af6a0611fe
] - fs: improve error performance ofreadlinkSync
(Yagiz Nizipli) #4996212cda31c52
] - fs: improve error performance ofmkdtempSync
(Yagiz Nizipli) #499629dba771acb
] - fs: improve error performance oflinkSync
(Yagiz Nizipli) #49962ea7902de13
] - fs: improve error performance ofchownSync
(Yagiz Nizipli) #4996239f31a38cf
] - fs: improve error performance ofrenameSync
(Yagiz Nizipli) #4996235164fa466
] - (SEMVER-MINOR) fs: add flush option to appendFile() functions (Colin Ihrig) #5009506aa4b9fe9
] - fs: improve error performance ofreaddirSync
(Yagiz Nizipli) #50131b5aecebcd6
] - fs: fixunlinkSync
typings (Yagiz Nizipli) #498596ddea07225
] - fs: improve error perf of syncchmod
+fchmod
(CanadaHonk) #49859841367078e
] - fs: improve error perf of sync*times
(CanadaHonk) #49864eb52f73e3e
] - fs: improve error performance of writevSync (IlyasShabi) #50038d1aa62f1f5
] - fs: add flush option to createWriteStream() (Colin Ihrig) #5009357eb06edff
] - fs: improve error performance forftruncateSync
(André Alves) #5003222e3eb659a
] - fs: add flush option to writeFile() functions (Colin Ihrig) #50009d7132d9214
] - fs: improve error performance forfdatasyncSync
(Jungku Lee) #49898bc2c0410d3
] - fs: throw errors from sync branches instead of separate implementations (Joyee Cheung) #49913f46bcf1749
] - http: refactor to make servername option normalization testable (Rongjian Zhang) #387331bfcf817af
] - http2: allow streams to complete gracefully after goaway (Michael Lumish) #502025c66ec9e66
] - inspector: simplify dispatchProtocolMessage (Daniel Lemire) #49780251ae1dd72
] - lib: improve performance of validateStringArray and validateBooleanArray (Aras Abbasi) #49756d9c791a508
] - lib: fix compileFunction throws range error for negative numbers (Jithil P Ponnan) #4985524cbc550c2
] - lib: reduce overhead of validateObject (Vinicius Lourenço) #49928b80e9497f3
] - lib: make fetch sync and return a Promise (Matthew Aitken) #49936d9eda6761b
] - lib: fixprimordials
typings (Sam Verschueren) #498953e0d47c1f4
] - lib: update params in jsdoc forHTTPRequestOptions
(Jungku Lee) #49872a01050dec4
] - (SEMVER-MINOR) lib: add WebSocket client (Matthew Aitken) #498305bca8feed2
] - lib,test: do not hardcode Buffer.kMaxLength (Michaël Zasso) #49876e8ebed7a24
] - meta: move Trott to TSC regular member (Rich Trott) #5029727e957cea8
] - meta: ping TSC for offboarding (Tobias Nießen) #50147fab39062d5
] - meta: bump actions/upload-artifact from 3.1.2 to 3.1.3 (dependabot[bot]) #5000046ec82496c
] - meta: bump actions/cache from 3.3.1 to 3.3.2 (dependabot[bot]) #50003a634fb431e
] - meta: bump github/codeql-action from 2.21.5 to 2.21.9 (dependabot[bot]) #50002c221f72911
] - meta: bump actions/checkout from 3.6.0 to 4.1.0 (dependabot[bot]) #50001d356e5e395
] - meta: update website team with new name (Rich Trott) #498832ff4e71452
] - module: move helpers out of cjs loader (Geoffrey Booth) #49912142ac3f82d
] - module, esm: jsdoc for modules files (Geoffrey Booth) #49523e2f0ef2a60
] - node-api: update headers for better wasm support (Toyo Li) #49037db2a07fcd6
] - node-api: run finalizers directly from GC (Vladimir Morozov) #42651c25716be8b
] - os: cache homedir, remove getCheckedFunction (Aras Abbasi) #50037e8f024b4db
] - perf_hooks: reduce overhead of new user timings (Vinicius Lourenço) #49914a517be0a5a
] - perf_hooks: reducing overhead of performance observer entry list (Vinicius Lourenço) #5000842e49ec381
] - perf_hooks: reduce overhead of new resource timings (Vinicius Lourenço) #49837c99e51ed1b
] - src: generate default snapshot with --predictable (Joyee Cheung) #4874947164e238f
] - src: fix TLSWrap lifetime bug in ALPN callback (Ben Noordhuis) #49635e1df69e73e
] - src: set port in node_options to uint16_t (Yagiz Nizipli) #491511eb2af29b4
] - src: name scoped lock (Mohammed Keyvanzadeh) #500105131fde655
] - src: use exact return value foruv_os_getenv
(Yagiz Nizipli) #49149ba169be5ca
] - src: move const variable innode_file.h
tonode_file.cc
(Jungku Lee) #496885a2351d3ab
] - src: remove unused variable (Michaël Zasso) #49665f2f993a32f
] - stream: simplify prefinish (Robert Nagy) #502046d7274e3ca
] - stream: reduce scope of readable bitmap details (Robert Nagy) #49963ffdc357167
] - (SEMVER-MINOR) stream: allow pass stream class tostream.compose
(Alex Yang) #501874861ad6431
] - stream: call helper function from push and unshift (Raz Luvaton) #50173e60b3ab31b
] - stream: use private symbol for bitmap state (Robert Nagy) #49993ecbfb23f6b
] - stream: lazy allocate back pressure buffer (Robert Nagy) #5001388c739bef4
] - stream: avoid unnecessary drain for sync stream (Robert Nagy) #500144b27087b30
] - stream: optimize Writable (Robert Nagy) #50012def55f80a1
] - stream: avoid tick in writable hot path (Robert Nagy) #4996635ec93115d
] - stream: writable state bitmap (Robert Nagy) #498996e0f0fafe4
] - test: use ppc and ppc64 to skip SEA tests on PowerPC (Joyee Cheung) #50828a528bbceca
] - test: mark SEA tests as flaky on PowerPC (Joyee Cheung) #507504e34f9a26e
] - test: relax version check with shared OpenSSL (Luigi Pinca) #5050541ca1132eb
] - test: fix crypto-dh error message for OpenSSL 3.x (Kerem Kat) #50395a6a05e8a88
] - test: fix testsuite against zlib version 1.3 (Dominique Leuenberger) #503648dd895e574
] - test: replace forEach with for..of in test-process-env (Niya Shiyas) #4982581886c66d1
] - test: replace forEach with for..of in test-http-url (Niya Shiyas) #498407d8a18b257
] - test: improve watch mode test (Moshe Atlow) #50319baa04b79ca
] - test: settest-watch-mode-inspect
as flaky (Yagiz Nizipli) #502593d9130bc2e
] - Revert "test: settest-esm-loader-resolve-type
as flaky" (Antoine du Hamel) #5031572626f9a35
] - test: replace forEach with for..of in test-http-perf_hooks.js (Niya Shiyas) #49818379a7255e8
] - test: replace forEach with for..of in test-net-isipv4.js (Niya Shiyas) #49822b55fcd75da
] - test: deflaketest-esm-loader-resolve-type
(Antoine du Hamel) #502730134af3eeb
] - test: replace forEach with for..of in test-http2-server (Niya Shiyas) #498198c15281d06
] - test: replace forEach with for..of in test-http2-client-destroy.js (Niya Shiyas) #49820c37a75a898
] - test: updateurl
web platform tests (Yagiz Nizipli) #50264ab5985d0e9
] - test: settest-emit-after-on-destroyed
as flaky (Yagiz Nizipli) #5024650181a19b8
] - test: set inspector async stack test as flaky (Yagiz Nizipli) #50244b9e0fed995
] - test: set test-worker-nearheaplimit-deadlock flaky (StefanStojanovic) #502772cfc4007d1
] - test: settest-cli-node-options
as flaky (Yagiz Nizipli) #50296788714b28f
] - test: reduce the number of requests and parsers (Luigi Pinca) #502400dce19c8f6
] - test: set crypto-timing test as flaky (Yagiz Nizipli) #502325d4b5ff1b8
] - test: settest-structuredclone-*
as flaky (Yagiz Nizipli) #502615c56081d67
] - test: deflaketest-loaders-workers-spawned
(Antoine du Hamel) #502513441e1982d
] - test: improve code coverage of diagnostics_channel (Jithil P Ponnan) #50053696ba93329
] - test: settest-esm-loader-resolve-type
as flaky (Yagiz Nizipli) #502268b260c5d6b
] - test: set inspector async hook test as flaky (Yagiz Nizipli) #50252f3296d25e8
] - test: skip test-benchmark-os.js on IBM i (Abdirahim Musse) #50208fefe17b02e
] - test: set parallel http server test as flaky (Yagiz Nizipli) #50227228c87f329
] - test: set test-worker-nearheaplimit-deadlock flaky (Stefan Stojanovic) #50238c2c2506eab
] - test: settest-runner-watch-mode
as flaky (Yagiz Nizipli) #5022116a07983d4
] - test: set sea snapshot tests as flaky (Yagiz Nizipli) #502237cd406a0b8
] - test: fix defect path traversal tests (Tobias Nießen) #501241cf3f8da32
] - test: replace forEach with for..of in test-net-isipv6.js (Niya Shiyas) #49823214997a99e
] - test: reduce number of repetition in test-heapdump-shadowrealm.js (Chengzhong Wu) #501049d836516e6
] - test: replace forEach with for..of in test-parse-args.mjs (Niya Shiyas) #49824fee8b24603
] - test: replace forEach() in test-net-perf_hooks with for of (Narcisa Codreanu) #498314c58b92ba8
] - test: change forEach to for...of (Tiffany Lastimosa) #4979901b01527d7
] - test: update skip for movedtest-wasm-web-api
(Richard Lau) #49958179e293103
] - Revert "test: mark test-runner-output as flaky" (Luigi Pinca) #49905829eb99afd
] - test: disambiguate AIX and IBM i (Richard Lau) #48056126407d438
] - test: deflake test-perf-hooks.js (Joyee Cheung) #49892393fd5b7c9
] - test: migrate message error tests from Python to JS (Yiyun Lei) #497215dfe4236f8
] - test: fix edge snapshot stack traces (Geoffrey Booth) #49659d164e537bf
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #5003955a03fedae
] - test_runner: add test location for FileTests (Colin Ihrig) #4999910b35cfb6e
] - test_runner: replace spurious if with else (Colin Ihrig) #4994327558c4314
] - test_runner: catch reporter errors (Moshe Atlow) #49646709c6c0cab
] - (SEMVER-MINOR) test_runner, cli: add --test-concurrency flag (Colin Ihrig) #4999664ef108dd9
] - test_runner,test: fix flaky test-runner-cli-concurrency.js (Colin Ihrig) #50108d2def152d9
] - tls: reduce TLS 'close' event listener warnings (Tim Perry) #50136294b650f5c
] - tls: handle cases where the raw socket is destroyed (Luigi Pinca) #4998052b5693949
] - tls: ciphers allow bang syntax (Chemi Atlow) #4971205ee35028b
] - tools: update comment inupdate-uncidi.sh
andacorn_version.h
(Jungku Lee) #5017535b160e6a3
] - tools: refactor checkimports.py (Mohammed Keyvanzadeh) #50011b959d36b77
] - tools: fix comments referencing dep_updaters scripts (Keksonoid) #50165bd5d5331b0
] - tools: remove no-return-await lint rule (翠 / green) #50118b9adf3d66e
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #500834978bdc4ec
] - tools: update eslint to 8.51.0 (Node.js GitHub Bot) #50084e323a367fd
] - tools: remove genv8constants.py (Ben Noordhuis) #500231cc6cbff26
] - tools: update eslint to 8.50.0 (Node.js GitHub Bot) #49989924231be2a
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #49983732b5661ea
] - tools: add navigation ARIA landmark to generated API ToC (Rich Trott) #49882353a14278e
] - tools: update github_reporter to 1.5.3 (Node.js GitHub Bot) #498770aaab45d7c
] - tools: improve macOS notarization process output readability (Ulises Gascón) #50389ad326033e2
] - tools: remove unusedversion
function (Ulises Gascón) #503902f32472544
] - tools: drop support for osx notarization with gon (Ulises Gascón) #502913b1c15aeb0
] - tools: use osx notarytool for future releases (Ulises Gascon) #487010ddb87ede3
] - typings: useSymbol.dispose
andSymbol.asyncDispose
in types (Niklas Mollenhauer) #50123bf5b2115a0
] - util: remove internal mime fns from benchmarks (Aras Abbasi) #50201ac02cdb0ad
] - util: lazy parse mime parameters (Aras Abbasi) #498899853fd96df
] - vm: reject in importModuleDynamically without --experimental-vm-modules (Joyee Cheung) #501373697c19c80
] - vm: use internal versions of compileFunction and Script (Joyee Cheung) #5013756bbc30a44
] - vm: unify host-defined option generation in vm.compileFunction (Joyee Cheung) #5013757efd5292c
] - (SEMVER-MINOR) vm: use import attributes instead of import assertions (Antoine du Hamel) #5014117581c2716
] - vm: use default HDO when importModuleDynamically is not set (Joyee Cheung) #4995065e18aa8e7
] - wasi: address coverity warning (Michael Dawson) #498665b695d6a8d
] - wasi: fix up wasi tests for ibmi (Michael Dawson) #49953b86e1f5cbd
] - (SEMVER-MINOR) wasi: updates required for latest uvwasi version (Michael Dawson) #49908b4d149b4d6
] - worker: handle detachedMessagePort
from a different context (Juan José) #49150f564ed4e05
] - zlib: fix discovery of cpu-features.h for android (MatteoBax) #49828v20.9.0
: 2023-10-24, Version 20.9.0 'Iron' (LTS), @richardlauCompare Source
Notable Changes
This release marks the transition of Node.js 20.x into Long Term Support (LTS)
with the codename 'Iron'. The 20.x release line now moves into "Active LTS"
and will remain so until October 2024. After that time, it will move into
"Maintenance" until end of life in April 2026.
Known issue
Collecting code coverage via the
NODE_V8_COVERAGE
environment variable maylead to a hang. This is not thought to be a regression in Node.js 20 (some
reports are on Node.js 18). For more information, including some potential
workarounds, see issue #49344.
v20.8.1
: 2023-10-13, Version 20.8.1 (Current), @RafaelGSSCompare Source
This is a security release.
Notable Changes
The following CVEs are fixed in this release:
nghttp2
Security Release (High)undici
Security Release (High)More detailed information on each of the vulnerabilities can be found in October 2023 Security Releases blog post.
Commits
c86883e844
] - deps: update nghttp2 to 1.57.0 (James M Snell) #501212860631359
] - deps: update undici to v5.26.3 (Matteo Collina) #50153cd37838bf8
] - lib: let deps requirenode
prefixed modules (Matthew Aitken) #50047f5c90b2951
] - module: fix code injection through export names (Tobias Nießen) nodejs-private/node-private#461fa5dae1944
] - permission: fix Uint8Array path traversal (Tobias Nießen) nodejs-private/node-private#456cd35275111
] - permission: improve path traversal protection (Tobias Nießen) nodejs-private/node-private#456a4cb7fc7c0
] - policy: use tamper-proof integrity check function (Tobias Nießen) nodejs-private/node-private#462v20.8.0
: 2023-09-28, Version 20.8.0 (Current), @ruyadornoCompare Source
Notable Changes
Stream performance improvements
Performance improvements to writable and readable streams, improving the creation and destruction by ±15% and reducing the memory overhead each stream takes in Node.js
Contributed by Benjamin Gruenbaum in #49745 and Raz Luvaton in #49834.
Performance improvements for readable webstream, improving readable stream async iterator consumption by ±140% and improving readable stream
pipeTo
consumption by ±60%Contributed by Raz Luvaton in #49662 and #49690.
Rework of memory management in
vm
APIs with theimportModuleDynamically
optionThis rework addressed a series of long-standing memory leaks and use-after-free issues in the following APIs that support
importModuleDynamically
:vm.Script
vm.compileFunction
vm.SyntheticModule
vm.SourceTextModule
This should enable affected users (in particular Jest users) to upgrade from older versions of Node.js.
Contributed by Joyee Cheung in #48510.
Other notable changes
32d4d29d02
] - deps: add v8::Object::SetInternalFieldForNodeCore() (Joyee Cheung) #498740e686d096b
] - doc: deprecatefs.F_OK
,fs.R_OK
,fs.W_OK
,fs.X_OK
(Livia Medeiros) #49683a5dd057540
] - doc: deprecateutil.toUSVString
(Yagiz Nizipli) #497257b6a73172f
] - doc: deprecate callingpromisify
on a function that returns a promise (Antoine du Hamel) #496471beefd5f16
] - esm: set all hooks as release candidate (Geoffrey Booth) #49597b0ce78a75b
] - module: fix the leak in SourceTextModule and ContextifySript (Joyee Cheung) #485104e578f8ab1
] - module: fix leak of vm.SyntheticModule (Joyee Cheung) #4851069e4218772
] - module: use symbol in WeakMap to manage host defined options (Joyee Cheung) #4851014ece0aa76
] - (SEMVER-MINOR) src: allow embedders to override NODE_MODULE_VERSION (Cheng Zhao) #492799fd67fbff0
] - stream: use bitmap in writable state (Raz Luvaton) #498340ccd4638ac
] - stream: use bitmap in readable state (Benjamin Gruenbaum) #497457c5e322346
] - stream: improve webstream readable async iterator performance (Raz Luvaton) #4966280b342cc38
] - (SEMVER-MINOR) test_runner: accepttestOnly
inrun
(Moshe Atlow) #4975317a05b141d
] - (SEMVER-MINOR) test_runner: add junit reporter (Moshe Atlow) #49614Commits
4879e3fbbe
] - benchmark: add a benchmark for read() of ReadableStreams (Debadree Chatterjee) #4962278a6c73157
] - benchmark: shorten pipe-to by reducing number of chunks (Raz Luvaton) #495774126a6e4c9
] - benchmark: fix webstream pipe-to (Raz Luvaton) #495526010a91825
] - bootstrap: do not expand argv1 for snapshots (Joyee Cheung) #495068480280c4b
] - bootstrap: only use the isolate snapshot when compiling code cache (Joyee Cheung) #49288b30754aa87
] - build: run embedtest using node executable (Joyee Cheung) #4950631db0b8e2b
] - build: add --write-snapshot-as-array-literals to configure.py (Joyee Cheung) #493126fcb51d3ba
] - debugger: useinternal/url.URL
instead ofurl.parse
(LiviaMedeiros) #4959032d4d29d02
] - deps: add v8::Object::SetInternalFieldForNodeCore() (Joyee Cheung) #49874ad37cadc3f
] - deps: V8: backportde9a5de
(Joyee Cheung) #49703cdd1c66222
] - deps: V8: cherry-pickb33bf2d
(Joyee Cheung) #4970361d18d6473
] - deps: update undici to 5.24.0 (Node.js GitHub Bot) #49559b8a4fef393
] - deps: remove pthread-fixes.c from uv.gyp (Ben Noordhuis) #497446c86c0683c
] - deps: update googletest tod1467f5
(Node.js GitHub Bot) #496761424404742
] - deps: update nghttp2 to 1.56.0 (Node.js GitHub Bot) #4958215b54ff95d
] - deps: update googletest to8a6feab
(Node.js GitHub Bot) #494632ceab877c2
] - deps: update corepack to 0.20.0 (Node.js GitHub Bot) #494644814872ddc
] - doc: fixDEP0176
number (LiviaMedeiros) #498580e686d096b
] - doc: deprecatefs.F_OK
,fs.R_OK
,fs.W_OK
,fs.X_OK
(Livia Medeiros) #496835877c403a2
] - doc: add mertcanaltin as a triager (mert.altin) #49826864fe56432
] - doc: addgit node backport
way to the backporting guide (Raz Luvaton) #49760e0f93492d5
] - doc: improve documentation about ICU data fallback (Joyee Cheung) #49666a5dd057540
] - doc: deprecateutil.toUSVString
(Yagiz Nizipli) #49725774c1cfd52
] - doc: add missing function call to example forutil.promisify
(Jungku Lee) #49719fe78a34845
] - doc: update output of example inmimeParams.set()
(Deokjin Kim) #497184175ea33bd
] - doc: add missedinspect
with numericSeparator to example (Deokjin Kim) #497173a88571972
] - doc: fix history comments (Antoine du Hamel) #49701db4ab1ccbb
] - doc: add missing history info forimport.meta.resolve
(Antoine du Hamel) #49700a304d1ee19
] - doc: link maintaining deps to pull-request.md (Marco Ippolito) #4971635294486ad
] - doc: fix print results inevents
(Jungku Lee) #495489f0b0e15c9
] - doc: alphabetize cli.md sections (Geoffrey Booth) #496687b6a73172f
] - doc: deprecate callingpromisify
on a function that returns a promise (Antoine du Hamel) #49647d316b32fff
] - doc: updatecorepack.md
to account for 0.20.0 changes (Antoine du Hamel) #49486c2eac7dc7c
] - doc: remove@anonrig
from performance initiative (Yagiz Nizipli) #496413d839fbf87
] - doc: mark Node.js 16 as End-of-Life (Richard Lau) #4965153fb5aead8
] - doc: save user preference for JS flavor (Vidar Eldøy) #49526e3594d5658
] - doc: update documentation for node:process warning (Shubham Pandey) #495178e033c3963
] - doc: rename possibly confusing variable and CSS class (Antoine du Hamel) #49536d0e0eb4bb3
] - doc: update outdated history info (Antoine du Hamel) #49530b4724e2e3a
] - doc: close a parenthesis (Sébastien Règne) #495250471c5798e
] - doc: cast GetInternalField() return type to v8::Value in addons.md (Joyee Cheung) #494399f8bea3dda
] - doc: fix documentation for input option in child_process (Ariel Weiss) #49481f3fea92f8a
] - doc: fix missing imports intest.run
code examples (Oshri Asulin) #49489e426b77b67
] - doc: fix documentation for fs.createWriteStream highWaterMark option (Mert Can Altın) #494562b119108ff
] - doc: updated releasers instructions for node.js website (Claudio W) #49427b9d4a80183
] - doc: editimport.meta.resolve
documentation (Antoine du Hamel) #49247f67433f666
] - doc,tools: switch to@node-core/utils
(Michaël Zasso) #49851142e256fc5
] - errors: improve classRegExp in errors.js (Uzlopak) #496436377f1bce2
] - errors: usedetermineSpecificType
in more error messages (Antoine du Hamel) #4958005f0fcb4c4
] - esm: identify parent importing a url with invalid host (Jacob Smith) #497368a6f5fb8f3
] - esm: fix return type ofimport.meta.resolve
(Antoine du Hamel) #49698a6140f1b8c
] - esm: update loaders warning (Geoffrey Booth) #49633521a9327e0
] - esm: fix support forURL
instances inregister
(Antoine du Hamel) #496553a9ea0925a
] - esm: clarify ERR_REQUIRE_ESM errors (Daniel Compton) #495211beefd5f16
] - esm: set all hooks as release candidate (Geoffrey Booth) #49597be48267888
] - esm: remove return value forModule.register
(Antoine du Hamel) #49529e74a075124
] - esm: refactor test-esm-loader-resolve-type (Geoffrey Booth) #4949317823b3533
] - esm: refactor test-esm-named-exports (Geoffrey Booth) #49493f34bd15ac1
] - esm: refactor mocking test (Geoffrey Booth) #49465ec323bbd99
] - fs: replaceSetMethodNoSideEffect
in node_file (CanadaHonk) #498576acf800123
] - fs: improve error performance forunlinkSync
(CanadaHonk) #4985631702c9403
] - fs: improvereadFileSync
with file descriptors (Yagiz Nizipli) #49691835f9fe7b9
] - fs: fix file descriptor validator (Yagiz Nizipli) #49752b618fe262f
] - fs: improve error performance ofopendirSync
(Yagiz Nizipli) #49705938471ef55
] - fs: improve error performance of sync methods (Yagiz Nizipli) #49593db3fc6d087
] - fs: fix readdir and opendir recursive with unknown file types (William Marlow) #496030f020ed22d
] - gyp: put cctest filenames in variables (Cheng Zhao) #491780ce1e94d12
] - lib: update encoding sets inWHATWG API
(Jungku Lee) #49610efd6815a7a
] - lib: fixinternalBinding
typings (Yagiz Nizipli) #497421287d5b74e
] - lib: allow byob reader for 'blob.stream()' (Debadree Chatterjee) #49713bbc710522d
] - lib: reset the cwd cache before execution (Maël Nison) #49684f62d649e4d
] - lib: use internalfileURLToPath
(Deokjin Kim) #49558e515046941
] - lib: use internalpathToFileURL
(Livia Medeiros) #4955300608e8070
] - lib: check SharedArrayBuffer availability in freeze_intrinsics.js (Milan Burda) #494828bfbe7079c
] - meta: fix linter error (Antoine du Hamel) #4975558f7a9e096
] - meta: add primordials strategic initiative (Benjamin Gruenbaum) #497065366027756
] - meta: bump github/codeql-action from 2.21.2 to 2.21.5 (dependabot[bot]) #49438fe26b74082
] - meta: bump rtCamp/action-slack-notify from 2.2.0 to 2.2.1 (dependabot[bot]) #49437b0ce78a75b
] - module: fix the leak in SourceTextModule and ContextifySript (Joyee Cheung) #485104e578f8ab1
] - module: fix leak of vm.SyntheticModule (Joyee Cheung) #4851069e4218772
] - module: use symbol in WeakMap to manage host defined options (Joyee Cheung) #4851096874e8fbc
] - node-api: enable uncaught exceptions policy by default (Chengzhong Wu) #49313b931aeadfd
] - perf_hooks: reduce overhead of new performance_entries (Vinicius Lourenço) #49803ad043bac31
] - process: add custom dir support for heapsnapshot-signal (Jithil P Ponnan) #478548a7c10194c
] - repl: don't accumulate excess indentation in .load (Daniel X Moore) #4946110a2adeed5
] - src: improve error message when ICU data cannot be initialized (Joyee Cheung) #49666ce37688bac
] - src: remove unnecessary todo (Rafael Gonzaga) #49227f611583b71
] - src: use SNAPSHOT_SERDES to log snapshot ser/deserialization (Joyee Cheung) #49637a597cb8457
] - src: port Pipe to uv_pipe_bind2, uv_pipe_connect2 (Geoff Goodman) #49667fb21062338
] - src: set --rehash-snapshot explicitly (Joyee Cheung) #4955614ece0aa76
] - (SEMVER-MINOR) src: allow embedders to override NODE_MODULE_VERSION (Cheng Zhao) #492794b5e23c71b
] - src: set ModuleWrap internal fields only once (Joyee Cheung) #493912d3f5c7cab
] - src: fix fs_type_to_name default value (Mustafa Ateş Uzun) #49239cfbcb1059c
] - src: fix comment on StreamResource (rogertyang) #4919339fb83ad16
] - src: do not rely on the internal field being default to undefined (Joyee Cheung) #494139fd67fbff0
] - stream: use bitmap in writable state (Raz Luvaton) #498340ccd4638ac
] - stream: use bitmap in readable state (Benjamin Gruenbaum) #49745b29d927010
] - stream: improve readable webstreampipeTo
(Raz Luvaton) #496907c5e322346
] - stream: improve webstream readable async iterator performance (Raz Luvaton) #49662be211ef818
] - test: deflake test-vm-contextified-script-leak (Joyee Cheung) #49710355f10dab2
] - test: use checkIfCollectable in vm leak tests (Joyee Cheung) #4967117cfc531aa
] - test: add checkIfCollectable to test/common/gc.js (Joyee Cheung) #49671e49a573752
] - test: add os setPriority, getPriority test coverage (Wael) #387715f02711522
] - test: deflake test-runner-output (Moshe Atlow) #49878cd9754d6a7
] - test: mark test-runner-output as flaky (Joyee Cheung) #498545ad00424dd
] - test: use mustSucceed instead of mustCall (SiddharthDevulapalli) #497883db9b40081
] - test: refactor test-readline-async-iterators into a benchmark (Shubham Pandey) #492372cc5ad7859
] - Revert "test: mark test-http-regr-gh-2928 as flaky" (Luigi Pinca) #49708e5185b053c
] - test: usefs.constants
forfs.access
constants (Livia Medeiros) #49685b9e5b43462
] - test: deflake test-http-regr-gh-2928 (Luigi Pinca) #495741fffda504e
] - test: fix argument computation in embedtest (Joyee Cheung) #495066e56f2db52
] - test: skip test-child-process-stdio-reuse-readable-stdio on Windows (Joyee Cheung) #49621ab3afb330d
] - test: mark test-runner-watch-mode as flaky (Joyee Cheung) #49627185d9b50db
] - test: deflake test-tls-socket-close (Luigi Pinca) #49575c70c74a9e6
] - test: show more info on failure in test-cli-syntax-require.js (Joyee Cheung) #49561ed7c6d1114
] - test: mark test-http-regr-gh-2928 as flaky (Joyee Cheung) #495653599eebab9
] - test: use spawnSyncAndExitWithoutError in sea tests (Joyee Cheung) #49543f79b153e89
] - test: use spawnSyncAndExitWithoutError in test/common/sea.js (Joyee Cheung) #49543c079c73769
] - test: use setImmediate() in test-heapdump-shadowrealm.js (Joyee Cheung) #49573667a92493c
] - test: skip test-child-process-pipe-dataflow.js on Windows (Joyee Cheung) #4956391af0a9a3c
] - Revert "test: ignore the copied entry_point.c" (Chengzhong Wu) #49515567afc71b8
] - test: avoid copying test source files (Chengzhong Wu) #49515ced25a976d
] - test: increase coverage ofModule.register
andinitialize
hook (Antoine du Hamel) #49532be02fbdb8a
] - test: isolateglobalPreload
tests (Geoffrey Booth) #49545f214428845
] - test: split test-crypto-dh to avoid timeout on slow machines in the CI (Joyee Cheung) #494923987094569
] - test: maketest-dotenv-node-options
locale-independent (Livia Medeiros) #4947034c1741792
] - test: add test for urlstrings usage innode:fs
(Livia Medeiros) #49471c3c6c4f007
] - test: make test-worker-prof more robust (Joyee Cheung) #49274843df1a4da
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #4971480b342cc38
] - (SEMVER-MINOR) test_runner: accepttestOnly
inrun
(Moshe Atlow) #4975376865515b9
] - test_runner: fix test runner watch mode when no positional arguments (Moshe Atlow) #4957817a05b141d
] - (SEMVER-MINOR) test_runner: add junit reporter (Moshe Atlow) #496145672e38457
] - test_runner: add jsdocs to mock.js (Caio Borghi) #49555b4d42a8f2b
] - test_runner: fix invalid timer call (Erick Wendel) #49477f755e6786b
] - test_runner: add jsdocs to MockTimers (Erick Wendel) #49476e7285d4bf0
] - test_runner: fix typescript coverage (Moshe Atlow) #4940607a2e29bf3
] - tools: support updating @reporters/github manually (Moshe Atlow) #498715ac6722031
] - tools: skip ruff on tools/node_modules (Moshe Atlow) #49838462228bd24
] - tools: fix uvwasi updater (Michael Dawson) #49682ff81bfb958
] - tools: update lint-md-dependencies to rollup@3.29.2 (Node.js GitHub Bot) #4967908ffc6344c
] - tools: restrict internal code from using publicurl
module (LiviaMedeiros) #49590728ebf6c97
] - tools: update eslint to 8.49.0 (Node.js GitHub Bot) #4958620d038ffb1
] - tools: update lint-md-dependencies to rollup@3.29.0 unified@11.0.3 (Node.js GitHub Bot) #49584210c15bd12
] - tools: allow passing absolute path of config.gypi in js2c (Cheng Zhao) #49162e341efe173
] - tools: configure never-stale label correctly (Michaël Zasso) #49498a8a8a498ce
] - tools: update doc dependencies (Node.js GitHub Bot) #49467ac06607f9e
] - typings: fix missing property inExportedHooks
(Antoine du Hamel) #49567097b59807a
] - url: improve invalid url performance (Yagiz Nizipli) #496927c2060cfac
] - util: addgetCwdSafe
internal util fn (João Lenon) #48434c23c60f545
] - zlib: disable CRC32 SIMD optimization (Luigi Pinca) #49511v20.7.0
: 2023-09-18, Version 20.7.0 (Current), @UlisesGasconCompare Source
Notable Changes
022f1b70c1
] - src: support multiple--env-file
declarations (Yagiz Nizipli) #495424a1d1cad61
] - crypto: update root certificates to NSS 3.93 (Node.js GitHub Bot) #49341a1a65f593c
] - deps: upgrade npm to 10.1.0 (npm team) #495706c2480cad9
] - (SEMVER-MINOR) deps: upgrade npm to 10.0.0 (npm team) #49423bef900e56b
] - doc: move and rename loaders section (Geoffrey Booth) #49261db4ce8a593
] - doc: add release key for Ulises Gascon (Ulises Gascón) #4919611c85ffa98
] - (SEMVER-MINOR) lib: add api to detect whether source-maps are enabled (翠 / green) #46391ec51e25ed7
] - src,permission: add multiple allow-fs-* flags (Carlos Espa) #49047efdc95fbc0
] - (SEMVER-MINOR) test_runner: expose location of tests (Colin Ihrig) #48975Commits
e84515594e
] - benchmark: usetmpdir.resolve()
(Livia Medeiros) #49137f37444e896
] - bootstrap: build code cache from deserialized isolate (Joyee Cheung) #49099af6dc1754d
] - bootstrap: do not generate code cache in an unfinalized isolate (Joyee Cheung) #49108cade5716df
] - build: add symlink tocompile_commands.json
file if needed (Juan José) #4926034a2590b05
] - build: expand when we run internet tests (Michael Dawson) #49218f637fd46ab
] - build: fix typolibray
->library
(configure.py) (michalbiesek) #49106ef3d8dd493
] - crypto: remove webcrypto EdDSA key checks and properties (Filip Skokan) #494084a1d1cad61
] - crypto: update root certificates to NSS 3.93 (Node.js GitHub Bot) #493417eb10a38ea
] - crypto: remove getDefaultEncoding() (Tobias Nießen) #49170772496c030
] - crypto: remove default encoding from DiffieHellman (Tobias Nießen) #49169c795083232
] - crypto: remove default encoding from Hash/Hmac (Tobias Nießen) #4916708197aa010
] - crypto: remove default encoding from sign/verify (Tobias Nießen) #49145a1a65f593c
] - deps: upgrade npm to 10.1.0 (npm team) #495706c2480cad9
] - (SEMVER-MINOR) deps: upgrade npm to 10.0.0 (npm team) #4942384195d9584
] - deps: add missing thread-common.c in uv.gyp (Santiago Gimeno) #494105b70b68b3d
] - deps: V8: cherry-pickeadaef5
(Adam Majer) #49401fe34d632e8
] - deps: update zlib to 1.2.13.1-motley-f5fd0ad (Node.js GitHub Bot) #49252db4ce8a593
] - doc: add release key for Ulises Gascon (Ulises Gascón) #49196e5f3a694cf
] - doc: fix node-api call example (Chengzhong Wu) #49395021345a724
] - doc: add news issue for Diagnostics WG (Michael Dawson) #49306f82347266b
] - doc: clarify policy expectations (Rafael Gonzaga) #4894773cfd9c895
] - doc: add print results for examples inStringDecoder
(Jungku Lee) #4932663ab591416
] - doc: update outdated reference to NIST SP 800-131A (Tobias Nießen) #49316935dfe2afd
] - doc: usecjs
as block code's type inMockTimers
(Deokjin Kim) #493097c0cd2fb87
] - doc: updateoptions.filter
description forfs.cp
(Shubham Pandey) #49289f72e79ea67
] - doc: add riscv64 to list of architectures (Stewart X Addison) #49284d19c710064
] - doc: avoid "not currently recommended" (Tobias Nießen) #49300ae656101c0
] - doc: update module hooks docs (Geoffrey Booth) #49265fefbdb92f2
] - doc: modify param description for end(),write() inStringDecoder
(Jungku Lee) #4928559e66a1ebe
] - doc: use NODE_API_SUPPORTED_VERSION_MAX in release doc (Cheng Zhao) #49268ac3b88449b
] - doc: fix typo instream.finished
documentation (Antoine du Hamel) #492717428ebf6c3
] - doc: update description forpercent_encode
sets inWHATWG API
(Jungku Lee) #49258bef900e56b
] - doc: move and rename loaders section (Geoffrey Booth) #49261a22e0d9696
] - doc: clarify use of Uint8Array for n-api (Fedor Indutny) #487421704f24cb9
] - doc: add signature formodule.register
(Geoffrey Booth) #492515a363bb01b
] - doc: caveat unavailability ofimport.meta.resolve
in custom loaders (Jacob Smith) #492428101f2b259
] - doc: use same name in the doc as in the code (Hyunjin Kim) #49216edf278d60d
] - doc: add notable-change label mention to PR template (Rafael Gonzaga) #491883df2251a6a
] - doc: add h1 summary to security release process (Rafael Gonzaga) #491129fcd99a744
] - doc: update to semver-minor releases by default (Rafael Gonzaga) #49175777931f499
] - doc: fix wording in napi_async_init (Tobias Nießen) #49180f45c8e10c0
] - doc,test: add known path resolution issue in permission model (Tobias Nießen) #49155a6cfea3f74
] - esm: align sync and async load implementations (Antoine du Hamel) #491529fac310b33
] - fs: add the options param description in openAsBlob() (Yeseul Lee) #4930892772a8175
] - fs: remove redundant code in readableWebStream() (Deokjin Kim) #4929888ba79b083
] - fs: make sure to write entire buffer (Robert Nagy) #4921111c85ffa98
] - (SEMVER-MINOR) lib: add api to detect whether source-maps are enabled (翠 / green) #46391c12711ebfe
] - lib: implement WeakReference on top of JS WeakRef (Joyee Cheung) #490539a0891f88d
] - meta: bump step-security/harden-runner from 2.5.0 to 2.5.1 (dependabot[bot]) #49435ae67f41ef1
] - meta: bump actions/checkout from 3.5.3 to 3.6.0 (dependabot[bot]) #4943671b4411fb2
] - meta: bump actions/setup-node from 3.7.0 to 3.8.1 (dependabot[bot]) #4943483b7d3a395
] - meta: remove modules team from CODEOWNERS (Benjamin Gruenbaum) #4941281ff68c45c
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #49264ab975233cc
] - meta: mention nodejs/tsc when changing GH templates (Rafael Gonzaga) #49189ceaa5494de
] - meta: add test/reporters to codeowners (Chemi Atlow) #49186de0a51b7cf
] - net: improve performance of isIPv4 and isIPv6 (Uzlopak) #495688d0913bf95
] - net: use asserts in JS Socket Stream to catch races in future (Tim Perry) #494002486836a7d
] - net: fix crash due to simultaneous close/shutdown on JS Stream Sockets (Tim Perry) #494007a808340cd
] - node-api: fix compiler warning in node_api.h (Michael Graeb) #4910330f26a99f4
] - permission: ensure to resolve path when calling mkdtemp (RafaelGSS) nodejs-private/node-private#4405051c75a5b
] - policy: fix path to URL conversion (Antoine du Hamel) #49133173aed4757
] - report: fix recent coverity warning (Michael Dawson) #48954d7ff78b442
] - sea: generate code cache with deserialized isolate (Joyee Cheung) #49226022f1b70c1
] - src: support multiple--env-file
declarations (Yagiz Nizipli) #49542154b1c2115
] - src: don't overwrite environment from .env file (Phil Nash) #49424dc4de1c69b
] - src: modify code for empty string (pluris) #49336701c46f967
] - src: remove unused PromiseWrap-related code (Joyee Cheung) #493354a094dc7af
] - src: rename IsAnyByteSource to IsAnyBufferSource (Tobias Nießen) #4934655d6649175
] - src: support snapshot deserialization in RAIIIsolate (Joyee Cheung) #49226dc092864ef
] - src: remove unused functionGetName()
in node_perf (Jungku Lee) #49244f2552a410e
] - src: use ARES_SUCCESS instead of 0 (Jungku Lee) #490484a9ae31519
] - src: add a condition if the argument ofDomainToUnicode
is empty (Jungku Lee) #49097f460362cdf
] - src: remove C++ WeakReference implementation (Joyee Cheung) #490532a35383b3e
] - src: use per-realm GetBindingData() wherever applicable (Joyee Cheung) #49007184bbddcf5
] - src: add per-realm GetBindingData() method (Joyee Cheung) #49007e9946885f9
] - src: serialize both BaseObject slots (Joyee Cheung) #48996ec51e25ed7
] - src,permission: add multiple allow-fs-* flags (Carlos Espa) #490478aac95de4b
] - stream: improve tee perf by reduceReflectConstruct
usages (Raz Luvaton) #495460eea7fd8fb
] - stream: use Buffer.from when constructor is a Buffer (Matthew Aitken) #49250b961d9bd52
] - stream: addhighWaterMark
for the map operator (Raz Luvaton) #49249ca1384166d
] - test: fix warning for comment in embedtest (Jungku Lee) #494162a35782809
] - test: simplify test-crypto-dh-group-setters (Tobias Nießen) #494046740f3c209
] - test: verify dynamic import call with absolute path strings (Chengzhong Wu) #492756ed47bd8fb
] - test: reduce length in crypto keygen tests (Joyee Cheung) #492214faa30c553
] - test: split JWK async elliptic curve keygen tests (Joyee Cheung) #49221e04a2603d8
] - test: split test-crypto-keygen.js (Joyee Cheung) #492210d23c1d4ce
] - test: rename test-crypto-modp1-error (Tobias Nießen) #4934848e41569e2
] - test: migrate message source map tests from Python to JS (Yiyun Lei) #49238a11e64e09c
] - test: fix compiler warning in NodeCryptoEnv (Tobias Nießen) #49206345543938f
] - test: handle EUNATCH (Abdirahim Musse) #48050e391f4b197
] - test: usetmpdir.resolve()
(Livia Medeiros) #49136910378f93f
] - test: reduce flakiness oftest-esm-loader-hooks
(Antoine du Hamel) #492484a85f70462
] - test: add spawnSyncAndExit() and spawnSyncAndExitWithoutError() (Joyee Cheung) #492009610008b79
] - test: make test-perf-hooks more robust and work with workers (Joyee Cheung) #49197dc8fff9a75
] - test: use gcUntil() in test-v8-serialize-leak (Joyee Cheung) #49168ca9f801332
] - test: make WeakReference tests robust (Joyee Cheung) #49053de103a4686
] - test: add test for effect of UV_THREADPOOL_SIZE (Tobias Nießen) #4916547d24f144b
] - test: use expectSyncExit{WithErrors} in snapshot tests (Joyee Cheung) #49020c441f5a097
] - test: add expectSyncExitWithoutError() and expectSyncExit() utils (Joyee Cheung) #490204d184b5251
] - test: remove --no-warnings flag in test_runner fixtures (Raz Luvaton) #4898925e967a90b
] - test: reorder test files fixtures for better understanding (Raz Luvaton) #48787fac56dbcc0
] - test,benchmark: usetmpdir.fileURL()
(Livia Medeiros) #4913836763fa532
] - test_runner: preserve original property descriptor (Erick Wendel) #4943340e9fcdbea
] - test_runner: add support for setImmediate (Erick Wendel) #4939723216f1935
] - test_runner: report covered lines, functions and branches to reporters (Phil Nash) #49320283f2806b1
] - test_runner: expose spec reporter as newable function (Chemi Atlow) #49184546ad5f770
] - test_runner: reland run global after() hook earlier (Colin Ihrig) #49116efdc95fbc0
] - (SEMVER-MINOR) test_runner: expose location of tests (Colin Ihrig) #489754bc0a8fe99
] - test_runner: fix global after not failing the tests (Raz Luvaton) #4891308738b2664
] - test_runner: fix timeout in *Each hook failing further tests (Raz Luvaton) #48925c2f1830f66
] - test_runner: cleanup test timeout abort listener (Raz Luvaton) #4891575333f38b2
] - test_runner: fix global before not called when no global test exists (Raz Luvaton) #48877b28b85adf8
] - tls: remove redundant code in onConnectSecure() (Deokjin Kim) #4945783fc4dccbc
] - tls: refactor to use validateFunction (Deokjin Kim) #494228949cc79dd
] - tls: ensure TLS Sockets are closed if the underlying wrap closes (Tim Perry) #493271df56e6f01
] - tools: update eslint to 8.48.0 (Node.js GitHub Bot) #49343ef50ec5b57
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #493429a8fb4fc34
] - tools: remove v8_dump_build_config action (Cheng Zhao) #4930191b2d4314b
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #49253b51946ebdd
] - tools: fix github reporter appended multiple times (Moshe Atlow) #49199ae40cb1612
] - url: validatepathToFileURL(path)
argument as string (LiviaMedeiros) #49161e787673dcf
] - url: handle unicode hostname if empty (Yagiz Nizipli) #493966ee74be87f
] - vm: store MicrotaskQueue in ContextifyContext directly (Joyee Cheung) #489820179c6dc8f
] - worker: protect against user mutating well-known prototypes (Antoine du Hamel) #49270v20.6.1
: 2023-09-08, Version 20.6.1 (Current), @ruyadorno and @RafaelGSSCompare Source
Commit
8acbe6d8e8
] - esm: fix loading of CJS modules from ESM (Antoine du Hamel) #49500v20.6.0
: 2023-09-04, Version 20.6.0 (Current), @juanarbol prepared by @UlisesGasconCompare Source
Notable changes
built-in
.env
file supportStarting from Node.js v20.6.0, Node.js supports
.env
files for configuring environment variables.Your configuration file should follow the INI file format, with each line containing a key-value pair for an environment variable.
To initialize your Node.js application with predefined configurations, use the following CLI command:
node --env-file=config.env index.js
.For example, you can access the following environment variable using
process.env.PASSWORD
when your application is initialized:In addition to environment variables, this change allows you to define your
NODE_OPTIONS
directly in the.env
file, eliminating the need to include it in yourpackage.json
.This feature was contributed by Yagiz Nizipli in #48890.
import.meta.resolve
unflaggedIn ES modules,
import.meta.resolve(specifier)
can be used to get an absolute URL string to whichspecifier
resolves, similar torequire.resolve
in CommonJS. This aligns Node.js with browsers and other server-side runtimes.This feature was contributed by Guy Bedford in #49028
New
node:module
APIregister
for module customization hooks; newinitialize
hookThere is a new API
register
available onnode:module
to specify a file that exports module customization hooks, and pass data to the hooks, and establish communication channels with them. The “define the file with the hooks” part was previously handled by a flag--experimental-loader
, but when the hooks moved into a dedicated thread in 20.0.0 there was a need to provide a way to communicate between the main (application) thread and the hooks thread. This can now be done by callingregister
from the main thread and passing data, includingMessageChannel
instances.We encourage users to migrate to an approach that uses
--import
withregister
, such as:Using
--import
ensures that the customization hooks are registered before any application code runs, even the entry point.This feature was contributed by Izaak Schroeder in #48842 and #48559
Module customization
load
hook can now support CommonJSAuthors of module customization hooks can how handle both ES module and CommonJS sources in the
load
hook. This works for CommonJS modules referenced via eitherimport
orrequire
, so long as the main entry point of the application is handled by the ES module loader (such as because the entry point is an ES module file, or if the--import
flag is passed). This should simplify the customization of the Node.js module loading process, as package authors can customize more of Node.js without relying on deprecated APIs such asrequire.extensions
.This feature was contributed by Antoine du Hamel in #47999
Node.js C++ addons now have experimental support for cppgc (Oilpan), a C++ garbage collection library in V8.
Now when Node.js starts up, it makes sure that there is a
v8::CppHeap
attached to the V8 isolate. This enables users to allocate in thev8::CppHeap
using<cppgc/*>
headers from V8, which are now also included into the Node.js headers available to addons. Note that since Node.js only bundles the cppgc library coming from V8, the ABI stability of cppgc is currently not guaranteed in semver-minor and -patch updates, but we do not expect the ABI to break often, as it has been stable and battle-tested in Chromium for years. We may consider including cppgc into the ABI stability guarantees when it gets enough adoption internally and externally.To help addon authors create JavaScript-to-C++ references of which V8's garbage collector can be aware, a helper function
node::SetCppgcReference(isolate, js_object, cppgc_object)
has been added tonode.h
. V8 may provide a native alternative in the future, which could then replace this Node.js-specific helper. In the mean time, users can use this API to avoid having to hard-code the layout of JavaScript wrapper objects. An example of how to create garbage-collected C++ objects in the unified heap and wrap it in a JavaScript object can be found in the Node.js addon tests.The existing
node::ObjectWrap
helper would continue to work, while cppgc-based object management serves as an alternative with some advantages mentioned in the V8 blog post about Oilpan.This feature was contributed by Daryl Haresign and Joyee Cheung in #48660 and #45704.
Other notable changes
d6862b085c
] - deps: V8: cherry-pick9327503
(Joyee Cheung) #4866000fc8bb8b3
] - doc: add rluvaton to collaborators (Raz Luvaton) #49215d649339abd
] - doc: add new TSC members (Michael Dawson) #4884167f9896247
] - (SEMVER-MINOR) inspector: open addSymbolDispose
(Chemi Atlow) #487655aef593db3
] - module: implementregister
utility (João Lenon) #46826Commits
771abcb5da
] - benchmark: add benchmarks for the test_runner (Raz Luvaton) #489316b27bb0dab
] - benchmark: add pm startup benchmark (Rafael Gonzaga) #489051f35c0ca55
] - child_process: harden against prototype pollution (Livia Medeiros) #48726d6862b085c
] - deps: V8: cherry-pick9327503
(Joyee Cheung) #48660f71e383948
] - deps: update simdutf to 3.2.17 (Node.js GitHub Bot) #49019e14f0456ae
] - deps: update googletest to7e33b6a
(Node.js GitHub Bot) #49034bfaa0fb500
] - deps: update zlib to 1.2.13.1-motley-526382e (Node.js GitHub Bot) #49033b79c652c85
] - deps: update undici to 5.23.0 (Node.js GitHub Bot) #490216ead86145c
] - deps: update googletest toc875c4e
(Node.js GitHub Bot) #489644b0e50501e
] - deps: update ada to 2.6.0 (Node.js GitHub Bot) #48896d960ee0ba3
] - deps: upgrade npm to 9.8.1 (npm team) #48838d92b0139ca
] - deps: update zlib to 1.2.13.1-motley-61dc0bd (Node.js GitHub Bot) #487882a7835c376
] - deps: V8: cherry-pick9f4b769
(Joyee Cheung) #48830c8e17829ac
] - deps: V8: cherry-pickc1a54d5
(Joyee Cheung) #48830318e075b6f
] - deps: update googletest tocc36671
(Node.js GitHub Bot) #48789114e088267
] - diagnostics_channel: fix last subscriber removal (Gabriel Schulhof) #4893300fc8bb8b3
] - doc: add rluvaton to collaborators (Raz Luvaton) #4921521949c45b6
] - doc: add print results for examples inWebStreams
(Jungku Lee) #49143032107a6fe
] - doc: fixType
notation in webstreams (Deokjin Kim) #4912191d41e7c5a
] - doc: fix name of the flag ininitialize()
docs (Antoine du Hamel) #49158aa4caf810e
] - doc: make the NODE_VERSION_IS_RELEASE revert clear (Rafael Gonzaga) #49114f888a1dbe3
] - doc: update process.binding deprecation text (Tobias Nießen) #4908689fa3faf92
] - doc: update with latest security release (Rafael Gonzaga) #490853d36e7a941
] - doc: add description for--port
flag ofnode inspect
(Michael Bianco) #48785e9d9ca12a3
] - doc: add missing period (Rich Trott) #490947e7b554de0
] - doc: add ESM examples in http.md (btea) #4776348f8ccfd54
] - doc: detailed description of keystrokes Ctrl-Y and Meta-Y (Ray) #43529195885c8f8
] - doc: add "type" to test runner event details (Phil Nash) #490146ce25f8415
] - doc: reserve 118 for Electron 27 (David Sanders) #490239c26c0f296
] - doc: clarify use of process.env in worker threads on Windows (Daeyeon Jeong) #490087186e02aa0
] - doc: remove v14 mention (Rafael Gonzaga) #490059641ac6c65
] - doc: drop github actions check in sec release process (Rafael Gonzaga) #48978f3d62abb19
] - doc: improved joinDuplicateHeaders definition (Matteo Bianchi) #488590db104a08b
] - doc: fix second parameter name ofevents.addAbortListener
(Deokjin Kim) #489225173c559b7
] - doc: add new reporter events to custom reporter examples (Chemi Atlow) #48903660da785e6
] - doc: run license-builder (github-actions[bot]) #48898092f9fe92a
] - doc: change duration to duration_ms on test documentation (Ardi_Nugraha) #488925e4730858d
] - doc: improve requireHostHeader (Guido Penta) #48860045e3c549a
] - doc: add ver of 18.x where Node-api 9 is supported (Michael Dawson) #48876c20d35df34
] - doc: include experimental features assessment (Rafael Gonzaga) #48824d649339abd
] - doc: add new TSC members (Michael Dawson) #48841aeac327f2b
] - doc: refactor node-api support matrix (Michael Dawson) #48774388c7d9232
] - doc: declarepath
on example ofasync_hooks.executionAsyncId()
(Deokjin Kim) #48556fe20528c8e
] - doc: remove the . in the end to reduce confusing (Jason) #48719e69c8e173f
] - doc: nodejs-social over nodejs/tweet (Rafael Gonzaga) #48769ea547849fd
] - doc: expand on squashing and rebasing to land a PR (Chengzhong Wu) #4875131442b96a5
] - esm: fixglobalPreload
warning (Antoine du Hamel) #49069eb1215878b
] - esm: unflag import.meta.resolve (Guy Bedford) #4902857b24a34e6
] - esm: import.meta.resolve exact module not found errors should return (Guy Bedford) #49038f23b2a3066
] - esm: protectERR_UNSUPPORTED_DIR_IMPORT
against prototype pollution (Antoine du Hamel) #49060386e826a56
] - esm: addinitialize
hook, integrate withregister
(Izaak Schroeder) #4884274a2e1e0ab
] - esm: fix typoparentUrl
->parentURL
(Antoine du Hamel) #489990a4f7c669a
] - esm: unflagModule.register
and allow nested loaderimport()
(Izaak Schroeder) #48559a5597470ce
] - esm: add backglobalPreload
tests and fix failing ones (Antoine du Hamel) #48779d568600b42
] - events: remove weak listener for event target (Raz Luvaton) #489523d942d9842
] - fs: fix readdir recursive sync & callback (Ethan Arrowood) #48698c14ff69d69
] - fs: mentionURL
in NUL character error message (LiviaMedeiros) #48828d634d781d7
] - fs: makemkdtemp
accept buffers and URL (LiviaMedeiros) #488284515a285a4
] - fs: remove redundantnullCheck
(Livia Medeiros) #48826742597b14a
] - http: start connections checking interval on listen (Paolo Insogna) #4861167f9896247
] - (SEMVER-MINOR) inspector: open addSymbolDispose
(Chemi Atlow) #48765b66a3c1c96
] - lib: fix MIME overmatch in data URLs (André Alves) #49104dca8678a22
] - lib: fix to add resolve() before return at Blob.stream()'s source.pull() (bellbind) #48935420b85c00f
] - lib: remove invalid parameter to toASCII (Yagiz Nizipli) #48878a12ce11b09
] - lib,permission: drop repl autocomplete when pm enabled (Rafael Gonzaga) #48920458eaf5e75
] - meta: bump github/codeql-action from 2.20.1 to 2.21.2 (dependabot[bot]) #489864f88cb10e0
] - meta: bump step-security/harden-runner from 2.4.1 to 2.5.0 (dependabot[bot]) #4898522fc2a6ec6
] - meta: bump actions/setup-node from 3.6.0 to 3.7.0 (dependabot[bot]) #4898440103adabd
] - meta: bump actions/setup-python from 4.6.1 to 4.7.0 (dependabot[bot]) #4898384c0c6848c
] - meta: add mailmap entry for atlowChemi (Chemi Atlow) #488101a6e9450b8
] - module: make CJS load from ESM loader (Antoine du Hamel) #47999a5322c4b4a
] - module: ensure successful import returns the same result (Antoine du Hamel) #466625aef593db3
] - module: implementregister
utility (João Lenon) #46826015c4f788d
] - node-api: avoid macro redefinition (Tobias Nießen) #4887953ee98566b
] - permission: move PrintTree into unnamed namespace (Tobias Nießen) #4887430ea480135
] - permission: fix data types in PrintTree (Tobias Nießen) #487708380800375
] - readline: add paste bracket mode (Jakub Jankiewicz) #47150bc009d0c10
] - sea: add support for V8 bytecode-only caching (Darshan Sen) #48191f2f4ce9e29
] - src: use effective cppgc wrapper id to deduce non-cppgc id (Joyee Cheung) #48660bf7ff369f6
] - src: add built-in.env
file support (Yagiz Nizipli) #488908d6948f8e2
] - src: remove duplicated code inGenerateSingleExecutableBlob()
(Jungku Lee) #49119b030004cee
] - src: refactor vector writing in snapshot builder (Joyee Cheung) #48851497df8288d
] - src: add ability to overload fast api functions (Yagiz Nizipli) #48993e5b0dfa359
] - src: remove redundant code for uv_handle_type (Jungku Lee) #49061f126b9e3d1
] - src: modernize use-equals-default (Jason) #48735db4370fc3e
] - src: avoid string copy in BuiltinLoader::GetBuiltinIds (Yagiz Nizipli) #487219d13503c4e
] - src: fix callback_queue.h missing header (Jason) #487336c389df3aa
] - src: cast v8::Object::GetInternalField() return value to v8::Value (Joyee Cheung) #489437b9adff0be
] - src: do not pass user input to format string (Antoine du Hamel) #48973e0fdb7b092
] - src: remove ContextEmbedderIndex::kBindingDataStoreIndex (Joyee Cheung) #48836578c3d1e14
] - src: use ARES_SUCCESS instead of 0 (Hyunjin Kim) #48834ed23426aac
] - src: save the performance milestone time origin in the AliasedArray (Joyee Cheung) #487085dec186663
] - src: support snapshot in single executable applications (Joyee Cheung) #46824d759d4f631
] - src: remove unnecessary temporary creation (Jason) #48734409cc692db
] - src: fix nullptr access on realm (Jan Olaf Krems) #4880207d0fd61b1
] - src: remove OnScopeLeaveImpl's move assignment overload (Jason) #4873241cc3efa23
] - src: use string_view for utf-8 string creation (Yagiz Nizipli) #4872262a46d9335
] - src,permission: restrict by default when pm enabled (Rafael Gonzaga) #48907099159ce04
] - src,tools: initialize cppgc (Daryl Haresign) #48660600c08d197
] - stream: improve WebStreams performance (Raz Luvaton) #49089609b25fa99
] - stream: implement ReadableStream.from (Debadree Chatterjee) #48395750cca2738
] - test: usetmpdir.resolve()
(Livia Medeiros) #491286595367649
] - test: usetmpdir.resolve()
(Livia Medeiros) #49127661b055e75
] - test: usetmpdir.resolve()
in fs tests (Livia Medeiros) #49126b3c56d206f
] - test: usetmpdir.resolve()
in fs tests (Livia Medeiros) #491253ddb155d16
] - test: fix assertion message in test_async.c (Tobias Nießen) #491461d17c1032d
] - test: refactortest-esm-loader-hooks
for easier debugging (Antoine du Hamel) #4913113bd7a0293
] - test: addtmpdir.resolve()
(Livia Medeiros) #4907989b1bce56d
] - test: documentfixtures.fileURL()
(Livia Medeiros) #490832fcb855c76
] - test: reduce flakiness oftest-esm-loader-hooks
(Antoine du Hamel) #491057816e040df
] - test: stabilize the inspector-open-dispose test (Chemi Atlow) #49000e70e9747e4
] - test: print instruction for creating missing snapshot in assertSnapshot (Raz Luvaton) #48914669ac03520
] - test: addtmpdir.fileURL()
(Livia Medeiros) #49040b945d7be35
] - test: usespawn
andspawnPromisified
instead ofexec
(Antoine du Hamel) #48991b3a7427583
] - test: refactortest-node-output-errors
(Antoine du Hamel) #489926c3e5c4d69
] - test: usefixtures.fileURL
when appropriate (Antoine du Hamel) #489909138b78bcb
] - test: validate error code rather than message (Antoine du Hamel) #48972b4ca4a6f80
] - test: fix snapshot tests when cwd contains spaces or backslashes (Antoine du Hamel) #48959d4398d458c
] - test: ordercommon.mjs
in ASCII order (Antoine du Hamel) #48960b5991f5250
] - test: fix some assumptions in tests (Antoine du Hamel) #4895862e23f83f9
] - test: improve internal/worker/io.js coverage (Yoshiki Kurihara) #42387314bd6095c
] - test: fixes-module/test-esm-initialization
(Antoine du Hamel) #488803680a66df4
] - test: validate host with commas on url.parse (Yagiz Nizipli) #4887824c3742372
] - test: delete test-net-bytes-per-incoming-chunk-overhead (Michaël Zasso) #48811e01cce50f5
] - test: skip experimental test with pointer compression (Colin Ihrig) #48738d5e93b1074
] - test: fix flaky test-string-decode.js on x86 (Stefan Stojanovic) #487509136667d7d
] - test_runner: dont set exit code on todo tests (Moshe Atlow) #4892952c94908c0
] - test_runner: fix todo and only in spec reporter (Moshe Atlow) #489295ccfb8d515
] - test_runner: unwrap error message in TAP reporter (Colin Ihrig) #48942fa19b0ed05
] - test_runner: add__proto__
null (Raz Luvaton) #4866365d23940bf
] - test_runner: fix async callback in describe not awaited (Raz Luvaton) #488564bd5e55b43
] - test_runner: fix test_runnertest:fail
event type (Ethan Arrowood) #4885441058beed8
] - test_runner: call abort on test finish (Raz Luvaton) #48827821b11a59f
] - tls: fix bugs of double TLS (rogertyang) #489694439327e73
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #4912221dc844309
] - tools: use spec reporter in actions (Moshe Atlow) #491293471758696
] - tools: use @reporters/github when running in github actions (Moshe Atlow) #4912995a6e7661e
] - tools: add @reporters/github to tools (Moshe Atlow) #49129995cbf93eb
] - tools: update eslint to 8.47.0 (Node.js GitHub Bot) #49124ed065bc56e
] - tools: update lint-md-dependencies to rollup@3.27.2 (Node.js GitHub Bot) #49035a5f37178ad
] - tools: limit the number of auto start CIs (Antoine du Hamel) #49067c1bd680f89
] - tools: update eslint to 8.46.0 (Node.js GitHub Bot) #48966e09a6b4821
] - tools: update lint-md-dependencies to rollup@3.27.0 (Node.js GitHub Bot) #489650cd2393bd9
] - tools: update lint-md-dependencies to rollup@3.26.3 (Node.js GitHub Bot) #4888841929a2906
] - tools: update lint-md-dependencies to @rollup/plugin-commonjs@25.0.3 (Node.js GitHub Bot) #487911761bdfbd9
] - tools: update eslint to 8.45.0 (Node.js GitHub Bot) #48793b82f05cc4b
] - typings: update JSDoc forcwd
inchild_process
(LiviaMedeiros) #49029be7b511255
] - typings: sync JSDoc with the actual implementation (Hyunjin Kim) #4885345c860035d
] - url: overloadcanParse
V8 fast api method (Yagiz Nizipli) #4899360d614157b
] - url: fixisURL
detection by checkingpath
(Zhuo Zhang) #48928b12c3b5240
] - url: ensure getter access do not mutate observable symbols (Antoine du Hamel) #4889730fb7b7535
] - url: reducepathToFileURL
cpp calls (Yagiz Nizipli) #48709c3dbd0c1e4
] - util: useprimordials.ArrayPrototypeIndexOf
instead of mutable method (DaisyDogs07) #48586b79b2927ca
] - watch: decrease debounce rate (Moshe Atlow) #48926a12996298e
] - watch: use debounce instead of throttle (Moshe Atlow) #48926v20.5.1
: 2023-08-09, Version 20.5.1 (Current), @RafaelGSSCompare Source
This is a security release.
Notable Changes
The following CVEs are fixed in this release:
More detailed information on each of the vulnerabilities can be found in August 2023 Security Releases blog post.
Commits
92300b51b4
] - deps: update archs files for openssl-3.0.10+quic1 (Node.js GitHub Bot) #49036559698abf2
] - deps: upgrade openssl sources to quictls/openssl-3.0.10+quic1 (Node.js GitHub Bot) #490361bf3429e8e
] - lib,permission: restrict process.binding when pm is enabled (RafaelGSS) nodejs-private/node-private#43898a83a67e6
] - permission: ensure to resolve path when calling mkdtemp (RafaelGSS) nodejs-private/node-private#4641f0cde466b
] - permission: handle buffer path on fs calls (RafaelGSS) nodejs-private/node-private#439bd094d60ea
] - permission: handle fstatfs and add pm supported list (RafaelGSS) nodejs-private/node-private#4417337d21484
] - policy: handle Module.constructor and main.extensions bypass (RafaelGSS) nodejs-private/node-private#417cf348ec640
] - policy: disable process.binding() when enabled (Tobias Nießen) nodejs-private/node-private#397v20.5.0
: 2023-07-18, Version 20.5.0 (Current), @juanarbolCompare Source
Notable Changes
45be29d89f
] - doc: add atlowChemi to collaborators (atlowChemi) #48757a316808136
] - (SEMVER-MINOR) events: allow safely adding listener to abortSignal (Chemi Atlow) #48596986b46a567
] - fs: add a fast-path for readFileSync utf-8 (Yagiz Nizipli) #486580ef73ff6f0
] - (SEMVER-MINOR) test_runner: add shards support (Raz Luvaton) #48639Commits
eb0aba59b8
] - bootstrap: use correct descriptor for Symbol.{dispose,asyncDispose} (Jordan Harband) #48703e2d0195dcf
] - bootstrap: hide experimental web globals with flag kNoBrowserGlobals (Chengzhong Wu) #4854567a1018389
] - build: do not pass target toolchain flags to host toolchain (Ivan Trubach) #485977d843bb942
] - child_process: use addAbortListener (atlowChemi) #485504e08160f8c
] - child_process: supportSymbol.dispose
(Moshe Atlow) #48551ef7728bf36
] - deps: update nghttp2 to 1.55.1 (Node.js GitHub Bot) #487901454f02499
] - deps: update nghttp2 to 1.55.0 (Node.js GitHub Bot) #48746fa94debf46
] - deps: update minimatch to 9.0.3 (Node.js GitHub Bot) #48704c73cfcc144
] - deps: update acorn to 8.10.0 (Node.js GitHub Bot) #48713b7a076a052
] - deps: V8: cherry-pickcb00db4
(Keyhan Vakil) #48671150e15536b
] - deps: upgrade npm to 9.8.0 (npm team) #48665c47b2cbd35
] - dgram: socket addasyncDispose
(atlowChemi) #48717002ce31cca
] - dgram: use addAbortListener (atlowChemi) #4855045be29d89f
] - doc: add atlowChemi to collaborators (atlowChemi) #4875769b55d2261
] - doc: fix ambiguity in http.md and https.md (an5er) #48692caccb051c7
] - doc: clarify transform._transform() callback argument logic (Rafael Sofi-zada) #48680999ae0c8c3
] - doc: fix copy node executable in Windows (Yoav Vainrich) #486247daefaeb44
] - doc: drop <b> of v20 changelog (Rafael Gonzaga) #48649dd7ea3e1df
] - doc: mention git node release prepare (Rafael Gonzaga) #48644cc7809df21
] - esm: fix emit deprecation on legacy main resolve (Antoine du Hamel) #4866467b13d1dba
] - events: fix bug listenerCount don't compare wrapped listener (yuzheng14) #48592a316808136
] - (SEMVER-MINOR) events: allow safely adding listener to abortSignal (Chemi Atlow) #48596986b46a567
] - fs: add a fast-path for readFileSync utf-8 (Yagiz Nizipli) #48658e4333ac41f
] - http2: use addAbortListener (atlowChemi) #485504a0b66e4f9
] - http2: send RST code 8 on AbortController signal (Devraj Mehta) #485731295c76fce
] - lib: use addAbortListener (atlowChemi) #48550dff6c25a36
] - meta: bump actions/checkout from 3.5.2 to 3.5.3 (dependabot[bot]) #48625b5cb69ceaa
] - meta: bump step-security/harden-runner from 2.4.0 to 2.4.1 (dependabot[bot]) #48626332e480b46
] - meta: bump ossf/scorecard-action from 2.1.3 to 2.2.0 (dependabot[bot]) #4862825c5a0aaee
] - meta: bump github/codeql-action from 2.3.6 to 2.20.1 (dependabot[bot]) #486276406f50ab1
] - module: add SourceMap.lineLengths (Isaac Z. Schlueter) #48461cfa69bd48c
] - net: server addasyncDispose
(atlowChemi) #48717ac11264cc5
] - net: use addAbortListener (atlowChemi) #4855082d6b13bf6
] - permission: add debug log when inserting fs nodes (Rafael Gonzaga) #48677f4333b1cdd
] - permission: v8.writeHeapSnapshot and process.report (Rafael Gonzaga) #48564f691dca6c9
] - readline: use addAbortListener (atlowChemi) #48550227e6bd898
] - src: pass syscall onfs.readFileSync
fail operation (Yagiz Nizipli) #48815a9a4b73653
] - src: make BaseObject iteration order deterministic (Joyee Cheung) #48702d99ea4845a
] - src: remove kEagerCompile for CompileFunction (Keyhan Vakil) #48671df363d0010
] - src: deduplicate X509 getter implementations (Tobias Nießen) #485639cf2e1f55b
] - src,lib: reducing C++ calls of esm legacy main resolve (Vinicius Lourenço) #48325daeb21dde9
] - stream: fix deadlock when pipeing to full sink (Robert Nagy) #486915a382d02d6
] - stream: use addAbortListener (atlowChemi) #485506e82077dd4
] - test: deflake test-net-throttle (Luigi Pinca) #48599d378b2c822
] - test: move test-net-throttle to parallel (Luigi Pinca) #48599dfa0aee5bf
] - Revert "test: remove test-crypto-keygen flaky designation" (Luigi Pinca) #486520ef73ff6f0
] - (SEMVER-MINOR) test_runner: add shards support (Raz Luvaton) #48639e2442bb7ef
] - timers: support Symbol.dispose (Moshe Atlow) #486334398ade426
] - tools: run fetch_deps.py with Python 3 (Richard Lau) #4872938ce95d054
] - tools: update doc to unist-util-select@5.0.0 unist-util-visit@5.0.0 (Node.js GitHub Bot) #48714b25e78a998
] - tools: update lint-md-dependencies to rollup@3.26.2 (Node.js GitHub Bot) #48705a1f4ff7c59
] - tools: update eslint to 8.44.0 (Node.js GitHub Bot) #4863242dc6eb698
] - tools: update lint-md-dependencies to rollup@3.26.0 (Node.js GitHub Bot) #4863107bfcc45ab
] - url: fixcanParse
false value when v8 optimizes (Yagiz Nizipli) #48817v20.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 to-vfile@8.0.0 (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) #48319v20.3.1
: 2023-06-20, Version 20.3.1 (Current), @RafaelGSSCompare Source
This is a security release.
Notable Changes
The following CVEs are fixed in this release:
mainModule.__proto__
Bypass Experimental Policy Mechanism (High)More detailed information on each of the vulnerabilities can be found in June 2023 Security Releases blog post.
Commits
dac08dafc9
] - crypto: handle cert with invalid SPKI gracefully (Tobias Nießen) nodejs-private/node-private#393d274c3babc
] - crypto,https,tls: disable engines if perms enabled (Tobias Nießen) nodejs-private/node-private#4095621c1de38
] - deps: update archs files for openssl-3.0.9-quic1 (Node.js GitHub Bot) #48402771caa9f1c
] - deps: upgrade openssl sources to quictls/openssl-3.0.9-quic1 (Node.js GitHub Bot) #484020459bf9c99
] - doc,test: clarify behavior of DH generateKeys (Tobias Nießen) nodejs-private/node-private#42627e20501aa
] - http: disable request smuggling via empty headers (Paolo Insogna) nodejs-private/node-private#4279c17e335f1
] - msi: do not create AppData\Roaming\npm (Tobias Nießen) nodejs-private/node-private#408b51124c637
] - permission: handle fs path traversal (RafaelGSS) nodejs-private/node-private#403ebc5927adc
] - permission: handle fs.openAsBlob (RafaelGSS) nodejs-private/node-private#405c39a43bff5
] - permission: handle fs.watchFile (RafaelGSS) nodejs-private/node-private#404d0a8264ec9
] - policy: handle mainModule.__proto__ bypass (RafaelGSS) nodejs-private/node-private#4163df13d5a79
] - src,permission: restrict inspector when pm enabled (RafaelGSS) nodejs-private/node-private#410v20.3.0
: 2023-06-08, Version 20.3.0 (Current), @targosCompare Source
Notable Changes
bfcb3d1d9a
] - deps: upgrade to libuv 1.45.0, including significant performance improvements to file system operations on Linux (Santiago Gimeno) #480785094d1b292
] - doc: add Ruy Adorno to list of TSC members (Michael Dawson) #481722f5dbca690
] - doc: mark Node.js 14 as End-of-Life (Richard Lau) #48023b1828b325e
] - (SEMVER-MINOR) lib: implementAbortSignal.any()
(Chemi Atlow) #47821f380953103
] - module: change default resolver to not throw on unknown scheme (Gil Tayar) #47824a94f87ed99
] - (SEMVER-MINOR) node-api: define version 9 (Chengzhong Wu) #481519e2b13dfa7
] - stream: deprecateasIndexedPairs
(Chemi Atlow) #48102Commits
35c96156d1
] - benchmark: usecluster.isPrimary
instead ofcluster.isMaster
(Deokjin Kim) #480023e6e3abf32
] - bootstrap: throw ERR_NOT_SUPPORTED_IN_SNAPSHOT in unsupported operation (Joyee Cheung) #47887c480559347
] - bootstrap: put is_building_snapshot state in IsolateData (Joyee Cheung) #4788750c0a15535
] - build: set v8_enable_webassembly=false when lite mode is enabled (Cheng Shao) #482484562805cf6
] - build: speed up compilation of mksnapshot output (Keyhan Vakil) #481628b89f13933
] - build: add action to close stale PRs (Michael Dawson) #480515d92202220
] - build: replace js2c.py with js2c.cc (Joyee Cheung) #469976cf2adc36e
] - cluster: use ObjectPrototypeHasOwnProperty (Daeyeon Jeong) #48141f564b03c38
] - crypto: use openssl's own memory BIOs in crypto_context.cc (GauriSpears) #47160ac8dd61fc3
] - crypto: remove default encoding from cipher (Tobias Nießen) #4799815c2de4407
] - crypto: fix setEngine() when OPENSSL_NO_ENGINE set (Tobias Nießen) #479779e2dd5b5e2
] - deps: update zlib to337322d
(Node.js GitHub Bot) #48218bfcb3d1d9a
] - deps: upgrade to libuv 1.45.0 (Santiago Gimeno) #4807813930f092f
] - deps: update ada to 2.5.0 (Node.js GitHub Bot) #482233047caebec
] - deps: setCARES_RANDOM_FILE
for c-ares (Richard Lau) #481560db79a0872
] - deps: update histogram 0.11.8 (Marco Ippolito) #4774299af6716f5
] - deps: update histogram to 0.11.7 (Marco Ippolito) #47742d4922bc985
] - deps: update c-ares to 1.19.1 (Node.js GitHub Bot) #48115f6ccdb289f
] - deps: update simdutf to 3.2.12 (Node.js GitHub Bot) #481183ed0afc778
] - deps: update minimatch to 9.0.1 (Node.js GitHub Bot) #48094df7540fb73
] - deps: update ada to 2.4.2 (Node.js GitHub Bot) #4809207df5c48e8
] - deps: update corepack to 0.18.0 (Node.js GitHub Bot) #48091d95a5bb559
] - deps: update uvwasi to 0.0.18 (Node.js GitHub Bot) #47866443477e041
] - deps: update uvwasi to 0.0.17 (Node.js GitHub Bot) #4786603f67d6d6d
] - deps: upgrade npm to 9.6.7 (npm team) #48062d3e3a911fd
] - deps: update nghttp2 to 1.53.0 (Node.js GitHub Bot) #47997f7c4daaf67
] - deps: update ada to 2.4.1 (Node.js GitHub Bot) #48036c6a752560d
] - deps: add loongarch64 into openssl Makefile and gen openssl-loongarch64 (Shi Pujin) #46401d194241716
] - deps: update undici to 5.22.1 (Node.js GitHub Bot) #4799402e919f4a2
] - deps,test: update postject to 1.0.0-alpha.6 (Node.js GitHub Bot) #480722c19f596ad
] - doc: clarify array args to Buffer.from() (Bryan English) #48274d681e5f456
] - doc: document watch option for node:test run() (Moshe Atlow) #4825696e54ddbca
] - doc: reserve 117 for Electron 26 (Calvin) #482459aff8c7818
] - doc: update documentation for FIPS support (Richard Lau) #481948c5338648f
] - doc: improve the documentation of the stdio option (Kumar Arnav) #4811011918d705f
] - doc: update Buffer.allocUnsafe description (sinkhaha) #481832b51ee5e22
] - doc: update codeowners with website team (Claudio Wunder) #48197360df25d04
] - doc: fix broken link to new folder doc/contributing/maintaining (Andrea Fassina) #4820513e95e21a4
] - doc: add atlowChemi to triagers (Chemi Atlow) #481045f83ce530f
] - doc: fix typo in readline completer function section (Vadym) #481883c82165d27
] - doc: remove broken link for keygen (Rich Trott) #481760ca90a1e6d
] - doc: addauto
intrinsic height to prevent jitter/flicker (Daniel Holbert) #48195f117855092
] - doc: add version info on the SEA docs (Antoine du Hamel) #481735094d1b292
] - doc: add Ruy to list of TSC members (Michael Dawson) #4817239d8140227
] - doc: update socket.remote* properties documentation (Saba Kharanauli) #481395497c13efe
] - doc: update outdated section on TLSv1.3-PSK (Tobias Nießen) #48123281dfaf727
] - doc: improve HMAC key recommendations (Tobias Nießen) #48121bd311b6c70
] - doc: clarify mkdir() recursive behavior (Stephen Odogwu) #481095b061c8922
] - doc: fix typo in crypto legacy streams API section (Tobias Nießen) #4812210ccb2bd81
] - doc: update SEA source link (Rich Trott) #48080415bf7f532
] - doc: clarify tty.isRaw (Roberto Vidal) #480550ac4b33c76
] - doc: correct line break for Windows terminals (Alex Schwartz) #48083f30ba5c320
] - doc: fix Windows code snippet tags (Antoine du Hamel) #4810012fef9b68c
] - doc: harmonize fenced code snippet flags (Antoine du Hamel) #4808213f163eace
] - doc: use secure key length for HMAC generateKey (Tobias Nießen) #480521e3e7c9f33
] - doc: update broken EVP_BytesToKey link (Rich Trott) #480645917ba1838
] - doc: update broken spkac link (Rich Trott) #480630e4a3b7db1
] - doc: document node-api version process (Chengzhong Wu) #4797285bbaa94ea
] - doc: update process.versions properties (Saba Kharanauli) #480197660eb591a
] - doc: fix typo in binding functions (Deokjin Kim) #480032f5dbca690
] - doc: mark Node.js 14 as End-of-Life (Richard Lau) #480233b94a739f2
] - doc: clarify CRYPTO_CUSTOM_ENGINE_NOT_SUPPORTED (Tobias Nießen) #479769e381cfa89
] - doc: add heading for permission model limitations (Tobias Nießen) #47989802db923e0
] - doc,vm: clarify usage of cachedData in vm.compileFunction() (Darshan Sen) #4819311a3434810
] - esm: remove support for arrays inimport
internal method (Antoine du Hamel) #482963b00f3afef
] - esm: handleglobalPreload
hook returning a nullish value (Antoine du Hamel) #482493c7846d7e1
] - esm: handle more error types thrown from the loader thread (Antoine du Hamel) #4824760ce2bcabc
] - http: send implicit headers on HEAD with no body (Matteo Collina) #4810872de4e7170
] - lib: do not disable linter for entire files (Antoine du Hamel) #4829910cc60fc91
] - lib: use existingisWindows
variable (sinkhaha) #48134a90010aae9
] - lib: support FORCE_COLOR for non TTY streams (Moshe Atlow) #48034b1828b325e
] - (SEMVER-MINOR) lib: implement AbortSignal.any() (Chemi Atlow) #478218f1b86961f
] - meta: bump github/codeql-action from 2.3.3 to 2.3.6 (dependabot[bot]) #482871b87ccdf70
] - meta: bump actions/setup-python from 4.6.0 to 4.6.1 (dependabot[bot]) #4828610715aea26
] - meta: bump codecov/codecov-action from 3.1.3 to 3.1.4 (dependabot[bot]) #4828579f73778ab
] - meta: remove dont-land-on-v14 auto labeling (Shrujal Shah) #480319c5711f3ea
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #480106d6bf3ee52
] - module: reduce the number of URL initializations (Yagiz Nizipli) #48272f380953103
] - module: change default resolver to not throw on unknown scheme (Gil Tayar) #47824950185b0c0
] - net: fix address iteration with autoSelectFamily (Fedor Indutny) #482585ddca72e62
] - net: fix family autoselection SSL connection handling (Paolo Insogna) #48189750e53ca3c
] - net: fix family autoselection timeout handling (Paolo Insogna) #47860a94f87ed99
] - (SEMVER-MINOR) node-api: define version 9 (Chengzhong Wu) #48151e834979818
] - node-api: add status napi_cannot_run_js (Gabriel Schulhof) #47986eafe0c3ec6
] - node-api: napi_ref on all types is experimental (Vladimir Morozov) #479759a034746f5
] - src: add Realm document in the src README.md (Chengzhong Wu) #47932b8f4070f71
] - src: check node_extra_ca_certs after openssl cfg (Raghu Saxena) #481590347a18056
] - src: include missing header in node_sea.h (Joyee Cheung) #4815245c3782c20
] - src: remove INT_MAX asserts in SecretKeyGenTraits (Tobias Nießen) #48053b25e7045ad
] - src: avoid prototype access in binding templates (Joyee Cheung) #4791333aa373eec
] - src: use Blob{Des|S}erializer for SEA blobs (Joyee Cheung) #479629e2b13dfa7
] - stream: deprecate asIndexedPairs (Chemi Atlow) #4810296c323dee2
] - test: mark test-child-process-pipe-dataflow as flaky (Moshe Atlow) #483349875885357
] - test: adapt tests for OpenSSL 3.1 (OttoHollmann) #478593440d7c6bf
] - test: unflake test-vm-timeout-escape-nexttick (Santiago Gimeno) #48078215b2bc72c
] - test: fix zlib version regex (Luigi Pinca) #48227e12ee59d26
] - test: use lower security level in s_client (Luigi Pinca) #481921dabc7390c
] - Revert "test: unskip negative-settimeout.any.js WPT" (Filip Skokan) #48182c1c4796a86
] - test: mark test_cannot_run_js as flaky (Keyhan Vakil) #481818c49d74002
] - test: fix flaky test-runner-watch-mode (Moshe Atlow) #481446388766862
] - test: skip test-http-pipeline-flood on IBM i (Abdirahim Musse) #480488d2a3b1952
] - test: ignore helper files in WPTs (Filip Skokan) #480797a96d825fd
] - test: movetest-cluster-primary-error
flaky test (Yagiz Nizipli) #48039a80dd3a8b3
] - test: fix suite signal (Benjamin Gruenbaum) #47800a41cfd183f
] - test: fix parsing test flags (Daeyeon Jeong) #480124d4e506f2b
] - test,doc,sea: run SEA tests on ppc64 (Darshan Sen) #4811144411fc40c
] - test_runner: applyrunOnly
on suites (Moshe Atlow) #482793f259b7a30
] - test_runner: emittest:watch:drained
event (Moshe Atlow) #48259c9f8e8c562
] - test_runner: stop watch mode when abortSignal aborted (Moshe Atlow) #48259f3268d64cb
] - test_runner: fix global after hook (Moshe Atlow) #4823115336c3139
] - test_runner: remove redundant check from coverage (Colin Ihrig) #48070750d3e8606
] - test_runner: pass FORCE_COLOR to child process (Moshe Atlow) #480573278542243
] - test_runner: dont split lines ontest:stdout
(Moshe Atlow) #48057027c531766
] - test_runner: fix test deserialize edge cases (Moshe Atlow) #481062b797a6d39
] - test_runner: delegate stderr and stdout formatting to reporter (Shiba) #4804523d310bee8
] - test_runner: display dot report as wide as the terminal width (Raz Luvaton) #48038fd2620dcf1
] - tls: reapply servername on happy eyeballs connect (Fedor Indutny) #4825562f847d0b3
] - tools: update rollup lint-md-dependencies (Node.js GitHub Bot) #483293e97826a66
] - Revert "tools: open issue when update workflow fails" (Marco Ippolito) #483125f08bfe35f
] - tools: don't gitignore base64 config.h (Ben Noordhuis) #48174ded0e2d755
] - tools: update LICENSE and license-builder.sh (Santiago Gimeno) #4807807aa264366
] - tools: automate histogram update (Marco Ippolito) #481711416b75eaa
] - tools: use shasum instead of sha256sum (Luigi Pinca) #48229b81e9d9b7b
] - tools: harmonizedep_updaters
scripts (Antoine du Hamel) #48201a60bc41e53
] - tools: deps update authenticate github api request (Andrea Fassina) #482007478ed014e
] - tools: order dependency jobs alphabetically (Luca) #48184568a705799
] - tools: refactor v8_pch config (Michaël Zasso) #47364801573ba46
] - tools: log and verify sha256sum (Andrea Fassina) #48088db62325e18
] - tools: open issue when update workflow fails (Marco Ippolito) #48018ad8a68856d
] - tools: alphabetize CODEOWNERS (Rich Trott) #481244cf5a9edaf
] - tools: use latest upstream commit for zlib updates (Andrea Fassina) #480548d93af381b
] - tools: add security-wg as dep updaters owner (Marco Ippolito) #481135325be1d99
] - tools: port js2c.py to C++ (Joyee Cheung) #469976c60d90277
] - tools: fix race condition when npm installing (Tobias Nießen) #481010ab840a58f
] - tools: refloat 7 Node.js patches to cpplint.py (Rich Trott) #48098a298193378
] - tools: update cpplint to 1.6.1 (Yagiz Nizipli) #48098f6725751b7
] - tools: update eslint to 8.41.0 (Node.js GitHub Bot) #480976539361f4e
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #480965d94dbb951
] - tools: update doc to remark-parse@10.0.2 (Node.js GitHub Bot) #480952226088048
] - tools: add debug logs (Marco Ippolito) #480600c8c383583
] - tools: fix zconf.h path (Luigi Pinca) #480896adaf4c648
] - tools: update remark-preset-lint-node to 4.0.0 (Node.js GitHub Bot) #4799592b3334231
] - url: clean vertical alignment of docs (Robin Ury) #48037ebb6536775
] - url: callada::can_parse
directly (Yagiz Nizipli) #47919ed4514294a
] - vm: properly handle defining symbol props (Nicolas DUBIEN) #47572v20.2.0
: 2023-05-16, Version 20.2.0 (Current), @targosCompare Source
Notable Changes
c092df9094
] - doc: add ovflowd to collaborators (Claudio Wunder) #478444197a9a5a0
] - (SEMVER-MINOR) http: prevent writing to the body when not allowed by HTTP spec (Gerrard Lindsay) #47732c4596b9ce7
] - (SEMVER-MINOR) sea: add option to disable the experimental SEA warning (Darshan Sen) #4758817befe008c
] - (SEMVER-MINOR) test_runner: addskip
,todo
, andonly
shorthands totest
(Chemi Atlow) #47909a0634d7f89
] - (SEMVER-MINOR) url: add value argument toURLSearchParams
has
anddelete
methods (Sankalp Shubham) #47885Commits
456fca0d9c
] - bootstrap: initialize per-isolate properties of bindings separately (Joyee Cheung) #47768d6d12bf978
] - bootstrap: log isolate data info in mksnapshot debug logs (Joyee Cheung) #47768e457d89a1b
] - buffer: combine checking range of sourceStart inbuf.copy
(Deokjin Kim) #4775800668fcfb4
] - child_process: use signal.reason in child process abort (Debadree Chatterjee) #47817d7993474ea
] - crypto: remove default encoding from scrypt (Tobias Nießen) #4794309fb74a7cc
] - crypto: fix webcrypto private/secret import with empty usages (Filip Skokan) #47877e9c6ee74f3
] - crypto: remove default encoding from pbkdf2 (Tobias Nießen) #47869b7f13a8679
] - deps: update simdutf to 3.2.9 (Node.js GitHub Bot) #47983b16f6da153
] - deps: V8: cherry-pick5f025d1
(Michaël Zasso) #4761099f8fcab45
] - deps: V8: cherry-picka8a11a8
(Michaël Zasso) #47610c2b14b4c78
] - deps: update ada to 2.4.0 (Node.js GitHub Bot) #47922cad42e7a56
] - deps: V8: cherry-pick1b471b7
(Lu Yahan) #473997b2f17ca59
] - deps: upgrade npm to 9.6.6 (npm team) #47862d23b1af562
] - deps: update ada to 2.3.1 (Node.js GitHub Bot) #4789372340c98fb
] - dgram: convert macro to template (Tobias Nießen) #478919be922892f
] - dns: callada::idna::to_ascii
directly from c++ (Yagiz Nizipli) #479204a1e97156a
] - doc: add missing deprecated blocks to cluster (Tobias Nießen) #4798113118a19ee
] - doc: update description of global (Tobias Nießen) #47969372796440b
] - doc: update measure memory rejection information (Yash Ladha) #416397ecc6740e4
] - doc: fix broken link to TC39 import attributes proposal (Rich Trott) #47954b9771c95c7
] - doc: fix broken link (Rich Trott) #479536f5ba92e61
] - doc: remove broken link (Rich Trott) #47942c9ffc555f1
] - doc: document make lint-md-clean (Matteo Collina) #479267ed99e8ba5
] - doc: mark global object as legacy (Mert Can Altın) #47819bf39f2d252
] - doc: ntfs junction points must link to directories (Ben Noordhuis) #479074dfc3890d8
] - doc: improvepermission.has
description (Daeyeon Jeong) #4787593f1aa2856
] - doc: fix params names (Dmitry Semigradsky) #478539a362aa2fb
] - doc: update supported version of FreeBSD to 12.4 (Michaël Zasso) #4783889c70dc6e6
] - doc: add stability experimental to pm (Rafael Gonzaga) #47890f96fb2eee7
] - doc: swap Matteo with Rafael in the stewards (Rafael Gonzaga) #478411666a146e3
] - doc: add valgrind suppression details (Kevin Eady) #47760e53e8231ff
] - doc: replace EOL versions in README (Tobias Nießen) #47833c092df9094
] - doc: add ovflowd to collaborators (Claudio Wunder) #47844f7106765b3
] - doc: update BUILDING.md previous versions links (Tobias Nießen) #47835811b43c215
] - doc,test: update the v8.startupSnapshot doc and test the example (Joyee Cheung) #474681ec640ac70
] - esm: do not use'beforeExit'
on the main thread (Antoine du Hamel) #47964106dc612d6
] - fs: make readdir recursive algorithm iterative (Ethan Arrowood) #47650a0da2348a8
] - fs: move fs_use_promises_symbol to per-isolate symbols (Joyee Cheung) #477684197a9a5a0
] - (SEMVER-MINOR) http: prevent writing to the body when not allowed by HTTP spec (Gerrard Lindsay) #47732a4d6543598
] - http2: improve nghttp2 error callback (Tobias Nießen) #47840a4fed6c580
] - lib: update comment (sinkhaha) #47884fd8bec7b2b
] - meta: bump step-security/harden-runner from 2.3.1 to 2.4.0 (Rich Trott) #47980f5b4b6d5dc
] - meta: bump github/codeql-action from 2.3.2 to 2.3.3 (Rich Trott) #47979c05c0a2359
] - meta: bump actions/setup-python from 4.5.0 to 4.6.0 (Rich Trott) #479682a3d6d97cb
] - meta: add security-wg ping to permission.js (Rafael Gonzaga) #479416c158e8dd1
] - meta: bump step-security/harden-runner from 2.2.1 to 2.3.1 (dependabot[bot]) #47808f7a8094d37
] - meta: bump actions/setup-python from 4.5.0 to 4.6.0 (dependabot[bot]) #478060f58e48792
] - meta: bump actions/checkout from 3.3.0 to 3.5.2 (dependabot[bot]) #47805652b06dd82
] - meta: remove extra space in scorecard workflow (Mestery) #478059f06eaccaf
] - meta: bump github/codeql-action from 2.2.9 to 2.3.2 (dependabot[bot]) #47809977fd7cf35
] - meta: bump codecov/codecov-action from 3.1.1 to 3.1.3 (dependabot[bot]) #47807c19385c154
] - module: refactor to usenormalizeRequirableId
in the CJS module loader (Darshan Sen) #47896739113f2fc
] - module: block requiringtest/reporters
without scheme (Moshe Atlow) #47831f489c6710c
] - (NODE-API-SEMVER-MAJOR) node-api: get Node API version used by addon (Vladimir Morozov) #457157222f9d74b
] - path: indicate index of wrong resolve() parameter (sosoba) #476607dd32f1536
] - permission: remove unused function declaration (Deokjin Kim) #47957af86625a05
] - permission: resolve reference to absolute path only for fs permission (Daeyeon Jeong) #479301625ae11fe
] - quic: address recent coverity warning (Michael Dawson) #47753c4596b9ce7
] - (SEMVER-MINOR) sea: add option to disable the experimental SEA warning (Darshan Sen) #475881a7fc186bc
] - sea: allow requiring core modules with the "node:" prefix (Darshan Sen) #47779786a1c5398
] - src: deduplicate X509Certificate::Fingerprint* (Tobias Nießen) #47978060c1d502b
] - src: stop copying code cache, part 2 (Keyhan Vakil) #479581aec718619
] - (SEMVER-MINOR) src: add cjs_module_lexer_version base64_version (Jithil P Ponnan) #456290c06bfd8dc
] - src: move BlobSerializerDeserializer to a separate header file (Darshan Sen) #47933bd553e7521
] - src: rename SKIP_CHECK_SIZE to SKIP_CHECK_STRLEN (Tobias Nießen) #47845190596c189
] - src: register external references for source code (Keyhan Vakil) #470554293cc47f4
] - src: support V8 experimental shared values in messaging (Shu-yu Guo) #477069bc5d78f0c
] - src: register ext reference for Fingerprint512 (Tobias Nießen) #47892a11507e23b
] - src: stop copying code cache (Keyhan Vakil) #47144515c9b8de6
] - src: clarify the parameter name inPermission::Apply
(Daeyeon Jeong) #47874c4217613f5
] - src: fix creating an ArrayBuffer from a Blob created withopenAsBlob
(Daeyeon Jeong) #476914bc17fd67b
] - src: avoid strcmp() with Utf8Value (Tobias Nießen) #47827d358317f70
] - src: get binding data store directly from the realm (Joyee Cheung) #47437b04d51a0b5
] - src: prefer data accessor of string and vector (Mohammed Keyvanzadeh) #477502952cc576c
] - src: add per-isolate SetFastMethod and Set[Fast]MethodNoSideEffect (Joyee Cheung) #47768010d2ecf94
] - test: mark test-esm-loader-http-imports as flaky (Tobias Nießen) #47987bb33c74c07
] - test: add getRandomValues return length (Jithil P Ponnan) #463576e019586f7
] - test: unskip negative-settimeout.any.js WPT (Filip Skokan) #479468f547afe5f
] - test: use appropriate usages for a negative import test (Filip Skokan) #478787e34f77518
] - test: fix webcrypto wrap unwrap tests (Filip Skokan) #4787630f4f35244
] - test: fix output tests when path includes node version (Moshe Atlow) #4784354607bfd68
] - test: reduce WPT concurrency (Filip Skokan) #4783417945a2495
] - test: migrate a pseudo_tty test to use assertSnapshot (Moshe Atlow) #47803c9233679e8
] - test: fix WPT state when process exits but workers are still running (Filip Skokan) #4782634bfb69b5b
] - test: migrate message tests to use assertSnapshot (Moshe Atlow) #47498d25c785c2a
] - test: allow SIGBUS in signal-handler abort test (Michaël Zasso) #47851aa2c7e00d7
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #47921da27542058
] - test_runner: use v8.serialize instead of TAP (Moshe Atlow) #4786717befe008c
] - (SEMVER-MINOR) test_runner: add shorthands totest
(Chemi Atlow) #4790942db1d50a0
] - test_runner: fix ordering of test hooks (Phil Nash) #47931d81c54e3a8
] - test_runner: omit inaccessible files from coverage (Colin Ihrig) #47850a4e261e910
] - tools: debug log for nghttp3 (Marco Ippolito) #47992f6ff318d4c
] - tools: automate icu-small update (Marco Ippolito) #47727706c305381
] - tools: update lint-md-dependencies to rollup@3.21.5 (Node.js GitHub Bot) #47903e22c686ca9
] - tools: update eslint to 8.40.0 (Node.js GitHub Bot) #4790636f7cfac93
] - tools: update eslint to 8.39.0 (Node.js GitHub Bot) #477897323902a40
] - tools: fix jsdoc lint (Moshe Atlow) #47789a0634d7f89
] - (SEMVER-MINOR) url: add value argument to has and delete methods (Sankalp Shubham) #478851b06c1e003
] - url: improveisURL
detection (Yagiz Nizipli) #478862bd869d20c
] - vm: fix crash when setting __proto__ on context's globalThis (Feng Yu) #47939e6685f9e82
] - vm,lib: refactor microtaskQueue assignment logic (Khaidi Chu) #4776547fea13dac
] - worker: support more cases when (de)serializing errors (Moshe Atlow) #479256f3876c035
] - worker: use snapshot in workers spawned by workers (Joyee Cheung) #47731v20.1.0
: 2023-05-03, Version 20.1.0 (Current), @targosCompare Source
Notable Changes
5e99598639
] - assert: deprecateCallTracker
(Moshe Atlow) #477402d97c89c6f
] - crypto: update root certificates to NSS 3.89 (Node.js GitHub Bot) #47659ce8820e292
] - (SEMVER-MINOR) dns: exposegetDefaultResultOrder
(btea) #469739d30f469aa
] - doc: add KhafraDev to collaborators (Matthew Aitken) #47510439ea47a77
] - (SEMVER-MINOR) fs: addrecursive
option toreaddir
andopendir
(Ethan Arrowood) #41439a54e898dc8
] - (SEMVER-MINOR) fs: add support formode
flag to specify the copy behavior of thecp
methods (Tetsuharu Ohzeki) #470844fa773964b
] - (SEMVER-MINOR) http: addhighWaterMark
optionhttp.createServer
(HinataKah0) #474052b411f4b42
] - (SEMVER-MINOR) stream: preserve object mode incompose
(Raz Luvaton) #474135327483f31
] - (SEMVER-MINOR) test_runner: addtestNamePatterns
torun
API (Chemi Atlow) #47628bdd02a467d
] - (SEMVER-MINOR) test_runner: executebefore
hook on test (Chemi Atlow) #475860e70c187bc
] - (SEMVER-MINOR) test_runner: support combining coverage reports (Colin Ihrig) #4768675c1d1b66e
] - (SEMVER-MINOR) wasi: makereturnOnExit
true by default (Michael Dawson) #47390Commits
33d1bd3e02
] - assert: deprecate callTracker (Moshe Atlow) #477406d87355e83
] - benchmark: add eventtarget creation bench (Rafael Gonzaga) #4777440324a1dea
] - benchmark: differentiate whatwg and legacy url (Yagiz Nizipli) #47377936d7cb069
] - benchmark: add a benchmark fordefaultResolve
(Antoine du Hamel) #47543202042ee93
] - bootstrap: support namespaced builtins in snapshot scripts (Joyee Cheung) #4746730af5cee55
] - build: use pathlib for paths (Mohammed Keyvanzadeh) #47581089c9c51e9
] - build: refactor configure.py (Mohammed Keyvanzadeh) #476675b851c8074
] - build: add devcontainer configuration (Tierney Cyren) #4082535e8b3b467
] - build: bump ossf/scorecard-action from 2.1.2 to 2.1.3 (dependabot[bot]) #4736778c08243df
] - build: replace Python linter flake8 with ruff (Christian Clauss) #475192d97c89c6f
] - crypto: update root certificates to NSS 3.89 (Node.js GitHub Bot) #47659420feb41cf
] - crypto: remove INT_MAX restriction in randomBytes (Tobias Nießen) #475596046779dd9
] - deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #4745000d461e93f
] - deps: V8: cherry-pickc5ab3e4
(Richard Lau) #47736d08dd8069f
] - deps: update ada to 2.3.0 (Node.js GitHub Bot) #47737996245976b
] - deps: update undici to 5.22.0 (Node.js GitHub Bot) #47679f3ee3126df
] - deps: update ada to 2.2.0 (Node.js GitHub Bot) #476781391d3b9ff
] - deps: add minimatch as a dependency (Moshe Atlow) #47499315454350d
] - deps: update ada to 2.1.0 (Node.js GitHub Bot) #475987f7735cad9
] - deps: update ICU to 73.1 release (Steven R. Loomis) #4745613105c12b7
] - deps: patch V8 to 11.3.244.8 (Michaël Zasso) #47536ede69d272a
] - deps: update undici to 5.21.2 (Node.js GitHub Bot) #4750864b5a5f872
] - deps: update simdutf to 3.2.8 (Node.js GitHub Bot) #475072664536796
] - deps: V8: cherry-pick8e10685
(Jiawen Geng) #47440ba9ec91f0e
] - deps: update undici to 5.21.1 (Node.js GitHub Bot) #47488ce8820e292
] - (SEMVER-MINOR) dns: expose getDefaultResultOrder (btea) #469734c26e28c33
] - doc: create maintaining folder for deps (Marco Ippolito) #47589aa0ef3eabd
] - doc: fix --allow-* CLI flag references (Tobias Nießen) #4780498603b6fd3
] - doc: clarify fs permissions only affect fs module (Tobias Nießen) #477823befe5dac9
] - doc: add copy node executable guide on windows (XLor) #4778198450d9892
] - doc: remove MoLow from Triagers (Moshe Atlow) #47792d75036410d
] - doc: fix typo in webstreams.md (Christian Takle) #47766ceba37a74f
] - doc: move BethGriggs to regular member (Rich Trott) #47776b954ea9781
] - doc: mark signing the binary is macOS and Windows only in SEA (Xuguang Mei) #4772226bccbcd10
] - doc: move addaleax to TSC emeriti (Anna Henningsen) #4775220b0de242f
] - doc: add link to news for Node.js core (Michael Dawson) #477045709133dc7
] - doc: fix a typo inpermissions.md
(Daeyeon Jeong) #47730c5c40a89f2
] - doc: async_hooks asynchronous content example add mjs code (btea) #47401a1403a8df2
] - doc: clarify concurrency model of test runner (Tobias Nießen) #47642c0c23fbe42
] - doc: fix a typo infs.openAsBlob
(Daeyeon Jeong) #476934cef98812d
] - doc: fix typos (Mohammed Keyvanzadeh) #47685f30ef242ef
] - doc: fix capitalization of ASan (Mohammed Keyvanzadeh) #4767678a3503406
] - doc: fix typos in SECURITY.md (Mohammed Keyvanzadeh) #476779101630e05
] - doc: update error code of buffer (Deokjin Kim) #47617183f0c3e79
] - doc: change offset of example inBuffer.copyBytesFrom
(Deokjin Kim) #47606d11ff4bc53
] - doc: improve fs permissions description (Tobias Nießen) #47596b58920c3a9
] - doc: remove markdown link from heading (Tobias Nießen) #47585c36634e880
] - doc: fix history ordering ofWASI
constructor (Antoine du Hamel) #47611d3fadd889d
] - doc: fix release-post script location (Rafael Gonzaga) #475172a0bbe7883
] - doc: fix typo in webcrypto metadata (Tobias Nießen) #47595b0b16ee9f6
] - doc: add link for news from uvwasi team (Michael Dawson) #475317ca416af15
] - doc: add missing setEncoding call in ESM example (Anna Henningsen) #47558f9abd59b41
] - doc: update darwin-x64 toolchain used for Node.js 20 releases (Michaël Zasso) #475460dc508070f
] - doc: fix split infinitive in Hooks caveat (Jacob Smith) #475504046280475
] - doc: fix typo in util.types.isNativeError() (Julian Dax) #475329d30f469aa
] - doc: add KhafraDev to collaborators (Matthew Aitken) #47510537c17ec48
] - doc: create maintaining-brotli.md (Marco Ippolito) #4738009ff9eafd9
] - doc,fs: update description of fs.stat() method (Mert Can Altın) #47654185d6090cd
] - doc,test: fix concurrency option of test() (Tobias Nießen) #47734a793cf401d
] - esm: renameURLCanParse
to be consistent (Antoine du Hamel) #47668fbb6b72f87
] - esm: remove support for deprecated hooks (Antoine du Hamel) #47580c150976c4f
] - esm: initializeimport.meta
on eval (Antoine du Hamel) #4755155f70f6395
] - esm: propagateprocess.exit
from the loader thread to the main thread (Antoine du Hamel) #47548269482f61f
] - esm: avoid accessing lazy getters for urls (Yagiz Nizipli) #47542889add68e5
] - esm: avoid try/catch when validating urls (Yagiz Nizipli) #47541439ea47a77
] - (SEMVER-MINOR) fs: add recursive option to readdir and opendir (Ethan Arrowood) #41439a54e898dc8
] - (SEMVER-MINOR) fs: add support for mode flag to specify the copy behavior (Tetsuharu Ohzeki) #4708496f93cc500
] - (SEMVER-MINOR) http: remove internal error in assignSocket (Matteo Collina) #477234fa773964b
] - (SEMVER-MINOR) http: add highWaterMark opt in http.createServer (HinataKah0) #4740594a5abb1e0
] - inspector: add tips for Session (theanarkh) #4719521ff33127a
] - lib: improve esm resolve performance (Yagiz Nizipli) #46652b8bdaf86c4
] - lib: disallow file-backed blob cloning (James M Snell) #47574e8bc03b372
] - lib: use webidl DOMString converter in EventTarget (Matthew Aitken) #4751491e4a7cdee
] - loader: use default loader as cascaded loader in the in loader worker (Joyee Cheung) #47620d5089fe00a
] - meta: fix dependabot commit message (Mestery) #4781092794400ce
] - meta: ping nodejs/startup for startup test changes (Joyee Cheung) #477718d43689077
] - meta: add mailmap entry for KhafraDev (Rich Trott) #475124d02901935
] - node-api: test passing NULL to napi_define_class (Gabriel Schulhof) #47567568256dca0
] - node-api: test passing NULL to number APIs (Gabriel Schulhof) #4754912f0fa386d
] - node-api: remove unused mark_arraybuffer_as_untransferable (Chengzhong Wu) #47557e8ea83416a
] - quic: add more QUIC implementation (James M Snell) #47494af227b159d
] - readline: fix issue with newline-less last line (Ian Harris) #47317e948bec969
] - src: avoid copying string in fs_permission (Yagiz Nizipli) #47746dc43ce7706
] - src: replace idna functions with ada::idna (Yagiz Nizipli) #477351f9e7ce7e8
] - src: fix typo in comment in quic/sessionticket.cc (Tobias Nießen) #477542acb57b777
] - src: mark fatal error functions as noreturn (Chengzhong Wu) #476954431df7481
] - src: split BlobSerializer/BlobDeserializer (Joyee Cheung) #47458bf9a52cb3d
] - src: prevent changing FunctionTemplateInfo after publish (Shelley Vohr) #46979872e6706ca
] - src: add v8 fast api for url canParse (Matthew Aitken) #47552cfafe431f2
] - src: make AliasedBuffers in the binding data weak (Joyee Cheung) #47354cf48db0034
] - src: use v8::Boolean(b) over b ? True() : False() (Tobias Nießen) #47554ba255eda37
] - src: fix typo in process.env accessor error message (Moritz Raho) #47014daf0c78232
] - src: replace static const string_view by static constexpr (Daniel Lemire) #4752457e7ed7f47
] - src: fix CSPRNG when length exceeds INT_MAX (Tobias Nießen) #47515cda36bfd8f
] - src: use correct variable in node_builtins.cc (Michaël Zasso) #47343adc1601ccd
] - src: slim down stream_base-inl.h (lilsweetcaligula) #46972f88132f1b8
] - stream: prevent pipeline hang with generator functions (Debadree Chatterjee) #477122b411f4b42
] - (SEMVER-MINOR) stream: preserve object mode in compose (Raz Luvaton) #47413159cf02920
] - test: refactor to usegetEventListeners
in timers (Deokjin Kim) #4775997a3d39b8f
] - test: add and use tmpdir.hasEnoughSpace() (Tobias Nießen) #477675bb7b26bb5
] - test: remove spaces from test runner test names (Tobias Nießen) #4773384fa9fd725
] - test: refactor WPTRunner and enable parallel WPT execution (Filip Skokan) #476359d3768eb01
] - Revert "test: run WPT files in parallel again" (Filip Skokan) #47627826f4041d1
] - test: mark test-cluster-primary-error flaky on asan (Yagiz Nizipli) #47422e5251e31eb
] - test_runner: fix --require with --experimental-loader (Moshe Atlow) #477516ee5e42c73
] - (SEMVER-MINOR) test_runner: support combining coverage reports (Colin Ihrig) #47686f8581e7629
] - test_runner: remove no-op validation (Colin Ihrig) #4768740b38797c5
] - test_runner: fix test runner concurrency (Moshe Atlow) #476752d7cac0c5b
] - test_runner: fix test counting (Moshe Atlow) #476755a9b71a52e
] - test_runner: fix nested hooks (Moshe Atlow) #476485327483f31
] - (SEMVER-MINOR) test_runner: add testNamePatterns to run api (Chemi Atlow) #47628b6fb7914ca
] - test_runner: support coverage of unnamed functions (Colin Ihrig) #476521f120a396f
] - test_runner: move coverage collection to root.postRun() (Colin Ihrig) #47651bdd02a467d
] - (SEMVER-MINOR) test_runner: execute before hook on test (Chemi Atlow) #47586ec24abaa03
] - test_runner: avoid reporting parents of failing tests in summary (Moshe Atlow) #475794203057740
] - test_runner: fix spec skip detection (Moshe Atlow) #4753757c69987ba
] - tls: accept SecureContext object in server.addContext() (HinataKah0) #47570c620eb80a0
] - tools: update doc to highlight.js@11.8.0 (Node.js GitHub Bot) #47786326c3f1593
] - tools: add the missing LoongArch64 definition in the v8.gyp file (Sun Haiyong) #476418d1588acdc
] - tools: update lint-md-dependencies to rollup@3.21.1 (Node.js GitHub Bot) #47787226e5b83ee
] - tools: move update-npm to dep updaters (Marco Ippolito) #476199d0bef6c0a
] - tools: fix update-v8-patch cache (Marco Ippolito) #4772563e8c95a66
] - tools: automate v8 patch update (Marco Ippolito) #47594d2994e52d3
] - tools: fix skip message in update-cjs-module-lexer (Tobias Nießen) #47701ccf9c37b43
] - tools: update lint-md-dependencies to @rollup/plugin-commonjs@24.1.0 (Node.js GitHub Bot) #475770887fa0464
] - tools: keep PR titles/description up-to-date (Tobias Nießen) #47621b8927ddf16
] - tools: fix updating root certificates (Richard Lau) #4760787cae0cb59
] - tools: update PR label config (Mohammed Keyvanzadeh) #47593c17f2688b8
] - Revert "tools: ensure failed daily wpt run still generates a report" (Filip Skokan) #47627fbe7d73234
] - tools: add execution permission to uvwasi script (Mert Can Altın) #47600e3f4ff439e
] - tools: add update script for googletest (Tobias Nießen) #474827c552e650a
] - tools: add option to run workflow with specific tool id (Michaël Zasso) #475911509312170
] - tools: automate zlib update (Marco Ippolito) #474176af7f1ee03
] - tools: add url and whatwg-url labels automatically (Yagiz Nizipli) #47545ff73c05d54
] - tools: add performance label to benchmark changes (Yagiz Nizipli) #475459e3e0b0a84
] - tools: automate uvwasi dependency update (Ranieri Innocenti Spada) #47509233b628f22
] - tools: add missing pinned dependencies (Mateo Nunez) #47346e4d95859f5
] - tools: automate ngtcp2 and nghttp3 update (Marco Ippolito) #474022e8338126b
] - tools: move update-undici.sh to dep_updaters and create maintain md (Marco Ippolito) #473808712eafc87
] - typings: fix syntax error in tsconfig (Mohammed Keyvanzadeh) #47584e4b6b79f18
] - url: reduce revokeObjectURL cpp calls (Yagiz Nizipli) #477289aae76727f
] - url: handle URL.canParse without base parameter (Yagiz Nizipli) #47547180d365439
] - url: validate URL constructor arg length (Matthew Aitken) #475134839fc4369
] - url: validate argument length in canParse (Matthew Aitken) #47513606523d37e
] - v8: fix ERR_NOT_BUILDING_SNAPSHOT is not a constructor (Chengzhong Wu) #4772175c1d1b66e
] - (SEMVER-MINOR) wasi: make returnOnExit true by default (Michael Dawson) #47390v20.0.0
: 2023-04-18, Version 20.0.0 (Current), @RafaelGSSCompare Source
We're excited to announce the release of Node.js 20! Highlights include the new Node.js Permission Model,
a synchronous
import.meta.resolve
, a stable test_runner, updates of the V8 JavaScript engine to 11.3, Ada to 2.0,and more!
As a reminder, Node.js 20 will enter long-term support (LTS) in October, but until then, it will be the "Current" release for the next six months.
We encourage you to explore the new features and benefits offered by this latest release and evaluate their potential impact on your applications.
Notable Changes
Permission Model
Node.js now has an experimental feature called the Permission Model.
It allows developers to restrict access to specific resources during program execution, such as file system operations,
child process spawning, and worker thread creation.
The API exists behind a flag
--experimental-permission
which when enabled will restrict access to all available permissions.By using this feature, developers can prevent their applications from accessing or modifying sensitive data or running potentially harmful code.
More information about the Permission Model can be found in the Node.js documentation.
The Permission Model was a contribution by Rafael Gonzaga in #44004.
Custom ESM loader hooks run on dedicated thread
ESM hooks supplied via loaders (
--experimental-loader=foo.mjs
) now run in a dedicated thread, isolated from the main thread.This provides a separate scope for loaders and ensures no cross-contamination between loaders and application code.
Synchronous
import.meta.resolve()
In alignment with browser behavior, this function now returns synchronously.
Despite this, user loader
resolve
hooks can still be defined as async functions (or as sync functions, if the author prefers).Even when there are async
resolve
hooks loaded,import.meta.resolve
will still return synchronously for application code.Contributed by Anna Henningsen, Antoine du Hamel, Geoffrey Booth, Guy Bedford, Jacob Smith, and Michaël Zasso in #44710
V8 11.3
The V8 engine is updated to version 11.3, which is part of Chromium 113.
This version includes three new features to the JavaScript API:
The V8 update was a contribution by Michaël Zasso in #47251.
Stable Test Runner
The recent update to Node.js, version 20, includes an important change to the test_runner module. The module has been marked as stable after a recent update.
Previously, the test_runner module was experimental, but this change marks it as a stable module that is ready for production use.
Contributed by Colin Ihrig in #46983
Ada 2.0
Node.js v20 comes with the latest version of the URL parser, Ada. This update brings significant performance improvements
to URL parsing, including enhancements to the
url.domainToASCII
andurl.domainToUnicode
functions innode:url
.Ada 2.0 has been integrated into the Node.js codebase, ensuring that all parts of the application can benefit from the
improved performance. Additionally, Ada 2.0 features a significant performance boost over its predecessor, Ada 1.0.4,
while also eliminating the need for the ICU requirement for URL hostname parsing.
Contributed by Yagiz Nizipli and Daniel Lemire in #47339
Preparing single executable apps now requires injecting a Blob
Building a single executable app now requires injecting a blob prepared by
Node.js from a JSON config instead of injecting the raw JS file.
This opens up the possibility of embedding multiple co-existing resources into the SEA (Single Executable Apps).
Contributed by Joyee Cheung in #47125
Web Crypto API
Web Crypto API functions' arguments are now coerced and validated as per their WebIDL definitions like in other Web Crypto API implementations.
This further improves interoperability with other implementations of Web Crypto API.
This change was made by Filip Skokan in #46067.
Official support for ARM64 Windows
Node.js now includes binaries for ARM64 Windows, allowing for native execution on the platform.
The MSI, zip/7z packages, and executable are available from the Node.js download site along with all other platforms.
The CI system was updated and all changes are now fully tested on ARM64 Windows, to prevent regressions and ensure compatibility.
ARM64 Windows was upgraded to tier 2 support by Stefan Stojanovic in #47233.
WASI version must now be specified
When
new WASI()
is called, the version option is now required and has no default value.Any code that relied on the default for the version will need to be updated to request a specific version.
This change was made by Michael Dawson in #47391.
Deprecations and Removals
3bed5f11e0
] - (SEMVER-MAJOR) url: runtime-deprecate url.parse() with invalid ports (Rich Trott) #45526url.parse()
accepts URLs with ports that are not numbers. This behavior might result in host name spoofing with unexpected input.These URLs will throw an error in future versions of Node.js, as the WHATWG URL API does already.
Starting with Node.js 20, these URLS cause
url.parse()
to emit a warning.Semver-Major Commits
9fafb0a090
] - (SEMVER-MAJOR) async_hooks: deprecate the AsyncResource.bind asyncResource property (James M Snell) #464321948d37595
] - (SEMVER-MAJOR) buffer: check INSPECT_MAX_BYTES with validateNumber (Umuoy) #465997bc0e6a4e7
] - (SEMVER-MAJOR) buffer: graduate File from experimental and expose as global (Khafra) #47153671ffd7825
] - (SEMVER-MAJOR) buffer: use min/max ofvalidateNumber
(Deokjin Kim) #45796ab1614d280
] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #47251c1bcdbcf79
] - (SEMVER-MAJOR) build: warn for gcc versions earlier than 10.1 (Richard Lau) #46806649f68fc1e
] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Yagiz Nizipli) #455799374700d7a
] - (SEMVER-MAJOR) crypto: remove DEFAULT_ENCODING (Tobias Nießen) #471821640aeb680
] - (SEMVER-MAJOR) crypto: remove obsolete SSL_OP_* constants (Tobias Nießen) #47073c2e4b1fa9a
] - (SEMVER-MAJOR) crypto: remove ALPN_ENABLED (Tobias Nießen) #470283ef38c4bd7
] - (SEMVER-MAJOR) crypto: use WebIDL converters in WebCryptoAPI (Filip Skokan) #4606708af023b1f
] - (SEMVER-MAJOR) crypto: runtime deprecate replaced rsa-pss keygen parameters (Filip Skokan) #456537eb0ac3cb6
] - (SEMVER-MAJOR) deps: patch V8 to support compilation on win-arm64 (Michaël Zasso) #47251a7c129f286
] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) #472516f5655a18e
] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #47251f226350fcb
] - (SEMVER-MAJOR) deps: update V8 to 11.3.244.4 (Michaël Zasso) #47251d6dae7420e
] - (SEMVER-MAJOR) deps: V8: cherry-pickf1c888e
(Michaël Zasso) #4557956c436533e
] - (SEMVER-MAJOR) deps: fix V8 build on Windows with MSVC (Michaël Zasso) #4557951ab98c71b
] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) #455799f84d3eea8
] - (SEMVER-MAJOR) deps: V8: fix v8-cppgc.h for MSVC (Jiawen Geng) #45579f2318cd4b5
] - (SEMVER-MAJOR) deps: fix V8 build issue with inline methods (Jiawen Geng) #4557916e03e7968
] - (SEMVER-MAJOR) deps: update V8 to 10.9.194.4 (Yagiz Nizipli) #455796473f5e7f7
] - (SEMVER-MAJOR) doc: update toolchains used for Node.js 20 releases (Richard Lau) #47352cc18fd9608
] - (SEMVER-MAJOR) events: refactor to usevalidateNumber
(Deokjin Kim) #45770ff92b40ffc
] - (SEMVER-MAJOR) http: close the connection after sending a body without declared length (Tim Perry) #463332a29df6464
] - (SEMVER-MAJOR) http: keep HTTP/1.1 conns alive even if the Connection header is removed (Tim Perry) #46331391dc74a10
] - (SEMVER-MAJOR) http: throw error if options of http.Server is array (Deokjin Kim) #46283ed3604cd64
] - (SEMVER-MAJOR) http: server check Host header, to meet RFC 7230 5.4 requirement (wwwzbwcom) #4559788d71dc301
] - (SEMVER-MAJOR) lib: refactor to use min/max ofvalidateNumber
(Deokjin Kim) #45772e4d641f02a
] - (SEMVER-MAJOR) lib: refactor to use validators in http2 (Debadree Chatterjee) #461740f3e531096
] - (SEMVER-MAJOR) lib: performance improvement on readline async iterator (Thiago Oliveira Santos) #412765b5898ac86
] - (SEMVER-MAJOR) lib,src: update exit codes as per todos (Debadree Chatterjee) #4584155321bafd1
] - (SEMVER-MAJOR) net: enable autoSelectFamily by default (Paolo Insogna) #467902d0d99733b
] - (SEMVER-MAJOR) process: removeprocess.exit()
,process.exitCode
coercion to integer (Daeyeon Jeong) #43716dc06df31b6
] - (SEMVER-MAJOR) readline: refactor to usevalidateNumber
(Deokjin Kim) #45801295b2f3ff4
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 115 (Michaël Zasso) #472513803b028dd
] - (SEMVER-MAJOR) src: share common code paths for SEA and embedder script (Anna Henningsen) #46825e8bddac3e9
] - (SEMVER-MAJOR) src: apply ABI-breaking API simplifications (Anna Henningsen) #46705f84de0ad4c
] - (SEMVER-MAJOR) src: use uint32_t for process initialization flags enum (Anna Henningsen) #46427a6242772ec
] - (SEMVER-MAJOR) src: fix ArrayBuffer::Detach deprecation (Michaël Zasso) #45579dd5c39a808
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 112 (Yagiz Nizipli) #4557963eca7fec0
] - (SEMVER-MAJOR) stream: validate readable defaultEncoding (Marco Ippolito) #464309e7093f416
] - (SEMVER-MAJOR) stream: validate writable defaultEncoding (Marco Ippolito) #46322fb91ee4f26
] - (SEMVER-MAJOR) test: make trace-gc-flag tests less strict (Yagiz Nizipli) #45579eca618071e
] - (SEMVER-MAJOR) test: adapt test-v8-stats for V8 update (Michaël Zasso) #45579c03354d3e0
] - (SEMVER-MAJOR) test: test case for multiple res.writeHead and res.getHeader (Marco Ippolito) #45508c733cc0c7f
] - (SEMVER-MAJOR) test_runner: mark module as stable (Colin Ihrig) #469837ce223273d
] - (SEMVER-MAJOR) tools: update V8 gypfiles for 11.1 (Michaël Zasso) #47251ca4bd3023e
] - (SEMVER-MAJOR) tools: update V8 gypfiles for 11.0 (Michaël Zasso) #4725158b06a269a
] - (SEMVER-MAJOR) tools: update V8 gypfiles (Michaël Zasso) #45579027841c964
] - (SEMVER-MAJOR) url: use private properties for brand check (Yagiz Nizipli) #469043bed5f11e0
] - (SEMVER-MAJOR) url: runtime-deprecate url.parse() with invalid ports (Rich Trott) #455267c76fddf25
] - (SEMVER-MAJOR) util,doc: mark parseArgs() as stable (Colin Ihrig) #467184b52727976
] - (SEMVER-MAJOR) wasi: make version non-optional (Michael Dawson) #47391Semver-Minor Commits
d4b440bfac
] - (SEMVER-MINOR) fs: implement byob mode for readableWebStream() (Debadree Chatterjee) #4693300c222593e
] - (SEMVER-MINOR) src,process: add permission model (Rafael Gonzaga) #44004978b57d750
] - (SEMVER-MINOR) wasi: no longer require flag to enable wasi (Michael Dawson) #47286Semver-Patch Commits
e50c6b9a22
] - bootstrap: do not expand process.argv[1] for snapshot entry points (Joyee Cheung) #47466c81e1143e4
] - bootstrap: store internal loaders in C++ via a binding (Joyee Cheung) #472158e673bdb84
] - build: add node-core-utils to setup (Jiawen Geng) #474425b561d72a6
] - build: sync cares source change (Jiawen Geng) #473598e6ee53e4e
] - build: remove non-exist build file (Jiawen Geng) #473619a4d21d1d9
] - build, deps, tools: avoid excessive LTO (Konstantin Demin) #4731348c01485cd
] - crypto: replace THROW with CHECK for scrypt keylen (Tobias Nießen) #474074c1a27716b
] - crypto: re-add padding for AES-KW wrapped JWKs (Filip Skokan) #46563b66eb15d12
] - deps: update simdutf to 3.2.7 (Node.js GitHub Bot) #474733fc11477ba
] - deps: update corepack to 0.17.2 (Node.js GitHub Bot) #47474c1776531ab
] - deps: upgrade npm to 9.6.4 (npm team) #47432e7ca09f310
] - deps: update zlib to upstream5edb52d
(Luigi Pinca) #4715188387ccd12
] - deps: update ada to 2.0.0 (Node.js GitHub Bot) #473399f468cc37e
] - deps: cherry-pick Windows ARM64 fix for openssl (Richard Lau) #46570eeab210b1b
] - deps: update archs files for quictls/openssl-3.0.8+quic (RafaelGSS) #46570d93d7716c7
] - deps: upgrade openssl sources to quictls/openssl-3.0.8+quic (RafaelGSS) #465710f69ec4dd7
] - deps: patch V8 to 10.9.194.9 (Michaël Zasso) #459955890d09644
] - deps: patch V8 to 10.9.194.6 (Michaël Zasso) #45748c02a7e7e93
] - diagnostics_channel: fix ref counting bug when reaching zero subscribers (Stephen Belanger) #47520c7ad5bb37d
] - doc: info on handling unintended breaking changes (Michael Dawson) #474267d2d40ed0d
] - doc: add performance initiative (Yagiz Nizipli) #47424d56c0f7318
] - doc: do not create a backup file (Luigi Pinca) #47151412d27b65b
] - doc: add MoLow to the TSC (Colin Ihrig) #47436f131cca0c0
] - doc: reserve 116 for Electron 25 (Keeley Hammond) #473751022c6f424
] - doc: add experimental stages (Geoffrey Booth) #4610042d3d74717
] - doc: clarify release notes for Node.js 16.19.0 (Richard Lau) #45846533c6512da
] - doc: clarify release notes for Node.js 14.21.2 (Richard Lau) #4584697165fc1a6
] - doc: fix doc metadata for Node.js 16.19.0 (Richard Lau) #45863a266b8b702
] - doc: add registry number for Electron 23 & 24 (Keeley Hammond) #456612613a9ced9
] - esm: move hook execution to separate thread (Jacob Smith) #44710841f6b3abf
] - esm: increase test coverage of edge cases (Antoine du Hamel) #470330d575fe61a
] - gyp: put filenames in variables (Cheng Zhao) #4696541b186722c
] - lib: distinguish webidl interfaces with the extended property "Exposed" (Chengzhong Wu) #468099b7db62276
] - lib: makeRequireFunction patch when experimental policy (RafaelGSS) nodejs-private/node-private#358d43b532789
] - lib: refactor to usevalidateBuffer
(Deokjin Kim) #464899a76a2521b
] - meta: ping security-wg team on permission model changes (Rafael Gonzaga) #47483a4dadde1ba
] - meta: ping startup and realm team on src/node_realm* changes (Joyee Cheung) #47448631c3ef3de
] - module: do less CJS module loader initialization at run time (Joyee Cheung) #471948bcf0a42f7
] - permission: fix chmod,chown improve fs coverage (Rafael Gonzaga) #4752954d17ff4b5
] - permission: support fs.mkdtemp (Rafael Gonzaga) #47470b441b5dc65
] - permission: drop process.permission.deny (Rafael Gonzaga) #47335aa30e16716
] - permission: fix some vulnerabilities in fs (Tobias Nießen) #470911726da9300
] - permission: add path separator to loader check (Rafael Gonzaga) #47030b164038c86
] - permission: fix spawnSync permission check (RafaelGSS) #46975af91400886
] - policy: makeRequireFunction on mainModule.require (RafaelGSS) nodejs-private/node-private#358f8b4e26aee
] - quic: add more QUIC impl (James M Snell) #47348d65ae9f678
] - quic: add additional quic implementation utilities (James M Snell) #472899b104be502
] - quic: do not dereference shared_ptr after move (Tobias Nießen) #4729409a4bb152f
] - quic: add multiple internal utilities (James M Snell) #472632bde0059ca
] - sea: use JSON configuration and blob content for SEA (Joyee Cheung) #4712578c7475493
] - src: allow simdutf::convert_* functions to return zero (Daniel Lemire) #474715250947a53
] - src: track ShadowRealm native objects correctly in the heap snapshot (Joyee Cheung) #473898059764621
] - src: use the internal field to determine if an object is a BaseObject (Joyee Cheung) #47217698508afa8
] - src: bootstrap prepare stack trace callback in shadow realm (Chengzhong Wu) #47107e6b4d30a2f
] - src: bootstrap Web [Exposed=*] APIs in the shadow realm (Chengzhong Wu) #468093646a66044
] - src: fix AliasedBuffer memory attribution in heap snapshots (Joyee Cheung) #468178b2126f63f
] - src: move AliasedBuffer implementation to -inl.h (Joyee Cheung) #468173abbc3829a
] - src: fix useless call in permission.cc (Tobias Nießen) #468337b1e153530
] - src: simplify exit code accesses (Daeyeon Jeong) #451257359b92a41
] - test: remove unnecessary status check on test-release-npm (RafaelGSS) #47516a5a5d2fb7e
] - test: mark test/parallel/test-file-write-stream4 as flaky (Yagiz Nizipli) #4742381ad73a205
] - test: remove unused callback variables (angellovc) #47167757a586ead
] - test: migrate test runner message tests to snapshot (Moshe Atlow) #4739286f890539f
] - test: remove stale entry from known_issues.status (Richard Lau) #474541f3773d0c1
] - test: move more inspector sequential tests to parallel (Joyee Cheung) #47412617b8d44c6
] - test: use random port in test-inspector-enabled (Joyee Cheung) #47412ade0170c4f
] - test: use random port in test-inspector-debug-brk-flag (Joyee Cheung) #474121a78632cd3
] - test: use random port in NodeInstance.startViaSignal() (Joyee Cheung) #4741223f66b137e
] - test: move test-shadow-realm-gc.js to known_issues (Joyee Cheung) #473559dfd0394c5
] - test: remove useless WPT init scripts (Khafra) #472211cfe058778
] - test: fix test-permission-deny-fs-wildcard (win32) (Tobias Nießen) #47095b8ef1b476e
] - test: add coverage for custom loader hooks with permission model (Antoine du Hamel) #469774a7c3e9c50
] - test: fix file path in permission symlink test (Livia Medeiros) #4685910005de6a8
] - tools: makejs2c.py
usable for other build systems (Cheng Zhao) #469301e2f9aca72
] - tools: move update-acorn.sh to dep_updaters and create maintaining md (Marco Ippolito) #47382174662a463
] - tools: update eslint to 8.38.0 (Node.js GitHub Bot) #47475a58ca61f35
] - tools: update eslint to 8.38.0 (Node.js GitHub Bot) #4747537d12730ab
] - tools: automate cjs-module-lexer dependency update (Marco Ippolito) #474464fbfa3c9f2
] - tools: fix notify-on-push Slack messages (Antoine du Hamel) #47453b1f2ff1242
] - tools: update lint-md-dependencies to @rollup/plugin-node-resolve@15.0.2 (Node.js GitHub Bot) #4743126b2584b84
] - tools: add root certificate update script (Richard Lau) #47425553b052648
] - tools: remove targets for individual test suites inMakefile
(Antoine du Hamel) #46892747ff43e5b
] - url: more sophisticated brand check for URLSearchParams (Timothy Gu) #47414e727eb066f
] - url: do not use object as hashmap (Timothy Gu) #4741581c7875eb7
] - url: drop ICU requirement for parsing hostnames (Yagiz Nizipli) #47339a4895df94a
] - url: use ada::url_aggregator for parsing urls (Yagiz Nizipli) #47339Configuration
📅 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 these updates again.
This PR has been generated by Renovate Bot.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: package-lock.json
0b3f81504a
to7218a4b821
7218a4b821
to871b130c9c
871b130c9c
to05f27518d4