Update node Docker tag to v23
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
node | ironbank-docker | major |
20.18.0-bookworm -> 23.1.0-bookworm
|
node | stage | major |
20.18.0-bookworm -> 23.1.0-bookworm
|
⚠ Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
nodejs/node (node)
v23.1.0
: 2024-10-24, Version 23.1.0 (Current), @aduh95
Notable Changes
Buffer
now work with resizable ArrayBuffer
When a Buffer
is created using a resizable ArrayBuffer
, the Buffer
length
will now correctly change as the underlying ArrayBuffer
size is changed.
const ab = new ArrayBuffer(10, { maxByteLength: 20 });
const buffer = Buffer.from(ab);
console.log(buffer.byteLength); 10
ab.resize(15);
console.log(buffer.byteLength); 15
ab.resize(5);
console.log(buffer.byteLength); 5
Contributed by James M Snell in #55377.
MockTimers
test runner API is now stable
MockTimers
, introduced in April 2023, has just reached stable status. This
API provides comprehensive support for mocking Date
and all major timers in
Node.js, including setTimeout
, setInterval
, and setImmediate
, both from
the node:timers
, node:timers/promises
modules and global objects. After
months of refinement, developers can now fully rely on MockTimers
for testing
time-based operations with confidence, ensuring better control over asynchronous
behavior in their Node.js applications.
Example usage with initial Date
object as time set:
import { mock } from 'node:test';
mock.timers.enable({ apis: ['Date'], now: new Date('1970-01-01') });
Contributed by Erick Wendel in #55398.
JSON modules and import attributes are now stable
The two proposals reached stage 4 of the TC39 process, at the October 2024 meeting. The Node.js implementation already matches exactly the semantics required by the proposals.
Contributed by Nicolò Ribaudo by #55333.
Other Notable Changes
- [
4ba31b7f20
] - (SEMVER-MINOR) assert: makeassertion_error
use Myers diff algorithm (Giovanni Bucci) #54862 - [
dcbc5fbe65
] - (SEMVER-MINOR) lib: addUV_UDP_REUSEPORT
for udp (theanarkh) #55403 - [
ec867ac7ce
] - (SEMVER-MINOR) net: addUV_TCP_REUSEPORT
for tcp (theanarkh) #55408
Commits
- [
4ba31b7f20
] - (SEMVER-MINOR) assert: make assertion_error use Myers diff algorithm (Giovanni Bucci) #54862 - [
fe667bea28
] - assert: fix deepEqual always return true on URL (Xuguang Mei) #50853 - [
aca03d9083
] - benchmark: add --runs support to run.js (Rafael Gonzaga) #55158 - [
c5abf50692
] - benchmark: adjust byte size for buffer-copy (Rafael Gonzaga) #55295 - [
d3618b2334
] - benchmark: adjust config for deepEqual object (Rafael Gonzaga) #55254 - [
c05582da3d
] - (SEMVER-MINOR) buffer: make Buffer work with resizable ArrayBuffer (James M Snell) #55377 - [
194bb0fca5
] - build: fix GN build for cares/uv deps (Cheng) #55477 - [
8eb5359592
] - build: fix uninstall script for AIX 7.1 (Cloorc) #55438 - [
32f7d5ad1c
] - build: conditionally compile bundled sqlite (Richard Lau) #55409 - [
2147e496e7
] - build: tidy up cares.gyp (Richard Lau) #55445 - [
2beae50c77
] - build: synchronize list of c-ares source files (Richard Lau) #55445 - [
f48d30eb9f
] - build: fix path concatenation (Mohammed Keyvanzadeh) #55387 - [
d42522eec5
] - build: fix make errors that occur in Makefile (minkyu_kim) #55287 - [
52da293471
] - cli: add--heap-prof
flag available toNODE_OPTIONS
(Juan José) #54259 - [
adead26815
] - crypto: include openssl/rand.h explicitly (Shelley Vohr) #55425 - [
df2f1adf9e
] - deps: V8: cherry-pickf915fa4
(Chengzhong Wu) #55484 - [
bfc10a975f
] - deps: update googletest todf1544b
(Node.js GitHub Bot) #55465 - [
45ef1809bd
] - deps: update c-ares to v1.34.2 (Node.js GitHub Bot) #55463 - [
c2b5ebfeca
] - deps: update ada to 2.9.1 (Node.js GitHub Bot) #54679 - [
903863cafa
] - deps: update simdutf to 5.6.0 (Node.js GitHub Bot) #55379 - [
008fb5f7f4
] - deps: patch V8 to 12.9.202.28 (Node.js GitHub Bot) #55371 - [
8b282228ae
] - deps: update c-ares to v1.34.1 (Node.js GitHub Bot) #55369 - [
54d55f2337
] - Revert "deps: disable io_uring support in libuv by default" (Santiago Gimeno) #55114 - [
bfb3c621c4
] - deps: update libuv to 1.49.1 (Santiago Gimeno) #55114 - [
055d2b8919
] - deps: update amaro to 0.1.9 (Node.js GitHub Bot) #55348 - [
c028d21b44
] - diagnostics_channel: fix unsubscribe during publish (simon-id) #55116 - [
b4b6ddb777
] - dns: honor the order option (Luigi Pinca) #55392 - [
37352cef7f
] - doc: changed the command used to verify SHASUMS256 (adriancuadrado) #55420 - [
66bcf4c065
] - doc: move dual package shipping docs to separate repo (Joyee Cheung) #55444 - [
04b41bda03
] - doc: add note about stdio streams in child_process (Ederin (Ed) Igharoro) #55322 - [
689d3a3e41
] - doc: addisBigIntObject
to documentation (leviscar) #55450 - [
784c825a27
] - doc: remove outdated remarks abouthighWaterMark
in fs (Ian Kerins) #55462 - [
1ec25e8573
] - doc: move Danielle Adams key to old gpg keys (RafaelGSS) #55399 - [
7d5bb097eb
] - doc: move Bryan English key to old gpg keys (RafaelGSS) #55399 - [
2967471f67
] - doc: move Beth Griggs keys to old gpg keys (RafaelGSS) #55399 - [
0be3a7505f
] - doc: add changelog for mocktimers (Erick Wendel) #55398 - [
e15f779794
] - doc: spell out condition restrictions (Jan Martin) #55187 - [
c3f2216a7d
] - doc: add instructions for WinGet build (Hüseyin Açacak) #55356 - [
bdc2c3bb94
] - doc: add missing return values in buffer docs (Karl Horky) #55273 - [
41f68f59af
] - doc: fix ambasador markdown list (Rafael Gonzaga) #55361 - [
bbd5318729
] - esm: add a fallback when importer in not a file (Antoine du Hamel) #55471 - [
22d77773fd
] - esm: fix inconsistency withimportAssertion
inresolve
hook (Wei Zhu) #55365 - [
48bb87b059
] - esm: mark import attributes and JSON module as stable (Nicolò Ribaudo) #55333 - [
8ceefebaf2
] - events: optimize EventTarget.addEventListener (Robert Nagy) #55312 - [
45f960cab6
] - fs: pass correct path toDirentFromStats
duringglob
(Aviv Keller) #55071 - [
d9494a7641
] - fs: usewstring
on Windows paths (jazelly) #55171 - [
0f1d13e359
] - lib: ensure FORCE_COLOR forces color output in non-TTY environments (Pietro Marchini) #55404 - [
dcbc5fbe65
] - (SEMVER-MINOR) lib: add UV_UDP_REUSEPORT for udp (theanarkh) #55403 - [
714f272423
] - lib: remove startsWith/endsWith primordials for char checks (Gürgün Dayıoğlu) #55407 - [
4e5c90bb41
] - lib: replacecreateDeferredPromise
util withPromise.withResolvers
(Yagiz Nizipli) #54836 - [
db18aca47a
] - lib: add flag to drop connection when running in cluster mode (theanarkh) #54927 - [
dd848f2d1e
] - lib: test_runner#mock:timers respeced timeout_max behaviour (BadKey) #55375 - [
a9473bb8e3
] - lib: remove settled dependant signals when they are GCed (Edigleysson Silva (Edy)) #55354 - [
07ad987aa1
] - lib: convert transfer sequence to array in js (Jason Zhang) #55317 - [
d54d3b24c3
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #55381 - [
12d709bd27
] - meta: assign CODEOWNERS for /deps/ncrypto/* (Filip Skokan) #55426 - [
0130780eec
] - meta: change color to blue notify review-wanted (Rafael Gonzaga) #55423 - [
335a507027
] - meta: bump codecov/codecov-action from 4.5.0 to 4.6.0 (dependabot[bot]) #55222 - [
5ffc721d09
] - meta: bump github/codeql-action from 3.26.6 to 3.26.10 (dependabot[bot]) #55221 - [
d9fde2c45b
] - meta: bump step-security/harden-runner from 2.9.1 to 2.10.1 (dependabot[bot]) #55220 - [
2c960a212e
] - module: include module information in require(esm) warning (Joyee Cheung) #55397 - [
a12dbf03d9
] - module: simplify ts under node_modules check (Marco Ippolito) #55440 - [
ec867ac7ce
] - (SEMVER-MINOR) net: add UV_TCP_REUSEPORT for tcp (theanarkh) #55408 - [
9e320279a2
] - Revert "path: fix bugs and inconsistencies" (Aviv Keller) #55414 - [
1ce8928db3
] - sqlite: cache column names in stmt.all() (Fedor Indutny) #55373 - [
cc775d314a
] - src: switch fromGet/SetPrototype
toGet/SetPrototypeV2
(Aviv Keller) #55453 - [
89c96ade53
] - src: remove icu basedToASCII
andToUnicode
(Yagiz Nizipli) #55156 - [
57dbbf8402
] - src: fix winapi_strerror error string (Hüseyin Açacak) #55207 - [
a490bb8745
] - src: remove uv__node_patch_is_using_io_uring (Santiago Gimeno) #55114 - [
0da1632937
] - src,lib: introduceutil.getSystemErrorMessage(err)
(Juan José) #54075 - [
6764273127
] - stream: propagate AbortSignal reason (Marvin ROGER) #55473 - [
4dc2791cdd
] - test: add repl preview timeout test (Chengzhong Wu) #55484 - [
8634e054d4
] - test: make test-node-output-v8-warning more flexible (Shelley Vohr) #55401 - [
6c8564b55d
] - test: fix addons and node-api test assumptions (Antoine du Hamel) #55441 - [
94e863cdb7
] - test: update wpt test for webmessaging/broadcastchannel (devstone) #55205 - [
c10c6715cd
] - test: deflaketest-cluster-shared-handle-bind-privileged-port
(Aviv Keller) #55378 - [
6f7379a048
] - test: fix invalidfile:
URL intest-fs-path-dir
(Antoine du Hamel) #55454 - [
dd5a08d022
] - test: updateconsole
wpt (Aviv Keller) #55192 - [
9b7b4a6b25
] - test: remove duplicate tests (Luigi Pinca) #55393 - [
eb2fab3da1
] - test: update test_util.cc for coverage (minkyu_kim) #55291 - [
59923d137e
] - test: updatecompression
wpt (Aviv Keller) #55191 - [
1b63a822ac
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #55427 - [
97c6448f63
] - test_runner: mark mockTimers as stable (Erick Wendel) #55398 - [
69ee56aacd
] - test_runner: add support for scheduler.wait on mock timers (Erick Wendel) #55244 - [
d9f0407cf6
] - test_runner: require--enable-source-maps
for sourcemap coverage (Aviv Keller) #55359 - [
2ac2c5a7e7
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #55470 - [
10f6b90f7d
] - tools: update gyp-next to 0.18.3 (Node.js GitHub Bot) #55464 - [
65936a8bb6
] - tools: add script to synch c-ares source lists (Richard Lau) #55445 - [
1da4168486
] - tools: addpolyfilled
option toprefer-primordials
rule (Antoine du Hamel) #55318 - [
3b2b3a8df2
] - tools: fix typos (Nathan Baulch) #55061 - [
736c085a5d
] - typings: add missing type ofArrayBufferPrototypeGetByteLength
(Wuli Zuo) #55439 - [
7b3e38b855
] - url: handle "unsafe" characters properly inpathToFileURL
(Antoine du Hamel) #54545
v23.0.0
: 2024-10-16, Version 23.0.0 (Current), @RafaelGSS
We’re excited to announce the release of Node.js 23! Key highlights include:
- Enabling
require(esm)
by default for Node.js applications - Removing support for Windows 32-bit systems
- Stabilizing the
node --run
command - Enhancements to the test runner, including glob pattern support for coverage files
Node.js 23 will replace Node.js 22 as the ‘Current’ release line when Node.js 22 enters long-term support (LTS) later this month. According to the release schedule, Node.js 23 will remain the ‘Current’ release for the next six months, until April 2025.
Other Notable Changes
- [
7ad0cc3e57
] - (SEMVER-MAJOR) build: remove support for 32-bit Windows (Michaël Zasso) #53184 - [
83eb4f2855
] - (SEMVER-MINOR) deps: V8: cherry-pickcd10ad7
(Joyee Cheung) #52535 - [
b8493a5789
] - doc: add abmusse to collaborators (Abdirahim Musse) #55086 - [
7fab6e8885
] - (SEMVER-MAJOR) doc: use gcc 12 on AIX for Node.js >=23 (Richard Lau) #54338 - [
d473606040
] - (SEMVER-MINOR) lib: propagate aborted state to dependent signals before firing events (jazelly) #54826 - [
06206af181
] - (SEMVER-MINOR) module: unflag --experimental-require-module (Joyee Cheung) #55085 - [
0b9249e335
] - (SEMVER-MINOR) module: implement the "module-sync" exports condition (Joyee Cheung) #54648 - [
92a25abca9
] - (SEMVER-MINOR) path: addmatchGlob
method (Aviv Keller) #52881 - [
12dd4c7575
] - src: mark node --run as stable (Yagiz Nizipli) #53763 - [
4174b73153
] - test: support glob matching coverage files (Aviv Keller) #53553
Semver-Major Commits
- [
764b13d75c
] - (SEMVER-MAJOR) assert,util: change WeakMap and WeakSet comparison handling (Cristian Barlutiu) #53495 - [
3800d60c66
] - (SEMVER-MAJOR) buffer: throw when writing beyond buffer" (Robert Nagy) #54588 - [
17fd32790a
] - (SEMVER-MAJOR) buffer: make File cloneable (Matthew Aitken) #47613 - [
f68d7d2acc
] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #54536 - [
9d0748c5df
] - (SEMVER-MAJOR) build: disable ICF for mksnapshot (Leszek Swirski) #54077 - [
b7bcf3e121
] - (SEMVER-MAJOR) build: include v8-sandbox.h header in distribution (Michaël Zasso) #54077 - [
1dfa3b8255
] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #54077 - [
046343ea9d
] - (SEMVER-MAJOR) build: warn for GCC versions earlier than 12.2 (Michaël Zasso) #54081 - [
a5decd4c8d
] - (SEMVER-MAJOR) build: drop experimental support for Windows <10 (Michaël Zasso) #54079 - [
7ad0cc3e57
] - (SEMVER-MAJOR) build: remove support for 32-bit Windows (Michaël Zasso) #53184 - [
c7e42092f3
] - (SEMVER-MAJOR) build: compile with C++20 support (Michaël Zasso) #45427 - [
e2b7e41e23
] - (SEMVER-MAJOR) child_process: remove unused internal event (Rich Trott) #53793 - [
4f1fe8a015
] - (SEMVER-MAJOR) cli: remove deprecated V8 flag (Omer Katz) #54761 - [
8f37492b65
] - (SEMVER-MAJOR) cli: move --trace-atomics-wait to eol (Marco Ippolito) #52747 - [
f7e73cd1f2
] - (SEMVER-MAJOR) cli: remove --no-experimental-global-customevent flag (Daeyeon Jeong) #52723 - [
311504125f
] - (SEMVER-MAJOR) cli: remove --no-experimental-fetch flag (Filip Skokan) #52611 - [
a30ae50860
] - (SEMVER-MAJOR) cli: remove --no-experimental-global-webcrypto flag (Filip Skokan) #52564 - [
afe56aa58b
] - (SEMVER-MAJOR) crypto: runtime deprecate crypto.fips (Yagiz Nizipli) #55019 - [
33a6d1fe3a
] - (SEMVER-MAJOR) crypto: remove ERR_CRYPTO_SCRYPT_INVALID_PARAMETER (Tobias Nießen) #53305 - [
ff826069a8
] - (SEMVER-MAJOR) crypto: move DEP0182 to runtime deprecation (Tobias Nießen) #52552 - [
6e150f9527
] - (SEMVER-MAJOR) deps: V8: cherry-pick97199f6
(Michaël Zasso) #54536 - [
1e16779fa1
] - (SEMVER-MAJOR) deps: V8: cherry-pick01a47f3
(Michaël Zasso) #54536 - [
762a440e68
] - (SEMVER-MAJOR) deps: patch V8 to support older Clang versions (Michaël Zasso) #54536 - [
95f2213eed
] - (SEMVER-MAJOR) deps: always define V8_NODISCARD as no-op (Michaël Zasso) #54536 - [
09d997f181
] - (SEMVER-MAJOR) deps: fix FP16 bitcasts.h (Stefan Stojanovic) #54536 - [
1866363854
] - (SEMVER-MAJOR) deps: patch V8 to support compilation with MSVC (StefanStojanovic) #54536 - [
6f4f22f84c
] - (SEMVER-MAJOR) deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #54536 - [
dfff61475e
] - (SEMVER-MAJOR) deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #54536 - [
69ad89f8eb
] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #54536 - [
5ab3140dfb
] - (SEMVER-MAJOR) deps: update V8 to 12.9.202.18 (Michaël Zasso) #54536 - [
fba06eb34a
] - (SEMVER-MAJOR) deps: remove bogus V8 DCHECK (Michaël Zasso) #54077 - [
5355603fb5
] - (SEMVER-MAJOR) deps: V8: cherry-pick00e9eeb
(Michaël Zasso) #54077 - [
bcc1e2716c
] - (SEMVER-MAJOR) deps: V8: cherry-pickb139777
(Michaël Zasso) #54077 - [
415bc750a5
] - (SEMVER-MAJOR) deps: V8: cherry-pick35888fe
(Joyee Cheung) #54077 - [
28f3e5c9d1
] - (SEMVER-MAJOR) deps: always define V8_NODISCARD as no-op (Michaël Zasso) #54077 - [
a41c381cde
] - (SEMVER-MAJOR) deps: fix FP16 bitcasts.h (Stefan Stojanovic) #54077 - [
16c9348e60
] - (SEMVER-MAJOR) deps: V8: revert CL5331688
(Michaël Zasso) #54077 - [
dc4e702a45
] - (SEMVER-MAJOR) deps: patch V8 to support compilation with MSVC (StefanStojanovic) #54077 - [
f626acc328
] - (SEMVER-MAJOR) deps: silence internal V8 deprecation warning (Michaël Zasso) #54077 - [
ed187faa64
] - (SEMVER-MAJOR) deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #54077 - [
ed029bded7
] - (SEMVER-MAJOR) deps: avoid compilation error with ASan (Michaël Zasso) #54077 - [
e600de93cf
] - (SEMVER-MAJOR) deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #54077 - [
cc36db7c06
] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #54077 - [
9d7cd9b864
] - (SEMVER-MAJOR) deps: update V8 to 12.8.374.13 (Michaël Zasso) #54077 - [
4f70132972
] - (SEMVER-MAJOR) doc: reflect toolchains used for official binaries (Richard Lau) #54967 - [
7fab6e8885
] - (SEMVER-MAJOR) doc: use gcc 12 on AIX for Node.js >=23 (Richard Lau) #54338 - [
1d5ed725e9
] - (SEMVER-MAJOR) esm: export 'module.exports' on ESM CJS wrapper (Guy Bedford) #53848 - [
d5c29ba12d
] - (SEMVER-MAJOR) events: set EventEmitterAsyncResource fields private (Yagiz Nizipli) #54889 - [
f202322ea4
] - (SEMVER-MAJOR) fs: adjust typecheck fortype
infs.symlink()
(Livia Medeiros) #49741 - [
15e7563062
] - (SEMVER-MAJOR) fs: runtime deprecatedirent.path
(Antoine du Hamel) #51050 - [
00b2f07f9d
] - (SEMVER-MAJOR) fs,win: fix bug in paths with trailing slashes (Hüseyin Açacak) #54160 - [
e973c3e94b
] - (SEMVER-MAJOR) lib: validate signals with interface converter (Jason Zhang) #54965 - [
a5a946d8a5
] - (SEMVER-MAJOR) lib: implement interface converter in webidl (Jason Zhang) #54965 - [
6ed93b4d69
] - (SEMVER-MAJOR) lib: expose global CloseEvent (Matthew Aitken) #53355 - [
52322aa42a
] - (SEMVER-MAJOR) net: validate host name for server listen (Jason Zhang) #54470 - [
efbba60e5b
] - (SEMVER-MAJOR) path: fix bugs and inconsistencies (Hüseyin Açacak) #54224 - [
c237eabf4c
] - (SEMVER-MAJOR) process: removeprocess.assert
(Aviv Keller) #55035 - [
17a17164d6
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 131 (Michaël Zasso) #54536 - [
f0134fa6c3
] - (SEMVER-MAJOR) src: stop using deprecated fields ofv8::FastApiCallbackOptions
(Andreas Haas) #54077 - [
0be79f4deb
] - (SEMVER-MAJOR) src: remove dependency on wrapper-descriptor-based CppHeap (Joyee Cheung) #54077 - [
525b3f22d1
] - (SEMVER-MAJOR) src: add source location to v8::TaskRunner (François Doray) #54077 - [
e945bd9525
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 129 (Michaël Zasso) #54077 - [
bb8d2936ab
] - (SEMVER-MAJOR) src: do not use soon-to-be-deprecated V8 API (Igor Sheludko) #53174 - [
75884678d7
] - (SEMVER-MAJOR) src: add UV_PIPE_NO_TRUNCATE for bind in pipe_wrap.cc (theanarkh) #52347 - [
922feb1ff5
] - (SEMVER-MAJOR) stream: pipe to a closed or destroyed stream is not allowed in pipeline (jakecastelli) #53241 - [
ffe0dc5b87
] - (SEMVER-MAJOR) string_decoder: refactor encoding validation (Yagiz Nizipli) #54957 - [
df9efba2ce
] - (SEMVER-MAJOR) test: update v8-stats test for V8 12.6 (Michaël Zasso) #54077 - [
dbaef339aa
] - (SEMVER-MAJOR) test_runner: detect only tests when --test is not used (Colin Ihrig) #54881 - [
eb7e18fe94
] - (SEMVER-MAJOR) test_runner: always make spec the default reporter (Colin Ihrig) #54548 - [
0db38f0f99
] - (SEMVER-MAJOR) test_runner: expose lcov reporter as newable function (Chemi Atlow) #52403 - [
f5ed3386fd
] - (SEMVER-MAJOR) timers: emit warning if delay is negative or NaN (jakecastelli) #46678 - [
f666a1b754
] - (SEMVER-MAJOR) tls: fix 'ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED' typo (Aviv Keller) #52627 - [
c8c108f9b0
] - (SEMVER-MAJOR) tools: add additonal include dirs for V8 on AIX (Abdirahim Musse) #54536 - [
64e8646618
] - (SEMVER-MAJOR) tools: update V8 gypfiles for 12.8 (Michaël Zasso) #54077 - [
dc352a5ff2
] - (SEMVER-MAJOR) tools: update V8 gypfiles for 12.7 (Richard Lau) #54077 - [
8044051ce3
] - (SEMVER-MAJOR) tools: update V8 gypfiles for 12.6 (Michaël Zasso) #54077 - [
982f6ad516
] - (SEMVER-MAJOR) util: move util.log to eol (marco-ippolito) #52744 - [
1d817dcb52
] - (SEMVER-MAJOR) util: move util.isPrimitive to eol (marco-ippolito) #52744 - [
72240942ed
] - (SEMVER-MAJOR) util: move util.isFunction to eol (marco-ippolito) #52744 - [
dc379626ab
] - (SEMVER-MAJOR) util: move util.isError to eol (marco-ippolito) #52744 - [
b5cae4fea6
] - (SEMVER-MAJOR) util: move util.isDate to eol (marco-ippolito) #52744 - [
bd559e3e5a
] - (SEMVER-MAJOR) util: move util.isObject to eol (marco-ippolito) #52744 - [
d3068b9cfa
] - (SEMVER-MAJOR) util: move util.isRegExp to eol (marco-ippolito) #52744 - [
a59c7aeb27
] - (SEMVER-MAJOR) util: move util.isUndefined to eol (marco-ippolito) #52744 - [
05e72c939a
] - (SEMVER-MAJOR) util: move util.isSymbol to eol (marco-ippolito) #52744 - [
832a77c003
] - (SEMVER-MAJOR) util: move util.isString to eol (marco-ippolito) #52744 - [
708f57ea49
] - (SEMVER-MAJOR) util: move util.isNumber to eol (marco-ippolito) #52744 - [
6ec403fe91
] - (SEMVER-MAJOR) util: move util.isNullOrUndefined to eol (marco-ippolito) #52744 - [
7cd8bb26d1
] - (SEMVER-MAJOR) util: move util.isNull to eol (marco-ippolito) #52744 - [
e32b0c1eab
] - (SEMVER-MAJOR) util: move util.isBuffer to eol (marco-ippolito) #52744 - [
be528ab11e
] - (SEMVER-MAJOR) util: move util.isBoolean to eol (marco-ippolito) #52744 - [
ac97a532f5
] - (SEMVER-MAJOR) util: move util._extend to eol (marco-ippolito) #52744 - [
e225f00034
] - (SEMVER-MAJOR) zlib: removezlib.bytesRead
(Yagiz Nizipli) #55020
Semver-Minor Commits
- [
90e3e5e173
] - (SEMVER-MINOR) crypto: add KeyObject.prototype.toCryptoKey (Filip Skokan) #55262 - [
29f31c6a76
] - (SEMVER-MINOR) crypto: add Date fields forvalidTo
andvalidFrom
(Andrew Moon) #54159 - [
83eb4f2855
] - (SEMVER-MINOR) deps: V8: cherry-pickcd10ad7
(Joyee Cheung) #52535 - [
6c6562ce8b
] - (SEMVER-MINOR) http2: expose nghttp2_option_set_stream_reset_rate_limit as an option (Maël Nison) #54875 - [
d473606040
] - (SEMVER-MINOR) lib: propagate aborted state to dependent signals before firing events (jazelly) #54826 - [
772b35bdc4
] - (SEMVER-MINOR) module: support loading entrypoint as url (RedYetiDev) #54933 - [
06206af181
] - (SEMVER-MINOR) module: unflag --experimental-require-module (Joyee Cheung) #55085 - [
0b9249e335
] - (SEMVER-MINOR) module: implement the "module-sync" exports condition (Joyee Cheung) #54648 - [
62383cd113
] - (SEMVER-MINOR) module: implement flushCompileCache() (Joyee Cheung) #54971 - [
4dfed556ba
] - (SEMVER-MINOR) module: throw when invalid argument is passed to enableCompileCache() (Joyee Cheung) #54971 - [
9a73aa0d15
] - (SEMVER-MINOR) module: write compile cache to temporary file and then rename it (Joyee Cheung) #54971 - [
92a25abca9
] - (SEMVER-MINOR) path: addmatchGlob
method (Aviv Keller) #52881 - [
b0f025208f
] - (SEMVER-MINOR) process: add process.features.require_module (Joyee Cheung) #55241 - [
bf11e5793b
] - (SEMVER-MINOR) test_runner: support custom arguments inrun()
(Aviv Keller) #55126 - [
059e08bb21
] - (SEMVER-MINOR) test_runner: add 'test:summary' event (Colin Ihrig) #54851 - [
f79fd03f41
] - (SEMVER-MINOR) test_runner: add support for coverage via run() (Chemi Atlow) #53937 - [
d2ad9b4fb6
] - (SEMVER-MINOR) worker: addmarkAsUncloneable
api (Jason Zhang) #55234
Semver-Patch Commits
- [
e1d8b4f038
] - assert: show the diff when deep comparing data with a custom message (Giovanni) #54759 - [
4eeeab09f0
] - benchmark: rewrite detect-esm-syntax benchmark (Joyee Cheung) #55238 - [
834316d541
] - benchmark: add no-warnings to process.has bench (Rafael Gonzaga) #55159 - [
00d4f8073c
] - benchmark: create benchmark for typescript (Marco Ippolito) #54904 - [
96ec7eede9
] - benchmark: add webstorage benchmark (jakecastelli) #55040 - [
29357cb0ef
] - benchmark: include ascii to fs/readfile (Rafael Gonzaga) #54988 - [
53cba82e55
] - benchmark: add dotenv benchmark (Aviv Keller) #54278 - [
4062b3fb43
] - buffer: coerce extrema to int inblob.slice
(Antoine du Hamel) #55141 - [
f805d0be95
] - buffer: correctly apply prototype to clonedFile
/Blob
(Aviv Keller) #55138 - [
da5887d8e9
] - buffer: extract Blob's .arrayBuffer() & webidl changes (Matthew Aitken) #53372 - [
0d4387ebe2
] - buffer: use simdutf convert_latin1_to_utf8_safe (Robert Nagy) #54798 - [
ae1e2b53b7
] - build: fix notify-on-review-wanted action (Rafael Gonzaga) #55304 - [
22bc15764b
] - build: include.nycrc
in coverage workflows (Wuli Zuo) #55210 - [
28ffa4b751
] - build: fix not valid json in coverage (jakecastelli) #55179 - [
1398c04c47
] - build: notify via slack when review-wanted (Rafael Gonzaga) #55102 - [
b2c42dbcbb
] - build: add more information to Makefile help (Aviv Keller) #53381 - [
a1cd3c8777
] - build: update ruff and addlint-py-fix
(Aviv Keller) #54410 - [
6a6c957be7
] - build: remove -v flag to reduce noise (iwuliz) #55025 - [
5f6bb7d007
] - build: display free disk space after build in the test-macOS workflow (iwuliz) #55025 - [
415b82d8b8
] - build: support up to python 3.13 in android-configure (Aviv Keller) #54529 - [
beb1892036
] - build: add the option to generate compile_commands.json in vcbuild.bat (Segev Finer) #52279 - [
81cc72996a
] - build: fix eslint makefile target (Aviv Keller) #54999 - [
7e00be7650
] - Revert "build: upgrade clang-format to v18" (Chengzhong Wu) #54994 - [
96e057093f
] - build: printRunning XYZ linter...
for py and yml (Aviv Keller) #54386 - [
ab5e58bf29
] - Revert "build: only generate specified build type files" (Chengzhong Wu) #53580 - [
6cb940a546
] - build: only generate specified build type files (Chengzhong Wu) #53511 - [
27f8d9e9d2
] - build,win: enable pch for clang-cl (Stefan Stojanovic) #55249 - [
bbf08c6a1b
] - build,win: add winget config to set up env (Hüseyin Açacak) #54729 - [
653b96527a
] - build,win: float VS 17.11 compilation patch (Stefan Stojanovic) #54970 - [
0c5fa57bc7
] - cli: ensure --run has proper pwd (Yagiz Nizipli) #54949 - [
65768bca59
] - cli: fix spacing for port range error (Aviv Keller) #54495 - [
2d77ba5d30
] - Revert "console: colorize console error and warn" (Aviv Keller) #54677 - [
b64006c0ed
] - crypto: ensure invalid SubtleCrypto JWK data import results in DataError (Filip Skokan) #55041 - [
7a3027d563
] - deps: update undici to 6.20.0 (Node.js GitHub Bot) #55329 - [
54b5ec94e0
] - deps: patch V8 to 12.9.202.26 (Node.js GitHub Bot) #55161 - [
20d8b85d34
] - deps: upgrade npm to 10.9.0 (npm team) #55255 - [
fe45be207b
] - deps: V8: backport0d5d6e7
(Yagiz Nizipli) #55115 - [
5ff9b072b2
] - deps: update archs files for openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184 - [
302e6afe8c
] - deps: upgrade openssl sources to quictls/openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184 - [
5f78e2c880
] - deps: update timezone to 2024b (Node.js GitHub Bot) #55056 - [
5ed3296051
] - deps: patch V8 to 12.9.202.19 (Node.js GitHub Bot) #55057 - [
a6ece28604
] - deps: update acorn-walk to 8.3.4 (Node.js GitHub Bot) #54950 - [
a428b21066
] - deps: update corepack to 0.29.4 (Node.js GitHub Bot) #54845 - [
260f1f4608
] - deps: patch V8 to 12.8.374.33 (Node.js GitHub Bot) #54952 - [
b887942e6b
] - deps: patch V8 to 12.8.374.32 (Node.js GitHub Bot) #54884 - [
9087056060
] - deps: patch V8 to 12.8.374.31 (Michaël Zasso) #54682 - [
6bce6f69c6
] - Revert "deps: remove bogus V8 DCHECK" (Michaël Zasso) #54682 - [
0c771c35fa
] - deps: patch V8 to 12.8.374.22 (Node.js GitHub Bot) #54435 - [
543d1a9cb9
] - deps: update archs files for openssl-3.0.14+quic1 (Node.js GitHub Bot) #54336 - [
94d062bc78
] - deps: upgrade openssl sources to quictls/openssl-3.0.14+quic1 (Node.js GitHub Bot) #54336 - [
8e33f20a64
] - Revert "deps: V8: cherry-pick9ebca66
" (Joyee Cheung) #53582 - [
4c730aed7f
] - deps: V8: cherry-pick9ebca66
(Chengzhong Wu) #53522 - [
e9904fe49a
] - doc: edit onboarding guide to clarify when mailmap addition is needed (Antoine du Hamel) #55334 - [
acd698a5c8
] - doc: fix the return type of outgoingMessage.setHeaders() (Jimmy Leung) #55290 - [
d620755661
] - doc: add release key for aduh95 (Antoine du Hamel) #55349 - [
4a3fffaf58
] - doc: moveERR_INVALID_PERFORMANCE_MARK
to legacy errors (Antoine du Hamel) #55247 - [
e79ae1bf0c
] - doc: reserve 132 for Electron 34 (Michaela Laurencin) #55306 - [
33fe88a0b3
] - doc: add pmarchini to collaborators (Pietro Marchini) #55331 - [
755b89772d
] - doc: fixevents.once()
example usingAbortSignal
(Ivo Janssen) #55144 - [
accb239272
] - doc: add onboarding details for ambassador program (Marco Ippolito) #55284 - [
a301596c41
] - doc: moveERR_NAPI_TSFN_START/STOP_IDLE_LOOP
to legacy errors (Antoine du Hamel) #55248 - [
32efeea0c0
] - doc: fix initial default value of autoSelectFamily (Ihor Rohovets) #55245 - [
cc9b9a7f70
] - doc: tweak onboarding instructions (Michael Dawson) #55212 - [
c9cffb73b3
] - doc: update test context.assert (Pietro Marchini) #55186 - [
348d865652
] - doc: updaterequire(ESM)
history and stability status (Antoine du Hamel) #55199 - [
14b53df33c
] - doc: fix unordered error anchors (Antoine du Hamel) #55242 - [
dec10991e7
] - doc: mention addons to experimental permission (Rafael Gonzaga) #55166 - [
cebf21dfa5
] - doc: use correct dash in stability status (Antoine du Hamel) #55200 - [
0f02810fc9
] - doc: fix link intest/README.md
(Livia Medeiros) #55165 - [
22b4b7c626
] - doc: fix typos (Nathan Baulch) #55066 - [
e6427e1d87
] - doc: add esm examples to node:net (Alfredo González) #55134 - [
6d1cd506b5
] - doc: remove outdated https import reference (Edigleysson Silva (Edy)) #55111 - [
5368cdcf8a
] - doc: move the YAML changes element (sendoru) #55112 - [
23743f63fb
] - doc: remove random horizontal separators inprocess.md
(Antoine du Hamel) #55149 - [
18acff0d01
] - doc: put --env-file-if-exists=config right under --env-file=config (Edigleysson Silva (Edy)) #55131 - [
fd787c96e1
] - doc: fix the require resolve algorithm inmodules.md
(chirsz) #55117 - [
668e523392
] - doc: update style guide (Aviv Keller) #53223 - [
ae82b455d1
] - doc: add missing:
torun()
'sglobPatterns
(Aviv Keller) #55135 - [
7f480818b7
] - doc: correctcleanup
option in stream.(promises.)finished (René) #55043 - [
b8493a5789
] - doc: add abmusse to collaborators (Abdirahim Musse) #55086 - [
f20c42e964
] - doc: add note about--expose-internals
(Aviv Keller) #52861 - [
1c61a83444
] - doc: removeparseREPLKeyword
from REPL documentation (Aviv Keller) #54749 - [
65362f0181
] - doc: add missing EventSource docs to globals (Matthew Aitken) #55022 - [
5e25c2a79a
] - doc: cover --experimental-test-module-mocks flag (Jonathan Sharpe) #55021 - [
99433a2d7a
] - doc: add more details for localStorage and sessionStorage (Batuhan Tomo) #53881 - [
b446a587ba
] - doc: mark v21 as End-of-Life (Aviv Keller) #54984 - [
5e87577b4f
] - doc: change backporting guide with updated info (Aviv Keller) #53746 - [
de47b3122a
] - doc: add missing definitions tointernal-api.md
(Aviv Keller) #53303 - [
421977cd48
] - doc: fix history ofprocess.features
(Antoine du Hamel) #54982 - [
305137faae
] - doc: fix typo callsite.lineNumber (Rafael Gonzaga) #54969 - [
7feff2434d
] - doc: update documentation for externalizing deps (Michael Dawson) #54792 - [
cb20c5b9f4
] - doc: add documentation for process.features (Marco Ippolito) #54897 - [
24302c9fe9
] - doc: fix typo in CppgcMixin docs (Joyee Cheung) #54762 - [
7327e44a05
] - doc: sort versions to fix the linter error (Rafael Gonzaga) #54229 - [
fb852798dc
] - esm: do not interpret"main"
as a URL (Antoine du Hamel) #55003 - [
8fd90938f9
] - esm: remove --no-import-harmony-assertions (Shu-yu Guo) #54890 - [
a9081b5391
] - events: allow null/undefined eventInitDict (Matthew Aitken) #54643 - [
0de1cf004c
] - events: returncurrentTarget
when dispatching (Matthew Aitken) #54642 - [
9f9069d313
] - fs: fix linter issue (Antoine du Hamel) #55353 - [
36ca010bef
] - fs: acknowledgesignal
option infilehandle.createReadStream()
(Livia Medeiros) #55148 - [
7fe5bcd29e
] - fs: check subdir correctly in cpSync (Jason Zhang) #55033 - [
090add7864
] - fs: refactoring declaratively withArray.fromAsync
(Sonny) #54644 - [
77ca5ca075
] - fs: convert to u8 string for filesystem path (Jason Zhang) #54653 - [
cf2bce6386
] - fs: fix regression on rmsync (Yagiz Nizipli) #53982 - [
7168295e7a
] - fs: movermSync
implementation to c++ (Yagiz Nizipli) #53617 - [
71785889c8
] - lib: prefer logical assignment (Aviv Keller) #55044 - [
78f421de88
] - lib: fix module print timing when specifier includes"
(Antoine du Hamel) #55150 - [
d5eb9a378e
] - lib: removeSymbol[Async]Dispose
polyfills (Michaël Zasso) #55276 - [
4c045351c1
] - lib: fix typos (Nathan Baulch) #55065 - [
574f2dd517
] - lib: prefer optional chaining (Aviv Keller) #55045 - [
76edde5cd0
] - lib: remove lib/internal/idna.js (Yagiz Nizipli) #55050 - [
7014e50ca3
] - lib: the REPL should survive deletion of Array.prototype methods (Jordan Harband) #31457 - [
5c22d19f44
] - lib, tools: remove duplicate requires (Aviv Keller) #54987 - [
24648b5769
] - lib,esm: handle bypass network-import via data: (Rafael Gonzaga) #53764 - [
1d38bd1122
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #55300 - [
98788dace6
] - meta: bump mozilla-actions/sccache-action from 0.0.5 to 0.0.6 (dependabot[bot]) #55225 - [
8de2695fe5
] - meta: bump actions/checkout from 4.1.7 to 4.2.0 (dependabot[bot]) #55224 - [
ccae9c0fef
] - meta: bump actions/setup-node from 4.0.3 to 4.0.4 (dependabot[bot]) #55223 - [
fd4959c67a
] - meta: bump peter-evans/create-pull-request from 7.0.1 to 7.0.5 (dependabot[bot]) #55219 - [
c08bb75618
] - meta: add mailmap entry for abmusse (Abdirahim Musse) #55182 - [
18800da280
] - meta: add more information about nightly releases (Aviv Keller) #55084 - [
eda98728da
] - meta: addlinux
to OS labels in collaborator guide (Aviv Keller) #54986 - [
8aa57918c2
] - meta: remove never-used workflow trigger (Aviv Keller) #54983 - [
c6ae161237
] - meta: remove unneeded ignore rules from ruff (Aviv Keller) #54360 - [
ccc7ce09f2
] - meta: removebuild-windows.yml
(Aviv Keller) #54662 - [
f88fe776ef
] - meta: add links to alternative issue trackers (Aviv Keller) #54401 - [
90f56dbad9
] - module: throw ERR_NO_TYPESCRIPT when compiled without amaro (Marco Ippolito) #55332 - [
31a37e777d
] - module: wrap swc error in ERR_INVALID_TYPESCRIPT_SYNTAX (Marco Ippolito) #55316 - [
3fb7426f83
] - module: check --experimental-require-module separately from detection (Joyee Cheung) #55250 - [
bdd590be73
] - module: use kNodeModulesRE to detect node_modules (Joyee Cheung) #55243 - [
5e4da33d97
] - module: add internal type def forflushCompileCache
(Jacob Smith) #55226 - [
d24c7313f7
] - module: support 'module.exports' interop export in require(esm) (Guy Bedford) #54563 - [
12f92b04f4
] - module: remove duplicated import (Aviv Keller) #54942 - [
be4babb3c2
] - module: report unfinished TLA in ambiguous modules (Antoine du Hamel) #54980 - [
3ac5b49d85
] - module: refator ESM loader for adding future synchronous hooks (Joyee Cheung) #54769 - [
3c4ef343ee
] - module: remove bogus assertion in CJS entrypoint handling with --import (Joyee Cheung) #54592 - [
e35902cddb
] - module: fix discrepancy between .ts and .js (Marco Ippolito) #54461 - [
fdf838aee6
] - node-api: add napi_create_buffer_from_arraybuffer method (Mert Can Altin) #54505 - [
87e7aeb672
] - os: use const with early return for path (Trivikram Kamat) #54959 - [
e42ca5c1a9
] - path: remove repetitive conditional operator inposix.resolve
(Wiyeong Seo) #54835 - [
04750afb1e
] - perf_hooks: add missing type argument to getEntriesByName (Luke Taher) #54767 - [
f98d9c125c
] - process: fixprocess.features.typescript
when Amaro is unavailable (Antoine du Hamel) #55323 - [
bbdfeebd9e
] - process: addprocess.features.typescript
(Aviv Keller) #54295 - [
cdae315706
] - quic: start adding in the internal quic js api (James M Snell) #53256 - [
c6d20a034d
] - repl: catch\v
and\r
in new-line detection (Aviv Keller) #54512 - [
09d10b50dc
] - sqlite: disable DQS misfeature by default (Tobias Nießen) #55297 - [
7af434fc19
] - sqlite: make sourceSQL and expandedSQL string-valued properties (Tobias Nießen) #54721 - [
a49abec6c3
] - sqlite: enable foreign key constraints by default (Tobias Nießen) #54777 - [
14353387eb
] - src: implement IsInsideNodeModules() in C++ (Joyee Cheung) #55286 - [
18536d95e2
] - src: apply getCallSite optimization (RafaelGSS) #55174 - [
317d2450f9
] - src: modernize likely/unlikely hints (Yagiz Nizipli) #55155 - [
33bbf3751b
] - src: fixup Error.stackTraceLimit during snapshot building (Joyee Cheung) #55121 - [
65fbc95949
] - src: parse --stack-trace-limit and use it in --trace-* flags (Joyee Cheung) #55121 - [
858bce5698
] - src: make minor tweaks to quic c++ for c++20 (James M Snell) #53256 - [
ac53a5b29d
] - src: move more key handling to ncrypto (James M Snell) #55108 - [
f5d454ac7e
] - src: add receiver to fast api callback methods (Carlos Espa) #54408 - [
b5fb2ff81e
] - src: fix typos (Nathan Baulch) #55064 - [
812806a757
] - src: move more stuff over to use Maybe<void> (James M Snell) #54831 - [
84966703e0
] - src: track BaseObjects with an efficient list (Chengzhong Wu) #55104 - [
02cdf7b809
] - src: decode native error messages as UTF-8 (Joyee Cheung) #55024 - [
6fb9f56994
] - src: update clang-tidy and focus on modernization (Yagiz Nizipli) #53757 - [
773e7c67cf
] - src: do not call path.back() when it is empty (Cheng) #55072 - [
c4681d55ae
] - src: move evp stuff to ncrypto (James M Snell) #54911 - [
5a966714c1
] - src: revert filesystem::path changes (Yagiz Nizipli) #55015 - [
12dd4c7575
] - src: mark node --run as stable (Yagiz Nizipli) #53763 - [
8b8fc53c9a
] - src: cleanup per env handles directly without a list (Chengzhong Wu) #54993 - [
fd8c762fab
] - src: add unistd.h import if node posix credentials is defined (Jonas) #54528 - [
d496d44145
] - src: remove duplicate code setting AF_INET (He Yang) #54939 - [
d2a4f92920
] - src: useMaybe<void>
where bool isn't needed (Michaël Zasso) #54575 - [
8191e1f575
] - src: improve utf8 string generation performance (Yagiz Nizipli) #54873 - [
9f5977fdac
] - src: simplify string_bytes with views (Daniel Lemire) #54876 - [
849db10fb3
] - src: add helpers for creating cppgc-managed wrappers (Joyee Cheung) #52295 - [
4568df4c6d
] - src: support v8::Data in heap utils (Joyee Cheung) #52295 - [
4f1c27af8c
] - src: handle errors correctly in webstorage (Michaël Zasso) #54544 - [
c062b5242a
] - src: use correct way to signal interceptor error (Michaël Zasso) #54418 - [
097a52848e
] - src: do not save c_str of a temp string (Cheng) #53941 - [
3111ed7011
] - stream: handle undefined chunks correctly in decode stream (devstone) #55153 - [
87a79cd8a1
] - stream: treat null asyncIterator as undefined (Jason Zhang) #55119 - [
0e52836c35
] - stream: set stream prototype to closest transferable superclass (Jason Zhang) #55067 - [
82dab76d63
] - test: fix tests when Amaro is unavailable (Richard Lau) #55320 - [
fdc23b2f6b
] - test: use more informative errors intest-runner-cli
(Antoine du Hamel) #55321 - [
a05cb0d1b0
] - test: maketest-loaders-workers-spawned
less flaky (Antoine du Hamel) #55172 - [
6c92c1391a
] - test: add resource to internal module stat test (RafaelGSS) #55157 - [
1d95b79b66
] - test: move coverage source map tests to new file (Aviv Keller) #55123 - [
2755551c3c
] - test: adding more tests for strip-types (Kevin Toshihiro Uehara) #54929 - [
371ed85e4e
] - test: update wpt test for encoding (devstone) #55151 - [
99e0d0d218
] - test: addescapePOSIXShell
util (Antoine du Hamel) #55125 - [
56c1786475
] - test: remove unnecessaryawait
in test-watch-mode (Wuli) #55142 - [
28c7394319
] - test: fix typos (Nathan Baulch) #55063 - [
fbc6fcb018
] - test: remove duplicated test descriptions (Christos Koutsiaris) #54140 - [
66a2cb210a
] - test: deflake test/pummel/test-timers.js (jakecastelli) #55098 - [
9bb6a1a790
] - test: deflake test-http-remove-header-stays-removed (Luigi Pinca) #55004 - [
0f7bdcc17f
] - test: fix test-tls-junk-closes-server (Michael Dawson) #55089 - [
2118e32d9b
] - test: fix more tests that fail when path contains a space (Antoine du Hamel) #55088 - [
bdddc04dff
] - test: fixassertSnapshot
when path contains a quote (Antoine du Hamel) #55087 - [
7d0ce254e8
] - test: fix some tests when path contains%
(Antoine du Hamel) #55082 - [
61ad74fb0f
] - Revert "test: mark test-fs-watch-non-recursive flaky on Windows" (Luigi Pinca) #55079 - [
02e8972169
] - test: remove interval and give more time to unsync (Pietro Marchini) #55006 - [
3c5ceff85f
] - test: deflake test-inspector-strip-types (Luigi Pinca) #55058 - [
8b70e6bdee
] - test: maketest-runner-assert
more robust (Aviv Keller) #55036 - [
2cec716c48
] - test: update tls test to support OpenSSL32 (Michael Dawson) #55030 - [
1fcb128771
] - test: do not assumeprocess.execPath
contains no spaces (Antoine du Hamel) #55028 - [
7ecc48d061
] - test: fixtest-vm-context-dont-contextify
when path contains a space (Antoine du Hamel) #55026 - [
cfe58cfdc4
] - test: adjust tls-set-ciphers for OpenSSL32 (Michael Dawson) #55016 - [
941635473d
] - test: addutil.stripVTControlCharacters
test (RedYetiDev) #54865 - [
b23d1c37b9
] - test: improve coverage for timer promises schedular (Aviv Keller) #53370 - [
a65e4418e5
] - test: removegetCallSite
from common (RedYetiDev) #54947 - [
5116578b8a
] - test: remove unused common utilities (RedYetiDev) #54825 - [
a9677db91b
] - test: deflake test-http-header-overflow (Luigi Pinca) #54978 - [
9be0057859
] - test: fixsoucre
tosource
(Aviv Keller) #55038 - [
29b9c72b05
] - test: add asserts to validate test assumptions (Michael Dawson) #54997 - [
e35299ae62
] - test: add runner watch mode isolation tests (Pietro Marchini) #54888 - [
2a1607cc2e
] - test: fix invalid wasm test (Aviv Keller) #54935 - [
a6ed2148a0
] - test: move test-http-max-sockets to parallel (Luigi Pinca) #54977 - [
636b3432d3
] - test: remove test-http-max-sockets flaky designation (Luigi Pinca) #54976 - [
291d90acbc
] - test: refactor test-whatwg-webstreams-encoding to be shorter (David Dong) #54569 - [
6dfa3e46d3
] - test: adjust key sizes to support OpenSSL32 (Michael Dawson) #54972 - [
f8b7a17146
] - test: update test to support OpenSSL32 (Michael Dawson) #54968 - [
b470e2fcb2
] - test: update DOM events web platform tests (Matthew Aitken) #54642 - [
9cbef482df
] - test: update multiple assert tests to use node:test (James M Snell) #54585 - [
259163802c
] - test: validate promise-versionsetTimeout
behavior withNaN
(Benjamin Gruenbaum) #53622 - [
4174b73153
] - test: support glob matching coverage files (Aviv Keller) #53553 - [
0e187e4a21
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #55029 - [
ccd4faf4bf
] - Revert "test_runner: ignore unmapped lines for coverage" (Aviv Keller) #55339 - [
3a42085ee4
] - test_runner: ignore unmapped lines for coverage (Edigleysson Silva (Edy)) #55228 - [
9a9409ff1f
] - test_runner: throw on invalid source map (Aviv Keller) #55055 - [
980b91a1ef
] - test_runner: assert entry is a valid object (Edigleysson Silva (Edy)) #55231 - [
1c7795e52e
] - test_runner: add cwd option to run (Pietro Marchini) #54705 - [
103b8439ca
] - test_runner: avoid spread operator on arrays (Antoine du Hamel) #55143 - [
27dab9d916
] - test_runner: support typescript files in default glob (Aviv Keller) #55081 - [
e32521a7b9
] - test_runner: close and flush destinations on forced exit (Colin Ihrig) #55099 - [
aac8ba7bd7
] - test_runner: fix mocking modules with quote in their URL (Antoine du Hamel) #55083 - [
4f881790e9
] - test_runner: report error on missing sourcemap source (Aviv Keller) #55037 - [
b264cbe5e8
] - test_runner: usetest:
symbol on second print of parent test (RedYetiDev) #54956 - [
0c8c107aaa
] - test_runner: replace ansi clear with ansi reset (Pietro Marchini) #55013 - [
bb405210c5
] - test_runner: support typescript module mocking (Marco Ippolito) #54878 - [
50136a167d
] - test_runner: avoid coverage report partial file names (Pietro Marchini) #54379 - [
4988bb549e
] - tools: enforce ordering of error codes inerrors.md
(Antoine du Hamel) #55324 - [
5a3da7b4e4
] - tools: enforce errors to not be documented in legacy section (Aviv Keller) #55218 - [
8dbca2d35b
] - tools: update gyp-next to 0.18.2 (Node.js GitHub Bot) #55160 - [
b2161d3a13
] - tools: bump the eslint group in /tools/eslint with 4 updates (dependabot[bot]) #55227 - [
e7d27320c3
] - tools: only check teams on the default branch (Antoine du Hamel) #55124 - [
e8127db032
] - tools: makechoco install
script more readable (Aviv Keller) #54002 - [
779e6bdd5e
] - tools: bump Rollup from 4.18.1 to 4.22.4 forlint-md
(dependabot[bot]) #55093 - [
0257102299
] - tools: unlock versions of irrelevant DB deps (Michaël Zasso) #55042 - [
f43424ac2d
] - tools: remove redudant code from eslint require rule (Aviv Keller) #54892 - [
6a52e81260
] - tools: update error message for ICU in license-builder (Aviv Keller) #54742 - [
cde6dccb65
] - tools: refactor js2c.cc to use c++20 (Yagiz Nizipli) #54849 - [
59c7c55aad
] - tools: bump the eslint group in /tools/eslint with 7 updates (dependabot[bot]) #54821 - [
c6269cb069
] - tools: fix path of abseil file in v8.gyp (Michaël Zasso) #54659 - [
d17fefcd71
] - tools: update github_reporter to 1.7.1 (Node.js GitHub Bot) #54951 - [
29a4fcf918
] - tty: fix links for terminal colors (Aviv Keller) #54596 - [
e42ad5e80c
] - util: update ansi regex (Aviv Keller) #54865 - [
b5aae52c71
] - Revert "util: move util._extend to eol" (Marco Ippolito) #53429 - [
deb5effe01
] - v8: out of bounds copy (Robert Nagy) #55261 - [
3b0617dd19
] - vm: migrate ContextifyScript to cppgc (Joyee Cheung) #52295 - [
35b8e5cb0c
] - Revert "vm,src: add property query interceptors" (Michaël Zasso) #53348 - [
d1f18b0bf1
] - vm,src: add property query interceptors (Michaël Zasso) #53172 - [
89a2f565b7
] - watch: preserve output when gracefully restarted (Théo LUDWIG) #54323 - [
6b9413e41a
] - worker: throw InvalidStateError in postMessage after close (devstone) #55206 - [
6031a4bc7c
] - worker: handle--input-type
more consistently (Antoine du Hamel) #54979 - [
5b3f3c5a3b
] - zlib: throw brotli initialization error from c++ (Yagiz Nizipli) #54698 - [
c42d8461b0
] - zlib: remove prototype primordials usage (Yagiz Nizipli) #54695
v22.11.0
: 2024-10-29, Version 22.11.0 'Jod' (LTS), @richardlau
Notable Changes
This release marks the transition of Node.js 22.x into Long Term Support (LTS) with the codename 'Jod'. The 22.x release line now moves into "Active LTS" and will remain so until October 2025. After that time, it will move into "Maintenance" until end of life in April 2027.
Other than updating metadata, such as the process.release
object, to reflect
that the release is LTS, no further changes from Node.js 22.10.0 are included.
OpenSSL 3.x
Official binaries for Node.js 22.x currently include OpenSSL 3.0.x (more specifically, the quictls OpenSSL fork). OpenSSL 3.0.x is the currently designated long term support version that is scheduled to be supported until 7th September 2026, which is within the expected lifetime of Node.js 22.x. We are expecting upstream OpenSSL to announce a successor long term support version prior to that date and since OpenSSL now follows a semantic versioning-like versioning scheme we expect to be able to update to the next long term supported version of OpenSSL during the lifetime of Node.js 22.x.
v22.10.0
: 2024-10-16, Version 22.10.0 (Current), @aduh95
Notable Changes
"module-sync"
exports condition
New This release introduces a "module-sync"
exports condition that's enabled when
require(esm)
is enabled, so packages can supply a synchronous ES module to the
Node.js module loader, no matter if it's being required or imported. This is
similar to the "module"
condition that bundlers have been using to support
require(esm)
in Node.js, and allows dual-package authors to opt into ESM-first
only on newer versions of Node.js that supports require(esm)
to avoid the
dual-package hazard.
{
"type": "module",
"exports": {
"node": {
// On new version of Node.js, both require() and import get
// the ESM version
"module-sync": "./index.js",
// On older version of Node.js, where "module-sync" and require(esm) are
// not supported, use the CJS version to avoid dual-package hazard.
// When package authors think it's time to drop support for older versions of
// Node.js, they can remove the exports conditions and just use "main": "index.js".
"default": "./dist/index.cjs"
},
// On any other environment, use the ESM version.
"default": "./index.js"
}
}
Or if the package is only meant to be run on Node.js and wants to fallback to
CJS on older versions that don't have require(esm)
:
{
"type": "module",
"exports": {
// On new version of Node.js, both require() and import get the ESM version
"module-sync": "./index.js",
// On older version of Node.js, where "module-sync" and require(esm) are
// not supported, use the CJS version to avoid dual-package hazard.
// When package authors think it's time to drop support for older versions of
// Node.js, they can remove the exports conditions and just use "main": "index.js".
"default": "./dist/index.cjs"
}
}
For package authors: this only serves as a feature-detection mechanism for
packages that wish to support both CJS and ESM users during the period when some
active Node.js LTS versions support require(esm)
while some older ones don't.
When all active Node.js LTS lines support require(esm)
, packages can simplify
their distributions by bumping the major version, dropping their CJS exports,
and removing the module-sync
exports condition (with only main
or default
targetting the ESM exports). If the package needs to support both bundlers and
being run unbundled on Node.js during the transition period, use both
module-sync
and module
and point them to the same ESM file. If the package
already doesn't want to support older versions of Node.js that doesn't support
require(esm)
, don't use this export condition.
For bundlers/tools: they should avoid implementing this stop-gap condition.
Most existing bundlers implement the de-facto bundler standard
module
exports condition, and that should be enough to support users who want to bundle
ESM from CJS consumers. Users who want both bundlers and Node.js to recognize
the ESM exports can use both module
/module-sync
conditions during the
transition period, and can drop module-sync
+module
when they no longer need
to support older versions of Node.js. If tools do want to support this
condition, it's recommended to make the resolution rules in the graph pointed by
this condition match the Node.js native ESM rules to avoid divergence.
We ended up implementing a condition with a different name instead of reusing
"module"
, because existing code in the ecosystem using the "module"
condition sometimes also expect the module resolution for these ESM files to
work in CJS style, which is supported by bundlers, but the native Node.js loader
has intentionally made ESM resolution different from CJS resolution (e.g.
forbidding import './noext'
or import './directory'
), so it would be
breaking to implement a "module"
condition without implementing the forbidden
ESM resolution rules. For now, this just implements a new condition as
semver-minor so it can be backported to older LTS.
Contributed by Joyee Cheung in #54648.
node --run
is now stable
This CLI flag runs a specified command from a package.json
's "scripts"
object.
For the following package.json
:
{
"scripts": {
"test": "node --test-reporter junit --test ./test"
}
}
You can run node --run test
and that would start the test suite.
Contributed by Yagiz Nizipli in #53763.
Other notable changes
- [
f0b441230a
] - (SEMVER-MINOR) crypto: addKeyObject.prototype.toCryptoKey
(Filip Skokan) #55262 - [
349d2ed07b
] - (SEMVER-MINOR) crypto: add Date fields forvalidTo
andvalidFrom
(Andrew Moon) #54159 - [
bebc95ed58
] - doc: add abmusse to collaborators (Abdirahim Musse) #55086 - [
914db60159
] - (SEMVER-MINOR) http2: exposenghttp2_option_set_stream_reset_rate_limit
as an option (Maël Nison) #54875 - [
f7c3b03759
] - (SEMVER-MINOR) lib: propagate aborted state to dependent signals before firing events (jazelly) #54826 - [
32261fc98a
] - (SEMVER-MINOR) module: support loading entrypoint as url (RedYetiDev) #54933 - [
06957ff355
] - (SEMVER-MINOR) module: implementflushCompileCache()
(Joyee Cheung) #54971 - [
2dcf70c347
] - (SEMVER-MINOR) module: throw when invalid argument is passed toenableCompileCache()
(Joyee Cheung) #54971 - [
f9b19d7c44
] - (SEMVER-MINOR) module: write compile cache to temporary file and then rename it (Joyee Cheung) #54971 - [
e95163b170
] - (SEMVER-MINOR) process: addprocess.features.require_module
(Joyee Cheung) #55241 - [
4050f68e5d
] - (SEMVER-MINOR) process: addprocess.features.typescript
(Aviv Keller) #54295 - [
86f7cb802d
] - (SEMVER-MINOR) test_runner: support custom arguments inrun()
(Aviv Keller) #55126 - [
b62f2f8259
] - (SEMVER-MINOR) test_runner: add'test:summary'
event (Colin Ihrig) #54851 - [
d7c708aec5
] - (SEMVER-MINOR) test_runner: add support for coverage viarun()
(Chemi Atlow) #53937 - [
5fda4a1498
] - (SEMVER-MINOR) worker: addmarkAsUncloneable
api (Jason Zhang) #55234
Commits
- [
e3619510c8
] - assert: show the diff when deep comparing data with a custom message (Giovanni) #54759 - [
39c7a9e70c
] - benchmark: adjust config for deepEqual object (Rafael Gonzaga) #55254 - [
263526d5d0
] - benchmark: rewrite detect-esm-syntax benchmark (Joyee Cheung) #55238 - [
cd0795fb00
] - benchmark: add no-warnings to process.has bench (Rafael Gonzaga) #55159 - [
4352d9cc31
] - benchmark: create benchmark for typescript (Marco Ippolito) #54904 - [
452bc9b48d
] - benchmark: add webstorage benchmark (jakecastelli) #55040 - [
d4d5ba3a9b
] - benchmark: include ascii to fs/readfile (Rafael Gonzaga) #54988 - [
23b628db65
] - benchmark: add dotenv benchmark (Aviv Keller) #54278 - [
b1ebb0d8ca
] - buffer: coerce extrema to int inblob.slice
(Antoine du Hamel) #55141 - [
3a6e72483f
] - buffer: extract Blob's .arrayBuffer() & webidl changes (Matthew Aitken) #53372 - [
d109f1c4ff
] - buffer: use simdutf convert_latin1_to_utf8_safe (Robert Nagy) #54798 - [
77f8a3f9c2
] - build: fix notify-on-review-wanted action (Rafael Gonzaga) #55304 - [
0d93b1ed0c
] - build: fix not valid json in coverage (jakecastelli) #55179 - [
f89664d890
] - build: include.nycrc
in coverage workflows (Wuli Zuo) #55210 - [
d7a9df6417
] - build: notify via slack when review-wanted (Rafael Gonzaga) #55102 - [
68822cc861
] - build: add more information to Makefile help (Aviv Keller) #53381 - [
f3ca9c669b
] - build: update ruff and addlint-py-fix
(Aviv Keller) #54410 - [
d99ae548d7
] - build: remove -v flag to reduce noise (iwuliz) #55025 - [
d3dfbe7ff9
] - build: display free disk space after build in the test-macOS workflow (iwuliz) #55025 - [
3077f6a5b7
] - build: support up to python 3.13 in android-configure (Aviv Keller) #54529 - [
a929c71281
] - build: add the option to generate compile_commands.json in vcbuild.bat (Segev Finer) #52279 - [
a81f368b99
] - build: fix eslint makefile target (Aviv Keller) #54999 - [
c8b7a645ae
] - Revert "build: upgrade clang-format to v18" (Chengzhong Wu) #54994 - [
7861ca5dc3
] - build: printRunning XYZ linter...
for py and yml (Aviv Keller) #54386 - [
aaea3944e5
] - build,win: add winget config to set up env (Hüseyin Açacak) #54729 - [
30d47220bb
] - build,win: float VS 17.11 compilation patch (Stefan Stojanovic) #54970 - [
048a1ab350
] - cli: ensure --run has proper pwd (Yagiz Nizipli) #54949 - [
a97841ee10
] - cli: fix spacing for port range error (Aviv Keller) #54495 - [
1dcc5eedff
] - Revert "console: colorize console error and warn" (Aviv Keller) #54677 - [
f0b441230a
] - (SEMVER-MINOR) crypto: add KeyObject.prototype.toCryptoKey (Filip Skokan) #55262 - [
d3f8c35320
] - crypto: ensure invalid SubtleCrypto JWK data import results in DataError (Filip Skokan) #55041 - [
349d2ed07b
] - (SEMVER-MINOR) crypto: add Date fields forvalidTo
andvalidFrom
(Andrew Moon) #54159 - [
34ca36a397
] - deps: update undici to 6.20.0 (Node.js GitHub Bot) #55329 - [
f703652e84
] - deps: upgrade npm to 10.9.0 (npm team) #55255 - [
b533a51856
] - deps: V8: backport0d5d6e7
(Yagiz Nizipli) #55115 - [
2f65b3fd07
] - deps: V8: partially cherry-pick8953e49
(Ben Noordhuis) #55274 - [
bb9f77d53a
] - deps: update archs files for openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184 - [
63d51c82fe
] - deps: upgrade openssl sources to quictls/openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184 - [
29e6484f3c
] - deps: update archs files for openssl-3.0.14+quic1 (Node.js GitHub Bot) #54336 - [
283927ec88
] - deps: upgrade openssl sources to quictls/openssl-3.0.14+quic1 (Node.js GitHub Bot) #54336 - [
b0636a1e88
] - deps: update timezone to 2024b (Node.js GitHub Bot) #55056 - [
173464d76f
] - deps: update acorn-walk to 8.3.4 (Node.js GitHub Bot) #54950 - [
0d4536543b
] - deps: update corepack to 0.29.4 (Node.js GitHub Bot) #54845 - [
1de5512383
] - deps: V8: cherry-pick217457d
(Michaël Zasso) #54883 - [
1921d7a37c
] - doc: add release key for aduh95 (Antoine du Hamel) #55349 - [
d8e42be1b2
] - doc: moveERR_INVALID_PERFORMANCE_MARK
to legacy errors (Antoine du Hamel) #55247 - [
5ea8aa183c
] - doc: fix Markdown linter (Antoine du Hamel) #55344 - [
873588888d
] - Revert "doc: update test context.assert" (Antoine du Hamel) #55344 - [
707e7cc702
] - doc: add pmarchini to collaborators (Pietro Marchini) #55331 - [
b03272b9a1
] - doc: fixevents.once()
example usingAbortSignal
(Ivo Janssen) #55144 - [
85b765953d
] - doc: add onboarding details for ambassador program (Marco Ippolito) #55284 - [
5d41b8a8b0
] - doc: updaterequire(ESM)
history and stability status (Antoine du Hamel) #55199 - [
195df659e9
] - doc: moveERR_NAPI_TSFN_START/STOP_IDLE_LOOP
to legacy errors (Antoine du Hamel) #55248 - [
8eae0d3f3c
] - doc: fix initial default value of autoSelectFamily (Ihor Rohovets) #55245 - [
297cb0da5a
] - doc: tweak onboarding instructions (Michael Dawson) #55212 - [
7ddbfe8c2b
] - doc: update test context.assert (Pietro Marchini) #55186 - [
8a57550d20
] - doc: fix unordered error anchors (Antoine du Hamel) #55242 - [
286ea4ed3d
] - doc: mention addons to experimental permission (Rafael Gonzaga) #55166 - [
7c9ceabf38
] - doc: use correct dash in stability status (Antoine du Hamel) #55200 - [
781ffd8ba1
] - doc: fix link intest/README.md
(Livia Medeiros) #55165 - [
61b9ed3bf2
] - doc: add esm examples to node:net (Alfredo González) #55134 - [
bb3499038d
] - doc: remove outdated https import reference (Edigleysson Silva (Edy)) #55111 - [
6cc49518c7
] - doc: move the YAML changes element (sendoru) #55112 - [
b12b4a23e4
] - doc: remove random horizontal separators inprocess.md
(Antoine du Hamel) #55149 - [
7186ede388
] - doc: put --env-file-if-exists=config right under --env-file=config (Edigleysson Silva (Edy)) #55131 - [
8ad0dfff10
] - doc: fix the require resolve algorithm inmodules.md
(chirsz) #55117 - [
fd40f0873f
] - doc: update style guide (Aviv Keller) #53223 - [
12c9d9780f
] - doc: add missing:
torun()
'sglobPatterns
(Aviv Keller) #55135 - [
73b05cfb04
] - doc: correctcleanup
option in stream.(promises.)finished (René) #55043 - [
bebc95ed58
] - doc: add abmusse to collaborators (Abdirahim Musse) #55086 - [
a97c80c6ae
] - doc: add note about--expose-internals
(Aviv Keller) #52861 - [
89aeae63bd
] - doc: removeparseREPLKeyword
from REPL documentation (Aviv Keller) #54749 - [
b3e0490b8b
] - doc: add missing EventSource docs to globals (Matthew Aitken) #55022 - [
516c775fa5
] - doc: cover --experimental-test-module-mocks flag (Jonathan Sharpe) #55021 - [
4244f1a269
] - doc: add more details for localStorage and sessionStorage (Batuhan Tomo) #53881 - [
39a728c2e3
] - doc: change backporting guide with updated info (Aviv Keller) #53746 - [
3a5fe95ad7
] - doc: add missing definitions tointernal-api.md
(Aviv Keller) #53303 - [
f2d74a26a3
] - doc: fix history ofprocess.features
(Antoine du Hamel) #54982 - [
29866ca438
] - doc: fix typo callsite.lineNumber (Rafael Gonzaga) #54969 - [
c1d73abd29
] - doc: update documentation for externalizing deps (Michael Dawson) #54792 - [
eca9668231
] - doc: add documentation for process.features (Marco Ippolito) #54897 - [
0fb446e207
] - esm: do not interpret"main"
as a URL (Antoine du Hamel) #55003 - [
be2fe4b249
] - events: allow null/undefined eventInitDict (Matthew Aitken) #54643 - [
cb47e169a0
] - events: returncurrentTarget
when dispatching (Matthew Aitken) #54642 - [
dbfae3fe14
] - fs: acknowledgesignal
option infilehandle.createReadStream()
(Livia Medeiros) #55148 - [
1c94725c07
] - fs: check subdir correctly in cpSync (Jason Zhang) #55033 - [
79ffefab2a
] - fs: convert to u8 string for filesystem path (Jason Zhang) #54653 - [
914db60159
] - (SEMVER-MINOR) http2: expose nghttp2_option_set_stream_reset_rate_limit as an option (Maël Nison) #54875 - [
08b5e6c794
] - lib: fix module print timing when specifier includes"
(Antoine du Hamel) #55150 - [
bf7d7aef4b
] - lib: fix typos (Nathan Baulch) #55065 - [
d803355d92
] - lib: prefer optional chaining (Aviv Keller) #55045 - [
d4873bcd6d
] - lib: remove lib/internal/idna.js (Yagiz Nizipli) #55050 - [
f7c3b03759
] - (SEMVER-MINOR) lib: propagate aborted state to dependent signals before firing events (jazelly) #54826 - [
397ae418db
] - lib: the REPL should survive deletion of Array.prototype methods (Jordan Harband) #31457 - [
566179c9ec
] - lib, tools: remove duplicate requires (Aviv Keller) #54987 - [
c9a1bbbef2
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #55300 - [
d7b73bbd1d
] - meta: bump mozilla-actions/sccache-action from 0.0.5 to 0.0.6 (dependabot[bot]) #55225 - [
0f4269faa9
] - meta: bump actions/checkout from 4.1.7 to 4.2.0 (dependabot[bot]) #55224 - [
33be1990d8
] - meta: bump actions/setup-node from 4.0.3 to 4.0.4 (dependabot[bot]) #55223 - [
f5b4ae5bf8
] - meta: bump peter-evans/create-pull-request from 7.0.1 to 7.0.5 (dependabot[bot]) #55219 - [
1985d9016e
] - meta: add mailmap entry for abmusse (Abdirahim Musse) #55182 - [
93b215d5e6
] - meta: add more information about nightly releases (Aviv Keller) #55084 - [
aeae5973c3
] - meta: addlinux
to OS labels in collaborator guide (Aviv Keller) #54986 - [
4fb2c3baa8
] - meta: remove never-used workflow trigger (Aviv Keller) #54983 - [
e1f36d0da8
] - meta: remove unneeded ignore rules from ruff (Aviv Keller) #54360 - [
ce0d0c1ec8
] - meta: removebuild-windows.yml
(Aviv Keller) #54662 - [
ca67c97f33
] - meta: add links to alternative issue trackers (Aviv Keller) #54401 - [
6fcac73738
] - module: wrap swc error in ERR_INVALID_TYPESCRIPT_SYNTAX (Marco Ippolito) #55316 - [
0412ac8bf3
] - module: add internal type def forflushCompileCache
(Jacob Smith) #55226 - [
32261fc98a
] - (SEMVER-MINOR) module: support loading entrypoint as url (RedYetiDev) #54933 - [
111261e245
] - (SEMVER-MINOR) module: implement the "module-sync" exports condition (Joyee Cheung) #54648 - [
b6fc9adf5b
] - module: remove duplicated import (Aviv Keller) #54942 - [
06957ff355
] - (SEMVER-MINOR) module: implement flushCompileCache() (Joyee Cheung) #54971 - [
2dcf70c347
] - (SEMVER-MINOR) module: throw when invalid argument is passed to enableCompileCache() (Joyee Cheung) #54971 - [
f9b19d7c44
] - (SEMVER-MINOR) module: write compile cache to temporary file and then rename it (Joyee Cheung) #54971 - [
1d169764db
] - module: report unfinished TLA in ambiguous modules (Antoine du Hamel) #54980 - [
c89c93496d
] - module: refator ESM loader for adding future synchronous hooks (Joyee Cheung) #54769 - [
108cef22e6
] - module: remove bogus assertion in CJS entrypoint handling with --import (Joyee Cheung) #54592 - [
67ecb10c78
] - module: fix discrepancy between .ts and .js (Marco Ippolito) #54461 - [
3300d5990f
] - os: use const with early return for path (Trivikram Kamat) #54959 - [
90cce6ec7c
] - path: remove repetitive conditional operator inposix.resolve
(Wiyeong Seo) #54835 - [
cbfc980f89
] - perf_hooks: add missing type argument to getEntriesByName (Luke Taher) #54767 - [
e95163b170
] - (SEMVER-MINOR) process: add process.features.require_module (Joyee Cheung) #55241 - [
0655d3a384
] - process: fixprocess.features.typescript
when Amaro is unavailable (Antoine du Hamel) #55323 - [
4050f68e5d
] - (SEMVER-MINOR) process: addprocess.features.typescript
(Aviv Keller) #54295 - [
75073c50ae
] - quic: start adding in the internal quic js api (James M Snell) #53256 - [
538b1eb5b0
] - repl: catch\v
and\r
in new-line detection (Aviv Keller) #54512 - [
57a9d3f15e
] - sqlite: disable DQS misfeature by default (Tobias Nießen) #55297 - [
c126543374
] - sqlite: make sourceSQL and expandedSQL string-valued properties (Tobias Nießen) #54721 - [
67f5f46c56
] - sqlite: enable foreign key constraints by default (Tobias Nießen) #54777 - [
09999491bf
] - src: handle errors correctly in webstorage (Michaël Zasso) #54544 - [
295c17c4ea
] - src: make minor tweaks to quic c++ for c++20 (James M Snell) #53256 - [
b1d47d06f9
] - src: apply getCallSite optimization (RafaelGSS) #55174 - [
d6bcc44829
] - src: modernize likely/unlikely hints (Yagiz Nizipli) #55155 - [
1af5ad61ca
] - src: fixup Error.stackTraceLimit during snapshot building (Joyee Cheung) #55121 - [
b229083235
] - src: parse --stack-trace-limit and use it in --trace-* flags (Joyee Cheung) #55121 - [
942ad54e08
] - src: move more key handling to ncrypto (James M Snell) #55108 - [
0bb5584288
] - src: add receiver to fast api callback methods (Carlos Espa) #54408 - [
706e9611f0
] - src: fix typos (Nathan Baulch) #55064 - [
a96d5d1bcc
] - src: move more stuff over to use Maybe<void> (James M Snell) #54831 - [
ee0a98b5a2
] - src: decode native error messages as UTF-8 (Joyee Cheung) #55024 - [
1fc8edecf8
] - src: update clang-tidy and focus on modernization (Yagiz Nizipli) #53757 - [
3a1485a1a3
] - src: move evp stuff to ncrypto (James M Snell) #54911 - [
9ae80e1e4d
] - src: revert filesystem::path changes (Yagiz Nizipli) #55015 - [
465d05018a
] - src: mark node --run as stable (Yagiz Nizipli) #53763 - [
ef546c872c
] - src: cleanup per env handles directly without a list (Chengzhong Wu) #54993 - [
0876f78411
] - src: add unistd.h import if node posix credentials is defined (Jonas) #54528 - [
284db53866
] - src: remove duplicate code setting AF_INET (He Yang) #54939 - [
f332c4c4fc
] - src: useMaybe<void>
where bool isn't needed (Michaël Zasso) #54575 - [
c7ed2ff920
] - stream: handle undefined chunks correctly in decode stream (devstone) #55153 - [
a9675a0cbc
] - stream: treat null asyncIterator as undefined (Jason Zhang) #55119 - [
bf69ae1406
] - stream: set stream prototype to closest transferable superclass (Jason Zhang) #55067 - [
3273707a3a
] - test: fix tests when Amaro is unavailable (Richard Lau) #55320 - [
ff3cc3b2ab
] - test: use more informative errors intest-runner-cli
(Antoine du Hamel) #55321 - [
17d2f9de6d
] - test: maketest-loaders-workers-spawned
less flaky (Antoine du Hamel) #55172 - [
1b1104e69b
] - test: add resource to internal module stat test (RafaelGSS) #55157 - [
b36f8c2146
] - test: update multiple assert tests to use node:test (James M Snell) #54585 - [
1b30f7fdd6
] - test: move coverage source map tests to new file (Aviv Keller) #55123 - [
ce67e7b5b3
] - test: adding more tests for strip-types (Kevin Toshihiro Uehara) #54929 - [
a57c8ba3ef
] - test: update wpt test for encoding (devstone) #55151 - [
65fbe94d45
] - test: addescapePOSIXShell
util (Antoine du Hamel) #55125 - [
cc8838252e
] - test: remove unnecessaryawait
in test-watch-mode (Wuli) #55142 - [
9aeba48bf0
] - test: fix typos (Nathan Baulch) #55063 - [
0999b5e493
] - test: remove duplicated test descriptions (Christos Koutsiaris) #54140 - [
e99d4a4cb8
] - test: deflake test/pummel/test-timers.js (jakecastelli) #55098 - [
fb8470afd7
] - test: deflake test-http-remove-header-stays-removed (Luigi Pinca) #55004 - [
e879c5edf2
] - test: fix test-tls-junk-closes-server (Michael Dawson) #55089 - [
b885f0583c
] - test: fix more tests that fail when path contains a space (Antoine du Hamel) #55088 - [
85f1187942
] - test: fixassertSnapshot
when path contains a quote (Antoine du Hamel) #55087 - [
fdae57f1e1
] - test: fix some tests when path contains%
(Antoine du Hamel) #55082 - [
36c9ea8912
] - Revert "test: mark test-fs-watch-non-recursive flaky on Windows" (Luigi Pinca) #55079 - [
80da5993cc
] - test: remove interval and give more time to unsync (Pietro Marchini) #55006 - [
93c23e74b3
] - test: deflake test-inspector-strip-types (Luigi Pinca) #55058 - [
43bbca2c08
] - test: maketest-runner-assert
more robust (Aviv Keller) #55036 - [
268f1ec08f
] - test: update tls test to support OpenSSL32 (Michael Dawson) #55030 - [
a50dd21423
] - test: do not assumeprocess.execPath
contains no spaces (Antoine du Hamel) #55028 - [
c56e324cb8
] - test: fixtest-vm-context-dont-contextify
when path contains a space (Antoine du Hamel) #55026 - [
6d42e44264
] - test: adjust tls-set-ciphers for OpenSSL32 (Michael Dawson) #55016 - [
22e601a76c
] - test: addutil.stripVTControlCharacters
test (RedYetiDev) #54865 - [
a6796696d7
] - test: improve coverage for timer promises schedular (Aviv Keller) #53370 - [
9506f77b3e
] - test: removegetCallSite
from common (RedYetiDev) #54947 - [
20d3a806ea
] - test: remove unused common utilities (RedYetiDev) #54825 - [
341b6d9b94
] - test: deflake test-http-header-overflow (Luigi Pinca) #54978 - [
1e53c10853
] - test: fixsoucre
tosource
(Aviv Keller) #55038 - [
6843ca7e0d
] - test: add asserts to validate test assumptions (Michael Dawson) #54997 - [
98ff615c5e
] - test: add runner watch mode isolation tests (Pietro Marchini) #54888 - [
327a8f7b59
] - test: fix invalid wasm test (Aviv Keller) #54935 - [
5b012f544c
] - test: move test-http-max-sockets to parallel (Luigi Pinca) #54977 - [
22b413910e
] - test: remove test-http-max-sockets flaky designation (Luigi Pinca) #54976 - [
62b8640550
] - test: refactor test-whatwg-webstreams-encoding to be shorter (David Dong) #54569 - [
1f11d68173
] - test: adjust key sizes to support OpenSSL32 (Michael Dawson) #54972 - [
90a87ca8f7
] - test: update test to support OpenSSL32 (Michael Dawson) #54968 - [
9b7834536a
] - test: update DOM events web platform tests (Matthew Aitken) #54642 - [
1c001550a2
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #55029 - [
800f7c44ed
] - test_runner: throw on invalid source map (Aviv Keller) #55055 - [
0f7e3f017f
] - test_runner: assert entry is a valid object (Edigleysson Silva (Edy)) #55231 - [
c308862d2e
] - test_runner: avoid spread operator on arrays (Antoine du Hamel) #55143 - [
12401972b7
] - test_runner: support typescript files in default glob (Aviv Keller) #55081 - [
19cfa3140f
] - test_runner: close and flush destinations on forced exit (Colin Ihrig) #55099 - [
86f7cb802d
] - (SEMVER-MINOR) test_runner: support custom arguments inrun()
(Aviv Keller) #55126 - [
7eaeba499a
] - test_runner: fix mocking modules with quote in their URL (Antoine du Hamel) #55083 - [
8818c6c88a
] - test_runner: report error on missing sourcemap source (Aviv Keller) #55037 - [
b62f2f8259
] - (SEMVER-MINOR) test_runner: add 'test:summary' event (Colin Ihrig) #54851 - [
449dad0db0
] - test_runner: usetest:
symbol on second print of parent test (RedYetiDev) #54956 - [
4b962a78c7
] - test_runner: replace ansi clear with ansi reset (Pietro Marchini) #55013 - [
d7c708aec5
] - (SEMVER-MINOR) test_runner: add support for coverage via run() (Chemi Atlow) #53937 - [
93c6c90219
] - test_runner: support typescript module mocking (Marco Ippolito) #54878 - [
1daec9a63f
] - test_runner: avoid coverage report partial file names (Pietro Marchini) #54379 - [
d51e5a8667
] - tools: enforce errors to not be documented in legacy section (Aviv Keller) #55218 - [
6a7d201b80
] - tools: update gyp-next to 0.18.2 (Node.js GitHub Bot) #55160 - [
c988e7e2e5
] - tools: bump the eslint group in /tools/eslint with 4 updates (dependabot[bot]) #55227 - [
7982d3d4ed
] - tools: only check teams on the default branch (Antoine du Hamel) #55124 - [
60a35eddb0
] - tools: makechoco install
script more readable (Aviv Keller) #54002 - [
b7b1fa6dd3
] - tools: bump Rollup from 4.18.1 to 4.22.4 forlint-md
(dependabot[bot]) #55093 - [
3304bf387f
] - tools: unlock versions of irrelevant DB deps (Michaël Zasso) #55042 - [
65c376a819
] - tools: remove redudant code from eslint require rule (Aviv Keller) #54892 - [
295f684b69
] - tools: update error message for ICU in license-builder (Aviv Keller) #54742 - [
ce4b6e403d
] - tools: refactor js2c.cc to use c++20 (Yagiz Nizipli) #54849 - [
31f0ef6ea3
] - tools: bump the eslint group in /tools/eslint with 7 updates (dependabot[bot]) #54821 - [
676d0a09a0
] - tools: update github_reporter to 1.7.1 (Node.js GitHub Bot) #54951 - [
0f01f38aea
] - tty: fix links for terminal colors (Aviv Keller) #54596 - [
d264639f5f
] - util: update ansi regex (Aviv Keller) #54865 - [
ea7aaf37bf
] - v8: out of bounds copy (Robert Nagy) #55261 - [
fa695facf5
] - watch: preserve output when gracefully restarted (Théo LUDWIG) #54323 - [
5fda4a1498
] - (SEMVER-MINOR) worker: addmarkAsUncloneable
api (Jason Zhang) #55234 - [
d65334c454
] - worker: throw InvalidStateError in postMessage after close (devstone) #55206 - [
fc90d7c63a
] - worker: handle--input-type
more consistently (Antoine du Hamel) #54979 - [
a9fa2da870
] - zlib: throw brotli initialization error from c++ (Yagiz Nizipli) #54698 - [
9abd1c7288
] - zlib: remove prototype primordials usage (Yagiz Nizipli) #54695
v22.9.0
: 2024-09-17, Version 22.9.0 (Current), @RafaelGSS
New API to retrieve execution Stack Trace
A new API getCallSite
has been introduced to the util
module. This API allows users
to retrieve the stacktrace of the current execution. Example:
const util = require('node:util');
function exampleFunction() {
const callSites = util.getCallSite();
console.log('Call Sites:');
callSites.forEach((callSite, index) => {
console.log(`CallSite ${index + 1}:`);
console.log(`Function Name: ${callSite.functionName}`);
console.log(`Script Name: ${callSite.scriptName}`);
console.log(`Line Number: ${callSite.lineNumber}`);
console.log(`Column Number: ${callSite.column}`);
});
// CallSite 1:
// Function Name: exampleFunction
// Script Name: /home/example.js
// Line Number: 5
// Column Number: 26
// CallSite 2:
// Function Name: anotherFunction
// Script Name: /home/example.js
// Line Number: 22
// Column Number: 3
// ...
}
// A function to simulate another stack layer
function anotherFunction() {
exampleFunction();
}
anotherFunction();
Thanks to Rafael Gonzaga for making this work on #54380.
Disable V8 Maglev
We have seen several crashes/unexpected JS behaviors with maglev on v22 (which ships V8 v12.4). The bugs lie in the codegen so it would be difficult for users to work around them or even figure out where the bugs are coming from. Some bugs are fixed in the upstream while some others probably remain.
As v22 will get stuck with V8 v12.4 as LTS, it will be increasingly difficult to backport patches for them even if the bugs are fixed. So disable it by default on v22 to reduce the churn and troubles for users.
Thanks to Joyee Cheung for making this work on #54384
Exposes X509_V_FLAG_PARTIAL_CHAIN to tls.createSecureContext
This releases introduces a new option to the API tls.createSecureContext
. For
now on users can use tls.createSecureContext({ allowPartialTrustChain: true })
to treat intermediate (non-self-signed) certificates in the trust CA certificate
list as trusted.
Thanks to Anna Henningsen for making this work on #54790
Other Notable Changes
- [
5c9599af5a
] - src: create handle scope in FastInternalModuleStat (Joyee Cheung) #54384 - [
e2307d87e8
] - (SEMVER-MINOR) stream: relocate the status checking code in the onwritecomplete (YoonSoo_Shin) #54032
Deprecations
- [
8433032948
] - repl: doc-deprecate instantiatingnode:repl
classes withoutnew
(Aviv Keller) #54842 - [
8c4c85cf31
] - zlib: deprecate instantiating classes without new (Yagiz Nizipli) #54708
Commits
- [
027b0ffe84
] - async_hooks: add an InactiveAsyncContextFrame class (Bryan English) #54510 - [
022767028e
] - benchmark: --no-warnings to avoid DEP/ExpWarn log (Rafael Gonzaga) #54928 - [
af1988c147
] - benchmark: add buffer.isAscii benchmark (RafaelGSS) #54740 - [
40c6849964
] - benchmark: add buffer.isUtf8 bench (RafaelGSS) #54740 - [
237d7dfbde
] - benchmark: add access async version to bench (Rafael Gonzaga) #54747 - [
ebe91db827
] - benchmark: enhance dc publish benchmark (Rafael Gonzaga) #54745 - [
060164485b
] - benchmark: add match and doesNotMatch bench (RafaelGSS) #54734 - [
2844180c7e
] - benchmark: add rejects and doesNotReject bench (RafaelGSS) #54734 - [
af7689ed02
] - benchmark: add throws and doesNotThrow bench (RafaelGSS) #54734 - [
456a1fe222
] - benchmark: add strictEqual and notStrictEqual bench (RafaelGSS) #54734 - [
721c63c858
] - benchmark: adds groups to better separate benchmarks (Giovanni Bucci) #54393 - [
68e45b406e
] - benchmark,doc: add CPU scaling governor to perf (Rafael Gonzaga) #54723 - [
d19efd7a50
] - benchmark,doc: mention bar.R to the list of scripts (Rafael Gonzaga) #54722 - [
1fb67afa2f
] - buffer: fix out of range for toString (Jason Zhang) #54553 - [
85b5ed5d41
] - buffer: re-enable Fast API for Buffer.write (Robert Nagy) #54526 - [
9a075279ec
] - build: upgrade clang-format to v18 (Aviv Keller) #53957 - [
69ec9d8d2b
] - build: fix conflicting V8 object print flags (Daeyeon Jeong) #54785 - [
948bba396c
] - build: do not build with code cache for core coverage collection (Joyee Cheung) #54633 - [
6200cf4fb6
] - build: don't store eslint locally (Aviv Keller) #54231 - [
3b5ed97fe9
] - build: turn off-Wrestrict
(Richard Lau) #54737 - [
e38e305a35
] - build,win: enable clang-cl compilation (Stefan Stojanovic) #54655 - [
5bba0781b0
] - crypto: reject dh,x25519,x448 in {Sign,Verify}Final (Huáng Jùnliàng) #53774 - [
3981853c00
] - crypto: return a clearer error when loading an unsupported pkcs12 (Tim Perry) #54485 - [
02ac5376b9
] - crypto: remove unusedkHashTypes
internal (Antoine du Hamel) #54627 - [
323d9da3c9
] - deps: update cjs-module-lexer to 1.4.1 (Node.js GitHub Bot) #54846 - [
bf4bf7cc6b
] - deps: update simdutf to 5.5.0 (Node.js GitHub Bot) #54434 - [
61047dd130
] - deps: upgrade npm to 10.8.3 (npm team) #54619 - [
2351da5034
] - deps: update cjs-module-lexer to 1.4.0 (Node.js GitHub Bot) #54713 - [
0659516823
] - deps: allow amaro to be externalizable (Michael Dawson) #54646 - [
6a32645dbc
] - deps: fix sign-compare warning in ncrypto (Cheng) #54624 - [
8f62f19197
] - doc: fix broken Android building link (Niklas Wenzel) #54922 - [
440c256d76
] - doc: add support link for aduh95 (Antoine du Hamel) #54866 - [
56aca2a1ca
] - doc: run license-builder (github-actions[bot]) #54854 - [
8931f569c6
] - doc: experimental flag for global accessible APIs (Chengzhong Wu) #54330 - [
6f8a6e9eb6
] - doc: addERR_INVALID_ADDRESS
toerrors.md
(Aviv Keller) #54661 - [
c1b92e05e7
] - doc: add support link for mcollina (Matteo Collina) #54786 - [
1def18122a
] - doc: mark--conditions
CLI flag as stable (Guy Bedford) #54209 - [
b8ae36b6c3
] - doc: fix typo in recognizing-contributors (Tobias Nießen) #54822 - [
2c2ae80924
] - doc: clarify--max-old-space-size
and--max-semi-space-size
units (Alexandre ABRIOUX) #54477 - [
5bd4be5ce7
] - doc: replace --allow-fs-read by --allow-fs-write in related section (M1CK431) #54427 - [
c0f3e4603f
] - doc: add support link for marco-ippolito (Marco Ippolito) #54789 - [
dc69eb8276
] - doc: fix typo in module.md (Tobias Nießen) #54794 - [
de225f5db9
] - doc: specify that preloaded modules affect subprocesses (Aviv Keller) #52939 - [
62b0007cbe
] - doc: clarify expandedSQL behavior (Tobias Nießen) #54685 - [
1c7bdf95db
] - doc: render type references in SQLite docs (Tobias Nießen) #54684 - [
5555095531
] - doc: fix typo (Michael Dawson) #54640 - [
754baa4efa
] - doc: fix webcrypto.md AES-GCM backticks (Filip Skokan) #54621 - [
5bfb4bcf45
] - doc: add documentation about os.tmpdir() overrides (Joyee Cheung) #54613 - [
22d873208e
] - doc, build: fixup build docs (Aviv Keller) #54899 - [
5e081a12b6
] - doc, child_process: add esm snippets (Aviv Keller) #53616 - [
2b68c30a26
] - doc, meta: fix broken link inonboarding.md
(Aviv Keller) #54886 - [
a624002fff
] - esm: throwERR_REQUIRE_ESM
instead ofERR_INTERNAL_ASSERTION
(Antoine du Hamel) #54868 - [
31d4ef91ee
] - esm: fix support forURL
instances inimport.meta.resolve
(Antoine du Hamel) #54690 - [
40ba89e452
] - esm: use Undici/fetch
data:
URL parser (Matthew Aitken) #54748 - [
93116dd7b1
] - fs: translate error code properly in cpSync (Jason Zhang) #54906 - [
375cbb592e
] - fs: refactor rimraf to avoid using primordials (Yagiz Nizipli) #54834 - [
ee89c3149e
] - fs: respect dereference when copy symlink directory (Jason Zhang) #54732 - [
7123bf7ca4
] - http: reduce likelihood of race conditions on keep-alive timeout (jazelly) #54863 - [
04ef3e4afd
] - https: only use default ALPNProtocols when appropriate (Brian White) #54411 - [
dc5593ba1e
] - lib: remove unnecessary async (jakecastelli) #54829 - [
2b9a6373da
] - lib: make WeakRef safe in abort_controller (jazelly) #54791 - [
5f02e1b850
] - lib: moveSymbol[Async]Dispose
polyfills tointernal/util
(Antoine du Hamel) #54853 - [
fc78ced7e4
] - lib: convert signals to array before validation (Jason Zhang) #54714 - [
21fef34a53
] - lib: add note about removingnode:sys
module (Rafael Gonzaga) #54743 - [
a37d805489
] - (SEMVER-MINOR) lib: add util.getCallSite() API (Rafael Gonzaga) #54380 - [
2a1f56cce6
] - lib: ensure no holey array in fixed_queue (Jason Zhang) #54537 - [
540b1dbaf6
] - lib: refactor SubtleCrypto experimental warnings (Filip Skokan) #54620 - [
b59c8b88c7
] - lib,src: use built-in array buffer detach, transfer (Yagiz Nizipli) #54837 - [
c1cc046de9
] - meta: bump peter-evans/create-pull-request from 6.1.0 to 7.0.1 (dependabot[bot]) #54820 - [
82c08ef483
] - meta: addWindows ARM64
to flaky-tests list (Aviv Keller) #54693 - [
df30e8efa1
] - meta: ping @nodejs/performance on bench changes (Rafael Gonzaga) #54752 - [
bdd9fbb905
] - meta: bump actions/setup-python from 5.1.1 to 5.2.0 (Rich Trott) #54691 - [
19574a8403
] - meta: update sccache to v0.8.1 (Aviv Keller) #54720 - [
9ebcfb2b28
] - meta: bump step-security/harden-runner from 2.9.0 to 2.9.1 (dependabot[bot]) #54704 - [
ea58feb959
] - meta: bump actions/upload-artifact from 4.3.4 to 4.4.0 (dependabot[bot]) #54703 - [
c6bd9e443e
] - meta: bump github/codeql-action from 3.25.15 to 3.26.6 (dependabot[bot]) #54702 - [
79b358af2e
] - meta: fix links inSECURITY.md
(Aviv Keller) #54696 - [
6c8a20d650
] - meta: fixcontributing
codeowners (Aviv Keller) #54641 - [
b7284ed099
] - module: do not warn for typeless package.json when there isn't one (Joyee Cheung) #54045 - [
ddd24a6e63
] - node-api: add external buffer creation benchmark (Chengzhong Wu) #54877 - [
4a7576efae
] - node-api: add support for UTF-8 and Latin-1 property keys (Mert Can Altin) #52984 - [
461e523498
] - os: improvetmpdir
performance (Yagiz Nizipli) #54709 - [
94fb7ab2e7
] - path: removeStringPrototypeCharCodeAt
fromposix.extname
(Aviv Keller) #54546 - [
67b1d4cb45
] - repl: avoid interpreting 'npm' as a command when errors are recoverable (Shima Ryuhei) #54848 - [
8433032948
] - repl: doc-deprecate instantiatingnode:repl
classes withoutnew
(Aviv Keller) #54842 - [
7766349dd0
] - sqlite: fix segfault in expandedSQL (Tobias Nießen) #54687 - [
4c1b98ba2b
] - sqlite: remove unnecessary auto assignment (Tobias Nießen) #54686 - [
77d162adb6
] - src: add--env-file-if-exists
flag (Bosco Domingo) #53060 - [
424bdc03b4
] - src: add Cleanable class to Environment (Gabriel Schulhof) #54880 - [
fbd08e3a9f
] - src: switch crypto APIs to use Maybe<void> (James M Snell) #54775 - [
5e72bd3545
] - src: eliminate ManagedEVPPkey (James M Snell) #54751 - [
97cbcfbb43
] - src: fix unhandled error in structuredClone (Daeyeon Jeong) #54764 - [
b89cd8d19a
] - src: move hkdf, scrypto, pbkdf2 impl to ncrypto (James M Snell) #54651 - [
5c9599af5a
] - src: create handle scope in FastInternalModuleStat (Joyee Cheung) #54384 - [
e2307d87e8
] - (SEMVER-MINOR) stream: relocate the status checking code in the onwritecomplete (YoonSoo_Shin) #54032 - [
ff54cabef6
] - test: adjust test-tls-junk-server for OpenSSL32 (Michael Dawson) #54926 - [
23fb03beed
] - test: remove duplicate skip AIX (Wuli) #54917 - [
2b5e70816a
] - test: adjust tls test for OpenSSL32 (Michael Dawson) #54909 - [
cefa692dcb
] - test: fix test-http2-socket-close.js (Hüseyin Açacak) #54900 - [
097f6d3e7e
] - test: improve test-internal-fs-syncwritestream (Sunghoon) #54671 - [
ed736a689f
] - test: deflake test-dns (Luigi Pinca) #54902 - [
bb4849f595
] - test: fix test test-tls-dhe for OpenSSL32 (Michael Dawson) #54903 - [
d9264bceca
] - test: use correct file naming syntax forutil-parse-env
(Aviv Keller) #53705 - [
115a7ca42a
] - test: add missing await (Luigi Pinca) #54828 - [
7a1d633d77
] - test: move more url tests tonode:test
(Yagiz Nizipli) #54636 - [
ee385d62b9
] - test: strip color chars intest-runner-run
(Giovanni Bucci) #54552 - [
2efec6221c
] - test: deflake test-http2-misbehaving-multiplex (Luigi Pinca) #54872 - [
b198a91404
] - test: remove dead code in test-http2-misbehaving-multiplex (Luigi Pinca) #54860 - [
194cb83f39
] - test: reduce test-esm-loader-hooks-inspect-wait flakiness (Luigi Pinca) #54827 - [
4b53558e8b
] - test: reduce the allocation size in test-worker-arraybuffer-zerofill (James M Snell) #54839 - [
c968d65d6d
] - test: fix test-tls-client-mindhsize for OpenSSL32 (Michael Dawson) #54739 - [
b998bb0933
] - test: remove need to make fs call for zlib test (Yagiz Nizipli) #54814 - [
f084ea2e01
] - test: use platform timeout (jakecastelli) #54591 - [
b10e434cf3
] - test: add platform timeout support for riscv64 (jakecastelli) #54591 - [
b875f2d7de
] - test: reduce stack size for test-error-serdes (James M Snell) #54840 - [
d1a411480a
] - test: reduce fs calls in test-fs-existssync-false (Yagiz Nizipli) #54815 - [
b96ee30a09
] - test: usenode:test
intest-cli-syntax.bad
(Aviv Keller) #54513 - [
5278b8b7a1
] - test: move test-http-server-request-timeouts-mixed (James M Snell) #54841 - [
8345a60d3a
] - test: fix Windows async-context-frame memory failure (Stephen Belanger) #54823 - [
cad404e1a1
] - test: fix volatile for CauseSegfault with clang (Ivan Trubach) #54325 - [
41682c7286
] - test: settest-http2-socket-close
as flaky (Yagiz Nizipli) #54802 - [
1e1ac48711
] - test: settest-worker-arraybuffer-zerofill
as flaky (Yagiz Nizipli) #54802 - [
56238debff
] - test: settest-runner-run-watch
as flaky (Yagiz Nizipli) #54802 - [
8291de1540
] - test: settest-http-server-request-timeouts-mixed
as flaky (Yagiz Nizipli) #54802 - [
32d340e6b3
] - test: settest-single-executable-application-empty
as flaky (Yagiz Nizipli) #54802 - [
6a2da4c4ca
] - test: settest-macos-app-sandbox
as flaky (Yagiz Nizipli) #54802 - [
2f408847a0
] - test: settest-fs-utimes
as flaky (Yagiz Nizipli) #54802 - [
e3b7c40ffc
] - test: settest-runner-run-watch
as flaky (Yagiz Nizipli) #54802 - [
d2ede46946
] - test: settest-sqlite-statement-sync
as flaky (Yagiz Nizipli) #54802 - [
b9f3385808
] - test: settest-writewrap
as flaky (Yagiz Nizipli) #54802 - [
d55fec8f40
] - test: settest-async-context-frame
as flaky (Yagiz Nizipli) #54802 - [
3dfb525f3e
] - test: settest-esm-loader-hooks-inspect-wait
as flaky (Yagiz Nizipli) #54802 - [
b0458a88b4
] - test: settest-http2-large-file
as flaky (Yagiz Nizipli) #54802 - [
5f6f8757e5
] - test: settest-runner-watch-mode-complex
as flaky (Yagiz Nizipli) #54802 - [
4231af336d
] - test: settest-performance-function
as flaky (Yagiz Nizipli) #54802 - [
45ef2a868e
] - test: settest-debugger-heap-profiler
as flaky (Yagiz Nizipli) #54802 - [
b5137f6405
] - test: fixtest-process-load-env-file
when path contains'
(Antoine du Hamel) #54511 - [
960116905a
] - test: refactor fs-watch tests due to macOS issue (Santiago Gimeno) #54498 - [
f074d74bf3
] - test: refactortest-esm-type-field-errors
(Giovanni Bucci) #54368 - [
67e30deced
] - test: move more zlib tests to node:test (Yagiz Nizipli) #54609 - [
fdb65111a3
] - test: improve output of child process utilities (Joyee Cheung) #54622 - [
55a12a4190
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #54925 - [
de0f445a7f
] - test_runner: reimplementassert.ok
to allow stack parsing (Aviv Keller) #54776 - [
a52c199d9d
] - (SEMVER-MINOR) test_runner: report coverage thresholds intest:coverage
(Aviv Keller) #54813 - [
6552fddef5
] - test_runner: update kPatterns (Pietro Marchini) #54728 - [
3396a4954d
] - test_runner: detect only tests when isolation is off (Colin Ihrig) #54832 - [
021f59b6bc
] - test_runner: apply filtering when tests begin (Colin Ihrig) #54832 - [
36da793350
] - test_runner: allow--import
with no isolation (Aviv Keller) #54697 - [
de73d1ee4b
] - test_runner: improve code coverage cleanup (Colin Ihrig) #54856 - [
3d478728f2
] - timers: avoid generating holey internal arrays (Gürgün Dayıoğlu) #54771 - [
b3d567ae0f
] - timers: document ref option for scheduler.wait (Paolo Insogna) #54605 - [
c2bf0134ce
] - (SEMVER-MINOR) tls: addallowPartialTrustChain
flag (Anna Henningsen) #54790 - [
608a611132
] - tools: add readability/fn_size to filter (Rafael Gonzaga) #54744 - [
93fab49099
] - tools: add util scripts to land and rebase MRs (Antoine du Hamel) #54656 - [
d6df542ff8
] - tools: remove readability/fn_size rule (Rafael Gonzaga) #54663 - [
689d127ee7
] - typings: fix TypedArray to a global type (1ilsang) #54063 - [
071dff1d34
] - typings: correct param type ofSafePromisePrototypeFinally
(Wuli) #54727 - [
5243e3240c
] - Revert "v8: enable maglev on supported architectures" (Joyee Cheung) #54384 - [
ade9da5b3a
] - vm: add vm proto property lookup test (Chengzhong Wu) #54606 - [
8385958b60
] - zlib: add typings for better dx (Yagiz Nizipli) #54699 - [
8c4c85cf31
] - zlib: deprecate instantiating classes without new (Yagiz Nizipli) #54708
v22.8.0
: 2024-09-03, Version 22.8.0 (Current), @RafaelGSS
New JS API for compile cache
This release adds a new API module.enableCompileCache()
that can be used to enable on-disk code caching of all modules loaded after this API is called.
Previously this could only be enabled by the NODE_COMPILE_CACHE
environment variable, so it could only set by end-users.
This API allows tooling and library authors to enable caching of their own code.
This is a built-in alternative to the v8-compile-cache/v8-compile-cache-lib packages,
but have better performance and supports ESM.
Thanks to Joyee Cheung for working on this.
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.
Thanks to Joyee Cheung for working on this.
Support for coverage thresholds
Node.js now supports requiring code coverage to meet a specific threshold before the process exits successfully.
To use this feature, you need to enable the --experimental-test-coverage
flag.
You can set thresholds for the following types of coverage:
-
Branch coverage: Use
--test-coverage-branches=<threshold>
-
Function coverage: Use
--test-coverage-functions=<threshold>
-
Line coverage: Use
--test-coverage-lines=<threshold>
<threshold>
should be an integer between 0 and 100. If an invalid value is provided, a TypeError
will be thrown.
If the code coverage fails to meet the specified thresholds for any category, the process will exit with code 1
.
For instance, to enforce a minimum of 80% line coverage and 60% branch coverage, you can run:
$ node --experimental-test-coverage --test-coverage-lines=80 --test-coverage-branches=60 example.js
Thanks Aviv Keller for working on this.
Other Notable Changes
- [
1f2cc2fa47
] - (SEMVER-MINOR) src,lib: add performance.uvMetricsInfo (Rafael Gonzaga) #54413 - [
1e01bdc0d0
] - (SEMVER-MINOR) net: exclude ipv6 loopback addresses from server.listen (Giovanni Bucci) #54264 - [
97fa075c2e
] - (SEMVER-MINOR) test_runner: support running tests in process (Colin Ihrig) #53927 - [
858b583c88
] - (SEMVER-MINOR) test_runner: defer inheriting hooks until run() (Colin Ihrig) #53927
Commits
- [
94985df9d6
] - benchmark: fix benchmark for file path and URL conversion (Early Riser) #54190 - [
ac178b094b
] - buffer: truncate instead of throw when writing beyond buffer (Robert Nagy) #54524 - [
afd8c1eb4f
] - buffer: allow invalid encoding in from (Robert Nagy) #54533 - [
6f0cf35cd3
] - build: reclaim disk space on macOS GHA runner (jakecastelli) #54658 - [
467ac3aec4
] - build: don't clean obj.target directory if it doesn't exist (Joyee Cheung) #54337 - [
71fdf961df
] - build: update required python version to 3.8 (Aviv Keller) #54358 - [
73604cf1c5
] - deps: update nghttp2 to 1.63.0 (Node.js GitHub Bot) #54589 - [
b00c087285
] - deps: V8: cherry-picke74d0f4
(Joyee Cheung) #54279 - [
33a6b3c7a9
] - deps: backport ICU-22787 to fix ClangCL on Windows (Stefan Stojanovic) #54502 - [
fe56949cbb
] - deps: update c-ares to v1.33.1 (Node.js GitHub Bot) #54549 - [
290f6ce619
] - deps: update amaro to 0.1.8 (Node.js GitHub Bot) #54520 - [
b5843568b4
] - deps: update amaro to 0.1.7 (Node.js GitHub Bot) #54473 - [
9c709209b4
] - deps: update undici to 6.19.8 (Node.js GitHub Bot) #54456 - [
a5ce24181b
] - deps: sqlite: fix Windows compilation (Colin Ihrig) #54433 - [
3caf29ea88
] - deps: update sqlite to 3.46.1 (Node.js GitHub Bot) #54433 - [
68758d4b08
] - doc: add support me link for anonrig (Yagiz Nizipli) #54611 - [
f5c5529266
] - doc: add alert on REPL from TCP socket (Rafael Gonzaga) #54594 - [
bf824483cd
] - doc: fix typo in styleText description (Rafael Gonzaga) #54616 - [
825d933fd4
] - doc: add getHeapStatistics() property descriptions (Benji Marinacci) #54584 - [
80e5150160
] - doc: fix module compile cache description (沈鸿飞) #54625 - [
7fd033fe56
] - doc: run license-builder (github-actions[bot]) #54562 - [
c499913732
] - doc: fix information about including coverage files (Aviv Keller) #54527 - [
c3dc83befc
] - doc: support collaborators - talk amplification (Michael Dawson) #54508 - [
fc57beaad3
] - doc: add note about shasum generation failure (Marco Ippolito) #54487 - [
1800a58f49
] - doc: update websocket flag description to reflect stable API status (Yelim Koo) #54482 - [
61affd77a7
] - doc: fix capitalization in module.md (shallow-beach) #54488 - [
25419915c7
] - doc: add esm examples to node:https (Alfredo González) #54399 - [
83b5efeb54
] - doc: reserve ABI 130 for Electron 33 (Calvin) #54383 - [
6ccbd32ae8
] - doc, meta: add missing,
toBUILDING.md
(Aviv Keller) #54409 - [
fc08a9b0cd
] - fs: refactor handleTimestampsAndMode to remove redundant call (HEESEUNG) #54369 - [
4a664b5fcb
] - lib: respect terminal capabilities on styleText (Rafael Gonzaga) #54389 - [
a9ce2b6a28
] - lib: fix emit warning for debuglog.time when disabled (Vinicius Lourenço) #54275 - [
b5a23c9783
] - meta: remind users to use a supported version in bug reports (Aviv Keller) #54481 - [
0d7171d8e9
] - meta: add more labels to dep-updaters (Aviv Keller) #54454 - [
c4996c189f
] - meta: run coverage-windows whenvcbuild.bat
updated (Aviv Keller) #54412 - [
3cf645768e
] - module: use amaro default transform values (Marco Ippolito) #54517 - [
336496b90e
] - module: add sourceURL magic comment hinting generated source (Chengzhong Wu) #54402 - [
04f83b50ad
] - Revert "net: validate host name for server listen" (jakecastelli) #54554 - [
1e01bdc0d0
] - (SEMVER-MINOR) net: exclude ipv6 loopback addresses from server.listen (Giovanni Bucci) #54264 - [
3cd10a3f40
] - node-api: remove RefBase and CallbackWrapper (Vladimir Morozov) #53590 - [
72c554abab
] - sqlite: return results with null prototype (Michaël Zasso) #54350 - [
e071651bb2
] - src: disable fast methods forbuffer.write
(Michaël Zasso) #54565 - [
f8cbbc685a
] - src: use v8::Isolate::GetDefaultLocale() to compute navigator.language (Joyee Cheung) #54279 - [
4baf4637eb
] - (SEMVER-MINOR) src: add JS APIs for compile cache and NODE_DISABLE_COMPILE_CACHE (Joyee Cheung) #54501 - [
101e299656
] - src: move more crypto_dh.cc code to ncrypto (James M Snell) #54459 - [
e6e1f4e8bd
] - src: remove redundant AESCipherMode (Tobias Nießen) #54438 - [
1ff3f63f5e
] - src: handle errors correctly inpermission.cc
(Michaël Zasso) #54541 - [
4938188682
] - src: returnv8::Object
from error constructors (Michaël Zasso) #54541 - [
4578e9485b
] - src: use better return types in KVStore (Michaël Zasso) #54539 - [
7d9e994791
] - src: change SetEncodedValue to return Maybe<void> (Tobias Nießen) #54443 - [
eef303028f
] - src: remove cached data tag from snapshot metadata (Joyee Cheung) #54122 - [
3a74c400d5
] - src: improvebuffer.transcode
performance (Yagiz Nizipli) #54153 - [
909c5320fd
] - src: move more crypto code to ncrypto (James M Snell) #54320 - [
9ba75faf5f
] - (SEMVER-MINOR) src,lib: add performance.uvMetricsInfo (Rafael Gonzaga) #54413 - [
fffc300c6d
] - stream: change stream to use index instead offor...of
(Wiyeong Seo) #54474 - [
a4a6ef8d29
] - test: fix test-tls-client-auth test for OpenSSL32 (Michael Dawson) #54610 - [
76345a5d7c
] - test: update TLS test for OpenSSL 3.2 (Richard Lau) #54612 - [
522d5a359d
] - test: run V8 Fast API tests in release mode too (Michaël Zasso) #54570 - [
edbecf5209
] - test: increase key size for ca2-cert.pem (Michael Dawson) #54599 - [
bc976cfc93
] - test: update test-abortsignal-cloneable to use node:test (James M Snell) #54581 - [
9f1ce732a8
] - test: update test-assert-typedarray-deepequal to use node:test (James M Snell) #54585 - [
c74f2aeb92
] - test: update test-assert to use node:test (James M Snell) #54585 - [
a0be95e4cc
] - test: merge ongc and gcutil into gc.js (tannal) #54355 - [
c10aff665e
] - test: move a couple of tests over to using node:test (James M Snell) #54582 - [
dbbc790949
] - test: update test-aborted-util to use node:test (James M Snell) #54578 - [
64442fce6b
] - test: refactor test-abortcontroller to use node:test (James M Snell) #54574 - [
72345dee1c
] - test: fix embedding test for Windows (Vladimir Morozov) #53659 - [
846e2b2896
] - test: refactor test_runner tests to change default reporter (Colin Ihrig) #54547 - [
b5eb24c86a
] - test: force spec reporter in test-runner-watch-mode.mjs (Colin Ihrig) #54538 - [
66ae9f4c0a
] - test: use valid hostnames (Luigi Pinca) #54556 - [
02d664b75f
] - test: fix improper path to URL conversion (Antoine du Hamel) #54509 - [
8a4f8a9eff
] - test: add tests for runner coverage with different stdout column widths (Pietro Marchini) #54494 - [
b0ed8dbb2f
] - test: prevent V8 from writing into the system's tmpdir (Michaël Zasso) #54395 - [
5ee234a5a6
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #54593 - [
a4bebf8559
] - test_runner: ensure test watcher picks up new test files (Pietro Marchini) #54225 - [
d4310fe9c1
] - (SEMVER-MINOR) test_runner: add support for coverage thresholds (Aviv Keller) #54429 - [
0cf78aa24b
] - test_runner: refactormock_loader
(Antoine du Hamel) #54223 - [
97fa075c2e
] - (SEMVER-MINOR) test_runner: support running tests in process (Colin Ihrig) #53927 - [
858b583c88
] - (SEMVER-MINOR) test_runner: defer inheriting hooks until run() (Colin Ihrig) #53927 - [
45b0250692
] - test_runner: account for newline in source maps (Colin Ihrig) #54444 - [
1c29e74d30
] - test_runner: makemock.module
'sspecifier
consistent withimport()
(Antoine du Hamel) #54416 - [
cbe30a02a3
] - test_runner: finish build phase before running tests (Colin Ihrig) #54423 - [
8a4b26f00c
] - timers: fix validation (Paolo Insogna) #54404 - [
38798140c4
] - tools: remove unused python files (Aviv Keller) #53928 - [
da6c61def8
] - tools: add swc license (Marco Ippolito) #54462 - [
16d4c437e1
] - typings: provide internal types for wasi bindings (Andrew Moon) #54119 - [
fe5666f006
] - vm: return all own names and symbols in property enumerator interceptor (Chengzhong Wu) #54522 - [
db80eac496
] - (SEMVER-MINOR) vm: introduce vanilla contexts via vm.constants.DONT_CONTEXTIFY (Joyee Cheung) #54394 - [
8ffdd1e2b2
] - zlib: simplify validators (Yagiz Nizipli) #54442
v22.7.0
: 2024-08-22, Version 22.7.0 (Current), @RafaelGSS
Experimental transform types support
With the new flag --experimental-transform-types
it is possible to enable the
transformation of TypeScript-only syntax into JavaScript code.
This feature allows Node.js to support TypeScript syntax such as Enum
and namespace
.
Thanks to Marco Ippolito for making this work on #54283.
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.
Performance Improvements to Buffer
Performance of Node.js Buffers have been optimized through multiple MR's with significant
improvements to the Buffer.copy
and Buffer.write
methods. These are used throughout
the codebase and should give a nice boost across the board.
Thanks to Robert Nagy for making this work on #54311, #54324, and #54087.
Other Notable Changes
- [
911de7dd6d
] - (SEMVER-MINOR) inspector: supportNetwork.loadingFailed
event (Kohei Ueno) #54246 - [
9ee4b16bd8
] - (SEMVER-MINOR) lib: rewrite AsyncLocalStorage without async_hooks (Stephen Belanger) #48528
Commits
- [
c6544ff5a6
] - benchmark: use assert.ok searchparams (Rafael Gonzaga) #54334 - [
51b8576897
] - benchmark: add stream.compose benchmark (jakecastelli) #54308 - [
c166036515
] - benchmark: rename count to n (Rafael Gonzaga) #54271 - [
1be0ee76ef
] - benchmark: change assert() to assert.ok() (Rafael Gonzaga) #54254 - [
4dd229f546
] - benchmark: support --help in CLI (Aviv Keller) #53358 - [
a5a320cd5b
] - benchmark: remove force option as force defaults to true (Yelim Koo) #54203 - [
db0a80a0eb
] - benchmark: use assert.ok instead of assert (Rafael Gonzaga) #54176 - [
8ba53ae7b7
] - buffer: properly apply dst offset and src length on fast path (Robert Nagy) #54391 - [
a5a60e6823
] - buffer: use fast API for writing one-byte strings (Robert Nagy) #54311 - [
7b641bc2bd
] - buffer: optimize byteLength for short strings (Robert Nagy) #54345 - [
28ca678f81
] - buffer: optimize byteLength for common encodings (Robert Nagy) #54342 - [
12785559be
] - buffer: optimize createFromString (Robert Nagy) #54324 - [
f7f7b0c498
] - buffer: optimize for common encodings (Robert Nagy) #54319 - [
37631f826b
] - buffer: add JSDoc to blob bytes method (Roberto Simonini) #54117 - [
ab6fae9dbf
] - buffer: faster type check (Robert Nagy) #54088 - [
9f8f26eb2f
] - buffer: use native copy impl (Robert Nagy) #54087 - [
019ebf03c1
] - buffer: use faster integer argument check (Robert Nagy) #54089 - [
c640a2f24c
] - build: always disable strict aliasing (Michaël Zasso) #54339 - [
6aa1d9e855
] - build: updateruff
to0.5.2
(Aviv Keller) #53909 - [
350e699443
] - build: supportlint-js-fix
invcbuild.bat
(Aviv Keller) #53695 - [
98fed763f7
] - build: add--without-amaro
build flag (Antoine du Hamel) #54136 - [
1ca598c5ce
] - cli: allow--test-[name/skip]-pattern
inNODE_OPTIONS
(Aviv Keller) #53001 - [
37960a67ae
] - console: use validateOneOf for colorMode validation (HEESEUNG) #54245 - [
d52f515bab
] - crypto: include NODE_EXTRA_CA_CERTS in all secure contexts by default (Eric Bickle) #44529 - [
b6a3e61353
] - deps: update amaro to 0.1.6 (Node.js GitHub Bot) #54374 - [
0d716ad3f3
] - deps: update simdutf to 5.3.4 (Node.js GitHub Bot) #54312 - [
18bfea5f33
] - deps: update zlib to 1.3.0.1-motley-71660e1 (Node.js GitHub Bot) #53464 - [
d0c23f332f
] - deps: update zlib to 1.3.0.1-motley-c2469fd (Node.js GitHub Bot) #53464 - [
e7db63972c
] - deps: update zlib to 1.3.0.1-motley-68e57e6 (Node.js GitHub Bot) #53464 - [
713ae95555
] - deps: update zlib to 1.3.0.1-motley-8b7eff8 (Node.js GitHub Bot) #53464 - [
758c9df36e
] - deps: update zlib to 1.3.0.1-motley-e432200 (Node.js GitHub Bot) #53464 - [
fe7e6c9563
] - deps: update zlib to 1.3.0.1-motley-887bb57 (Node.js GitHub Bot) #53464 - [
35722b7bca
] - deps: update simdjson to 3.10.0 (Node.js GitHub Bot) #54197 - [
a2a41557db
] - deps: fix GN build warning in ncrypto (Cheng) #54222 - [
869da204d7
] - deps: update c-ares to v1.33.0 (Node.js GitHub Bot) #54198 - [
e0d503a715
] - deps: update nbytes to 0.1.1 (Node.js GitHub Bot) #54277 - [
b0c768dae1
] - deps: update undici to 6.19.7 (Node.js GitHub Bot) #54286 - [
ef9a950cb9
] - deps: update acorn to 8.12.1 (Node.js GitHub Bot) #53465 - [
1597a1139a
] - deps: update undici to 6.19.5 (Node.js GitHub Bot) #54076 - [
103e4db3e0
] - deps: update simdutf to 5.3.1 (Node.js GitHub Bot) #54196 - [
9f115ba9e9
] - doc: fix error description of the max header size (Egawa Ryo) #54125 - [
f967ab3810
] - doc: add git node security --cleanup (Rafael Gonzaga) #54381 - [
8883c01afa
] - doc: add note on weakness of permission model (Tobias Nießen) #54268 - [
824bd58bc5
] - doc: add versions when--watch-preserve-output
was added (Théo LUDWIG) #54328 - [
33795cfd49
] - doc: replace v19 mention in Current release (Rafael Gonzaga) #54361 - [
aa6e770ea5
] - doc: correct peformance entry types (Jason Zhang) #54263 - [
4b099ce1bd
] - doc: fix typo in method name in the sea doc (Eliyah Sundström) #54027 - [
8a8d1d2281
] - doc: mark process.nextTick legacy (Marco Ippolito) #51280 - [
6f4b5d998e
] - doc: add esm examples to node:http2 (Alfredo González) #54292 - [
1535469c12
] - doc: explicitly mention node:fs module restriction (Rafael Gonzaga) #54269 - [
26c37f7910
] - doc: remove module-based permission doc (Rafael Gonzaga) #54266 - [
971b9f31f5
] - doc: updatebuffer.constants.MAX_LENGTH
size (Samuli Asmala) #54207 - [
3106149965
] - doc: warn for windows build bug (Jason Zhang) #54217 - [
55f8ac3e89
] - doc: make some parameters optional intracingChannel.traceCallback
(Deokjin Kim) #54068 - [
e3e2f22cab
] - doc: add esm examples to node:dns (Alfredo González) #54172 - [
0429b1eb9d
] - doc: add KevinEady as a triager (Chengzhong Wu) #54179 - [
4bfa7d8e54
] - doc: add esm examples to node:console (Alfredo González) #54108 - [
2f5309fc22
] - doc: fix sea assets example (Sadzurami) #54192 - [
88aef5a39d
] - doc: add links to security steward companies (Aviv Keller) #52981 - [
5175903c23
] - doc: moveonread
option fromsocket.connect()
tonew net.socket()
(sendoru) #54194 - [
144637e845
] - doc: move release key for Myles Borins (Richard Lau) #54059 - [
358fdacec6
] - doc: refresh instructions for building node from source (Liran Tal) #53768 - [
11fdaa6ad2
] - doc: add documentation for blob.bytes() method (jaexxin) #54114 - [
db3b0df42c
] - doc: add missing new lines to custom test reporter examples (Eddie Abbondanzio) #54152 - [
1cafefd2cf
] - doc: fix worker threadId/destination typo (Thomas Hunter II) #53933 - [
7772b46038
] - doc: update list of Triagers on theREADME.md
(Antoine du Hamel) #54138 - [
af99ba3dc9
] - doc: remove unused imports from worker_threads.md (Yelim Koo) #54147 - [
826edc4341
] - doc: expand troubleshooting section (Liran Tal) #53808 - [
923195b624
] - doc: clarifyuseCodeCache
setting for cross-platform SEA generation (Yelim Koo) #53994 - [
7c305a4900
] - doc, meta: replace command with link to keys (Aviv Keller) #53745 - [
6f986e0ee6
] - doc, test: simplify test README table (Aviv Keller) #53971 - [
112228c15a
] - fs: remove unnecessary option argument validation (Jonas) #53958 - [
911de7dd6d
] - (SEMVER-MINOR) inspector: supportNetwork.loadingFailed
event (Kohei Ueno) #54246 - [
1e825915d5
] - inspector: provide detailed info to fix DevTools frontend errors (Kohei Ueno) #54156 - [
417120a3a3
] - lib: replace spread operator with primordials function (YoonSoo_Shin) #54053 - [
09f411e6f6
] - lib: avoid for of loop and remove unnecessary variable in zlib (YoonSoo_Shin) #54258 - [
b8970570b0
] - lib: improve async_context_frame structure (Stephen Belanger) #54239 - [
783322fa16
] - lib: fix unhandled errors in webstream adapters (Fedor Indutny) #54206 - [
425b9562b9
] - lib: fix typos in comments within internal/streams (YoonSoo_Shin) #54093 - [
9ee4b16bd8
] - (SEMVER-MINOR) lib: rewrite AsyncLocalStorage without async_hooks (Stephen Belanger) #48528 - [
8c9a4ae12b
] - lib,permission: support Buffer to permission.has (Rafael Gonzaga) #54104 - [
c8e358c96c
] - meta: add test-permission-* CODEOWNERS (Rafael Gonzaga) #54267 - [
581c155cf8
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #54210 - [
3f0d7344e3
] - meta: add module label for the lib/internal/modules folder (Aviv Keller) #52858 - [
0157ec6bbd
] - meta: bumpactions/upload-artifact
from 4.3.3 to 4.3.4 (dependabot[bot]) #54166 - [
7fa95d2360
] - meta: bumpactions/download-artifact
from 4.1.7 to 4.1.8 (dependabot[bot]) #54167 - [
acc5b9a0c5
] - meta: bump actions/setup-python from 5.1.0 to 5.1.1 (dependabot[bot]) #54165 - [
dede30a8d0
] - meta: bumpstep-security/harden-runner
from 2.8.1 to 2.9.0 (dependabot[bot]) #54169 - [
b733854eac
] - meta: bumpactions/setup-node
from 4.0.2 to 4.0.3 (dependabot[bot]) #54170 - [
6a9f168cc6
] - meta: bumpgithub/codeql-action
from 3.25.11 to 3.25.15 (dependabot[bot]) #54168 - [
9bbd85e4fe
] - meta: bumpossf/scorecard-action
from 2.3.3 to 2.4.0 (dependabot[bot]) #54171 - [
33633eebd9
] - meta: add typescript team to codeowners (Marco Ippolito) #54101 - [
240d9296c1
] - (SEMVER-MINOR) module: add --experimental-transform-types flag (Marco Ippolito) #54283 - [
66dcb2a571
] - (SEMVER-MINOR) module: unflag detect-module (Geoffrey Booth) #53619 - [
100225fbe1
] - module: do not attempt to strip type when there's no source (Antoine du Hamel) #54287 - [
1ba2000703
] - module: refactor ts parser loading (Marco Ippolito) #54243 - [
13cc480030
] - module: remove outdated comment (Michaël Zasso) #54118 - [
e676d98435
] - module,win: fix long path resolve (Hüseyin Açacak) #53294 - [
9aec536083
] - path: changeposix.join
to use array (Wiyeong Seo) #54331 - [
8a770cf5c9
] - path: fix relative on Windows (Hüseyin Açacak) #53991 - [
267cd7f361
] - path: use the correct name invalidateString
(Benjamin Pasero) #53669 - [
31adeea855
] - sea: don't set code cache flags when snapshot is used (Joyee Cheung) #54120 - [
7f1bf1ce24
] - sqlite: split up large test file (Colin Ihrig) #54014 - [
94e2ea6f5c
] - sqlite: ensure statement finalization on db close (Colin Ihrig) #54014 - [
e077ff1f38
] - src: update compile cache storage structure (Joyee Cheung) #54291 - [
4e4d1def7e
] - src: refactor http parser binding initialization (Joyee Cheung) #54276 - [
409d9eb09b
] - src: shift even moar x509 to ncrypto (James M Snell) #54340 - [
f87aa27274
] - src: don't match after--
inDotenv::GetPathFromArgs
(Aviv Keller) #54237 - [
b6927dd981
] - src: move some X509Certificate stuff to ncrypto (James M Snell) #54241 - [
a394219fa5
] - src: skip inspector wait in internal workers (Chengzhong Wu) #54219 - [
8daeccfe92
] - src: shift more crypto impl details to ncrypto (James M Snell) #54028 - [
e619133ac9
] - src: move spkac methods to ncrypto (James M Snell) #53985 - [
b52c2fff75
] - src: account for OpenSSL unexpected version (Shelley Vohr) #54038 - [
0b16af1689
] - src,test: trackURL.canParse
fast API calls (Michaël Zasso) #54356 - [
2be78b03c3
] - src,test: ensure that V8 fast APIs are called (Michaël Zasso) #54317 - [
9297d29cdb
] - stream: make checking pendingcb on WritableStream backward compatible (jakecastelli) #54142 - [
2a6a12e493
] - stream: throw TypeError when criteria fulfilled in getIterator (jakecastelli) #53825 - [
7f68cc0f7f
] - test: make snapshot comparison more flexible (Shelley Vohr) #54375 - [
3df7938832
] - test: make sure current run result is pushed and reset (jakecastelli) #54332 - [
3e25be7b28
] - test: use relative paths in test-cli-permission tests (sendoru) #54188 - [
f49f1bb3e9
] - test: unmark test-sqlite as flaky (Colin Ihrig) #54014 - [
2f68a74702
] - test: fix timeout not being cleared (Isaac-yz-Liu) #54242 - [
f5cfa4454e
] - test: refactortest-runner-module-mocking
(Antoine du Hamel) #54233 - [
b85b13b418
] - test: use assert.{s,deepS}trictEqual() (Luigi Pinca) #54208 - [
6bcbfcd7bc
] - test: add subtests to test-node-run (sungpaks) #54204 - [
dafe97548f
] - test: set test-structuredclone-jstransferable non-flaky (Stefan Stojanovic) #54115 - [
be61793db5
] - test: update wpt test for streams (devstone) #54129 - [
670c796449
] - test: fix typo in test (Sonny) #54137 - [
1a15f3f613
] - test: add initial pull delay and prototype pollution prevention tests (Sonny) #54061 - [
5dbff81b71
] - test: add coverage for webstorage quota (jakecastelli) #53964 - [
141e9fe7cc
] - test_runner: use validateStringArray fortimers.enable()
(Deokjin Kim) #49534 - [
e70711e190
] - test_runner: report failures in filtered suites (Colin Ihrig) #54387 - [
7766c1dc9b
] - test_runner: remove parseCommandLine() from test.js (Colin Ihrig) #54353 - [
961cbf0be0
] - test_runner: refactor hook creation (Colin Ihrig) #54353 - [
69c78ca2f5
] - test_runner: return setup() from parseCommandLine() (Colin Ihrig) #54353 - [
ed1ede8c26
] - test_runner: pass global options to createTestTree() (Colin Ihrig) #54353 - [
1e88045a69
] - test_runner: pass harness object as option to root test (Colin Ihrig) #54353 - [
e3378f0679
] - test_runner: use run() argument names in parseCommandLine() (Colin Ihrig) #54353 - [
676bbd5c09
] - test_runner: fix delete test file cause dependency file not watched (jakecastelli) #53533 - [
fe793a6103
] - test_runner: do not expose internal loader (Antoine du Hamel) #54106 - [
7fad771bbf
] - test_runner: fix erroneous diagnostic warning when only: false (Pietro Marchini) #54116 - [
dc465736fb
] - test_runner: make mock_loader not confuse CJS and ESM resolution (Sung Ye In) #53846 - [
5a1afb2139
] - test_runner: remove outdated comment (Colin Ihrig) #54146 - [
20a01fcc39
] - test_runner: run after hooks even if test is aborted (Colin Ihrig) #54151 - [
df428adb6c
] - tools: remove header from c-ares license (Aviv Keller) #54335 - [
b659fc0f2b
] - tools: add find pyenv path on windows (Marco Ippolito) #54314 - [
b93c6d9f38
] - tools: make undici updater build wasm from src (Michael Dawson) #54128 - [
3835131559
] - tools: add workflow to ensureREADME
lists are in sync with gh teams (Antoine du Hamel) #53901 - [
e218b7ca8a
] - tools: add strip-types to label system (Marco Ippolito) #54185 - [
8b35f0e601
] - tools: update eslint to 9.8.0 (Node.js GitHub Bot) #54073 - [
d83421fbe5
] - tty: initialize winSize array with values (Michaël Zasso) #54281 - [
a4768374f2
] - typings: add util.styleText type definition (Rafael Gonzaga) #54252 - [
a4aecd2755
] - typings: add missing binding functionwriteFileUtf8()
(Jungku Lee) #54110 - [
0bed600df9
] - url: modify pathToFileURL to handle extended UNC path (Early Riser) #54262 - [
037672f15d
] - url: improve resolveObject with ObjectAssign (Early Riser) #54092 - [
4d8b53e475
] - watch: reload changes in contents of --env-file (Marek Piechut) #54109
v22.6.0
: 2024-08-06, Version 22.6.0 (Current), @RafaelGSS
Experimental TypeScript support via strip types
Node.js introduces the --experimental-strip-types
flag for initial TypeScript support.
This feature strips type annotations from .ts files, allowing them to run
without transforming TypeScript-specific syntax. Current limitations include:
- Supports only inline type annotations, not features like
enums
ornamespaces
. - Requires explicit file extensions in import and require statements.
- Enforces the use of the type keyword for type imports to avoid runtime errors.
- Disabled for TypeScript in node_modules by default.
Thanks Marco Ippolito for working on this.
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.
Thanks Kohei Ueno for working on this.
Other Notable Changes
- [
15a94e67b1
] - lib,src: drop --experimental-network-imports (Rafael Gonzaga) #53822 - [
68e444d2d8
] - (SEMVER-MINOR) http: add diagnostics channelhttp.client.request.error
(Kohei Ueno) #54054 - [
2d982d3dee
] - (SEMVER-MINOR) deps: V8: backport7857eb3
(Stephen Belanger) #53997 - [
15816bd0dd
] - (SEMVER-MINOR) stream: expose DuplexPair API (Austin Wright) #34111 - [
893c864542
] - (SEMVER-MINOR) test_runner: fix support watch with run(), add globPatterns option (Matteo Collina) #53866 - [
048d421ad1
] - meta: add jake to collaborators (jakecastelli) #54004 - [
6ad6e01bf3
] - (SEMVER-MINOR) test_runner: refactor snapshots to get file from context (Colin Ihrig) #53853 - [
698e44f8e7
] - (SEMVER-MINOR) test_runner: add context.filePath (Colin Ihrig) #53853
Commits
- [
063f46dc2a
] - assert: use isError instead of instanceof in innerOk (Pietro Marchini) #53980 - [
10bea42f81
] - build: update gcovr to 7.2 and codecov config (Benjamin E. Coe) #54019 - [
7c417c6cf4
] - build: avoid compiling with VS v17.10 (Hüseyin Açacak) #53863 - [
ee97c045b4
] - build: ensure v8_pointer_compression_sandbox is enabled on 64bit (Shelley Vohr) #53884 - [
bfbed0afd5
] - build: fix conflict gyp configs (Chengzhong Wu) #53605 - [
0f1fe63e32
] - build: trigger coverage ci when updating codecov (Yagiz Nizipli) #53929 - [
ad62b945f0
] - build: update codecov coverage build count (Yagiz Nizipli) #53929 - [
3c40868fd3
] - build: disable test-asan workflow (Michaël Zasso) #53844 - [
2a62d6ca57
] - build, tools: drop leading/
fromr2dir
(Richard Lau) #53951 - [
9c7b009f47
] - build,tools: simplify upload of shasum signatures (Michaël Zasso) #53892 - [
057bd44f9f
] - child_process: fix incomplete prototype pollution hardening (Liran Tal) #53781 - [
66f7c595c7
] - cli: document--inspect
port0
behavior (Aviv Keller) #53782 - [
fad3e74b47
] - console: fix issues with frozen intrinsics (Vinicius Lourenço) #54070 - [
e685ecd7ae
] - deps: update corepack to 0.29.3 (Node.js GitHub Bot) #54072 - [
e5f7250e6d
] - deps: update amaro to 0.0.6 (Node.js GitHub Bot) #54199 - [
2c1e9082e8
] - deps: update amaro to 0.0.5 (Node.js GitHub Bot) #54199 - [
2d982d3dee
] - (SEMVER-MINOR) deps: V8: backport7857eb3
(Stephen Belanger) #53997 - [
1061898462
] - deps: update c-ares to v1.32.3 (Node.js GitHub Bot) #54020 - [
f4a7ac5e18
] - deps: V8: cherry-pick35888fe
(Joyee Cheung) #53728 - [
1176310226
] - deps: add gn build files for ncrypto (Cheng) #53940 - [
7a1d5a4f84
] - deps: update c-ares to v1.32.2 (Node.js GitHub Bot) #53865 - [
66f6a2aec9
] - deps: V8: cherry-pick9812cb4
(Michaël Zasso) #53966 - [
8e66a18ef0
] - deps: start working on ncrypto dep (James M Snell) #53803 - [
c114082b12
] - deps: fix include_dirs of nbytes (Cheng) #53862 - [
b7315281be
] - doc: move numCPUs require to top of file in cluster CJS example (Alfredo González) #53932 - [
8e7c30c2a4
] - doc: update security-release process to automated one (Rafael Gonzaga) #53877 - [
52a4206be2
] - doc: fix typo in technical-priorities.md (YoonSoo_Shin) #54094 - [
30e18a04a3
] - doc: fix typo in diagnostic tooling support tiers document (Taejin Kim) #54058 - [
58aebfd31e
] - doc: move GeoffreyBooth to TSC regular member (Geoffrey Booth) #54047 - [
c1634c7213
] - doc: correct typescript stdin support (Marco Ippolito) #54036 - [
64812d5c22
] - doc: fix typo in recognizing-contributors (Marco Ippolito) #53990 - [
6b35994b6f
] - doc: fix documentation for--run
(Aviv Keller) #53976 - [
04d203a233
] - doc: update boxstarter README (Aviv Keller) #53785 - [
86fa46db1c
] - doc: add info about prefix-only modules tomodule.builtinModules
(Grigory) #53954 - [
defdc3c568
] - doc: removescroll-behavior: smooth;
(Cloyd Lau) #53942 - [
e907236dd9
] - doc: move --test-coverage-{ex,in}clude to proper location (Colin Ihrig) #53926 - [
8bf9960b98
] - doc: add--experimental-sqlite
note (Aviv Keller) #53907 - [
d7615004d8
] - doc: updateapi_assets
README for new files (Aviv Keller) #53676 - [
63cf715aa0
] - doc: add MattiasBuelens to collaborators (Mattias Buelens) #53895 - [
5b8dd78112
] - doc: fix release date for 22.5.0 (Antoine du Hamel) #53889 - [
dd2c0f349a
] - doc: fix casing of GitHub handle for two collaborators (Antoine du Hamel) #53857 - [
b47c2308e1
] - doc: update release-post nodejs.org script (Rafael Gonzaga) #53762 - [
88539527d5
] - doc, test: tracing channel hasSubscribers getter (Thomas Hunter II) #52908 - [
44a08f75b0
] - doc,tools: enforce use ofnode:
prefix (Antoine du Hamel) #53950 - [
87bab76df2
] - doc,tty: add documentation for ReadStream and WriteStream (jakecastelli) #53567 - [
dcca9ba560
] - esm: refactorget_format
(Antoine du Hamel) #53872 - [
5e03c17aae
] - fs: optimizefs.cpSync
js calls (Yagiz Nizipli) #53614 - [
e0054ee0a7
] - fs: ensure consistency for mkdtemp in both fs and fs/promises (YieldRay) #53776 - [
8086337ea9
] - fs: remove unnecessary option argument validation (Jonas) #53861 - [
b377b93a3f
] - fs: correctly pass dirent to excludewithFileTypes
(RedYetiDev) #53823 - [
68e444d2d8
] - (SEMVER-MINOR) http: add diagnostics channelhttp.client.request.error
(Kohei Ueno) #54054 - [
de1fbc292f
] - (SEMVER-MINOR) inspector: add initial support for network inspection (Kohei Ueno) #53593 - [
744df0be24
] - lib: support dynamic trace events on debugWithTimer (Vinicius Lourenço) #53913 - [
546dab29c1
] - lib: optimize copyError with ObjectAssign in primordials (HEESEUNG) #53999 - [
494df9835a
] - lib: improve cluster/primary code (Ehsan Khakifirooz) #53756 - [
03f353293b
] - lib: improve error message when index not found on cjs (Vinicius Lourenço) #53859 - [
d8375d6236
] - lib: decorate async stack trace in source maps (Chengzhong Wu) #53860 - [
15a94e67b1
] - lib,src: drop --experimental-network-imports (Rafael Gonzaga) #53822 - [
a6eedc401d
] - meta: addsqlite
to js subsystems (Alex Yang) #53911 - [
21098856de
] - meta: move tsc member to emeritus (Michael Dawson) #54029 - [
048d421ad1
] - meta: add jake to collaborators (jakecastelli) #54004 - [
20a8c96c41
] - meta: remove license for hljs (Aviv Keller) #53970 - [
2fd4ac4859
] - meta: make more bug-report information required (Aviv Keller) #53718 - [
b312ec0b0c
] - meta: reword linter messages (Aviv Keller) #53949 - [
d2526126a9
] - meta: store actions secrets in environment (Aviv Keller) #53930 - [
1688f00dce
] - meta: move anonrig to tsc voting members (Yagiz Nizipli) #53888 - [
c20e8418de
] - module: fix strip-types interaction with detect-module (Marco Ippolito) #54164 - [
ab1f0b415f
] - module: fix extensionless typescript in cjs loader (Marco Ippolito) #54062 - [
92439fc160
] - (SEMVER-MINOR) module: add --experimental-strip-types (Marco Ippolito) #53725 - [
f755d31bec
] - node-api: add property keys benchmark (Chengzhong Wu) #54012 - [
7382eefae5
] - node-api: rename nogc to basic (Gabriel Schulhof) #53830 - [
2c4470625b
] - process: unify experimental warning messages (Aviv Keller) #53704 - [
98a7ad2e0d
] - src: expose LookupAndCompile with parameters (Shelley Vohr) #53886 - [
dd3c66be0a
] - src: simplify AESCipherTraits::AdditionalConfig (Tobias Nießen) #53890 - [
ee82f224ff
] - src: remove redundant RsaPointer (use RSAPointer) (James M Snell) #54003 - [
2d77bd2929
] - src: fix -Wshadow warning (Shelley Vohr) #53885 - [
bd4a9ffe8c
] - src: start using ncrypto for CSPRNG calls (James M Snell) #53984 - [
3fdcf7a47d
] - src: returnundefined
if no rows are returned in SQLite (Deokjin Kim) #53981 - [
ca6854443d
] - src: fix slice of slice of file-backed Blob (Josh Lee) #53972 - [
c457f9ed5a
] - src: cache invariant code motion (Rafael Gonzaga) #53879 - [
fd0da6c2cf
] - src: avoid strcmp in ImportJWKAsymmetricKey (Tobias Nießen) #53813 - [
fbf74bcf99
] - src: switch from ToLocalChecked to ToLocal in node_webstorage (James M Snell) #53959 - [
04bb6778e5
] - src: moveToNamespacedPath
call of webstorage (Yagiz Nizipli) #53875 - [
9ffaf763e9
] - src: use Maybe<void> in SecureContext (Tobias Nießen) #53883 - [
a94c3ae06f
] - src: replace ToLocalChecked uses with ToLocal in node-file (James M Snell) #53869 - [
55461be05f
] - src: refactor webstorage implementation (Yagiz Nizipli) #53876 - [
c53cf449a6
] - src: fix env-file flag to ignore spaces before quotes (Mohit Malhotra) #53786 - [
bac3a485f6
] - src: fix potential segmentation fault in SQLite (Tobias Nießen) #53850 - [
df5083e5f9
] - src,lib: expose getCategoryEnabledBuffer to use on node.http (Vinicius Lourenço) #53602 - [
8664b9ad60
] - src,test: disallow unsafe integer coercion in SQLite (Tobias Nießen) #53851 - [
15816bd0dd
] - (SEMVER-MINOR) stream: expose DuplexPair API (Austin Wright) #34111 - [
718f6bc78c
] - test: do not swallow uncaughtException errors in exit code tests (Meghan Denny) #54039 - [
c6656c9251
] - test: move shared module totest/common
(Rich Trott) #54042 - [
e471e32d46
] - test: skip sea tests with more accurate available disk space estimation (Chengzhong Wu) #53996 - [
61971ec929
] - test: remove unnecessary console log (KAYYY) #53812 - [
1344bd2d6f
] - test: add comments and rename test for timer robustness (Rich Trott) #54008 - [
da3573409c
] - test: add test for one arg timers to increase coverage (Carlos Espa) #54007 - [
fc67abd97e
] - test: mark 'test/parallel/test-sqlite.js' as flaky (Colin Ihrig) #54031 - [
aa0ac3b57c
] - test: mark test-pipe-file-to-http as flaky (jakecastelli) #53751 - [
52bc8ec360
] - test: compare paths on Windows without considering case (Early Riser) #53993 - [
7e8a609579
] - test: skip sea tests in large debug builds (Chengzhong Wu) #53918 - [
30a94ca0c4
] - test: skip --title check on IBM i (Abdirahim Musse) #53952 - [
5cea7ed706
] - test: reduce flakiness oftest-assert-esm-cjs-message-verify
(Antoine du Hamel) #53967 - [
58cb0dd8a6
] - test: usePYTHON
executable from env inassertSnapshot
(Antoine du Hamel) #53938 - [
c247582591
] - test: deflake test-blob-file-backed (Luigi Pinca) #53920 - [
3999021653
] - test_runner: switched to internal readline interface (Emil Tayeb) #54000 - [
3fb97a90ee
] - test_runner: remove redundant bootstrap boolean (Colin Ihrig) #54013 - [
edd80e2bdc
] - test_runner: do not throw on mocked clearTimeout() (Aksinya Bykova) #54005 - [
893c864542
] - (SEMVER-MINOR) test_runner: fix support watch with run(), add globPatterns option (Matteo Collina) #53866 - [
4887213f2e
] - test_runner: added colors to dot reporter (Giovanni) #53450 - [
c4848c53e6
] - test_runner: cleanup global event listeners after run (Eddie Abbondanzio) #53878 - [
876e7b3226
] - test_runner: refactor coverage to pass in config options (Colin Ihrig) #53931 - [
f45edb4b5e
] - test_runner: refactor and simplify internals (Colin Ihrig) #53921 - [
6ad6e01bf3
] - (SEMVER-MINOR) test_runner: refactor snapshots to get file from context (Colin Ihrig) #53853 - [
698e44f8e7
] - (SEMVER-MINOR) test_runner: add context.filePath (Colin Ihrig) #53853 - [
97da7ca11b
] - test_runner: consolidate option parsing (Colin Ihrig) #53849 - [
43afcbf9dd
] - tools: fixSLACK_TITLE
in invalid commit workflow (Antoine du Hamel) #53912 - [
eed0963391
] - typings: apply lint (1ilsang) #54065 - [
e8ea49b256
] - typings: fix typo on quic onSessionDatagram (1ilsang) #54064
v22.5.1
: 2024-07-19, Version 22.5.1 (Current), @richardlau
Notable Changes
This release fixes a regression introduced in Node.js 22.5.0. The problem is known to display the following symptoms:
- Crash with
FATAL ERROR: v8::Object::GetCreationContextChecked No creation context available
#53902 - npm errors with
npm error Exit handler never called!
npm/cli#7657 - yarn hangs or outputs
Usage Error: Couldn't find the node_modules state file - running an install might help (findPackageLocation)
yarnpkg/berry#6398
Commits
- [
e2deeedc6e
] - Revert "fs: add v8 fast api to closeSync" (Aviv Keller) #53904
v22.5.0
: 2024-07-17, Version 22.5.0 (Current), @RafaelGSS prepared by @aduh95
Notable Changes
- [
1367c5558e
] - (SEMVER-MINOR) http: expose websockets (Natalia Venditto) #53721 - [
b31394920d
] - (SEMVER-MINOR) lib: addnode:sqlite
module (Colin Ihrig) #53752 - [
aa7df9551d
] - module: add__esModule
torequire()
'd ESM (Joyee Cheung) #52166 - [
8743c4d65a
] - (SEMVER-MINOR) path: addmatchesGlob
method (Aviv Keller) #52881 - [
77936c3d24
] - (SEMVER-MINOR) process: port on-exit-leak-free to core (Vinicius Lourenço) #53239 - [
82d88a83f8
] - (SEMVER-MINOR) stream: pipeline wait for close before calling the callback (jakecastelli) #53462 - [
3a0fcbb17a
] - test_runner: support glob matching coverage files (Aviv Keller) #53553 - [
22ca334090
] - (SEMVER-MINOR) worker: addpostMessageToThread
(Paolo Insogna) #53682
Commits
- [
eb4e370933
] - benchmark: add require-esm benchmark (Joyee Cheung) #52166 - [
4d4a8338db
] - benchmark: add cpSync benchmark (Yagiz Nizipli) #53612 - [
3d60b38afa
] - build: fix build warning of c-ares under GN build (Cheng) #53750 - [
a45c801048
] - build: fix build error in sqlite under GN build (Cheng) #53686 - [
40032eb623
] - build: add gn files for deps/nbytes (Cheng) #53685 - [
082799debb
] - build: fix mac build error of c-ares under GN (Cheng) #53687 - [
b05394ea6a
] - build: add version-specific library path for AIX (Richard Lau) #53585 - [
6237172eaf
] - cli: updatenode.1
to reflect Atom's sunset (Aviv Keller) #53734 - [
5697938cb7
] - crypto: avoid std::function (Tobias Nießen) #53683 - [
3cc01aa314
] - crypto: make deriveBits length parameter optional and nullable (Filip Skokan) #53601 - [
f82e20fdea
] - crypto: avoid taking ownership of OpenSSL objects (Tobias Nießen) #53460 - [
ad1e5610ec
] - deps: update googletest to4b21f1a
(Node.js GitHub Bot) #53842 - [
d285d610a0
] - deps: update minimatch to 10.0.1 (Node.js GitHub Bot) #53841 - [
70f5209c9f
] - deps: update corepack to 0.29.2 (Node.js GitHub Bot) #53838 - [
4930e12a45
] - deps: update simdutf to 5.3.0 (Node.js GitHub Bot) #53837 - [
d346833364
] - deps: update ada to 2.9.0 (Node.js GitHub Bot) #53748 - [
ab8abb5367
] - deps: upgrade npm to 10.8.2 (npm team) #53799 - [
1ad664905a
] - deps: update nbytes and add update script (Yagiz Nizipli) #53790 - [
a66f11e798
] - deps: update googletest to34ad51b
(Node.js GitHub Bot) #53157 - [
9bf61d6a0d
] - deps: update googletest to305e5a2
(Node.js GitHub Bot) #53157 - [
8542ace488
] - deps: V8: cherry-pick9ebca66
(Chengzhong Wu) #53755 - [
29a734c21d
] - deps: V8: cherry-picke061cf9
(Joyee Cheung) #53755 - [
c7624af44a
] - deps: update c-ares to v1.32.1 (Node.js GitHub Bot) #53753 - [
bbcec9e129
] - deps: update minimatch to 9.0.5 (Node.js GitHub Bot) #53646 - [
76032fd980
] - deps: update c-ares to v1.32.0 (Node.js GitHub Bot) #53722 - [
26386046ad
] - doc: move MylesBorins to emeritus (Myles Borins) #53760 - [
362875bda0
] - doc: add Rafael to the last security release (Rafael Gonzaga) #53769 - [
a1a5ad848d
] - doc: use mock.callCount() in examples (Sébastien Règne) #53754 - [
bb960c5471
] - doc: clarify authenticity of plaintexts in update (Tobias Nießen) #53784 - [
5dd3018eb4
] - doc: add option to have support me link (Michael Dawson) #53312 - [
0f95ad3d7d
] - doc: add OpenSSL security level to TLS docs (Afanasii Kurakin) #53647 - [
2d92ec2831
] - doc: updatescroll-padding-top
to 4rem (Cloyd Lau) #53662 - [
933359a786
] - doc: mention v8.setFlagsFromString to pm (Rafael Gonzaga) #53731 - [
e17c2618e3
] - doc: remove the last <pre> tag (Claudio W) #53741 - [
7f18a5f47a
] - doc: exclude voting and regular TSC from spotlight (Michael Dawson) #53694 - [
df3dcd1bd1
] - doc: fix releases guide for recent Git versions (Michaël Zasso) #53709 - [
50987ea833
] - doc: requirenode:process
in assert doc examples (Alfredo González) #53702 - [
fa58d01497
] - doc: add additional explanation to the wildcard section in permissions (jakecastelli) #53664 - [
28bf1e48ef
] - doc: mark NODE_MODULE_VERSION for Node.js 22.0.0 (Michaël Zasso) #53650 - [
1cc0b41f00
] - doc: include node.module_timer on available categories (Vinicius Lourenço) #53638 - [
d224e9eab5
] - doc: fix module customization hook examples (Elliot Goodrich) #53637 - [
2cf60964e6
] - doc: fix doc for correct usage with plan & TestContext (Emil Tayeb) #53615 - [
6df86ae056
] - doc: remove some news issues that are no longer (Michael Dawson) #53608 - [
42b9408f3e
] - doc: add issue for news from ambassadors (Michael Dawson) #53607 - [
2d1ff91953
] - doc: add esm example for os (Leonardo Peixoto) #53604 - [
de99d69d75
] - doc: clarify usage of coverage reporters (Eliphaz Bouye) #53523 - [
519c328dcf
] - doc: document addition testing options (Aviv Keller) #53569 - [
c6166cdfe4
] - doc: clarify that fs.exists() may return false for existing symlink (Tobias Nießen) #53566 - [
9139ab2848
] - doc: note http.closeAllConnections excludes upgraded sockets (Rob Hogan) #53560 - [
19b3718ee1
] - doc, meta: add PTAL to glossary (Aviv Keller) #53770 - [
80c1f5ce8a
] - doc, typings: events.once accepts symbol event type (René) #53542 - [
1a21e0f61e
] - esm: improvedefaultResolve
performance (Yagiz Nizipli) #53711 - [
262f2cb3b6
] - esm: remove unnecessary toNamespacedPath calls (Yagiz Nizipli) #53656 - [
e29c9453a9
] - esm: move hooks test with others (Geoffrey Booth) #53558 - [
8368555289
] - fs: add v8 fast api to closeSync (Yagiz Nizipli) #53627 - [
628a539810
] - fs: reduce throwing unnecessary errors on glob (Yagiz Nizipli) #53632 - [
076e82ca40
] - fs: moveToNamespacedPath
dir calls to c++ (Yagiz Nizipli) #53630 - [
128e514d81
] - fs: improve error performance offs.dir
(Yagiz Nizipli) #53667 - [
603c2c5c08
] - fs: fix typings (Yagiz Nizipli) #53626 - [
1367c5558e
] - (SEMVER-MINOR) http: expose websockets (Natalia Venditto) #53721 - [
7debb6c36e
] - http: remove prototype primordials (Antoine du Hamel) #53698 - [
b13aea5698
] - http, readline: replace sort with toSorted (Benjamin Gruenbaum) #53623 - [
1397f5d9f4
] - http2: remove prototype primordials (Antoine du Hamel) #53696 - [
f57d3cee2c
] - lib: make navigator not runtime-lookup process.version/arch/platform (Jordan Harband) #53765 - [
0a01abbd45
] - lib: refactorplatform
utility methods (Daniel Bayley) #53817 - [
afe7f4f819
] - lib: remove path.resolve from permissions.js (Rafael Gonzaga) #53729 - [
cbe77b30ca
] - lib: moveToNamespacedPath
call to c++ (Yagiz Nizipli) #53654 - [
0f146aac2c
] - lib: make navigator properties lazy (James M Snell) #53649 - [
0540308bd7
] - lib: add toJSON to PerformanceMeasure (theanarkh) #53603 - [
b31394920d
] - (SEMVER-MINOR) lib,src,test,doc: add node:sqlite module (Colin Ihrig) #53752 - [
1a7c2dc5ea
] - meta: remove redudant logging from dep updaters (Aviv Keller) #53783 - [
ac5d7b709d
] - meta: change email address of anonrig (Yagiz Nizipli) #53829 - [
085ec5533c
] - meta: addnode_sqlite.c
to MR label config (Aviv Keller) #53797 - [
c68d873e99
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #53758 - [
5ae8ea489d
] - meta: use HTML entities in commit-queue comment (Aviv Keller) #53744 - [
ecd8fceb68
] - meta: move regular TSC member to emeritus (Michael Dawson) #53693 - [
05058f9809
] - meta: bump codecov/codecov-action from 4.4.1 to 4.5.0 (dependabot[bot]) #53675 - [
e272ffa3d6
] - meta: bump mozilla-actions/sccache-action from 0.0.4 to 0.0.5 (dependabot[bot]) #53674 - [
a39407560c
] - meta: bump github/codeql-action from 3.25.7 to 3.25.11 (dependabot[bot]) #53673 - [
e4ce92ee31
] - meta: bump actions/checkout from 4.1.6 to 4.1.7 (dependabot[bot]) #53672 - [
4cf98febe7
] - meta: bump peter-evans/create-pull-request from 6.0.5 to 6.1.0 (dependabot[bot]) #53671 - [
c28af95bf5
] - meta: bump step-security/harden-runner from 2.8.0 to 2.8.1 (dependabot[bot]) #53670 - [
dd2157bc83
] - meta: move member from TSC regular to emeriti (Michael Dawson) #53599 - [
508abfe178
] - meta: warnings bypass deprecation cycle (Benjamin Gruenbaum) #53513 - [
3c5ec839e3
] - meta: prevent constant references to issues in versioning (Aviv Keller) #53564 - [
aa7df9551d
] - module: add __esModule to require()'d ESM (Joyee Cheung) #52166 - [
8743c4d65a
] - (SEMVER-MINOR) path: addmatchesGlob
method (Aviv Keller) #52881 - [
77936c3d24
] - (SEMVER-MINOR) process: port on-exit-leak-free to core (Vinicius Lourenço) #53239 - [
5e4ca9fbb6
] - src: update outdated references to spec sections (Tobias Nießen) #53832 - [
c22d9d5167
] - src: use Maybe<void> in ManagedEVPPKey (Tobias Nießen) #53811 - [
d41ed44f49
] - src: moveloadEnvFile
toNamespacedPath call (Yagiz Nizipli) #53658 - [
dc99dd391f
] - src: fix error handling in ExportJWKAsymmetricKey (Tobias Nießen) #53767 - [
ab1e03e8cd
] - src: use Maybe<void> in node::crypto::error (Tobias Nießen) #53766 - [
9bde9b254d
] - src: fix implementation ofPropertySetterCallback
(Igor Sheludko) #53576 - [
021e2cf40f
] - src: remove unused ContextifyContext::WeakCallback (Chengzhong Wu) #53517 - [
87121a17c4
] - src: fix typo in node.h (Daeyeon Jeong) #53759 - [
94c7054c8d
] - src: document the Node.js context embedder data (Joyee Cheung) #53611 - [
c181940e83
] - src: zero-initialize data that are copied into the snapshot (Joyee Cheung) #53563 - [
8cda2db64c
] - Revert "src: make sure that memcpy-ed structs in snapshot have no padding" (Joyee Cheung) #53563 - [
81767f6089
] - src: fix Worker termination when '--inspect-brk' is passed (Daeyeon Jeong) #53724 - [
a9db553935
] - src: refactor embedded entrypoint loading (Joyee Cheung) #53573 - [
3ab8aba478
] - src: do not get string_view from temp string (Cheng) #53688 - [
664bf6c28f
] - src: replacekPathSeparator
with std::filesystem (Yagiz Nizipli) #53063 - [
cc1f49751a
] - src: moveFromNamespacedPath
to path.cc (Yagiz Nizipli) #53540 - [
e43a4e07ec
] - src: usestarts_with
in node_dotenv.cc (Yagiz Nizipli) #53539 - [
19488fd4ce
] - src,test: further cleanup references to osx (Daniel Bayley) #53820 - [
4bf62f6cbd
] - stream: improve inspector ergonomics (Benjamin Gruenbaum) #53800 - [
82d88a83f8
] - (SEMVER-MINOR) stream: pipeline wait for close before calling the callback (jakecastelli) #53462 - [
53a7dd7790
] - test: update wpt test (Mert Can Altin) #53814 - [
bc480902ab
] - test: update WPT WebIDL interfaces (Filip Skokan) #53720 - [
d13153d90f
] - test: un-set inspector-async-hook-setup-at-inspect-brk as flaky (Abdirahim Musse) #53692 - [
ac9c2e6bf2
] - test: use python3 instead of python in pummel test (Mathis Wiehl) #53057 - [
bac28678e6
] - test: do not assume cwd in snapshot tests (Antoine du Hamel) #53146 - [
41e106c0c6
] - test: useSet.difference()
(Richard Lau) #53597 - [
8aab680f66
] - test: fix OpenSSL version checks (Richard Lau) #53503 - [
6aa4f0f266
] - test: refactor, add assertion to http-request-end (jakecastelli) #53411 - [
fbc5cbb617
] - test_runner: remove plan option from run() (Colin Ihrig) #53834 - [
c590828ad8
] - test_runner: fix escaping in snapshot tests (Julian Kniephoff) #53833 - [
3a0fcbb17a
] - test_runner: support glob matching coverage files (Aviv Keller) #53553 - [
e6a1eeb73d
] - test_runner: support module detection in module mocks (Geoffrey Booth) #53642 - [
4d777de7d4
] - tls: add setKeyCert() to tls.Socket (Brian White) #53636 - [
ab9adfc42a
] - tls: remove prototype primordials (Antoine du Hamel) #53699 - [
03d378ffb9
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #53840 - [
06377b1b11
] - tools: update eslint to 9.7.0 (Node.js GitHub Bot) #53839 - [
d6629a2d84
] - tools: use v8_features.json to populate config.gypi (Cheng) #53749 - [
d3653fe8ac
] - tools: update eslint to 9.6.0 (Node.js GitHub Bot) #53645 - [
1e930e93d4
] - tools: update lint-md-dependencies to unified@11.0.5 (Node.js GitHub Bot) #53555 - [
317a13b30f
] - tools: replace reference to NodeMainInstance with SnapshotBuilder (codediverdev) #53544 - [
0e25faea0a
] - typings: addfs_dir
types (Yagiz Nizipli) #53631 - [
7637f291be
] - url: fix typo (KAYYY) #53827 - [
2c6548afd1
] - url: reduce unnecessary string copies (Yagiz Nizipli) #53628 - [
0f2b57d1bc
] - url: make URL.parse enumerable (Filip Skokan) #53720 - [
1300169f80
] - url: add missing documentation forURL.parse()
(Yagiz Nizipli) #53733 - [
c55e72ed8b
] - util: fix crashing when emitting new Buffer() deprecation warning #53075 (Aras Abbasi) #53089 - [
5aa216320e
] - v8: moveToNamespacedPath
to c++ (Yagiz Nizipli) #53655 - [
9fd976b09d
] - vm,src: add property query interceptors (Chengzhong Wu) #53517 - [
22ca334090
] - (SEMVER-MINOR) worker: add postMessageToThread (Paolo Insogna) #53682 - [
5aecbefbd5
] - worker: allow copied NODE_OPTIONS in the env setting (Joyee Cheung) #53596
v22.4.1
: 2024-07-08, Version 22.4.1 (Current), @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
- [
110902ff5e
] - lib,esm: handle bypass network-import via data: (RafaelGSS) nodejs-private/node-private#522 - [
0a0de3d491
] - lib,permission: support fs.lstat (RafaelGSS) - [
93574335ff
] - lib,permission: disable fchmod/fchown when pm enabled (RafaelGSS) nodejs-private/node-private#584 - [
09899e6302
] - src: handle permissive extension on cmd check (RafaelGSS) nodejs-private/node-private#596 - [
5d9c811634
] - src,permission: fix UNC path resolution (RafaelGSS) nodejs-private/node-private#581
v22.4.0
: 2024-07-02, Version 22.4.0 (Current), @targos
Notable Changes
Experimental Web Storage API
- [
9e30724b53
] - (SEMVER-MINOR) deps,lib,src: add experimental web storage (Colin Ihrig) #52435
API stability updates
- [
201266706b
] - doc: movenode --run
stability to rc (Yagiz Nizipli) #53433 - [
16c0884d48
] - doc: mark WebSocket as stable (Matthew Aitken) #53352 - [
cf375e73c1
] - doc: mark --heap-prof and related flags stable (Joyee Cheung) #53343 - [
0160745057
] - doc: mark --cpu-prof and related flags stable (Joyee Cheung) #53343
Other Notable Changes
- [
df4762722c
] - doc: doc-only deprecate OpenSSL engine-based APIs (Richard Lau) #53329 - [
ad5282e196
] - inspector: fix disable async hooks onDebugger.setAsyncCallStackDepth
(Joyee Cheung) #53473 - [
e95af740fc
] - (SEMVER-MINOR) lib: add diagnostics_channel events to module loading (RafaelGSS) #44340 - [
50733a1abe
] - (SEMVER-MINOR) util: support--no-
for argument with boolean type for parseArgs (Zhenwei Jin) #53107
Commits
- [
9f32002397
] - assert,util: correct comparison when both contain same reference (Daniel Lemire) #53431 - [
dfdc062111
] - buffer: make indexOf(byte) faster (Tobias Nießen) #53455 - [
1de437527e
] - build: configure with shared sqlite3 (Chengzhong Wu) #53519 - [
c7d44ba1f3
] - build: find version of Clang installed on Windows (Stefan Stojanovic) #53228 - [
36aad8b204
] - build: fix spacing before NINJA_ARGS (jakecastelli) #53181 - [
82092cdaa3
] - crypto: improve GetECGroupBits signature (Tobias Nießen) #53364 - [
073c231607
] - deps: update c-ares to v1.31.0 (Node.js GitHub Bot) #53554 - [
977beab729
] - (SEMVER-MINOR) deps: sqlite: fix Windows compilation (Colin Ihrig) #52435 - [
e69b8d202c
] - deps: update undici to 6.19.2 (Node.js GitHub Bot) #53468 - [
c4a7e051c8
] - deps: update undici to 6.19.1 (Node.js GitHub Bot) #53468 - [
fa34f8fcf0
] - deps: update undici to 6.19.1 (Node.js GitHub Bot) #53468 - [
0b40bfad43
] - deps: update undici to 6.19.0 (Node.js GitHub Bot) #53468 - [
1877f22a79
] - deps: update simdjson to 3.9.4 (Node.js GitHub Bot) #53467 - [
1b84964b8d
] - deps: patch V8 to 12.4.254.21 (Node.js GitHub Bot) #53470 - [
6acadeb59b
] - deps: update acorn-walk to 8.3.3 (Node.js GitHub Bot) #53466 - [
7a7f438841
] - deps: update zlib to 1.3.0.1-motley-209717d (Node.js GitHub Bot) #53156 - [
bf891bf64c
] - deps: update c-ares to v1.30.0 (Node.js GitHub Bot) #53416 - [
bd68888261
] - deps: V8: cherry-picka3cc852
(kxxt) #53412 - [
2defaaf771
] - deps: V8: cherry-pick6ea594f
(kxxt) #53412 - [
9e30724b53
] - (SEMVER-MINOR) deps,lib,src: add experimental web storage (Colin Ihrig) #52435 - [
608cc05de1
] - doc: recommend not using libuv node-api function (Michael Dawson) #53521 - [
30858eca59
] - doc: add additional guidance for MRs to deps (Michael Dawson) #53499 - [
a5852cc710
] - doc: only apply content-visibility on all.html (Filip Skokan) #53510 - [
befabe5c58
] - doc: update the description of the return type for options.filter (Zhenwei Jin) #52742 - [
5ed1a036ba
] - doc: remove first timer badge (Aviv Keller) #53338 - [
201266706b
] - doc: movenode --run
stability to rc (Yagiz Nizipli) #53433 - [
46a7681cc4
] - doc: add Buffer.from(string) to functions that use buffer pool (Christian Bates-White) #52801 - [
ec5364f6de
] - doc: add initial text for ambassadors program (Michael Dawson) #52857 - [
fa113b8fc7
] - doc: fix typo (EhsanKhaki) #53397 - [
d9182d0086
] - doc: define more cases for stream event emissions (Aviv Keller) #53317 - [
923d24b6f2
] - doc: remove mentions of policy model from security info (Aviv Keller) #53249 - [
48f78cd31b
] - doc: fix mistakes in the moduleload
hook api (István Donkó) #53349 - [
16c0884d48
] - doc: mark WebSocket as stable (Matthew Aitken) #53352 - [
df4762722c
] - doc: doc-only deprecate OpenSSL engine-based APIs (Richard Lau) #53329 - [
cf375e73c1
] - doc: mark --heap-prof and related flags stable (Joyee Cheung) #53343 - [
0160745057
] - doc: mark --cpu-prof and related flags stable (Joyee Cheung) #53343 - [
6e12d9f049
] - doc: remove IRC from man page (Tobias Nießen) #53344 - [
24c7a9415b
] - doc, http: addrejectNonStandardBodyWrites
option, clear its behaviour (jakecastelli) #53396 - [
ec38f3dc6a
] - doc, meta: organize contributing to Node-API guide (Aviv Keller) #53243 - [
cf5a973c42
] - doc, meta: use markdown rather than HTML in CONTRIBUTING.md (Aviv Keller) #53235 - [
105b006fd2
] - fs: moveToNamespacedPath
to c++ (Yagiz Nizipli) #52135 - [
568377f7f0
] - fs: do not crash if the watched file is removed while setting up watch (Matteo Collina) #53452 - [
fad179307c
] - fs: add fast api forInternalModuleStat
(Yagiz Nizipli) #51344 - [
41100b65f6
] - http2: reject failed http2.connect when used with promisify (ehsankhfr) #53475 - [
ad5282e196
] - inspector: fix disable async hooks on Debugger.setAsyncCallStackDepth (Joyee Cheung) #53473 - [
b5fc227344
] - lib: fix typo in comment (codediverdev) #53543 - [
e95af740fc
] - (SEMVER-MINOR) lib: add diagnostics_channel events to module loading (RafaelGSS) #44340 - [
123910f1de
] - lib: remove the unused code (theanarkh) #53463 - [
452011b719
] - lib: speed up MessageEvent creation internally (Matthew Aitken) #52951 - [
710cf7758c
] - lib: reduce amount of caught URL errors (Yagiz Nizipli) #52658 - [
45b59e58d1
] - lib: fix naming convention ofSymbol
(Deokjin Kim) #53387 - [
515dd24ee7
] - lib: fix timer leak (theanarkh) #53337 - [
77166137be
] - meta: use correct source for workflow in MR (Aviv Keller) #53490 - [
d1c10fee53
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #53480 - [
a5026386bf
] - meta: fix typo in dependency updates (Aviv Keller) #53471 - [
0b9191da99
] - meta: bump step-security/harden-runner from 2.7.1 to 2.8.0 (dependabot[bot]) #53245 - [
49cfb9d001
] - src: resetprocess.versions
during pre-execution (Richard Lau) #53444 - [
15df4edd22
] - src: useargs.This()
instead ofHolder
(Michaël Zasso) #53474 - [
e16a04e852
] - src: fix dynamically linked OpenSSL version (Richard Lau) #53456 - [
5961253824
] - src: removebase64
fromprocess.versions
(Richard Lau) #53442 - [
11dd15c0b5
] - src: removeSetEncoding
from StringEncoder (Yagiz Nizipli) #53441 - [
0c7e69acd2
] - src: simplifysize() == 0
checks (Yagiz Nizipli) #53440 - [
f077afafda
] - src: add utilities to help debugging reproducibility of snapshots (Joyee Cheung) #50983 - [
004b9ea4c4
] - src: make sure that memcpy-ed structs in snapshot have no padding (Joyee Cheung) #50983 - [
bfc5236423
] - src: return non-empty data in context data serializer (Joyee Cheung) #50983 - [
955454ba4d
] - src: fix typo in env.cc (EhsanKhaki) #53418 - [
7d8787768c
] - src: avoid strcmp in favor of operator== (Tobias Nießen) #53439 - [
599e7c3d8e
] - src: remove ArrayBufferAllocator::Reallocate override (Shu-yu Guo) #52910 - [
f9075ff38e
] - src: print v8::OOMDetails::detail when it's available (Joyee Cheung) #53360 - [
4704270443
] - src: fix IsIPAddress for IPv6 (Hüseyin Açacak) #53400 - [
63f62d76de
] - src: fix permission inspector crash (theanarkh) #53389 - [
70bbc02dac
] - src, deps: add nbytes library (James M Snell) #53507 - [
8b877099d0
] - stream: update outdated highwatermark doc (Jay Kim) #53494 - [
eded1e9768
] - stream: support dispose in writable (Benjamin Gruenbaum) #48547 - [
b3372a8b0e
] - stream: callback should be called when pendingcb is 0 (jakecastelli) #53438 - [
f4efb7f625
] - stream: make sure _destroy is called (jakecastelli) #53213 - [
7dde37591c
] - stream: prevent stream unexpected pause when highWaterMark set to 0 (jakecastelli) #53261 - [
6e66d9763f
] - test: marktest-benchmark-crypto
as flaky (Antoine du Hamel) #52955 - [
1eebcbf9bf
] - test: skip reproducible snapshot test on 32-bit (Michaël Zasso) #53592 - [
91b2850303
] - test: extend env fortest-node-output-errors
(Richard Lau) #53535 - [
bcad560726
] - test: updatecompression
web-platform tests (Yagiz Nizipli) #53478 - [
b8f436c755
] - test: update encoding web-platform tests (Yagiz Nizipli) #53477 - [
d2c169a4f6
] - test: updateurl
web-platform tests (Yagiz Nizipli) #53472 - [
513e6aa4c7
] - test: check against run-time OpenSSL version (Richard Lau) #53456 - [
602b9d63c4
] - test: update tests for OpenSSL 3.0.14 (Richard Lau) #53373 - [
4a3525bb08
] - test: fix test-http-server-keepalive-req-gc (Etienne Pierre-doray) #53292 - [
7349edb28b
] - test: update TLS tests for OpenSSL 3.2 (Richard Lau) #53384 - [
a11a05763d
] - tls: check result of SSL_CTX_set_*_proto_version (Tobias Nießen) #53459 - [
4b47f89eb2
] - tls: avoid taking ownership of OpenSSL objects (Tobias Nießen) #53436 - [
ac8adeb99f
] - tls: use SSL_get_peer_tmp_key (Tobias Nießen) #53366 - [
d5c380bb09
] - tools: lock versions of irrelevant DB deps (Michaël Zasso) #53546 - [
71321bb249
] - tools: fix skip detection of test runner output (Richard Lau) #53545 - [
ca198f4125
] - tools: update eslint to 9.5.0 (Node.js GitHub Bot) #53515 - [
30fdd482a1
] - tools: move ESLint to tools/eslint (Michaël Zasso) #53413 - [
fe85e05ba9
] - tools: fix c-ares update script (Marco Ippolito) #53414 - [
8eb7bdf81b
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #53158 - [
9ece63d415
] - tools: do not run Corepack code before it's reviewed (Antoine du Hamel) #53405 - [
ab2021492b
] - tools: move ESLint tools to tools/eslint (Michaël Zasso) #53393 - [
78a9037a6d
] - tools: use Ubuntu 24.04 and Clang on GitHub actions (Michaël Zasso) #53212 - [
855eb25dad
] - tools: add stream label on MR when related files being changed in lib (jakecastelli) #53269 - [
50733a1abe
] - (SEMVER-MINOR) util: support--no-
for argument with boolean type for parseArgs (Zhenwei Jin) #53107
v22.3.0
: 2024-06-11, Version 22.3.0 (Current), @RafaelGSS
Notable Changes
- [
5a41bcf9ca
] - (SEMVER-MINOR) src: traverse parent folders while running--run
(Yagiz Nizipli) #53154 - [
1d5934524b
] - (SEMVER-MINOR) buffer: add .bytes() method to Blob (Matthew Aitken) #53221 - [
75e5612fae
] - (SEMVER-MINOR) src,permission: --allow-wasi & prevent WASI exec (Rafael Gonzaga) #53124 - [
b5c30e2f5e
] - (SEMVER-MINOR) module: print amount of load time of a cjs module (Vinicius Lourenço) #52213 - [
8c6dffc269
] - (SEMVER-MINOR) test_runner: add snapshot testing (Colin Ihrig) #53169 - [
048478d351
] - (SEMVER-MINOR) doc: add context.assert docs (Colin Ihrig) #53169 - [
f6d2af8ee7
] - (SEMVER-MINOR) test_runner: add context.fullName (Colin Ihrig) #53169 - [
a0766bdf0e
] - (SEMVER-MINOR) net: add new net.server.listen tracing channel (Paolo Insogna) #53136 - [
374743cd4e
] - (SEMVER-MINOR) process: add process.getBuiltinModule(id) (Joyee Cheung) #52762 - [
1eb55f3550
] - (SEMVER-MINOR) doc: improve explanation about built-in modules (Joyee Cheung) #52762 - [
6165894774
] - fs: mark recursive cp methods as stable (Théo LUDWIG) #53127 - [
db5dd0c6df
] - doc: add StefanStojanovic to collaborators (StefanStojanovic) #53118 - [
cfcde78513
] - (SEMVER-MINOR) cli: addNODE_RUN_PACKAGE_JSON_PATH
env (Yagiz Nizipli) #53058 - [
7a67ecf161
] - (SEMVER-MINOR) test_runner: support module mocking (Colin Ihrig) #52848 - [
ee56aecced
] - (SEMVER-MINOR) lib: add EventSource Client (Aras Abbasi) #51575 - [
6413769bc7
] - (SEMVER-MINOR) lib: replace MessageEvent with undici's (Matthew Aitken) #52370 - [
c70b2f7a76
] - (SEMVER-MINOR) cli: addNODE_RUN_SCRIPT_NAME
env tonode --run
(Yagiz Nizipli) #53032 - [
badec0c38b
] - doc: add Marco Ippolito to TSC (Rafael Gonzaga) #53008
Commits
- [
feb0ba2860
] - benchmark: fix napi/ref addon (Michaël Zasso) #53233 - [
bb844de4e1
] - benchmark: fix api restriction for the permission category (Ryan Tsien) #51528 - [
1d5934524b
] - (SEMVER-MINOR) buffer: add .bytes() method to Blob (Matthew Aitken) #53221 - [
d87f9af5aa
] - buffer: make compare/equals faster (Tobias Nießen) #52993 - [
ec83431d71
] - build: generate binlog in out directories (Chengzhong Wu) #53325 - [
0976439417
] - build: fix --v8-lite-mode build (Daeyeon Jeong) #52725 - [
350c733ae6
] - build: support python 3.13 (Chengzhong Wu) #53190 - [
74cefa55a2
] - build: update ruff to v0.4.5 (Yagiz Nizipli) #53180 - [
33242ff042
] - build: add--skip-tests
totest-ci-js
target (Antoine du Hamel) #53105 - [
edcadf7f8a
] - build: fix building embedtest in GN build (Cheng) #53145 - [
d711942fce
] - build: use broader detection for 'help' (Aviv Keller) #53045 - [
ca655b61a7
] - build: fix -j propagation to ninja (Tobias Nießen) #53088 - [
5fba67ff9f
] - build: exit on unsupported host OS for Android (Mohammed Keyvanzadeh) #52882 - [
b7d7e9a084
] - build: fix--enable-d8
builds (Richard Lau) #53106 - [
14547c5d32
] - build: fix ./configure --help format error (Zhenwei Jin) #53066 - [
f9490806d3
] - build: set "clang" in config.gypi in GN build (Cheng) #53004 - [
638b510ce7
] - cli: add--expose-gc
flag available toNODE_OPTIONS
(Juan José) #53078 - [
cfcde78513
] - (SEMVER-MINOR) cli: addNODE_RUN_PACKAGE_JSON_PATH
env (Yagiz Nizipli) #53058 - [
c70b2f7a76
] - (SEMVER-MINOR) cli: addNODE_RUN_SCRIPT_NAME
env tonode --run
(Yagiz Nizipli) #53032 - [
34f20983fd
] - crypto: fix propagation of "memory limit exceeded" (Tobias Nießen) #53300 - [
fef067f4f4
] - deps: update nghttp2 to 1.62.1 (Node.js GitHub Bot) #52966 - [
fc949928ac
] - deps: update nghttp2 to 1.62.0 (Node.js GitHub Bot) #52966 - [
4a17dda8dc
] - deps: update undici to 6.18.2 (Node.js GitHub Bot) #53255 - [
e45cc2a551
] - deps: update ada to 2.8.0 (Node.js GitHub Bot) #53254 - [
77907a2619
] - deps: update corepack to 0.28.2 (Node.js GitHub Bot) #53253 - [
b688050778
] - deps: update simdjson to 3.9.3 (Node.js GitHub Bot) #53252 - [
6303f19cbe
] - deps: patch V8 to 12.4.254.20 (Node.js GitHub Bot) #53159 - [
257004c68f
] - deps: update c-ares to 1.29.0 (Node.js GitHub Bot) #53155 - [
0b375a3e36
] - deps: upgrade npm to 10.8.1 (npm team) #53207 - [
728c861b1c
] - deps: fix FP16 bitcasts.h (Stefan Stojanovic) #53134 - [
52a78737b1
] - deps: patch V8 to 12.4.254.19 (Node.js GitHub Bot) #53094 - [
4d27b32e58
] - deps: update undici to 6.18.1 (Node.js GitHub Bot) #53073 - [
b94199240b
] - deps: update undici to 6.18.0 (Node.js GitHub Bot) #53073 - [
793af1b3e7
] - deps: update undici to 6.17.0 (Node.js GitHub Bot) #53034 - [
fe00becc03
] - deps: update undici to 6.16.1 (Node.js GitHub Bot) #52948 - [
96f72ae54f
] - deps: update undici to 6.15.0 (Matthew Aitken) #52763 - [
af60fbb12b
] - deps: update googletest to33af80a
(Node.js GitHub Bot) #53053 - [
7b929df489
] - deps: patch V8 to 12.4.254.18 (Node.js GitHub Bot) #53054 - [
626037c0fc
] - deps: update zlib to 1.3.0.1-motley-4f653ff (Node.js GitHub Bot) #53052 - [
6d8589e558
] - deps: patch V8 to 12.4.254.17 (Node.js GitHub Bot) #52980 - [
fd91eaab34
] - deps: upgrade npm to 10.8.0 (npm team) #53014 - [
133cae0732
] - doc: fix broken link instatic-analysis.md
(Richard Lau) #53345 - [
7bc5f964fd
] - doc: indicate requirement on VS 17.6 or newer (Chengzhong Wu) #53301 - [
8c71522ced
] - doc: remove cases for keys not containing "*" in PATTERN_KEY_COMPARE (Maarten Zuidhoorn) #53215 - [
718a3ab1ab
] - doc: add err param to fs.cp callback (Feng Yu) #53234 - [
d89bde26ff
] - doc: adderr
param to fs.copyFile callback (Feng Yu) #53234 - [
91971ee344
] - doc: reserve 128 for Electron 32 (Keeley Hammond) #53203 - [
812f0e9e14
] - doc: add note to ninjia build for macOS using -jn flag (jakecastelli) #53187 - [
048478d351
] - (SEMVER-MINOR) doc: add context.assert docs (Colin Ihrig) #53169 - [
c391923445
] - doc: include ESM import for HTTP (Aviv Keller) #53165 - [
1eb55f3550
] - (SEMVER-MINOR) doc: improve explanation about built-in modules (Joyee Cheung) #52762 - [
67a766f7d4
] - doc: fix minor grammar and style issues in SECURITY.md (Rich Trott) #53168 - [
afbfe8922a
] - doc: mention pm is not enforced when using fd (Rafael Gonzaga) #53125 - [
1702d2632e
] - doc: fix format inesm.md
(Pop Moore) #53170 - [
070577e7d7
] - doc: fix wrong variable name in example oftimers.tick()
(Deokjin Kim) #53147 - [
7147c1df1f
] - doc: fix wrong function name in example ofcontext.plan()
(Deokjin Kim) #53140 - [
cf47384148
] - doc: add note for windows users and symlinks (Aviv Keller) #53117 - [
088dff1074
] - doc: move all TLS-PSK documentation to its section (Alba Mendez) #35717 - [
db5dd0c6df
] - doc: add StefanStojanovic to collaborators (StefanStojanovic) #53118 - [
0f0bc98ad7
] - doc: improve ninja build for --built-in-modules-path (jakecastelli) #53007 - [
4c65c52d30
] - doc: avoid hiding by navigation bar in anchor jumping (Cloyd Lau) #45131 - [
63fcbcfd62
] - doc: remove unavailable youtube link in pull requests (Deokjin Kim) #52982 - [
77fd504636
] - doc: add missing supported timer values intimers.enable()
(Deokjin Kim) #52969 - [
6708536b03
] - fs: fix cp dir/non-dir mismatch error messages (Mathis Wiehl) #53150 - [
6165894774
] - fs: mark recursive cp methods as stable (Théo LUDWIG) #53127 - [
7940db7be1
] - fs: remove basename in favor of std::filesystem (Yagiz Nizipli) #53062 - [
505e9a425b
] - lib: fix misleading argument of validateUint32 (Tobias Nießen) #53307 - [
98ae1ebdd6
] - lib: fix the name of the fetch global function (Gabriel Bota) #53227 - [
fe007cd1b4
] - lib: allow CJS source map cache to be reclaimed (Chengzhong Wu) #51711 - [
040be4a7b4
] - lib: do not call callback if socket is closed (theanarkh) #52829 - [
ee56aecced
] - (SEMVER-MINOR) lib: add EventSource Client (Aras Abbasi) #51575 - [
6413769bc7
] - (SEMVER-MINOR) lib: replace MessageEvent with undici's (Matthew Aitken) #52370 - [
879679e5a3
] - lib,doc: replace references to import assertions (Michaël Zasso) #52998 - [
062a0c6f67
] - meta: bump ossf/scorecard-action from 2.3.1 to 2.3.3 (dependabot[bot]) #53248 - [
e59b744b30
] - meta: bump actions/checkout from 4.1.4 to 4.1.6 (dependabot[bot]) #53247 - [
96924f48a0
] - meta: bump github/codeql-action from 3.25.3 to 3.25.7 (dependabot[bot]) #53246 - [
b7f5662dee
] - meta: bump codecov/codecov-action from 4.3.1 to 4.4.1 (dependabot[bot]) #53244 - [
e079967eb4
] - meta: removeinitializeCommand
from devcontainer (Aviv Keller) #53137 - [
3afeced572
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #53065 - [
4b9cdea8a6
] - Revert "module: have a single hooks thread for all workers" (Matteo Collina) #53183 - [
b5c30e2f5e
] - (SEMVER-MINOR) module: print amount of load time of a cjs module (Vinicius Lourenço) #52213 - [
4cdb05a7a2
] - module: do not set CJS variables for Worker eval (Antoine du Hamel) #53050 - [
a0766bdf0e
] - (SEMVER-MINOR) net: add new net.server.listen tracing channel (Paolo Insogna) #53136 - [
374743cd4e
] - (SEMVER-MINOR) process: add process.getBuiltinModule(id) (Joyee Cheung) #52762 - [
e66eb376a0
] - repl: fix await object patterns without values (Luke Haas) #53331 - [
cb1329a8cf
] - src: use v8::(Des|S)erializeInternalFieldsCallback (Joyee Cheung) #53217 - [
1886fe99af
] - src: use __FUNCSIG__ on Windows in backtrace (Joyee Cheung) #53135 - [
3bfce6c816
] - src: use new V8 API to define stream accessor (Igor Sheludko) #53084 - [
11f790d911
] - src: do not use deprecated V8 API (ishell) #53084 - [
6b1731cbcc
] - src: convert all endian checks to constexpr (Tobias Nießen) #52974 - [
7aa9519ad4
] - src: fix external module env and kDisableNodeOptionsEnv (Rafael Gonzaga) #52905 - [
838fe59787
] - src: fix execArgv in worker (theanarkh) #53029 - [
4a2c6ff05d
] - src: reduce unnecessaryGetCwd
calls (Yagiz Nizipli) #53064 - [
ec44965b49
] - src: simplify node modules traverse path (Yagiz Nizipli) #53061 - [
190129b48e
] - src: remove unusedbase64_table_url
(Yagiz Nizipli) #53040 - [
d750a3c5c4
] - src: remove calls to recently deprecated V8 APIs (Adam Klein) #52996 - [
f1890abb18
] - src: replace deprecated GetImportAssertions V8 API (Michaël Zasso) #52997 - [
4347bd2acb
] - src: improve node::Dotenv declarations (Tobias Nießen) #52973 - [
e26166f30b
] - src,permission: handle process.chdir on pm (Rafael Gonzaga) #53175 - [
75e5612fae
] - (SEMVER-MINOR) src,permission: --allow-wasi & prevent WASI exec (Rafael Gonzaga) #53124 - [
7c66b27407
] - stream: micro-optimize writable condition (Orgad Shaneh) #53189 - [
a656cf6bc8
] - stream: fix memory usage regression in writable (Orgad Shaneh) #53188 - [
0e85a84fdc
] - test: fix test when compiled without engine support (Richard Lau) #53232 - [
cebbd83e47
] - test: update TLS trace tests for OpenSSL >= 3.2 (Richard Lau) #53229 - [
45c1eb19f1
] - Revert "test: skip v8-updates/test-linux-perf-logger" (Luke Albao) #52869 - [
c1138db3c1
] - test: unskip v8-updates/test-linux-perf-logger (Luke Albao) #52869 - [
65b64cf0f1
] - test: fix Windows native test suites (Stefan Stojanovic) #53173 - [
9a47792cd1
] - test: skiptest-setproctitle
whenps
is not available (Antoine du Hamel) #53104 - [
a371dea699
] - test: increase allocation so it fails for the test (Adam Majer) #53099 - [
3ce7a9a1b5
] - test: remove timers from test-tls-socket-close (Luigi Pinca) #53019 - [
494fa542af
] - test: replace.substr
with.slice
(Antoine du Hamel) #53070 - [
3f7d55b7db
] - test: add AbortController to knownGlobals (Luigi Pinca) #53020 - [
c61f909ab6
] - test,doc: enable running embedtest for Windows (Vladimir Morozov) #52646 - [
2d1ecbf827
] - test_runner: calculate executed lines using source map (Moshe Atlow) #53315 - [
d4f5f80f6c
] - test_runner: handle file rename and deletion under watch mode (jakecastelli) #53114 - [
07c601e32f
] - test_runner: refactor to use min/max ofvalidateInteger
(Deokjin Kim) #53148 - [
8c6dffc269
] - (SEMVER-MINOR) test_runner: add snapshot testing (Colin Ihrig) #53169 - [
f6d2af8ee7
] - (SEMVER-MINOR) test_runner: add context.fullName (Colin Ihrig) #53169 - [
7a67ecf161
] - (SEMVER-MINOR) test_runner: support module mocking (Colin Ihrig) #52848 - [
3ff174f2bf
] - test_runner: fix t.assert methods (Colin Ihrig) #53049 - [
e2211a07c2
] - test_runner: avoid error when coverage line not found (Moshe Atlow) #53000 - [
c249289121
] - test_runner,doc: align documentation with actual stdout/stderr behavior (Moshe Atlow) #53131 - [
5110b19a07
] - tls: fix negative sessionTimeout handling (Tobias Nießen) #53002 - [
0ecb770331
] - tools: remove no-goma arg from make-v8 script (Michaël Zasso) #53336 - [
e7f3a3c296
] - tools: use sccache Github action (Moshe Atlow) #53316 - [
98cc094bc5
] - tools: update eslint to 9.4.0 (Node.js GitHub Bot) #53298 - [
6409b1fe65
] - tools: update gyp-next to 0.18.1 (Node.js GitHub Bot) #53251 - [
86e80dcb9b
] - tools: move webcrypto into no-restricted-properties (Zihong Qu) #53023 - [
6022346f0e
] - tools: update error message for Type Error (Aviv Keller) #53047 - [
c1b3e0ed6f
] - Revert "tools: add --certify-safe to nci-ci" (Antoine du Hamel) #53098 - [
9f764a873c
] - tools: update ESLint to v9 and use flat config (Michaël Zasso) #52780 - [
2859f4c027
] - watch: fix variable naming (jakecastelli) #53101
v22.2.0
: 2024-05-15, Version 22.2.0 (Current), @targos
Notable Changes
- [
fb85d38e80
] - (SEMVER-MINOR) cli: allow running wasm in limited vmem with --disable-wasm-trap-handler (Joyee Cheung) #52766 - [
23a0d3339f
] - doc: add pimterry to collaborators (Tim Perry) #52874 - [
7d7a762156
] - (SEMVER-MINOR) fs: allow 'withFileTypes' to be used with globs (Aviv Keller) #52837 - [
8748dd6477
] - (SEMVER-MINOR) inspector: introduce the--inspect-wait
flag (Kohei Ueno) #52734 - [
9a7ae9b6c4
] - lib,src: remove --experimental-policy (Rafael Gonzaga) #52583 - [
1f7c2a93fc
] - (SEMVER-MINOR) perf_hooks: adddeliveryType
andresponseStatus
fields (Matthew Aitken) #51589 - [
2f59529dc5
] - (SEMVER-MINOR) test_runner: support test plans (Colin Ihrig) #52860 - [
6b4dac3eb5
] - (SEMVER-MINOR) zlib: expose zlib.crc32() (Joyee Cheung) #52692
Commits
- [
0f5716c364
] - assert: add deep equal check for more Error type (Zhenwei Jin) #51805 - [
2c7d7caa8a
] - benchmark: filter non-present deps fromstart-cli-version
(Adam Majer) #51746 - [
5db4c54bd6
] - bootstrap: print--help
message usingconsole.log
(Jacob Hummer) #51463 - [
67fcb6b85e
] - buffer: even faster atob (Daniel Lemire) #52443 - [
a5d63f9052
] - buffer: use size_t instead of uint32_t to avoid segmentation fault (Xavier Stouder) #48033 - [
f1bc994826
] - buffer: remove lines setting indexes to integer value (Zhenwei Jin) #52588 - [
a97ff753ab
] - build: add option to enable clang-cl on Windows (Michaël Zasso) #52870 - [
f96466a92c
] - build: enable building with shared uvwasi lib (Pooja D P) #43987 - [
b463385aa8
] - build: remove deprecated calls for argument groups (Mohammed Keyvanzadeh) #52913 - [
daeb7dbb3e
] - build: sync V8 warning cflags with BUILD.gn (Michaël Zasso) #52873 - [
eed967430d
] - build: harmonize Clang checks (Michaël Zasso) #52873 - [
e4b187433d
] - build: compile with C++20 support (Michaël Zasso) #52838 - [
aea6ca25ba
] - build: drop base64 dep in GN build (Cheng) #52856 - [
7f866a8225
] - build: make simdjson a public dep in GN build (Cheng) #52755 - [
e1bd53c098
] - build: defineNOMINMAX
in common.gypi (Chengzhong Wu) #52794 - [
18c530f8f7
] - build, tools: copy release assets to staging R2 bucket once built (flakey5) #51394 - [
fb85d38e80
] - (SEMVER-MINOR) cli: allow running wasm in limited vmem with --disable-wasm-trap-handler (Joyee Cheung) #52766 - [
11e978916f
] - cluster: replaceforEach
withfor-of
loop (Jérôme Benoit) #50317 - [
db76c58d68
] - console: colorize console error and warn (Jithil P Ponnan) #51629 - [
0d040a3035
] - crypto: fix duplicated switch-case return values (Mustafa Ateş UZUN) #49030 - [
ab7219f0b2
] - deps: update googletest tofa6de7f
(Node.js GitHub Bot) #52949 - [
4ab096eccc
] - deps: update simdjson to 3.9.2 (Node.js GitHub Bot) #52947 - [
89f275b1df
] - deps: update corepack to 0.28.1 (Node.js GitHub Bot) #52946 - [
fc568b4b42
] - deps: update simdutf to 5.2.8 (Node.js GitHub Bot) #52727 - [
e399360182
] - deps: update simdutf to 5.2.6 (Node.js GitHub Bot) #52727 - [
232831f013
] - deps: enable unbundling of simdjson, simdutf, ada (Daniel Lemire) #52924 - [
7ca83a5abc
] - deps: update googletest to2d16ed0
(Node.js GitHub Bot) #51657 - [
3b15eb5911
] - deps: update googletest tod83fee1
(Node.js GitHub Bot) #51657 - [
4190d70035
] - deps: update googletest to5a37b51
(Node.js GitHub Bot) #51657 - [
7a166a2871
] - deps: update googletest to5197b1a
(Node.js GitHub Bot) #51657 - [
812dbd749f
] - deps: update googletest toeff443c
(Node.js GitHub Bot) #51657 - [
cb3ae4b9ef
] - deps: update googletest toc231e6f
(Node.js GitHub Bot) #51657 - [
d97317aaa1
] - deps: update googletest toe4fdb87
(Node.js GitHub Bot) #51657 - [
ad8ca1259f
] - deps: update googletest to5df0241
(Node.js GitHub Bot) #51657 - [
828f0d7096
] - deps: update googletest tob75ecf1
(Node.js GitHub Bot) #51657 - [
3b60dbcf7b
] - deps: update googletest to4565741
(Node.js GitHub Bot) #51657 - [
37098eb880
] - deps: update simdjson to 3.9.1 (Node.js GitHub Bot) #52397 - [
a13cf1c049
] - deps: update uvwasi to 0.0.21 (Node.js GitHub Bot) #52863 - [
faf8ada719
] - deps: V8: cherry-pickf6bef09
(Richard Lau) #52802 - [
8e5844c2a4
] - doc: remove reference to AUTHORS file (Marco Ippolito) #52960 - [
1f3634e30f
] - doc: update hljs with the latest styles (Aviv Keller) #52911 - [
9102255749
] - doc: mention quicker way to build docs (Alex Crawford) #52937 - [
15db3ef5fb
] - doc: mention push.followTags config (Rafael Gonzaga) #52906 - [
80fa675af2
] - doc: document pipeline withend
option (Alois Klink) #48970 - [
c0000f4118
] - doc: add example forexecFileSync
method and ref to stdio (Evan Shortiss) #39412 - [
e0148e2653
] - doc: add examples and notes to http server.close et al (mary marchini) #49091 - [
030f56ee6d
] - doc: fixdns.lookup
family0
andall
descriptions (Adam Jones) #51653 - [
a6d624cd5a
] - doc: updatefs.realpath
documentation (sinkhaha) #48170 - [
5dab187ca8
] - doc: update fs read documentation for clarity (Mert Can Altin) #52453 - [
5d3ee7205d
] - doc: watermark string behavior (Benjamin Gruenbaum) #52842 - [
2dd8f092a8
] - doc: exclude commits with baking-for-lts (Marco Ippolito) #52896 - [
0c2539b913
] - doc: add names next to release key bash commands (Aviv Keller) #52878 - [
23a0d3339f
] - doc: add pimterry to collaborators (Tim Perry) #52874 - [
15aad62e0c
] - doc: update BUILDING.md previous versions links (Michaël Zasso) #52852 - [
f770a993d4
] - doc: add more definitions to GLOSSARY.md (Aviv Keller) #52798 - [
f35b838a65
] - doc: make docs more welcoming and descriptive for newcomers (Serkan Özel) #38056 - [
562a019a14
] - doc: add OpenSSL errors to API docs (John Lamp) #34213 - [
0cb7cf7aa9
] - doc: fix grammatical mistake (codershiba) #52808 - [
a0147ff8d0
] - doc: simplify copy-pasting ofbranch-diff
commands (Antoine du Hamel) #52757 - [
fce31fc829
] - doc: add test_runner to subsystem (Raz Luvaton) #52774 - [
ca5607bbc8
] - events: update MaxListenersExceededWarning message log (sinkhaha) #51921 - [
96566fc696
] - events: add stop propagation flag toEvent.stopImmediatePropagation
(Mickael Meausoone) #39463 - [
5ee69243ed
] - events: replace NodeCustomEvent with CustomEvent (Feng Yu) #43876 - [
f076e721cb
] - fs: keep fs.promises.readFile read until EOF is reached (Zhenwei Jin) #52178 - [
7d7a762156
] - (SEMVER-MINOR) fs: allow 'withFileTypes' to be used with globs (Aviv Keller) #52837 - [
ad9c4bddb1
] - http: correctly translate HTTP method (Paolo Insogna) #52701 - [
8748dd6477
] - (SEMVER-MINOR) inspector: introduce the--inspect-wait
flag (Kohei Ueno) #52734 - [
9a7ae9b6c4
] - lib,src: remove --experimental-policy (Rafael Gonzaga) #52583 - [
a850219600
] - meta: move@anonrig
to TSC regular member (Yagiz Nizipli) #52932 - [
4dc8a387b3
] - meta: add mailmap entry for legendecas (Chengzhong Wu) #52795 - [
d10182d81d
] - meta: bump actions/checkout from 4.1.1 to 4.1.4 (dependabot[bot]) #52787 - [
48d0ac0665
] - meta: bump github/codeql-action from 3.24.9 to 3.25.3 (dependabot[bot]) #52786 - [
7c7a25150e
] - meta: bump actions/upload-artifact from 4.3.1 to 4.3.3 (dependabot[bot]) #52785 - [
d9abf18342
] - meta: bump actions/download-artifact from 4.1.4 to 4.1.7 (dependabot[bot]) #52784 - [
590e5c6c45
] - meta: bump codecov/codecov-action from 4.1.1 to 4.3.1 (dependabot[bot]) #52783 - [
b3d1720515
] - meta: bump step-security/harden-runner from 2.7.0 to 2.7.1 (dependabot[bot]) #52782 - [
f74beb53de
] - module: cache synchronous module jobs before linking (Joyee Cheung) #52868 - [
8fbf6628d6
] - module: have a single hooks thread for all workers (Gabriel Bota) #52706 - [
609d90bb4b
] - path: fix toNamespacedPath on Windows (Hüseyin Açacak) #52915 - [
1f7c2a93fc
] - (SEMVER-MINOR) perf_hooks: adddeliveryType
andresponseStatus
fields (Matthew Aitken) #51589 - [
0bbc62c42a
] - process: improve event-loop (Aras Abbasi) #52108 - [
619ac79abb
] - quic: address coverity warning (Michael Dawson) #52824 - [
04de5766ee
] - repl: fix disruptive autocomplete without inspector (Nitzan Uziely) #40661 - [
663bb973ab
] - src: fix Worker termination ininspector.waitForDebugger
(Daeyeon Jeong) #52527 - [
fca38b2d6e
] - src: useS_ISDIR
to check if the file is a directory (theanarkh) #52164 - [
b228db579f
] - src: allow preventing debug signal handler start (Shelley Vohr) #46681 - [
ace65a9aac
] - src: make sure pass theargv
to worker threads (theanarkh) #52827 - [
75004d32ab
] - src: fix typo Unabled -> Unable (Simon Siefke) #52820 - [
c40a8273ef
] - src: avoid unused variable 'error' warning (Michaël Zasso) #52886 - [
d169d0f181
] - src: fix positional args in task runner (Yagiz Nizipli) #52810 - [
9c76c95c10
] - src: only apply fix in main thread (Paolo Insogna) #52702 - [
e1cba97df3
] - src: fix test local edge case (Paolo Insogna) #52702 - [
dc41c135d7
] - src: reduce unnecessary serialization of CLI options in C++ (Joyee Cheung) #52451 - [
fb24c4475c
] - src: rewrite task runner in c++ (Yagiz Nizipli) #52609 - [
323f95de9e
] - src: migrate to new V8 interceptors API (Michaël Zasso) #52745 - [
850ff02931
] - src,permission: resolve path on fs_permission (Rafael Gonzaga) #52761 - [
8d3b0b7ade
] - stream: useByteLengthQueuingStrategy
when not inobjectMode
(Jason) #48847 - [
fa715437b0
] - stream: fix util.inspect for compression/decompressionStream (Mert Can Altin) #52283 - [
b0e6a6b3d5
] - string_decoder: throw an error when writing a too long buffer (zhenweijin) #52215 - [
e016e952e6
] - test: addDebugger.setInstrumentationBreakpoint
known issue (Konstantin Ulitin) #31137 - [
a589de0886
] - test: usefor-of
instead offorEach
(Gibby Free) #49790 - [
578868ddf8
] - test: verify request payload is uploaded consistently (Austin Wright) #34066 - [
c676e522e6
] - test: add fuzzer for native/js string conversion (Adam Korczynski) #51120 - [
5f6415b41d
] - test: add fuzzer forClientHelloParser
(AdamKorcz) #51088 - [
4d50d51a5e
] - test: fix broken env fuzzer by initializing process (AdamKorcz) #51080 - [
cd00cdcbc8
] - test: replaceforEach()
intest-stream-pipe-unpipe-stream
(Dario) #50786 - [
5469adf458
] - test: test pipelineend
on transform streams (Alois Klink) #48970 - [
ea6070b0e8
] - test: improve coverage of lib/readline.js (Rongjian Zhang) #38646 - [
4f96b00307
] - test: updated for each to for of in test file (lyannel) #50308 - [
5d91cf1976
] - test: movetest-http-server-request-timeouts-mixed
to sequential (Madhuri) #45722 - [
f47e8fccbb
] - test: fix DNS cancel tests (Szymon Marczak) #44432 - [
0b073f885a
] - test: add http agent toexecutionAsyncResource
(psj-tar-gz) #34966 - [
fbce3178ba
] - test: reduce memory usage of test-worker-stdio (Adam Majer) #37769 - [
1f8eaec454
] - test: add common.expectRequiredModule() (Joyee Cheung) #52868 - [
5e731da572
] - test: skip unstable shadow realm gc tests (Chengzhong Wu) #52855 - [
30a35ae522
] - test: crypto-rsa-dsa testing for dynamic openssl (Michael Dawson) #52781 - [
968fe6a8b1
] - test: skip some console tests on dumb terminal (Adam Majer) #37770 - [
1448959e0d
] - test: skip v8-updates/test-linux-perf-logger (Michaël Zasso) #52821 - [
30a4248b48
] - test: add env variable test for --run (Yagiz Nizipli) #52811 - [
edb4ed3bc9
] - test: drop test-crypto-timing-safe-equal-benchmarks (Rafael Gonzaga) #52751 - [
944ae598b5
] - test, crypto: use correct object on assert (响马) #51820 - [
a814e720fa
] - test_runner: fix watch mode race condition (Moshe Atlow) #52954 - [
2f59529dc5
] - (SEMVER-MINOR) test_runner: support test plans (Colin Ihrig) #52860 - [
3267b3c063
] - test_runner: display failed test stack trace with dot reporter (Mihir Bhansali) #52655 - [
b96868b4e7
] - test_runner: preserve hook promise when executed twice (Moshe Atlow) #52791 - [
74341ba3c9
] - tools: fix v8-update workflow (Michaël Zasso) #52957 - [
afe39ed0df
] - tools: add --certify-safe to nci-ci (Matteo Collina) #52940 - [
bb97e1ccdd
] - tools: fix doc update action (Marco Ippolito) #52890 - [
c6043fe6c8
] - tools: fix get_asan_state() in tools/test.py (Joyee Cheung) #52766 - [
6e71accc5f
] - tools: support max_virtual_memory test configuration (Joyee Cheung) #52766 - [
1600bdac60
] - tools: support != in test status files (Joyee Cheung) #52766 - [
8ce23dc9f3
] - tools: update gyp-next to 0.18.0 (Node.js GitHub Bot) #52835 - [
c5f832adc0
] - tools: update gyp-next to 0.17.0 (Node.js GitHub Bot) #52835 - [
646a094782
] - tools: prepare custom rules for ESLint v9 (Michaël Zasso) #52889 - [
505566347d
] - tools: update lint-md-dependencies to rollup@4.17.2 (Node.js GitHub Bot) #52836 - [
466e0c1321
] - tools: updategr2m/create-or-update-pull-request-action
(Antoine du Hamel) #52843 - [
ce7a751ad1
] - tools: use sccache GitHub action (Michaël Zasso) #52839 - [
1ee38a5ec1
] - tools: specify a commit-message for V8 update workflow (Antoine du Hamel) #52844 - [
317998a1e8
] - tools: fix V8 update workflow (Antoine du Hamel) #52822 - [
ef6a2101e2
] - url,tools,benchmark: replace deprecatedsubstr()
(Jungku Lee) #51546 - [
0deef2d2b1
] - util: fix%s
format behavior withSymbol.toPrimitive
(Chenyu Yang) #50992 - [
a42b93b9aa
] - util: improveisInsideNodeModules
(uzlopak) #52147 - [
d71e16154a
] - watch: allow listening for grouped changes (Matthieu Sieben) #52722 - [
e895f7cf32
] - watch: enable passthrough ipc in watch mode (Zack) #50890 - [
f5d925706a
] - watch: fix arguments parsing (Moshe Atlow) #52760 - [
6b4dac3eb5
] - (SEMVER-MINOR) zlib: expose zlib.crc32() (Joyee Cheung) #52692
v22.1.0
: 2024-05-02, Version 22.1.0 (Current), @targos prepared by @aduh95
NODE_COMPILE_CACHE
for automatic on-disk code caching
module: implement This patch implements automatic on-disk code caching that can be enabled
via an environment variable NODE_COMPILE_CACHE=/path/to/cache/dir
.
When set, whenever Node.js compiles a CommonJS or a ECMAScript Module,
it will use on-disk V8 code cache
persisted in the specified directory
to speed up the compilation. This may slow down the first load of a
module graph, but subsequent loads of the same module graph may get
a significant speedup if the contents of the modules do not change.
Locally, this speeds up loading of test/fixtures/snapshot/typescript.js
from ~130ms to ~80ms.
To clean up the generated code cache, simply remove the directory.
It will be recreated the next time the same directory is used for
NODE_COMPILE_CACHE
.
Compilation cache generated by one version of Node.js may not be used by a different version of Node.js. Cache generated by different versions of Node.js will be stored separately if the same directory is used to persist the cache, so they can co-exist.
Caveat: currently when using this with V8 JavaScript code coverage, the coverage being collected by V8 may be less precise in functions that are deserialized from the code cache. It's recommended to turn this off when running tests to generate precise coverage.
Contributed by Joyee Cheung in #52535.
Other Notable Changes
- [
44ee04cf9f
] - buffer: improvebase64
andbase64url
performance (Yagiz Nizipli) #52428 - [
3c37ce5710
] - (SEMVER-MINOR) dns: add order option and support ipv6first (Paolo Insogna) #52492 - [
3026401be1
] - events,doc: mark CustomEvent as stable (Daeyeon Jeong) #52618 - [
64428dc1c9
] - (SEMVER-MINOR) lib, url: add awindows
option to path parsing (Aviv Keller) #52509 - [
d79ae74f71
] - (SEMVER-MINOR) net: add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) #52474 - [
43fa6a1a45
] - (SEMVER-MINOR) src: addstring_view
overload to snapshot FromBlob (Anna Henningsen) #52595 - [
c6fe433d42
] - src,permission: throw async errors on async APIs (Rafael Gonzaga) #52730 - [
e247a61d15
] - (SEMVER-MINOR) test_runner: add --test-skip-pattern cli option (Aviv Keller) #52529 - [
9b18df9dcb
] - (SEMVER-MINOR) url: implement parse method for safer URL parsing (Ali Hassan) #52280
Commits
- [
35643c18c0
] - benchmark: reduce the buffer size for blob (Debadree Chatterjee) #52548 - [
7cdfe8a3fc
] - benchmark: inherit stdio/stderr instead of pipe (Ali Hassan) #52456 - [
7b82c17f22
] - benchmark: add ipc support to spawn stdio config (Ali Hassan) #52456 - [
dfda6fed61
] - buffer: add missing ARG_TYPE(ArrayBuffer) for isUtf8 (Jungku Lee) #52477 - [
44ee04cf9f
] - buffer: improvebase64
andbase64url
performance (Yagiz Nizipli) #52428 - [
c64a1a3b89
] - build: fix typo in node.gyp (Michaël Zasso) #52719 - [
4f713fbc2e
] - build: fix headers install for shared mode on Win (Segev Finer) #52442 - [
4baeb7b21d
] - build: fix arm64 cross-compilation bug on non-arm machines (Mahdi Sharifi) #52559 - [
d5cd468ce8
] - build,tools,node-api: fix building node-api tests for Windows Debug (Vladimir Morozov) #52632 - [
910533fcfd
] - crypto: simplify assertions in Safe*Print (David Benjamin) #49709 - [
61e1ac0b8c
] - crypto: enable NODE_EXTRA_CA_CERTS with BoringSSL (Shelley Vohr) #52217 - [
6e98eee256
] - deps: upgrade npm to 10.7.0 (npm team) #52767 - [
27a5f9418c
] - deps: V8: cherry-pick500de8b
(Richard Lau) #52676 - [
3b422ddcea
] - deps: update corepack to 0.28.0 (Node.js GitHub Bot) #52616 - [
d40e4d4c42
] - deps: update ada to 2.7.8 (Node.js GitHub Bot) #52517 - [
5b52a4870a
] - deps: update icu to 75.1 (Node.js GitHub Bot) #52573 - [
80cbe72c1f
] - deps: update undici to 6.13.0 (Node.js GitHub Bot) #52493 - [
9a44059055
] - deps: update zlib to 1.3.0.1-motley-7d77fb7 (Node.js GitHub Bot) #52516 - [
d67a9a5360
] - deps: update minimatch to 9.0.4 (Node.js GitHub Bot) #52524 - [
8738b89971
] - deps: upgrade npm to 10.5.2 (npm team) #52458 - [
8e4fd2842b
] - deps,src: simplify base64 encoding (Daniel Lemire) #52714 - [
3c37ce5710
] - (SEMVER-MINOR) dns: add order option and support ipv6first (Paolo Insogna) #52492 - [
3987a28a9e
] - doc: update process.versions properties (ishabi) #52736 - [
c0b58e07f1
] - doc: remove mold use on mac for speeding up build (Cong Zhang) #52252 - [
9a032cf6e2
] - doc: remove relative limitation to pm (Rafael Gonzaga) #52648 - [
90c6e77238
] - doc: fix info string causing duplicated code blocks (Mathieu Leenhardt) #52660 - [
4d577fa048
] - doc: add .gitattributes for md files (Hüseyin Açacak) #52161 - [
04c8e110e5
] - doc: run license-builder (github-actions[bot]) #52631 - [
3552829594
] - doc: add info on contributor spotlight program (Michael Dawson) #52598 - [
eeb80ad836
] - doc: correct unsafe URL example in http docs (Malte Legenhausen) #52555 - [
c83526a688
] - doc: replace U+00A0 with U+0020 (Luigi Pinca) #52590 - [
31831e9db8
] - doc: sort options alphabetically (Luigi Pinca) #52589 - [
a93f5d4aaa
] - doc: correct stream.finished changes (KaKa) #52551 - [
27ffa35540
] - doc: add RedYetiDev to triage team (Aviv Keller) #52556 - [
63cc2b870e
] - doc: fix issue detected in markdown lint update (Rich Trott) #52566 - [
7e93c4892b
] - doc: update test runner coverage limitations (Moshe Atlow) #52515 - [
3026401be1
] - events,doc: mark CustomEvent as stable (Daeyeon Jeong) #52618 - [
c6e0fe2f22
] - fs: allow setting Stat date properties (Nicolò Ribaudo) #52708 - [
f23fa1de72
] - fs: fix read / readSync positional offset types (Ruy Adorno) #52603 - [
a7e03d301a
] - fs: fixes recursive fs.watch crash on Linux when deleting files (Matteo Collina) #52349 - [
d5ecb6cd00
] - http2: fix excessive CPU usage when usingallowHTTP1=true
(Eugene) #52713 - [
d1adc9b140
] - lib: enforce ASCII order in error code imports (Antoine du Hamel) #52625 - [
9ffdcade37
] - lib: use predefined variable instead of bit operation (Deokjin Kim) #52580 - [
fdcde845ee
] - lib: refactor lazy loading of undici for fetch method (Victor Chen) #52275 - [
f6145aa2ca
] - lib: convert WeakMaps in cjs loader with private symbol properties (Chengzhong Wu) #52095 - [
014bf01efc
] - lib: replace string prototype usage with alternatives (Aviv Keller) #52440 - [
dc399ddd03
] - lib, doc: rename readme.md to README.md (Aviv Keller) #52471 - [
64428dc1c9
] - (SEMVER-MINOR) lib, url: add awindows
option to path parsing (Aviv Keller) #52509 - [
9b2b6abb62
] - lib,src: iterate module requests of a module wrap in JS (Chengzhong Wu) #52058 - [
896a80e366
] - meta: standardize regex (Aviv Keller) #52693 - [
20c07e922e
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #52633 - [
e70d8a4fa9
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #52457 - [
20ab8f2a88
] - module: support ESM detection in the CJS loader (Joyee Cheung) #52047 - [
544c602b75
] - module: skip NODE_COMPILE_CACHE when policy is enabled (Joyee Cheung) #52577 - [
3df3afc284
] - module: detect ESM syntax by trying to recompile as SourceTextModule (Joyee Cheung) #52413 - [
4d77fd2c46
] - (SEMVER-MINOR) module: implement NODE_COMPILE_CACHE for automatic on-disk code caching (Joyee Cheung) #52535 - [
9794d21b07
] - module: fix submodules loaded by require() and import() (Joyee Cheung) #52487 - [
b00766d9e7
] - module: tidy code and comments (Jacob Smith) #52437 - [
d79ae74f71
] - (SEMVER-MINOR) net: add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) #52474 - [
b17cfea289
] - node-api: address coverity report (Michael Dawson) #52584 - [
1fca8baac1
] - node-api: copy external type tags when they are set (Niels Martignène) #52426 - [
d086ab42a1
] - quic: address recent coverity warnings (Michael Dawson) #52647 - [
fb4edf70cf
] - quic: rework TLSContext, additional cleanups (James M Snell) #51340 - [
0c58d0319b
] - src: remove misplaced windows code under posix guard in node.cc (Ali Hassan) #52545 - [
e20d2f1de3
] - src: cast to v8::Value before using v8::EmbedderGraph::V8Node (Joyee Cheung) #52638 - [
43fa6a1a45
] - (SEMVER-MINOR) src: addstring_view
overload to snapshot FromBlob (Anna Henningsen) #52595 - [
a56faff4d0
] - src: parse inspector profiles with simdjson (Joyee Cheung) #51783 - [
ac04c6434a
] - src: remove regex usage for env file parsing (IlyasShabi) #52406 - [
f283d27285
] - src: fix loadEnvFile ENOENT error (mathis-west-1) #52438 - [
c6fe433d42
] - src,permission: throw async errors on async APIs (Rafael Gonzaga) #52730 - [
9f9eca965a
] - stream: update ongoing promise in async iterator return() method (Mattias Buelens) #52657 - [
d568a9a38e
] - test: marktest-error-serdes
as flaky (Antoine du Hamel) #52739 - [
45f7002b90
] - test: mark test as flaky (Michael Dawson) #52671 - [
10596e20e8
] - test: fix backtick usage in docs (Aviv Keller) #52643 - [
b2f754c9f1
] - test: skip test-fs-watch-recursive-delete.js on IBM i (Abdirahim Musse) #52645 - [
ed080d868d
] - test: ensure that all worker servers are ready (Luigi Pinca) #52563 - [
c8c61737e4
] - test: fix test-tls-ticket-cluster.js (Hüseyin Açacak) #52431 - [
18aa5d6640
] - test: split wasi poll test for windows (Hüseyin Açacak) #52538 - [
e34e0a9ba1
] - test: write tests for assertIsArray http2 util (Sinan Sonmez (Chaush)) #52511 - [
e247a61d15
] - (SEMVER-MINOR) test_runner: add --test-skip-pattern cli option (Aviv Keller) #52529 - [
e066ba2ae4
] - test_runner: better error handing for test hook (Alex Yang) #52401 - [
328755341d
] - test_runner: don't exceed call stack when filtering (Colin Ihrig) #52488 - [
b4ccb6c626
] - test_runner: move end of work check to finalize() (Colin Ihrig) #52488 - [
2ef9380472
] - tools: update lint-md-dependencies to rollup@4.17.0 (Node.js GitHub Bot) #52729 - [
db421bdefc
] - tools: take co-authors into account infind-inactive-collaborators
(Antoine du Hamel) #52669 - [
01103a85cb
] - tools: fix invalid escape sequence in mkssldef (Michaël Zasso) #52624 - [
382d951b01
] - tools: update lint-md-dependencies to rollup@4.15.0 (Node.js GitHub Bot) #52617 - [
f9ddd77ff3
] - tools: add lint rule to keep primordials in ASCII order (Antoine du Hamel) #52592 - [
552642a498
] - tools: update lint-md-dependencies (Rich Trott) #52581 - [
df61feb655
] - tools: fix heading spaces for osx-entitlements.plist (Jackson Tian) #52561 - [
6b4bbfbb1f
] - tools: update lint-md-dependencies to rollup@4.14.2 vfile-reporter@8.1.1 (Node.js GitHub Bot) #52518 - [
4e5ce3afb7
] - tools: use stylistic ESLint plugin for formatting (Michaël Zasso) #50714 - [
15c5686381
] - tools: update minimatch index path (Marco Ippolito) #52523 - [
8ae1507ae1
] - tools: add a linter for README lists (Antoine du Hamel) #52476 - [
0b970316bc
] - typings: fix invalid JSDoc declarations (Yagiz Nizipli) #52659 - [
9b18df9dcb
] - (SEMVER-MINOR) url: implement parse method for safer URL parsing (Ali Hassan) #52280 - [
d33131af3a
] - vm: fix ASCII-betical order (Aviv Keller) #52686
v22.0.0
: 2024-04-24, Version 22.0.0 (Current), @RafaelGSS and @marco-ippolito
We're excited to announce the release of Node.js 22! Highlights include require()ing ESM graphs, WebSocket client, updates of the V8 JavaScript engine, and more! As a reminder, Node.js 22 will enter long-term support (LTS) in October, but until then, it will be the "Current" release for the next six months. We encourage you to explore the new features and benefits offered by this latest release and evaluate their potential impact on your applications.
Other Notable Changes
- [
25c79f3331
] - esm: drop support for import assertions (Nicolò Ribaudo) #52104 - [
818c10e86d
] - lib: improve perf ofAbortSignal
creation (Raz Luvaton) #52408 - [
4f68c7c1c9
] - watch: mark as stable (Moshe Atlow) #52074 - [
02b0bc01fe
] - (SEMVER-MAJOR) deps: update V8 to 12.4.254.14 (Michaël Zasso) #52465 - [
c975384264
] - (SEMVER-MAJOR) lib: enable WebSocket by default (Aras Abbasi) #51594 - [
1abff07392
] - (SEMVER-MAJOR) stream: bump default highWaterMark (Robert Nagy) #52037 - [
1a5acd0638
] - (SEMVER-MAJOR) v8: enable maglev on supported architectures (Keyhan Vakil) #51360 - [
128c60d906
] - (SEMVER-MINOR) cli: implementnode --run <script-in-package-json>
(Yagiz Nizipli) #52190 - [
151d365ad1
] - (SEMVER-MINOR) fs: expose glob and globSync (Moshe Atlow) #51912 - [
5f7fad2605
] - (SEMVER-MINOR) module: support require()ing synchronous ESM graphs (Joyee Cheung) #51977
Semver-Major Commits
- [
2b1e7c2fcb
] - (SEMVER-MAJOR) build: compile with C++20 support on Windows (StefanStojanovic) #52465 - [
12d00f1479
] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #52465 - [
5f08e11a3c
] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #52293 - [
94f0369d1d
] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #51362 - [
58674cd1d8
] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #50115 - [
60e836427e
] - (SEMVER-MAJOR) console: treat non-strings as separate argument in console.assert() (Jacob Hummer) #49722 - [
d62ab3a1ef
] - (SEMVER-MAJOR) crypto: runtime deprecate hmac constructor (Marco Ippolito) #52071 - [
de0602d190
] - (SEMVER-MAJOR) crypto: runtime deprecate Hash constructor (Marco Ippolito) #51880 - [
215f4d04b7
] - (SEMVER-MAJOR) crypto: move createCipher and createDecipher to eol (Marco Ippolito) #50973 - [
30801b8aaf
] - (SEMVER-MAJOR) deps: V8: cherry-pickcd10ad7
(Joyee Cheung) #52465 - [
521b629ab1
] - (SEMVER-MAJOR) deps: V8: revert CL5331688
(Michaël Zasso) #52465 - [
3795e97e6c
] - (SEMVER-MAJOR) deps: patch V8 to support compilation with MSVC (StefanStojanovic) #52465 - [
5bde9e677d
] - (SEMVER-MAJOR) deps: silence internal V8 deprecation warning (Michaël Zasso) #52465 - [
46e628c6f2
] - (SEMVER-MAJOR) deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #52465 - [
f824e40a82
] - (SEMVER-MAJOR) deps: remove usage of a C++20 feature from V8 (Michaël Zasso) #52465 - [
d2c84c9a13
] - (SEMVER-MAJOR) deps: avoid compilation error with ASan (Michaël Zasso) #52465 - [
95d6045bdb
] - (SEMVER-MAJOR) deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #52465 - [
00f55f5743
] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) #52465 - [
764085aa66
] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #52465 - [
02b0bc01fe
] - (SEMVER-MAJOR) deps: update V8 to 12.4.254.14 (Michaël Zasso) #52465 - [
0ec50a19dd
] - (SEMVER-MAJOR) deps: V8: cherry-pickcd10ad7
(Joyee Cheung) #52293 - [
021b0b7dee
] - (SEMVER-MAJOR) deps: V8: backportc4be0a9
(Richard Lau) #52293 - [
681aaf85c7
] - (SEMVER-MAJOR) deps: silence internal V8 deprecation warning (Michaël Zasso) #52293 - [
c563a1c4e4
] - (SEMVER-MAJOR) deps: patch V8 to support compilation with MSVC (Stefan Stojanovic) #52293 - [
11e94b9987
] - (SEMVER-MAJOR) deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #52293 - [
856163e23c
] - (SEMVER-MAJOR) deps: remove usage of a C++20 feature from V8 (Michaël Zasso) #52293 - [
b530214127
] - (SEMVER-MAJOR) deps: avoid compilation error with ASan (Michaël Zasso) #52293 - [
8054f69dd9
] - (SEMVER-MAJOR) deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #52293 - [
dee908be42
] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) #52293 - [
cf069414ee
] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #52293 - [
cc5792dd85
] - (SEMVER-MAJOR) deps: update V8 to 12.3.219.16 (Michaël Zasso) #52293 - [
61a0d3b4c4
] - (SEMVER-MAJOR) deps: V8: backportc4be0a9
(Richard Lau) #51362 - [
f55380a725
] - (SEMVER-MAJOR) deps: V8: cherry-pickf8d5e57
(Richard Lau) #51362 - [
b9d806a2dd
] - (SEMVER-MAJOR) deps: patch V8 to support compilation with MSVC (StefanStojanovic) #51362 - [
63b58bc17b
] - (SEMVER-MAJOR) deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #51362 - [
86056353c4
] - (SEMVER-MAJOR) deps: remove usage of a C++20 feature from V8 (Michaël Zasso) #51362 - [
2e0efc1c8d
] - (SEMVER-MAJOR) deps: avoid compilation error with ASan (Michaël Zasso) #51362 - [
59e6f62e34
] - (SEMVER-MAJOR) deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #51362 - [
0423f7e27e
] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) #51362 - [
f36620806d
] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #51362 - [
09a8440b45
] - (SEMVER-MAJOR) deps: update V8 to 12.2.281.27 (Michaël Zasso) #51362 - [
0da3beebfc
] - (SEMVER-MAJOR) deps: V8: cherry-pickde611e6
(Keyhan Vakil) #50115 - [
b982335637
] - (SEMVER-MAJOR) deps: V8: cherry-pick0fd478b
(Joyee Cheung) #50115 - [
481a90116c
] - (SEMVER-MAJOR) deps: V8: cherry-pick0f9ebbc
(Chengzhong Wu) #50115 - [
782addbdc3
] - (SEMVER-MAJOR) deps: V8: cherry-pick8f0b946
(Lu Yahan) #50115 - [
b682e7f540
] - (SEMVER-MAJOR) deps: V8: cherry-pickf7d000a
(Luke Albao) #50115 - [
a60090c52f
] - (SEMVER-MAJOR) deps: V8: cherry-pick2590224
(Joyee Cheung) #50115 - [
8441d1fc18
] - (SEMVER-MAJOR) deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #50115 - [
e8e9bbd7a9
] - (SEMVER-MAJOR) deps: remove usage of a C++20 feature from V8 (Michaël Zasso) #50115 - [
785d5cd006
] - (SEMVER-MAJOR) deps: avoid compilation error with ASan (Michaël Zasso) #50115 - [
7071c1dafd
] - (SEMVER-MAJOR) deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #50115 - [
d1d60b297d
] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) #50115 - [
5b240c62f9
] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #50115 - [
d8c97e4857
] - (SEMVER-MAJOR) deps: update V8 to 11.9.169.7 (Michaël Zasso) #50115 - [
b9df88a8c2
] - (SEMVER-MAJOR) doc: runtime deprecate flag --trace-atomics-wait (marco-ippolito) #51179 - [
9ba5df30b4
] - (SEMVER-MAJOR) doc: bump FreeBSD experimental support to 13.2 (Michaël Zasso) #51231 - [
900d79caf2
] - (SEMVER-MAJOR) doc: add migration paths for deprecated utils (Marco Ippolito) #50488 - [
8206f6bb7f
] - (SEMVER-MAJOR) fs: runtime deprecate fs.Stats constructor (Marco Ippolito) #52067 - [
c14133503a
] - (SEMVER-MAJOR) fs: use private fields instead of symbols forDir
(Jungku Lee) #51037 - [
abbdc3efaa
] - (SEMVER-MAJOR) fs: make stats date fields lazy (Yagiz Nizipli) #50908 - [
4b76ccea95
] - (SEMVER-MAJOR) http: preserve raw header duplicates in writeHead after setHeader calls (Tim Perry) #50394 - [
c975384264
] - (SEMVER-MAJOR) lib: enable WebSocket by default (Aras Abbasi) #51594 - [
351495e938
] - (SEMVER-MAJOR) lib,test: handle new Iterator global (Michaël Zasso) #51362 - [
a8b21fdc90
] - (SEMVER-MAJOR) process: wait for'exit'
before printing result (Antoine du Hamel) #52172 - [
582ff5037c
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 127 (Michaël Zasso) #52465 - [
c5c4b50260
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 126 (Michaël Zasso) #52293 - [
d248639285
] - (SEMVER-MAJOR) src: use supported API to get stalled TLA messages (Michaël Zasso) #51362 - [
d34b02db4c
] - (SEMVER-MAJOR) src: update default V8 platform to override functions with location (Etienne Pierre-Doray) #51362 - [
d9c47e9b5f
] - (SEMVER-MAJOR) src: add missing TryCatch (Michaël Zasso) #51362 - [
5cddd3b2d8
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 124 (Michaël Zasso) #51362 - [
1528846ada
] - (SEMVER-MAJOR) src: use non-deprecated v8::Uint8Array::kMaxLength (Michaël Zasso) #50115 - [
7166986626
] - (SEMVER-MAJOR) src: adapt to v8::Exception API change (Michaël Zasso) #50115 - [
4782818020
] - (SEMVER-MAJOR) src: use non-deprecated version of CreateSyntheticModule (Michaël Zasso) #50115 - [
2cff0ce411
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 122 (Michaël Zasso) #50115 - [
1abff07392
] - (SEMVER-MAJOR) stream: bump default highWaterMark (Robert Nagy) #52037 - [
9efc84a2cb
] - (SEMVER-MAJOR) test: mark test-worker-arraybuffer-zerofill as flaky (Michaël Zasso) #51362 - [
84c2e712eb
] - (SEMVER-MAJOR) test: mark some GC-related tests as flaky (Michaël Zasso) #51362 - [
cdc4437b87
] - (SEMVER-MAJOR) test: allow slightly more diff in memory leak test (Michaël Zasso) #51362 - [
515b007fae
] - (SEMVER-MAJOR) test: replace always-opt flag with alway-turbofan (Michaël Zasso) #50115 - [
2341805eb2
] - (SEMVER-MAJOR) test: remove tests that create very large buffers (Michaël Zasso) #50115 - [
941cef5636
] - (SEMVER-MAJOR) test: adapt to new V8 trusted memory spaces (Michaël Zasso) #50115 - [
29de7f82cd
] - (SEMVER-MAJOR) test_runner: omit filtered test from output (Colin Ihrig) #52221 - [
00dc6d9d97
] - (SEMVER-MAJOR) test_runner: improve--test-name-pattern
to allow matching single test (Michał Drobniak) #51577 - [
5def8019d5
] - (SEMVER-MAJOR) tools: update V8 gypfiles for 12.4 (Michaël Zasso) #52465 - [
c22793d050
] - (SEMVER-MAJOR) tools: roughly port v8_abseil to gyp (Michaël Zasso) #51362 - [
ffb0302f0c
] - (SEMVER-MAJOR) tools: update V8 gypfiles for 12.2 (Michaël Zasso) #51362 - [
aadea12440
] - (SEMVER-MAJOR) tools: update V8 gypfiles for 12.1 (Michaël Zasso) #51362 - [
7784773967
] - (SEMVER-MAJOR) tools: update V8 gypfiles for 12.0 (Michaël Zasso) #51362 - [
9fe0424baa
] - (SEMVER-MAJOR) trace_events: use private fields instead of symbols forTracing
(Jungku Lee) #51180 - [
e96cd25007
] - (SEMVER-MAJOR) util: runtime deprecate util.log (Marco Ippolito) #50488 - [
6cf20d5e43
] - (SEMVER-MAJOR) util: runtime deprecate util.isUndefined (Marco Ippolito) #50488 - [
09e424921f
] - (SEMVER-MAJOR) util: runtime deprecate util.isSymbol (Marco Ippolito) #50488 - [
80b6bfd4e9
] - (SEMVER-MAJOR) util: runtime deprecate util.isString (Marco Ippolito) #50488 - [
d419edded9
] - (SEMVER-MAJOR) util: runtime deprecate util.isRegExp (Marco Ippolito) #50488 - [
e0b8de78ed
] - (SEMVER-MAJOR) util: runtime deprecate util.isPrimitive (Marco Ippolito) #50488 - [
5478e1129a
] - (SEMVER-MAJOR) util: runtime deprecate util.isObject (Marco Ippolito) #50488 - [
b05b1dd541
] - (SEMVER-MAJOR) util: runtime deprecate util.isNumber (Marco Ippolito) #50488 - [
5af9bf5f6a
] - (SEMVER-MAJOR) util: runtime deprecate util.isNullOrUndefined (Marco Ippolito) #50488 - [
860a10e10e
] - (SEMVER-MAJOR) util: runtime deprecate util.isNull (Marco Ippolito) #50488 - [
70330f5c2b
] - (SEMVER-MAJOR) util: runtime deprecate util.isFunction (Marco Ippolito) #50488 - [
7c69c33acc
] - (SEMVER-MAJOR) util: runtime deprecate util.isError (Marco Ippolito) #50488 - [
a0c5b871a9
] - (SEMVER-MAJOR) util: runtime deprecate util.isDate (Marco Ippolito) #50488 - [
3c670cb15d
] - (SEMVER-MAJOR) util: runtime deprecation util.isBuffer (Marco Ippolito) #50488 - [
c17a448ca9
] - (SEMVER-MAJOR) util: runtime deprecation util.isBoolean (Marco Ippolito) #50488 - [
fbb2f891aa
] - (SEMVER-MAJOR) util: runtime deprecate util.isArray (Marco Ippolito) #50488 - [
22d8062e42
] - (SEMVER-MAJOR) util: runtime deprecation util._extend (Marco Ippolito) #50488 - [
1a5acd0638
] - (SEMVER-MAJOR) v8: enable maglev on supported architectures (Keyhan Vakil) #51360
Semver-Minor Commits
- [
128c60d906
] - (SEMVER-MINOR) cli: implementnode --run <script-in-package-json>
(Yagiz Nizipli) #52190 - [
f69946b905
] - (SEMVER-MINOR) deps: update simdutf to 5.0.0 (Daniel Lemire) #52138 - [
828ad42eee
] - (SEMVER-MINOR) deps: update undici to 6.3.0 (Node.js GitHub Bot) #51462 - [
05f8172188
] - (SEMVER-MINOR) deps: update undici to 6.2.1 (Node.js GitHub Bot) #51278 - [
a0c466810a
] - (SEMVER-MINOR) doc: deprecate fs.Stats public constructor (Marco Ippolito) #51879 - [
151d365ad1
] - (SEMVER-MINOR) fs: expose glob and globSync (Moshe Atlow) #51912 - [
5f7fad2605
] - (SEMVER-MINOR) module: support require()ing synchronous ESM graphs (Joyee Cheung) #51977 - [
009665fb56
] - (SEMVER-MINOR) report: add--report-exclude-network
option (Ethan Arrowood) #51645 - [
80f86e5d02
] - (SEMVER-MINOR) src: add C++ ProcessEmitWarningSync() (Joyee Cheung) #51977 - [
78be0d0f1c
] - (SEMVER-MINOR) src: add uv_get_available_memory to report and process (theanarkh) #52023 - [
b34512e38e
] - (SEMVER-MINOR) src: preload function for Environment (Cheng Zhao) #51539 - [
7d258db1d7
] - (SEMVER-MINOR) stream: support typed arrays (IlyasShabi) #51866 - [
5276c0d5d4
] - (SEMVER-MINOR) test_runner: add suite() (Colin Ihrig) #52127 - [
84de97a61e
] - (SEMVER-MINOR) test_runner: support forced exit (Colin Ihrig) #52038 - [
aac5ad901d
] - (SEMVER-MINOR) test_runner: addtest:complete
event to reflect execution order (Moshe Atlow) #51909 - [
9a1e01c4ce
] - (SEMVER-MINOR) util: support array of formats in util.styleText (Marco Ippolito) #52040 - [
7f2d61f82a
] - (SEMVER-MINOR) v8: implement v8.queryObjects() for memory leak regression testing (Joyee Cheung) #51927 - [
d1d5da22e4
] - (SEMVER-MINOR) vm: harden module type checks (Chengzhong Wu) #52162
Semver-Patch Commits
- [
a760dadec3
] - benchmark: add AbortSignal.abort benchmarks (Raz Luvaton) #52408 - [
47c934e464
] - benchmark: conditionally use spawn with taskset for cpu pinning (Ali Hassan) #52253 - [
dde0cffb2e
] - benchmark: add toNamespacedPath bench (Rafael Gonzaga) #52236 - [
bda66ad711
] - benchmark: add style-text benchmark (Rafael Gonzaga) #52004 - [
21211a3fa9
] - buffer: improvebtoa
performance (Yagiz Nizipli) #52427 - [
6f504b71ac
] - buffer: use simdutf foratob
implementation (Yagiz Nizipli) #52381 - [
0ce7365856
] - build: temporary disable ubsan (Rafael Gonzaga) #52560 - [
4e278f0253
] - build: speed up compilation of some V8 files (Michaël Zasso) #52083 - [
ba06c5c509
] - build,tools: add test-ubsan ci (Rafael Gonzaga) #46297 - [
562369f348
] - child_process: use internal addAbortListener (Chemi Atlow) #52081 - [
8f61b658de
] - crypto: deprecate implicitly shortened GCM tags (Tobias Nießen) #52345 - [
08609b5222
] - crypto: make timingSafeEqual faster for Uint8Array (Tobias Nießen) #52341 - [
9f939f5af7
] - crypto: rejectEd25519
/Ed448 in Sign/Verify prototypes (Filip Skokan) #52340 - [
2241e8c5b3
] - crypto: validate RSA-PSS saltLength in subtle.sign and subtle.verify (Filip Skokan) #52262 - [
6dd1c75f4a
] - crypto: fixinput
validation incrypto.hash
(Antoine du Hamel) #52070 - [
a1d48f4a26
] - deps: update simdutf to 5.2.4 (Node.js GitHub Bot) #52473 - [
08ff4a0c9d
] - deps: update nghttp2 to 1.61.0 (Node.js GitHub Bot) #52395 - [
cf629366b9
] - deps: update simdutf to 5.2.3 (Yagiz Nizipli) #52381 - [
ad86a12964
] - deps: upgrade npm to 10.5.1 (npm team) #52351 - [
45cc32c9c6
] - deps: update c-ares to 1.28.1 (Node.js GitHub Bot) #52285 - [
38161c38d9
] - deps: update zlib to 1.3.0.1-motley-24c07df (Node.js GitHub Bot) #52199 - [
1264414700
] - deps: update simdjson to 3.8.0 (Node.js GitHub Bot) #52124 - [
f6996ee150
] - deps: V8: backportc4be0a9
(Richard Lau) #52183 - [
0d4bc4c40e
] - deps: V8: cherry-pickf8d5e57
(Richard Lau) #52183 - [
70a05103c8
] - deps: update zlib to 1.3.0.1-motley-24342f6 (Node.js GitHub Bot) #52123 - [
4c3e9659ed
] - deps: update corepack to 0.26.0 (Node.js GitHub Bot) #52027 - [
0b4cdb4b42
] - deps: update ada to 2.7.7 (Node.js GitHub Bot) #52028 - [
b241a1d0ae
] - deps: update simdutf to 4.0.9 (Node.js GitHub Bot) #51655 - [
36dcd399c0
] - deps: upgrade libuv to 1.48.0 (Santiago Gimeno) #51697 - [
8cf313cd72
] - deps: update undici to 6.6.0 (Node.js GitHub Bot) #51630 - [
dd4767f99f
] - deps: update undici to 6.4.0 (Node.js GitHub Bot) #51527 - [
8362caa7d8
] - dgram: use internal addAbortListener (Chemi Atlow) #52081 - [
4f3cf4e89a
] - diagnostics_channel: early-exit tracing channel trace methods (Stephen Belanger) #51915 - [
204018bba6
] - doc: deprecate --experimental-policy (RafaelGSS) #52602 - [
d32a914ac7
] - doc: add lint-js-fix into BUILDING.md (jakecastelli) #52290 - [
411503bacd
] - doc: remove Internet Explorer mention in BUILDING.md (Rich Trott) #52455 - [
e9ccf5aba2
] - doc: accommodate upcoming stricter .md linting (Rich Trott) #52454 - [
b4186ec2c1
] - doc: add Rafael to steward list (Rafael Gonzaga) #52452 - [
7b01bfb2be
] - doc: correct naming convention in C++ style guide (Mohammed Keyvanzadeh) #52424 - [
c82f3c9e80
] - doc: updateprocess.execArg
example to be more useful (Jacob Smith) #52412 - [
655b327a4d
] - doc: call out http(s).globalAgent default (mathis-west-1) #52392 - [
2c77be5488
] - doc: update the location ofbuild_with_cmake
(Emmanuel Ferdman) #52356 - [
7dd514f2db
] - doc: reserve 125 for Electron 31 (Shelley Vohr) #52379 - [
756acd0877
] - doc: use consistent plural form of "index" (Rich Trott) #52373 - [
ba07e4e5e6
] - doc: fix typo in cli.md (Daeyeon Jeong) #52388 - [
461d9d665d
] - doc: add Rafael to sec release stewards (Rafael Gonzaga) #52354 - [
d0c364a844
] - doc: document missing options of events.on (Chemi Atlow) #52080 - [
a63261cf2c
] - doc: add missing space (Augustin Mauroy) #52360 - [
dd711d221a
] - doc: add tips about vcpkg cause build faild on windows (Cong Zhang) #52181 - [
4df34cf6dd
] - doc: replace "below" with "following" (Rich Trott) #52315 - [
d9aa33fdbf
] - doc: fix email pattern to be wrapped with<<
instead of single<
(Raz Luvaton) #52284 - [
903f28e684
] - doc: update release gpg keyserver (marco-ippolito) #52257 - [
fd55458770
] - doc: add release key for marco-ippolito (marco-ippolito) #52257 - [
27493a1dd7
] - doc: fix arrow vertical alignment in HTML version (Akash Yeole) #52193 - [
af48641993
] - doc: move TSC members from regular to emeritus (Michael Dawson) #52209 - [
fa13ed6d79
] - doc: add section explaining todo tests (Colin Ihrig) #52204 - [
312ebd97c2
] - doc: editChildProcess
'message'
event docs (theanarkh) #52154 - [
f1635f442f
] - doc: quote test_runner glob parameters (Fabian Meyer) #52201 - [
fc029181df
] - doc: add mold to speeding up section (Cong Zhang) #52179 - [
8bd3cb2f8c
] - doc: http event order correction (wh0) #51464 - [
a7f170e45a
] - doc: move gabrielschulhof to TSC emeritus (Gabriel Schulhof) #52192 - [
305375ac16
] - doc: fix--env-file
docs for valid quotes for defining values (Gabriel Bota) #52157 - [
3fcaf7b900
] - doc: clarify what is supported in NODE_OPTIONS (Michael Dawson) #52076 - [
4fe87357f3
] - doc: fix typos in maintaining-dependencies.md (RoboSchmied) #52160 - [
f1949ac1ae
] - doc: add spec for contains module syntax (Geoffrey Booth) #52059 - [
707155424b
] - doc: optimize the doc about Unix abstract socket (theanarkh) #52043 - [
8a191e4e6a
] - doc: update pnpm link (Superchupu) #52113 - [
454d0806a1
] - doc: remove ableist language from crypto (Jamie King) #52063 - [
dafe004703
] - doc: update collaborator email (Ruy Adorno) #52088 - [
8824adb031
] - doc: state that removing npm is a non-goal (Geoffrey Booth) #51951 - [
b360532f1a
] - doc: mention NodeSource in RafaelGSS steward list (Rafael Gonzaga) #52057 - [
57d2e4881c
] - doc: remove ArrayBuffer from crypto.hash() data parameter type (fengmk2) #52069 - [
e11c1d2315
] - doc: add some commonly used lables up gront (Michael Dawson) #52006 - [
8f9f5db1e8
] - doc: document thatconst c2 = vm.createContext(c1); c1 === c2
is true (Daniel Kaplan) #51960 - [
d78a565713
] - doc: clarify what moderation issues are for (Antoine du Hamel) #51990 - [
4cac07c931
] - doc: add Hemanth HM mention to v21.7.0 changelog (Rafael Gonzaga) #52008 - [
73025c4dec
] - doc: add UlisesGascon as a collaborator (Ulises Gascón) #51991 - [
999c6b34fb
] - doc: test for cli options (Aras Abbasi) #51623 - [
edd6190836
] - doc: deprecate hmac public constructor (Marco Ippolito) #51881 - [
25c79f3331
] - esm: drop support for import assertions (Nicolò Ribaudo) #52104 - [
d619aab575
] - events: rename high & low watermark for consistency (Chemi Atlow) #52080 - [
e263946c2e
] - events: extract addAbortListener for safe internal use (Chemi Atlow) #52081 - [
40ef2da8d6
] - events: remove abort listener from signal inon
(Neal Beeken) #51091 - [
61e5de1268
] - fs: refactor maybeCallback function (Yagiz Nizipli) #52129 - [
39f1b899cd
] - fs: fix edge case in readFileSync utf8 fast path (Richard Lau) #52101 - [
639c096004
] - fs: validate fd from cpp onfchown
(Yagiz Nizipli) #52051 - [
9ac1fe05d7
] - fs: validate fd from cpp onclose
(Yagiz Nizipli) #52051 - [
3ec20f25df
] - fs: validate file mode from cpp (Yagiz Nizipli) #52050 - [
8c0b723ccb
] - fs,permission: make handling of buffers consistent (Tobias Nießen) #52348 - [
3fc8d2200e
] - http2: fix h2-over-h2 connection proxying (Tim Perry) #52368 - [
b9d8a14a03
] - http2: use internal addAbortListener (Chemi Atlow) #52081 - [
818c10e86d
] - lib: improve perf ofAbortSignal
creation (Raz Luvaton) #52408 - [
3f5ff8dc20
] - lib: .load .save add proper error message when no file passed (Thomas Mauran) #52225 - [
0a252c23d9
] - lib: fix type error for _refreshLine (Jackson Tian) #52133 - [
14de082ab4
] - lib: emit listening event once when call listen twice (theanarkh) #52119 - [
4e9ce7c035
] - lib: make sure clear the old timer in http server (theanarkh) #52118 - [
20525f14b9
] - lib: fix listen with handle in cluster worker (theanarkh) #52056 - [
8df54481f4
] - meta: bump actions/download-artifact from 4.1.3 to 4.1.4 (dependabot[bot]) #52314 - [
bcc102147a
] - meta: bump rtCamp/action-slack-notify from 2.2.1 to 2.3.0 (dependabot[bot]) #52313 - [
4e7e0ef9c3
] - meta: bump github/codeql-action from 3.24.6 to 3.24.9 (dependabot[bot]) #52312 - [
14a39881b8
] - meta: bump actions/cache from 4.0.1 to 4.0.2 (dependabot[bot]) #52311 - [
2f8f90dadb
] - meta: bump actions/setup-python from 5.0.0 to 5.1.0 (dependabot[bot]) #52310 - [
95efdaf01a
] - meta: bump codecov/codecov-action from 4.1.0 to 4.1.1 (dependabot[bot]) #52308 - [
24c1a8e739
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #52300 - [
60dcfad91e
] - meta: pass Codecov upload token to codecov action (Michaël Zasso) #51982 - [
db1746182b
] - module: disallow CJS <-> ESM edges in a cycle from require(esm) (Joyee Cheung) #52264 - [
d6b57f6629
] - module: centralize SourceTextModule compilation for builtin loader (Joyee Cheung) #52291 - [
f4a0a3b04b
] - module: warn on detection in typeless package (Geoffrey Booth) #52168 - [
8bc745944e
] - module: eliminate performance cost of detection for cjs entry (Geoffrey Booth) #52093 - [
63d04d4d80
] - module: fix detect-module not retrying as esm for cjs-only errors (Geoffrey Booth) #52024 - [
575ced8139
] - module: print location of unsettled top-level await in entry points (Joyee Cheung) #51999 - [
075c95f61f
] - module: refactor ESM loader initialization and entry point handling (Joyee Cheung) #51999 - [
45f0dd0192
] - module,win: fix long path resolve (Stefan Stojanovic) #51097 - [
d89fc73d45
] - net: use internal addAbortListener (Chemi Atlow) #52081 - [
f0e6acde2d
] - node-api: make tsfn accept napi_finalize once more (Gabriel Schulhof) #51801 - [
ff93f3e1a8
] - readline: use internal addAbortListener (Chemi Atlow) #52081 - [
4a6ca7a1d4
] - src: remove erroneous CVE-2024-27980 revert option (Tobias Nießen) #52543 - [
64b67779f7
] - src: disallow direct .bat and .cmd file spawning (Ben Noordhuis) nodejs-private/node-private#560 - [
9ef724bc81
] - src: update branch name in node_revert.h (Tobias Nießen) #52390 - [
ec1550407b
] - src: stop usingv8::BackingStore::Reallocate
(Michaël Zasso) #52292 - [
681b0a3df3
] - src: address coverity warning in module_wrap.cc (Michael Dawson) #52143 - [
04319228e0
] - src: fix move after use reported by coverity (Michael Dawson) #52141 - [
0eb2b727f6
] - src: return a number from process.constrainedMemory() constantly (Chengzhong Wu) #52039 - [
bec9b5fccc
] - src: use dedicated routine to compile function for builtin CJS loader (Joyee Cheung) #52016 - [
1f193165b9
] - src: fix reading empty string views in Blob[De]serializer (Joyee Cheung) #52000 - [
fb356b3305
] - src: refactor out FormatErrorMessage for error formatting (Joyee Cheung) #51999 - [
1a8ae9d6c0
] - src: use callback-based array iteration in Blob (Joyee Cheung) #51758 - [
5cd2ec8bd5
] - src: implement v8 array iteration using the new callback-based API (Joyee Cheung) #51758 - [
89a26b451e
] - src: fix node_version.h (Joyee Cheung) #50375 - [
c02de658a1
] - stream: make Duplex inherit destroy from Writable (Luigi Pinca) #52318 - [
63391e749d
] - stream: addnew
when constructingERR_MULTIPLE_CALLBACK
(haze) #52110 - [
a9528e87b9
] - stream: use internal addAbortListener (Chemi Atlow) #52081 - [
ee4fa77624
] - test: fix watch test with require not testing pid (Raz Luvaton) #52353 - [
05cb16dc1a
] - test: simplify ASan build checks (Michaël Zasso) #52430 - [
eb53121b77
] - test: fix Windows compiler warnings in overlapped-checker (Michaël Zasso) #52405 - [
7dfa4750af
] - test: add test for skip+todo combinations (Colin Ihrig) #52204 - [
5905596719
] - test: fix incorrect test fixture (Colin Ihrig) #52185 - [
bae14b7914
] - test: do not set concurrency on parallelized runs (Antoine du Hamel) #52177 - [
0b676736a0
] - test: add missing cctest/test_path.cc (Yagiz Nizipli) #52148 - [
c714cda9a7
] - test: addspawnSyncAndAssert
util (Antoine du Hamel) #52132 - [
978d5a26c9
] - test: reduce flakiness of test-runner-output.mjs (Colin Ihrig) #52146 - [
afaf889775
] - test: skip test for dynamically linked OpenSSL (Richard Lau) #52542 - [
be75821a12
] - test: add test for using--print
with promises (Antoine du Hamel) #52137 - [
4e109e5958
] - test: un-set test-emit-after-on-destroyed as flaky (Abdirahim Musse) #51995 - [
3f8cc88009
] - test_runner: fix clearing final timeout in own callback (Ben Richeson) #52332 - [
52f8dcfccc
] - test_runner: make end of work check stricter (Colin Ihrig) #52326 - [
433bd1b04d
] - test_runner: fix recursive run (Moshe Atlow) #52322 - [
e57992ffb2
] - test_runner: hide new line when no error in spec reporter (Moshe Atlow) #52297 - [
ac9e5e7527
] - test_runner: improve describe.only behavior (Moshe Atlow) #52296 - [
2c024cd24d
] - test_runner: disable highWatermark on TestsStream (Colin Ihrig) #52287 - [
7c02486f1f
] - test_runner: run afterEach hooks in correct order (Colin Ihrig) #52239 - [
6af4049810
] - test_runner: simplify test end time tracking (Colin Ihrig) #52182 - [
878047be0b
] - test_runner: simplify test start time tracking (Colin Ihrig) #52182 - [
4648c83dbc
] - test_runner: don't await the same promise for each test (Colin Ihrig) #52185 - [
f9755f6f79
] - test_runner: emit diagnostics when watch mode drains (Moshe Atlow) #52130 - [
4ba9f45d99
] - test_runner: ignore todo flag when running suites (Colin Ihrig) #52117 - [
6f4d6011ea
] - test_runner: skip each hooks for skipped tests (Colin Ihrig) #52115 - [
05db979c01
] - test_runner: run top level tests in a microtask (Colin Ihrig) #52092 - [
97b2c5344d
] - test_runner: remove redundant report call (Colin Ihrig) #52089 - [
780d030bdf
] - test_runner: use internal addAbortListener (Chemi Atlow) #52081 - [
814fa1ae74
] - test_runner: use source maps when reporting coverage (Moshe Atlow) #52060 - [
3c5764a0e2
] - test_runner: handle undefined test locations (Colin Ihrig) #52036 - [
328642bbb9
] - test_runner: use paths for test locations (Colin Ihrig) #52010 - [
6d625fe616
] - test_runner: support source mapped test locations (Colin Ihrig) #52010 - [
592c6907bf
] - test_runner: avoid overwriting root start time (Colin Ihrig) #52020 - [
29b231763e
] - test_runner: abort unfinished tests on async error (Colin Ihrig) #51996 - [
5d13419dbd
] - test_runner: run before hook immediately if test started (Moshe Atlow) #52003 - [
8451990668
] - test_runner: add support for null and date value output (Malthe Borch) #51920 - [
423ad47e0f
] - tools: change inactive limit to 12 months (Yagiz Nizipli) #52425 - [
0d1e64f64c
] - tools: update stale bot messaging (Wes Todd) #52423 - [
5bae73df90
] - tools: update lint-md-dependencies to rollup@4.14.0 (Node.js GitHub Bot) #52398 - [
468cb99ba4
] - tools: update Ruff to v0.3.4 (Michaël Zasso) #52302 - [
67b9dda003
] - tools: run test-ubsan on ubuntu-latest (Michaël Zasso) #52375 - [
f1f32d89e0
] - tools: update lint-md-dependencies to rollup@4.13.2 (Node.js GitHub Bot) #52286 - [
d7aa8fc9da
] - Revert "tools: runbuild-windows
workflow only on source changes" (Michaël Zasso) #52320 - [
a3b1fc3f27
] - tools: use Python 3.12 in GitHub Actions workflows (Michaël Zasso) #52301 - [
021cf91208
] - tools: allow local updates for llhttp (Paolo Insogna) #52085 - [
4d8602046e
] - tools: install npm PowerShell scripts on Windows (Luke Karrys) #52009 - [
081319d762
] - tools: update lint-md-dependencies to rollup@4.13.0 (Node.js GitHub Bot) #52122 - [
c43a944231
] - tools: fix error reported by coverity in js2c.cc (Michael Dawson) #52142 - [
f05b241f07
] - tools: sync ubsan workflow with asan (Michaël Zasso) #52152 - [
a21b15a14e
] - tools: update github_reporter to 1.7.0 (Node.js GitHub Bot) #52121 - [
d60a871db2
] - tools: remove gyp-next .github folder (Marco Ippolito) #52064 - [
6ad5353764
] - tools: update gyp-next to 0.16.2 (Node.js GitHub Bot) #52062 - [
dab85bdc06
] - tools: install manpage to share/man for FreeBSD (Po-Chuan Hsieh) #51791 - [
cde37e7b63
] - tools: automate gyp-next update (Marco Ippolito) #52014 - [
925a464cb8
] - url: remove #context from URLSearchParams (Matt Cowley) #51520 - [
893e2cf22b
] - watch: fix some node argument not passed to watched process (Raz Luvaton) #52358 - [
fec7e505fc
] - watch: use internal addAbortListener (Chemi Atlow) #52081 - [
4f68c7c1c9
] - watch: mark as stable (Moshe Atlow) #52074 - [
257f32296d
] - watch: batch file restarts (Moshe Atlow) #51992
v21.7.3
: 2024-04-10, Version 21.7.3 (Current), @RafaelGSS
This is a security release.
Notable Changes
- CVE-2024-27980 - Command injection via args parameter of
child_process.spawn
without shell option enabled on Windows
Commits
- [
9095c914ed
] - src: disallow direct .bat and .cmd file spawning (Ben Noordhuis) nodejs-private/node-private#562
v21.7.2
: 2024-04-03, Version 21.7.2 (Current), @RafaelGSS prepared by @marco-ippolito
This is a security release.
Notable changes
- CVE-2024-27983 - Assertion failed in node::http2::Http2Session::~Http2Session() leads to HTTP/2 server crash- (High)
- CVE-2024-27982 - HTTP Request Smuggling via Content Length Obfuscation- (Medium)
- llhttp version 9.2.1
- undici version 6.11.1
Commits
- [
3dfc10c851
] - deps: update undici to 6.11.1 (Node.js GitHub Bot) #52328 - [
aceea1c5e7
] - deps: update undici to 6.10.2 (Node.js GitHub Bot) #52227 - [
5f0f96b275
] - deps: update llhttp to 9.2.0 (Node.js GitHub Bot) #51719 - [
1a65e98e22
] - http: do not allow OBS fold in headers by default (Paolo Insogna) nodejs-private/node-private#556 - [
3bd39fb474
] - src: ensure to close stream when destroying session (Anna Henningsen) nodejs-private/node-private#561
v21.7.1
: 2024-03-08, Version 21.7.1 (Current), @targos
Notable Changes
This release reverts #51389, which
landed in Node.js 21.7.0. It is a documented feature that t.after()
hooks are
run even if a test has no subtests. The hook can be used to clean up the test
itself.
Commits
- [
0dfe810ac7
] - benchmark: update iterations of benchmark/async_hooks/async-local- (Lei Shi) #51420 - [
625c9e0ac9
] - benchmark: update iterations of benchmark/domain/domain-fn-args.js (Lei Shi) #51408 - [
7ff3551bad
] - build: fix arm64 host cross-compilation in GN (Cheng Zhao) #51903 - [
fd86ea8b71
] - Revert "build: workaround for node-core-utils" (Richard Lau) #51975 - [
23c32ab3a7
] - build: respect theNODE
env variable inMakefile
(Antoine du Hamel) #51743 - [
9617adc064
] - Revert "build: fix warning in cares under GN build" (Luigi Pinca) #51865 - [
5864534095
] - deps: update nghttp2 to 1.60.0 (Node.js GitHub Bot) #51948 - [
fcf235d623
] - doc: add policy for distribution (Geoffrey Booth) #51918 - [
87d2acc8b1
] - doc: fix actual result of example is different in events (Deokjin Kim) #51925 - [
5908c121c6
] - doc: clarify Corepack threat model (Antoine du Hamel) #51917 - [
20e0ba3b94
] - doc,module: clarify hook chain execution sequence (Jacob Smith) #51884 - [
4d997971ac
] - lib: make sure close net server (theanarkh) #51929 - [
fcc6d54aa3
] - lib: return directly if udp socket close before lookup (theanarkh) #51914 - [
10aaabd158
] - meta: bump github/codeql-action from 3.23.2 to 3.24.6 (dependabot[bot]) #51942 - [
78f38a0143
] - meta: bump actions/upload-artifact from 4.3.0 to 4.3.1 (dependabot[bot]) #51941 - [
42ca5452c4
] - meta: bump codecov/codecov-action from 4.0.1 to 4.1.0 (dependabot[bot]) #51940 - [
015a157375
] - meta: bump actions/cache from 4.0.0 to 4.0.1 (dependabot[bot]) #51939 - [
e476cb4a32
] - meta: bump actions/download-artifact from 4.1.1 to 4.1.3 (dependabot[bot]) #51938 - [
67e8001790
] - meta: bump actions/setup-node from 4.0.1 to 4.0.2 (dependabot[bot]) #51937 - [
50343636e8
] - src: fix --disable-single-executable-application (Joyee Cheung) #51808 - [
a48c9ca0db
] - stream: do not defer construction by one microtick (Matteo Collina) #52005 - [
bee3b364f9
] - test: add regression test for test_runner after hook (Colin Ihrig) #51998 - [
fff7f48f50
] - test: reduce flakiness oftest-runner-output
(Antoine du Hamel) #51952 - [
57ba8f5acb
] - test: fix flaky http-chunk-extensions-limit test (Ethan Arrowood) #51943 - [
9d2c03990a
] - test: remove flaky designation (Luigi Pinca) #51736 - [
e992af81d3
] - test: skip SEA tests when SEA generation fails (Joyee Cheung) #51887 - [
85aa6ca850
] - Revert "test_runner: do not invoke after hook when test is empty" (Colin Ihrig) #51998
v21.7.0
: 2024-03-06, Version 21.7.0 (Current), @RafaelGSS prepared by @marco-ippolito
Text Styling
-
util.styleText(format, text)
: This function returns a formatted text considering theformat
passed.
A new API has been created to format text based on util.inspect.colors
, enabling you to style text in different colors (such as red, blue, ...) and emphasis (italic, bold, ...).
const { styleText } = require('node:util');
const errorMessage = styleText('red', 'Error! Error!');
console.log(errorMessage);
Contributed by Rafael Gonzaga and Hemanth HM in #51850.
Loading and parsing environment variables
-
process.loadEnvFile(path)
:- Use this function to load the
.env
file. If no path is specified, it automatically loads the .env file in the current directory. Example:process.loadEnvFile()
. - Load a specific .env file by specifying its path. Example:
process.loadEnvFile('./development.env')
.
- Use this function to load the
-
util.parseEnv(content)
:- Use this function to parse an existing string containing environment variable assignments.
- Example usage:
require('node:util').parseEnv('HELLO=world')
.
Contributed by Yagiz Nizipli in #51476
.env
file
Support for multi-line values for Node.js 21.7.0 will now support multi-line values in the .env file:
MULTI_LINE="HELLO
WORLD"
Contributed by Ilyas Shabi #51289
sea: support embedding assets
Users can now include assets by adding a key-path dictionary
to the configuration as the assets
field. At build time, Node.js
would read the assets from the specified paths and bundle them into
the preparation blob. In the generated executable, users can retrieve
the assets using the sea.getAsset()
and sea.getAssetAsBlob()
API.
{
"main": "/path/to/bundled/script.js",
"output": "/path/to/write/the/generated/blob.blob",
"assets": {
"a.jpg": "/path/to/a.jpg",
"b.txt": "/path/to/b.txt"
}
}
The single-executable application can access the assets as follows:
const { getAsset } = require('node:sea');
// Returns a copy of the data in an ArrayBuffer
const image = getAsset('a.jpg');
// Returns a string decoded from the asset as UTF8.
const text = getAsset('b.txt', 'utf8');
// Returns a Blob containing the asset without copying.
const blob = getAssetAsBlob('a.jpg');
Contributed by Joyee Cheung in #50960
vm: support using the default loader to handle dynamic import()
This patch adds support for using vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER
as the
importModuleDynamically
option in all vm APIs that take this option except vm.SourceTextModule
. This allows users to have a shortcut to support dynamic import()
in the compiled code without missing the compilation cache if they don't need customization of the loading process. We emit an experimental warning when the import()
is actually handled by the default loader through this option instead of requiring --experimental-vm-modules
.
const { Script, constants } = require('node:vm');
const { resolve } = require('node:path');
const { writeFileSync } = require('node:fs');
// Write test.js and test.txt to the directory where the current script
// being run is located.
writeFileSync(resolve(__dirname, 'test.mjs'),
'export const filename = "./test.json";');
writeFileSync(resolve(__dirname, 'test.json'),
'{"hello": "world"}');
// Compile a script that loads test.mjs and then test.json
// as if the script is placed in the same directory.
const script = new Script(
`(async function() {
const { filename } = await import('./test.mjs');
return import(filename, { with: { type: 'json' } })
})();`,
{
filename: resolve(__dirname, 'test-with-default.js'),
importModuleDynamically: constants.USE_MAIN_CONTEXT_DEFAULT_LOADER,
});
// { default: { hello: 'world' } }
script.runInThisContext().then(console.log);
Contributed by Joyee Cheung in #51244
crypto: implement crypto.hash()
This patch introduces a helper crypto.hash() that computes a digest from the input at one shot. This can be 1.2-2x faster than the object-based createHash() for smaller inputs (<= 5MB) that are readily available (not streamed) and incur less memory overhead since no intermediate objects will be created.
const crypto = require('node:crypto');
// Hashing a string and return the result as a hex-encoded string.
const string = 'Node.js';
// 10b3493287f831e81a438811a1ffba01f8cec4b7
console.log(crypto.hash('sha1', string));
Contributed by Joyee Cheung in #51044
Other Notable Changes
- [
8ae0eeb7f4
] - (SEMVER-MINOR) build: build opt to set local location of headers (Michael Dawson) #51525 - [
496776cc78
] - crypto: update root certificates to NSS 3.98 (Node.js GitHub Bot) #51794 - [
a8c9e6f7e9
] - doc: add zcbenz to collaborators (Cheng Zhao) #51812 - [
adbf2d3837
] - doc: add lemire to collaborators (Daniel Lemire) #51572 - [
4b1c6839f4
] - (SEMVER-MINOR) http2: add h2 compat support for appendHeader (Tim Perry) #51412 - [
d8aa2bac0b
] - (SEMVER-MINOR) http2: add server handshake utility (snek) #51172 - [
b9275d9039
] - (SEMVER-MINOR) http2: receive customsettings (Marten Richter) #51323 - [
5a2d2daad5
] - (SEMVER-MINOR) lib: move encodingsMap to internal/util (Joyee Cheung) #51044 - [
e8d9065262
] - (SEMVER-MINOR) sea: support sea.getRawAsset() (Joyee Cheung) #50960 - [
47186fbad5
] - (SEMVER-MINOR) src: print string content better in BlobDeserializer (Joyee Cheung) #50960 - [
119e045053
] - (SEMVER-MINOR) src: do not coerce dotenv paths (Tobias Nießen) #51425 - [
9ab353af00
] - (SEMVER-MINOR) stream: implementmin
option forReadableStreamBYOBReader.read
(Mattias Buelens) #50888
Commits
- [
4ddb9b33d5
] - async_hooks,inspector: implement inspector api without async_wrap (Gabriel Bota) #51501 - [
7e06c11f55
] - benchmark: update iterations of assert/deepequal-typedarrays.js (Lei Shi) #51419 - [
72be232006
] - benchmark: update iterations of benchmark/assert/deepequal-map.js (Lei Shi) #51416 - [
92e7c310cb
] - benchmark: rename startup.js to startup-core.js (Joyee Cheung) #51669 - [
c9ada533a2
] - build: removelibrt
libs link for Android compatibility (BuShe Pie) #51632 - [
86ac787889
] - build: do not rely on gn_helpers in GN build (Cheng Zhao) #51439 - [
9be6b7ccf0
] - build: fix warning in cares under GN build (Cheng Zhao) #51687 - [
d1a8c2e989
] - build: fix building js2c with GN (Cheng Zhao) #51818 - [
9840715dc0
] - build: encode non-ASCII Latin1 characters as one byte in JS2C (Joyee Cheung) #51605 - [
8ae0eeb7f4
] - (SEMVER-MINOR) build: build opt to set local location of headers (Michael Dawson) #51525 - [
1999719877
] - build: use macOS m1 machines for testing (Yagiz Nizipli) #51620 - [
85f63f3d7d
] - build: check before removing %config% link (liudonghua) #51437 - [
cc37959232
] - build: increase parallel executions in github (Yagiz Nizipli) #51554 - [
2921d55121
] - build: remove copyright header in node.gni (Cheng Zhao) #51535 - [
9da0926396
] - build: update GN build files for ngtcp2 (Cheng Zhao) #51313 - [
59117317f3
] - build,tools: make addons tests work with GN (Cheng Zhao) #50737 - [
78c226281c
] - (SEMVER-MINOR) crypto: implement crypto.hash() (Joyee Cheung) #51044 - [
496776cc78
] - crypto: update root certificates to NSS 3.98 (Node.js GitHub Bot) #51794 - [
17c554f1ca
] - crypto: use EVP_MD_fetch and cache EVP_MD for hashes (Joyee Cheung) #51034 - [
014cc53541
] - deps: upgrade npm to 10.5.0 (npm team) #51913 - [
4ebb944800
] - deps: update undici to 6.6.2 (Michaël Zasso) #51667 - [
3b29dff0ed
] - deps: update ngtcp2 to 1.3.0 (Node.js GitHub Bot) #51796 - [
28c0ffb363
] - deps: update simdjson to 3.7.0 (Daniel Lemire) #51859 - [
58b1403693
] - deps: update corepack to 0.25.2 (Node.js GitHub Bot) #51810 - [
c7083720cc
] - deps: update c-ares to 1.27.0 (Node.js GitHub Bot) #51846 - [
6d2699d40b
] - deps: update timezone to 2024a (Michaël Zasso) #51723 - [
8d2222714d
] - deps: update icu to 74.2 (Michaël Zasso) #51723 - [
c3dbd7cccd
] - deps: update c-ares to 1.26.0 (Node.js GitHub Bot) #51582 - [
dfc3811056
] - deps: update googletest to6a59382
(Node.js GitHub Bot) #51580 - [
8235c2676e
] - deps: update nghttp2 to 1.59.0 (Node.js GitHub Bot) #51581 - [
2ad665e24f
] - deps: V8: cherry-pickefb1133
(Joyee Cheung) #51551 - [
e5db8d416f
] - deps: update corepack to 0.24.1 (Node.js GitHub Bot) #51459 - [
fe597de72e
] - deps: update ada to 2.7.6 (Node.js GitHub Bot) #51542 - [
5aca6f54f9
] - deps: update ada to 2.7.5 (Node.js GitHub Bot) #51542 - [
8f63f6ff57
] - deps: update ngtcp2 to 1.2.0 (Node.js GitHub Bot) #51584 - [
a04aa36ce8
] - deps: update googletest to7c07a86
(Node.js GitHub Bot) #51458 - [
4b1d25b68d
] - deps: update ngtcp2 to 1.1.0 (Node.js GitHub Bot) #51319 - [
682f4f67b0
] - deps: update acorn-walk to 8.3.2 (Node.js GitHub Bot) #51457 - [
365a9dc2cb
] - deps: update timezone to 2023d (Node.js GitHub Bot) #51461 - [
40e8b362a2
] - deps: update base64 to 0.5.2 (Node.js GitHub Bot) #51455 - [
139a626264
] - deps: compile c-ares with C11 support (Michaël Zasso) #51410 - [
1cc37c4355
] - deps: upgrade npm to 10.3.0 (npm team) #51431 - [
942e10f5b5
] - deps: update c-ares to 1.25.0 (Node.js GitHub Bot) #51385 - [
17cb4af5a9
] - deps: update uvwasi to 0.0.20 and fixup tests (Michael Dawson) #51355 - [
76582e434c
] - deps: add nghttp3/**/.deps to .gitignore (Luigi Pinca) #51400 - [
4a889e8ea3
] - doc: add stability index to crypto.hash() (Joyee Cheung) #51978 - [
3fdaeba9e6
] - doc: remove redundant backquote which breaks sentence (JounQin) #51904 - [
58747734a2
] - doc: update node-api/node-addon-api team link to sharing project news (Ulises Gascón) #51877 - [
2cdfe35437
] - doc: add website team to sharing project news (Ulises Gascón) #49002 - [
db30428f06
] - doc: update guide link for Event Loop (Shrujal Shah) #51874 - [
a5a17a18e3
] - doc: changeExperimentalWarnings
toExperimentalWarning
(Ameet Kaustav) #51741 - [
32d92aca1f
] - doc: add Paolo to TSC members (Michael Dawson) #51825 - [
2de1e85268
] - doc: reserve 123 for Electron 30 (Keeley Hammond) #51803 - [
ad8cefcbf1
] - doc: add mention to GPG_TTY (Rafael Gonzaga) #51806 - [
a8c9e6f7e9
] - doc: add zcbenz to collaborators (Cheng Zhao) #51812 - [
4e0c79bea9
] - doc: add entry to stewards (Rafael Gonzaga) #51760 - [
7fa30812ea
] - doc: update technical priorities for 2023 (Jean Burellier) #47523 - [
af6b5b1722
] - doc: mark isWebAssemblyCompiledModule eol (Marco Ippolito) #51442 - [
a62f69ecad
] - doc: fixglobals.md
introduction (Antoine du Hamel) #51742 - [
519dc8aad6
] - doc: updates for better json generating (Dmitry Semigradsky) #51592 - [
1b45ca4e38
] - doc: document the GN build (Cheng Zhao) #51676 - [
37182c4c1f
] - doc: fix uncaught exception example (Gabriel Schulhof) #51638 - [
c9be260b7d
] - doc: clarify execution ofafter
hook on test suite completion (Ognjen Jevremović) #51523 - [
8c0a257021
] - doc: fixdns.lookup
anddnsPromises.lookup
description (Duncan Chiu) #51517 - [
177e13cb0d
] - doc: note that path.normalize deviates from POSIX (Tobias Nießen) #51513 - [
adbf2d3837
] - doc: add lemire to collaborators (Daniel Lemire) #51572 - [
fd2a3cef57
] - doc: fix historical experimental fetch flag (Kenrick) #51506 - [
1d40a0067a
] - doc: fix type of connectionAttempt parameter (Rafael Gonzaga) #51490 - [
d3b78051ce
] - doc: remove reference to resolved child_process v8 issue (Ian Kerins) #51467 - [
2bf371886a
] - doc: update typos (Aranđel Šarenac) #51475 - [
10f95283c6
] - doc: add notes on inspector breakpoints (Chengzhong Wu) #51417 - [
4ea194ab33
] - doc: add links inoffboarding.md
(Antoine du Hamel) #51440 - [
fc5629616b
] - doc: fix spelling mistake (u9g) #51454 - [
70e88cf159
] - doc: add check for security reverts (Michael Dawson) #51376 - [
74d4e382a7
] - doc: fix some policy scope typos (Tim Kuijsten) #51234 - [
d7658ca6a2
] - doc: improve subtests documentation (Marco Ippolito) #51379 - [
c18a813638
] - doc: add missing word inchild_process.md
(Joseph Joy) #50370 - [
fabd5c4b21
] - doc: fixup alignment of warning subsection (James M Snell) #51374 - [
80c750c8c1
] - doc,crypto: further clarify RSA_PKCS1_PADDING support (Tobias Nießen) #51799 - [
b53919d988
] - doc,crypto: add changelog and note about disabled RSA_PKCS1_PADDING (Filip Skokan) #51782 - [
08832e76d3
] - esm: improve error when callingimport.meta.resolve
fromdata:
URL (Antoine du Hamel) #49516 - [
78f818069a
] - events: no stopPropagation call in cancelBubble (mert.altin) #50405 - [
f130a33438
] - Revert "fs: remove workaround foresm
package" (Jeremy Meng) #50907 - [
5a8af3d362
] - fs: load rimraf lazily in fs/promises (Joyee Cheung) #51617 - [
15a7f2103b
] - fs: remove race condition for recursive watch on Linux (Matteo Collina) #51406 - [
d8bb4b2c1e
] - fs: update jsdoc forfilehandle.createWriteStream
andappendFile
(Jungku Lee) #51494 - [
e8fffebdd3
] - fs,test: add URL to string to fs.watch (Rafael Gonzaga) #51346 - [
ec17fd73cc
] - http: fixclose
return value mismatch between doc and implementation (kylo5aby) #51797 - [
b8e7a87aa9
] - http: split set-cookie when using setHeaders (Marco Ippolito) #51649 - [
682951af60
] - http2: close idle connections when allowHTTP1 is true (xsbchen) #51569 - [
4b1c6839f4
] - (SEMVER-MINOR) http2: add h2 compat support for appendHeader (Tim Perry) #51412 - [
d8aa2bac0b
] - (SEMVER-MINOR) http2: add server handshake utility (snek) #51172 - [
b9275d9039
] - (SEMVER-MINOR) http2: receive customsettings (Marten Richter) #51323 - [
58e2015a03
] - inspector: add NodeRuntime.waitingForDebugger event (mary marchini) #51560 - [
af32d433ee
] - lib: account for cwd access from snapshot serialization cb (Anna Henningsen) #51901 - [
1edbc7d353
] - lib: fix http client socket path (theanarkh) #51900 - [
4dfc9e092e
] - lib: only build the ESM facade for builtins when they are needed (Joyee Cheung) #51669 - [
5a2d2daad5
] - (SEMVER-MINOR) lib: move encodingsMap to internal/util (Joyee Cheung) #51044 - [
eb1089ab17
] - lib: do not access process.noDeprecation at build time (Joyee Cheung) #51447 - [
614ca327c8
] - lib: add assertion for user ESM execution (Joyee Cheung) #51748 - [
77ae03f723
] - lib: create global console properties at snapshot build time (Joyee Cheung) #51700 - [
7f698f064e
] - lib: define FormData and fetch etc. in the built-in snapshot (Joyee Cheung) #51598 - [
4b583bfcc5
] - lib: allow checking the test result from afterEach (Tim Stableford) #51485 - [
ec60639cc0
] - lib: remove unnecessary refreshHrtimeBuffer() (Joyee Cheung) #51446 - [
8dc3f91eb4
] - lib,src: extract sourceMappingURL from module (unbyte) #51690 - [
84c71fa895
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #51726 - [
e5c52a2a6b
] - meta: bump codecov/codecov-action from 3.1.4 to 4.0.1 (dependabot[bot]) #51648 - [
16aa6e5341
] - meta: bump actions/download-artifact from 4.1.0 to 4.1.1 (dependabot[bot]) #51644 - [
97825603ae
] - meta: bump actions/upload-artifact from 4.0.0 to 4.3.0 (dependabot[bot]) #51643 - [
51f0d80876
] - meta: bump step-security/harden-runner from 2.6.1 to 2.7.0 (dependabot[bot]) #51641 - [
97e3cb5844
] - meta: bump actions/cache from 3.3.2 to 4.0.0 (dependabot[bot]) #51640 - [
dcf5f28d68
] - meta: bump github/codeql-action from 3.22.12 to 3.23.2 (dependabot[bot]) #51639 - [
c4a28b2211
] - meta: add .mailmap entry for lemire (Daniel Lemire) #51600 - [
dbf44744ba
] - meta: mark security-wg codeowner for deps folder (Marco Ippolito) #51529 - [
16fea71d08
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #51468 - [
015c4dcacf
] - meta: move RaisinTen to emeritus and remove from strategic initiatives (Darshan Sen) #51411 - [
e942dc1d0c
] - meta: add .temp and .lock tags to ignore (Rafael Gonzaga) #51343 - [
595542e330
] - meta: bump actions/setup-python from 4.7.1 to 5.0.0 (dependabot[bot]) #51335 - [
6c3ba73d03
] - meta: bump actions/setup-node from 4.0.0 to 4.0.1 (dependabot[bot]) #51334 - [
e4f9f0a260
] - meta: bump github/codeql-action from 2.22.8 to 3.22.12 (dependabot[bot]) #51333 - [
77598c3a8e
] - meta: bump actions/stale from 8.0.0 to 9.0.0 (dependabot[bot]) #51332 - [
22a11c32c0
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #51329 - [
391aeb1996
] - module: fix crash when built-in module export adefault
key (Antoine du Hamel) #51481 - [
615b0ae307
] - module: fix--preserve-symlinks-main
(per4uk) #51312 - [
c6cc3ed3b4
] - net: fix connect crash when call destroy in lookup handler (theanarkh) #51826 - [
63e0ceb48f
] - net: fix example IPv4 in dns docs (Aras Abbasi) #51377 - [
bc6f33d8d1
] - node-api: make napi_get_buffer_info check if passed buffer is valid (Janrupf) #51571 - [
5b94ff44ec
] - node-api: move NAPI_EXPERIMENTAL definition to gyp file (Gabriel Schulhof) #51254 - [
66c11f31c3
] - node-api: optimize napi_set_property for perf (Mert Can Altın) #50282 - [
cb621863c6
] - perf_hooks: performance milestone time origin timestamp improvement (IlyasShabi) #51713 - [
4d06d80675
] - quic: various additional cleanups, fixes in Endpoint (James M Snell) #51310 - [
3e579ab2fd
] - repl: fixNO_COLORS
env var is ignored (Moshe Atlow) #51568 - [
7ceb6d6700
] - sea: update stability index (Joyee Cheung) #51774 - [
e8d9065262
] - (SEMVER-MINOR) sea: support sea.getRawAsset() (Joyee Cheung) #50960 - [
cea5295c16
] - (SEMVER-MINOR) sea: support embedding assets (Joyee Cheung) #50960 - [
7543e774bd
] - src: simplify direct queries of env vars in C++ land (Joyee Cheung) #51829 - [
8f10543c58
] - src: stop the profiler and the inspector before snapshot serialization (Joyee Cheung) #51815 - [
ccc76bbfd7
] - src: simplify embedder entry point execution (Joyee Cheung) #51557 - [
0c41210865
] - src: compile code eagerly in snapshot builder (Joyee Cheung) #51672 - [
2a46dc7b86
] - src: check empty before accessing string (Cheng Zhao) #51665 - [
47186fbad5
] - (SEMVER-MINOR) src: print string content better in BlobDeserializer (Joyee Cheung) #50960 - [
6603d32ce3
] - src: fix vm bug for configurable globalThis (F. Hinkelmann) #51602 - [
c7912c3d5a
] - (SEMVER-MINOR) src: support multi-line values for .env file (IlyasShabi) #51289 - [
b8ae5c27c6
] - (SEMVER-MINOR) src: addprocess.loadEnvFile
andutil.parseEnv
(Yagiz Nizipli) #51476 - [
e3a63843f2
] - src: terminate correctly double-quote in env variable (Marco Ippolito) #51510 - [
119e045053
] - (SEMVER-MINOR) src: do not coerce dotenv paths (Tobias Nießen) #51425 - [
b271cc5b16
] - src: refactorGetCreationContext
calls (Jungku Lee) #51367 - [
36e42aa570
] - src: do not read string out of bounds (Cheng Zhao) #51358 - [
8ea7d79082
] - src: avoid shadowed string in fs_permission (Shelley Vohr) #51123 - [
5b06af7814
] - stream: fix eventNames() to not return not defined events (IlyasShabi) #51331 - [
438b7fd049
] - stream: fix cloned webstreams not being unref correctly (tsctx) #51526 - [
9ab353af00
] - (SEMVER-MINOR) stream: implementmin
option forReadableStreamBYOBReader.read
(Mattias Buelens) #50888 - [
17ab5ae570
] - test: fix unreliable assumption in js-native-api/test_cannot_run_js (Joyee Cheung) #51898 - [
e2c51385c7
] - test: test surrogate pair filenames on windows (Mert Can Altın) #51800 - [
049e5f5e8c
] - test: deflake test-http2-large-write-multiple-requests (Joyee Cheung) #51863 - [
2bf03ee678
] - test: fix test-debugger-profile for coverage generation (Joyee Cheung) #51816 - [
d47a95f3b1
] - test: fix test-bootstrap-modules for coverage generation (Joyee Cheung) #51816 - [
c0918f082f
] - test: ensure delay in recursive fs watch tests (Joyee Cheung) #51842 - [
1f6551dda2
] - test: fix test-child-process-fork-net (Joyee Cheung) #51841 - [
f845a16c58
] - test: split wasi tests (Joyee Cheung) #51836 - [
275cea0fdb
] - test: mark test-wasi as flaky on Windows on ARM (Joyee Cheung) #51834 - [
2fb620cd00
] - test: remove test-fs-stat-bigint flaky designation (Luigi Pinca) #51735 - [
b046712e86
] - test: skip test-http-correct-hostname on loong64 (Shi Pujin) #51663 - [
83f581d4c1
] - test: increase platform timeout zlib-brotli-16gb (Rafael Gonzaga) #51792 - [
ea08350c83
] - test: remove test-cli-node-options flaky designation (Luigi Pinca) #51716 - [
9d3a014f67
] - test: remove test-domain-error-types flaky designation (Luigi Pinca) #51717 - [
d7563a5448
] - test: fixinternet/test-inspector-help-page
(Richard Lau) #51693 - [
e9299255ca
] - test: remove duplicate entry for flaky test (Luigi Pinca) #51654 - [
a8ac337250
] - test: remove test-crypto-keygen flaky designation (Luigi Pinca) #51567 - [
c820166e4b
] - test: remove test-fs-rmdir-recursive flaky designation (Luigi Pinca) #51566 - [
db88bf185f
] - test: remove common.expectsError calls for asserts (Paulo Chaves) #51504 - [
fc0c1309b2
] - test: mark test-http2-large-file as flaky (Michaël Zasso) #51549 - [
c88f0b6db9
] - test: use checkIfCollectableByCounting in SourceTextModule leak test (Joyee Cheung) #51512 - [
d4d07f4a44
] - test: remove test-file-write-stream4 flaky designation (Luigi Pinca) #51472 - [
7420a7d2f8
] - test: add URL tests to fs-write (Rafael Gonzaga) #51352 - [
28c2bf3e42
] - test: remove unneeded common.expectsError for asserts (Andrés Morelos) #51353 - [
9dfb36fbe5
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #51533 - [
e4d4bc6f9a
] - test_runner: serialize 'expected' and 'actual' in isolation (Malthe Borch) #51851 - [
5f9491237c
] - test_runner: add ref methods to mocked timers (Marco Ippolito) #51809 - [
af5875c6e8
] - test_runner: check if timeout was cleared by own callback (Ben Richeson) #51673 - [
e0789fbc8a
] - test_runner: do not invoke after hook when test is empty (Marco Ippolito) #51389 - [
27f8549903
] - tools: fix installing node with shared mode (Cheng Zhao) #51910 - [
71a809bd43
] - tools: update eslint to 8.57.0 (Node.js GitHub Bot) #51867 - [
20effe638a
] - tools: update lint-md-dependencies to rollup@4.12.0 (Node.js GitHub Bot) #51795 - [
6c0a3b9c0d
] - tools: update lint-md-dependencies to rollup@4.12.0 (Node.js GitHub Bot) #51795 - [
03f926ddca
] - tools: fix missing [[fallthrough]] in js2c (Cheng Zhao) #51845 - [
b502be1d09
] - tools: disable automated libuv updates (Rafael Gonzaga) #51775 - [
787fb32557
] - tools: fix update-icu.sh (Michaël Zasso) #51723 - [
ba22c614c1
] - tools: update lint-md-dependencies to rollup@4.10.0 (Node.js GitHub Bot) #51720 - [
751821fa21
] - tools: update github_reporter to 1.6.0 (Node.js GitHub Bot) #51658 - [
5fe493d0e4
] - tools: runbuild-windows
workflow only on source changes (Antoine du Hamel) #51596 - [
e1b9655bdc
] - tools: update lint-md-dependencies to rollup@4.9.6 (Node.js GitHub Bot) #51583 - [
d8e1058f18
] - tools: fix loong64 build (Shi Pujin) #51401 - [
e0eeebc960
] - tools: set normalizeTD text default to empty string (Marco Ippolito) #51543 - [
81fd7d1ca9
] - tools: limit parallelism with ninja in V8 builds (Richard Lau) #51473 - [
e88a301e98
] - tools: do not pass invalid flag to C compiler (Michaël Zasso) #51409 - [
129d3b3293
] - tools: update lint-md-dependencies to rollup@4.9.5 (Node.js GitHub Bot) #51460 - [
f3845de204
] - tools: update inspector_protocol to83b1154
(Kohei Ueno) #51309 - [
58901d08fd
] - tools: update github_reporter to 1.5.4 (Node.js GitHub Bot) #51395 - [
29492e2c88
] - tools: fix version parsing in brotli update script (Richard Lau) #51373 - [
17593d95ba
] - tools: update lint-md-dependencies to rollup@4.9.4 (Node.js GitHub Bot) #51396 - [
35f33d3a31
] - tools: remove openssl v1 update script (Marco Ippolito) #51378 - [
83b3aa838b
] - tools: remove deprecated python api (Alex Yang) #49731 - [
adb2c36f0f
] - typings: lib/internal/vm.js (Geoffrey Booth) #50112 - [
407341e25c
] - url: don't update URL immediately on update to URLSearchParams (Matt Cowley) #51520 - [
88e08bbe80
] - (SEMVER-MINOR) util: add styleText API to text formatting (Rafael Gonzaga) #51850 - [
ba444a949d
] - vm: implement isContext() directly in JS land with private symbol (Joyee Cheung) #51685 - [
4c508269cd
] - (SEMVER-MINOR) vm: support using the default loader to handle dynamic import() (Joyee Cheung) #51244
v21.6.2
: 2024-02-14, Version 21.6.2 (Current), @RafaelGSS
Notable changes
This is a security release.
Notable changes
- CVE-2024-21892 - Code injection and privilege escalation through Linux capabilities- (High)
- CVE-2024-22019 - http: Reading unprocessed HTTP request with unbounded chunk extension allows DoS attacks- (High)
- CVE-2024-21896 - Path traversal by monkey-patching Buffer internals- (High)
- CVE-2024-22017 - setuid() does not drop all privileges due to io_uring - (High)
- CVE-2023-46809 - Node.js is vulnerable to the Marvin Attack (timing variant of the Bleichenbacher attack against PKCS#1 v1.5 padding) - (Medium)
- CVE-2024-21891 - Multiple permission model bypasses due to improper path traversal sequence sanitization - (Medium)
- CVE-2024-21890 - Improper handling of wildcards in --allow-fs-read and --allow-fs-write (Medium)
- CVE-2024-22025 - Denial of Service by resource exhaustion in fetch() brotli decoding - (Medium)
- undici version 5.28.3
- libuv version 1.48.0
- OpenSSL version 3.0.13+quic1
Commits
- [
8344719369
] - crypto: disable PKCS#1 padding for privateDecrypt (Michael Dawson) nodejs-private/node-private#525 - [
d093600ac4
] - deps: update archs files for openssl-3.0.13+quic1 (Node.js GitHub Bot) #51614 - [
6cd930e5e8
] - deps: upgrade openssl sources to quictls/openssl-3.0.13+quic1 (Node.js GitHub Bot) #51614 - [
9590c15d3d
] - deps: upgrade libuv to 1.48.0 (Santiago Gimeno) #51698 - [
666096298c
] - deps: disable io_uring support in libuv by default (Tobias Nießen) nodejs-private/node-private#528 - [
a4edd22e30
] - fs: protect against modified Buffer internals in possiblyTransformPath (Tobias Nießen) nodejs-private/node-private#497 - [
6155a1ffaf
] - http: add maximum chunk extension size (Paolo Insogna) nodejs-private/node-private#518 - [
777509495e
] - lib: use cache fs internals against path traversal (RafaelGSS) nodejs-private/node-private#516 - [
9d2ac2b3fc
] - lib: update undici to v5.28.3 (Matteo Collina) nodejs-private/node-private#538 - [
208b3940c7
] - src: fix HasOnly(capability) in node::credentials (Tobias Nießen) nodejs-private/node-private#505 - [
fc2454f29c
] - src,deps: disable setuid() etc if io_uring enabled (Tobias Nießen) nodejs-private/node-private#528 - [
ef3eea20be
] - test,doc: clarify wildcard usage (RafaelGSS) nodejs-private/node-private#517 - [
8547196964
] - zlib: pause stream if outgoing buffer is full (Matteo Collina) nodejs-private/node-private#540
v21.6.1
: 2024-01-22, Version 21.6.1 (Current), @RafaelGSS
Notable Changes
This release fixes a bug in undici
using WebStreams
Commits
- [
662ac95729
] - Revert "stream: fix cloned webstreams not being unref'd" (Matteo Collina) #51491 - [
1b8bba8aee
] - test: add regression test for 51586 (Matteo Collina) #51491
v21.6.0
: 2024-01-15, Version 21.6.0 (Current), @RafaelGSS
New connection attempt events
Three new events were added in the net.createConnection
flow:
-
connectionAttempt
: Emitted when a new connection attempt is established. In case of Happy Eyeballs, this might emitted multiple times. -
connectionAttemptFailed
: Emitted when a connection attempt failed. In case of Happy Eyeballs, this might emitted multiple times. -
connectionAttemptTimeout
: Emitted when a connection attempt timed out. In case of Happy Eyeballs, this will not be emitted for the last attempt. This is not emitted at all if Happy Eyeballs is not used.
Additionally, a previous bug has been fixed where a new connection attempt could have been started after a previous one failed and after the connection was destroyed by the user. This led to a failed assertion.
Contributed by Paolo Insogna in #51045.
Changes to the Permission Model
Node.js 21.6.0 comes with several fixes for the experimental permission model and two new semver-minor commits.
We're adding a new flag --allow-addons
to enable addon usage when using the Permission Model.
$ node --experimental-permission --allow-addons
Contributed by Rafael Gonzaga in #51183
And relative paths are now supported through the --allow-fs-*
flags.
Therefore, with this release one can use:
$ node --experimental-permission --allow-fs-read=./index.js
To give only read access to the entrypoint of the application.
Contributed by Rafael Gonzaga and Carlos Espa in #50758
--build-snapshot-config
flag
Support configurable snapshot through We are adding a new flag --build-snapshot-config
to configure snapshots through a custom JSON configuration file.
$ node --build-snapshot-config=/path/to/myconfig.json
When using this flag, additional script files provided on the command line will not be executed and instead be interpreted as regular command line arguments.
These changes were contributed by Joyee Cheung and Anna Henningsen in #50453
Other Notable Changes
- [
c31ed51373
] - (SEMVER-MINOR) timers: export timers.promises (Marco Ippolito) #51246
Commits
- [
13a1241b83
] - assert,crypto: make KeyObject and CryptoKey testable for equality (Filip Skokan) #50897 - [
4dcc5114aa
] - benchmark: remove dependency on unshipped tools (Adam Majer) #51146 - [
2eb41f86b3
] - build: fix for VScode "Reopen in Container" (Serg Kryvonos) #51271 - [
e03ac83c19
] - build: fix arm64 cross-compilation (Michaël Zasso) #51256 - [
cd61fce34e
] - build: add-flax-vector-conversions
to V8 build (Michaël Zasso) #51257 - [
e5017a522e
] - crypto: update CryptoKey symbol properties (Filip Skokan) #50897 - [
c0d2e8be11
] - deps: update corepack to 0.24.0 (Node.js GitHub Bot) #51318 - [
24a9a72492
] - deps: update acorn to 8.11.3 (Node.js GitHub Bot) #51317 - [
e53cbb22c2
] - deps: update ngtcp2 and nghttp3 (James M Snell) #51291 - [
f00f1204f1
] - deps: update brotli to 1.1.0 (Node.js GitHub Bot) #50804 - [
a41dca0c51
] - deps: update zlib to 1.3.0.1-motley-40e35a7 (Node.js GitHub Bot) #51274 - [
efa12a89c6
] - deps: update simdutf to 4.0.8 (Node.js GitHub Bot) #51000 - [
25eba3d20b
] - deps: V8: cherry-pickde611e6
(Keyhan Vakil) #51200 - [
a07d6e23e4
] - deps: update simdjson to 3.6.3 (Node.js GitHub Bot) #51104 - [
6d1bfcb2dd
] - deps: update googletest to530d5c8
(Node.js GitHub Bot) #51191 - [
75e5615c43
] - deps: update acorn-walk to 8.3.1 (Node.js GitHub Bot) #50457 - [
3ecc7dcc00
] - deps: update acorn-walk to 8.3.0 (Node.js GitHub Bot) #50457 - [
e2f8d741c8
] - deps: update zlib to 1.3.0.1-motley-dd5fc13 (Node.js GitHub Bot) #51105 - [
4a5d3bda72
] - doc: the GN files should use Node's license (Cheng Zhao) #50694 - [
84127514ba
] - doc: improve localWindowSize event descriptions (Davy Landman) #51071 - [
8ee882a49c
] - doc: mark--jitless
as experimental (Antoine du Hamel) #51247 - [
876743ece1
] - doc: run license-builder (github-actions[bot]) #51199 - [
ec6fcff009
] - doc: fix limitations and known issues in pm (Rafael Gonzaga) #51184 - [
c13a5c0373
] - doc: mention node:wasi in the Threat Model (Rafael Gonzaga) #51211 - [
4b19e62444
] - doc: remove ambiguous 'considered' (Rich Trott) #51207 - [
5453abd6ad
] - doc: set exit code in custom test runner example (Matteo Collina) #51056 - [
f9d4e07faf
] - doc: remove version frommaintaining-dependencies.md
(Antoine du Hamel) #51195 - [
df8927a073
] - doc: mention native addons are restricted in pm (Rafael Gonzaga) #51185 - [
e636d83914
] - doc: correct note on behavior of stats.isDirectory (Nick Reilingh) #50946 - [
1c71435c2a
] - doc: fixTestsStream
parent class (Jungku Lee) #51181 - [
2c227b0d64
] - doc: fix simdjson wrong link (Marco Ippolito) #51177 - [
efa13e1943
] - (SEMVER-MINOR) doc: add documentation for --build-snapshot-config (Anna Henningsen) #50453 - [
941aedc6fc
] - errors: fix stacktrace of SystemError (uzlopak) #49956 - [
47548d9e61
] - esm: fix hint on invalid module specifier (Antoine du Hamel) #51223 - [
091098f40a
] - fs: fix fs.promises.realpath for long paths on Windows (翠 / green) #51032 - [
e5a8fa01aa
] - fs: make offset, position & length args in fh.read() optional (Pulkit Gupta) #51087 - [
c87e5d51cc
] - fs: add missing jsdoc parameters toreadSync
(Yagiz Nizipli) #51225 - [
e24249cf37
] - fs: removeinternalModuleReadJSON
binding (Yagiz Nizipli) #51224 - [
7421467812
] - fs: improve mkdtemp performance for buffer prefix (Yagiz Nizipli) #51078 - [
5b229d775f
] - fs: validate fd synchronously on c++ (Yagiz Nizipli) #51027 - [
c7a135962d
] - http: remove misleading warning (Luigi Pinca) #51204 - [
a325746ff4
] - http: do not override user-provided options object (KuthorX) #33633 - [
89eee7763f
] - http2: addtl http/2 settings (Marten Richter) #49025 - [
624142947f
] - lib: fix use of--frozen-intrinsics
with--jitless
(Antoine du Hamel) #51248 - [
8f845eb001
] - lib: move function declaration outside of loop (Sanjaiyan Parthipan) #51242 - [
ed7305e49b
] - lib: reduce overhead ofSafePromiseAllSettledReturnVoid
calls (Antoine du Hamel) #51243 - [
291265ce27
] - lib: expose default prepareStackTrace (Chengzhong Wu) #50827 - [
8ff6bc45ca
] - lib,permission: handle buffer on fs.symlink (Rafael Gonzaga) #51212 - [
416b4f8063
] - (SEMVER-MINOR) lib,src,permission: port path.resolve to C++ (Rafael Gonzaga) #50758 - [
6648a5c576
] - meta: notify tsc on changes in SECURITY.md (Rafael Gonzaga) #51259 - [
83a99ccedd
] - meta: update artifact actions to v4 (Michaël Zasso) #51219 - [
b621ada69a
] - module: move the CJS exports cache to internal/modules/cjs/loader (Joyee Cheung) #51157 - [
e4be5b60f0
] - (SEMVER-MINOR) net: add connection attempt events (Paolo Insogna) #51045 - [
3a492056e2
] - node-api: type tag external values without v8::Private (Chengzhong Wu) #51149 - [
b2135ae7dc
] - node-api: segregate nogc APIs from rest via type system (Gabriel Schulhof) #50060 - [
8f4325dcd5
] - permission: fix wildcard when children > 1 (Rafael Gonzaga) #51209 - [
7ecf99404e
] - quic: update quic impl to use latest ngtcp2/nghttp3 (James M Snell) #51291 - [
5b32e21f3b
] - quic: add quic internalBinding, refine Endpoint, add types (James M Snell) #51112 - [
3310095bea
] - repl: fix prepareStackTrace frames array order (Chengzhong Wu) #50827 - [
a0ff00b526
] - src: avoid draining platform tasks at FreeEnvironment (Chengzhong Wu) #51290 - [
115e0585cd
] - src: add fast api for Histogram (James M Snell) #51296 - [
29b81576c6
] - src: refactorGetCreationContext
calls (Yagiz Nizipli) #51287 - [
54dd978400
] - src: enter isolate before destructing IsolateData (Ben Noordhuis) #51138 - [
864ecb0dfa
] - src: do not treat all paths ending with node_modules as such (Michaël Zasso) #51269 - [
df31c8114c
] - src: eliminate duplicate code in histogram.cc (James M Snell) #51263 - [
17c73e6d0c
] - src: fix unix abstract socket path for trace event (theanarkh) #50858 - [
96d64edc94
] - src: use BignumPointer and use BN_clear_free (James M Snell) #50454 - [
8a2dd93a14
] - src: implement FastByteLengthUtf8 with simdutf::utf8_length_from_latin1 (Daniel Lemire) #50840 - [
e54ddf898f
] - (SEMVER-MINOR) src: support configurable snapshot (Joyee Cheung) #50453 - [
a69c7d7bc3
] - (SEMVER-MINOR) src,permission: add --allow-addon flag (Rafael Gonzaga) #51183 - [
e7925e66fc
] - src,stream: improve WriteString (ywave620) #51155 - [
82de6603af
] - stream: fix code style (Mattias Buelens) #51168 - [
e443953656
] - stream: fix cloned webstreams not being unref'd (James M Snell) #51255 - [
757a84c9ea
] - test: fix flaky conditions for ppc64 SEA tests (Richard Lau) #51422 - [
85ee2f7255
] - test: replace forEach() with for...of (Alexander Jones) #50608 - [
549e4b4142
] - test: replace forEach with for...of (Ospite Privilegiato) #50787 - [
ef44f9bef2
] - test: replace foreach with for of (lucacapocci94-dev) #50790 - [
652af45485
] - test: replace forEach() with for...of (Jia) #50610 - [
684dd9db2f
] - test: fix inconsistency write size intest-fs-readfile-tostring-fail
(Jungku Lee) #51141 - [
aaf710f535
] - test: replace forEach test-http-server-multiheaders2 (Marco Mac) #50794 - [
57c64550cc
] - test: replace forEach with for-of in test-webcrypto-export-import-ec (Chiara Ricciardi) #51249 - [
88e865181b
] - test: move to for of loop in test-http-hostname-typechecking.js (Luca Del Puppo) #50782 - [
3db376f67a
] - test: skip test-watch-mode-inspect on arm (Michael Dawson) #51210 - [
38232d1c52
] - test: replace forEach with for of in file test-trace-events-net.js (Ianna83) #50789 - [
f1cb58355a
] - test: replace forEach() with for...of in test/parallel/test-util-log.js (Edoardo Dusi) #50783 - [
9bfd84c117
] - test: replace forEach with for of in test-trace-events-api.js (Andrea Pavone) #50784 - [
7e9834915a
] - test: replace forEach with for-of in test-v8-serders.js (Mattia Iannone) #50791 - [
b6f232e841
] - test: add URL tests to fs-read in pm (Rafael Gonzaga) #51213 - [
8a2178c5f5
] - test: use tmpdir.refresh() in test-esm-loader-resolve-type.mjs (Luigi Pinca) #51206 - [
7e9a0b192a
] - test: use tmpdir.refresh() in test-esm-json.mjs (Luigi Pinca) #51205 - [
d7c2572fe0
] - test: fix flakiness in worker*.test-free-called (Jithil P Ponnan) #51013 - [
979cebc955
] - test_runner: fixed test object is incorrectly passed to setup() (Pulkit Gupta) #50982 - [
63db82abe6
] - test_runner: fixed to run after hook if before throws an error (Pulkit Gupta) #51062 - [
c31ed51373
] - (SEMVER-MINOR) timers: export timers.promises (Marco Ippolito) #51246 - [
fc10f889eb
] - tools: update lint-md-dependencies to rollup@4.9.2 (Node.js GitHub Bot) #51320 - [
d5a5f12d15
] - tools: fix dep_updaters dir updates (Michaël Zasso) #51294 - [
bdcb5ed510
] - tools: update inspector_protocol toc488ba2
(cola119) #51293 - [
69a46add77
] - tools: update inspector_protocol to9b4a4aa
(cola119) #51293 - [
e325f49d19
] - tools: update inspector_protocol to2f51e05
(cola119) #51293 - [
60d804851b
] - tools: update inspector_protocol tod7b099b
(cola119) #51293 - [
d18168489f
] - tools: update inspector_protocol to912eb68
(cola119) #51293 - [
ef4f46fc39
] - tools: update inspector_protocol to547c5b8
(cola119) #51293 - [
c3126fc016
] - tools: update inspector_protocol toca525fc
(cola119) #51293 - [
917d887dde
] - tools: update lint-md-dependencies to rollup@4.9.1 (Node.js GitHub Bot) #51276 - [
37594918e0
] - tools: check timezone current version (Marco Ippolito) #51178 - [
d0d2faf899
] - tools: update lint-md-dependencies to rollup@4.9.0 (Node.js GitHub Bot) #51193 - [
c96ef6533c
] - tools: update eslint to 8.56.0 (Node.js GitHub Bot) #51194 - [
f4f781d493
] - util: pass invalidSubtypeIndex instead of trimmedSubtype to error (Gaurish Sethia) #51264 - [
867b484429
] - watch: clarify that the fileName parameter can be null (Luigi Pinca) #51305 - [
56e8969b65
] - watch: fix nullfileName
on windows systems (vnc5) #49891 - [
3f4fd6efbb
] - watch: fix infinite loop when passing --watch=true flag (Pulkit Gupta) #51160
v21.5.0
: 2023-12-19, Version 21.5.0 (Current), @RafaelGSS
Notable Changes
- [
0dd53da722
] - (SEMVER-MINOR) deps: add simdjson (Yagiz Nizipli) #50322 - [
9f54987fbc
] - module: merge config withpackage_json_reader
(Yagiz Nizipli) #50322 - [
45e4f82912
] - src: move package resolver to c++ (Yagiz Nizipli) #50322
Deprecations
- [
26ed4ad01f
] - doc: deprecate hash constructor (Marco Ippolito) #51077 - [
58ca66a1a7
] - doc: deprecatedirent.path
(Antoine du Hamel) #51020
Commits
- [
1bbdbdfbeb
] - benchmark: update iterations in benchmark/perf_hooks (Lei Shi) #50869 - [
087fb0908e
] - benchmark: update iterations in benchmark/crypto/aes-gcm-throughput.js (Lei Shi) #50929 - [
53b16c71fb
] - benchmark: update iteration and size in benchmark/crypto/randomBytes.js (Lei Shi) #50868 - [
38fd0ca753
] - benchmark: add undici websocket benchmark (Chenyu Yang) #50586 - [
b148c43244
] - benchmark: add create-hash benchmark (Joyee Cheung) #51026 - [
fdd8c18f96
] - benchmark: update interations and len in benchmark/util/text-decoder.js (Lei Shi) #50938 - [
a9972057ac
] - benchmark: update iterations of benchmark/util/type-check.js (Lei Shi) #50937 - [
b80bb1329b
] - benchmark: update iterations in benchmark/util/normalize-encoding.js (Lei Shi) #50934 - [
dbee03d646
] - benchmark: update iterations in benchmark/util/inspect-array.js (Lei Shi) #50933 - [
f2d83a3a84
] - benchmark: update iterations in benchmark/util/format.js (Lei Shi) #50932 - [
2581fce553
] - bootstrap: improve snapshot unsupported builtin warnings (Joyee Cheung) #50944 - [
735bad3694
] - build: fix warnings from uv for gn build (Cheng Zhao) #51069 - [
8da9d969f9
] - deps: V8: cherry-pick0fd478b
(Joyee Cheung) #50572 - [
429fbb37c1
] - deps: update simdjson to v3.6.2 (Yagiz Nizipli) #50986 - [
9950103253
] - deps: update zlib to 1.3-22124f5 (Node.js GitHub Bot) #50910 - [
0b61823e8b
] - deps: update undici to 5.28.2 (Node.js GitHub Bot) #51024 - [
95d8a273cc
] - deps: cherry-pickbfbe4e3
from libuv upstream (Abdirahim Musse) #50650 - [
06038a489e
] - deps: update libuv to 1.47.0 (Node.js GitHub Bot) #50650 - [
0dd53da722
] - (SEMVER-MINOR) deps: add simdjson (Yagiz Nizipli) #50322 - [
04eaa5cdd7
] - doc: run license-builder (github-actions[bot]) #51111 - [
26ed4ad01f
] - doc: deprecate hash constructor (Marco Ippolito) #51077 - [
637ffce4c4
] - doc: add note regarding--experimental-detect-module
(Shubherthi Mitra) #51089 - [
838179b096
] - doc: correct tracingChannel.traceCallback() (Gerhard Stöbich) #51068 - [
539bee4f0a
] - doc: use length argument in pbkdf2Key (Tobias Nießen) #51066 - [
c45a9a3187
] - doc: add deprecation notice todirent.path
(Antoine du Hamel) #51059 - [
58ca66a1a7
] - doc: deprecatedirent.path
(Antoine du Hamel) #51020 - [
c2b6edf9ab
] - esm: fix hook name in error message (Bruce MacNaughton) #50466 - [
35e8f26f07
] - fs: throw fchownSync error from c++ (Yagiz Nizipli) #51075 - [
c3c8237089
] - fs: update params in jsdoc for createReadStream and createWriteStream (Jungku Lee) #51063 - [
3f7f3ce8c9
] - fs: improve error performance of readvSync (IlyasShabi) #50100 - [
7f95926f17
] - http: handle multi-value content-disposition header (Arsalan Ahmad) #50977 - [
7a8a2d5632
] - lib: don't parse windows drive letters as schemes (华) #50580 - [
aa2be4bb76
] - module: load source maps incommonjs
translator (Hiroki Osame) #51033 - [
c0e5e74876
] - module: documentparentURL
in register options (Hiroki Osame) #51039 - [
4eedf5e694
] - module: fix recently introduced coverity warning (Michael Dawson) #50843 - [
9f54987fbc
] - module: merge config withpackage_json_reader
(Yagiz Nizipli) #50322 - [
5f95dca638
] - node-api: introduce experimental feature flags (Gabriel Schulhof) #50991 - [
3fb7fc909e
] - quic: further implementation details (James M Snell) #48244 - [
fa25e069fc
] - src: implement countObjectsWithPrototype (Joyee Cheung) #50572 - [
abe90527e4
] - src: register udp_wrap external references (Joyee Cheung) #50943 - [
84e2f51d14
] - src: register spawn_sync external references (Joyee Cheung) #50943 - [
2cfee53d7b
] - src: register process_wrap external references (Joyee Cheung) #50943 - [
9b7f79a8bd
] - src: fix double free reported by coverity (Michael Dawson) #51046 - [
fc5503246e
] - src: remove unused headers innode_file.cc
(Jungku Lee) #50927 - [
c3abdc58af
] - src: implement --trace-promises (Joyee Cheung) #50899 - [
f90fc83e97
] - src: fix dynamically linked zlib version (Richard Lau) #51007 - [
9bf144379f
] - src: omit bool values of package.json main field (Yagiz Nizipli) #50965 - [
45e4f82912
] - src: move package resolver to c++ (Yagiz Nizipli) #50322 - [
71acd36778
] - stream: implement TransformStream cleanup using "transformer.cancel" (Debadree Chatterjee) #50126 - [
5112306064
] - stream: fix fd is null when calling clearBuffer (kylo5aby) #50994 - [
ed070755ec
] - test: deflake test-diagnostics-channel-memory-leak (Joyee Cheung) #50572 - [
aee01ff1b4
] - test: test syncrhnous methods of child_process in snapshot (Joyee Cheung) #50943 - [
cc949869a3
] - test: handle relative https redirect (Richard Lau) #51121 - [
048349ed4c
] - test: fix test runner colored output test (Moshe Atlow) #51064 - [
7f5291d783
] - test: resolve path of embedtest binary correctly (Cheng Zhao) #50276 - [
4ddd0daf5f
] - test: escape cwd in regexp (Jérémy Lal) #50980 - [
3ccd5faabb
] - test_runner: format coverage report for tap reporter (Pulkit Gupta) #51119 - [
d5c9adf3df
] - test_runner: fix infinite loop when files are undefined in test runner (Pulkit Gupta) #51047 - [
328a41701c
] - tools: update lint-md-dependencies to rollup@4.7.0 (Node.js GitHub Bot) #51106 - [
297cb6f5c2
] - tools: update doc to highlight.js@11.9.0 unified@11.0.4 (Node.js GitHub Bot) #50459 - [
4705023343
] - tools: fix simdjson updater (Yagiz Nizipli) #50986 - [
c9841583db
] - tools: update eslint to 8.55.0 (Node.js GitHub Bot) #51025 - [
2b4671125e
] - tools: update lint-md-dependencies to rollup@4.6.1 (Node.js GitHub Bot) #51022 - [
cd891b37f6
] - util: improve performance of function areSimilarFloatArrays (Liu Jia) #51040 - [
e178a43509
] - vm: use v8::DeserializeInternalFieldsCallback explicitly (Joyee Cheung) #50984 - [
fd028e146f
] - win,tools: upgrade Windows signing to smctl (Stefan Stojanovic) #50956
v21.4.0
: 2023-12-05, Version 21.4.0 (Current), @targos
Notable Changes
This release fixes a regression introduced in v21.3.0 that caused the fs.writeFileSync
method to throw when called with 'utf8'
encoding, no flag option, and if the target file didn't exist yet.
- [
32acafeeb6
] - (SEMVER-MINOR) fs: introducedirent.parentPath
(Antoine du Hamel) #50976 - [
724548674d
] - fs: use default w flag for writeFileSync with utf8 encoding (Murilo Kakazu) #50990
Commits
- [
b24ee15fb2
] - benchmark: update iterations in benchmark/crypto/hkdf.js (Lei Shi) #50866 - [
f79b54e60e
] - benchmark: update iterations in benchmark/crypto/get-ciphers.js (Lei Shi) #50863 - [
dc049acbbb
] - benchmark: update number of iterations forutil.inspect
(kylo5aby) #50651 - [
d7c562ae38
] - deps: update googletest to76bb2af
(Node.js GitHub Bot) #50555 - [
59a45ddbef
] - deps: update googletest tob10fad3
(Node.js GitHub Bot) #50555 - [
099ebdb781
] - deps: update undici to 5.28.1 (Node.js GitHub Bot) #50975 - [
4b1bed04f7
] - deps: update undici to 5.28.0 (Node.js GitHub Bot) #50915 - [
b281e98b1e
] - doc: add additional details about--input-type
(Shubham Pandey) #50796 - [
b7036f2028
] - doc: add procedure when CVEs don't get published (Rafael Gonzaga) #50945 - [
7adf239af0
] - doc: fix some errors in esm resolution algorithms (Christopher Jeffrey (JJ)) #50898 - [
759ebcaead
] - doc: reserve 121 for Electron 29 (Shelley Vohr) #50957 - [
cedc3427fa
] - doc: run license-builder (github-actions[bot]) #50926 - [
30a6f19769
] - doc: document non-node_modules-only runtime deprecation (Joyee Cheung) #50748 - [
eecab883f0
] - doc: add doc for Unix abstract socket (theanarkh) #50904 - [
ec74b93b38
] - doc: remove flicker on page load on dark theme (Dima Demakov) #50942 - [
724548674d
] - fs: use default w flag for writeFileSync with utf8 encoding (Murilo Kakazu) #50990 - [
32acafeeb6
] - (SEMVER-MINOR) fs: introducedirent.parentPath
(Antoine du Hamel) #50976 - [
c1ee506454
] - fs: remove workaround foresm
package (Yagiz Nizipli) #50907 - [
1cf087dfb3
] - lib: refactor to use validateFunction in diagnostics_channel (Deokjin Kim) #50955 - [
c37d18d5e1
] - lib: streamline process.binding() handling (Joyee Cheung) #50773 - [
246cf73631
] - lib,src: replace toUSVString withtoWellFormed()
(Yagiz Nizipli) #47342 - [
9bc79173a0
] - loader: speed up line length calc used by moduleProvider (Mudit) #50969 - [
812ab9e4f8
] - meta: bump step-security/harden-runner from 2.6.0 to 2.6.1 (dependabot[bot]) #50999 - [
1dbe1af19a
] - meta: bump github/codeql-action from 2.22.5 to 2.22.8 (dependabot[bot]) #50998 - [
bed1b93f8a
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #50931 - [
1e7d101428
] - src: make ModifyCodeGenerationFromStrings more robust (Joyee Cheung) #50763 - [
709ac479eb
] - src: disable uncaught exception abortion for ESM syntax detection (Yagiz Nizipli) #50987 - [
f6ff11c9f9
] - src: fix backtrace with tail [[noreturn]] abort (Chengzhong Wu) #50849 - [
74f5a1cbc9
] - src: print MKSNAPSHOT debug logs to stderr (Joyee Cheung) #50759 - [
3a1c664a97
] - test: replace forEach to for.. test-webcrypto-export-import-cfrg.js (Angelo Parziale) #50785 - [
ac3a6eefe3
] - test: log more information in SEA tests (Joyee Cheung) #50759 - [
94462d42f5
] - test: consolidate utf8 text fixtures in tests (Joyee Cheung) #50732 - [
8e1a70a347
] - tools: add triggers to update release links workflow (Moshe Atlow) #50974 - [
ca10cbb774
] - tools: update lint-md-dependencies to rollup@4.5.2 (Node.js GitHub Bot) #50913 - [
1e40c4a366
] - tools: fix current version check (Marco Ippolito) #50951 - [
3faed331e1
] - typings: fix JSDoc ininternal/modules/esm/hooks
(Alex Yang) #50887 - [
6a087ceffa
] - url: throw error if argument length of revokeObjectURL is 0 (DylanTet) #50433
v21.3.0
: 2023-11-30, Version 21.3.0 (Current), @RafaelGSS
Notable Changes
--disable-warning
flag
New This version adds a new --disable-warning
option that allows users to disable specific warnings either by code
(i.e. DEP0025) or type (i.e. DeprecationWarning, ExperimentalWarning).
This option works alongside existing --warnings
and --no-warnings
.
For example, the following script will not emit DEP0025 require('node:sys')
when executed with
node --disable-warning=DEP0025
:
import sys from 'node:sys';
Contributed by Ethan-Arrowood in #50661
Update Root Certificates to NSS 3.95
This is the certdata.txt from NSS 3.95, released on 2023-11-16.
This is the version of NSS that will ship in Firefox 121 on 2023-12-19.
Certificates added:
- TrustAsia Global Root CA G3
- TrustAsia Global Root CA G4
- CommScope Public Trust ECC Root-01
- CommScope Public Trust ECC Root-02
- CommScope Public Trust RSA Root-01
- CommScope Public Trust RSA Root-02
Certificates removed:
- Autoridad de Certificacion Firmaprofesional CIF
A626340
Fast fs.writeFileSync with UTF-8 Strings
Enhanced writeFileSync functionality by implementing a highly efficient fast path primarily in C++ for UTF8-encoded string data.
Additionally, optimized the appendFileSync
method by leveraging the improved writeFileSync
functionality.
For simplicity and performance considerations, the current implementation supports only string data,
as benchmark results raise concerns about the efficacy of using Buffer for this purpose.
Future optimizations and expansions may be explored, but for now, the focus is on maximizing efficiency for string data operations.
Contributed by CanadaHonk in #49884.
Other Notable Changes
- [
c7a7493ca2
] - (SEMVER-MINOR) module: bootstrap module loaders in shadow realm (Chengzhong Wu) #48655 - [
bc3f7b5401
] - (SEMVER-MINOR) module: remove useCustomLoadersIfPresent flag (Chengzhong Wu) #48655 - [
aadff07e59
] - (SEMVER-MINOR) src: create per isolate proxy env template (Chengzhong Wu) #48655 - [
91aa9dd23a
] - (SEMVER-MINOR) src: create fs_dir per isolate properties (Chengzhong Wu) #48655 - [
5c5834190a
] - (SEMVER-MINOR) src: create worker per isolate properties (Chengzhong Wu) #48655 - [
4a1ce45181
] - (SEMVER-MINOR) src: make process binding data weak (Chengzhong Wu) #48655
Commits
- [
4a20912279
] - benchmark: update iterations in benchmark/util/splice-one.js (Liu Jia) #50698 - [
36380eb53d
] - benchmark: increase the iteration number to an appropriate value (Lei Shi) #50766 - [
23f56d8bb3
] - benchmark: rewrite import.meta benchmark (Joyee Cheung) #50683 - [
f7245d73d9
] - benchmark: add misc/startup-cli-version benchmark (Joyee Cheung) #50684 - [
c81d2acfe0
] - benchmark: remove punycode from require-builtins fixture (Joyee Cheung) #50689 - [
5849f09874
] - build: add GN configurations for simdjson (Cheng Zhao) #50831 - [
12605e8f7d
] - build: add configuration flag to enable Maglev (Keyhan Vakil) #50692 - [
43da9ea9e5
] - build: fix GN configuration for deps/base64 (Cheng Zhao) #50696 - [
465f75b58a
] - build: disable flag v8_scriptormodule_legacy_lifetime (Chengzhong Wu) #50616 - [
d2c0dfb1b7
] - crypto: update root certificates to NSS 3.95 (Node.js GitHub Bot) #50805 - [
8d3a1d8911
] - deps: update zlib to 1.2.13.1-motley-5daffc7 (Node.js GitHub Bot) #50803 - [
e02f304de7
] - deps: V8: cherry-pick0f9ebbc
(Chengzhong Wu) #50867 - [
c31ad5ceaa
] - deps: update icu to 74.1 (Node.js GitHub Bot) #50515 - [
3ff2bda34e
] - deps: update ada to 2.7.4 (Node.js GitHub Bot) #50815 - [
221f02df6d
] - deps: update undici to 5.27.2 (Node.js GitHub Bot) #50813 - [
ee69c613a2
] - deps: update minimatch to 9.0.3 (Node.js GitHub Bot) #50806 - [
00dab30fd2
] - deps: V8: cherry-pick475c8cd
(Keyhan Vakil) #50680 - [
a0c01b23b4
] - deps: update simdutf to 4.0.4 (Node.js GitHub Bot) #50772 - [
071e46ae56
] - deps: upgrade npm to 10.2.4 (npm team) #50751 - [
5d28f8d18f
] - deps: escape Python strings correctly (Michaël Zasso) #50695 - [
3731f836ed
] - deps: V8: cherry-pick8f0b946
(Lu Yahan) #50654 - [
6dfe1023c3
] - dns: call handle.setServers() with a valid array (Luigi Pinca) #50811 - [
2f13db475e
] - doc: make theme consistent across api and other docs (Dima Demakov) #50877 - [
8c4976b732
] - doc: add a section regardinginstanceof
inprimordials.md
(Antoine du Hamel) #50874 - [
6485687642
] - doc: update email to reflect affiliation (Yagiz Nizipli) #50856 - [
bc31375a09
] - doc: shard not supported with watch mode (Pulkit Gupta) #50640 - [
08c3b0ab20
] - doc: get rid of unnecessaryeslint-skip
comments (Antoine du Hamel) #50829 - [
98fb1faff1
] - doc: create deprecation code for isWebAssemblyCompiledModule (Marco Ippolito) #50486 - [
e116fcdb01
] - doc: add CanadaHonk to triagers (CanadaHonk) #50848 - [
a37d9ee1e3
] - doc: fix typos in --allow-fs-* (Tobias Nießen) #50845 - [
8468daf1a9
] - doc: update Crypto API doc for x509.keyUsage (Daniel Meechan) #50603 - [
b4935dde60
] - doc: fix fs.writeFileSync return value documentation (Ryan Zimmerman) #50760 - [
ead9879a04
] - doc: update print results(detail) inPerformanceEntry
(Jungku Lee) #50723 - [
6b7403c5df
] - doc: fixBuffer.allocUnsafe
documentation (Mert Can Altın) #50686 - [
713fdf1fc3
] - doc: run license-builder (github-actions[bot]) #50691 - [
50f336c06f
] - esm: fallback togetSource
whenload
returns nullishsource
(Antoine du Hamel) #50825 - [
bd58870556
] - esm: do not callgetSource
when format iscommonjs
(Francesco Trotta) #50465 - [
e59268a076
] - fs: add c++ fast path for writeFileSync utf8 (CanadaHonk) #49884 - [
483200f68f
] - fs: improve error performance forrmdirSync
(CanadaHonk) #49846 - [
e4e0add0de
] - fs: fix glob returning duplicates (Moshe Atlow) #50881 - [
45b2bb09f2
] - fs: fix to not return for void function (Jungku Lee) #50769 - [
492e3e30b7
] - fs: replace deprecatedpath._makeLong
in copyFile (CanadaHonk) #50844 - [
9dc4cde75b
] - fs: improve error perf of synclstat
+fstat
(CanadaHonk) #49868 - [
c3eee590be
] - inspector: use private fields instead of symbols (Yagiz Nizipli) #50776 - [
1a0069b13d
] - meta: clarify nomination process according to Node.js charter (Matteo Collina) #50834 - [
65a811a86d
] - meta: clarify recommendation for bug reproductions (Antoine du Hamel) #50882 - [
5811a59016
] - meta: move cjihrig to TSC regular member (Colin Ihrig) #50816 - [
c7a7493ca2
] - (SEMVER-MINOR) module: bootstrap module loaders in shadow realm (Chengzhong Wu) #48655 - [
bc3f7b5401
] - (SEMVER-MINOR) module: remove useCustomLoadersIfPresent flag (Chengzhong Wu) #48655 - [
9197b0f2fc
] - net: check pipe mode and path (theanarkh) #50770 - [
673de300b4
] - node-api: factor out common code into macros (Gabriel Schulhof) #50664 - [
aebe2fc702
] - perf_hooks: implement performance.now() with fast API calls (Joyee Cheung) #50492 - [
3fdecc4a8b
] - permission: do not create symlinks if target is relative (Tobias Nießen) #49156 - [
27a4f58640
] - permission: mark const functions as such (Tobias Nießen) #50705 - [
feb8ff9427
] - src: assert return value of BN_bn2binpad (Tobias Nießen) #50860 - [
fd9195d750
] - src: fix coverity warning (Michael Dawson) #50846 - [
adcab85c0c
] - src: fix compatility with upcoming V8 12.1 APIs (Cheng Zhao) #50709 - [
79ef39b8c8
] - (SEMVER-MINOR) src: add--disable-warning
option (Ethan Arrowood) #50661 - [
faf6a04ba6
] - src: add IsolateScopes before using isolates (Keyhan Vakil) #50680 - [
eacf4ba485
] - src: iterate on import attributes array correctly (Michaël Zasso) #50703 - [
0fb35b6a67
] - src: avoid copying strings in FSPermission::Apply (Tobias Nießen) #50662 - [
83ad272fa6
] - src: remove erroneous default argument in RadixTree (Tobias Nießen) #50736 - [
2e8e237ce2
] - src: fix JSONParser leaking internal V8 scopes (Keyhan Vakil) #50688 - [
0d3aa725cf
] - src: return error --env-file if file is not found (Ardi Nugraha) #50588 - [
aadff07e59
] - (SEMVER-MINOR) src: create per isolate proxy env template (Chengzhong Wu) #48655 - [
91aa9dd23a
] - (SEMVER-MINOR) src: create fs_dir per isolate properties (Chengzhong Wu) #48655 - [
5c5834190a
] - (SEMVER-MINOR) src: create worker per isolate properties (Chengzhong Wu) #48655 - [
4a1ce45181
] - (SEMVER-MINOR) src: make process binding data weak (Chengzhong Wu) #48655 - [
8746073664
] - src: avoid silent coercion to signed/unsigned int (Tobias Nießen) #50663 - [
57587de1fa
] - src: handle errors from uv_pipe_connect2() (Deokjin Kim) #50657 - [
e5cce004e8
] - stream: fix enumerability of ReadableStream.from (Mattias Buelens) #50779 - [
4522e229c0
] - stream: fix enumerability of ReadableStream.prototype.values (Mattias Buelens) #50779 - [
2e0abed973
] - stream: yield expected Error class on zlib errors (Filip Skokan) #50712 - [
a275155e81
] - stream: add Symbol.toStringTag to Compression Streams (Filip Skokan) #50712 - [
146ad9cab0
] - stream: treat compression web stream format per its WebIDL definition (Filip Skokan) #50631 - [
087cffc7c2
] - test: fix message v8 not normalising alphanumeric paths (Jithil P Ponnan) #50730 - [
7de900a442
] - test: fix dns test case failures after c-ares update to 1.21.0+ (Brad House) #50743 - [
b1b6c44712
] - test: replace forEach with for of (Conor Watson) #50594 - [
7f44164ad4
] - test: replace forEach to for at test-webcrypto-sign-verify-ecdsa.js (Alessandro Di Nisio) #50795 - [
9d76de1993
] - test: replace foreach with for in test-https-simple.js (Shikha Mehta) #49793 - [
ce8fc56ee4
] - test: add note about unresolved spec issue (Mattias Buelens) #50779 - [
628a12ac18
] - test: add note about readable streams with type owning (Mattias Buelens) #50779 - [
82f0882ce0
] - test: replace forEach with for-of in test-url-relative (vitosorriso) #50788 - [
3b7998305d
] - test: replace forEach() with for ... of in test-tls-getprotocol.js (Steve Goode) #50600 - [
0e4d25eb5c
] - test: use requires instead of flaky in console WPT status (Filip Skokan) #50812 - [
221952a88e
] - test: use ppc and ppc64 to skip SEA tests on PowerPC (Joyee Cheung) #50828 - [
0e3b714069
] - test: enable idlharness tests for encoding (Mattias Buelens) #50778 - [
c8d4cd68b4
] - test: replace forEach in whatwg-encoding-custom-interop (Honza Machala) #50607 - [
f25637b5c9
] - test: update WPT files for WebIDL tests (Filip Skokan) #50712 - [
f2e0fce389
] - test: replace forEach() with for-loop (Jan) #50596 - [
4b26f14a53
] - test: improve test-bootstrap-modules.js (Joyee Cheung) #50708 - [
28d78de0dd
] - test: skip parallel/test-macos-app-sandbox if disk space < 120MB (Joyee Cheung) #50764 - [
4088b750e7
] - test: mark SEA tests as flaky on PowerPC (Joyee Cheung) #50750 - [
6475cee6a4
] - test: give more time to GC in test-shadow-realm-gc-* (Joyee Cheung) #50735 - [
0e8275b610
] - test: replace foreach with for (Markus Muschol) #50599 - [
377deded59
] - test: test streambase has already has a consumer (Jithil P Ponnan) #48059 - [
342a83e728
] - test: change forEach to for...of in path extname (Kyriakos Markakis) #50667 - [
75265e491d
] - test: replace forEach with for...of (Ryan Williams) #50611 - [
982b57651b
] - test: migrate message v8 tests from Python to JS (Joshua LeMay) #50421 - [
7ebc8c2aed
] - test,stream: enable compression WPTs (Filip Skokan) #50631 - [
0bd694ab64
] - test_runner: add tests for various mock timer issues (Mika Fischer) #50384 - [
dee8039c9b
] - tls: fix order of setting cipher before setting cert and key (Kumar Rishav) #50186 - [
5de30531b8
] - tools: add macOS notarization verification step (Ulises Gascón) #50833 - [
a12d9e03f2
] - tools: use macOS keychain to notarize the releases (Ulises Gascón) #50715 - [
f21637717f
] - tools: update eslint to 8.54.0 (Node.js GitHub Bot) #50809 - [
daa933d93a
] - tools: update lint-md-dependencies to rollup@4.5.0 (Node.js GitHub Bot) #50807 - [
52830b71cc
] - tools: add workflow to update release links (Michaël Zasso) #50710 - [
db8ce5bbdd
] - tools: recognize GN files in dep_updaters (Cheng Zhao) #50693 - [
5ef6729b66
] - tools: remove unused file (Ulises Gascon) #50622 - [
c49483820a
] - tools: change minimatch install strategy (Marco Ippolito) #50476 - [
0d556d9a59
] - tools: update lint-md-dependencies to rollup@4.3.1 (Node.js GitHub Bot) #50675 - [
eaa4c14e6b
] - util: improve performance of normalizeEncoding (kylo5aby) #50721 - [
a5d959b765
] - v8,tools: expose necessary V8 defines (Cheng Zhao) #50820
v21.2.0
: 2023-11-14, Version 21.2.0 (Current), @targos
Notable Changes
- [
e25c65ee2f
] - doc: add MrJithil to collaborators (Jithil P Ponnan) #50666 - [
f2366573f9
] - doc: add Ethan-Arrowood as a collaborator (Ethan Arrowood) #50393 - [
eac9cc5fcb
] - (SEMVER-MINOR) esm: add import.meta.dirname and import.meta.filename (James Sumners) #48740 - [
7e151114b1
] - fs: add stacktrace to fs/promises (翠 / green) #49849 - [
6dbb280733
] - (SEMVER-MINOR) lib: add--no-experimental-global-navigator
CLI flag (Antoine du Hamel) #50562 - [
03c730b931
] - (SEMVER-MINOR) lib: add navigator.language & navigator.languages (Aras Abbasi) #50303 - [
f932f4c518
] - (SEMVER-MINOR) lib: add navigator.platform (Aras Abbasi) #50385 - [
91f37d1dc3
] - (SEMVER-MINOR) stream: add support fordeflate-raw
format to webstreams compression (Damian Krzeminski) #50097 - [
65850a67c7
] - stream: use Array for Readable buffer (Robert Nagy) #50341 - [
e433fa54b7
] - stream: optimize creation (Robert Nagy) #50337 - [
c9b92bba58
] - (SEMVER-MINOR) test_runner: adds built in lcov reporter (Phil Nash) #50018 - [
f6c496563e
] - (SEMVER-MINOR) test_runner: add Date to the supported mock APIs (Lucas Santos) #48638 - [
05e8b6ef20
] - (SEMVER-MINOR) test_runner, cli: add --test-timeout flag (Shubham Pandey) #50443
Commits
- [
065d8844c5
] - benchmark: change iterations in benchmark/es/string-concatenations.js (Liu Jia) #50585 - [
3f37ed9f0f
] - benchmark: add benchmarks for encodings (Aras Abbasi) #50348 - [
c4b6e1e9e4
] - benchmark: add more cases to Readable.from (Raz Luvaton) #50351 - [
2006b57a9a
] - benchmark: skip test-benchmark-os on IBMi (Michael Dawson) #50286 - [
800206b04a
] - benchmark: move permission-fs-read to permission-processhas-fs-read (Aki Hasegawa-Johnson) #49770 - [
3bedaf9405
] - buffer: improve Buffer.equals performance (kylo5aby) #50621 - [
b9f3613908
] - build: add GN build files (Cheng Zhao) #47637 - [
22eb0257d8
] - build: fix build with Python 3.12 (Luigi Pinca) #50582 - [
642c057299
] - build: support Python 3.12 (Shi Pujin) #50209 - [
54ebfc10cb
] - build: fix building when there is only python3 (Cheng Zhao) #48462 - [
5073a3e16d
] - deps: update base64 to 0.5.1 (Node.js GitHub Bot) #50629 - [
f70a59f4fa
] - deps: update corepack to 0.23.0 (Node.js GitHub Bot) #50563 - [
78b3432be5
] - deps: V8: cherry-pick13192d6
(Levi Zim) #50552 - [
93e3cc3907
] - deps: upgrade npm to 10.2.3 (npm team) #50531 - [
189e5e5326
] - deps: update nghttp2 to 1.58.0 (Node.js GitHub Bot) #50441 - [
57bfe53095
] - deps: update zlib to 1.2.13.1-motley-dfc48fc (Node.js GitHub Bot) #50456 - [
1e6922e67a
] - deps: patch V8 to 11.8.172.17 (Michaël Zasso) #50292 - [
28453ff966
] - deps: update acorn to 8.11.2 (Node.js GitHub Bot) #50460 - [
0a793a2566
] - deps: update undici to 5.27.0 (Node.js GitHub Bot) #50463 - [
a90c6d669c
] - deps: update archs files for openssl-3.0.12+quic1 (Node.js GitHub Bot) #50411 - [
a64217c116
] - deps: upgrade openssl sources to quictls/openssl-3.0.12+quic1 (Node.js GitHub Bot) #50411 - [
62515e118c
] - deps: update llhttp to 9.1.3 (Node.js GitHub Bot) #50080 - [
d6f49c7bdc
] - deps: update googletest to116b7e5
(Node.js GitHub Bot) #50324 - [
e25c65ee2f
] - doc: add MrJithil to collaborators (Jithil P Ponnan) #50666 - [
8be0efd68f
] - doc: fix typo in fs.md (fwio) #50570 - [
a656bf2dee
] - doc: add missing description of argument insubtle.encrypt
(Deokjin Kim) #50578 - [
4cbe44ed6f
] - doc: update pm documentation to include resource (Ranieri Innocenti Spada) #50601 - [
479c1ea9fe
] - doc: correct attribution in v20.6.0 changelog (Jacob Smith) #50564 - [
1668798902
] - doc: update to alignconsole.table
row to the left (Jungku Lee) #50553 - [
886fc48f87
] - doc: underline links (Rich Trott) #50481 - [
98cfa3a72b
] - doc: recommend supported Python versions (Luigi Pinca) #50407 - [
921e36ece9
] - doc: remove duplicate word (Gerhard Stöbich) #50475 - [
43074ee21c
] - doc: fix typo inwebstreams.md
(André Santos) #50426 - [
0b11bf16e8
] - doc: update notable changes in v21.1.0 (Joyee Cheung) #50388 - [
d62e81229c
] - doc: add information about Node-API versions >=9 (Michael Dawson) #50168 - [
f2366573f9
] - doc: add Ethan-Arrowood as a collaborator (Ethan Arrowood) #50393 - [
d9f92bc042
] - doc: fix TOC inreleases.md
(Bryce Seefieldt) #50372 - [
14e3675b13
] - errors: improve hideStackFrames (Aras Abbasi) #49990 - [
09c02ed26b
] - esm: bypass CJS loader in default load under--default-type=module
(Antoine du Hamel) #50004 - [
eac9cc5fcb
] - (SEMVER-MINOR) esm: add import.meta.dirname and import.meta.filename (James Sumners) #48740 - [
44f19ce394
] - fs: update param in jsdoc forreaddir
(Jungku Lee) #50448 - [
7e151114b1
] - fs: add stacktrace to fs/promises (翠 / green) #49849 - [
3e7226a12f
] - fs: do not throw error on cpSync internals (Yagiz Nizipli) #50185 - [
67cbe1b80f
] - fs,url: moveFromNamespacedPath
tonode_url
(Yagiz Nizipli) #50090 - [
b4db32e9cb
] - fs,url: refactorFileURLToPath
method (Yagiz Nizipli) #50090 - [
4345ee2ede
] - fs,url: moveFileURLToPath
to node_url (Yagiz Nizipli) #50090 - [
ed293fc520
] - lib: remove deprecated string methods (Jithil P Ponnan) #50592 - [
363bc46b92
] - lib: fix assert shows diff messages in ESM and CJS (Jithil P Ponnan) #50634 - [
5fa40bea9e
] - lib: make event static properties non writable and configurable (Muthukumar) #50425 - [
6dbb280733
] - (SEMVER-MINOR) lib: add--no-experimental-global-navigator
CLI flag (Antoine du Hamel) #50562 - [
03c730b931
] - (SEMVER-MINOR) lib: add navigator.language & navigator.languages (Aras Abbasi) #50303 - [
f932f4c518
] - (SEMVER-MINOR) lib: add navigator.platform (Aras Abbasi) #50385 - [
c9bd0c5000
] - lib: use primordials for navigator.userAgent (Aras Abbasi) #50467 - [
6dabe7cf60
] - lib: avoid memory allocation on nodeprecation flag (Vinicius Lourenço) #50231 - [
3615a61ac8
] - lib: align console.table row to the left (Jithil P Ponnan) #50135 - [
9e7131ffda
] - meta: add web-standards as WPTs owner (Filip Skokan) #50636 - [
dedfb5ab26
] - meta: bump github/codeql-action from 2.21.9 to 2.22.5 (dependabot[bot]) #50513 - [
4e83036d89
] - meta: bump step-security/harden-runner from 2.5.1 to 2.6.0 (dependabot[bot]) #50512 - [
4bf9cffa95
] - meta: bump ossf/scorecard-action from 2.2.0 to 2.3.1 (dependabot[bot]) #50509 - [
49cce7634b
] - meta: fix spacing in collaborator list (Antoine du Hamel) #50641 - [
12e54e360c
] - meta: bump actions/setup-python from 4.7.0 to 4.7.1 (dependabot[bot]) #50510 - [
85a527e6e0
] - meta: add crypto as crypto and webcrypto docs owner (Filip Skokan) #50579 - [
ff9b3bdf34
] - meta: bump actions/setup-node from 3.8.1 to 4.0.0 (dependabot[bot]) #50514 - [
840303078f
] - meta: bump actions/checkout from 4.1.0 to 4.1.1 (dependabot[bot]) #50511 - [
c9e6e4e739
] - meta: add ethan.arrowood@vercel.com to mailmap (Ethan Arrowood) #50491 - [
d94010b745
] - meta: add web-standards as web api visibility owner (Chengzhong Wu) #50418 - [
e008336b17
] - meta: mention other notable changes section (Rafael Gonzaga) #50309 - [
3606a0a848
] - module: execute--import
sequentially (Antoine du Hamel) #50474 - [
667d245e75
] - module: add application/json in accept header when fetching json module (Marco Ippolito) #50119 - [
905ca00cbc
] - perf_hooks: reduce overhead of createHistogram (Vinícius Lourenço) #50074 - [
7c35055c8e
] - permission: address coverity warning (Michael Dawson) #50215 - [
b740324f7c
] - src: use v8::Isolate::TryGetCurrent() in DumpJavaScriptBacktrace() (Joyee Cheung) #50518 - [
6e20e083dd
] - src: print more information in C++ assertions (Joyee Cheung) #50242 - [
9f55dfc266
] - src: hide node::credentials::HasOnly outside unit (Tobias Nießen) #50450 - [
4eb74a2c24
] - src: readiterable entries may be empty (Matthew Aitken) #50398 - [
5b453d45d6
] - src: implement structuredClone in native (Joyee Cheung) #50330 - [
f1d79b3cbb
] - src: use find instead of char-by-char in FromFilePath() (Daniel Lemire) #50288 - [
541bdf1e92
] - src: add commit hash shorthand in zlib version (Jithil P Ponnan) #50158 - [
91f37d1dc3
] - (SEMVER-MINOR) stream: add support fordeflate-raw
format to webstreams compression (Damian Krzeminski) #50097 - [
360f5d9088
] - stream: fix Writable.destroy performance regression (Robert Nagy) #50478 - [
0116ae7601
] - stream: pre-allocate _events (Robert Nagy) #50428 - [
2c0d88e83e
] - stream: remove no longer relevant comment (Robert Nagy) #50446 - [
03c4ff760d
] - stream: use bit fields for construct/destroy (Robert Nagy) #50408 - [
e20b272d46
] - stream: improve from perf (Raz Luvaton) #50359 - [
893024cb7c
] - stream: avoid calls to listenerCount (Robert Nagy) #50357 - [
586ec48e5f
] - stream: readable use bitmap accessors (Robert Nagy) #50350 - [
65850a67c7
] - stream: use Array for Readable buffer (Robert Nagy) #50341 - [
e433fa54b7
] - stream: optimize creation (Robert Nagy) #50337 - [
f56ae67c7b
] - stream: refactor writable _write (Robert Nagy) #50198 - [
766bd9c8cc
] - stream: avoid getter for defaultEncoding (Robert Nagy) #50203 - [
8be718a0bd
] - test: use destructuring for accessing setting values (Honza Jedlička) #50609 - [
b701567a46
] - test: replace forEach() with for .. of (Evgenia Blajer) #50605 - [
e978fd4375
] - test: replace forEach() with for ... of in test-readline-keys.js (William Liang) #50604 - [
bc92be4ca9
] - test: replace forEach() with for ... of in test-http2-single-headers.js (spiritualized) #50606 - [
864cd32003
] - test: replace forEach with for of (john-mcinall) #50602 - [
2fdcf5c3da
] - test: remove unused file (James Sumners) #50528 - [
2eeda3f09b
] - test: replace forEach with for of (Kevin Kühnemund) #50597 - [
1d52a57cba
] - test: replace forEach with for of (CorrWu) #49785 - [
52b517f4ec
] - test: replace forEach with for [...] of (Gabriel Bota) #50615 - [
931e1e756a
] - test: relax version check with shared OpenSSL (Luigi Pinca) #50505 - [
6ed8fbf612
] - test: add WPT report test duration (Filip Skokan) #50574 - [
7c7be517b4
] - test: replace forEach() with for ... of loop in test-global.js (Kajol) #49772 - [
de46a346ab
] - test: skip test-diagnostics-channel-memory-leak.js (Joyee Cheung) #50327 - [
8487cac24c
] - test: improveUV_THREADPOOL_SIZE
tests on.env
(Yagiz Nizipli) #49213 - [
ee751102a4
] - test: recognize wpt completion error (Chengzhong Wu) #50429 - [
7e3eb02252
] - test: report error wpt test results (Chengzhong Wu) #50429 - [
90833a89a9
] - test: replace forEach() with for...of (Ram) #49794 - [
f40435d143
] - test: replace forEach() with for...of in test-trace-events-http (Chand) #49795 - [
f70a2dd70d
] - test: fix testsuite against zlib version 1.3 (Dominique Leuenberger) #50364 - [
d24de129a7
] - test: replace forEach with for...of in test-fs-realpath-buffer-encoding (Niya Shiyas) #49804 - [
2b6d283265
] - test: fix timeout of test-cpu-prof-dir-worker.js in LoongArch devices (Shi Pujin) #50363 - [
bd5b61fa6c
] - test: fix crypto-dh error message for OpenSSL 3.x (Kerem Kat) #50395 - [
aa86c78a9c
] - test: fix vm assertion actual and expected order (Chengzhong Wu) #50371 - [
ab9cad8107
] - test: v8: Add test-linux-perf-logger test suite (Luke Albao) #50352 - [
31cd05c39f
] - test: ensure never settling promises are detected (Antoine du Hamel) #50318 - [
ad316419dd
] - test: avoid v8 deadcode on performance function (Vinícius Lourenço) #50074 - [
01bed64cbb
] - test_runner: pass abortSignal to test files (Moshe Atlow) #50630 - [
ae4a7ba991
] - test_runner: replace forEach with for of (Tom Haddad) #50595 - [
913e4b9173
] - test_runner: output errors of suites (Moshe Atlow) #50361 - [
c9b92bba58
] - (SEMVER-MINOR) test_runner: adds built in lcov reporter (Phil Nash) #50018 - [
e2c3b015cd
] - test_runner: test return value of mocked promisified timers (Mika Fischer) #50331 - [
f6c496563e
] - (SEMVER-MINOR) test_runner: add Date to the supported mock APIs (Lucas Santos) #48638 - [
05e8b6ef20
] - (SEMVER-MINOR) test_runner, cli: add --test-timeout flag (Shubham Pandey) #50443 - [
b71c8c447e
] - tls: usevalidateFunction
foroptions.SNICallback
(Deokjin Kim) #50530 - [
5fcd67a8ea
] - tools: add macOS notarization stapler (Ulises Gascón) #50625 - [
253e206fe9
] - tools: update eslint to 8.53.0 (Node.js GitHub Bot) #50559 - [
f5e1c95447
] - tools: update lint-md-dependencies to rollup@4.3.0 (Node.js GitHub Bot) #50556 - [
257e22073e
] - tools: compare ICU checksums before file changes (Michaël Zasso) #50522 - [
aa8feea5f1
] - tools: improve update acorn-walk script (Marco Ippolito) #50473 - [
c0206bf44c
] - tools: update lint-md-dependencies to rollup@4.2.0 (Node.js GitHub Bot) #50496 - [
02dec645f3
] - tools: improve macOS notarization process output readability (Ulises Gascón) #50389 - [
52e7b6d29a
] - tools: update gyp-next to v0.16.1 (Michaël Zasso) #50380 - [
9fc29c909b
] - tools: skip ruff on tools/gyp (Michaël Zasso) #50380 - [
ec7005abff
] - tools: update lint-md-dependencies to rollup@4.1.5 unified@11.0.4 (Node.js GitHub Bot) #50461 - [
aed590035f
] - tools: remove unusedversion
function (Ulises Gascón) #50390 - [
f7590481f2
] - tools: avoid npm install in deps installation (Marco Ippolito) #50413 - [
92d64035c6
] - Revert "tools: update doc dependencies" (Richard Lau) #50414 - [
90c9dd3e0e
] - tools: update doc dependencies (Node.js GitHub Bot) #49988 - [
f210915681
] - tools: run coverage CI only on relevant files (Antoine du Hamel) #50349 - [
5ccdda4004
] - tools: update eslint to 8.52.0 (Node.js GitHub Bot) #50326 - [
bd4634874c
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #50190 - [
773cfa59bb
] - vm: allow dynamic import with a referrer realm (Chengzhong Wu) #50360 - [
2f86d50e70
] - wasi: document security sandboxing status (Guy Bedford) #50396
v21.1.0
: 2023-10-24, Version 21.1.0 (Current), @targos
Notable Changes
Automatically detect and run ESM syntax
The new flag --experimental-detect-module
can be used to automatically run
ES modules when their syntax can be detected. For “ambiguous” files, which are
.js
or extensionless files with no package.json
with a type
field, Node.js
will parse the file to detect ES module syntax; if found, it will run the file
as an ES module, otherwise it will run the file as a CommonJS module.
The same applies to string input via --eval
or STDIN
.
We hope to make detection enabled by default in a future version of Node.js.
Detection increases startup time, so we encourage everyone — especially package
authors — to add a type
field to package.json
, even for the default
"type": "commonjs"
. The presence of a type
field, or explicit extensions
such as .mjs
or .cjs
, will opt out of detection.
Contributed by Geoffrey Booth in #50096.
Other Notable Changes
- [
3729e33358
] - doc: add H4ad to collaborators (Vinícius Lourenço) #50217 - [
18862e4d5d
] - (SEMVER-MINOR) fs: addflush
option toappendFile()
functions (Colin Ihrig) #50095 - [
5a52c518ef
] - (SEMVER-MINOR) lib: addnavigator.userAgent
(Yagiz Nizipli) #50200 - [
789372a072
] - (SEMVER-MINOR) stream: allow pass stream class tostream.compose
(Alex Yang) #50187 - [
f3a9ea0bc4
] - stream: improve performance of readable stream reads (Raz Luvaton) #50173 - [
dda33c2bf1
] - vm: reject in importModuleDynamically without --experimental-vm-modules (Joyee Cheung) #50137 - [
3999362c59
] - vm: use internal versions of compileFunction and Script (Joyee Cheung) #50137 - [
a54179f0e0
] - vm: unify host-defined option generation in vm.compileFunction (Joyee Cheung) #50137
Commits
- [
9cd68b9083
] - buffer: remove unnecessary assignment in fromString (Tobias Nießen) #50199 - [
a362c276ec
] - crypto: ensure valid point on elliptic curve in SubtleCrypto.importKey (Filip Skokan) #50234 - [
f4da308f8d
] - deps: V8: cherry-pickf7d000a
(Luke Albao) #50302 - [
269e268c38
] - deps: update ada to 2.7.2 (Node.js GitHub Bot) #50338 - [
03a31ce41e
] - deps: update corepack to 0.22.0 (Node.js GitHub Bot) #50325 - [
000531781b
] - deps: update undici to 5.26.4 (Node.js GitHub Bot) #50274 - [
f050668c14
] - deps: update c-ares to 1.20.1 (Node.js GitHub Bot) #50082 - [
ba258b682b
] - deps: update c-ares to 1.20.0 (Node.js GitHub Bot) #50082 - [
571f7ef1fa
] - deps: patch V8 to 11.8.172.15 (Michaël Zasso) #50114 - [
943047e800
] - deps: V8: cherry-pick2590224
(Joyee Cheung) #50156 - [
db2a1cf1cb
] - doc: fixnavigator.hardwareConcurrency
example (Tobias Nießen) #50278 - [
6e537aeb44
] - doc: explain how to disable navigator (Geoffrey Booth) #50310 - [
c40de82d62
] - doc: add loong64 info into platform list (Shi Pujin) #50086 - [
1c21a1880b
] - doc: update release process LTS step (Richard Lau) #50299 - [
2473aa3672
] - doc: fix release process table of contents (Richard Lau) #50216 - [
ce9d84eae3
] - doc: update apistream.compose
(Alex Yang) #50206 - [
dacee4d9b5
] - doc: add ReflectConstruct to known perf issues (Vinicius Lourenço) #50111 - [
82363be2ac
] - doc: fix typo in dgram docs (Peter Johnson) #50211 - [
8c1a46c751
] - doc: fix H4ad collaborator sort (Vinicius Lourenço) #50218 - [
3729e33358
] - doc: add H4ad to collaborators (Vinícius Lourenço) #50217 - [
bac872cbd0
] - doc: update release-stewards with last sec-release (Rafael Gonzaga) #50179 - [
06b7724f14
] - doc: add command to keep major branch sync (Rafael Gonzaga) #50102 - [
47633ab086
] - doc: add loong64 to list of architectures (Shi Pujin) #50172 - [
1f40ca1b91
] - doc: update security release process (Michael Dawson) #50166 - [
998feda118
] - esm: do not give wrong hints when detecting file format (Antoine du Hamel) #50314 - [
e375063e01
] - (SEMVER-MINOR) esm: detect ESM syntax in ambiguous JavaScript (Geoffrey Booth) #50096 - [
c76eb27971
] - esm: improve check for ESM syntax (Geoffrey Booth) #50127 - [
7740bf820c
] - esm: rename error code related to import attributes (Antoine du Hamel) #50181 - [
0cc176ef25
] - fs: improve error performance forreadSync
(Jungku Lee) #50033 - [
5942edb774
] - fs: improve error performance forfsyncSync
(Jungku Lee) #49880 - [
6ec5abadc0
] - fs: improve error performance formkdirSync
(CanadaHonk) #49847 - [
c5ff000cb1
] - fs: improve error performance ofrealpathSync
(Yagiz Nizipli) #49962 - [
6eeaa02f5c
] - fs: improve error performance oflchownSync
(Yagiz Nizipli) #49962 - [
dc9ac8d41c
] - fs: improve error performance ofsymlinkSync
(Yagiz Nizipli) #49962 - [
bc6f279261
] - fs: improve error performance ofreadlinkSync
(Yagiz Nizipli) #49962 - [
275987841e
] - fs: improve error performance ofmkdtempSync
(Yagiz Nizipli) #49962 - [
81f15274e2
] - fs: improve error performance oflinkSync
(Yagiz Nizipli) #49962 - [
f766c04856
] - fs: improve error performance ofchownSync
(Yagiz Nizipli) #49962 - [
610036c67d
] - fs: improve error performance ofrenameSync
(Yagiz Nizipli) #49962 - [
18862e4d5d
] - (SEMVER-MINOR) fs: add flush option to appendFile() functions (Colin Ihrig) #50095 - [
3f8cbb15cb
] - http2: allow streams to complete gracefully after goaway (Michael Lumish) #50202 - [
1464eba1a0
] - lib: improve performance of validateStringArray and validateBooleanArray (Aras Abbasi) #49756 - [
5a52c518ef
] - (SEMVER-MINOR) lib: addnavigator.userAgent
(Yagiz Nizipli) #50200 - [
b6021ab8f6
] - lib: reduce overhead of blob clone (Vinicius Lourenço) #50110 - [
be19d9baa1
] - meta: move Trott to TSC regular member (Rich Trott) #50297 - [
91e373f8e9
] - node-api: return napi_exception_pending on proxy handlers (Chengzhong Wu) #48607 - [
531a3ae4b5
] - stream: simplify prefinish (Robert Nagy) #50204 - [
514ac86579
] - stream: reduce scope of readable bitmap details (Robert Nagy) #49963 - [
789372a072
] - (SEMVER-MINOR) stream: allow pass stream class tostream.compose
(Alex Yang) #50187 - [
f3a9ea0bc4
] - stream: call helper function from push and unshift (Raz Luvaton) #50173 - [
a9ca7b32e7
] - test: improve watch mode test (Moshe Atlow) #50319 - [
63b7059efd
] - test: settest-watch-mode-inspect
as flaky (Yagiz Nizipli) #50259 - [
7f87084b05
] - Revert "test: settest-esm-loader-resolve-type
as flaky" (Antoine du Hamel) #50315 - [
4d390e2de4
] - test: replace forEach with for..of in test-http-perf_hooks.js (Niya Shiyas) #49818 - [
67c599ec39
] - test: replace forEach with for..of in test-net-isipv4.js (Niya Shiyas) #49822 - [
19d3ce2494
] - test: deflaketest-esm-loader-resolve-type
(Antoine du Hamel) #50273 - [
2d8d6c5701
] - test: replace forEach with for..of in test-http2-server (Niya Shiyas) #49819 - [
af31d51e5a
] - test: replace forEach with for..of in test-http2-client-destroy.js (Niya Shiyas) #49820 - [
465ad2a5ce
] - test: updateurl
web platform tests (Yagiz Nizipli) #50264 - [
3b80a6894c
] - test: settest-emit-after-on-destroyed
as flaky (Yagiz Nizipli) #50246 - [
57adbdd156
] - test: set inspector async stack test as flaky (Yagiz Nizipli) #50244 - [
6507f66404
] - test: set test-worker-nearheaplimit-deadlock flaky (StefanStojanovic) #50277 - [
21a6ba548d
] - test: settest-cli-node-options
as flaky (Yagiz Nizipli) #50296 - [
c55f8f30cb
] - test: reduce the number of requests and parsers (Luigi Pinca) #50240 - [
5129bedfa2
] - test: set crypto-timing test as flaky (Yagiz Nizipli) #50232 - [
9bc5ab5e07
] - test: settest-structuredclone-*
as flaky (Yagiz Nizipli) #50261 - [
317e447ddc
] - test: deflaketest-loaders-workers-spawned
(Antoine du Hamel) #50251 - [
0c710daae2
] - test: improve code coverage of diagnostics_channel (Jithil P Ponnan) #50053 - [
7c6e4d7ec3
] - test: settest-esm-loader-resolve-type
as flaky (Yagiz Nizipli) #50226 - [
c8744909b0
] - test: set inspector async hook test as flaky (Yagiz Nizipli) #50252 - [
3e38001739
] - test: skip test-benchmark-os.js on IBM i (Abdirahim Musse) #50208 - [
dd66fdfb7b
] - test: set parallel http server test as flaky (Yagiz Nizipli) #50227 - [
a38d1311bf
] - test: set test-worker-nearheaplimit-deadlock flaky (Stefan Stojanovic) #50238 - [
8efb75fd80
] - test: settest-runner-watch-mode
as flaky (Yagiz Nizipli) #50221 - [
143ddded74
] - test: set sea snapshot tests as flaky (Yagiz Nizipli) #50223 - [
ae905a8f35
] - test: fix defect path traversal tests (Tobias Nießen) #50124 - [
ce27ee701b
] - tls: reduce TLS 'close' event listener warnings (Tim Perry) #50136 - [
ab4bae8e1f
] - tools: drop support for osx notarization with gon (Ulises Gascón) #50291 - [
5df3d5abcc
] - tools: update comment inupdate-uncidi.sh
andacorn_version.h
(Jungku Lee) #50175 - [
bf7b94f0b3
] - tools: refactor checkimports.py (Mohammed Keyvanzadeh) #50011 - [
5dc454a837
] - util: remove internal mime fns from benchmarks (Aras Abbasi) #50201 - [
8f7eb15603
] - vm: use import attributes instead of import assertions (Antoine du Hamel) #50141 - [
dda33c2bf1
] - vm: reject in importModuleDynamically without --experimental-vm-modules (Joyee Cheung) #50137 - [
3999362c59
] - vm: use internal versions of compileFunction and Script (Joyee Cheung) #50137 - [
a54179f0e0
] - vm: unify host-defined option generation in vm.compileFunction (Joyee Cheung) #50137 - [
87be790fa9
] - worker: handle detachedMessagePort
from a different context (Juan José) #49150
v21.0.0
: 2023-10-17, Version 21.0.0 (Current), @RafaelGSS and @targos
We're excited to announce the release of Node.js 21! Highlights include updates of the V8 JavaScript engine to 11.8,
stable fetch
and WebStreams
, a new experimental flag to change the interpretation of ambiguous code
from CommonJS to ES modules (--experimental-default-type
), many updates to our test runner, and more!
Node.js 21 will replace Node.js 20 as our ‘Current’ release line when Node.js 20 enters long-term support (LTS) later this month. As per the release schedule, Node.js 21 will be ‘Current' release for the next 6 months, until April 2024.
Other Notable Changes
- [
740ca5423a
] - doc: promote fetch/webstreams from experimental to stable (Steven) #45684 - [
85301803e1
] - esm: --experimental-default-type flag to flip module defaults (Geoffrey Booth) #49869 - [
705e623ac4
] - esm: removeglobalPreload
hook (superseded byinitialize
) (Jacob Smith) #49144 - [
e01c1d700d
] - fs: add flush option to writeFile() functions (Colin Ihrig) #50009 - [
1948dce707
] - (SEMVER-MAJOR) fs: add globSync implementation (Moshe Atlow) #47653 - [
e28dbe1c2b
] - (SEMVER-MINOR) lib: add WebSocket client (Matthew Aitken) #49830 - [
95b8f5dcab
] - stream: optimize Writable (Robert Nagy) #50012 - [
7cd4e70948
] - (SEMVER-MAJOR) test_runner: support passing globs (Moshe Atlow) #47653 - [
1d220b55ac
] - vm: use default HDO when importModuleDynamically is not set (Joyee Cheung) #49950
Semver-Major Commits
- [
ac2a68c76b
] - (SEMVER-MAJOR) build: drop support for Visual Studio 2019 (Michaël Zasso) #49051 - [
4e3983031a
] - (SEMVER-MAJOR) build: bump supported macOS and Xcode versions (Michaël Zasso) #49164 - [
5a0777776d
] - (SEMVER-MAJOR) crypto: do not overwrite _writableState.defaultEncoding (Tobias Nießen) #49140 - [
162a0652ab
] - (SEMVER-MAJOR) deps: bump minimum ICU version to 73 (Michaël Zasso) #49639 - [
17a74ddd3d
] - (SEMVER-MAJOR) deps: update V8 to 11.8.172.13 (Michaël Zasso) #49639 - [
e9ff81016d
] - (SEMVER-MAJOR) deps: update llhttp to 9.1.2 (Paolo Insogna) #48981 - [
7ace5aba75
] - (SEMVER-MAJOR) events: validate options ofon
andonce
(Deokjin Kim) #46018 - [
b3ec13d449
] - (SEMVER-MAJOR) fs: adjustposition
validation in reading methods (Livia Medeiros) #42835 - [
1948dce707
] - (SEMVER-MAJOR) fs: add globSync implementation (Moshe Atlow) #47653 - [
d68d0eacaa
] - (SEMVER-MAJOR) http: reduce parts in chunked response when corking (Robert Nagy) #50167 - [
c5b0b894ed
] - (SEMVER-MAJOR) lib: mark URL/URLSearchParams as uncloneable and untransferable (Chengzhong Wu) #47497 - [
3205b1936a
] - (SEMVER-MAJOR) lib: remove aix directory case for package reader (Yagiz Nizipli) #48605 - [
b40f0c3074
] - (SEMVER-MAJOR) lib: addnavigator.hardwareConcurrency
(Yagiz Nizipli) #47769 - [
4b08c4c047
] - (SEMVER-MAJOR) lib: runtime deprecate punycode (Yagiz Nizipli) #47202 - [
3ce51ae9c0
] - (SEMVER-MAJOR) module: harmonize error code between ESM and CJS (Antoine du Hamel) #48606 - [
7202859402
] - (SEMVER-MAJOR) net: do not treatserver.maxConnections=0
asInfinity
(ignoramous) #48276 - [
c15bafdaf4
] - (SEMVER-MAJOR) net: only defer _final call when connecting (Jason Zhang) #47385 - [
6ffacbf0f9
] - (SEMVER-MAJOR) node-api: rename internal NAPI_VERSION definition (Chengzhong Wu) #48501 - [
11af089b14
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 120 (Michaël Zasso) #49639 - [
d920b7c94b
] - (SEMVER-MAJOR) src: throw DOMException on cloning non-serializable objects (Chengzhong Wu) #47839 - [
64549731b6
] - (SEMVER-MAJOR) src: throw DataCloneError on transfering untransferable objects (Chengzhong Wu) #47604 - [
dac8de689b
] - (SEMVER-MAJOR) stream: use private properties for strategies (Yagiz Nizipli) #47218 - [
1fa084ecdf
] - (SEMVER-MAJOR) stream: use private properties for encoding (Yagiz Nizipli) #47218 - [
4e93247079
] - (SEMVER-MAJOR) stream: use private properties for compression (Yagiz Nizipli) #47218 - [
527589b755
] - (SEMVER-MAJOR) test_runner: disallow array inrun
options (Raz Luvaton) #49935 - [
7cd4e70948
] - (SEMVER-MAJOR) test_runner: support passing globs (Moshe Atlow) #47653 - [
2ef170254b
] - (SEMVER-MAJOR) tls: usevalidateNumber
foroptions.minDHSize
(Deokjin Kim) #49973 - [
092fb9f541
] - (SEMVER-MAJOR) tls: use validateFunction foroptions.checkServerIdentity
(Deokjin Kim) #49896 - [
ccca547e28
] - (SEMVER-MAJOR) util: runtime deprecatepromisify
-ing a function returning aPromise
(Antoine du Hamel) #49609 - [
4038cf0513
] - (SEMVER-MAJOR) vm: freezedependencySpecifiers
array (Antoine du Hamel) #49720
Semver-Minor Commits
- [
3227d7327c
] - (SEMVER-MINOR) deps: update uvwasi to 0.0.19 (Node.js GitHub Bot) #49908 - [
e28dbe1c2b
] - (SEMVER-MINOR) lib: add WebSocket client (Matthew Aitken) #49830 - [
9f9c58212e
] - (SEMVER-MINOR) test_runner, cli: add --test-concurrency flag (Colin Ihrig) #49996 - [
d37b0d267f
] - (SEMVER-MINOR) wasi: updates required for latest uvwasi version (Michael Dawson) #49908
Semver-Patch Commits
- [
33c87ec096
] - benchmark: fix race condition on fs benchs (Vinicius Lourenço) #50035 - [
3c0ec61c4b
] - benchmark: add warmup to accessSync bench (Rafael Gonzaga) #50073 - [
1a839f388e
] - benchmark: improved config for blob,file benchmark (Vinícius Lourenço) #49730 - [
86fe5a80f3
] - benchmark: added new benchmarks for blob (Vinícius Lourenço) #49730 - [
6322d4f587
] - build: fix IBM i build with Python 3.9 (Richard Lau) #48056 - [
17c55d176b
] - build: reset embedder string to "-node.0" (Michaël Zasso) #49639 - [
f10928f926
] - crypto: use X509_ALGOR accessors instead of reaching into X509_ALGOR (David Benjamin) #50057 - [
136a96722a
] - crypto: account for disabled SharedArrayBuffer (Shelley Vohr) #50034 - [
17b9925393
] - crypto: return clear errors when loading invalid PFX data (Tim Perry) #49566 - [
ca25d564c6
] - deps: upgrade npm to 10.2.0 (npm team) #50027 - [
f23a9353ae
] - deps: update corepack to 0.21.0 (Node.js GitHub Bot) #50088 - [
ceedb3a509
] - deps: update simdutf to 3.2.18 (Node.js GitHub Bot) #50091 - [
0522ac086c
] - deps: update zlib to 1.2.13.1-motley-fef5869 (Node.js GitHub Bot) #50085 - [
4f8c5829da
] - deps: update googletest to2dd1c13
(Node.js GitHub Bot) #50081 - [
588784ea30
] - deps: update undici to 5.25.4 (Node.js GitHub Bot) #50025 - [
c9eef0c3c4
] - deps: update googletest toe47544a
(Node.js GitHub Bot) #49982 - [
23cb478398
] - deps: update ada to 2.6.10 (Node.js GitHub Bot) #49984 - [
61411bb323
] - deps: fix call to undeclared functions 'ntohl' and 'htons' (MatteoBax) #49979 - [
49cf182e30
] - deps: update ada to 2.6.9 (Node.js GitHub Bot) #49340 - [
ceb6df0f22
] - deps: update ada to 2.6.8 (Node.js GitHub Bot) #49340 - [
b73e18b5dc
] - deps: update ada to 2.6.7 (Node.js GitHub Bot) #49340 - [
baf2256617
] - deps: update ada to 2.6.5 (Node.js GitHub Bot) #49340 - [
a20a328a9b
] - deps: update ada to 2.6.3 (Node.js GitHub Bot) #49340 - [
3838b579e4
] - deps: V8: cherry-pick8ec2651
(Abdirahim Musse) #49862 - [
668437ccad
] - deps: V8: cherry-pickb60a03d
(Joyee Cheung) #49491 - [
f970087147
] - deps: V8: backport93b1a74
(Joyee Cheung) #49419 - [
4531c154e5
] - deps: V8: cherry-pick8ec2651
(Michaël Zasso) #49639 - [
9ad0e2cacc
] - deps: V8: cherry-pick89b3702
(Michaël Zasso) #49639 - [
dfc9c86868
] - deps: V8: cherry-pickde9a5de
(Michaël Zasso) #49639 - [
186b36efba
] - deps: V8: cherry-pickb5b5d6c
(Michaël Zasso) #49639 - [
867586ce95
] - deps: V8: cherry-pick93b1a74
(Michaël Zasso) #49639 - [
4ad3479ba7
] - deps: V8: cherry-pick1a3ecc2
(Michaël Zasso) #49639 - [
660f902f16
] - deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #49639 - [
f7c1d410ad
] - deps: remove usage of a C++20 feature from V8 (Michaël Zasso) #49639 - [
9c4030bfb9
] - deps: avoid compilation error with ASan (Michaël Zasso) #49639 - [
5f05cc15e6
] - deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #49639 - [
42cd952dbd
] - deps: silence irrelevant V8 warning (Michaël Zasso) #49639 - [
88cf90f9c4
] - deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #49639 - [
8609915951
] - doc: improve ccache explanation (Chengzhong Wu) #50133 - [
91d21324a9
] - doc: move danielleadams to TSC non-voting member (Danielle Adams) #50142 - [
34fa7043a2
] - doc: fix description offs.readdir
recursive
option (RamdohokarAngha) #48902 - [
81e4d2ec2f
] - doc: mention files read before env setup (Rafael Gonzaga) #50072 - [
0ce37ed8e9
] - doc: move permission model to Active Development (Rafael Gonzaga) #50068 - [
3c430212c3
] - doc: add command to get patch minors and majors (Rafael Gonzaga) #50067 - [
e43bf4c31d
] - doc: use precise promise terminology in fs (Benjamin Gruenbaum) #50029 - [
d3a5f1fb5f
] - doc: use precise terminology in test runner (Benjamin Gruenbaum) #50028 - [
24dea2348d
] - doc: clarify explaination text on how to run the example (Anshul Sinha) #39020 - [
f3ed57bd8b
] - doc: reserve 119 for Electron 28 (David Sanders) #50020 - [
85c09f178c
] - doc: update Collaborator pronouns (Tierney Cyren) #50005 - [
099e2f7bce
] - doc: update link to Abstract Modules Records spec (Rich Trott) #49961 - [
47b2883673
] - doc: updated building docs for windows (Claudio W) #49767 - [
7b624c30b2
] - doc: update CHANGELOG_V20 about vm fixes (Joyee Cheung) #49951 - [
1dc0667aa6
] - doc: document dangerous symlink behavior (Tobias Nießen) #49154 - [
bc056c2426
] - doc: add main ARIA landmark to API docs (Rich Trott) #49882 - [
f416a0f555
] - doc: add navigation ARIA landmark to doc ToC (Rich Trott) #49882 - [
740ca5423a
] - doc: promote fetch/webstreams from experimental to stable (Steven) #45684 - [
f802aa0645
] - doc: fix 'partial' typo (Colin Ihrig) #48657 - [
6fda81d4f5
] - doc: mentionNavigator
is a partial implementation (Moshe Atlow) #48656 - [
6aa2aeedcb
] - doc: mark Node.js 19 as End-of-Life (Richard Lau) #48283 - [
0ee9c83ffc
] - errors: improve performance of determine-specific-type (Aras Abbasi) #49696 - [
4f84a3d200
] - errors: improve formatList in errors.js (Aras Abbasi) #49642 - [
cc725a653a
] - errors: improve performance of instantiation (Aras Abbasi) #49654 - [
d1ef6aa2db
] - esm: use import attributes instead of import assertions (Antoine du Hamel) #50140 - [
19b470f866
] - esm: bypass CommonJS loader under --default-type (Geoffrey Booth) #49986 - [
9c683204db
] - esm: unflag extensionless javascript and wasm in module scope (Geoffrey Booth) #49974 - [
05be31d5de
] - esm: improvegetFormatOfExtensionlessFile
speed (Yagiz Nizipli) #49965 - [
aadfea4979
] - esm: improve JSDoc annotation of internal functions (Antoine du Hamel) #49959 - [
7f0e36af52
] - esm: fix cache collision on JSON files using file: URL (Antoine du Hamel) #49887 - [
85301803e1
] - esm: --experimental-default-type flag to flip module defaults (Geoffrey Booth) #49869 - [
f42a103991
] - esm: require braces for modules code (Geoffrey Booth) #49657 - [
705e623ac4
] - esm: removeglobalPreload
hook (superseded byinitialize
) (Jacob Smith) #49144 - [
18a818744f
] - fs: improve error performance ofreaddirSync
(Yagiz Nizipli) #50131 - [
d3985296a9
] - fs: fixunlinkSync
typings (Yagiz Nizipli) #49859 - [
6bc7fa7906
] - fs: improve error perf of syncchmod
+fchmod
(CanadaHonk) #49859 - [
6bd77db41f
] - fs: improve error perf of sync*times
(CanadaHonk) #49864 - [
bf0f0789da
] - fs: improve error performance of writevSync (IlyasShabi) #50038 - [
8a49735bae
] - fs: add flush option to createWriteStream() (Colin Ihrig) #50093 - [
ed49722a8a
] - fs: improve error performance forftruncateSync
(André Alves) #50032 - [
e01c1d700d
] - fs: add flush option to writeFile() functions (Colin Ihrig) #50009 - [
f7a160d5b4
] - fs: improve error performance forfdatasyncSync
(Jungku Lee) #49898 - [
813713f211
] - fs: throw errors from sync branches instead of separate implementations (Joyee Cheung) #49913 - [
b866e38192
] - http: refactor to make servername option normalization testable (Rongjian Zhang) #38733 - [
2990390359
] - inspector: simplify dispatchProtocolMessage (Daniel Lemire) #49780 - [
d4c5fe488e
] - lib: fix compileFunction throws range error for negative numbers (Jithil P Ponnan) #49855 - [
589ac5004c
] - lib: faster internal createBlob (Vinícius Lourenço) #49730 - [
952cf0d17a
] - lib: reduce overhead of validateObject (Vinicius Lourenço) #49928 - [
fa250fdec1
] - lib: make fetch sync and return a Promise (Matthew Aitken) #49936 - [
1b96975f27
] - lib: fixprimordials
typings (Sam Verschueren) #49895 - [
6aa7101960
] - lib: update params in jsdoc forHTTPRequestOptions
(Jungku Lee) #49872 - [
a4fdb1abe0
] - lib,test: do not hardcode Buffer.kMaxLength (Michaël Zasso) #49876 - [
fd21429ef5
] - lib: update usage of always on Atomics API (Michaël Zasso) #49639 - [
bac85be22d
] - meta: ping TSC for offboarding (Tobias Nießen) #50147 - [
609b13e6c2
] - meta: bump actions/upload-artifact from 3.1.2 to 3.1.3 (dependabot[bot]) #50000 - [
3825464ef4
] - meta: bump actions/cache from 3.3.1 to 3.3.2 (dependabot[bot]) #50003 - [
49f0f9ca11
] - meta: bump github/codeql-action from 2.21.5 to 2.21.9 (dependabot[bot]) #50002 - [
f156427244
] - meta: bump actions/checkout from 3.6.0 to 4.1.0 (dependabot[bot]) #50001 - [
0fe673c7e6
] - meta: update website team with new name (Rich Trott) #49883 - [
51f4ff2450
] - module: move helpers out of cjs loader (Geoffrey Booth) #49912 - [
7517c9f95b
] - module, esm: jsdoc for modules files (Geoffrey Booth) #49523 - [
b55adfb4f1
] - node-api: update headers for better wasm support (Toyo Li) #49037 - [
b38e312486
] - node-api: run finalizers directly from GC (Vladimir Morozov) #42651 - [
0f0dd1a493
] - os: cache homedir, remove getCheckedFunction (Aras Abbasi) #50037 - [
0e507d30ac
] - perf_hooks: reduce overhead of new user timings (Vinicius Lourenço) #49914 - [
328bdac7f0
] - perf_hooks: reducing overhead of performance observer entry list (Vinicius Lourenço) #50008 - [
e6e320ecc7
] - perf_hooks: reduce overhead of new resource timings (Vinicius Lourenço) #49837 - [
971af4b211
] - quic: fix up coverity warning in quic/session.cc (Michael Dawson) #49865 - [
546797f2b1
] - quic: prevent copying ngtcp2_cid (Tobias Nießen) #48561 - [
ac6f594c97
] - quic: address new coverity warning (Michael Dawson) #48384 - [
4ee8ef269b
] - quic: prevent copying ngtcp2_cid_token (Tobias Nießen) #48370 - [
6d2811fbf2
] - quic: add additional implementation (James M Snell) #47927 - [
0b3fcfcf35
] - quic: fix typo in endpoint.h (Tobias Nießen) #47911 - [
76044c4e2b
] - quic: add additional QUIC implementation (James M Snell) #47603 - [
78a15702dd
] - src: avoid making JSTransferable wrapper object weak (Chengzhong Wu) #50026 - [
387e2929fe
] - src: generate default snapshot with --predictable (Joyee Cheung) #48749 - [
1643adf771
] - src: fix TLSWrap lifetime bug in ALPN callback (Ben Noordhuis) #49635 - [
66776d8665
] - src: set port in node_options to uint16_t (Yagiz Nizipli) #49151 - [
55ff64001a
] - src: name scoped lock (Mohammed Keyvanzadeh) #50010 - [
b903a710f4
] - src: use exact return value foruv_os_getenv
(Yagiz Nizipli) #49149 - [
43500fa646
] - src: move const variable innode_file.h
tonode_file.cc
(Jungku Lee) #49688 - [
36ab510da7
] - src: remove unused variable (Michaël Zasso) #49665 - [
23d65e7281
] - src: revertIS_RELEASE
to 0 (Rafael Gonzaga) #49084 - [
38dee8a1c0
] - src: distinguish HTML transferable and cloneable (Chengzhong Wu) #47956 - [
586fcff061
] - src: fix logically dead code reported by Coverity (Mohammed Keyvanzadeh) #48589 - [
7f2c810814
] - src,tools: initialize cppgc (Daryl Haresign) #45704 - [
aad8002b88
] - stream: use private symbol for bitmap state (Robert Nagy) #49993 - [
a85e4186e5
] - stream: reduce overhead of transfer (Vinicius Lourenço) #50107 - [
e9bda11761
] - stream: lazy allocate back pressure buffer (Robert Nagy) #50013 - [
557044af40
] - stream: avoid unnecessary drain for sync stream (Robert Nagy) #50014 - [
95b8f5dcab
] - stream: optimize Writable (Robert Nagy) #50012 - [
5de25deeb9
] - stream: avoid tick in writable hot path (Robert Nagy) #49966 - [
53b5545672
] - stream: writable state bitmap (Robert Nagy) #49899 - [
d4e99b1a66
] - stream: remove asIndexedPairs (Chemi Atlow) #48150 - [
41e4174945
] - test: replace forEach with for..of in test-net-isipv6.js (Niya Shiyas) #49823 - [
f0e720a7fa
] - test: add EOVERFLOW as an allowed error (Abdirahim Musse) #50128 - [
224f3ae974
] - test: reduce number of repetition in test-heapdump-shadowrealm.js (Chengzhong Wu) #50104 - [
76004f3e56
] - test: replace forEach with for..of in test-parse-args.mjs (Niya Shiyas) #49824 - [
fce8fbadcd
] - test: replace forEach with for..of in test-process-env (Niya Shiyas) #49825 - [
24492476a7
] - test: replace forEach with for..of in test-http-url (Niya Shiyas) #49840 - [
2fe511ba23
] - test: replace forEach() in test-net-perf_hooks with for of (Narcisa Codreanu) #49831 - [
42c37f28e6
] - test: change forEach to for...of (Tiffany Lastimosa) #49799 - [
6c9625dca4
] - test: update skip for movedtest-wasm-web-api
(Richard Lau) #49958 - [
f05d6d090c
] - Revert "test: mark test-runner-output as flaky" (Luigi Pinca) #49905 - [
035e06317a
] - test: disambiguate AIX and IBM i (Richard Lau) #48056 - [
4d0aeed4a6
] - test: deflake test-perf-hooks.js (Joyee Cheung) #49892 - [
853f57239c
] - test: migrate message error tests from Python to JS (Yiyun Lei) #49721 - [
a71e3a65bb
] - test: fix edge snapshot stack traces (Geoffrey Booth) #49659 - [
6b76b7782c
] - test: skip v8-updates/test-linux-perf (Michaël Zasso) #49639 - [
c13c98dd38
] - test: skip test-tick-processor-arguments on SmartOS (Michaël Zasso) #49639 - [
738aa304b3
] - test: adapt REPL test to V8 changes (Michaël Zasso) #49639 - [
de5c009252
] - test: adapt test-fs-write to V8 internal changes (Michaël Zasso) #49639 - [
8c36168b42
] - test: update flag to disable SharedArrayBuffer (Michaël Zasso) #49639 - [
6ccb15f7ef
] - test: adapt debugger tests to V8 11.4 (Philip Pfaffe) #49639 - [
c5de3b49e8
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #50039 - [
4b35a9cfda
] - test_runner: add test location for FileTests (Colin Ihrig) #49999 - [
c935d4c8fa
] - test_runner: replace spurious if with else (Colin Ihrig) #49943 - [
a4c7f81241
] - test_runner: catch reporter errors (Moshe Atlow) #49646 - [
bb52656fc6
] - Revert "test_runner: run global after() hook earlier" (Joyee Cheung) #49110 - [
6346bdc526
] - test_runner: run global after() hook earlier (Colin Ihrig) #49059 - [
0d8faf2952
] - test_runner,test: fix flaky test-runner-cli-concurrency.js (Colin Ihrig) #50108 - [
b1ada0ad55
] - tls: handle cases where the raw socket is destroyed (Luigi Pinca) #49980 - [
fae1af0a75
] - tls: ciphers allow bang syntax (Chemi Atlow) #49712 - [
766198b9e1
] - tools: fix comments referencing dep_updaters scripts (Keksonoid) #50165 - [
760b5dd259
] - tools: remove no-return-await lint rule (翠 / green) #50118 - [
a0a5b751fb
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #50083 - [
69fb55e6b9
] - tools: update eslint to 8.51.0 (Node.js GitHub Bot) #50084 - [
f73650ea52
] - tools: remove genv8constants.py (Ben Noordhuis) #50023 - [
581434e54f
] - tools: update eslint to 8.50.0 (Node.js GitHub Bot) #49989 - [
344d3c4b7c
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #49983 - [
7f06c270c6
] - tools: add navigation ARIA landmark to generated API ToC (Rich Trott) #49882 - [
e97d25687b
] - tools: use osx notarytool for future releases (Ulises Gascon) #48701 - [
3f1936f698
] - tools: update github_reporter to 1.5.3 (Node.js GitHub Bot) #49877 - [
8568de3da6
] - tools: add new V8 headers to distribution (Michaël Zasso) #49639 - [
86cb23d09f
] - tools: update V8 gypfiles for 11.8 (Michaël Zasso) #49639 - [
9c6219c7e2
] - tools: update V8 gypfiles for 11.7 (Michaël Zasso) #49639 - [
73ddf50163
] - tools: update V8 gypfiles for 11.6 (Michaël Zasso) #49639 - [
817ef255ea
] - tools: update V8 gypfiles for 11.5 (Michaël Zasso) #49639 - [
f34a3a9861
] - tools: update V8 gypfiles for 11.4 (Michaël Zasso) #49639 - [
9df864ddeb
] - typings: useSymbol.dispose
andSymbol.asyncDispose
in types (Niklas Mollenhauer) #50123 - [
54bb691c0b
] - util: lazy parse mime parameters (Aras Abbasi) #49889 - [
1d220b55ac
] - vm: use default HDO when importModuleDynamically is not set (Joyee Cheung) #49950 - [
c1a3a98560
] - wasi: address coverity warning (Michael Dawson) #49866 - [
9cb8eb7177
] - wasi: fix up wasi tests for ibmi (Michael Dawson) #49953 - [
16ac5e1ca8
] - zlib: fix discovery of cpu-features.h for android (MatteoBax) #49828
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this MR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.