Update Node.js to v20.19.1
This MR contains the following updates:
Package | Update | Change |
---|---|---|
node (source) | minor |
20.12.2 -> 20.19.1
|
Release Notes
nodejs/node (node)
v20.19.1
: 2025-04-22, Version 20.19.1 'Iron' (LTS), @UlisesGascon prepared by @RafaelGSS
Notable Changes
- [
d5e73ce0f8
] - deps: update undici to 6.21.2 (Matteo Collina) #57442 - [
e4a6323ab2
] - deps: update c-ares to v1.34.5 (Node.js GitHub Bot) #57792
Commits
- [
d5e73ce0f8
] - deps: update undici to 6.21.2 (Matteo Collina) #57442 - [
e4a6323ab2
] - deps: update c-ares to v1.34.5 (Node.js GitHub Bot) #57792 - [
b2b9eb36af
] - dns: restore dns query cache ttl (Ethan Arrowood) #57640 - [
07a99a5c0b
] - doc: correct status of require(esm) warning in v20 changelog (Joyee Cheung) #57529 - [
d45517ccbf
] - meta: bump Mozilla-Actions/sccache-action from 0.0.8 to 0.0.9 (dependabot[bot]) #57720 - [
fa93bb2633
] - test: update parallel/test-tls-dhe for OpenSSL 3.5 (Richard Lau) #57477 - [
29c032403c
] - tools: update sccache to support GH cache changes (Michaël Zasso) #57573
v20.19.0
: 2025-03-13, Version 20.19.0 'Iron' (LTS), @marco-ippolito
Notable Changes
require(esm) is now enabled by default
Support for loading native ES modules using require() had been available on v20.x under the command line flag --experimental-require-module, and available by default on v22.x and v23.x. In this release, it is now no longer behind a flag on v20.x.
This feature has been tested on v23.x and v22.x, and we are looking for user feedback from v20.x to make more final tweaks before fully stabilizing it.
It now no longer emits a warning unless --trace-require-module
is explicitly used.
If there happens to be any regressions caused by this feature, users can report it to the Node.js issue tracker. Meanwhile this feature can also be disabled using --no-experimental-require-module
as a workaround.
With this feature enabled, Node.js will no longer throw ERR_REQUIRE_ESM
if require()
is used to load a ES module. It can, however, throw ERR_REQUIRE_ASYNC_MODULE
if the ES module being loaded or its dependencies contain top-level await
. When the ES module is loaded successfully by require()
, the returned object will either be a ES module namespace object similar to what's returned by import()
, or what gets exported as "module.exports"
in the ES module.
Users can check process.features.require_module
to see whether require(esm)
is enabled in the current Node.js instance. For packages, the "module-sync"
exports condition can be used as a way to detect require(esm)
support in the current Node.js instance and allow both require()
and import
to load the same native ES module. See the documentation for more details about this feature.
Contributed by Joyee Cheung in #55085
Module syntax detection is now enabled by default
Module syntax detection (the --experimental-detect-module
flag) is now
enabled by default. Use --no-experimental-detect-module
to disable it if
needed.
Syntax detection attempts to run ambiguous files as CommonJS, and if the module
fails to parse as CommonJS due to ES module syntax, Node.js tries again and runs
the file as an ES module.
Ambiguous files are those with a .js
or no extension, where the nearest parent
package.json
has no "type"
field (either "type": "module"
or
"type": "commonjs"
).
Syntax detection should have no performance impact on CommonJS modules, but it
incurs a slight performance penalty for ES modules; add "type": "module"
to
the nearest parent package.json
file to eliminate the performance cost.
A use case unlocked by this feature is the ability to use ES module syntax in
extensionless scripts with no nearby package.json
.
Thanks to Geoffrey Booth for making this work on #53619.
Other Notable Changes
- [
285bb4ee14
] - crypto: update root certificates to NSS 3.107 (Node.js GitHub Bot) #56566 - [
73b5c16684
] - (SEMVER-MINOR) worker: add postMessageToThread (Paolo Insogna) #53682 - [
de313b2336
] - (SEMVER-MINOR) module: only emit require(esm) warning under --trace-require-module (Joyee Cheung) #56194 - [
4fba01911d
] - (SEMVER-MINOR) process: add process.features.require_module (Joyee Cheung) #55241 - [
df8a045afe
] - (SEMVER-MINOR) module: implement the "module-sync" exports condition (Joyee Cheung) #54648 - [
f9dc1eaef5
] - (SEMVER-MINOR) module: add __esModule to require()'d ESM (Joyee Cheung) #52166
Commits
- [
d84be843e3
] - benchmark: add validateStream to styleText bench (Rafael Gonzaga) #56556 - [
d8eaf5b9b8
] - build: fix compatibility with V8'sdepot_tools
(Richard Lau) #57330 - [
1ee4bf9690
] - build: test macos-13 on GitHub actions (Michaël Zasso) #56307 - [
1cc8d69882
] - build: build v8 with -fvisibility=hidden on macOS (Joyee Cheung) #56275 - [
52f1f7e22b
] - child_process: fix parsing messages with splitted length field (Maksim Gorkov) #56106 - [
5ef3c3c996
] - crypto: add missing return value check (Michael Dawson) #56615 - [
285bb4ee14
] - crypto: update root certificates to NSS 3.107 (Node.js GitHub Bot) #56566 - [
46ceb9dc1c
] - deps: update timezone to 2025a (Node.js GitHub Bot) #56876 - [
d4ca38fe8e
] - deps: macro ENODATA is deprecated in libc++ (Cheng) #56698 - [
15214e6508
] - deps: update simdutf to 6.0.3 (Node.js GitHub Bot) #56567 - [
1e44f5d84b
] - deps: update simdutf to 5.7.2 (Node.js GitHub Bot) #56388 - [
b92ff7be38
] - deps: update googletest to7d76a23
(Node.js GitHub Bot) #56387 - [
e1b71a81a9
] - deps: update googletest toe54519b
(Node.js GitHub Bot) #56370 - [
c0d45e7f38
] - deps: update simdutf to 5.7.0 (Node.js GitHub Bot) #56332 - [
d69107f5a8
] - deps: update icu to 76.1 (Node.js GitHub Bot) #55551 - [
5c9a397699
] - deps: V8: backport9ab4059
(Lu Yahan) #56781 - [
8342233f6d
] - deps: update corepack to 0.31.0 (Node.js GitHub Bot) #56795 - [
561493d35e
] - deps,src: simplify base64 encoding (Daniel Lemire) #52714 - [
6207b2936c
] - doc: move anatoli to emeritus (Michael Dawson) #56592 - [
b0ab483400
] - doc: fix styles of the expandable TOC (Antoine du Hamel) #56755 - [
53e4dc2a82
] - doc: add "Skip to content" button (Antoine du Hamel) #56750 - [
33ee4645c3
] - doc: improve accessibility of expandable lists (Antoine du Hamel) #56749 - [
b514438418
] - doc: add note regarding commit message trailers (Dario Piotrowicz) #56736 - [
627f2997e3
] - doc: fix typo in example code for util.styleText (Robin Mehner) #56720 - [
68548dcb48
] - doc: fix inconsistencies inWeakSet
andWeakMap
comparison details (Shreyans Pathak) #56683 - [
337cfb2549
] - doc: add RafaelGSS as latest sec release stewards (Rafael Gonzaga) #56682 - [
e890c86d7b
] - doc: clarify cjs/esm diff inqueueMicrotask()
vsprocess.nextTick()
(Dario Piotrowicz) #56659 - [
978263923f
] - doc:WeakSet
andWeakMap
comparison details (Shreyans Pathak) #56648 - [
aba280ccd8
] - doc: mention prepare --security (Rafael Gonzaga) #56617 - [
0a009a527b
] - doc: tweak info on reposts in ambassador program (Michael Dawson) #56589 - [
d2f09e2ab3
] - doc: add type stripping to ambassadors program (Marco Ippolito) #56598 - [
b0b77d7fbe
] - doc: improve internal documentation on built-in snapshot (Joyee Cheung) #56505 - [
4b3e7fee94
] - doc: document CLI way to open the nodejs/bluesky MR (Antoine du Hamel) #56506 - [
03878b0384
] - doc: update gcc-version for ubuntu-lts (Kunal Kumar) #56553 - [
acbbd7c1a6
] - doc: fix parentheses in options (Tobias Nießen) #56563 - [
3fe80c30b8
] - doc: include CVE to EOL lines as sec release process (Rafael Gonzaga) #56520 - [
ff8af58046
] - doc: add esm examples to node:trace_events (Alfredo González) #56514 - [
27b9cfd135
] - doc: add message for Ambassadors to promote (Michael Dawson) #56235 - [
020c939da1
] - doc: allow request for TSC reviews via the GitHub UI (Antoine du Hamel) #56493 - [
1ef9c9a354
] - doc: add example for piping ReadableStream (Gabriel Schulhof) #56415 - [
e675c3a7fc
] - doc: expand description ofparseArg
'sdefault
(Kevin Gibbons) #54431 - [
bc756da876
] - doc: use<ul>
instead of<ol>
inSECURITY.md
(Antoine du Hamel) #56346 - [
ad59c82a49
] - doc: clarify that WASM is trusted (Matteo Collina) #56345 - [
8e76cc69e5
] - doc: move dual package shipping docs to separate repo (Joyee Cheung) #55444 - [
9fda8e29cd
] - doc: mark--env-file-if-exists
flag as experimental (Juan José) #56893 - [
9e975f1a7d
] - doc: fix link and history ofSourceMap
sections (Antoine du Hamel) #57098 - [
64ce95b8fc
] - doc: updaterequire(ESM)
history and stability status (Antoine du Hamel) #55199 - [
697a39248b
] - doc: fix history ofprocess.features
(Antoine du Hamel) #54897 - [
7c38e503a3
] - doc: add documentation for process.features (Marco Ippolito) #54897 - [
c85b386a39
] - esm: fix jsdoc type refs toModuleJobBase
in esm/loader (Jacob Smith) #56499 - [
4813a6a66c
] - esm: throwERR_REQUIRE_ESM
instead ofERR_INTERNAL_ASSERTION
(Antoine du Hamel) #54868 - [
0d327c8e47
] - esm: refactorget_format
(Antoine du Hamel) #53872 - [
e87db6c9bc
] - events: add hasEventListener util for validate (Sunghoon) #55230 - [
674b932f33
] - http: don't emit error after destroy (Robert Nagy) #55457 - [
4c24ef8f71
] - http2: omit server name when HTTP2 host is IP address (islandryu) #56530 - [
533afe8124
] - lib: reduce amount of caught URL errors (Yagiz Nizipli) #52658 - [
34221a1d6e
] - lib: allow CJS source map cache to be reclaimed (Chengzhong Wu) #51711 - [
f13589f1f9
] - lib,src: iterate module requests of a module wrap in JS (Chengzhong Wu) #52058 - [
6afee9ea43
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #56580 - [
85bb738739
] - meta: add codeowners of security release document (Rafael Gonzaga) #56521 - [
48f9ca0992
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #56342 - [
4d724121b4
] - meta: move MoLow to TSC regular member (Moshe Atlow) #56276 - [
5e2dab7868
] - module: fix badrequire.resolve
with option paths for.
and..
(Dario Piotrowicz) #56735 - [
f507c05060
] - module: simplify --inspect-brk handling (Joyee Cheung) #55679 - [
ed2d373e5a
] - module: disable require(esm) for policy and network import (Joyee Cheung) #56927 - [
de313b2336
] - (SEMVER-MINOR) module: only emit require(esm) warning under --trace-require-module (Joyee Cheung) #56194 - [
3d89e6b6fa
] - module: mark evaluation rejection in require(esm) as handled (Joyee Cheung) #56122 - [
e01dd4bd4f
] - module: do not warn when require(esm) comes from node_modules (Joyee Cheung) #55960 - [
011e6e0032
] - module: fix error thrown from require(esm) hitting TLA repeatedly (Joyee Cheung) #55520 - [
fdf50289c6
] - module: trim off internal stack frames for require(esm) warnings (Joyee Cheung) #55496 - [
8d33f78ca5
] - module: allow ESM that failed to be required to be re-imported (Joyee Cheung) #55502 - [
8192dd6cf3
] - module: include module information in require(esm) warning (Joyee Cheung) #55397 - [
1db210a0ec
] - module: check --experimental-require-module separately from detection (Joyee Cheung) #55250 - [
cf8701c866
] - module: use kNodeModulesRE to detect node_modules (Joyee Cheung) #55243 - [
dc66632261
] - module: support 'module.exports' interop export in require(esm) (Guy Bedford) #54563 - [
1ac1dda9a4
] - (SEMVER-MINOR) module: unflag --experimental-require-module (Joyee Cheung) #55085 - [
683c93f45f
] - module: refator ESM loader for adding future synchronous hooks (Joyee Cheung) #54769 - [
df8a045afe
] - (SEMVER-MINOR) module: implement the "module-sync" exports condition (Joyee Cheung) #54648 - [
249d82b686
] - module: report unfinished TLA in ambiguous modules (Antoine du Hamel) #54980 - [
1925d729f9
] - module: remove bogus assertion in CJS entrypoint handling with --import (Joyee Cheung) #54592 - [
d1331fccb2
] - module: do not warn for typeless package.json when there isn't one (Joyee Cheung) #54045 - [
9916458b44
] - (SEMVER-MINOR) module: unflag detect-module (Geoffrey Booth) #53619 - [
f9dc1eaef5
] - (SEMVER-MINOR) module: add __esModule to require()'d ESM (Joyee Cheung) #52166 - [
b86f575504
] - module: do not set CJS variables for Worker eval (Antoine du Hamel) #53050 - [
30ed93db12
] - module: cache synchronous module jobs before linking (Joyee Cheung) #52868 - [
a03faf289d
] - module: support ESM detection in the CJS loader (Joyee Cheung) #52047 - [
b07ad39bda
] - module: detect ESM syntax by trying to recompile as SourceTextModule (Joyee Cheung) #52413 - [
132a5c190f
] - module: eliminate performance cost of detection for cjs entry (Geoffrey Booth) #52093 - [
55a57a189f
] - node-api: remove deprecated attribute from napi_module_register (Vladimir Morozov) #56162 - [
4fba01911d
] - (SEMVER-MINOR) process: add process.features.require_module (Joyee Cheung) #55241 - [
c0fad18ac0
] - src: add nullptr handling from X509_STORE_new() (Burkov Egor) #56700 - [
5b88d48cbb
] - src: add default value for RSACipherConfig mode field (Burkov Egor) #56701 - [
e3b69e57a6
] - src: fix build with GCC 15 (tjuhaszrh) #56740 - [
a7c1d8c0e8
] - src: initialize FSReqWrapSync in path that uses it (Michaël Zasso) #56613 - [
c06ac66356
] - src: fix undefined script name in error source (Chengzhong Wu) #56502 - [
500f3ccc66
] - src: lock the thread properly in snapshot builder (Joyee Cheung) #56327 - [
cf25a5edeb
] - src: drain platform tasks before creating startup snapshot (Chengzhong Wu) #56403 - [
8af1b53bb8
] - src: safely remove the last line from dotenv (Shima Ryuhei) #55982 - [
bb57e909aa
] - src: removebase64
fromprocess.versions
(Richard Lau) #53442 - [
b8c89a693e
] - src: add--env-file-if-exists
flag (Bosco Domingo) #53060 - [
9097de073a
] - src: don't match after--
inDotenv::GetPathFromArgs
(Aviv Keller) #54237 - [
ececd225b6
] - src: implement IsInsideNodeModules() in C++ (Joyee Cheung) #55286 - [
18593b7d3e
] - src: refactor embedded entrypoint loading (Joyee Cheung) #53573 - [
d7aefc0524
] - stream: fix typo in ReadableStreamBYOBReader.readIntoRequests (Mattias Buelens) #56560 - [
fe5f7bcd47
] - stream: validate undefined sizeAlgorithm in WritableStream (Jason Zhang) #56067 - [
12744c1fd4
] - test: reduce number of written chunks (Luigi Pinca) #56757 - [
e121d7d62c
] - test: fix invalid common.mustSucceed() usage (Luigi Pinca) #56756 - [
11b82de7ed
] - test: use strict mode in global setters test (Rich Trott) #56742 - [
f9d6e35c5e
] - test: cleanup and simplify test-crypto-aes-wrap (James M Snell) #56748 - [
792ce98699
] - test: do not use common.isMainThread (Luigi Pinca) #56768 - [
4f0cf475e0
] - test: add test that uses multibyte for path and resolves modules (yamachu) #56696 - [
3bc8d273c2
] - test: add missing test for env file (Jonas) #56642 - [
ad39367712
] - test: enforce strict mode in test-zlib-const (Rich Trott) #56689 - [
ca79914137
] - test: test-stream-compose.js doesn't need internals (Meghan Denny) #56619 - [
08bde67101
] - test: add maxCount and gcOptions to gcUntil() (Joyee Cheung) #56522 - [
40a0f6f6e3
] - test: mark test-worker-prof as flaky on smartos (Joyee Cheung) #56583 - [
d17bf2f62a
] - test: update test-child-process-bad-stdio to use node:test (Colin Ihrig) #56562 - [
5660b99b43
] - test: disable openssl 3.4.0 incompatible tests (Jelle van der Waa) #56160 - [
861c99f351
] - test: make test-crypto-hash compatible with OpenSSL > 3.4.0 (Jelle van der Waa) #56160 - [
597a39b5f9
] - test: update error code in tls-psk-circuit for for OpenSSL 3.4 (sebastianas) #56420 - [
721e9e1217
] - test: add initial test426 coverage (Chengzhong Wu) #56436 - [
cfe5380c44
] - test: update test-set-http-max-http-headers to use node:test (Colin Ihrig) #56439 - [
51ff71a87a
] - test: update test-child-process-windows-hide to use node:test (Colin Ihrig) #56437 - [
d6aca0cd89
] - test: increase spin for eventloop test on s390 (Michael Dawson) #56228 - [
82461af6ec
] - test: migrate message eval tests from Python to JS (Yiyun Lei) #50482 - [
5083bbb2bb
] - test: remove async-hooks/test-writewrap flaky designation (Luigi Pinca) #56048 - [
b4b26e973d
] - test: deflake test-esm-loader-hooks-inspect-brk (Luigi Pinca) #56050 - [
182be26b8a
] - test: update WPT for url to67880a4
(Node.js GitHub Bot) #55999 - [
e67a84902f
] - test_runner: remove unused errors (Pietro Marchini) #56607 - [
4274c6a015
] - test_runner: run single test file benchmark (Pietro Marchini) #56479 - [
e57004458b
] - tools: update doc to new version (Node.js GitHub Bot) #56259 - [
e039f2b571
] - tools: do not throw on missingcreate-release-proposal.sh
(Antoine du Hamel) #56704 - [
9a1e314498
] - tools: fix tools-deps-update (Daniel Lemire) #56684 - [
d6469b5287
] - tools: do not throw on missingcreate-release-proposal.sh
(Antoine du Hamel) #56695 - [
e162476fdc
] - tools: fix permissions inlint-release-proposal
workflow (Antoine du Hamel) #56614 - [
914b4675c8
] - tools: editcreate-release-proposal
workflow (Antoine du Hamel) #56540 - [
4ff9aa7235
] - tools: validate commit list as part oflint-release-commit
(Antoine du Hamel) #56291 - [
589d0ae8ea
] - tools: fix loong64 build failed (Xiao-Tao) #56466 - [
bc8c39bff8
] - tools: disable unneeded rule ignoring in Python linting (Rich Trott) #56429 - [
3b130002bb
] - tools: add release line label when opening release proposal (Antoine du Hamel) #56317 - [
73b5c16684
] - (SEMVER-MINOR) worker: add postMessageToThread (Paolo Insogna) #53682
v20.18.3
: 2025-02-10, Version 20.18.3 'Iron' (LTS), @marco-ippolito
Notable Changes
- [
030f155986
] - esm: mark import attributes and JSON module as stable (Nicolò Ribaudo) #55333 - [
b9b006331f
] - doc: add LJHarb to collaborators (Jordan Harband) #56132 - [
39b89e90b4
] - doc: enforce strict policy to semver-major releases (Rafael Gonzaga) #55732 - [
247fa1959f
] - crypto: update root certificates to NSS 3.104 (Richard Lau) #55681 - [
adfc2f993a
] - tools: fix root certificate updater (Richard Lau) #55681 - [
29862ae105
] - doc: add jazelly to collaborators (Jason Zhang) #55531
Commits
- [
b4f5da18a5
] - benchmark: addtest-reporters
(Aviv Keller) #55757 - [
407992e272
] - benchmark: addtest_runner/mock-fn
(Aviv Keller) #55771 - [
17abec4367
] - benchmark: add nodeTiming.uvmetricsinfo bench (RafaelGSS) #55614 - [
43f7050338
] - benchmark: add --runs support to run.js (Rafael Gonzaga) #55158 - [
470789a981
] - benchmark: adjust byte size for buffer-copy (Rafael Gonzaga) #55295 - [
ea1c97ac16
] - buffer: document concat zero-fill (Duncan) #55562 - [
ae683a9e1f
] - build: set DESTCPU correctly for 'make binary' on loongarch64 (吴小白) #56271 - [
af020edf96
] - build: fix missing fp16 dependency in d8 builds (Joyee Cheung) #56266 - [
d6a1b74404
] - build: add major release action (Rafael Gonzaga) #56199 - [
bc92a96a5a
] - build: allow overriding clang usage (Shelley Vohr) #56016 - [
f370ec0989
] - build: remove defaults for create-release-proposal (Rafael Gonzaga) #56042 - [
25e1862e87
] - build: set node_arch to target_cpu in GN (Shelley Vohr) #55967 - [
55c205e5f6
] - build: add create release proposal action (Rafael Gonzaga) #55690 - [
9f14ba808d
] - build: implement node_use_amaro flag in GN build (Cheng) #55798 - [
046430c47e
] - build: fix building with system icu 76 (Michael Cho) #55563 - [
0b6d62c812
] - build: fix GN arg used in generate_config_gypi.py (Shelley Vohr) #55530 - [
8f9c642369
] - build: fix GN build for cares/uv deps (Cheng) #55477 - [
284e932326
] - build: fix uninstall script for AIX 7.1 (Cloorc) #55438 - [
2f71f168ef
] - build: tidy up cares.gyp (Richard Lau) #55445 - [
e89e807522
] - build: synchronize list of c-ares source files (Richard Lau) #55445 - [
5eb6c94851
] - build: fix path concatenation (Mohammed Keyvanzadeh) #55387 - [
720d23f3ac
] - build: fix make errors that occur in Makefile (minkyu_kim) #55287 - [
dc552c6739
] - build,win: enable pch for clang-cl (Stefan Stojanovic) #55249 - [
64b140d484
] - cli: add--heap-prof
flag available toNODE_OPTIONS
(Juan José) #54259 - [
23fb644037
] - crypto: ensure CryptoKey usages and algorithm are cached objects (Filip Skokan) #56108 - [
247fa1959f
] - crypto: update root certificates to NSS 3.104 (Richard Lau) #55681 - [
3c4262a171
] - deps: V8: cherry-pick26fd1df
(Shu-yu Guo) #55961 - [
558e6588a4
] - deps: V8: backportae5a4db
(Shu-yu Guo) #55961 - [
169bc58447
] - deps: update simdutf to 5.6.4 (Node.js GitHub Bot) #56255 - [
bc7bb1e269
] - deps: update c-ares to v1.34.4 (Node.js GitHub Bot) #56256 - [
782bb6cac4
] - deps: update zlib to 1.3.0.1-motley-82a5fec (Node.js GitHub Bot) #55980 - [
f7131cf178
] - deps: update corepack to 0.30.0 (Node.js GitHub Bot) #55977 - [
b09f6abcd3
] - deps: update simdutf to 5.6.3 (Node.js GitHub Bot) #55973 - [
d63ccb60ea
] - deps: update zlib to 1.3.0.1-motley-7e2e4d7 (Node.js GitHub Bot) #54432 - [
a2f315ef8b
] - deps: update simdutf to 5.6.2 (Node.js GitHub Bot) #55889 - [
afed723b6c
] - deps: update simdutf to 5.6.1 (Node.js GitHub Bot) #55850 - [
753c3b322f
] - deps: update c-ares to v1.34.3 (Node.js GitHub Bot) #55803 - [
4f89af8a6f
] - deps: update acorn to 8.14.0 (Node.js GitHub Bot) #55699 - [
07359ec14f
] - deps: update acorn to 8.13.0 (Node.js GitHub Bot) #55558 - [
c6236571fc
] - deps: update googletest todf1544b
(Node.js GitHub Bot) #55465 - [
f63413c6f3
] - deps: update c-ares to v1.34.2 (Node.js GitHub Bot) #55463 - [
ad725c766d
] - deps: update ada to 2.9.1 (Node.js GitHub Bot) #54679 - [
33367cbd62
] - deps: update simdutf to 5.6.0 (Node.js GitHub Bot) #55379 - [
f2a55d9d2d
] - deps: update c-ares to v1.34.1 (Node.js GitHub Bot) #55369 - [
1d14886266
] - dgram: check udp buffer size to avoid fd leak (theanarkh) #56084 - [
de265b9558
] - diagnostics_channel: fix unsubscribe during publish (simon-id) #55116 - [
22e0d17097
] - dns: stop using deprecatedares_query
(Aviv Keller) #55430 - [
44f3b23749
] - dns: honor the order option (Luigi Pinca) #55392 - [
f78508cd30
] - doc: add history info for Permission Model (Antoine du Hamel) #56707 - [
f07be5e3cd
] - doc: add note for features usingInternalWorker
with permission model (Antoine du Hamel) #56706 - [
618e005672
] - doc: add history entries for JSON modules stabilization (Antoine du Hamel) #55855 - [
f89f4ff856
] - doc: fix color contrast issue in light mode (Rich Trott) #56272 - [
a51ef9d829
] - doc: clarify util.aborted resource usage (Kunal Kumar) #55780 - [
2d88c4b425
] - doc: add esm examples to node:repl (Alfredo González) #55432 - [
722dada673
] - doc: add esm examples to node:readline (Alfredo González) #55335 - [
090c7a3b01
] - doc: fix 'which' to 'that' and add commas (Selveter Senitro) #56216 - [
ae3f6fbe59
] - doc:sea.getRawAsset(key)
always returns an ArrayBuffer (沈鸿飞) #56206 - [
d103917d92
] - doc: update announce documentation for releases (Rafael Gonzaga) #56200 - [
80e5bb87c4
] - doc: update blog link to /vulnerability (Rafael Gonzaga) #56198 - [
b739c2a926
] - doc: call out import.meta is only supported in ES modules (Anton Kastritskii) #56186 - [
bbd0222a10
] - doc: add ambassador message - benefits of Node.js (Michael Dawson) #56085 - [
0e9abf2754
] - doc: fix incorrect link to style guide (Yuan-Ming Hsu) #56181 - [
1dbc7e87d7
] - doc: fix c++ addon hello world sample (Edigleysson Silva (Edy)) #56172 - [
026f0198c8
] - doc: update blog release-post link (Ruy Adorno) #56123 - [
c2fa359f7a
] - doc: mention-a
flag for the release script (Ruy Adorno) #56124 - [
b9b006331f
] - doc: add LJHarb to collaborators (Jordan Harband) #56132 - [
7a1365ba62
] - doc: add create-release-action to process (Rafael Gonzaga) #55993 - [
51262ec84e
] - doc: rename file to advocacy-ambassador-program.md (Tobias Nießen) #56046 - [
6fc7328831
] - doc: remove unused import from sample code (Blended Bram) #55570 - [
9f3ef4a434
] - doc: add FAQ to releases section (Rafael Gonzaga) #55992 - [
1dcf8dfedb
] - doc: move history entry to class description (Luigi Pinca) #55991 - [
e016f68c73
] - doc: add history entry for textEncoder.encodeInto() (Luigi Pinca) #55990 - [
1b31638262
] - doc: improve GN build documentation a bit (Shelley Vohr) #55968 - [
d25bcfd0b2
] - doc: remove confusing and outdated sentence (Luigi Pinca) #55988 - [
65c1784337
] - doc: add doc for PerformanceObserver.takeRecords() (skyclouds2001) #55786 - [
682ae41f86
] - doc: add vetted courses to the ambassador benefits (Matteo Collina) #55934 - [
9b6cc54b50
] - doc: doc how to add message for promotion (Michael Dawson) #55843 - [
db5378c8b9
] - doc: add esm example for zlib (Leonardo Peixoto) #55946 - [
58a6fbb9cf
] - doc: document approach for building wasm in deps (Michael Dawson) #55940 - [
41e3bcd752
] - doc: add esm examples to node:timers (Alfredo González) #55857 - [
61de8f9b04
] - doc: include git node release --promote to steps (Rafael Gonzaga) #55835 - [
559a0bfa2e
] - doc: add a note on console stream behavior (Gireesh Punathil) #55616 - [
3d11a85fe5
] - doc: add-S
flag release preparation example (Antoine du Hamel) #55836 - [
955690e6cf
] - doc: clarify UV_THREADPOOL_SIZE env var usage (Preveen P) #55832 - [
d6738e919a
] - doc: add notable-change mention to sec release (Rafael Gonzaga) #55830 - [
79876f0dfd
] - doc: fix history info forURL.prototype.toJSON
(Antoine du Hamel) #55818 - [
c14776fbaa
] - doc: correct max-semi-space-size statement (Joe Bowbeer) #55812 - [
83b415e8f3
] - doc: run license-builder (github-actions[bot]) #55813 - [
07f53b1d75
] - doc: clarify triager role (Gireesh Punathil) #55775 - [
2abfdefcf3
] - doc: clarify removal of experimental API does not require a deprecation (Antoine du Hamel) #55746 - [
39b89e90b4
] - doc: enforce strict policy to semver-major releases (Rafael Gonzaga) #55732 - [
d0417eaec9
] - doc: add esm example inpath.md
(Aviv Keller) #55745 - [
032ff07a2d
] - doc: consistent use of word child process (Gireesh Punathil) #55654 - [
16eef6461e
] - doc: clarity to available addon options (Preveen P) #55715 - [
a7ce82e3cc
] - doc: update--max-semi-space-size
description (Joe Bowbeer) #55495 - [
1bb461e2b6
] - doc: add write flag when open file as the demo code's intention (robberfree) #54626 - [
8cd619f8d7
] - doc: remove mention of ECDH-ES in crypto.diffieHellman (Filip Skokan) #55611 - [
4576d14d0f
] - doc: improve c++ embedder API doc (Gireesh Punathil) #55597 - [
12bd57fbaa
] - doc: capitalize "MIT License" (Aviv Keller) #55575 - [
362b01b275
] - doc: add esm examples to node:string_decoder (Alfredo González) #55507 - [
29862ae105
] - doc: add jazelly to collaborators (Jason Zhang) #55531 - [
c1b63e5e6b
] - doc: changed the command used to verify SHASUMS256 (adriancuadrado) #55420 - [
9db657532b
] - doc: add note about stdio streams in child_process (Ederin (Ed) Igharoro) #55322 - [
475e478713
] - doc: addisBigIntObject
to documentation (leviscar) #55450 - [
0487e70475
] - doc: remove outdated remarks abouthighWaterMark
in fs (Ian Kerins) #55462 - [
e9a8feb44a
] - doc: move Danielle Adams key to old gpg keys (RafaelGSS) #55399 - [
bfbe651626
] - doc: move Bryan English key to old gpg keys (RafaelGSS) #55399 - [
c1cab9b4d7
] - doc: move Beth Griggs keys to old gpg keys (RafaelGSS) #55399 - [
85d8eb397c
] - doc: spell out condition restrictions (Jan Martin) #55187 - [
de8de542b5
] - doc: add missing return values in buffer docs (Karl Horky) #55273 - [
a5df7087fd
] - doc: fix ambasador markdown list (Rafael Gonzaga) #55361 - [
fbfcb0cc08
] - doc: edit onboarding guide to clarify when mailmap addition is needed (Antoine du Hamel) #55334 - [
e70abce96a
] - doc: fix the return type of outgoingMessage.setHeaders() (Jimmy Leung) #55290 - [
030f155986
] - esm: mark import attributes and JSON module as stable (Nicolò Ribaudo) #55333 - [
86cb697b81
] - esm: add a fallback when importer in not a file (Antoine du Hamel) #55471 - [
8c8de30680
] - esm: fix inconsistency withimportAssertion
inresolve
hook (Wei Zhu) #55365 - [
a41b0e1247
] - events: optimize EventTarget.addEventListener (Robert Nagy) #55312 - [
2c6dcf7209
] - fs: make mutatingoptions
in Promisesreaddir()
not affect results (LiviaMedeiros) #56057 - [
9317feb829
] - fs: lazily load ReadFileContext (Gürgün Dayıoğlu) #55998 - [
739ee18430
] - http2: support ALPNCallback option (ZYSzys) #56187 - [
7ba6dcf180
] - http2: fix memory leak caused by premature listener removing (ywave620) #55966 - [
4c15bd44a0
] - http2: fix client async storage persistence (Orgad Shaneh) #55460 - [
ac57dadd9a
] - lib: add validation for options in compileFunction (Taejin Kim) #56023 - [
a5b0d8900a
] - lib: remove startsWith/endsWith primordials for char checks (Gürgün Dayıoğlu) #55407 - [
f10857828f
] - lib: test_runner#mock:timers respeced timeout_max behaviour (BadKey) #55375 - [
1a193bf256
] - meta: bump github/codeql-action from 3.27.0 to 3.27.5 (dependabot[bot]) #56103 - [
23f319803d
] - meta: bump actions/checkout from 4.1.7 to 4.2.2 (dependabot[bot]) #56102 - [
a953301a1c
] - meta: bump step-security/harden-runner from 2.10.1 to 2.10.2 (dependabot[bot]) #56101 - [
c58065ae77
] - meta: bump actions/setup-node from 4.0.3 to 4.1.0 (dependabot[bot]) #56100 - [
12b0cecc20
] - meta: add releasers as CODEOWNERS to proposal action (Rafael Gonzaga) #56043 - [
070aa9d6a5
] - meta: bump actions/setup-python from 5.2.0 to 5.3.0 (dependabot[bot]) #55688 - [
7a46ffd18a
] - meta: bump actions/setup-node from 4.0.4 to 4.1.0 (dependabot[bot]) #55687 - [
8b4f2e0c6a
] - meta: bump rtCamp/action-slack-notify from 2.3.0 to 2.3.2 (dependabot[bot]) #55686 - [
024c5b2ab3
] - meta: bump actions/upload-artifact from 4.4.0 to 4.4.3 (dependabot[bot]) #55685 - [
3d06971a15
] - meta: bump actions/cache from 4.0.2 to 4.1.2 (dependabot[bot]) #55684 - [
c33de63a86
] - meta: bump actions/checkout from 4.2.0 to 4.2.2 (dependabot[bot]) #55683 - [
ccc1ea0576
] - meta: bump github/codeql-action from 3.26.10 to 3.27.0 (dependabot[bot]) #55682 - [
9c2d0fd242
] - meta: make review-wanted message minimal (Aviv Keller) #55607 - [
0c14cae2b2
] - meta: show MR/issue title on review-wanted (Aviv Keller) #55606 - [
aeae7e1e6f
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #55381 - [
6d7b78c3d8
] - meta: change color to blue notify review-wanted (Rafael Gonzaga) #55423 - [
7441e289db
] - meta: bump codecov/codecov-action from 4.5.0 to 4.6.0 (dependabot[bot]) #55222 - [
158c8ad77c
] - meta: bump github/codeql-action from 3.26.6 to 3.26.10 (dependabot[bot]) #55221 - [
8d3d4a9fab
] - meta: bump step-security/harden-runner from 2.9.1 to 2.10.1 (dependabot[bot]) #55220 - [
6797a35a5b
] - module: prevent main thread exiting before esm worker ends (Shima Ryuhei) #56183 - [
bd99bf109f
] - node-api: allow napi_delete_reference in finalizers (Chengzhong Wu) #55620 - [
6308c18dbb
] - report: fix network queries in getReport libuv with exclude-network (Adrien Foulon) #55602 - [
ff2eec7275
] - sea: only assert snapshot main function for main threads (Joyee Cheung) #56120 - [
f9f3003de7
] - src: fix outdated js2c.cc references (Chengzhong Wu) #56133 - [
a882536596
] - src: fix kill signal on Windows (Hüseyin Açacak) #55514 - [
df1002438a
] - src: improvenode:os
userInfo performance (Yagiz Nizipli) #55719 - [
f17416ec3e
] - src: fix dns crash when failed to create NodeAresTask (theanarkh) #55521 - [
8d5b8c31d8
] - src: use NewFromUtf8Literal in NODE_DEFINE_CONSTANT (Charles Kerr) #55581 - [
0977bb6c1d
] - src: remove icu basedToASCII
andToUnicode
(Yagiz Nizipli) #55156 - [
72817072e2
] - src: fix winapi_strerror error string (Hüseyin Açacak) #55207 - [
6f47f53f90
] - src,lib: optimize nodeTiming.uvMetricsInfo (RafaelGSS) #55614 - [
ac583d4549
] - stream: propagate AbortSignal reason (Marvin ROGER) #55473 - [
1c8b474319
] - test: skip test-buffer-tostring-range on smartos (Marco Ippolito) #56727 - [
39d608f9d8
] - test: mark test-http-server-request-timeouts-mixed as flaky (Joyee Cheung) #56503 - [
5c3f18be04
] - test: temporary remove resource check from fs read-write (Rafael Gonzaga) #56789 - [
4196aaf033
] - test: remove exludes for sea tests on PPC (Michael Dawson) #56217 - [
3ea738fc26
] - test: removehasOpenSSL3x
utils (Antoine du Hamel) #56164 - [
21e21a270e
] - test: remove test-fs-utimes flaky designation (Luigi Pinca) #56052 - [
e464c6f7a5
] - test: move test-worker-arraybuffer-zerofill to parallel (Luigi Pinca) #56053 - [
e99584cd57
] - test: make HTTP/1.0 connection test more robust (Arne Keller) #55959 - [
2d03f87ef7
] - test: convert readdir test to use test runner (Thomas Chetwin) #55750 - [
207562fa3d
] - test: make x509 crypto tests work with BoringSSL (Shelley Vohr) #55927 - [
a17d9e1acf
] - test: fix determining lower priority (Livia Medeiros) #55908 - [
50b6729d8c
] - test: increase coverage ofpathToFileURL
(Antoine du Hamel) #55493 - [
0aa9e74027
] - test: improve test coverage for child process message sending (Juan José) #55710 - [
ebdbbc3ec8
] - test: ensure that test priority is not higher than current priority (Livia Medeiros) #55739 - [
b40789e085
] - test: add buffer to fs_permission tests (Rafael Gonzaga) #55734 - [
a9998799be
] - test: improve test coverage forServerResponse
(Juan José) #55711 - [
d2421f3c92
] - test: ignore unrelated events in FW watch tests (Carlos Espa) #55605 - [
0ac0afc4a9
] - test: refactor some esm tests (Antoine du Hamel) #55472 - [
0f8b8269d1
] - test: split up test-runner-mock-timers test (Julian Gassner) #55506 - [
8f6462f40b
] - test: avoidapply()
calls with large amount of elements (Livia Medeiros) #55501 - [
e9b0ff482b
] - test: increase test coverage forhttp.OutgoingMessage.appendHeader()
(Juan José) #55467 - [
d5ad060073
] - test: fix addons and node-api test assumptions (Antoine du Hamel) #55441 - [
a28376bb85
] - test: deflaketest-cluster-shared-handle-bind-privileged-port
(Aviv Keller) #55378 - [
22c07867d1
] - test: remove duplicate tests (Luigi Pinca) #55393 - [
5489656b35
] - test: update test_util.cc for coverage (minkyu_kim) #55291 - [
ceafb3250d
] - test,crypto: make crypto tests work with BoringSSL (Shelley Vohr) #55491 - [
7021b3b276
] - test_runner: simplify hook running logic (Colin Ihrig) #55963 - [
d9fd632f56
] - test_runner: error on mocking an already mocked date (Aviv Keller) #55858 - [
3fcca16374
] - test_runner: add support for scheduler.wait on mock timers (Erick Wendel) #55244 - [
f67147ec47
] - tools: update github_reporter to 1.7.2 (Node.js GitHub Bot) #56205 - [
5c819f1043
] - tools: add REPLACEME check to workflow (Mert Can Altin) #56251 - [
b24a85b00b
] - tools: usegithub.actor
instead of bot username for release proposals (Antoine du Hamel) #56232 - [
33cd7d3d8c
] - tools: fix release proposal linter to support more than 1 folk preparing (Antoine du Hamel) #56203 - [
10d55e3d73
] - tools: use commit title as MR title when creating release proposal (Antoine du Hamel) #56165 - [
b3d40e3be5
] - tools: improve release proposal MR opening (Antoine du Hamel) #56161 - [
13455ca9ce
] - tools: updatecreate-release-proposal
workflow (Antoine du Hamel) #56054 - [
851a3d7d8d
] - tools: fix update-undici script (Michaël Zasso) #56069 - [
e1635fbd4e
] - tools: allow dispatch oftools.yml
from forks (Antoine du Hamel) #56008 - [
5f15d8b3f5
] - tools: fix nghttp3 updater script (Antoine du Hamel) #56007 - [
bbf39b8c46
] - tools: filter release keys to reduce interactivity (Antoine du Hamel) #55950 - [
954e60b87d
] - tools: update WPT updater (Antoine du Hamel) #56003 - [
1e09d258da
] - tools: add WPT updater for specific subsystems (Mert Can Altin) #54460 - [
b95c4f5bf0
] - tools: use tokenless Codecov uploads (Michaël Zasso) #55943 - [
6327554706
] - tools: add linter for release commit proposals (Antoine du Hamel) #55923 - [
aad478e58d
] - tools: fix exclude labels for commit-queue (Richard Lau) #55809 - [
1c8c881aef
] - tools: make commit-queue check blocked label (Marco Ippolito) #55781 - [
c3913f9c87
] - tools: fix c-ares updater script for Node.js 18 (Richard Lau) #55717 - [
adfc2f993a
] - tools: fix root certificate updater (Richard Lau) #55681 - [
d336f8de15
] - tools: compact jq output in daily-wpt-fyi.yml action (Filip Skokan) #55695 - [
cdb7839a0c
] - tools: run daily WPT.fyi report on all supported releases (Filip Skokan) #55619 - [
274d0b4062
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #55470 - [
3dceeb8b15
] - tools: add script to synch c-ares source lists (Richard Lau) #55445 - [
bd0ec907da
] - url: handle "unsafe" characters properly inpathToFileURL
(Antoine du Hamel) #54545 - [
83137bceb6
] - util: fix Latin1 decoding to return string output (Mert Can Altin) #56222 - [
195cc42935
] - util: do not rely on mutableObject
andFunction
'constructor
prop (Antoine du Hamel) #56188 - [
cca7c518de
] - util: add fast path for Latin1 decoding (Mert Can Altin) #55275 - [
7ed346d8fd
] - util: do not catch on circular@@​toStringTag
errors (Aviv Keller) #55544 - [
aa031b3eec
] - worker: fix crash when a worker joins after exit (Stephen Belanger) #56191
v20.18.2
: 2025-01-21, Version 20.18.2 'Iron' (LTS), @RafaelGSS
This is a security release.
Notable Changes
- CVE-2025-23083 - throw on InternalWorker use when permission model is enabled (High)
- CVE-2025-23085 - src: fix HTTP2 mem leak on premature close and ERR_PROTO (Medium)
- CVE-2025-23084 - path: fix path traversal in normalize() on Windows (Medium)
Dependency update:
- CVE-2025-22150 - Use of Insufficiently Random Values in undici fetch() (Medium)
Commits
- [
df8b9f2c3e
] - (CVE-2025-22150) deps: update undici to v6.21.1 (Matteo Collina) nodejs-private/node-private#663 - [
42d5821873
] - (CVE-2025-23084) path: fix path traversal in normalize() on Windows (Tobias Nießen) nodejs-private/node-private#555 - [
8187a4b9bb
] - src: fix HTTP2 mem leak on premature close and ERR_PROTO (RafaelGSS) - [
389f239a28
] - (CVE-2025-23083) src,loader,permission: throw on InternalWorker use (RafaelGSS) nodejs-private/node-private#652
v20.18.1
: 2024-11-20, Version 20.18.1 'Iron' (LTS), @marco-ippolito
Notable Changes
- [
7a8992b2d6
] - doc: add abmusse to collaborators (Abdirahim Musse) #55086
Commits
- [
085c3441fe
] - assert: show the diff when deep comparing data with a custom message (Giovanni) #54759 - [
01f0b0e7b4
] - benchmark: adjust config for deepEqual object (Rafael Gonzaga) #55254 - [
a45537269b
] - benchmark: rewrite detect-esm-syntax benchmark (Joyee Cheung) #55238 - [
1a0d8ef64f
] - benchmark: add no-warnings to process.has bench (Rafael Gonzaga) #55159 - [
2be5d611ce
] - benchmark: create benchmark for typescript (Marco Ippolito) #54904 - [
a2aa4fa477
] - benchmark: include ascii to fs/readfile (Rafael Gonzaga) #54988 - [
09849105fe
] - benchmark: add dotenv benchmark (Aviv Keller) #54278 - [
6b3c24dbad
] - buffer: fix out of range for toString (Jason Zhang) #54553 - [
f25a5b6dc4
] - build: use rclone instead of aws CLI (Michaël Zasso) #55617 - [
0bbeb605de
] - build: fix notify-on-review-wanted action (Rafael Gonzaga) #55304 - [
5b35836732
] - build: include.nycrc
in coverage workflows (Wuli Zuo) #55210 - [
f38d1e90e0
] - build: notify via slack when review-wanted (Rafael Gonzaga) #55102 - [
0b985ec4bb
] - build: remove -v flag to reduce noise (iwuliz) #55025 - [
09f75b27a1
] - build: display free disk space after build in the test-macOS workflow (iwuliz) #55025 - [
f25760c4a2
] - build: add the option to generate compile_commands.json in vcbuild.bat (Segev Finer) #52279 - [
746e78c4f3
] - Revert "build: upgrade clang-format to v18" (Chengzhong Wu) #54994 - [
67834ee646
] - build: printRunning XYZ linter...
for py and yml (Aviv Keller) #54386 - [
ae34e276a2
] - build: pin doc workflow to Node.js 20 (Richard Lau) #55755 - [
d0e871a706
] - build,win: add winget config to set up env (Hüseyin Açacak) #54729 - [
93ac799b6b
] - cli: fix spacing for port range error (Aviv Keller) #54495 - [
3ba2e7bf97
] - Revert "console: colorize console error and warn" (Aviv Keller) #54677 - [
2f678ea53b
] - crypto: ensure invalid SubtleCrypto JWK data import results in DataError (Filip Skokan) #55041 - [
5d28d98542
] - deps: update undici to 6.20.0 (Node.js GitHub Bot) #55329 - [
0c7f2fc421
] - deps: update archs files for openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184 - [
da15e7edf5
] - deps: upgrade openssl sources to quictls/openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184 - [
381f1f9d08
] - deps: update archs files for openssl-3.0.14+quic1 (Node.js GitHub Bot) #54336 - [
48d643f78a
] - deps: upgrade openssl sources to quictls/openssl-3.0.14+quic1 (Node.js GitHub Bot) #54336 - [
7b1796803b
] - deps: update timezone to 2024b (Node.js GitHub Bot) #55056 - [
8f1956c588
] - deps: update acorn-walk to 8.3.4 (Node.js GitHub Bot) #54950 - [
20501a7350
] - deps: update corepack to 0.29.4 (Node.js GitHub Bot) #54845 - [
0f81eafecc
] - doc: fix Markdown linter (Antoine du Hamel) #55344 - [
df713f0a98
] - Revert "doc: update test context.assert" (Antoine du Hamel) #55344 - [
fd6fc61d2c
] - doc: add pmarchini to collaborators (Pietro Marchini) #55331 - [
b963db9ee2
] - doc: fixevents.once()
example usingAbortSignal
(Ivo Janssen) #55144 - [
50b13bfb12
] - doc: add onboarding details for ambassador program (Marco Ippolito) #55284 - [
27564b7811
] - doc: fix initial default value of autoSelectFamily (Ihor Rohovets) #55245 - [
9e7be23aa5
] - doc: tweak onboarding instructions (Michael Dawson) #55212 - [
f412a029c3
] - doc: update test context.assert (Pietro Marchini) #55186 - [
2f7828debb
] - doc: fix unordered error anchors (Antoine du Hamel) #55242 - [
d08e4c235b
] - doc: mention addons to experimental permission (Rafael Gonzaga) #55166 - [
d65c2458dc
] - doc: use correct dash in stability status (Antoine du Hamel) #55200 - [
d9839c16cf
] - doc: fix link intest/README.md
(Livia Medeiros) #55165 - [
1ad659afa4
] - doc: add esm examples to node:net (Alfredo González) #55134 - [
81ad69d50f
] - doc: move the YAML changes element (sendoru) #55112 - [
7a51a161be
] - doc: fix the require resolve algorithm inmodules.md
(chirsz) #55117 - [
80edcdf899
] - doc: update style guide (Aviv Keller) #53223 - [
388c754dd2
] - doc: add missing:
torun()
'sglobPatterns
(Aviv Keller) #55135 - [
94302b6a76
] - doc: add abmusse to collaborators (Abdirahim Musse) #55086 - [
27ff2da964
] - doc: add note about--expose-internals
(Aviv Keller) #52861 - [
df6dc753b7
] - doc: removeparseREPLKeyword
from REPL documentation (Aviv Keller) #54749 - [
4baa5c4d10
] - doc: change backporting guide with updated info (Aviv Keller) #53746 - [
9947fc112f
] - doc: add missing definitions tointernal-api.md
(Aviv Keller) #53303 - [
a4586f0e94
] - doc: update documentation for externalizing deps (Michael Dawson) #54792 - [
70504f8522
] - doc: updaterequire(ESM)
history and stability status (Antoine du Hamel) #55199 - [
9d0041ac40
] - doc: add release key for aduh95 (Antoine du Hamel) #55349 - [
0c1666a52a
] - events: allow null/undefined eventInitDict (Matthew Aitken) #54643 - [
453df77f99
] - events: returncurrentTarget
when dispatching (Matthew Aitken) #54642 - [
0decaab9db
] - fs: acknowledgesignal
option infilehandle.createReadStream()
(Livia Medeiros) #55148 - [
00a2fc7166
] - lib: moveSymbol[Async]Dispose
polyfills tointernal/util
(Antoine du Hamel) #54853 - [
8e6b606ac4
] - lib: remove lib/internal/idna.js (Yagiz Nizipli) #55050 - [
c96e5cb664
] - lib: the REPL should survive deletion of Array.prototype methods (Jordan Harband) #31457 - [
748ed2e559
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #55300 - [
8b8d35f015
] - meta: bump mozilla-actions/sccache-action from 0.0.5 to 0.0.6 (dependabot[bot]) #55225 - [
d3441ff0c8
] - meta: bump actions/checkout from 4.1.7 to 4.2.0 (dependabot[bot]) #55224 - [
1c20908558
] - meta: bump actions/setup-node from 4.0.3 to 4.0.4 (dependabot[bot]) #55223 - [
8a529abd69
] - meta: bump peter-evans/create-pull-request from 7.0.1 to 7.0.5 (dependabot[bot]) #55219 - [
9053d210ab
] - meta: add mailmap entry for abmusse (Abdirahim Musse) #55182 - [
db2496c125
] - meta: add more information about nightly releases (Aviv Keller) #55084 - [
d2ce003b2f
] - meta: addlinux
to OS labels in collaborator guide (Aviv Keller) #54986 - [
37b0bea247
] - meta: remove never-used workflow trigger (Aviv Keller) #54983 - [
ae27e2dcd7
] - meta: add links to alternative issue trackers (Aviv Keller) #54401 - [
6e5d524b0f
] - module: remove duplicated import (Aviv Keller) #54942 - [
3a682cca03
] - path: remove repetitive conditional operator inposix.resolve
(Wiyeong Seo) #54835 - [
ac1cb8dfdb
] - perf_hooks: add missing type argument to getEntriesByName (Luke Taher) #54767 - [
85b3edc83b
] - repl: catch\v
and\r
in new-line detection (Aviv Keller) #54512 - [
df1f04999e
] - src: decode native error messages as UTF-8 (Joyee Cheung) #55024 - [
86d718177a
] - src: update clang-tidy and focus on modernization (Yagiz Nizipli) #53757 - [
7d01b6a9c5
] - src: cleanup per env handles directly without a list (Chengzhong Wu) #54993 - [
a730cdb622
] - src: remove duplicate code setting AF_INET (He Yang) #54939 - [
f10d9ad283
] - stream: treat null asyncIterator as undefined (Jason Zhang) #55119 - [
6027084245
] - test: maketest-loaders-workers-spawned
less flaky (Antoine du Hamel) #55172 - [
66a87d19bd
] - test: update multiple assert tests to use node:test (James M Snell) #54585 - [
5105188c47
] - test: update wpt test for encoding (devstone) #55151 - [
81bcec0b82
] - test: deflake test/pummel/test-timers.js (jakecastelli) #55098 - [
82c402265a
] - test: deflake test-http-remove-header-stays-removed (Luigi Pinca) #55004 - [
78021701ed
] - test: fix test-tls-junk-closes-server (Michael Dawson) #55089 - [
c908b8a2d8
] - test: fix more tests that fail when path contains a space (Antoine du Hamel) #55088 - [
afc1628e73
] - test: fixassertSnapshot
when path contains a quote (Antoine du Hamel) #55087 - [
7c88739b83
] - test: fix some tests when path contains%
(Antoine du Hamel) #55082 - [
eb4d468671
] - Revert "test: mark test-fs-watch-non-recursive flaky on Windows" (Luigi Pinca) #55079 - [
bc7b5249d4
] - test: maketest-runner-assert
more robust (Aviv Keller) #55036 - [
6c2a1386f7
] - test: update tls test to support OpenSSL32 (Michael Dawson) #55030 - [
96406610fa
] - test: fixtest-vm-context-dont-contextify
when path contains a space (Antoine du Hamel) #55026 - [
39a80eed4f
] - test: adjust tls-set-ciphers for OpenSSL32 (Michael Dawson) #55016 - [
bd8fd4fceb
] - test: addutil.stripVTControlCharacters
test (RedYetiDev) #54865 - [
333b5a02d0
] - test: improve coverage for timer promises schedular (Aviv Keller) #53370 - [
f48992f433
] - test: remove unused common utilities (RedYetiDev) #54825 - [
93a098c56d
] - test: deflake test-http-header-overflow (Luigi Pinca) #54978 - [
f849cf677d
] - test: fixsoucre
tosource
(Aviv Keller) #55038 - [
1a007ea814
] - test: add asserts to validate test assumptions (Michael Dawson) #54997 - [
6f53c096f8
] - test: move test-http-max-sockets to parallel (Luigi Pinca) #54977 - [
aba9dc775e
] - test: remove test-http-max-sockets flaky designation (Luigi Pinca) #54976 - [
ee5624bffe
] - test: adjust key sizes to support OpenSSL32 (Michael Dawson) #54972 - [
5c11a61140
] - test: update test to support OpenSSL32 (Michael Dawson) #54968 - [
62f21470e4
] - test: update DOM events web platform tests (Matthew Aitken) #54642 - [
426851705c
] - test_runner: assert entry is a valid object (Edigleysson Silva (Edy)) #55231 - [
b1cad519d7
] - test_runner: usetest:
symbol on second print of parent test (RedYetiDev) #54956 - [
63c8f3d436
] - test_runner: replace ansi clear with ansi reset (Pietro Marchini) #55013 - [
0b3fb344f7
] - tools: addpolyfilled
option toprefer-primordials
rule (Antoine du Hamel) #55318 - [
8981309bd9
] - tools: makechoco install
script more readable (Aviv Keller) #54002 - [
7310abeae1
] - tools: bump Rollup from 4.18.1 to 4.22.4 forlint-md
(dependabot[bot]) #55093 - [
083311e8af
] - tools: remove redudant code from eslint require rule (Aviv Keller) #54892 - [
ae4b2aece1
] - tools: update error message for ICU in license-builder (Aviv Keller) #54742 - [
3ebd31684d
] - tools: update github_reporter to 1.7.1 (Node.js GitHub Bot) #54951 - [
397be8a10e
] - tty: fix links for terminal colors (Aviv Keller) #54596 - [
a3c2ef9e98
] - util: update ansi regex (Aviv Keller) #54865 - [
efdccc88a2
] - watch: preserve output when gracefully restarted (Théo LUDWIG) #54323 - [
226836c5ac
] - worker: throw InvalidStateError in postMessage after close (devstone) #55206 - [
f39ff4d14b
] - worker: handle--input-type
more consistently (Antoine du Hamel) #54979 - [
30383ffb9a
] - zlib: throw brotli initialization error from c++ (Yagiz Nizipli) #54698
v20.18.0
: 2024-10-03, Version 20.18.0 'Iron' (LTS), @targos
Notable Changes
Experimental Network Inspection Support in Node.js
This update introduces the initial support for network inspection in Node.js.
Currently, this is an experimental feature, so you need to enable it using the --experimental-network-inspection
flag.
With this feature enabled, you can inspect network activities occurring within a JavaScript application.
To use network inspection, start your Node.js application with the following command:
$ node --inspect-wait --experimental-network-inspection index.js
Please note that the network inspection capabilities are in active development. We are actively working on enhancing this feature and will continue to expand its functionality in future updates.
- Network inspection is limited to the
http
andhttps
modules only. - The Network tab in Chrome DevTools will not be available until the feature request on the Chrome DevTools side is addressed.
Contributed by Kohei Ueno in #53593 and #54246
Exposes X509_V_FLAG_PARTIAL_CHAIN to tls.createSecureContext
This releases introduces a new option to the API tls.createSecureContext
. From
now on, tls.createSecureContext({ allowPartialTrustChain: true })
can be used
to treat intermediate (non-self-signed) certificates in the trust CA certificate
list as trusted.
Contributed by Anna Henningsen in #54790
New option for vm.createContext() to create a context with a freezable globalThis
Node.js implements a flavor of vm.createContext()
and friends that creates a context without contextifying its global
object when vm.constants.DONT_CONTEXTIFY is used. This is suitable when users want to freeze the context
(impossible when the global is contextified i.e. has interceptors installed) or speed up the global access if they
don't need the interceptor behavior.
Contributed by Joyee Cheung in #54394
Deprecations
- [
64aa31f6e5
] - repl: doc-deprecate instantiatingnode:repl
classes withoutnew
(Aviv Keller) #54842 - [
4c52ee3d7f
] - zlib: deprecate instantiating classes without new (Yagiz Nizipli) #54708
Other Notable Changes
- [
b80da2f964
] - buffer: optimize createFromString (Robert Nagy) #54324 - [
02b36cbd2d
] - (SEMVER-MINOR) lib: add EventSource Client (Aras Abbasi) #51575 - [
879546a9bf
] - (SEMVER-MINOR) src,lib: add performance.uvMetricsInfo (Rafael Gonzaga) #54413 - [
f789f4c92d
] - (SEMVER-MINOR) test_runner: support module mocking (Colin Ihrig) #52848 - [
4eb0749b6c
] - (SEMVER-MINOR) url: implement parse method for safer URL parsing (Ali Hassan) #52280
Commits
- [
013c48f0e9
] - benchmark: --no-warnings to avoid DEP/ExpWarn log (Rafael Gonzaga) #54928 - [
194fc113ac
] - benchmark: add buffer.isAscii benchmark (RafaelGSS) #54740 - [
7410d51cb9
] - benchmark: add buffer.isUtf8 bench (RafaelGSS) #54740 - [
2393f21e8a
] - benchmark: add access async version to bench (Rafael Gonzaga) #54747 - [
b8779721f0
] - benchmark: enhance dc publish benchmark (Rafael Gonzaga) #54745 - [
4078aa83ff
] - benchmark: add match and doesNotMatch bench (RafaelGSS) #54734 - [
66acab9976
] - benchmark: add rejects and doesNotReject bench (RafaelGSS) #54734 - [
6db777fb3a
] - benchmark: add throws and doesNotThrow bench (RafaelGSS) #54734 - [
8f101560ce
] - benchmark: add strictEqual and notStrictEqual bench (RafaelGSS) #54734 - [
2c9e4c936e
] - benchmark: adds groups to better separate benchmarks (Giovanni Bucci) #54393 - [
671c3ac633
] - benchmark: fix benchmark for file path and URL conversion (Early Riser) #54190 - [
8c8708cb5b
] - benchmark: use assert.ok searchparams (Rafael Gonzaga) #54334 - [
8b71fa79e2
] - benchmark: add stream.compose benchmark (jakecastelli) #54308 - [
93ee36e3a0
] - benchmark: rename count to n (Rafael Gonzaga) #54271 - [
f2971b6f0b
] - benchmark: change assert() to assert.ok() (Rafael Gonzaga) #54254 - [
f48f2c212c
] - benchmark: support --help in CLI (Aviv Keller) #53358 - [
0309b0520b
] - benchmark: remove force option as force defaults to true (Yelim Koo) #54203 - [
b6e8305b2d
] - benchmark: use assert.ok instead of assert (Rafael Gonzaga) #54176 - [
90c660d26a
] - benchmark: add require-esm benchmark (Joyee Cheung) #52166 - [
1b8584b52e
] - benchmark,doc: add CPU scaling governor to perf (Rafael Gonzaga) #54723 - [
0b9161b330
] - benchmark,doc: mention bar.R to the list of scripts (Rafael Gonzaga) #54722 - [
84bf93b7ea
] - buffer: allow invalid encoding in from (Robert Nagy) #54533 - [
d04246a0d7
] - buffer: optimize byteLength for common encodings (Robert Nagy) #54342 - [
f36831f694
] - buffer: optimize createFromString (Robert Nagy) #54324 - [
f5f40c8088
] - buffer: optimize for common encodings (Robert Nagy) #54319 - [
76c37703be
] - buffer: add JSDoc to blob bytes method (Roberto Simonini) #54117 - [
3012d31404
] - buffer: use faster integer argument check (Robert Nagy) #54089 - [
3505782801
] - buffer: make indexOf(byte) faster (Tobias Nießen) #53455 - [
d285fc1f68
] - build: upgrade clang-format to v18 (Aviv Keller) #53957 - [
d288ec3b0a
] - build: fix conflicting V8 object print flags (Daeyeon Jeong) #54785 - [
e862eecac9
] - build: do not build with code cache for core coverage collection (Joyee Cheung) #54633 - [
f7a606eb96
] - build: turn off-Wrestrict
(Richard Lau) #54737 - [
71ca2665e4
] - build: reclaim disk space on macOS GHA runner (jakecastelli) #54658 - [
82d8051c39
] - build: don't clean obj.target directory if it doesn't exist (Joyee Cheung) #54337 - [
6e550b1f26
] - build: updateruff
to0.5.2
(Aviv Keller) #53909 - [
e2ea7b26d7
] - build: fix ./configure --help format error (Zhenwei Jin) #53066 - [
eb2402d569
] - build: enable building with shared uvwasi lib (Pooja D P) #43987 - [
45732314d4
] - build: sync V8 warning cflags with BUILD.gn (Michaël Zasso) #52873 - [
6e0a2bb54c
] - build: harmonize Clang checks (Michaël Zasso) #52873 - [
3f78d4eb28
] - cli: add--expose-gc
flag available toNODE_OPTIONS
(Juan José) #53078 - [
a110409b2a
] - console: use validateOneOf for colorMode validation (HEESEUNG) #54245 - [
231ab788ea
] - crypto: reject dh,x25519,x448 in {Sign,Verify}Final (Huáng Jùnliàng) #53774 - [
a5984e4570
] - crypto: return a clearer error when loading an unsupported pkcs12 (Tim Perry) #54485 - [
f287cd77bd
] - crypto: remove unusedkHashTypes
internal (Antoine du Hamel) #54627 - [
1fc904f8c4
] - deps: update cjs-module-lexer to 1.4.1 (Node.js GitHub Bot) #54846 - [
95b55c39b1
] - deps: update simdutf to 5.5.0 (Node.js GitHub Bot) #54434 - [
cf6ded5dd3
] - deps: update cjs-module-lexer to 1.4.0 (Node.js GitHub Bot) #54713 - [
7f8edce3f1
] - deps: update c-ares to v1.33.1 (Node.js GitHub Bot) #54549 - [
9a4a7b7ecc
] - deps: update undici to 6.19.8 (Node.js GitHub Bot) #54456 - [
87ca1d7fee
] - deps: update simdutf to 5.3.4 (Node.js GitHub Bot) #54312 - [
d3a743f182
] - deps: update zlib to 1.3.0.1-motley-71660e1 (Node.js GitHub Bot) #53464 - [
926981aa9f
] - deps: update zlib to 1.3.0.1-motley-c2469fd (Node.js GitHub Bot) #53464 - [
654c8d1fdc
] - deps: update zlib to 1.3.0.1-motley-68e57e6 (Node.js GitHub Bot) #53464 - [
2477e79172
] - deps: update zlib to 1.3.0.1-motley-8b7eff8 (Node.js GitHub Bot) #53464 - [
3d8113faf5
] - deps: update zlib to 1.3.0.1-motley-e432200 (Node.js GitHub Bot) #53464 - [
ac294e3db4
] - deps: update zlib to 1.3.0.1-motley-887bb57 (Node.js GitHub Bot) #53464 - [
239588b968
] - deps: update c-ares to v1.33.0 (Node.js GitHub Bot) #54198 - [
6e7de37ed3
] - deps: update undici to 6.19.7 (Node.js GitHub Bot) #54286 - [
38aa9d6ea9
] - deps: update acorn to 8.12.1 (Node.js GitHub Bot) #53465 - [
d30145f663
] - deps: update undici to 6.19.5 (Node.js GitHub Bot) #54076 - [
c169d9c12b
] - deps: update simdutf to 5.3.1 (Node.js GitHub Bot) #54196 - [
92f3447957
] - doc: add missing EventSource docs to globals (Matthew Aitken) #55022 - [
2879ce9681
] - doc: fix broken Android building link (Niklas Wenzel) #54922 - [
096623b59a
] - doc: add support link for aduh95 (Antoine du Hamel) #54866 - [
1dfd238781
] - doc: run license-builder (github-actions[bot]) #54854 - [
a6c748fffb
] - doc: experimental flag for global accessible APIs (Chengzhong Wu) #54330 - [
d48a22fa14
] - doc: addERR_INVALID_ADDRESS
toerrors.md
(Aviv Keller) #54661 - [
4a840cecfa
] - doc: add support link for mcollina (Matteo Collina) #54786 - [
ec22d86512
] - doc: mark--conditions
CLI flag as stable (Guy Bedford) #54209 - [
77c702ca07
] - doc: fix typo in recognizing-contributors (Tobias Nießen) #54822 - [
62953ef9fb
] - doc: clarify--max-old-space-size
and--max-semi-space-size
units (Alexandre ABRIOUX) #54477 - [
e2bab0f2b2
] - doc: replace --allow-fs-read by --allow-fs-write in related section (M1CK431) #54427 - [
9cbfd5b33a
] - doc: add support link for marco-ippolito (Marco Ippolito) #54789 - [
53167b29ef
] - doc: fix typo (Michael Dawson) #54640 - [
87f78a35f7
] - doc: fix webcrypto.md AES-GCM backticks (Filip Skokan) #54621 - [
7c83c15221
] - doc: add documentation about os.tmpdir() overrides (Joyee Cheung) #54613 - [
4bfd832d70
] - doc: add support me link for anonrig (Yagiz Nizipli) #54611 - [
22a103e5ec
] - doc: add alert on REPL from TCP socket (Rafael Gonzaga) #54594 - [
b6374c24e1
] - doc: fix typo in styleText description (Rafael Gonzaga) #54616 - [
2f5b98ee1f
] - doc: add getHeapStatistics() property descriptions (Benji Marinacci) #54584 - [
482302b99b
] - doc: fix information about including coverage files (Aviv Keller) #54527 - [
b3708e7df4
] - doc: support collaborators - talk amplification (Michael Dawson) #54508 - [
c86fe23012
] - doc: add note about shasum generation failure (Marco Ippolito) #54487 - [
d53e6cf755
] - doc: fix capitalization in module.md (shallow-beach) #54488 - [
cdc6713f18
] - doc: add esm examples to node:https (Alfredo González) #54399 - [
1ac1fe4e65
] - doc: fix error description of the max header size (Egawa Ryo) #54125 - [
244542b720
] - doc: add git node security --cleanup (Rafael Gonzaga) #54381 - [
69fb71f54c
] - doc: add note on weakness of permission model (Tobias Nießen) #54268 - [
83b2cb908b
] - doc: add versions when--watch-preserve-output
was added (Théo LUDWIG) #54328 - [
460fb49483
] - doc: replace v19 mention in Current release (Rafael Gonzaga) #54361 - [
994b46a160
] - doc: correct peformance entry types (Jason Zhang) #54263 - [
f142e668cb
] - doc: fix typo in method name in the sea doc (Eliyah Sundström) #54027 - [
9529a30dba
] - doc: mark process.nextTick legacy (Marco Ippolito) #51280 - [
7e25fabb91
] - doc: add esm examples to node:http2 (Alfredo González) #54292 - [
6a4f05e384
] - doc: explicitly mention node:fs module restriction (Rafael Gonzaga) #54269 - [
53f5c54997
] - doc: warn for windows build bug (Jason Zhang) #54217 - [
07bde054f3
] - doc: make some parameters optional intracingChannel.traceCallback
(Deokjin Kim) #54068 - [
62bf03b5f1
] - doc: add esm examples to node:dns (Alfredo González) #54172 - [
fb2b19184b
] - doc: add KevinEady as a triager (Chengzhong Wu) #54179 - [
24976bfba0
] - doc: add esm examples to node:console (Alfredo González) #54108 - [
4e7edc40f7
] - doc: fix sea assets example (Sadzurami) #54192 - [
322b5d91e1
] - doc: add links to security steward companies (Aviv Keller) #52981 - [
6ab271510e
] - doc: moveonread
option fromsocket.connect()
tonew net.socket()
(sendoru) #54194 - [
39c30ea08f
] - doc: move release key for Myles Borins (Richard Lau) #54059 - [
e9fc54804a
] - doc: refresh instructions for building node from source (Liran Tal) #53768 - [
f131dc625a
] - doc: add documentation for blob.bytes() method (jaexxin) #54114 - [
8d41bb900b
] - doc: add missing new lines to custom test reporter examples (Eddie Abbondanzio) #54152 - [
2acaeaba77
] - doc: update list of Triagers on theREADME.md
(Antoine du Hamel) #54138 - [
fff8eb2792
] - doc: expand troubleshooting section (Liran Tal) #53808 - [
402121520f
] - doc: clarifyuseCodeCache
setting for cross-platform SEA generation (Yelim Koo) #53994 - [
272484b8b2
] - doc: test for cli options (Aras Abbasi) #51623 - [
c4d0ca4710
] - doc, build: fixup build docs (Aviv Keller) #54899 - [
2e3e17748b
] - doc, child_process: add esm snippets (Aviv Keller) #53616 - [
c40b4b4f27
] - doc, meta: fix broken link inonboarding.md
(Aviv Keller) #54886 - [
beff587b94
] - doc, meta: add missing,
toBUILDING.md
(Aviv Keller) #54409 - [
c114585430
] - doc, meta: replace command with link to keys (Aviv Keller) #53745 - [
0843077a99
] - doc, test: simplify test README table (Aviv Keller) #53971 - [
2df7bc0e32
] - doc,tools: enforce use ofnode:
prefix (Antoine du Hamel) #53950 - [
0dd4639391
] - esm: fix support forURL
instances inimport.meta.resolve
(Antoine du Hamel) #54690 - [
f0c55e206d
] - fs: refactor rimraf to avoid using primordials (Yagiz Nizipli) #54834 - [
f568384bbd
] - fs: refactor handleTimestampsAndMode to remove redundant call (HEESEUNG) #54369 - [
2fb7cc9715
] - fs: fix typings (Yagiz Nizipli) #53626 - [
596940cfa0
] - http: reduce likelihood of race conditions on keep-alive timeout (jazelly) #54863 - [
6e13a7ba02
] - http: remove prototype primordials (Antoine du Hamel) #53698 - [
99f96eb3f7
] - http2: remove prototype primordials (Antoine du Hamel) #53696 - [
41f5eacc1a
] - https: only use default ALPNProtocols when appropriate (Brian White) #54411 - [
59a39520e1
] - (SEMVER-MINOR) inspector: supportNetwork.loadingFailed
event (Kohei Ueno) #54246 - [
d1007fb1a9
] - inspector: provide detailed info to fix DevTools frontend errors (Kohei Ueno) #54156 - [
3b93507949
] - (SEMVER-MINOR) inspector: add initial support for network inspection (Kohei Ueno) #53593 - [
fc37b801c8
] - lib: remove unnecessary async (jakecastelli) #54829 - [
d86f24787b
] - lib: make WeakRef safe in abort_controller (jazelly) #54791 - [
77c59224e5
] - lib: add note about removingnode:sys
module (Rafael Gonzaga) #54743 - [
b8c06dce02
] - lib: ensure no holey array in fixed_queue (Jason Zhang) #54537 - [
b85c8ce1fc
] - lib: refactor SubtleCrypto experimental warnings (Filip Skokan) #54620 - [
e84812c1b5
] - lib: respect terminal capabilities on styleText (Rafael Gonzaga) #54389 - [
c004abaf17
] - lib: replace spread operator with primordials function (YoonSoo_Shin) #54053 - [
b79aeabc4d
] - lib: avoid for of loop and remove unnecessary variable in zlib (YoonSoo_Shin) #54258 - [
f4085363c6
] - lib: fix unhandled errors in webstream adapters (Fedor Indutny) #54206 - [
1ad857e748
] - lib: fix typos in comments within internal/streams (YoonSoo_Shin) #54093 - [
02b36cbd2d
] - (SEMVER-MINOR) lib: add EventSource Client (Aras Abbasi) #51575 - [
afbf2c0530
] - lib,permission: support Buffer to permission.has (Rafael Gonzaga) #54104 - [
54af47395d
] - meta: bump peter-evans/create-pull-request from 6.1.0 to 7.0.1 (dependabot[bot]) #54820 - [
a0c10f2ed9
] - meta: addWindows ARM64
to flaky-tests list (Aviv Keller) #54693 - [
27b06880e1
] - meta: bump actions/setup-python from 5.1.1 to 5.2.0 (Rich Trott) #54691 - [
8747af1037
] - meta: update sccache to v0.8.1 (Aviv Keller) #54720 - [
3f753d87a6
] - meta: bump step-security/harden-runner from 2.9.0 to 2.9.1 (dependabot[bot]) #54704 - [
6f103ae25d
] - meta: bump actions/upload-artifact from 4.3.4 to 4.4.0 (dependabot[bot]) #54703 - [
3e6a9bb04e
] - meta: bump github/codeql-action from 3.25.15 to 3.26.6 (dependabot[bot]) #54702 - [
c666ebc4e4
] - meta: fix links inSECURITY.md
(Aviv Keller) #54696 - [
4d361b3bed
] - meta: fixcontributing
codeowners (Aviv Keller) #54641 - [
36931aa183
] - meta: remind users to use a supported version in bug reports (Aviv Keller) #54481 - [
cf283d9ca7
] - meta: run coverage-windows whenvcbuild.bat
updated (Aviv Keller) #54412 - [
67ca397c9f
] - meta: add test-permission-* CODEOWNERS (Rafael Gonzaga) #54267 - [
b61a2f5b79
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #54210 - [
dd8ab83667
] - meta: add module label for the lib/internal/modules folder (Aviv Keller) #52858 - [
db78978d17
] - meta: bumpactions/upload-artifact
from 4.3.3 to 4.3.4 (dependabot[bot]) #54166 - [
ca808dd9e5
] - meta: bumpactions/download-artifact
from 4.1.7 to 4.1.8 (dependabot[bot]) #54167 - [
a35d980146
] - meta: bump actions/setup-python from 5.1.0 to 5.1.1 (dependabot[bot]) #54165 - [
3a103c3a17
] - meta: bumpstep-security/harden-runner
from 2.8.1 to 2.9.0 (dependabot[bot]) #54169 - [
775ebbe0e8
] - meta: bumpactions/setup-node
from 4.0.2 to 4.0.3 (dependabot[bot]) #54170 - [
7d5dd6f1d1
] - meta: bumpgithub/codeql-action
from 3.25.11 to 3.25.15 (dependabot[bot]) #54168 - [
80dd38dde3
] - meta: bumpossf/scorecard-action
from 2.3.3 to 2.4.0 (dependabot[bot]) #54171 - [
90b632ee02
] - module: warn on detection in typeless package (Geoffrey Booth) #52168 - [
3011927aab
] - node-api: add external buffer creation benchmark (Chengzhong Wu) #54877 - [
7611093e11
] - node-api: add support for UTF-8 and Latin-1 property keys (Mert Can Altin) #52984 - [
d65a8f377c
] - node-api: remove RefBase and CallbackWrapper (Vladimir Morozov) #53590 - [
309cb1cbd2
] - path: removeStringPrototypeCharCodeAt
fromposix.extname
(Aviv Keller) #54546 - [
2859b4ba9a
] - path: changeposix.join
to use array (Wiyeong Seo) #54331 - [
c61cee2138
] - path: fix relative on Windows (Hüseyin Açacak) #53991 - [
329be5cc35
] - path: use the correct name invalidateString
(Benjamin Pasero) #53669 - [
a9837267cb
] - repl: avoid interpreting 'npm' as a command when errors are recoverable (Shima Ryuhei) #54848 - [
d6a2317961
] - repl: doc-deprecate instantiatingnode:repl
classes withoutnew
(Aviv Keller) #54842 - [
7f09d983f3
] - sea: don't set code cache flags when snapshot is used (Joyee Cheung) #54120 - [
85542b094c
] - src: add Cleanable class to Environment (Gabriel Schulhof) #54880 - [
8422064127
] - src: remove redundant AESCipherMode (Tobias Nießen) #54438 - [
342c32483a
] - src: handle errors correctly inpermission.cc
(Michaël Zasso) #54541 - [
90ff714699
] - src: returnv8::Object
from error constructors (Michaël Zasso) #54541 - [
872856cfcb
] - src: improvebuffer.transcode
performance (Yagiz Nizipli) #54153 - [
91936ebd12
] - src: skip inspector wait in internal workers (Chengzhong Wu) #54219 - [
9759049427
] - src: account for OpenSSL unexpected version (Shelley Vohr) #54038 - [
87167fa248
] - src: useargs.This()
instead ofHolder
(Michaël Zasso) #53474 - [
b05c56e4be
] - src: simplifysize() == 0
checks (Yagiz Nizipli) #53440 - [
d53e53699c
] - src: fix execArgv in worker (theanarkh) #53029 - [
21776a34b5
] - src: make sure pass theargv
to worker threads (theanarkh) #52827 - [
3aaae68ec8
] - (SEMVER-MINOR) src,lib: add performance.uvMetricsInfo (Rafael Gonzaga) #54413 - [
ef1c0d7def
] - src,permission: handle process.chdir on pm (Rafael Gonzaga) #53175 - [
0c32918eef
] - stream: change stream to use index instead offor...of
(Wiyeong Seo) #54474 - [
337cd412b5
] - stream: make checking pendingcb on WritableStream backward compatible (jakecastelli) #54142 - [
713fc0c9eb
] - stream: throw TypeError when criteria fulfilled in getIterator (jakecastelli) #53825 - [
9686153616
] - stream: fix util.inspect for compression/decompressionStream (Mert Can Altin) #52283 - [
76110b0b43
] - test: adjust test-tls-junk-server for OpenSSL32 (Michael Dawson) #54926 - [
4092889371
] - test: adjust tls test for OpenSSL32 (Michael Dawson) #54909 - [
5d48543a16
] - test: fix test-http2-socket-close.js (Hüseyin Açacak) #54900 - [
8048c2eaed
] - test: improve test-internal-fs-syncwritestream (Sunghoon) #54671 - [
597bc14c90
] - test: deflake test-dns (Luigi Pinca) #54902 - [
a9fc8d9cfa
] - test: fix test test-tls-dhe for OpenSSL32 (Michael Dawson) #54903 - [
1b3b4f4a9f
] - test: use correct file naming syntax forutil-parse-env
(Aviv Keller) #53705 - [
9db46b5ea3
] - test: add missing await (Luigi Pinca) #54828 - [
124f715679
] - test: move more url tests tonode:test
(Yagiz Nizipli) #54636 - [
d2ec96150a
] - test: strip color chars intest-runner-run
(Giovanni Bucci) #54552 - [
747d9ae72e
] - test: deflake test-http2-misbehaving-multiplex (Luigi Pinca) #54872 - [
7b7687eadc
] - test: remove dead code in test-http2-misbehaving-multiplex (Luigi Pinca) #54860 - [
60f5f5426d
] - test: reduce test-esm-loader-hooks-inspect-wait flakiness (Luigi Pinca) #54827 - [
f5e77385c5
] - test: reduce the allocation size in test-worker-arraybuffer-zerofill (James M Snell) #54839 - [
f26cf09d6b
] - test: fix test-tls-client-mindhsize for OpenSSL32 (Michael Dawson) #54739 - [
c6f9afec94
] - test: use platform timeout (jakecastelli) #54591 - [
8f49b7c3ee
] - test: reduce fs calls in test-fs-existssync-false (Yagiz Nizipli) #54815 - [
e2c69c9844
] - test: move test-http-server-request-timeouts-mixed (James M Snell) #54841 - [
f7af8ca021
] - test: fix volatile for CauseSegfault with clang (Ivan Trubach) #54325 - [
d1bae5ede5
] - test: settest-worker-arraybuffer-zerofill
as flaky (Yagiz Nizipli) #54802 - [
b5b5cc811f
] - test: settest-http-server-request-timeouts-mixed
as flaky (Yagiz Nizipli) #54802 - [
9808feecac
] - test: settest-single-executable-application-empty
as flaky (Yagiz Nizipli) #54802 - [
97d41c62e3
] - test: settest-macos-app-sandbox
as flaky (Yagiz Nizipli) #54802 - [
57ae68001c
] - test: settest-fs-utimes
as flaky (Yagiz Nizipli) #54802 - [
38afc4da03
] - test: settest-runner-run-watch
as flaky (Yagiz Nizipli) #54802 - [
68e19748a6
] - test: settest-writewrap
as flaky (Yagiz Nizipli) #54802 - [
e8cb03d530
] - test: settest-async-context-frame
as flaky (Yagiz Nizipli) #54802 - [
3a56517220
] - test: settest-esm-loader-hooks-inspect-wait
as flaky (Yagiz Nizipli) #54802 - [
c98cd1227d
] - test: settest-http2-large-file
as flaky (Yagiz Nizipli) #54802 - [
16176a6323
] - test: settest-runner-watch-mode-complex
as flaky (Yagiz Nizipli) #54802 - [
eed0537533
] - test: settest-performance-function
as flaky (Yagiz Nizipli) #54802 - [
d0f208d2e9
] - test: settest-debugger-heap-profiler
as flaky (Yagiz Nizipli) #54802 - [
68891a6363
] - test: fixtest-process-load-env-file
when path contains'
(Antoine du Hamel) #54511 - [
4f82673139
] - test: refactor fs-watch tests due to macOS issue (Santiago Gimeno) #54498 - [
3606c53fdc
] - test: refactortest-esm-type-field-errors
(Giovanni Bucci) #54368 - [
99566aea97
] - test: improve output of child process utilities (Joyee Cheung) #54622 - [
ed2377c1a1
] - test: fix test-tls-client-auth test for OpenSSL32 (Michael Dawson) #54610 - [
d2a7e45946
] - test: update TLS test for OpenSSL 3.2 (Richard Lau) #54612 - [
a50bbca78a
] - test: increase key size for ca2-cert.pem (Michael Dawson) #54599 - [
d7ac3262de
] - test: update test-assert-typedarray-deepequal to use node:test (James M Snell) #54585 - [
916a73cd8f
] - test: update test-assert to use node:test (James M Snell) #54585 - [
10bea1cef5
] - test: merge ongc and gcutil into gc.js (tannal) #54355 - [
f145982436
] - test: move a couple of tests over to using node:test (James M Snell) #54582 - [
229e102d20
] - test: fix embedding test for Windows (Vladimir Morozov) #53659 - [
fcf82adef0
] - test: use relative paths in test-cli-permission tests (sendoru) #54188 - [
4c219b0235
] - test: fix timeout not being cleared (Isaac-yz-Liu) #54242 - [
e446517a41
] - test: refactortest-runner-module-mocking
(Antoine du Hamel) #54233 - [
782a6a05ef
] - test: use assert.{s,deepS}trictEqual() (Luigi Pinca) #54208 - [
d478db7adc
] - test: set test-structuredclone-jstransferable non-flaky (Stefan Stojanovic) #54115 - [
c8587ec90d
] - test: update wpt test for streams (devstone) #54129 - [
dbc26c2971
] - test: fix typo in test (Sonny) #54137 - [
17b7ec4df3
] - test: add initial pull delay and prototype pollution prevention tests (Sonny) #54061 - [
931ff4367a
] - test: update wpt test (Mert Can Altin) #53814 - [
1c1bd7ce52
] - test: updateurl
web-platform tests (Yagiz Nizipli) #53472 - [
b048eaea5c
] - test_runner: reimplementassert.ok
to allow stack parsing (Aviv Keller) #54776 - [
c981e61155
] - test_runner: improve code coverage cleanup (Colin Ihrig) #54856 - [
4f421b37da
] - test_runner: use validateStringArray fortimers.enable()
(Deokjin Kim) #49534 - [
27da75ae22
] - test_runner: do not expose internal loader (Antoine du Hamel) #54106 - [
56cbc80d28
] - test_runner: make mock_loader not confuse CJS and ESM resolution (Sung Ye In) #53846 - [
8fd951f7c7
] - test_runner: remove outdated comment (Colin Ihrig) #54146 - [
65b6fec3ba
] - test_runner: run after hooks even if test is aborted (Colin Ihrig) #54151 - [
c0b4c8284c
] - test_runner: added colors to dot reporter (Giovanni) #53450 - [
3000e5df91
] - test_runner: support module detection in module mocks (Geoffrey Booth) #53642 - [
f789f4c92d
] - (SEMVER-MINOR) test_runner: support module mocking (Colin Ihrig) #52848 - [
82d1c36f51
] - test_runner: display failed test stack trace with dot reporter (Mihir Bhansali) #52655 - [
5358601e31
] - timers: avoid generating holey internal arrays (Gürgün Dayıoğlu) #54771 - [
b6ed97c66d
] - timers: document ref option for scheduler.wait (Paolo Insogna) #54605 - [
f524b8a28b
] - timers: fix validation (Paolo Insogna) #54404 - [
bc020f7cb3
] - (SEMVER-MINOR) tls: addallowPartialTrustChain
flag (Anna Henningsen) #54790 - [
d0e6f9168e
] - tls: remove prototype primordials (Antoine du Hamel) #53699 - [
f5c65d0be6
] - tools: add readability/fn_size to filter (Rafael Gonzaga) #54744 - [
a47bb9b2c2
] - tools: add util scripts to land and rebase MRs (Antoine du Hamel) #54656 - [
fe3155cefa
] - tools: remove readability/fn_size rule (Rafael Gonzaga) #54663 - [
d6b9cc3acd
] - tools: remove unused python files (Aviv Keller) #53928 - [
b5fbe9609c
] - tools: remove header from c-ares license (Aviv Keller) #54335 - [
a7fdc608c6
] - tools: add find pyenv path on windows (Marco Ippolito) #54314 - [
f90688cd5b
] - tools: make undici updater build wasm from src (Michael Dawson) #54128 - [
a033dff2f2
] - tty: initialize winSize array with values (Michaël Zasso) #54281 - [
e635e0956c
] - typings: fix TypedArray to a global type (1ilsang) #54063 - [
b5bf08f31e
] - typings: correct param type ofSafePromisePrototypeFinally
(Wuli) #54727 - [
628ae4bde5
] - typings: add util.styleText type definition (Rafael Gonzaga) #54252 - [
cc37401ea5
] - typings: add missing binding functionwriteFileUtf8()
(Jungku Lee) #54110 - [
728c3fd6f1
] - url: modify pathToFileURL to handle extended UNC path (Early Riser) #54262 - [
b25563dfcb
] - url: improve resolveObject with ObjectAssign (Early Riser) #54092 - [
eededd1ca8
] - url: make URL.parse enumerable (Filip Skokan) #53720 - [
4eb0749b6c
] - (SEMVER-MINOR) url: implement parse method for safer URL parsing (Ali Hassan) #52280 - [
9e1c2293bf
] - vm: harden module type checks (Chengzhong Wu) #52162 - [
2d90340cb3
] - (SEMVER-MINOR) vm: introduce vanilla contexts via vm.constants.DONT_CONTEXTIFY (Joyee Cheung) #54394 - [
4644d05ab5
] - zlib: deprecate instantiating classes without new (Yagiz Nizipli) #54708 - [
ecdf6dd444
] - zlib: simplify validators (Yagiz Nizipli) #54442
v20.17.0
: 2024-08-21, Version 20.17.0 'Iron' (LTS), @marco-ippolito
module: support require()ing synchronous ESM graphs
This release adds require()
support for synchronous ESM graphs under
the flag --experimental-require-module
.
If --experimental-require-module
is enabled, and the ECMAScript
module being loaded by require()
meets the following requirements:
- Explicitly marked as an ES module with a "type": "module" field in the closest package.json or a .mjs extension.
- Fully synchronous (contains no top-level await).
require()
will load the requested module as an ES Module, and return
the module name space object. In this case it is similar to dynamic
import()
but is run synchronously and returns the name space object
directly.
Contributed by Joyee Cheung in #51977
matchesGlob
method
path: add Glob patterns can now be tested against individual paths via the path.matchesGlob(path, pattern)
method.
Contributed by Aviv Keller in #52881
stream: expose DuplexPair API
The function duplexPair
returns an array with two items,
each being a Duplex
stream connected to the other side:
const [ sideA, sideB ] = duplexPair();
Whatever is written to one stream is made readable on the other. It provides behavior analogous to a network connection, where the data written by the client becomes readable by the server, and vice-versa.
Contributed by Austin Wright in #34111
Other Notable Changes
- [
8e64c02b19
] - (SEMVER-MINOR) http: add diagnostics channelhttp.client.request.error
(Kohei Ueno) #54054 - [
ae30674991
] - meta: add jake to collaborators (jakecastelli) #54004 - [
4a3ecbfc9b
] - (SEMVER-MINOR) stream: implementmin
option forReadableStreamBYOBReader.read
(Mattias Buelens) #50888
Commits
- [
b3a2726cbc
] - assert: use isError instead of instanceof in innerOk (Pietro Marchini) #53980 - [
c7e4c3daf4
] - benchmark: add cpSync benchmark (Yagiz Nizipli) #53612 - [
a52de8c5ff
] - bootstrap: print--help
message usingconsole.log
(Jacob Hummer) #51463 - [
61b90e7c5e
] - build: update gcovr to 7.2 and codecov config (Benjamin E. Coe) #54019 - [
a9c04eaa27
] - build: ensure v8_pointer_compression_sandbox is enabled on 64bit (Shelley Vohr) #53884 - [
342a663d7a
] - build: trigger coverage ci when updating codecov (Yagiz Nizipli) #53929 - [
5727b4d129
] - build: update codecov coverage build count (Yagiz Nizipli) #53929 - [
977af25870
] - build: disable test-asan workflow (Michaël Zasso) #53844 - [
04798fb104
] - build: fix build warning of c-ares under GN build (Cheng) #53750 - [
5ec5e78574
] - build: fix mac build error of c-ares under GN (Cheng) #53687 - [
3d8721f0a4
] - build: add version-specific library path for AIX (Richard Lau) #53585 - [
ffb0bd344d
] - build, tools: drop leading/
fromr2dir
(Richard Lau) #53951 - [
a2d74f4c31
] - build,tools: simplify upload of shasum signatures (Michaël Zasso) #53892 - [
993bb3b6e7
] - child_process: fix incomplete prototype pollution hardening (Liran Tal) #53781 - [
137a2e5766
] - cli: document--inspect
port0
behavior (Aviv Keller) #53782 - [
820e6e1737
] - cli: updatenode.1
to reflect Atom's sunset (Aviv Keller) #53734 - [
fa0e8d7b3b
] - crypto: avoid std::function (Tobias Nießen) #53683 - [
460240c368
] - crypto: make deriveBits length parameter optional and nullable (Filip Skokan) #53601 - [
ceb1d5e00a
] - crypto: avoid taking ownership of OpenSSL objects (Tobias Nießen) #53460 - [
44268c27eb
] - deps: update corepack to 0.29.3 (Node.js GitHub Bot) #54072 - [
496975ece0
] - deps: update c-ares to v1.32.3 (Node.js GitHub Bot) #54020 - [
5eea419349
] - deps: update c-ares to v1.32.2 (Node.js GitHub Bot) #53865 - [
8c8e3688c5
] - deps: update googletest to4b21f1a
(Node.js GitHub Bot) #53842 - [
78f6b34c77
] - deps: update minimatch to 10.0.1 (Node.js GitHub Bot) #53841 - [
398f7acca3
] - deps: update corepack to 0.29.2 (Node.js GitHub Bot) #53838 - [
fa8f99d90b
] - deps: update simdutf to 5.3.0 (Node.js GitHub Bot) #53837 - [
a19b28336b
] - deps: update ada to 2.9.0 (Node.js GitHub Bot) #53748 - [
2f66c7e707
] - deps: upgrade npm to 10.8.2 (npm team) #53799 - [
2a2620e7c0
] - deps: update googletest to34ad51b
(Node.js GitHub Bot) #53157 - [
c01ce60ce7
] - deps: update googletest to305e5a2
(Node.js GitHub Bot) #53157 - [
832328ea01
] - deps: update c-ares to v1.32.1 (Node.js GitHub Bot) #53753 - [
878e9a4ae7
] - deps: update minimatch to 9.0.5 (Node.js GitHub Bot) #53646 - [
4647e6b5c5
] - deps: update c-ares to v1.32.0 (Node.js GitHub Bot) #53722 - [
30310bf887
] - doc: move numCPUs require to top of file in cluster CJS example (Alfredo González) #53932 - [
36170eddca
] - doc: update security-release process to automated one (Rafael Gonzaga) #53877 - [
55f5e76ba7
] - doc: fix typo in technical-priorities.md (YoonSoo_Shin) #54094 - [
1c0ccc0ca8
] - doc: fix typo in diagnostic tooling support tiers document (Taejin Kim) #54058 - [
6a5120ff0f
] - doc: move GeoffreyBooth to TSC regular member (Geoffrey Booth) #54047 - [
ead05aad2a
] - doc: fix typo in recognizing-contributors (Marco Ippolito) #53990 - [
25e59aebac
] - doc: update boxstarter README (Aviv Keller) #53785 - [
a3183fb927
] - doc: add info about prefix-only modules tomodule.builtinModules
(Grigory) #53954 - [
89599e025f
] - doc: removescroll-behavior: smooth;
(Cloyd Lau) #53942 - [
139c62e40c
] - doc: move --test-coverage-{ex,in}clude to proper location (Colin Ihrig) #53926 - [
233aba90ea
] - doc: updateapi_assets
README for new files (Aviv Keller) #53676 - [
44a1cbe98a
] - doc: add MattiasBuelens to collaborators (Mattias Buelens) #53895 - [
f5280ddbc5
] - doc: fix casing of GitHub handle for two collaborators (Antoine du Hamel) #53857 - [
9224e3eef1
] - doc: update release-post nodejs.org script (Rafael Gonzaga) #53762 - [
f87eed8de4
] - doc: move MylesBorins to emeritus (Myles Borins) #53760 - [
32ac80ae8d
] - doc: add Rafael to the last security release (Rafael Gonzaga) #53769 - [
e71aa7e98b
] - doc: use mock.callCount() in examples (Sébastien Règne) #53754 - [
f64db24312
] - doc: clarify authenticity of plaintexts in update (Tobias Nießen) #53784 - [
51e736ac83
] - doc: add option to have support me link (Michael Dawson) #53312 - [
9804731d0f
] - doc: updatescroll-padding-top
to 4rem (Cloyd Lau) #53662 - [
229f7f8b8a
] - doc: mention v8.setFlagsFromString to pm (Rafael Gonzaga) #53731 - [
98d59aa929
] - doc: remove the last <pre> tag (Claudio W) #53741 - [
60ee41df08
] - doc: exclude voting and regular TSC from spotlight (Michael Dawson) #53694 - [
c3536cfa99
] - doc: fix releases guide for recent Git versions (Michaël Zasso) #53709 - [
3b632e1871
] - doc: requirenode:process
in assert doc examples (Alfredo González) #53702 - [
754090c110
] - doc: add additional explanation to the wildcard section in permissions (jakecastelli) #53664 - [
4346de7267
] - doc: mark NODE_MODULE_VERSION for Node.js 22.0.0 (Michaël Zasso) #53650 - [
758178bd72
] - doc: include node.module_timer on available categories (Vinicius Lourenço) #53638 - [
e0d213df2b
] - doc: fix module customization hook examples (Elliot Goodrich) #53637 - [
43ac5a2441
] - doc: fix doc for correct usage with plan & TestContext (Emil Tayeb) #53615 - [
5076f0d292
] - doc: remove some news issues that are no longer (Michael Dawson) #53608 - [
c997dbef34
] - doc: add issue for news from ambassadors (Michael Dawson) #53607 - [
16d55f1d25
] - doc: add esm example for os (Leonardo Peixoto) #53604 - [
156fc536f2
] - doc: clarify usage of coverage reporters (Eliphaz Bouye) #53523 - [
f8f247bc99
] - doc: document addition testing options (Aviv Keller) #53569 - [
73860aca56
] - doc: clarify that fs.exists() may return false for existing symlink (Tobias Nießen) #53566 - [
59c5c5c73e
] - doc: note http.closeAllConnections excludes upgraded sockets (Rob Hogan) #53560 - [
1cd3c8eb27
] - doc: fix typo (EhsanKhaki) #53397 - [
3c5e593e2a
] - doc, meta: add PTAL to glossary (Aviv Keller) #53770 - [
f336e61257
] - doc, test: tracing channel hasSubscribers getter (Thomas Hunter II) #52908 - [
4187b81439
] - doc, typings: events.once accepts symbol event type (René) #53542 - [
3cdf94d403
] - doc,tty: add documentation for ReadStream and WriteStream (jakecastelli) #53567 - [
5d03f6fab7
] - esm: move hooks test with others (Geoffrey Booth) #53558 - [
490f15a99b
] - fs: ensure consistency for mkdtemp in both fs and fs/promises (YieldRay) #53776 - [
8e64c02b19
] - (SEMVER-MINOR) http: add diagnostics channelhttp.client.request.error
(Kohei Ueno) #54054 - [
0d70c79ebf
] - lib: optimize copyError with ObjectAssign in primordials (HEESEUNG) #53999 - [
a4ff2ac0f0
] - lib: improve cluster/primary code (Ehsan Khakifirooz) #53756 - [
c667fbd988
] - lib: improve error message when index not found on cjs (Vinicius Lourenço) #53859 - [
51ba566171
] - lib: decorate async stack trace in source maps (Chengzhong Wu) #53860 - [
d012dd3d29
] - lib: remove path.resolve from permissions.js (Rafael Gonzaga) #53729 - [
1e9ff50446
] - lib: add toJSON to PerformanceMeasure (theanarkh) #53603 - [
3a2d8bffa5
] - lib: convert WeakMaps in cjs loader with private symbol properties (Chengzhong Wu) #52095 - [
e326342bd7
] - meta: addsqlite
to js subsystems (Alex Yang) #53911 - [
bfabfb4d17
] - meta: move tsc member to emeritus (Michael Dawson) #54029 - [
ae30674991
] - meta: add jake to collaborators (jakecastelli) #54004 - [
6ca0cfc602
] - meta: remove license for hljs (Aviv Keller) #53970 - [
e6ba121e83
] - meta: make more bug-report information required (Aviv Keller) #53718 - [
1864cddd0c
] - meta: store actions secrets in environment (Aviv Keller) #53930 - [
c0b24e5071
] - meta: move anonrig to tsc voting members (Yagiz Nizipli) #53888 - [
e60b089f7f
] - meta: remove redudant logging from dep updaters (Aviv Keller) #53783 - [
bff6995ec3
] - meta: change email address of anonrig (Yagiz Nizipli) #53829 - [
c2bb46020a
] - meta: addnode_sqlite.c
to MR label config (Aviv Keller) #53797 - [
b8d2bbc6d6
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #53758 - [
0ad4b7c1f7
] - meta: use HTML entities in commit-queue comment (Aviv Keller) #53744 - [
aa0c5c25d1
] - meta: move regular TSC member to emeritus (Michael Dawson) #53693 - [
a5f5b4550b
] - meta: bump codecov/codecov-action from 4.4.1 to 4.5.0 (dependabot[bot]) #53675 - [
f84e215c90
] - meta: bump mozilla-actions/sccache-action from 0.0.4 to 0.0.5 (dependabot[bot]) #53674 - [
d5a9c249d3
] - meta: bump github/codeql-action from 3.25.7 to 3.25.11 (dependabot[bot]) #53673 - [
39d6c780c8
] - meta: bump actions/checkout from 4.1.6 to 4.1.7 (dependabot[bot]) #53672 - [
bb6fe38a34
] - meta: bump peter-evans/create-pull-request from 6.0.5 to 6.1.0 (dependabot[bot]) #53671 - [
5dcdfb5e6b
] - meta: bump step-security/harden-runner from 2.8.0 to 2.8.1 (dependabot[bot]) #53670 - [
44d901a1c9
] - meta: move member from TSC regular to emeriti (Michael Dawson) #53599 - [
0c91186afa
] - meta: warnings bypass deprecation cycle (Benjamin Gruenbaum) #53513 - [
bcd08bef60
] - meta: prevent constant references to issues in versioning (Aviv Keller) #53564 - [
7625dc4927
] - module: fix submodules loaded by require() and import() (Joyee Cheung) #52487 - [
6c4f4772e3
] - module: tidy code and comments (Jacob Smith) #52437 - [
51b88faeac
] - module: disallow CJS <-> ESM edges in a cycle from require(esm) (Joyee Cheung) #52264 - [
4dae68ced4
] - module: centralize SourceTextModule compilation for builtin loader (Joyee Cheung) #52291 - [
cad46afc07
] - (SEMVER-MINOR) module: support require()ing synchronous ESM graphs (Joyee Cheung) #51977 - [
ac58c829a1
] - node-api: add property keys benchmark (Chengzhong Wu) #54012 - [
e6a4104bd1
] - node-api: rename nogc to basic (Gabriel Schulhof) #53830 - [
57b8b8e18e
] - (SEMVER-MINOR) path: addmatchesGlob
method (Aviv Keller) #52881 - [
bf6aa53299
] - process: unify experimental warning messages (Aviv Keller) #53704 - [
2a3ae16e62
] - src: expose LookupAndCompile with parameters (Shelley Vohr) #53886 - [
0109f9c961
] - src: simplify AESCipherTraits::AdditionalConfig (Tobias Nießen) #53890 - [
6bafe8a457
] - src: fix -Wshadow warning (Shelley Vohr) #53885 - [
4c36d6c47a
] - src: fix slice of slice of file-backed Blob (Josh Lee) #53972 - [
848c2d59fb
] - src: cache invariant code motion (Rafael Gonzaga) #53879 - [
acaf5dd1cd
] - src: avoid strcmp in ImportJWKAsymmetricKey (Tobias Nießen) #53813 - [
b71250aaf9
] - src: replace ToLocalChecked uses with ToLocal in node-file (James M Snell) #53869 - [
aff9a5339a
] - src: fix env-file flag to ignore spaces before quotes (Mohit Malhotra) #53786 - [
e352a4ef27
] - src: update outdated references to spec sections (Tobias Nießen) #53832 - [
1a4da22a60
] - src: use Maybe<void> in ManagedEVPPKey (Tobias Nießen) #53811 - [
0c24b91bd2
] - src: fix error handling in ExportJWKAsymmetricKey (Tobias Nießen) #53767 - [
81cd84c716
] - src: use Maybe<void> in node::crypto::error (Tobias Nießen) #53766 - [
8135f3616d
] - src: fix typo in node.h (Daeyeon Jeong) #53759 - [
e6d735a997
] - src: document the Node.js context embedder data (Joyee Cheung) #53611 - [
584beaa2ed
] - src: zero-initialize data that are copied into the snapshot (Joyee Cheung) #53563 - [
ef5dabd8c6
] - src: fix Worker termination when '--inspect-brk' is passed (Daeyeon Jeong) #53724 - [
62f4f6f48e
] - src: remove ArrayBufferAllocator::Reallocate override (Shu-yu Guo) #52910 - [
a6dd8643fa
] - src: reduce unnecessary serialization of CLI options in C++ (Joyee Cheung) #52451 - [
31fdb881cf
] - src,lib: expose getCategoryEnabledBuffer to use on node.http (Vinicius Lourenço) #53602 - [
2eea8502e1
] - src,test: further cleanup references to osx (Daniel Bayley) #53820 - [
7c21bb99a5
] - (SEMVER-MINOR) stream: expose DuplexPair API (Austin Wright) #34111 - [
56299f7309
] - stream: improve inspector ergonomics (Benjamin Gruenbaum) #53800 - [
9b82b15230
] - stream: update ongoing promise in async iterator return() method (Mattias Buelens) #52657 - [
4a3ecbfc9b
] - (SEMVER-MINOR) stream: implementmin
option forReadableStreamBYOBReader.read
(Mattias Buelens) #50888 - [
bd996bf694
] - test: do not swallow uncaughtException errors in exit code tests (Meghan Denny) #54039 - [
77761af077
] - test: move shared module totest/common
(Rich Trott) #54042 - [
bec88ce138
] - test: skip sea tests with more accurate available disk space estimation (Chengzhong Wu) #53996 - [
9a98ad47cd
] - test: remove unnecessary console log (KAYYY) #53812 - [
364d09cf0a
] - test: add comments and rename test for timer robustness (Rich Trott) #54008 - [
5c5093dc0a
] - test: add test for one arg timers to increase coverage (Carlos Espa) #54007 - [
43ede1ae0b
] - test: mark 'test/parallel/test-sqlite.js' as flaky (Colin Ihrig) #54031 - [
0ad783cb42
] - test: mark test-pipe-file-to-http as flaky (jakecastelli) #53751 - [
f2b4fd3544
] - test: compare paths on Windows without considering case (Early Riser) #53993 - [
2e69e5f4d2
] - test: skip sea tests in large debug builds (Chengzhong Wu) #53918 - [
56c26fe6e5
] - test: skip --title check on IBM i (Abdirahim Musse) #53952 - [
6d0b8ded00
] - test: reduce flakiness oftest-assert-esm-cjs-message-verify
(Antoine du Hamel) #53967 - [
edb75aebd7
] - test: usePYTHON
executable from env inassertSnapshot
(Antoine du Hamel) #53938 - [
be94e470a6
] - test: deflake test-blob-file-backed (Luigi Pinca) #53920 - [
c2b0dcd165
] - test: un-set inspector-async-hook-setup-at-inspect-brk as flaky (Abdirahim Musse) #53692 - [
6dc18981ac
] - test: use python3 instead of python in pummel test (Mathis Wiehl) #53057 - [
662bf524e1
] - test: do not assume cwd in snapshot tests (Antoine du Hamel) #53146 - [
a07526702a
] - test: fix OpenSSL version checks (Richard Lau) #53503 - [
2b70018d11
] - test: refactor, add assertion to http-request-end (jakecastelli) #53411 - [
c0262c1561
] - test_runner: switched to internal readline interface (Emil Tayeb) #54000 - [
fb7342246c
] - test_runner: do not throw on mocked clearTimeout() (Aksinya Bykova) #54005 - [
367f9e77f3
] - test_runner: cleanup global event listeners after run (Eddie Abbondanzio) #53878 - [
206c668ee7
] - test_runner: remove plan option from run() (Colin Ihrig) #53834 - [
8660d481e5
] - tls: add setKeyCert() to tls.Socket (Brian White) #53636 - [
9c5beabd83
] - tools: fixSLACK_TITLE
in invalid commit workflow (Antoine du Hamel) #53912 - [
4dedf2aead
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #53840 - [
642d5c5d30
] - tools: use v8_features.json to populate config.gypi (Cheng) #53749 - [
031206544d
] - tools: update lint-md-dependencies to unified@11.0.5 (Node.js GitHub Bot) #53555 - [
8404421ea6
] - tools: replace reference to NodeMainInstance with SnapshotBuilder (codediverdev) #53544 - [
2d8490fed5
] - typings: addfs_dir
types (Yagiz Nizipli) #53631 - [
325eae0b3f
] - url: fix typo (KAYYY) #53827 - [
7fc45f5e3f
] - url: reduce unnecessary string copies (Yagiz Nizipli) #53628 - [
1d961facf1
] - url: add missing documentation forURL.parse()
(Yagiz Nizipli) #53733 - [
ce877c6d0f
] - util: fix crashing when emitting new Buffer() deprecation warning #53075 (Aras Abbasi) #53089 - [
d6d04279ca
] - worker: allow copied NODE_OPTIONS in the env setting (Joyee Cheung) #53596
v20.16.0
: 2024-07-24, Version 20.16.0 'Iron' (LTS), @marco-ippolito
process: add process.getBuiltinModule(id)
process.getBuiltinModule(id)
provides a way to load built-in modules
in a globally available function. ES Modules that need to support
other environments can use it to conditionally load a Node.js built-in
when it is run in Node.js, without having to deal with the resolution
error that can be thrown by import
in a non-Node.js environment or
having to use dynamic import()
which either turns the module into
an asynchronous module, or turns a synchronous API into an asynchronous one.
if (globalThis.process?.getBuiltinModule) {
// Run in Node.js, use the Node.js fs module.
const fs = globalThis.process.getBuiltinModule('fs');
// If `require()` is needed to load user-modules, use createRequire()
const module = globalThis.process.getBuiltinModule('module');
const require = module.createRequire(import.meta.url);
const foo = require('foo');
}
If id
specifies a built-in module available in the current Node.js process,
process.getBuiltinModule(id)
method returns the corresponding built-in
module. If id
does not correspond to any built-in module, undefined
is returned.
process.getBuiltinModule(id)
accepts built-in module IDs that are recognized
by module.isBuiltin(id)
.
The references returned by process.getBuiltinModule(id)
always point to
the built-in module corresponding to id
even if users modify
require.cache
so that require(id)
returns something else.
Contributed by Joyee Cheung in #52762
doc: doc-only deprecate OpenSSL engine-based APIs
OpenSSL 3 deprecated support for custom engines with a recommendation to switch to its new provider model.
The clientCertEngine
option for https.request()
, tls.createSecureContext()
, and tls.createServer()
; the privateKeyEngine
and privateKeyIdentifier
for tls.createSecureContext();
and crypto.setEngine()
all depend on this functionality from OpenSSL.
Contributed by Richard Lau in #53329
inspector: fix disable async hooks on Debugger.setAsyncCallStackDepth
Debugger.setAsyncCallStackDepth
was previously calling the enable function by mistake. As a result, when profiling using Chrome DevTools, the async hooks won't be turned off properly after receiving Debugger.setAsyncCallStackDepth
with depth 0.
Contributed by Joyee Cheung in #53473
Other Notable Changes
- [
09e2191432
] - (SEMVER-MINOR) buffer: add .bytes() method to Blob (Matthew Aitken) #53221 - [
394e00f41c
] - (SEMVER-MINOR) doc: add context.assert docs (Colin Ihrig) #53169 - [
a8601efa5e
] - (SEMVER-MINOR) doc: improve explanation about built-in modules (Joyee Cheung) #52762 - [
5e76c258f7
] - doc: add StefanStojanovic to collaborators (StefanStojanovic) #53118 - [
5e694026f1
] - doc: add Marco Ippolito to TSC (Rafael Gonzaga) #53008 - [
f3ba1eb72f
] - (SEMVER-MINOR) net: add new net.server.listen tracing channel (Paolo Insogna) #53136 - [
2bcce3255b
] - (SEMVER-MINOR) src,permission: --allow-wasi & prevent WASI exec (Rafael Gonzaga) #53124 - [
a03a4c7bdd
] - (SEMVER-MINOR) test_runner: add context.fullName (Colin Ihrig) #53169 - [
69b828f5a5
] - (SEMVER-MINOR) util: support--no-
for argument with boolean type for parseArgs (Zhenwei Jin) #53107
Commits
- [
76fd0ea92e
] - assert,util: correct comparison when both contain same reference (Daniel Lemire) #53431 - [
65308b6692
] - benchmark: fix api restriction for the permission category (Ryan Tsien) #51528 - [
1e2bc2c2d0
] - benchmark: fix napi/ref addon (Michaël Zasso) #53233 - [
09e2191432
] - (SEMVER-MINOR) buffer: add .bytes() method to Blob (Matthew Aitken) #53221 - [
e1951a4804
] - build: fix spacing before NINJA_ARGS (jakecastelli) #53181 - [
76f3bb3460
] - build: generate binlog in out directories (Chengzhong Wu) #53325 - [
eded0c187b
] - build: support python 3.13 (Chengzhong Wu) #53190 - [
1e57c67fdb
] - build: update ruff to v0.4.5 (Yagiz Nizipli) #53180 - [
28e71ede63
] - build: add--skip-tests
totest-ci-js
target (Antoine du Hamel) #53105 - [
bb06778a65
] - build: fix building embedtest in GN build (Cheng) #53145 - [
117ff5f139
] - build: use broader detection for 'help' (Aviv Keller) #53045 - [
9aa896e7f5
] - build: fix -j propagation to ninja (Tobias Nießen) #53088 - [
acdbc78955
] - build: exit on unsupported host OS for Android (Mohammed Keyvanzadeh) #52882 - [
bf3d94478e
] - build: fix--enable-d8
builds (Richard Lau) #53106 - [
99da7d7237
] - build: set "clang" in config.gypi in GN build (Cheng) #53004 - [
9446278f03
] - crypto: improve GetECGroupBits signature (Tobias Nießen) #53364 - [
dc2a4af68d
] - crypto: fix propagation of "memory limit exceeded" (Tobias Nießen) #53300 - [
c5174f5e60
] - deps: update c-ares to v1.31.0 (Node.js GitHub Bot) #53554 - [
28e932dc7a
] - deps: update undici to 6.19.2 (Node.js GitHub Bot) #53468 - [
e4f9c663c4
] - deps: update undici to 6.19.1 (Node.js GitHub Bot) #53468 - [
171dc50fdc
] - deps: update undici to 6.19.1 (Node.js GitHub Bot) #53468 - [
6bb6a9100d
] - deps: update undici to 6.19.0 (Node.js GitHub Bot) #53468 - [
815d71b4cd
] - deps: update acorn-walk to 8.3.3 (Node.js GitHub Bot) #53466 - [
8b5f1d765a
] - deps: update zlib to 1.3.0.1-motley-209717d (Node.js GitHub Bot) #53156 - [
fc73da6f50
] - deps: update c-ares to v1.30.0 (Node.js GitHub Bot) #53416 - [
a6b803abd6
] - deps: update undici to 6.18.2 (Node.js GitHub Bot) #53255 - [
0f235535bb
] - deps: update ada to 2.8.0 (Node.js GitHub Bot) #53254 - [
63407269a8
] - deps: update corepack to 0.28.2 (Node.js GitHub Bot) #53253 - [
7a126e8773
] - deps: update c-ares to 1.29.0 (Node.js GitHub Bot) #53155 - [
0c8fcceefa
] - deps: upgrade npm to 10.8.1 (npm team) #53207 - [
23866979f2
] - deps: update undici to 6.18.1 (Node.js GitHub Bot) #53073 - [
4987a00142
] - deps: update undici to 6.18.0 (Node.js GitHub Bot) #53073 - [
af226d0d9c
] - deps: update undici to 6.17.0 (Node.js GitHub Bot) #53034 - [
c9c6bf8bfb
] - deps: update undici to 6.16.1 (Node.js GitHub Bot) #52948 - [
b32b62d590
] - deps: update undici to 6.15.0 (Matthew Aitken) #52763 - [
6e6641bea2
] - deps: update googletest to33af80a
(Node.js GitHub Bot) #53053 - [
aa96fbe03e
] - deps: update zlib to 1.3.0.1-motley-4f653ff (Node.js GitHub Bot) #53052 - [
ba3310ded5
] - deps: upgrade npm to 10.8.0 (npm team) #53014 - [
8537a2aecf
] - doc: recommend not using libuv node-api function (Michael Dawson) #53521 - [
c13600f0db
] - doc: add additional guidance for MRs to deps (Michael Dawson) #53499 - [
7c3edd952e
] - doc: only apply content-visibility on all.html (Filip Skokan) #53510 - [
ac5be14ed8
] - doc: update the description of the return type for options.filter (Zhenwei Jin) #52742 - [
cac300e351
] - doc: remove first timer badge (Aviv Keller) #53338 - [
feb61459fd
] - doc: add Buffer.from(string) to functions that use buffer pool (Christian Bates-White) #52801 - [
9e0a6e938b
] - doc: add initial text for ambassadors program (Michael Dawson) #52857 - [
55ac53cb0b
] - doc: define more cases for stream event emissions (Aviv Keller) #53317 - [
7128e0f9c9
] - doc: remove mentions of policy model from security info (Aviv Keller) #53249 - [
3e290433df
] - doc: fix mistakes in the moduleload
hook api (István Donkó) #53349 - [
3445c08144
] - doc: doc-only deprecate OpenSSL engine-based APIs (Richard Lau) #53329 - [
a3e8cda019
] - doc: mark --heap-prof and related flags stable (Joyee Cheung) #53343 - [
0b9daaae4d
] - doc: mark --cpu-prof and related flags stable (Joyee Cheung) #53343 - [
daf91834f6
] - doc: remove IRC from man page (Tobias Nießen) #53344 - [
4246c8fa31
] - doc: fix broken link instatic-analysis.md
(Richard Lau) #53345 - [
955b98a0e4
] - doc: remove cases for keys not containing "*" in PATTERN_KEY_COMPARE (Maarten Zuidhoorn) #53215 - [
7832b1815f
] - doc: add err param to fs.cp callback (Feng Yu) #53234 - [
01533df87f
] - doc: adderr
param to fs.copyFile callback (Feng Yu) #53234 - [
b081bc7d5e
] - doc: reserve 128 for Electron 32 (Keeley Hammond) #53203 - [
6b8460b560
] - doc: add note to ninjia build for macOS using -jn flag (jakecastelli) #53187 - [
394e00f41c
] - (SEMVER-MINOR) doc: add context.assert docs (Colin Ihrig) #53169 - [
c143d61d0e
] - doc: include ESM import for HTTP (Aviv Keller) #53165 - [
a8601efa5e
] - (SEMVER-MINOR) doc: improve explanation about built-in modules (Joyee Cheung) #52762 - [
560392de3d
] - doc: fix minor grammar and style issues in SECURITY.md (Rich Trott) #53168 - [
9f8e34323d
] - doc: mention pm is not enforced when using fd (Rafael Gonzaga) #53125 - [
3ac775b015
] - doc: fix format inesm.md
(Pop Moore) #53170 - [
41b08bdcf7
] - doc: fix wrong variable name in example oftimers.tick()
(Deokjin Kim) #53147 - [
698ea7aa5a
] - doc: fix wrong function name in example ofcontext.plan()
(Deokjin Kim) #53140 - [
a99359d79d
] - doc: add note for windows users and symlinks (Aviv Keller) #53117 - [
61ec2af292
] - doc: move all TLS-PSK documentation to its section (Alba Mendez) #35717 - [
5e76c258f7
] - doc: add StefanStojanovic to collaborators (StefanStojanovic) #53118 - [
1dc406ba62
] - doc: improve ninja build for --built-in-modules-path (jakecastelli) #53007 - [
2854585662
] - doc: avoid hiding by navigation bar in anchor jumping (Cloyd Lau) #45131 - [
3f432f829f
] - doc: remove unavailable youtube link in pull requests (Deokjin Kim) #52982 - [
5e694026f1
] - doc: add Marco Ippolito to TSC (Rafael Gonzaga) #53008 - [
231e44043e
] - doc: add missing supported timer values intimers.enable()
(Deokjin Kim) #52969 - [
b8944f6938
] - doc, http: addrejectNonStandardBodyWrites
option, clear its behaviour (jakecastelli) #53396 - [
0354584738
] - doc, meta: organize contributing to Node-API guide (Aviv Keller) #53243 - [
9ae3719c4e
] - doc, meta: use markdown rather than HTML in CONTRIBUTING.md (Aviv Keller) #53235 - [
621e073c96
] - fs: do not crash if the watched file is removed while setting up watch (Matteo Collina) #53452 - [
f00ee1c377
] - fs: fix cp dir/non-dir mismatch error messages (Mathis Wiehl) #53150 - [
655b960418
] - http2: reject failed http2.connect when used with promisify (ehsankhfr) #53475 - [
eb0b68bb29
] - inspector: fix disable async hooks on Debugger.setAsyncCallStackDepth (Joyee Cheung) #53473 - [
1c0b89be4c
] - lib: fix typo in comment (codediverdev) #53543 - [
55922d9cb0
] - lib: remove the unused code (theanarkh) #53463 - [
06374ef96b
] - lib: fix naming convention ofSymbol
(Deokjin Kim) #53387 - [
d1a780039a
] - lib: fix timer leak (theanarkh) #53337 - [
8689ce4b41
] - lib: fix misleading argument of validateUint32 (Tobias Nießen) #53307 - [
57d7bbf624
] - lib: fix the name of the fetch global function (Gabriel Bota) #53227 - [
23f086c363
] - lib: do not call callback if socket is closed (theanarkh) #52829 - [
f325c54c80
] - meta: use correct source for workflow in MR (Aviv Keller) #53490 - [
8172412dbe
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #53480 - [
01b61d65d3
] - meta: fix typo in dependency updates (Aviv Keller) #53471 - [
12f5737cd3
] - meta: bump step-security/harden-runner from 2.7.1 to 2.8.0 (dependabot[bot]) #53245 - [
102e4eee3c
] - meta: bump ossf/scorecard-action from 2.3.1 to 2.3.3 (dependabot[bot]) #53248 - [
5ba185580d
] - meta: bump actions/checkout from 4.1.4 to 4.1.6 (dependabot[bot]) #53247 - [
9d186cce2b
] - meta: bump github/codeql-action from 3.25.3 to 3.25.7 (dependabot[bot]) #53246 - [
29ab74009e
] - meta: bump codecov/codecov-action from 4.3.1 to 4.4.1 (dependabot[bot]) #53244 - [
bd4b593f30
] - meta: removeinitializeCommand
from devcontainer (Aviv Keller) #53137 - [
61b1f573cf
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #53065 - [
f3ba1eb72f
] - (SEMVER-MINOR) net: add new net.server.listen tracing channel (Paolo Insogna) #53136 - [
67333a5796
] - (SEMVER-MINOR) process: add process.getBuiltinModule(id) (Joyee Cheung) #52762 - [
092aa09eb3
] - repl: fix await object patterns without values (Luke Haas) #53331 - [
554d25f526
] - src: resetprocess.versions
during pre-execution (Richard Lau) #53444 - [
a0879ad628
] - src: fix dynamically linked OpenSSL version (Richard Lau) #53456 - [
91c05f34de
] - src: removeSetEncoding
from StringEncoder (Yagiz Nizipli) #53441 - [
4f49384be5
] - src: fix typo in env.cc (EhsanKhaki) #53418 - [
9730d1e186
] - src: avoid strcmp in favor of operator== (Tobias Nießen) #53439 - [
436ad8ceb9
] - src: print v8::OOMDetails::detail when it's available (Joyee Cheung) #53360 - [
f773b289eb
] - src: fix IsIPAddress for IPv6 (Hüseyin Açacak) #53400 - [
7705efd860
] - src: fix permission inspector crash (theanarkh) #53389 - [
260d8d9ae1
] - src: use __FUNCSIG__ on Windows in backtrace (Joyee Cheung) #53135 - [
3b79e9c24e
] - src: fix external module env and kDisableNodeOptionsEnv (Rafael Gonzaga) #52905 - [
32839c63cb
] - src: reduce unnecessaryGetCwd
calls (Yagiz Nizipli) #53064 - [
840dd092ce
] - src: improve node::Dotenv declarations (Tobias Nießen) #52973 - [
2bcce3255b
] - (SEMVER-MINOR) src,permission: --allow-wasi & prevent WASI exec (Rafael Gonzaga) #53124 - [
e092c62a22
] - stream: update outdated highwatermark doc (Jay Kim) #53494 - [
71af3e8172
] - stream: support dispose in writable (Benjamin Gruenbaum) #48547 - [
33a15be32f
] - stream: callback should be called when pendingcb is 0 (jakecastelli) #53438 - [
1b46ebbf69
] - stream: make sure _destroy is called (jakecastelli) #53213 - [
9f95d41947
] - stream: prevent stream unexpected pause when highWaterMark set to 0 (jakecastelli) #53261 - [
d02651c9d6
] - stream: micro-optimize writable condition (Orgad Shaneh) #53189 - [
324070c410
] - stream: fix memory usage regression in writable (Orgad Shaneh) #53188 - [
48138afd35
] - stream: fixes for webstreams (Mattias Buelens) #51168 - [
24f078a22b
] - test: marktest-benchmark-crypto
as flaky (Antoine du Hamel) #52955 - [
0d69ce3474
] - test: extend env fortest-node-output-errors
(Richard Lau) #53535 - [
1aaaad8518
] - test: update encoding web-platform tests (Yagiz Nizipli) #53477 - [
54e0ba8771
] - test: check against run-time OpenSSL version (Richard Lau) #53456 - [
059e47c320
] - test: update tests for OpenSSL 3.0.14 (Richard Lau) #53373 - [
49e6f33021
] - test: fix test-http-server-keepalive-req-gc (Etienne Pierre-doray) #53292 - [
292d13a289
] - test: update TLS tests for OpenSSL 3.2 (Richard Lau) #53384 - [
82017c90bb
] - test: fix test when compiled without engine support (Richard Lau) #53232 - [
a54090b385
] - test: update TLS trace tests for OpenSSL >= 3.2 (Richard Lau) #53229 - [
3a1693421d
] - test: fix Windows native test suites (Stefan Stojanovic) #53173 - [
2b07d01272
] - test: skiptest-setproctitle
whenps
is not available (Antoine du Hamel) #53104 - [
0051d1c83d
] - test: increase allocation so it fails for the test (Adam Majer) #53099 - [
048cbe3304
] - test: remove timers from test-tls-socket-close (Luigi Pinca) #53019 - [
8653d9223e
] - test: replace.substr
with.slice
(Antoine du Hamel) #53070 - [
d74bda4241
] - test: add AbortController to knownGlobals (Luigi Pinca) #53020 - [
f29e1e9838
] - test: skip unstable shadow realm gc tests (Chengzhong Wu) #52855 - [
dfa498697e
] - test,doc: enable running embedtest for Windows (Vladimir Morozov) #52646 - [
0381817f1d
] - test_runner: calculate executed lines using source map (Moshe Atlow) #53315 - [
9d3699b5b0
] - test_runner: handle file rename and deletion under watch mode (jakecastelli) #53114 - [
9a36258ca0
] - test_runner: refactor to use min/max ofvalidateInteger
(Deokjin Kim) #53148 - [
a03a4c7bdd
] - (SEMVER-MINOR) test_runner: add context.fullName (Colin Ihrig) #53169 - [
a72157077a
] - test_runner: fix t.assert methods (Colin Ihrig) #53049 - [
ba764db9ab
] - test_runner: avoid error when coverage line not found (Moshe Atlow) #53000 - [
3a4a0ebd06
] - test_runner,doc: align documentation with actual stdout/stderr behavior (Moshe Atlow) #53131 - [
6e6646bdd5
] - tls: check result of SSL_CTX_set_*_proto_version (Tobias Nießen) #53459 - [
2aceed4297
] - tls: avoid taking ownership of OpenSSL objects (Tobias Nießen) #53436 - [
faa5cac18c
] - tls: use SSL_get_peer_tmp_key (Tobias Nießen) #53366 - [
68fcbb635e
] - tls: fix negative sessionTimeout handling (Tobias Nießen) #53002 - [
61a1c43ef1
] - tools: fix skip detection of test runner output (Richard Lau) #53545 - [
53a7b6e1c0
] - tools: fix c-ares update script (Marco Ippolito) #53414 - [
3bd5f46a15
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #53158 - [
daab9e170f
] - tools: do not run Corepack code before it's reviewed (Antoine du Hamel) #53405 - [
d18a67f937
] - tools: use Ubuntu 24.04 and Clang on GitHub actions (Michaël Zasso) #53212 - [
e9b7a52848
] - tools: add stream label on MR when related files being changed in lib (jakecastelli) #53269 - [
04d78dd56d
] - tools: remove no-goma arg from make-v8 script (Michaël Zasso) #53336 - [
37e725a500
] - tools: use sccache Github action (Moshe Atlow) #53316 - [
2a1fde7e32
] - tools: update error message for Type Error (Aviv Keller) #53047 - [
8f5fb4192d
] - Revert "tools: add --certify-safe to nci-ci" (Antoine du Hamel) #53098 - [
69b828f5a5
] - (SEMVER-MINOR) util: support--no-
for argument with boolean type for parseArgs (Zhenwei Jin) #53107 - [
1a2f3ab4f5
] - watch: fix variable naming (jakecastelli) #53101
v20.15.1
: 2024-07-08, Version 20.15.1 'Iron' (LTS), @RafaelGSS
This is a security release.
Notable Changes
- CVE-2024-36138 - Bypass incomplete fix of CVE-2024-27980 (High)
- CVE-2024-22020 - Bypass network import restriction via data URL (Medium)
- CVE-2024-22018 - fs.lstat bypasses permission model (Low)
- CVE-2024-36137 - fs.fchown/fchmod bypasses permission model (Low)
- CVE-2024-37372 - Permission model improperly processes UNC paths (Low)
Commits
- [
60e184a6e4
] - lib,esm: handle bypass network-import via data: (RafaelGSS) nodejs-private/node-private#522 - [
025cbd6936
] - lib,permission: support fs.lstat (RafaelGSS) nodejs-private/node-private#486 - [
d38ea17341
] - lib,permission: disable fchmod/fchown when pm enabled (RafaelGSS) nodejs-private/node-private#584 - [
1ba624cd3b
] - src: handle permissive extension on cmd check (RafaelGSS) nodejs-private/node-private#596 - [
2524d00c3d
] - src,permission: fix UNC path resolution (RafaelGSS) nodejs-private/node-private#581 - [
484cb0f13c
] - src,permission: resolve path on fs_permission (Rafael Gonzaga) #52761
v20.15.0
: 2024-06-20, Version 20.15.0 'Iron' (LTS), @marco-ippolito
test_runner: support test plans
It is now possible to count the number of assertions and subtests that are expected to run within a test. If the number of assertions and subtests that run does not match the expected count, the test will fail.
test('top level test', (t) => {
t.plan(2);
t.assert.ok('some relevant assertion here');
t.subtest('subtest', () => {});
});
Contributed by Colin Ihrig in #52860
--inspect-wait
flag
inspector: introduce the This release introduces the --inspect-wait
flag, which allows debugger to wait for attachement. This flag is useful when you want to debug the code from the beginning. Unlike --inspect-brk
, which breaks on the first line, this flag waits for debugger to be connected and then runs the code as soon as a session is established.
Contributed by Kohei Ueno in #52734
zlib: expose zlib.crc32()
This release exposes the crc32() function from zlib to user-land.
It computes a 32-bit Cyclic Redundancy Check checksum of data. If value is specified, it is used as the starting value of the checksum, otherwise, 0 is used as the starting value.
The CRC algorithm is designed to compute checksums and to detect error in data transmission. It's not suitable for cryptographic authentication.
const zlib = require('node:zlib');
const { Buffer } = require('node:buffer');
let crc = zlib.crc32('hello'); // 907060870
crc = zlib.crc32('world', crc); // 4192936109
crc = zlib.crc32(Buffer.from('hello', 'utf16le')); // 1427272415
crc = zlib.crc32(Buffer.from('world', 'utf16le'), crc); // 4150509955
Contributed by Joyee Cheung in #52692
cli: allow running wasm in limited vmem with --disable-wasm-trap-handler
By default, Node.js enables trap-handler-based WebAssembly bound checks. As a result, V8 does not need to insert inline bound checks int the code compiled from WebAssembly which may speedup WebAssembly execution significantly, but this optimization requires allocating a big virtual memory cage (currently 10GB). If the Node.js process does not have access to a large enough virtual memory address space due to system configurations or hardware limitations, users won't be able to run any WebAssembly that involves allocation in this virtual memory cage and will see an out-of-memory error.
$ ulimit -v 5000000
$ node -p "new WebAssembly.Memory({ initial: 10, maximum: 100 });"
[eval]:1
new WebAssembly.Memory({ initial: 10, maximum: 100 });
^
RangeError: WebAssembly.Memory(): could not allocate memory
at [eval]:1:1
at runScriptInThisContext (node:internal/vm:209:10)
at node:internal/process/execution:118:14
at [eval]-wrapper:6:24
at runScript (node:internal/process/execution:101:62)
at evalScript (node:internal/process/execution:136:3)
at node:internal/main/eval_string:49:3
--disable-wasm-trap-handler
disables this optimization so that
users can at least run WebAssembly (with a less optimial performance)
when the virtual memory address space available to their Node.js
process is lower than what the V8 WebAssembly memory cage needs.
Contributed by Joyee Cheung in #52766
Other Notable Changes
- [
12512c3d0e
] - doc: add pimterry to collaborators (Tim Perry) #52874 - [
9d485b40bb
] - (SEMVER-MINOR) tools: fix get_asan_state() in tools/test.py (Joyee Cheung) #52766 - [
e98c305f52
] - (SEMVER-MINOR) tools: support max_virtual_memory test configuration (Joyee Cheung) #52766 - [
dce0300896
] - (SEMVER-MINOR) tools: support != in test status files (Joyee Cheung) #52766
Commits
- [
227093bfec
] - assert: add deep equal check for more Error type (Zhenwei Jin) #51805 - [
184cfe5a71
] - benchmark: filter non-present deps fromstart-cli-version
(Adam Majer) #51746 - [
8b3e83bb53
] - buffer: even faster atob (Daniel Lemire) #52443 - [
8d628c3255
] - buffer: use size_t instead of uint32_t to avoid segmentation fault (Xavier Stouder) #48033 - [
16ae2b2933
] - buffer: remove lines setting indexes to integer value (Zhenwei Jin) #52588 - [
48c15d0dcd
] - build: remove deprecated calls for argument groups (Mohammed Keyvanzadeh) #52913 - [
1be8232d17
] - build: drop base64 dep in GN build (Cheng) #52856 - [
918962d6e7
] - build: make simdjson a public dep in GN build (Cheng) #52755 - [
5215b6fd8e
] - build, tools: copy release assets to staging R2 bucket once built (flakey5) #51394 - [
473fa73857
] - (SEMVER-MINOR) cli: allow running wasm in limited vmem with --disable-wasm-trap-handler (Joyee Cheung) #52766 - [
954d2aded4
] - cluster: replaceforEach
withfor-of
loop (Jérôme Benoit) #50317 - [
794e450ea7
] - console: colorize console error and warn (Jithil P Ponnan) #51629 - [
0fb7c18f10
] - crypto: fix duplicated switch-case return values (Mustafa Ateş UZUN) #49030 - [
cd1415c8b2
] - Revert "crypto: make timingSafeEqual faster for Uint8Array" (Tobias Nießen) #53390 - [
b774544bb1
] - deps: enable unbundling of simdjson, simdutf, ada (Daniel Lemire) #52924 - [
da4dbfc5fd
] - doc: remove reference to AUTHORS file (Marco Ippolito) #52960 - [
2f3f2ff8af
] - doc: update hljs with the latest styles (Aviv Keller) #52911 - [
3a1d17a9b1
] - doc: mention quicker way to build docs (Alex Crawford) #52937 - [
be309bd19d
] - doc: mention push.followTags config (Rafael Gonzaga) #52906 - [
e62c6e2684
] - doc: document pipeline withend
option (Alois Klink) #48970 - [
af27225cf6
] - doc: add example forexecFileSync
method and ref to stdio (Evan Shortiss) #39412 - [
086626f9b1
] - doc: add examples and notes to http server.close et al (mary marchini) #49091 - [
3aa3337a00
] - doc: fixdns.lookup
family0
andall
descriptions (Adam Jones) #51653 - [
585f2a2e7f
] - doc: updatefs.realpath
documentation (sinkhaha) #48170 - [
4bf3d44e1d
] - doc: update fs read documentation for clarity (Mert Can Altin) #52453 - [
ae5d47dde3
] - doc: watermark string behavior (Benjamin Gruenbaum) #52842 - [
1e429d10d3
] - doc: exclude commits with baking-for-lts (Marco Ippolito) #52896 - [
3df3e37cdb
] - doc: add names next to release key bash commands (Aviv Keller) #52878 - [
12512c3d0e
] - doc: add pimterry to collaborators (Tim Perry) #52874 - [
97e0fef019
] - doc: add more definitions to GLOSSARY.md (Aviv Keller) #52798 - [
91fadac162
] - doc: make docs more welcoming and descriptive for newcomers (Serkan Özel) #38056 - [
a3b20126fd
] - doc: add OpenSSL errors to API docs (John Lamp) #34213 - [
9587ae9b5b
] - doc: simplify copy-pasting ofbranch-diff
commands (Antoine du Hamel) #52757 - [
6ea72a53c3
] - doc: add test_runner to subsystem (Raz Luvaton) #52774 - [
972eafd983
] - events: update MaxListenersExceededWarning message log (sinkhaha) #51921 - [
74753ed1fe
] - events: add stop propagation flag toEvent.stopImmediatePropagation
(Mickael Meausoone) #39463 - [
75dd009649
] - events: replace NodeCustomEvent with CustomEvent (Feng Yu) #43876 - [
7d38c2e012
] - fs: keep fs.promises.readFile read until EOF is reached (Zhenwei Jin) #52178 - [
8cb13120d3
] - (SEMVER-MINOR) inspector: introduce the--inspect-wait
flag (Kohei Ueno) #52734 - [
d5ab1de1fd
] - meta: move@anonrig
to TSC regular member (Yagiz Nizipli) #52932 - [
f82d086e90
] - path: fix toNamespacedPath on Windows (Hüseyin Açacak) #52915 - [
121ea13b50
] - process: improve event-loop (Aras Abbasi) #52108 - [
eceac784aa
] - repl: fix disruptive autocomplete without inspector (Nitzan Uziely) #40661 - [
89a910be82
] - src: fix Worker termination ininspector.waitForDebugger
(Daeyeon Jeong) #52527 - [
033f985e8a
] - src: useS_ISDIR
to check if the file is a directory (theanarkh) #52164 - [
95128399f8
] - src: allow preventing debug signal handler start (Shelley Vohr) #46681 - [
b162aeae9e
] - src: fix typo Unabled -> Unable (Simon Siefke) #52820 - [
2dcbf1894a
] - src: avoid unused variable 'error' warning (Michaël Zasso) #52886 - [
978ee0a635
] - src: only apply fix in main thread (Paolo Insogna) #52702 - [
8fc52b38c6
] - src: fix test local edge case (Paolo Insogna) #52702 - [
d02907ecc4
] - src: remove misplaced windows code under posix guard in node.cc (Ali Hassan) #52545 - [
af29120fa7
] - stream: useByteLengthQueuingStrategy
when not inobjectMode
(Jason) #48847 - [
a5f3dd137c
] - string_decoder: throw an error when writing a too long buffer (zhenweijin) #52215 - [
65fa95d57d
] - test: addDebugger.setInstrumentationBreakpoint
known issue (Konstantin Ulitin) #31137 - [
0513e07805
] - test: usefor-of
instead offorEach
(Gibby Free) #49790 - [
1d01325928
] - test: verify request payload is uploaded consistently (Austin Wright) #34066 - [
7dda156872
] - test: add fuzzer for native/js string conversion (Adam Korczynski) #51120 - [
5fb829b340
] - test: add fuzzer forClientHelloParser
(AdamKorcz) #51088 - [
cc74bf789f
] - test: fix broken env fuzzer by initializing process (AdamKorcz) #51080 - [
800b6f65cf
] - test: replaceforEach()
intest-stream-pipe-unpipe-stream
(Dario) #50786 - [
d08c9a6a31
] - test: test pipelineend
on transform streams (Alois Klink) #48970 - [
0be8123ede
] - test: improve coverage of lib/readline.js (Rongjian Zhang) #38646 - [
410224415c
] - test: updated for each to for of in test file (lyannel) #50308 - [
556e9a2127
] - test: movetest-http-server-request-timeouts-mixed
to sequential (Madhuri) #45722 - [
0638274c07
] - test: fix DNS cancel tests (Szymon Marczak) #44432 - [
311bdc62bd
] - test: add http agent toexecutionAsyncResource
(psj-tar-gz) #34966 - [
6001b164ab
] - test: reduce memory usage of test-worker-stdio (Adam Majer) #37769 - [
986bfa26e9
] - test: add common.expectRequiredModule() (Joyee Cheung) #52868 - [
2246d4fd1e
] - test: crypto-rsa-dsa testing for dynamic openssl (Michael Dawson) #52781 - [
1dce5dea0b
] - test: skip some console tests on dumb terminal (Adam Majer) #37770 - [
0addeb240c
] - test: skip v8-updates/test-linux-perf-logger (Michaël Zasso) #52821 - [
56e19e38f3
] - test: drop test-crypto-timing-safe-equal-benchmarks (Rafael Gonzaga) #52751 - [
0c5e58958c
] - test, crypto: use correct object on assert (响马) #51820 - [
d54aa47ec1
] - (SEMVER-MINOR) test_runner: support test plans (Colin Ihrig) #52860 - [
0289a023a5
] - test_runner: fix watch mode race condition (Moshe Atlow) #52954 - [
cf817e192e
] - test_runner: preserve hook promise when executed twice (Moshe Atlow) #52791 - [
de541235fe
] - tools: fix v8-update workflow (Michaël Zasso) #52957 - [
f6290bc327
] - tools: add --certify-safe to nci-ci (Matteo Collina) #52940 - [
0830b3115d
] - tools: fix doc update action (Marco Ippolito) #52890 - [
9d485b40bb
] - (SEMVER-MINOR) tools: fix get_asan_state() in tools/test.py (Joyee Cheung) #52766 - [
e98c305f52
] - (SEMVER-MINOR) tools: support max_virtual_memory test configuration (Joyee Cheung) #52766 - [
dce0300896
] - (SEMVER-MINOR) tools: support != in test status files (Joyee Cheung) #52766 - [
57006001ec
] - tools: prepare custom rules for ESLint v9 (Michaël Zasso) #52889 - [
403a4a7557
] - tools: update lint-md-dependencies to rollup@4.17.2 (Node.js GitHub Bot) #52836 - [
01eff5860e
] - tools: updategr2m/create-or-update-pull-request-action
(Antoine du Hamel) #52843 - [
514f01ed59
] - tools: use sccache GitHub action (Michaël Zasso) #52839 - [
8f8fb91927
] - tools: specify a commit-message for V8 update workflow (Antoine du Hamel) #52844 - [
b83fbf8709
] - tools: fix V8 update workflow (Antoine du Hamel) #52822 - [
be9d6f2176
] - url,tools,benchmark: replace deprecatedsubstr()
(Jungku Lee) #51546 - [
7603a51d45
] - util: fix%s
format behavior withSymbol.toPrimitive
(Chenyu Yang) #50992 - [
d7eba50cf3
] - util: improveisInsideNodeModules
(uzlopak) #52147 - [
4ae4f7e517
] - watch: allow listening for grouped changes (Matthieu Sieben) #52722 - [
1ff8f318c0
] - watch: enable passthrough ipc in watch mode (Zack) #50890 - [
739adf90b1
] - watch: fix arguments parsing (Moshe Atlow) #52760 - [
5161d95c30
] - (SEMVER-MINOR) zlib: expose zlib.crc32() (Joyee Cheung) #52692
v20.14.0
: 2024-05-28, Version 20.14.0 'Iron' (LTS), @marco-ippolito
Notable Changes
- [
28d2baa17c
] - src,permission: throw async errors on async APIs (Rafael Gonzaga) #52730 - [
77e2bf029a
] - (SEMVER-MINOR) test_runner: support forced exit (Colin Ihrig) #52038
Commits
- [
e3ad05d8b0
] - deps: V8: cherry-pick500de8b
(Richard Lau) #52676 - [
053282e661
] - deps: V8: backportc4be0a9
(Richard Lau) #52183 - [
200dadb879
] - deps: V8: cherry-pickf8d5e57
(Richard Lau) #52183 - [
f5cd125e02
] - deps: update googletest tofa6de7f
(Node.js GitHub Bot) #52949 - [
bbbfd7f4e1
] - deps: update corepack to 0.28.1 (Node.js GitHub Bot) #52946 - [
7ba30a57a6
] - deps: update simdutf to 5.2.8 (Node.js GitHub Bot) #52727 - [
b21a480a28
] - deps: update simdutf to 5.2.6 (Node.js GitHub Bot) #52727 - [
6cfad60d97
] - deps: update googletest to2d16ed0
(Node.js GitHub Bot) #51657 - [
34708d1429
] - deps: update googletest tod83fee1
(Node.js GitHub Bot) #51657 - [
c1d3e558e8
] - deps: update googletest to5a37b51
(Node.js GitHub Bot) #51657 - [
69959d0fca
] - deps: update googletest to5197b1a
(Node.js GitHub Bot) #51657 - [
c8305f6057
] - deps: update googletest toeff443c
(Node.js GitHub Bot) #51657 - [
760b788704
] - deps: update googletest toc231e6f
(Node.js GitHub Bot) #51657 - [
301541cc8f
] - deps: update googletest toe4fdb87
(Node.js GitHub Bot) #51657 - [
981d57e401
] - deps: update googletest to5df0241
(Node.js GitHub Bot) #51657 - [
a1817f534d
] - deps: update googletest tob75ecf1
(Node.js GitHub Bot) #51657 - [
42070ca189
] - deps: update googletest to4565741
(Node.js GitHub Bot) #51657 - [
edc3e5d056
] - deps: update uvwasi to 0.0.21 (Node.js GitHub Bot) #52863 - [
26b1231ffb
] - deps: upgrade npm to 10.7.0 (npm team) #52767 - [
e6d9fbece2
] - doc: update process.versions properties (ishabi) #52736 - [
8c1f837c0a
] - doc: remove mold use on mac for speeding up build (Cong Zhang) #52252 - [
d9c5114694
] - doc: fix grammatical mistake (codershiba) #52808 - [
b350f435b7
] - meta: add mailmap entry for legendecas (Chengzhong Wu) #52795 - [
61f9f12eff
] - meta: bump actions/checkout from 4.1.1 to 4.1.4 (dependabot[bot]) #52787 - [
ac563667d6
] - meta: bump github/codeql-action from 3.24.9 to 3.25.3 (dependabot[bot]) #52786 - [
70611d7924
] - meta: bump actions/upload-artifact from 4.3.1 to 4.3.3 (dependabot[bot]) #52785 - [
30482ea273
] - meta: bump actions/download-artifact from 4.1.4 to 4.1.7 (dependabot[bot]) #52784 - [
d1607cdebb
] - meta: bump codecov/codecov-action from 4.1.1 to 4.3.1 (dependabot[bot]) #52783 - [
21f1b6bfc3
] - meta: bump step-security/harden-runner from 2.7.0 to 2.7.1 (dependabot[bot]) #52782 - [
0c6019a222
] - meta: standardize regex (Aviv Keller) #52693 - [
28d2baa17c
] - src,permission: throw async errors on async APIs (Rafael Gonzaga) #52730 - [
cffd2cc0c9
] - Revert "stream: revert fix cloned webstreams not being unref'd" (Marco Ippolito) #53144 - [
3dd96f1fab
] - stream: implement TransformStream cleanup using "transformer.cancel" (Debadree Chatterjee) #50126 - [
8e7e778e01
] - test: skip v8-updates/test-linux-perf (Michaël Zasso) #49639 - [
f8e18869e9
] - test: replace always-opt flag with alway-turbofan (Michaël Zasso) #50115 - [
a501860d63
] - test_runner: don't await the same promise for each test (Colin Ihrig) #52185 - [
e2ae4367f4
] - test_runner: run top level tests in a microtask (Colin Ihrig) #52092 - [
77e2bf029a
] - (SEMVER-MINOR) test_runner: support forced exit (Colin Ihrig) #52038 - [
b7bc63565e
] - test_runner: ignore todo flag when running suites (Colin Ihrig) #52117 - [
be587e3ae3
] - test_runner: use paths for test locations (Colin Ihrig) #52010 - [
743281ab25
] - test_runner: support source mapped test locations (Colin Ihrig) #52010 - [
4051316d95
] - tools: update lint-md-dependencies to rollup@4.17.0 (Node.js GitHub Bot) #52729
v20.13.1
: 2024-05-09, Version 20.13.1 'Iron' (LTS), @marco-ippolito
@marco-ippolito
2024-05-09, Version 20.13.1 'Iron' (LTS),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) #52897
v20.13.0
: 2024-05-07, Version 20.13.0 'Iron' (LTS), @marco-ippolito
@marco-ippolito
2024-05-07, Version 20.13.0 'Iron' (LTS),
base64
and base64url
performance
buffer: improve The performance of the base64
and base64url
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-exclude-network
option
report: add New option --report-exclude-network
, also available as report.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.
console.log(util.styleText(['underline', 'italic'], 'My italic underlined message'));
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.
const { queryObjects } = require('node:v8');
class A { foo = 'bar'; }
console.log(queryObjects(A)); // 0
let a = new A();
console.log(queryObjects(A)); // 1
// [ "A { foo: 'bar' }" ]
console.log(queryObjects(A, { format: 'summary' }));
// Release the object.
a = null;
// Search again. queryObjects() includes a full garbage collection
// so a should disappear.
console.log(queryObjects(A)); // 0
class B extends A { bar = 'qux'; }
// The child class B's prototype has A's prototype on its prototype chain
// so the prototype object shows up too.
console.log(queryObjects(A, { format: 'summary' })); // [ A {}' ]
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) #52408 - [
3b41da9a56
] - (SEMVER-MINOR) deps: update simdutf to 5.0.0 (Daniel Lemire) #52138 - [
0a08c4a7b3
] - (SEMVER-MINOR) deps: update undici to 6.3.0 (Node.js GitHub Bot) #51462 - [
f1b7bda4f5
] - (SEMVER-MINOR) deps: update undici to 6.2.1 (Node.js GitHub Bot) #51278 - [
4acca8ed84
] - (SEMVER-MINOR) dns: add order option and support ipv6first (Paolo Insogna) #52492 - [
cc67720ff9
] - doc: update release gpg keyserver (marco-ippolito) #52257 - [
c2def7df96
] - doc: add release key for marco-ippolito (marco-ippolito) #52257 - [
807c89cb26
] - doc: add UlisesGascon as a collaborator (Ulises Gascón) #51991 - [
5e78a20ef9
] - (SEMVER-MINOR) doc: deprecate fs.Stats public constructor (Marco Ippolito) #51879 - [
722fe64ff7
] - (SEMVER-MINOR) lib, url: add awindows
option to path parsing (Aviv Keller) #52509 - [
d116fa1568
] - (SEMVER-MINOR) net: add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) #52474 - [
6af7b78b0d
] - (SEMVER-MINOR) src: addstring_view
overload to snapshot FromBlob (Anna Henningsen) #52595 - [
b3a11b574b
] - (SEMVER-MINOR) src: preload function for Environment (Cheng Zhao) #51539 - [
41646d9c9e
] - (SEMVER-MINOR) test_runner: add suite() (Colin Ihrig) #52127 - [
fc9ba17f6c
] - (SEMVER-MINOR) test_runner: addtest:complete
event to reflect execution order (Moshe Atlow) #51909
Commits
- [
6fdd748b21
] - benchmark: reduce the buffer size for blob (Debadree Chatterjee) #52548 - [
2274d0c868
] - benchmark: inherit stdio/stderr instead of pipe (Ali Hassan) #52456 - [
0300598315
] - benchmark: add ipc support to spawn stdio config (Ali Hassan) #52456 - [
f8ad30048d
] - benchmark: add AbortSignal.abort benchmarks (Raz Luvaton) #52408 - [
7508d48736
] - benchmark: conditionally use spawn with taskset for cpu pinning (Ali Hassan) #52253 - [
ea8e72e185
] - benchmark: add toNamespacedPath bench (Rafael Gonzaga) #52236 - [
c00715cc1e
] - benchmark: add style-text benchmark (Rafael Gonzaga) #52004 - [
1c1a6935ee
] - buffer: add missing ARG_TYPE(ArrayBuffer) for isUtf8 (Jungku Lee) #52477 - [
1b2aff7dce
] - buffer: improvebase64
andbase64url
performance (Yagiz Nizipli) #52428 - [
328bded5ab
] - buffer: improvebtoa
performance (Yagiz Nizipli) #52427 - [
e67bc34326
] - buffer: use simdutf foratob
implementation (Yagiz Nizipli) #52381 - [
5abddb45d8
] - build: fix typo in node.gyp (Michaël Zasso) #52719 - [
7d1f304f5e
] - build: fix headers install for shared mode on Win (Segev Finer) #52442 - [
6826bbf267
] - build: fix arm64 cross-compilation bug on non-arm machines (Mahdi Sharifi) #52559 - [
6e85bc431a
] - build: temporary disable ubsan (Rafael Gonzaga) #52560 - [
297368a1ed
] - build: fix arm64 cross-compilation (Michaël Zasso) #51256 - [
93bddb598f
] - build,tools: add test-ubsan ci (Rafael Gonzaga) #46297 - [
20bb16582f
] - build,tools,node-api: fix building node-api tests for Windows Debug (Vladimir Morozov) #52632 - [
9af15cfff1
] - child_process: use internal addAbortListener (Chemi Atlow) #52081 - [
a4847c4619
] - crypto: simplify assertions in Safe*Print (David Benjamin) #49709 - [
0ec4d9d734
] - crypto: enable NODE_EXTRA_CA_CERTS with BoringSSL (Shelley Vohr) #52217 - [
03e05b092c
] - crypto: deprecate implicitly shortened GCM tags (Tobias Nießen) #52345 - [
0f784c96ba
] - crypto: make timingSafeEqual faster for Uint8Array (Tobias Nießen) #52341 - [
739958e472
] - crypto: rejectEd25519
/Ed448 in Sign/Verify prototypes (Filip Skokan) #52340 - [
197b61f210
] - crypto: validate RSA-PSS saltLength in subtle.sign and subtle.verify (Filip Skokan) #52262 - [
a6eede33f3
] - crypto: fixinput
validation incrypto.hash
(Antoine du Hamel) #52070 - [
bfa4986e5d
] - deps: update corepack to 0.28.0 (Node.js GitHub Bot) #52616 - [
70546698d7
] - deps: update ada to 2.7.8 (Node.js GitHub Bot) #52517 - [
a135027f84
] - deps: update icu to 75.1 (Node.js GitHub Bot) #52573 - [
c96f1043d4
] - deps: update undici to 6.13.0 (Node.js GitHub Bot) #52493 - [
9c330b610b
] - deps: update zlib to 1.3.0.1-motley-7d77fb7 (Node.js GitHub Bot) #52516 - [
7e5bbeebab
] - deps: update nghttp2 to 1.61.0 (Node.js GitHub Bot) #52395 - [
b42a4735d9
] - deps: update minimatch to 9.0.4 (Node.js GitHub Bot) #52524 - [
d34fd21bc2
] - deps: update simdutf to 5.2.4 (Node.js GitHub Bot) #52473 - [
ecc180f830
] - deps: upgrade npm to 10.5.2 (npm team) #52458 - [
606c183344
] - deps: update simdutf to 5.2.3 (Yagiz Nizipli) #52381 - [
0a103e99fe
] - deps: upgrade npm to 10.5.1 (npm team) #52351 - [
cce861e670
] - deps: update c-ares to 1.28.1 (Node.js GitHub Bot) #52285 - [
5258b547ea
] - deps: update undici to 6.11.1 (Node.js GitHub Bot) #52328 - [
923a77c80a
] - deps: update undici to 6.10.2 (Node.js GitHub Bot) #52227 - [
bd3c6a231c
] - deps: update zlib to 1.3.0.1-motley-24c07df (Node.js GitHub Bot) #52199 - [
3b41da9a56
] - (SEMVER-MINOR) deps: update simdutf to 5.0.0 (Daniel Lemire) #52138 - [
d6f9ca385c
] - deps: update zlib to 1.3.0.1-motley-24342f6 (Node.js GitHub Bot) #52123 - [
f5512897b0
] - deps: update corepack to 0.26.0 (Node.js GitHub Bot) #52027 - [
d891275178
] - deps: update ada to 2.7.7 (Node.js GitHub Bot) #52028 - [
18838f2db3
] - deps: update simdutf to 4.0.9 (Node.js GitHub Bot) #51655 - [
503c034abc
] - deps: update undici to 6.6.2 (Node.js GitHub Bot) #51667 - [
256bcba52e
] - deps: update undici to 6.6.0 (Node.js GitHub Bot) #51630 - [
7a1e321d95
] - deps: update undici to 6.4.0 (Node.js GitHub Bot) #51527 - [
dde9e08224
] - deps: update ngtcp2 to 1.1.0 (Node.js GitHub Bot) #51319 - [
0a08c4a7b3
] - (SEMVER-MINOR) deps: update undici to 6.3.0 (Node.js GitHub Bot) #51462 - [
f1b7bda4f5
] - (SEMVER-MINOR) deps: update undici to 6.2.1 (Node.js GitHub Bot) #51278 - [
ecadd638cd
] - deps: V8: remove references to non-existent flags (Richard Lau) #52256 - [
27d364491f
] - dgram: use internal addAbortListener (Chemi Atlow) #52081 - [
b94d11935a
] - diagnostics_channel: early-exit tracing channel trace methods (Stephen Belanger) #51915 - [
4acca8ed84
] - (SEMVER-MINOR) dns: add order option and support ipv6first (Paolo Insogna) #52492 - [
bcc06ac5a9
] - doc: remove relative limitation to pm (Rafael Gonzaga) #52648 - [
4d5ef4f7af
] - doc: fix info string causing duplicated code blocks (Mathieu Leenhardt) #52660 - [
d5a316f5ea
] - doc: run license-builder (github-actions[bot]) #52631 - [
d7434fe411
] - doc: deprecate --experimental-policy (RafaelGSS) #52602 - [
02a83d89f7
] - doc: add info on contributor spotlight program (Michael Dawson) #52598 - [
a905eaace1
] - doc: correct unsafe URL example in http docs (Malte Legenhausen) #52555 - [
69c21a6522
] - doc: replace U+00A0 with U+0020 (Luigi Pinca) #52590 - [
5df34c7d0a
] - doc: sort options alphabetically (Luigi Pinca) #52589 - [
b49464bc9d
] - doc: correct stream.finished changes (KaKa) #52551 - [
4d051ba89b
] - doc: add RedYetiDev to triage team (Aviv Keller) #52556 - [
4ed55bf16c
] - doc: fix issue detected in markdown lint update (Rich Trott) #52566 - [
a8bc40fd07
] - doc: update test runner coverage limitations (Moshe Atlow) #52515 - [
17d5ba9fed
] - doc: add lint-js-fix into BUILDING.md (jakecastelli) #52290 - [
88adbd0991
] - doc: remove Internet Explorer mention in BUILDING.md (Rich Trott) #52455 - [
e8cb29d66d
] - doc: accommodate upcoming stricter .md linting (Rich Trott) #52454 - [
e2ea984c7b
] - doc: add Rafael to steward list (Rafael Gonzaga) #52452 - [
93d684097a
] - doc: correct naming convention in C++ style guide (Mohammed Keyvanzadeh) #52424 - [
b9bdb947ac
] - doc: updateprocess.execArg
example to be more useful (Jacob Smith) #52412 - [
f3f67ff84a
] - doc: call out http(s).globalAgent default (mathis-west-1) #52392 - [
392a0d310e
] - doc: update the location ofbuild_with_cmake
(Emmanuel Ferdman) #52356 - [
3ad62f1cc7
] - doc: reserve 125 for Electron 31 (Shelley Vohr) #52379 - [
bfd4c7844b
] - doc: use consistent plural form of "index" (Rich Trott) #52373 - [
6f31cc8361
] - doc: add Rafael to sec release stewards (Rafael Gonzaga) #52354 - [
c55a3be789
] - doc: document missing options of events.on (Chemi Atlow) #52080 - [
1a843f7c6d
] - doc: add missing space (Augustin Mauroy) #52360 - [
8ee20d8693
] - doc: add tips about vcpkg cause build faild on windows (Cong Zhang) #52181 - [
a86705c113
] - doc: replace "below" with "following" (Rich Trott) #52315 - [
f3e8d1159a
] - doc: fix email pattern to be wrapped with<<
instead of single<
(Raz Luvaton) #52284 - [
cc67720ff9
] - doc: update release gpg keyserver (marco-ippolito) #52257 - [
c2def7df96
] - doc: add release key for marco-ippolito (marco-ippolito) #52257 - [
2509f3be18
] - doc: fix arrow vertical alignment in HTML version (Akash Yeole) #52193 - [
2abaea3cdc
] - doc: move TSC members from regular to emeritus (Michael Dawson) #52209 - [
65618a3d7b
] - doc: add section explaining todo tests (Colin Ihrig) #52204 - [
bf0ed95b04
] - doc: editChildProcess
'message'
event docs (theanarkh) #52154 - [
3d67b6b5e8
] - doc: add mold to speeding up section (Cong Zhang) #52179 - [
8ba308a838
] - doc: http event order correction (wh0) #51464 - [
9771f41069
] - doc: move gabrielschulhof to TSC emeritus (Gabriel Schulhof) #52192 - [
72bd2b0d62
] - doc: fix--env-file
docs for valid quotes for defining values (Gabriel Bota) #52157 - [
4f19203dfb
] - doc: clarify what is supported in NODE_OPTIONS (Michael Dawson) #52076 - [
5bce596838
] - doc: fix typos in maintaining-dependencies.md (RoboSchmied) #52160 - [
f5241e20cc
] - doc: add spec for contains module syntax (Geoffrey Booth) #52059 - [
bda3cdea86
] - doc: optimize the doc about Unix abstract socket (theanarkh) #52043 - [
8d7d6eff81
] - doc: update pnpm link (Superchupu) #52113 - [
af7c55f62d
] - doc: remove ableist language from crypto (Jamie King) #52063 - [
f8362b0a5a
] - doc: update collaborator email (Ruy Adorno) #52088 - [
48cbd5f71e
] - doc: state that removing npm is a non-goal (Geoffrey Booth) #51951 - [
0ef2708131
] - doc: mention NodeSource in RafaelGSS steward list (Rafael Gonzaga) #52057 - [
a6473a89be
] - doc: remove ArrayBuffer from crypto.hash() data parameter type (fengmk2) #52069 - [
ae7a11c787
] - doc: add some commonly used lables up gront (Michael Dawson) #52006 - [
01aaddde3c
] - doc: document thatconst c2 = vm.createContext(c1); c1 === c2
is true (Daniel Kaplan) #51960 - [
912145fac4
] - doc: clarify what moderation issues are for (Antoine du Hamel) #51990 - [
807c89cb26
] - doc: add UlisesGascon as a collaborator (Ulises Gascón) #51991 - [
53ff3e5682
] - doc: deprecate hmac public constructor (Marco Ippolito) #51881 - [
5e78a20ef9
] - (SEMVER-MINOR) doc: deprecate fs.Stats public constructor (Marco Ippolito) #51879 - [
7bfb0b43e6
] - events: rename high & low watermark for consistency (Chemi Atlow) #52080 - [
5e6967359b
] - events: extract addAbortListener for safe internal use (Chemi Atlow) #52081 - [
6930205272
] - events: remove abort listener from signal inon
(Neal Beeken) #51091 - [
235ab4f99f
] - events,doc: mark CustomEvent as stable (Daeyeon Jeong) #52618 - [
ca5b827148
] - fs: fix read / readSync positional offset types (Ruy Adorno) #52603 - [
e7d0d804b2
] - fs: fixes recursive fs.watch crash on Linux when deleting files (Matteo Collina) #52349 - [
c5fd193d6b
] - fs: refactor maybeCallback function (Yagiz Nizipli) #52129 - [
0a9910c2c1
] - fs: fix edge case in readFileSync utf8 fast path (Richard Lau) #52101 - [
51d7cd5de8
] - fs: validate fd from cpp onfchown
(Yagiz Nizipli) #52051 - [
33ad86c2be
] - fs: validate fd from cpp onclose
(Yagiz Nizipli) #52051 - [
34667c0a7e
] - fs: validate file mode from cpp (Yagiz Nizipli) #52050 - [
c530520be3
] - fs: add stacktrace to fs/promises (翠 / green) #49849 - [
edecd464b9
] - fs,permission: make handling of buffers consistent (Tobias Nießen) #52348 - [
3bcd68337e
] - http2: fix excessive CPU usage when usingallowHTTP1=true
(Eugene) #52713 - [
e01015996a
] - http2: fix h2-over-h2 connection proxying (Tim Perry) #52368 - [
9f88736860
] - http2: use internal addAbortListener (Chemi Atlow) #52081 - [
acd7758959
] - lib: use predefined variable instead of bit operation (Deokjin Kim) #52580 - [
18ae7a46f6
] - lib: refactor lazy loading of undici for fetch method (Victor Chen) #52275 - [
64c2c2a7ac
] - lib: replace string prototype usage with alternatives (Aviv Keller) #52440 - [
ee11b5315c
] - lib: .load .save add proper error message when no file passed (Thomas Mauran) #52225 - [
e5521b537f
] - lib: fix type error for _refreshLine (Jackson Tian) #52133 - [
d5d6e041c8
] - lib: emit listening event once when call listen twice (theanarkh) #52119 - [
d33fc36784
] - lib: make sure clear the old timer in http server (theanarkh) #52118 - [
ea4905c0f5
] - lib: fix listen with handle in cluster worker (theanarkh) #52056 - [
8fd8130507
] - lib, doc: rename readme.md to README.md (Aviv Keller) #52471 - [
722fe64ff7
] - (SEMVER-MINOR) lib, url: add awindows
option to path parsing (Aviv Keller) #52509 - [
26691e6032
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #52633 - [
befb90dc83
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #52457 - [
22b7167e72
] - meta: bump actions/download-artifact from 4.1.3 to 4.1.4 (dependabot[bot]) #52314 - [
4dafd3ede2
] - meta: bump rtCamp/action-slack-notify from 2.2.1 to 2.3.0 (dependabot[bot]) #52313 - [
2760db7640
] - meta: bump github/codeql-action from 3.24.6 to 3.24.9 (dependabot[bot]) #52312 - [
542aaf9ca9
] - meta: bump actions/cache from 4.0.1 to 4.0.2 (dependabot[bot]) #52311 - [
df330998d9
] - meta: bump actions/setup-python from 5.0.0 to 5.1.0 (dependabot[bot]) #52310 - [
5f40fe0cc2
] - meta: bump codecov/codecov-action from 4.1.0 to 4.1.1 (dependabot[bot]) #52308 - [
481420f25c
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #52300 - [
3121949f85
] - meta: pass Codecov upload token to codecov action (Michaël Zasso) #51982 - [
882a64e639
] - module: fix detect-module not retrying as esm for cjs-only errors (Geoffrey Booth) #52024 - [
5fcc1d32a8
] - module: refactor ESM loader initialization and entry point handling (Joyee Cheung) #51999 - [
d116fa1568
] - (SEMVER-MINOR) net: add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) #52474 - [
37abad86ae
] - net: use internal addAbortListener (Chemi Atlow) #52081 - [
a920489a1f
] - node-api: address coverity report (Michael Dawson) #52584 - [
0a225a4b40
] - node-api: copy external type tags when they are set (Niels Martignène) #52426 - [
f9d95674be
] - node-api: make tsfn accept napi_finalize once more (Gabriel Schulhof) #51801 - [
72aabe1139
] - perf_hooks: reduce overhead of createHistogram (Vinícius Lourenço) #50074 - [
fb601c3a94
] - readline: use internal addAbortListener (Chemi Atlow) #52081 - [
29f09f05f7
] - (SEMVER-MINOR) report: add--report-exclude-network
option (Ethan Arrowood) #51645 - [
7e6d923f5b
] - src: cast to v8::Value before using v8::EmbedderGraph::V8Node (Joyee Cheung) #52638 - [
6af7b78b0d
] - (SEMVER-MINOR) src: addstring_view
overload to snapshot FromBlob (Anna Henningsen) #52595 - [
27491e55c1
] - src: remove regex usage for env file parsing (IlyasShabi) #52406 - [
b05e639e27
] - src: fix loadEnvFile ENOENT error (mathis-west-1) #52438 - [
1b4d2814d1
] - src: update branch name in node_revert.h (Tobias Nießen) #52390 - [
7e35a169ea
] - src: stop usingv8::BackingStore::Reallocate
(Michaël Zasso) #52292 - [
2449d2606a
] - src: fix move after use reported by coverity (Michael Dawson) #52141 - [
b33eff887d
] - (SEMVER-MINOR) src: add C++ ProcessEmitWarningSync() (Joyee Cheung) #51977 - [
f2c7408927
] - src: return a number from process.constrainedMemory() constantly (Chengzhong Wu) #52039 - [
7f575c886b
] - (SEMVER-MINOR) src: add uv_get_available_memory to report and process (theanarkh) #52023 - [
e161e62313
] - src: use dedicated routine to compile function for builtin CJS loader (Joyee Cheung) #52016 - [
07322b490f
] - src: fix reading empty string views in Blob[De]serializer (Joyee Cheung) #52000 - [
e216192390
] - src: refactor out FormatErrorMessage for error formatting (Joyee Cheung) #51999 - [
b3a11b574b
] - (SEMVER-MINOR) src: preload function for Environment (Cheng Zhao) #51539 - [
09bd367ef6
] - stream: make Duplex inherit destroy from Writable (Luigi Pinca) #52318 - [
0b853a7576
] - (SEMVER-MINOR) stream: support typed arrays (IlyasShabi) #51866 - [
f8209ffe45
] - stream: addnew
when constructingERR_MULTIPLE_CALLBACK
(haze) #52110 - [
8442457117
] - stream: use internal addAbortListener (Chemi Atlow) #52081 - [
8d20b641a2
] - Revert "stream: fix cloned webstreams not being unref'd" (Matteo Collina) #51491 - [
a923adffab
] - test: marktest-error-serdes
as flaky (Antoine du Hamel) #52739 - [
d4f1803f0b
] - test: mark test as flaky (Michael Dawson) #52671 - [
1e88e042c2
] - test: skip test-fs-watch-recursive-delete.js on IBM i (Abdirahim Musse) #52645 - [
6da558af8b
] - test: ensure that all worker servers are ready (Luigi Pinca) #52563 - [
c871fadb85
] - test: fix test-tls-ticket-cluster.js (Hüseyin Açacak) #52431 - [
b6cb74d775
] - test: split wasi poll test for windows (Hüseyin Açacak) #52538 - [
4ad159bb75
] - test: write tests for assertIsArray http2 util (Sinan Sonmez (Chaush)) #52511 - [
1f7a28cbe7
] - test: fix watch test with require not testing pid (Raz Luvaton) #52353 - [
5b758b93d5
] - test: simplify ASan build checks (Michaël Zasso) #52430 - [
375c3db5ea
] - test: fix Windows compiler warnings in overlapped-checker (Michaël Zasso) #52405 - [
a1dd92cdee
] - test: add test for skip+todo combinations (Colin Ihrig) #52204 - [
8a0b721930
] - test: fix incorrect test fixture (Colin Ihrig) #52185 - [
dd1f761f3b
] - test: add missing cctest/test_path.cc (Yagiz Nizipli) #52148 - [
6da446d9e1
] - test: addspawnSyncAndAssert
util (Antoine du Hamel) #52132 - [
d7bfb4e8d8
] - test: reduce flakiness of test-runner-output.mjs (Colin Ihrig) #52146 - [
e4981b3d75
] - test: add test for using--print
with promises (Antoine du Hamel) #52137 - [
5cc540078e
] - test: un-set test-emit-after-on-destroyed as flaky (Abdirahim Musse) #51995 - [
b9eb0035dd
] - test: skip test for dynamically linked OpenSSL (Richard Lau) #52542 - [
32014f5601
] - test: avoid v8 deadcode on performance function (Vinícius Lourenço) #50074 - [
29d2011f51
] - test_runner: better error handing for test hook (Alex Yang) #52401 - [
9497097fb3
] - test_runner: fix clearing final timeout in own callback (Ben Richeson) #52332 - [
0f690f0b9e
] - test_runner: fix recursive run (Moshe Atlow) #52322 - [
34ab1a36ee
] - test_runner: hide new line when no error in spec reporter (Moshe Atlow) #52297 - [
379535abe3
] - test_runner: disable highWatermark on TestsStream (Colin Ihrig) #52287 - [
35588cff39
] - test_runner: run afterEach hooks in correct order (Colin Ihrig) #52239 - [
5cd3df8fe1
] - test_runner: simplify test end time tracking (Colin Ihrig) #52182 - [
07e4a42e4b
] - test_runner: simplify test start time tracking (Colin Ihrig) #52182 - [
caec996831
] - test_runner: emit diagnostics when watch mode drains (Moshe Atlow) #52130 - [
41646d9c9e
] - (SEMVER-MINOR) test_runner: add suite() (Colin Ihrig) #52127 - [
fd1489a623
] - test_runner: skip each hooks for skipped tests (Colin Ihrig) #52115 - [
73b38bfa9e
] - test_runner: remove redundant report call (Colin Ihrig) #52089 - [
68187c4d9e
] - test_runner: use internal addAbortListener (Chemi Atlow) #52081 - [
61e7ae05ef
] - test_runner: use source maps when reporting coverage (Moshe Atlow) #52060 - [
e64a25af61
] - test_runner: handle undefined test locations (Colin Ihrig) #52036 - [
590decf202
] - test_runner: avoid overwriting root start time (Colin Ihrig) #52020 - [
a4cbb61c65
] - test_runner: abort unfinished tests on async error (Colin Ihrig) #51996 - [
a223ca4868
] - test_runner: run before hook immediately if test started (Moshe Atlow) #52003 - [
956ee74c7e
] - test_runner: add support for null and date value output (Malthe Borch) #51920 - [
fc9ba17f6c
] - (SEMVER-MINOR) test_runner: addtest:complete
event to reflect execution order (Moshe Atlow) #51909 - [
d5ac979aeb
] - test_runner: format coverage report for tap reporter (Pulkit Gupta) #51119 - [
c925bc18dc
] - tools: take co-authors into account infind-inactive-collaborators
(Antoine du Hamel) #52669 - [
1d37e772ec
] - tools: fix invalid escape sequence in mkssldef (Michaël Zasso) #52624 - [
5b22fc3a81
] - tools: update lint-md-dependencies to rollup@4.15.0 (Node.js GitHub Bot) #52617 - [
9cf47bb2f1
] - tools: update lint-md-dependencies (Rich Trott) #52581 - [
c0c60d13c0
] - tools: fix heading spaces for osx-entitlements.plist (Jackson Tian) #52561 - [
7c349d7819
] - tools: update lint-md-dependencies to rollup@4.14.2 vfile-reporter@8.1.1 (Node.js GitHub Bot) #52518 - [
b4d703297b
] - tools: use stylistic ESLint plugin for formatting (Michaël Zasso) #50714 - [
c6813360c2
] - tools: update minimatch index path (Marco Ippolito) #52523 - [
8464c0253c
] - tools: add a linter for README lists (Antoine du Hamel) #52476 - [
55a3fbc842
] - tools: change inactive limit to 12 months (Yagiz Nizipli) #52425 - [
74a171f130
] - tools: update stale bot messaging (Wes Todd) #52423 - [
b2a3dcec2a
] - tools: update lint-md-dependencies to rollup@4.14.0 (Node.js GitHub Bot) #52398 - [
f71a777e6e
] - tools: update Ruff to v0.3.4 (Michaël Zasso) #52302 - [
e3e0c68f8f
] - tools: run test-ubsan on ubuntu-latest (Michaël Zasso) #52375 - [
893b5aac31
] - tools: update lint-md-dependencies to rollup@4.13.2 (Node.js GitHub Bot) #52286 - [
049cca419e
] - Revert "tools: runbuild-windows
workflow only on source changes" (Michaël Zasso) #52320 - [
b3dfc62cee
] - tools: use Python 3.12 in GitHub Actions workflows (Michaël Zasso) #52301 - [
c7238d0c04
] - tools: allow local updates for llhttp (Paolo Insogna) #52085 - [
c39f15cafd
] - tools: install npm PowerShell scripts on Windows (Luke Karrys) #52009 - [
b36fea064a
] - tools: update lint-md-dependencies to rollup@4.13.0 (Node.js GitHub Bot) #52122 - [
a5204eb915
] - tools: fix error reported by coverity in js2c.cc (Michael Dawson) #52142 - [
cef4b7ef3d
] - tools: sync ubsan workflow with asan (Michaël Zasso) #52152 - [
d406976bbe
] - tools: update github_reporter to 1.7.0 (Node.js GitHub Bot) #52121 - [
fb100a2ac8
] - tools: remove gyp-next .github folder (Marco Ippolito) #52064 - [
5f1e7a0de2
] - tools: update gyp-next to 0.16.2 (Node.js GitHub Bot) #52062 - [
1f1253446b
] - tools: install manpage to share/man for FreeBSD (Po-Chuan Hsieh) #51791 - [
4b8b92fccc
] - tools: automate gyp-next update (Marco Ippolito) #52014 - [
1ec9e58692
] - typings: fix invalid JSDoc declarations (Yagiz Nizipli) #52659 - [
2d6b19970b
] - (SEMVER-MINOR) util: support array of formats in util.styleText (Marco Ippolito) #52040 - [
d30cccdf8c
] - (SEMVER-MINOR) v8: implement v8.queryObjects() for memory leak regression testing (Joyee Cheung) #51927 - [
7f3b7fdeff
] - watch: fix some node argument not passed to watched process (Raz Luvaton) #52358 - [
8ba6f9bc9a
] - watch: use internal addAbortListener (Chemi Atlow) #52081 - [
5a922232da
] - watch: mark as stable (Moshe Atlow) #52074 - [
508e968a5f
] - watch: batch file restarts (Moshe Atlow) #51992
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this MR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.