chore(deps): update node.js to v20
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
node (source) | engines | major | >= 10 -> >= 20.13.1 |
@types/node (source) | devDependencies | patch | 20.12.7 -> 20.12.11 |
Release Notes
nodejs/node (node)
v20.13.1
: 2024-05-09, Version 20.13.1 'Iron' (LTS), @marco-ippolito
@marco-ippolito
2024-05-09, Version 20.13.1 'Iron' (LTS),Revert "tools: install npm PowerShell scripts on Windows"
Due to a regression in the npm installation on Windows, this commit reverts the change that installed npm PowerShell scripts on Windows.
Commits
- [
b7d80802cc
] - Revert "tools: install npm PowerShell scripts on Windows" (marco-ippolito) #52897
v20.13.0
: 2024-05-07, Version 20.13.0 'Iron' (LTS), @marco-ippolito
@marco-ippolito
2024-05-07, Version 20.13.0 'Iron' (LTS),
base64
and base64url
performance
buffer: improve The performance of the base64
and base64url
encoding and decoding functions has been improved significantly.
Contributed by Yagiz Nizipli in #52428
crypto: deprecate implicitly shortened GCM tags
This release, introduces a doc-only deprecation of using GCM authentication tags that are shorter than the cipher's block size, unless the user specified the authTagLength
option.
Contributed by Tobias Nießen in #52345
events,doc: mark CustomEvent as stable
From this release CustomEvent
has been marked stable.
Contributed by Daeyeon Jeong in #52618
fs: add stacktrace to fs/promises
Sync functions in fs throwed an error with a stacktrace which is helpful for debugging. But functions in fs/promises throwed an error without a stacktrace. This commit adds stacktraces by calling Error.captureStacktrace
and re-throwing the error.
Contributed by 翠 / green in #49849
--report-exclude-network
option
report: add New option --report-exclude-network
, also available as report.excludeNetwork
, enables the user to exclude networking interfaces in their diagnostic report. On some systems, this can cause the report to take minutes to generate so this option can be used to optimize that.
Contributed by Ethan Arrowood in #51645
src: add uv_get_available_memory to report and process
From this release it is possible to get the available memory in the system by calling process.getAvailableMemory()
.
Contributed by theanarkh #52023
stream: support typed arrays
This commit adds support for typed arrays in streams.
Contributed by IlyasShabi #51866
util: support array of formats in util.styleText
It is now possible to pass an array of format strings to util.styleText
to apply multiple formats to the same text.
console.log(util.styleText(['underline', 'italic'], 'My italic underlined message'));
Contributed by Marco Ippolito in #52040
v8: implement v8.queryObjects() for memory leak regression testing
This is similar to the queryObjects() console API provided by the Chromium DevTools console. It can be used to search for objects that have the matching constructor on its prototype chain in the heap after a full garbage collection, which can be useful for memory leak regression tests. To avoid surprising results, users should avoid using this API on constructors whose implementation they don't control, or on constructors that can be invoked by other parties in the application.
To avoid accidental leaks, this API does not return raw references to the objects found. By default, it returns the count of the objects found. If options.format is 'summary', it returns an array containing brief string representations for each object. The visibility provided in this API is similar to what the heap snapshot provides, while users can save the cost of serialization and parsing and directly filer the target objects during the search.
We have been using this API internally for the test suite, which has been more stable than any other leak regression testing strategies in the CI. With a public implementation we can now use the public API instead.
const { queryObjects } = require('node:v8');
class A { foo = 'bar'; }
console.log(queryObjects(A)); // 0
let a = new A();
console.log(queryObjects(A)); // 1
// [ "A { foo: 'bar' }" ]
console.log(queryObjects(A, { format: 'summary' }));
// Release the object.
a = null;
// Search again. queryObjects() includes a full garbage collection
// so a should disappear.
console.log(queryObjects(A)); // 0
class B extends A { bar = 'qux'; }
// The child class B's prototype has A's prototype on its prototype chain
// so the prototype object shows up too.
console.log(queryObjects(A, { format: 'summary' })); // [ A {}' ]
Contributed by Joyee Cheung in #51927
watch: mark as stable
From this release Watch Mode is considered stable. When in watch mode, changes in the watched files cause the Node.js process to restart.
Contributed by Moshe Atlow in #52074
Other Notable Changes
- [
f8ad30048d
] - benchmark: add AbortSignal.abort benchmarks (Raz Luvaton) #52408 - [
3b41da9a56
] - (SEMVER-MINOR) deps: update simdutf to 5.0.0 (Daniel Lemire) #52138 - [
0a08c4a7b3
] - (SEMVER-MINOR) deps: update undici to 6.3.0 (Node.js GitHub Bot) #51462 - [
f1b7bda4f5
] - (SEMVER-MINOR) deps: update undici to 6.2.1 (Node.js GitHub Bot) #51278 - [
4acca8ed84
] - (SEMVER-MINOR) dns: add order option and support ipv6first (Paolo Insogna) #52492 - [
cc67720ff9
] - doc: update release gpg keyserver (marco-ippolito) #52257 - [
c2def7df96
] - doc: add release key for marco-ippolito (marco-ippolito) #52257 - [
807c89cb26
] - doc: add UlisesGascon as a collaborator (Ulises Gascón) #51991 - [
5e78a20ef9
] - (SEMVER-MINOR) doc: deprecate fs.Stats public constructor (Marco Ippolito) #51879 - [
722fe64ff7
] - (SEMVER-MINOR) lib, url: add awindows
option to path parsing (Aviv Keller) #52509 - [
d116fa1568
] - (SEMVER-MINOR) net: add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) #52474 - [
6af7b78b0d
] - (SEMVER-MINOR) src: addstring_view
overload to snapshot FromBlob (Anna Henningsen) #52595 - [
b3a11b574b
] - (SEMVER-MINOR) src: preload function for Environment (Cheng Zhao) #51539 - [
41646d9c9e
] - (SEMVER-MINOR) test_runner: add suite() (Colin Ihrig) #52127 - [
fc9ba17f6c
] - (SEMVER-MINOR) test_runner: addtest:complete
event to reflect execution order (Moshe Atlow) #51909
Commits
- [
6fdd748b21
] - benchmark: reduce the buffer size for blob (Debadree Chatterjee) #52548 - [
2274d0c868
] - benchmark: inherit stdio/stderr instead of pipe (Ali Hassan) #52456 - [
0300598315
] - benchmark: add ipc support to spawn stdio config (Ali Hassan) #52456 - [
f8ad30048d
] - benchmark: add AbortSignal.abort benchmarks (Raz Luvaton) #52408 - [
7508d48736
] - benchmark: conditionally use spawn with taskset for cpu pinning (Ali Hassan) #52253 - [
ea8e72e185
] - benchmark: add toNamespacedPath bench (Rafael Gonzaga) #52236 - [
c00715cc1e
] - benchmark: add style-text benchmark (Rafael Gonzaga) #52004 - [
1c1a6935ee
] - buffer: add missing ARG_TYPE(ArrayBuffer) for isUtf8 (Jungku Lee) #52477 - [
1b2aff7dce
] - buffer: improvebase64
andbase64url
performance (Yagiz Nizipli) #52428 - [
328bded5ab
] - buffer: improvebtoa
performance (Yagiz Nizipli) #52427 - [
e67bc34326
] - buffer: use simdutf foratob
implementation (Yagiz Nizipli) #52381 - [
5abddb45d8
] - build: fix typo in node.gyp (Michaël Zasso) #52719 - [
7d1f304f5e
] - build: fix headers install for shared mode on Win (Segev Finer) #52442 - [
6826bbf267
] - build: fix arm64 cross-compilation bug on non-arm machines (Mahdi Sharifi) #52559 - [
6e85bc431a
] - build: temporary disable ubsan (Rafael Gonzaga) #52560 - [
297368a1ed
] - build: fix arm64 cross-compilation (Michaël Zasso) #51256 - [
93bddb598f
] - build,tools: add test-ubsan ci (Rafael Gonzaga) #46297 - [
20bb16582f
] - build,tools,node-api: fix building node-api tests for Windows Debug (Vladimir Morozov) #52632 - [
9af15cfff1
] - child_process: use internal addAbortListener (Chemi Atlow) #52081 - [
a4847c4619
] - crypto: simplify assertions in Safe*Print (David Benjamin) #49709 - [
0ec4d9d734
] - crypto: enable NODE_EXTRA_CA_CERTS with BoringSSL (Shelley Vohr) #52217 - [
03e05b092c
] - crypto: deprecate implicitly shortened GCM tags (Tobias Nießen) #52345 - [
0f784c96ba
] - crypto: make timingSafeEqual faster for Uint8Array (Tobias Nießen) #52341 - [
739958e472
] - crypto: rejectEd25519
/Ed448 in Sign/Verify prototypes (Filip Skokan) #52340 - [
197b61f210
] - crypto: validate RSA-PSS saltLength in subtle.sign and subtle.verify (Filip Skokan) #52262 - [
a6eede33f3
] - crypto: fixinput
validation incrypto.hash
(Antoine du Hamel) #52070 - [
bfa4986e5d
] - deps: update corepack to 0.28.0 (Node.js GitHub Bot) #52616 - [
70546698d7
] - deps: update ada to 2.7.8 (Node.js GitHub Bot) #52517 - [
a135027f84
] - deps: update icu to 75.1 (Node.js GitHub Bot) #52573 - [
c96f1043d4
] - deps: update undici to 6.13.0 (Node.js GitHub Bot) #52493 - [
9c330b610b
] - deps: update zlib to 1.3.0.1-motley-7d77fb7 (Node.js GitHub Bot) #52516 - [
7e5bbeebab
] - deps: update nghttp2 to 1.61.0 (Node.js GitHub Bot) #52395 - [
b42a4735d9
] - deps: update minimatch to 9.0.4 (Node.js GitHub Bot) #52524 - [
d34fd21bc2
] - deps: update simdutf to 5.2.4 (Node.js GitHub Bot) #52473 - [
ecc180f830
] - deps: upgrade npm to 10.5.2 (npm team) #52458 - [
606c183344
] - deps: update simdutf to 5.2.3 (Yagiz Nizipli) #52381 - [
0a103e99fe
] - deps: upgrade npm to 10.5.1 (npm team) #52351 - [
cce861e670
] - deps: update c-ares to 1.28.1 (Node.js GitHub Bot) #52285 - [
5258b547ea
] - deps: update undici to 6.11.1 (Node.js GitHub Bot) #52328 - [
923a77c80a
] - deps: update undici to 6.10.2 (Node.js GitHub Bot) #52227 - [
bd3c6a231c
] - deps: update zlib to 1.3.0.1-motley-24c07df (Node.js GitHub Bot) #52199 - [
3b41da9a56
] - (SEMVER-MINOR) deps: update simdutf to 5.0.0 (Daniel Lemire) #52138 - [
d6f9ca385c
] - deps: update zlib to 1.3.0.1-motley-24342f6 (Node.js GitHub Bot) #52123 - [
f5512897b0
] - deps: update corepack to 0.26.0 (Node.js GitHub Bot) #52027 - [
d891275178
] - deps: update ada to 2.7.7 (Node.js GitHub Bot) #52028 - [
18838f2db3
] - deps: update simdutf to 4.0.9 (Node.js GitHub Bot) #51655 - [
503c034abc
] - deps: update undici to 6.6.2 (Node.js GitHub Bot) #51667 - [
256bcba52e
] - deps: update undici to 6.6.0 (Node.js GitHub Bot) #51630 - [
7a1e321d95
] - deps: update undici to 6.4.0 (Node.js GitHub Bot) #51527 - [
dde9e08224
] - deps: update ngtcp2 to 1.1.0 (Node.js GitHub Bot) #51319 - [
0a08c4a7b3
] - (SEMVER-MINOR) deps: update undici to 6.3.0 (Node.js GitHub Bot) #51462 - [
f1b7bda4f5
] - (SEMVER-MINOR) deps: update undici to 6.2.1 (Node.js GitHub Bot) #51278 - [
ecadd638cd
] - deps: V8: remove references to non-existent flags (Richard Lau) #52256 - [
27d364491f
] - dgram: use internal addAbortListener (Chemi Atlow) #52081 - [
b94d11935a
] - diagnostics_channel: early-exit tracing channel trace methods (Stephen Belanger) #51915 - [
4acca8ed84
] - (SEMVER-MINOR) dns: add order option and support ipv6first (Paolo Insogna) #52492 - [
bcc06ac5a9
] - doc: remove relative limitation to pm (Rafael Gonzaga) #52648 - [
4d5ef4f7af
] - doc: fix info string causing duplicated code blocks (Mathieu Leenhardt) #52660 - [
d5a316f5ea
] - doc: run license-builder (github-actions[bot]) #52631 - [
d7434fe411
] - doc: deprecate --experimental-policy (RafaelGSS) #52602 - [
02a83d89f7
] - doc: add info on contributor spotlight program (Michael Dawson) #52598 - [
a905eaace1
] - doc: correct unsafe URL example in http docs (Malte Legenhausen) #52555 - [
69c21a6522
] - doc: replace U+00A0 with U+0020 (Luigi Pinca) #52590 - [
5df34c7d0a
] - doc: sort options alphabetically (Luigi Pinca) #52589 - [
b49464bc9d
] - doc: correct stream.finished changes (KaKa) #52551 - [
4d051ba89b
] - doc: add RedYetiDev to triage team (Aviv Keller) #52556 - [
4ed55bf16c
] - doc: fix issue detected in markdown lint update (Rich Trott) #52566 - [
a8bc40fd07
] - doc: update test runner coverage limitations (Moshe Atlow) #52515 - [
17d5ba9fed
] - doc: add lint-js-fix into BUILDING.md (jakecastelli) #52290 - [
88adbd0991
] - doc: remove Internet Explorer mention in BUILDING.md (Rich Trott) #52455 - [
e8cb29d66d
] - doc: accommodate upcoming stricter .md linting (Rich Trott) #52454 - [
e2ea984c7b
] - doc: add Rafael to steward list (Rafael Gonzaga) #52452 - [
93d684097a
] - doc: correct naming convention in C++ style guide (Mohammed Keyvanzadeh) #52424 - [
b9bdb947ac
] - doc: updateprocess.execArg
example to be more useful (Jacob Smith) #52412 - [
f3f67ff84a
] - doc: call out http(s).globalAgent default (mathis-west-1) #52392 - [
392a0d310e
] - doc: update the location ofbuild_with_cmake
(Emmanuel Ferdman) #52356 - [
3ad62f1cc7
] - doc: reserve 125 for Electron 31 (Shelley Vohr) #52379 - [
bfd4c7844b
] - doc: use consistent plural form of "index" (Rich Trott) #52373 - [
6f31cc8361
] - doc: add Rafael to sec release stewards (Rafael Gonzaga) #52354 - [
c55a3be789
] - doc: document missing options of events.on (Chemi Atlow) #52080 - [
1a843f7c6d
] - doc: add missing space (Augustin Mauroy) #52360 - [
8ee20d8693
] - doc: add tips about vcpkg cause build faild on windows (Cong Zhang) #52181 - [
a86705c113
] - doc: replace "below" with "following" (Rich Trott) #52315 - [
f3e8d1159a
] - doc: fix email pattern to be wrapped with<<
instead of single<
(Raz Luvaton) #52284 - [
cc67720ff9
] - doc: update release gpg keyserver (marco-ippolito) #52257 - [
c2def7df96
] - doc: add release key for marco-ippolito (marco-ippolito) #52257 - [
2509f3be18
] - doc: fix arrow vertical alignment in HTML version (Akash Yeole) #52193 - [
2abaea3cdc
] - doc: move TSC members from regular to emeritus (Michael Dawson) #52209 - [
65618a3d7b
] - doc: add section explaining todo tests (Colin Ihrig) #52204 - [
bf0ed95b04
] - doc: editChildProcess
'message'
event docs (theanarkh) #52154 - [
3d67b6b5e8
] - doc: add mold to speeding up section (Cong Zhang) #52179 - [
8ba308a838
] - doc: http event order correction (wh0) #51464 - [
9771f41069
] - doc: move gabrielschulhof to TSC emeritus (Gabriel Schulhof) #52192 - [
72bd2b0d62
] - doc: fix--env-file
docs for valid quotes for defining values (Gabriel Bota) #52157 - [
4f19203dfb
] - doc: clarify what is supported in NODE_OPTIONS (Michael Dawson) #52076 - [
5bce596838
] - doc: fix typos in maintaining-dependencies.md (RoboSchmied) #52160 - [
f5241e20cc
] - doc: add spec for contains module syntax (Geoffrey Booth) #52059 - [
bda3cdea86
] - doc: optimize the doc about Unix abstract socket (theanarkh) #52043 - [
8d7d6eff81
] - doc: update pnpm link (Superchupu) #52113 - [
af7c55f62d
] - doc: remove ableist language from crypto (Jamie King) #52063 - [
f8362b0a5a
] - doc: update collaborator email (Ruy Adorno) #52088 - [
48cbd5f71e
] - doc: state that removing npm is a non-goal (Geoffrey Booth) #51951 - [
0ef2708131
] - doc: mention NodeSource in RafaelGSS steward list (Rafael Gonzaga) #52057 - [
a6473a89be
] - doc: remove ArrayBuffer from crypto.hash() data parameter type (fengmk2) #52069 - [
ae7a11c787
] - doc: add some commonly used lables up gront (Michael Dawson) #52006 - [
01aaddde3c
] - doc: document thatconst c2 = vm.createContext(c1); c1 === c2
is true (Daniel Kaplan) #51960 - [
912145fac4
] - doc: clarify what moderation issues are for (Antoine du Hamel) #51990 - [
807c89cb26
] - doc: add UlisesGascon as a collaborator (Ulises Gascón) #51991 - [
53ff3e5682
] - doc: deprecate hmac public constructor (Marco Ippolito) #51881 - [
5e78a20ef9
] - (SEMVER-MINOR) doc: deprecate fs.Stats public constructor (Marco Ippolito) #51879 - [
7bfb0b43e6
] - events: rename high & low watermark for consistency (Chemi Atlow) #52080 - [
5e6967359b
] - events: extract addAbortListener for safe internal use (Chemi Atlow) #52081 - [
6930205272
] - events: remove abort listener from signal inon
(Neal Beeken) #51091 - [
235ab4f99f
] - events,doc: mark CustomEvent as stable (Daeyeon Jeong) #52618 - [
ca5b827148
] - fs: fix read / readSync positional offset types (Ruy Adorno) #52603 - [
e7d0d804b2
] - fs: fixes recursive fs.watch crash on Linux when deleting files (Matteo Collina) #52349 - [
c5fd193d6b
] - fs: refactor maybeCallback function (Yagiz Nizipli) #52129 - [
0a9910c2c1
] - fs: fix edge case in readFileSync utf8 fast path (Richard Lau) #52101 - [
51d7cd5de8
] - fs: validate fd from cpp onfchown
(Yagiz Nizipli) #52051 - [
33ad86c2be
] - fs: validate fd from cpp onclose
(Yagiz Nizipli) #52051 - [
34667c0a7e
] - fs: validate file mode from cpp (Yagiz Nizipli) #52050 - [
c530520be3
] - fs: add stacktrace to fs/promises (翠 / green) #49849 - [
edecd464b9
] - fs,permission: make handling of buffers consistent (Tobias Nießen) #52348 - [
3bcd68337e
] - http2: fix excessive CPU usage when usingallowHTTP1=true
(Eugene) #52713 - [
e01015996a
] - http2: fix h2-over-h2 connection proxying (Tim Perry) #52368 - [
9f88736860
] - http2: use internal addAbortListener (Chemi Atlow) #52081 - [
acd7758959
] - lib: use predefined variable instead of bit operation (Deokjin Kim) #52580 - [
18ae7a46f6
] - lib: refactor lazy loading of undici for fetch method (Victor Chen) #52275 - [
64c2c2a7ac
] - lib: replace string prototype usage with alternatives (Aviv Keller) #52440 - [
ee11b5315c
] - lib: .load .save add proper error message when no file passed (Thomas Mauran) #52225 - [
e5521b537f
] - lib: fix type error for _refreshLine (Jackson Tian) #52133 - [
d5d6e041c8
] - lib: emit listening event once when call listen twice (theanarkh) #52119 - [
d33fc36784
] - lib: make sure clear the old timer in http server (theanarkh) #52118 - [
ea4905c0f5
] - lib: fix listen with handle in cluster worker (theanarkh) #52056 - [
8fd8130507
] - lib, doc: rename readme.md to README.md (Aviv Keller) #52471 - [
722fe64ff7
] - (SEMVER-MINOR) lib, url: add awindows
option to path parsing (Aviv Keller) #52509 - [
26691e6032
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #52633 - [
befb90dc83
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #52457 - [
22b7167e72
] - meta: bump actions/download-artifact from 4.1.3 to 4.1.4 (dependabot[bot]) #52314 - [
4dafd3ede2
] - meta: bump rtCamp/action-slack-notify from 2.2.1 to 2.3.0 (dependabot[bot]) #52313 - [
2760db7640
] - meta: bump github/codeql-action from 3.24.6 to 3.24.9 (dependabot[bot]) #52312 - [
542aaf9ca9
] - meta: bump actions/cache from 4.0.1 to 4.0.2 (dependabot[bot]) #52311 - [
df330998d9
] - meta: bump actions/setup-python from 5.0.0 to 5.1.0 (dependabot[bot]) #52310 - [
5f40fe0cc2
] - meta: bump codecov/codecov-action from 4.1.0 to 4.1.1 (dependabot[bot]) #52308 - [
481420f25c
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #52300 - [
3121949f85
] - meta: pass Codecov upload token to codecov action (Michaël Zasso) #51982 - [
882a64e639
] - module: fix detect-module not retrying as esm for cjs-only errors (Geoffrey Booth) #52024 - [
5fcc1d32a8
] - module: refactor ESM loader initialization and entry point handling (Joyee Cheung) #51999 - [
d116fa1568
] - (SEMVER-MINOR) net: add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) #52474 - [
37abad86ae
] - net: use internal addAbortListener (Chemi Atlow) #52081 - [
a920489a1f
] - node-api: address coverity report (Michael Dawson) #52584 - [
0a225a4b40
] - node-api: copy external type tags when they are set (Niels Martignène) #52426 - [
f9d95674be
] - node-api: make tsfn accept napi_finalize once more (Gabriel Schulhof) #51801 - [
72aabe1139
] - perf_hooks: reduce overhead of createHistogram (Vinícius Lourenço) #50074 - [
fb601c3a94
] - readline: use internal addAbortListener (Chemi Atlow) #52081 - [
29f09f05f7
] - (SEMVER-MINOR) report: add--report-exclude-network
option (Ethan Arrowood) #51645 - [
7e6d923f5b
] - src: cast to v8::Value before using v8::EmbedderGraph::V8Node (Joyee Cheung) #52638 - [
6af7b78b0d
] - (SEMVER-MINOR) src: addstring_view
overload to snapshot FromBlob (Anna Henningsen) #52595 - [
27491e55c1
] - src: remove regex usage for env file parsing (IlyasShabi) #52406 - [
b05e639e27
] - src: fix loadEnvFile ENOENT error (mathis-west-1) #52438 - [
1b4d2814d1
] - src: update branch name in node_revert.h (Tobias Nießen) #52390 - [
7e35a169ea
] - src: stop usingv8::BackingStore::Reallocate
(Michaël Zasso) #52292 - [
2449d2606a
] - src: fix move after use reported by coverity (Michael Dawson) #52141 - [
b33eff887d
] - (SEMVER-MINOR) src: add C++ ProcessEmitWarningSync() (Joyee Cheung) #51977 - [
f2c7408927
] - src: return a number from process.constrainedMemory() constantly (Chengzhong Wu) #52039 - [
7f575c886b
] - (SEMVER-MINOR) src: add uv_get_available_memory to report and process (theanarkh) #52023 - [
e161e62313
] - src: use dedicated routine to compile function for builtin CJS loader (Joyee Cheung) #52016 - [
07322b490f
] - src: fix reading empty string views in Blob[De]serializer (Joyee Cheung) #52000 - [
e216192390
] - src: refactor out FormatErrorMessage for error formatting (Joyee Cheung) #51999 - [
b3a11b574b
] - (SEMVER-MINOR) src: preload function for Environment (Cheng Zhao) #51539 - [
09bd367ef6
] - stream: make Duplex inherit destroy from Writable (Luigi Pinca) #52318 - [
0b853a7576
] - (SEMVER-MINOR) stream: support typed arrays (IlyasShabi) #51866 - [
f8209ffe45
] - stream: addnew
when constructingERR_MULTIPLE_CALLBACK
(haze) #52110 - [
8442457117
] - stream: use internal addAbortListener (Chemi Atlow) #52081 - [
8d20b641a2
] - Revert "stream: fix cloned webstreams not being unref'd" (Matteo Collina) #51491 - [
a923adffab
] - test: marktest-error-serdes
as flaky (Antoine du Hamel) #52739 - [
d4f1803f0b
] - test: mark test as flaky (Michael Dawson) #52671 - [
1e88e042c2
] - test: skip test-fs-watch-recursive-delete.js on IBM i (Abdirahim Musse) #52645 - [
6da558af8b
] - test: ensure that all worker servers are ready (Luigi Pinca) #52563 - [
c871fadb85
] - test: fix test-tls-ticket-cluster.js (Hüseyin Açacak) #52431 - [
b6cb74d775
] - test: split wasi poll test for windows (Hüseyin Açacak) #52538 - [
4ad159bb75
] - test: write tests for assertIsArray http2 util (Sinan Sonmez (Chaush)) #52511 - [
1f7a28cbe7
] - test: fix watch test with require not testing pid (Raz Luvaton) #52353 - [
5b758b93d5
] - test: simplify ASan build checks (Michaël Zasso) #52430 - [
375c3db5ea
] - test: fix Windows compiler warnings in overlapped-checker (Michaël Zasso) #52405 - [
a1dd92cdee
] - test: add test for skip+todo combinations (Colin Ihrig) #52204 - [
8a0b721930
] - test: fix incorrect test fixture (Colin Ihrig) #52185 - [
dd1f761f3b
] - test: add missing cctest/test_path.cc (Yagiz Nizipli) #52148 - [
6da446d9e1
] - test: addspawnSyncAndAssert
util (Antoine du Hamel) #52132 - [
d7bfb4e8d8
] - test: reduce flakiness of test-runner-output.mjs (Colin Ihrig) #52146 - [
e4981b3d75
] - test: add test for using--print
with promises (Antoine du Hamel) #52137 - [
5cc540078e
] - test: un-set test-emit-after-on-destroyed as flaky (Abdirahim Musse) #51995 - [
b9eb0035dd
] - test: skip test for dynamically linked OpenSSL (Richard Lau) #52542 - [
32014f5601
] - test: avoid v8 deadcode on performance function (Vinícius Lourenço) #50074 - [
29d2011f51
] - test_runner: better error handing for test hook (Alex Yang) #52401 - [
9497097fb3
] - test_runner: fix clearing final timeout in own callback (Ben Richeson) #52332 - [
0f690f0b9e
] - test_runner: fix recursive run (Moshe Atlow) #52322 - [
34ab1a36ee
] - test_runner: hide new line when no error in spec reporter (Moshe Atlow) #52297 - [
379535abe3
] - test_runner: disable highWatermark on TestsStream (Colin Ihrig) #52287 - [
35588cff39
] - test_runner: run afterEach hooks in correct order (Colin Ihrig) #52239 - [
5cd3df8fe1
] - test_runner: simplify test end time tracking (Colin Ihrig) #52182 - [
07e4a42e4b
] - test_runner: simplify test start time tracking (Colin Ihrig) #52182 - [
caec996831
] - test_runner: emit diagnostics when watch mode drains (Moshe Atlow) #52130 - [
41646d9c9e
] - (SEMVER-MINOR) test_runner: add suite() (Colin Ihrig) #52127 - [
fd1489a623
] - test_runner: skip each hooks for skipped tests (Colin Ihrig) #52115 - [
73b38bfa9e
] - test_runner: remove redundant report call (Colin Ihrig) #52089 - [
68187c4d9e
] - test_runner: use internal addAbortListener (Chemi Atlow) #52081 - [
61e7ae05ef
] - test_runner: use source maps when reporting coverage (Moshe Atlow) #52060 - [
e64a25af61
] - test_runner: handle undefined test locations (Colin Ihrig) #52036 - [
590decf202
] - test_runner: avoid overwriting root start time (Colin Ihrig) #52020 - [
a4cbb61c65
] - test_runner: abort unfinished tests on async error (Colin Ihrig) #51996 - [
a223ca4868
] - test_runner: run before hook immediately if test started (Moshe Atlow) #52003 - [
956ee74c7e
] - test_runner: add support for null and date value output (Malthe Borch) #51920 - [
fc9ba17f6c
] - (SEMVER-MINOR) test_runner: addtest:complete
event to reflect execution order (Moshe Atlow) #51909 - [
d5ac979aeb
] - test_runner: format coverage report for tap reporter (Pulkit Gupta) #51119 - [
c925bc18dc
] - tools: take co-authors into account infind-inactive-collaborators
(Antoine du Hamel) #52669 - [
1d37e772ec
] - tools: fix invalid escape sequence in mkssldef (Michaël Zasso) #52624 - [
5b22fc3a81
] - tools: update lint-md-dependencies to rollup@4.15.0 (Node.js GitHub Bot) #52617 - [
9cf47bb2f1
] - tools: update lint-md-dependencies (Rich Trott) #52581 - [
c0c60d13c0
] - tools: fix heading spaces for osx-entitlements.plist (Jackson Tian) #52561 - [
7c349d7819
] - tools: update lint-md-dependencies to rollup@4.14.2 vfile-reporter@8.1.1 (Node.js GitHub Bot) #52518 - [
b4d703297b
] - tools: use stylistic ESLint plugin for formatting (Michaël Zasso) #50714 - [
c6813360c2
] - tools: update minimatch index path (Marco Ippolito) #52523 - [
8464c0253c
] - tools: add a linter for README lists (Antoine du Hamel) #52476 - [
55a3fbc842
] - tools: change inactive limit to 12 months (Yagiz Nizipli) #52425 - [
74a171f130
] - tools: update stale bot messaging (Wes Todd) #52423 - [
b2a3dcec2a
] - tools: update lint-md-dependencies to rollup@4.14.0 (Node.js GitHub Bot) #52398 - [
f71a777e6e
] - tools: update Ruff to v0.3.4 (Michaël Zasso) #52302 - [
e3e0c68f8f
] - tools: run test-ubsan on ubuntu-latest (Michaël Zasso) #52375 - [
893b5aac31
] - tools: update lint-md-dependencies to rollup@4.13.2 (Node.js GitHub Bot) #52286 - [
049cca419e
] - Revert "tools: runbuild-windows
workflow only on source changes" (Michaël Zasso) #52320 - [
b3dfc62cee
] - tools: use Python 3.12 in GitHub Actions workflows (Michaël Zasso) #52301 - [
c7238d0c04
] - tools: allow local updates for llhttp (Paolo Insogna) #52085 - [
c39f15cafd
] - tools: install npm PowerShell scripts on Windows (Luke Karrys) #52009 - [
b36fea064a
] - tools: update lint-md-dependencies to rollup@4.13.0 (Node.js GitHub Bot) #52122 - [
a5204eb915
] - tools: fix error reported by coverity in js2c.cc (Michael Dawson) #52142 - [
cef4b7ef3d
] - tools: sync ubsan workflow with asan (Michaël Zasso) #52152 - [
d406976bbe
] - tools: update github_reporter to 1.7.0 (Node.js GitHub Bot) #52121 - [
fb100a2ac8
] - tools: remove gyp-next .github folder (Marco Ippolito) #52064 - [
5f1e7a0de2
] - tools: update gyp-next to 0.16.2 (Node.js GitHub Bot) #52062 - [
1f1253446b
] - tools: install manpage to share/man for FreeBSD (Po-Chuan Hsieh) #51791 - [
4b8b92fccc
] - tools: automate gyp-next update (Marco Ippolito) #52014 - [
1ec9e58692
] - typings: fix invalid JSDoc declarations (Yagiz Nizipli) #52659 - [
2d6b19970b
] - (SEMVER-MINOR) util: support array of formats in util.styleText (Marco Ippolito) #52040 - [
d30cccdf8c
] - (SEMVER-MINOR) v8: implement v8.queryObjects() for memory leak regression testing (Joyee Cheung) #51927 - [
7f3b7fdeff
] - watch: fix some node argument not passed to watched process (Raz Luvaton) #52358 - [
8ba6f9bc9a
] - watch: use internal addAbortListener (Chemi Atlow) #52081 - [
5a922232da
] - watch: mark as stable (Moshe Atlow) #52074 - [
508e968a5f
] - watch: batch file restarts (Moshe Atlow) #51992
v20.12.2
: 2024-04-10, Version 20.12.2 'Iron' (LTS), @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
- [
69ffc6d50d
] - src: disallow direct .bat and .cmd file spawning (Ben Noordhuis) nodejs-private/node-private#563
v20.12.1
: 2024-04-03, Version 20.12.1 'Iron' (LTS), @RafaelGSS
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 5.28.4
Commits
- [
bd8f10a257
] - deps: update undici to v5.28.4 (Matteo Collina) nodejs-private/node-private#576 - [
5e34540a96
] - http: do not allow OBS fold in headers by default (Paolo Insogna) nodejs-private/node-private#557 - [
ba1ae6d188
] - src: ensure to close stream when destroying session (Anna Henningsen) nodejs-private/node-private#561
v20.12.0
: 2024-03-26, Version 20.12.0 'Iron' (LTS), @richardlau
Notable Changes
crypto: implement crypto.hash()
This patch introduces a helper crypto.hash() that computes a digest from the input at one shot. This can be 1.2-2x faster than the object-based createHash() for smaller inputs (<= 5MB) that are readily available (not streamed) and incur less memory overhead since no intermediate objects will be created.
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.
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.
New connection attempt events
Three new events were added in the net.createConnection
flow:
-
connectionAttempt
: Emitted when a new connection attempt is established. In case of Happy Eyeballs, this might emitted multiple times. -
connectionAttemptFailed
: Emitted when a connection attempt failed. In case of Happy Eyeballs, this might emitted multiple times. -
connectionAttemptTimeout
: Emitted when a connection attempt timed out. In case of Happy Eyeballs, this will not be emitted for the last attempt. This is not emitted at all if Happy Eyeballs is not used.
Additionally, a previous bug has been fixed where a new connection attempt could have been started after a previous one failed and after the connection was destroyed by the user. This led to a failed assertion.
Contributed by Paolo Insogna in #51045.
Permission Model changes
Node.js 20.12.0 comes with several fixes for the experimental permission model and two new semver-minor commits.
We're adding a new flag --allow-addons
to enable addon usage when using the Permission Model.
$ 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.
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.
--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
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 in #51850.
vm: support using the default loader to handle dynamic import()
This patch adds support for using vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER
as 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.
Root certificates updated to NSS 3.98
Certificates added:
- Telekom Security TLS ECC Root 2020
- Telekom Security TLS RSA Root 2023
Certificates removed:
- Security Communication Root CA
Updated dependencies
- acorn updated to 8.11.3.
- ada updated to 2.7.6.
- base64 updated to 0.5.2.
- brotli updated to 1.1.0.
- c-ares updated to 1.27.0.
- corepack updated to 0.25.2.
- ICU updated to 74.2. Includes CLDR 44.1 and Unicode 15.1.
- nghttp2 updated to 1.60.0.
- npm updated to 10.5.0. Fixes a regression in signals not being passed onto child processes.
- simdutf8 updated to 4.0.8.
- Timezone updated to 2024a.
- zlib updated to 1.3.0.1-motley-40e35a7.
Other notable changes
- [
4f49e9d000
] - (SEMVER-MINOR) build: build opt to set local location of headers (Michael Dawson) #51525 - [
ccdb01187b
] - doc: add zcbenz to collaborators (Cheng Zhao) #51812 - [
481af53aea
] - doc: add lemire to collaborators (Daniel Lemire) #51572 - [
5ba4d96525
] - (SEMVER-MINOR) http2: add h2 compat support for appendHeader (Tim Perry) #51412 - [
0861498e8b
] - (SEMVER-MINOR) http2: add server handshake utility (snek) #51172 - [
6b08d006ee
] - (SEMVER-MINOR) http2: receive customsettings (Marten Richter) #51323 - [
7894989bf0
] - (SEMVER-MINOR) lib: move encodingsMap to internal/util (Joyee Cheung) #51044 - [
a58c98ea85
] - (SEMVER-MINOR) src: print string content better in BlobDeserializer (Joyee Cheung) #50960 - [
c3c0a3ee5c
] - (SEMVER-MINOR) src: support multi-line values for .env file (IlyasShabi) #51289 - [
2a921966c6
] - (SEMVER-MINOR) src: do not coerce dotenv paths (Tobias Nießen) #51425 - [
0dee86f295
] - (SEMVER-MINOR) src: support configurable snapshot (Joyee Cheung) #50453 - [
ade6614067
] - (SEMVER-MINOR) stream: add support fordeflate-raw
format to webstreams compression (Damian Krzeminski) #50097 - [
fe922f05e4
] - (SEMVER-MINOR) timers: export timers.promises (Marco Ippolito) #51246
Commits
- [
cbda4e9fc5
] - assert,crypto: make KeyObject and CryptoKey testable for equality (Filip Skokan) #50897 - [
92fca59647
] - async_hooks,inspector: implement inspector api without async_wrap (Gabriel Bota) #51501 - [
029ca982dc
] - benchmark: update iterations of benchmark/async_hooks/async-local- (Lei Shi) #51420 - [
350e9fee8d
] - benchmark: update iterations of benchmark/domain/domain-fn-args.js (Lei Shi) #51408 - [
40fda97deb
] - benchmark: update iterations of assert/deepequal-typedarrays.js (Lei Shi) #51419 - [
1b2e3b7049
] - benchmark: update iterations of benchmark/assert/deepequal-map.js (Lei Shi) #51416 - [
7639259203
] - benchmark: rename startup.js to startup-core.js (Joyee Cheung) #51669 - [
4be33b5577
] - benchmark: remove dependency on unshipped tools (Adam Majer) #51146 - [
bd03a154a9
] - benchmark: update iterations in benchmark/perf_hooks (Lei Shi) #50869 - [
19b943b909
] - benchmark: update iterations in benchmark/crypto/aes-gcm-throughput.js (Lei Shi) #50929 - [
278c990dea
] - benchmark: update iteration and size in benchmark/crypto/randomBytes.js (Lei Shi) #50868 - [
443d4fcff3
] - benchmark: add undici websocket benchmark (Chenyu Yang) #50586 - [
3ab6143380
] - benchmark: add create-hash benchmark (Joyee Cheung) #51026 - [
6a8ff09332
] - benchmark: update interations and len in benchmark/util/text-decoder.js (Lei Shi) #50938 - [
22b53bc1fa
] - benchmark: update iterations of benchmark/util/type-check.js (Lei Shi) #50937 - [
f56bda5109
] - benchmark: update iterations in benchmark/util/normalize-encoding.js (Lei Shi) #50934 - [
4fc83e1ce3
] - benchmark: update iterations in benchmark/util/inspect-array.js (Lei Shi) #50933 - [
0edddcfc19
] - benchmark: update iterations in benchmark/util/format.js (Lei Shi) #50932 - [
f109961fd1
] - benchmark: update iterations in benchmark/crypto/hkdf.js (Lei Shi) #50866 - [
1e923f11f2
] - benchmark: update iterations in benchmark/crypto/get-ciphers.js (Lei Shi) #50863 - [
f13643da06
] - benchmark: update number of iterations forutil.inspect
(kylo5aby) #50651 - [
03b19cbd2a
] - bootstrap: improve snapshot unsupported builtin warnings (Joyee Cheung) #50944 - [
51ea5b60a9
] - build: fix arm64 host cross-compilation in GN (Cheng Zhao) #51903 - [
9f5547afa2
] - Revert "build: workaround for node-core-utils" (Richard Lau) #51975 - [
58255e73ae
] - build: respect theNODE
env variable inMakefile
(Antoine du Hamel) #51743 - [
0a7419bf0b
] - Revert "build: fix warning in cares under GN build" (Luigi Pinca) #51865 - [
4118174b85
] - build: removelibrt
libs link for Android compatibility (BuShe Pie) #51632 - [
012da16b85
] - build: do not rely on gn_helpers in GN build (Cheng Zhao) #51439 - [
93fcf52990
] - build: fix warning in cares under GN build (Cheng Zhao) #51687 - [
2176495455
] - build: fix building js2c with GN (Cheng Zhao) #51818 - [
d6e702f885
] - build: encode non-ASCII Latin1 characters as one byte in JS2C (Joyee Cheung) #51605 - [
4f49e9d000
] - (SEMVER-MINOR) build: build opt to set local location of headers (Michael Dawson) #51525 - [
8e84aad0ef
] - build: use macOS m1 machines for testing (Yagiz Nizipli) #51620 - [
5fce1a17e2
] - build: check before removing %config% link (liudonghua) #51437 - [
46d6dce1a8
] - build: increase parallel executions in github (Yagiz Nizipli) #51554 - [
8b3ead1f3e
] - build: remove copyright header in node.gni (Cheng Zhao) #51535 - [
d8b86ad363
] - build: update GN build files for ngtcp2 (Cheng Zhao) #51313 - [
ba0ffddd2d
] - build: fix for VScode "Reopen in Container" (Serg Kryvonos) #51271 - [
8b97e2e0a7
] - build: add-flax-vector-conversions
to V8 build (Michaël Zasso) #51257 - [
bd528c7dc0
] - build: fix warnings from uv for gn build (Cheng Zhao) #51069 - [
ffe467b062
] - build,tools: make addons tests work with GN (Cheng Zhao) #50737 - [
448d67109a
] - (SEMVER-MINOR) crypto: implement crypto.hash() (Joyee Cheung) #51044 - [
48959dd2b4
] - crypto: update root certificates to NSS 3.98 (Node.js GitHub Bot) #51794 - [
68e8b2c492
] - crypto: use EVP_MD_fetch and cache EVP_MD for hashes (Joyee Cheung) #51034 - [
adb5d69621
] - crypto: update CryptoKey symbol properties (Filip Skokan) #50897 - [
df0213fd3d
] - deps: update nghttp2 to 1.60.0 (Node.js GitHub Bot) #51948 - [
208dd887a5
] - deps: upgrade npm to 10.5.0 (npm team) #51913 - [
587e70e1ee
] - deps: update corepack to 0.25.2 (Node.js GitHub Bot) #51810 - [
38343c4857
] - deps: update c-ares to 1.27.0 (Node.js GitHub Bot) #51846 - [
c9974f621c
] - deps: update c-ares to 1.26.0 (Node.js GitHub Bot) #51582 - [
0aa18e1a1c
] - deps: update googletest to6a59382
(Node.js GitHub Bot) #51580 - [
f871bc6ddc
] - deps: update nghttp2 to 1.59.0 (Node.js GitHub Bot) #51581 - [
94f8ee8717
] - deps: update corepack to 0.24.1 (Node.js GitHub Bot) #51459 - [
c23ce06e6b
] - deps: update ada to 2.7.6 (Node.js GitHub Bot) #51542 - [
372ce69de1
] - deps: update ada to 2.7.5 (Node.js GitHub Bot) #51542 - [
133719b2c9
] - deps: update googletest to7c07a86
(Node.js GitHub Bot) #51458 - [
35675aa07f
] - deps: update acorn-walk to 8.3.2 (Node.js GitHub Bot) #51457 - [
ca73f55a22
] - deps: update base64 to 0.5.2 (Node.js GitHub Bot) #51455 - [
c9dad18191
] - deps: compile c-ares with C11 support (Michaël Zasso) #51410 - [
a727fa73ee
] - deps: upgrade npm to 10.3.0 (npm team) #51431 - [
834bbfd039
] - deps: update c-ares to 1.25.0 (Node.js GitHub Bot) #51385 - [
4c8fa3e7c2
] - deps: update uvwasi to 0.0.20 and fixup tests (Michael Dawson) #51355 - [
bd183ef2af
] - deps: add nghttp3/**/.deps to .gitignore (Luigi Pinca) #51400 - [
1d8169995c
] - deps: update corepack to 0.24.0 (Node.js GitHub Bot) #51318 - [
4dfbbb8789
] - deps: update acorn to 8.11.3 (Node.js GitHub Bot) #51317 - [
7d60877fa3
] - deps: update brotli to 1.1.0 (Node.js GitHub Bot) #50804 - [
1b99a3f0af
] - deps: update zlib to 1.3.0.1-motley-40e35a7 (Node.js GitHub Bot) #51274 - [
2270285839
] - deps: update simdutf to 4.0.8 (Node.js GitHub Bot) #51000 - [
61d1535d84
] - deps: V8: cherry-pickde611e6
(Keyhan Vakil) #51200 - [
04323fd595
] - deps: update googletest to530d5c8
(Node.js GitHub Bot) #51191 - [
454b4f8d7e
] - deps: update acorn-walk to 8.3.1 (Node.js GitHub Bot) #50457 - [
cc693eb908
] - deps: update acorn-walk to 8.3.0 (Node.js GitHub Bot) #50457 - [
09519c6655
] - deps: update zlib to 1.3.0.1-motley-dd5fc13 (Node.js GitHub Bot) #51105 - [
a2f39e9168
] - deps: V8: cherry-pick0fd478b
(Joyee Cheung) #50572 - [
1aaf156ea7
] - deps: update zlib to 1.3-22124f5 (Node.js GitHub Bot) #50910 - [
3f4e254047
] - deps: update googletest to76bb2af
(Node.js GitHub Bot) #50555 - [
702684c008
] - deps: update googletest tob10fad3
(Node.js GitHub Bot) #50555 - [
4ee7f29657
] - deps: update timezone to 2024a (Michaël Zasso) #51723 - [
452d74c8b6
] - deps: update icu to 74.2 (Michaël Zasso) #51723 - [
e6fc5a5ee1
] - deps: update timezone to 2023d (Node.js GitHub Bot) #51461 - [
4ee0f8306b
] - deps: update icu to 74.1 (Node.js GitHub Bot) #50515 - [
cb49f31480
] - deps: cherry-pick libuv/libuv@d09441c
(Richard Lau) #51976 - [
ea50540c5e
] - Revert "deps: V8: cherry-pick13192d6
" (kxxt) #51495 - [
6fd1617ab4
] - doc: add policy for distribution (Geoffrey Booth) #51918 - [
fc0b389006
] - doc: fix actual result of example is different in events (Deokjin Kim) #51925 - [
93d6d66339
] - doc: clarify Corepack threat model (Antoine du Hamel) #51917 - [
276d1d1d65
] - doc: add stability index to crypto.hash() (Joyee Cheung) #51978 - [
473af948b5
] - doc: remove redundant backquote which breaks sentence (JounQin) #51904 - [
b52b249b05
] - doc: update node-api/node-addon-api team link to sharing project news (Ulises Gascón) #51877 - [
a74c373ea4
] - doc: add website team to sharing project news (Ulises Gascón) #49002 - [
b7ce547d41
] - doc: update guide link for Event Loop (Shrujal Shah) #51874 - [
3dfee7ee33
] - doc: changeExperimentalWarnings
toExperimentalWarning
(Ameet Kaustav) #51741 - [
740d0679e7
] - doc: add Paolo to TSC members (Michael Dawson) #51825 - [
3240a2f349
] - doc: reserve 123 for Electron 30 (Keeley Hammond) #51803 - [
597e3db0f9
] - doc: add mention to GPG_TTY (Rafael Gonzaga) #51806 - [
ccdb01187b
] - doc: add zcbenz to collaborators (Cheng Zhao) #51812 - [
3a3de00437
] - doc: add entry to stewards (Rafael Gonzaga) #51760 - [
06b882d2fa
] - doc: update technical priorities for 2023 (Jean Burellier) #47523 - [
9a68b47fe1
] - doc: mark isWebAssemblyCompiledModule eol (Marco Ippolito) #51442 - [
8016628710
] - doc: fixglobals.md
introduction (Antoine du Hamel) #51742 - [
9ddbe4523f
] - doc: updates for better json generating (Dmitry Semigradsky) #51592 - [
140cf26d47
] - doc: document the GN build (Cheng Zhao) #51676 - [
ecfb3f18b3
] - doc: fix uncaught exception example (Gabriel Schulhof) #51638 - [
b3157a08bf
] - doc: clarify execution ofafter
hook on test suite completion (Ognjen Jevremović) #51523 - [
1dae1873d9
] - doc: fixdns.lookup
anddnsPromises.lookup
description (Duncan Chiu) #51517 - [
50df052087
] - doc: note that path.normalize deviates from POSIX (Tobias Nießen) #51513 - [
481af53aea
] - doc: add lemire to collaborators (Daniel Lemire) #51572 - [
dec0d5d19a
] - doc: fix historical experimental fetch flag (Kenrick) #51506 - [
96c480b1a1
] - doc: fix type of connectionAttempt parameter (Rafael Gonzaga) #51490 - [
76968ab112
] - doc: remove reference to resolved child_process v8 issue (Ian Kerins) #51467 - [
bdd3a2a9fd
] - doc: update typos (Aranđel Šarenac) #51475 - [
3532f5587c
] - doc: add notes on inspector breakpoints (Chengzhong Wu) #51417 - [
0dffb9f049
] - doc: add links inoffboarding.md
(Antoine du Hamel) #51440 - [
58d2442f0f
] - doc: fix spelling mistake (u9g) #51454 - [
a09f440dbd
] - doc: add check for security reverts (Michael Dawson) #51376 - [
401837bfc4
] - doc: fix some policy scope typos (Tim Kuijsten) #51234 - [
f301f829ba
] - doc: improve subtests documentation (Marco Ippolito) #51379 - [
1e40f552fd
] - doc: add missing word inchild_process.md
(Joseph Joy) #50370 - [
42b4f0f5ab
] - doc: fixup alignment of warning subsection (James M Snell) #51374 - [
b5bc597871
] - doc: the GN files should use Node's license (Cheng Zhao) #50694 - [
01a41041d6
] - doc: improve localWindowSize event descriptions (Davy Landman) #51071 - [
63aa27df10
] - doc: mark--jitless
as experimental (Antoine du Hamel) #51247 - [
c8233912e9
] - doc: run license-builder (github-actions[bot]) #51199 - [
9e360df521
] - doc: fix limitations and known issues in pm (Rafael Gonzaga) #51184 - [
52d8222d32
] - doc: mention node:wasi in the Threat Model (Rafael Gonzaga) #51211 - [
cb3270e4c8
] - doc: remove ambiguous 'considered' (Rich Trott) #51207 - [
979e183e0c
] - doc: set exit code in custom test runner example (Matteo Collina) #51056 - [
eaadebb1f4
] - doc: remove version frommaintaining-dependencies.md
(Antoine du Hamel) #51195 - [
256db6e056
] - doc: mention native addons are restricted in pm (Rafael Gonzaga) #51185 - [
2a61602ab2
] - doc: correct note on behavior of stats.isDirectory (Nick Reilingh) #50946 - [
184b8bea5b
] - doc: fixTestsStream
parent class (Jungku Lee) #51181 - [
c61597ffe4
] - (SEMVER-MINOR) doc: add documentation for --build-snapshot-config (Anna Henningsen) #50453 - [
b88170d602
] - doc: run license-builder (github-actions[bot]) #51111 - [
f2b4626ab8
] - doc: deprecate hash constructor (Marco Ippolito) #51077 - [
6c241550cd
] - doc: add note regarding--experimental-detect-module
(Shubherthi Mitra) #51089 - [
8ee30ea900
] - doc: correct tracingChannel.traceCallback() (Gerhard Stöbich) #51068 - [
1cd27b6eff
] - doc: use length argument in pbkdf2Key (Tobias Nießen) #51066 - [
09ad974537
] - doc: add deprecation notice todirent.path
(Antoine du Hamel) #51059 - [
1113e58f87
] - doc: deprecatedirent.path
(Antoine du Hamel) #51020 - [
37979d750e
] - doc: add additional details about--input-type
(Shubham Pandey) #50796 - [
3ff00e1e79
] - doc: add procedure when CVEs don't get published (Rafael Gonzaga) #50945 - [
0930be6bd5
] - doc: fix some errors in esm resolution algorithms (Christopher Jeffrey (JJ)) #50898 - [
ddc7964b03
] - doc: reserve 121 for Electron 29 (Shelley Vohr) #50957 - [
625fd69b76
] - doc: run license-builder (github-actions[bot]) #50926 - [
f18269607a
] - doc: document non-node_modules-only runtime deprecation (Joyee Cheung) #50748 - [
5f8e7a0fdb
] - doc: add doc for Unix abstract socket (theanarkh) #50904 - [
e0598787e0
] - doc: remove flicker on page load on dark theme (Dima Demakov) #50942 - [
2a7047d933
] - doc,crypto: further clarify RSA_PKCS1_PADDING support (Tobias Nießen) #51799 - [
31c4ba4dfd
] - doc,crypto: add changelog and note about disabled RSA_PKCS1_PADDING (Filip Skokan) #51782 - [
90da41548f
] - doc,module: clarify hook chain execution sequence (Jacob Smith) #51884 - [
bb7d7f3d1c
] - errors: fix stacktrace of SystemError (uzlopak) #49956 - [
db7459b57b
] - errors: improve hideStackFrames (Aras Abbasi) #49990 - [
a6b3569121
] - esm: improve error when callingimport.meta.resolve
fromdata:
URL (Antoine du Hamel) #49516 - [
38f4000905
] - esm: fix hint on invalid module specifier (Antoine du Hamel) #51223 - [
e39e37bbd5
] - esm: fix hook name in error message (Bruce MacNaughton) #50466 - [
d9b5cd533c
] - events: no stopPropagation call in cancelBubble (mert.altin) #50405 - [
287a02c4b2
] - fs: load rimraf lazily in fs/promises (Joyee Cheung) #51617 - [
bbd1351ef0
] - fs: remove race condition for recursive watch on Linux (Matteo Collina) #51406 - [
1b7ccec5a7
] - fs: update jsdoc forfilehandle.createWriteStream
andappendFile
(Jungku Lee) #51494 - [
25056f5024
] - fs: fix fs.promises.realpath for long paths on Windows (翠 / green) #51032 - [
a8fd01a5a2
] - fs: make offset, position & length args in fh.read() optional (Pulkit Gupta) #51087 - [
721557c6d8
] - fs: add missing jsdoc parameters toreadSync
(Yagiz Nizipli) #51225 - [
3ce9aacfcd
] - fs: removeinternalModuleReadJSON
binding (Yagiz Nizipli) #51224 - [
65df2c6787
] - fs: improve mkdtemp performance for buffer prefix (Yagiz Nizipli) #51078 - [
6705b48012
] - fs: validate fd synchronously on c++ (Yagiz Nizipli) #51027 - [
afd5d67f89
] - fs: throw fchownSync error from c++ (Yagiz Nizipli) #51075 - [
bac982bce5
] - fs: update params in jsdoc for createReadStream and createWriteStream (Jungku Lee) #51063 - [
6764f0c9a8
] - fs: improve error performance of readvSync (IlyasShabi) #50100 - [
0225fce776
] - (SEMVER-MINOR) fs: introducedirent.parentPath
(Antoine du Hamel) #50976 - [
4adea6c405
] - fs,test: add URL to string to fs.watch (Rafael Gonzaga) #51346 - [
6bf148e12b
] - http: fixclose
return value mismatch between doc and implementation (kylo5aby) #51797 - [
66318602d0
] - http: split set-cookie when using setHeaders (Marco Ippolito) #51649 - [
f7b53d05bd
] - http: remove misleading warning (Luigi Pinca) #51204 - [
9062d30600
] - http: do not override user-provided options object (KuthorX) #33633 - [
4e38dee4ee
] - http: handle multi-value content-disposition header (Arsalan Ahmad) #50977 - [
b560bfbb84
] - http2: close idle connections when allowHTTP1 is true (xsbchen) #51569 - [
5ba4d96525
] - (SEMVER-MINOR) http2: add h2 compat support for appendHeader (Tim Perry) #51412 - [
0861498e8b
] - (SEMVER-MINOR) http2: add server handshake utility (snek) #51172 - [
6b08d006ee
] - (SEMVER-MINOR) http2: receive customsettings (Marten Richter) #51323 - [
23414a6120
] - http2: addtl http/2 settings (Marten Richter) #49025 - [
3fe59ba224
] - inspector: add NodeRuntime.waitingForDebugger event (mary marchini) #51560 - [
44f05e0d30
] - lib: make sure close net server (theanarkh) #51929 - [
3be5ff9c45
] - lib: return directly if udp socket close before lookup (theanarkh) #51914 - [
dcbf88f4c7
] - lib: account for cwd access from snapshot serialization cb (Anna Henningsen) #51901 - [
da8fa484f8
] - lib: fix http client socket path (theanarkh) #51900 - [
55011d2c71
] - lib: only build the ESM facade for builtins when they are needed (Joyee Cheung) #51669 - [
7894989bf0
] - (SEMVER-MINOR) lib: move encodingsMap to internal/util (Joyee Cheung) #51044 - [
9082cc557d
] - lib: do not access process.noDeprecation at build time (Joyee Cheung) #51447 - [
6679e6b616
] - lib: add assertion for user ESM execution (Joyee Cheung) #51748 - [
d6e8d03afc
] - lib: create global console properties at snapshot build time (Joyee Cheung) #51700 - [
bd2a3c10ae
] - lib: define FormData and fetch etc. in the built-in snapshot (Joyee Cheung) #51598 - [
da79876ef0
] - lib: allow checking the test result from afterEach (Tim Stableford) #51485 - [
bff7e3cf7a
] - lib: remove unnecessary refreshHrtimeBuffer() (Joyee Cheung) #51446 - [
562947e012
] - lib: fix use of--frozen-intrinsics
with--jitless
(Antoine du Hamel) #51248 - [
7b83ef749e
] - lib: move function declaration outside of loop (Sanjaiyan Parthipan) #51242 - [
0a85b0fd9d
] - lib: reduce overhead ofSafePromiseAllSettledReturnVoid
calls (Antoine du Hamel) #51243 - [
f4d7f0498e
] - lib: expose default prepareStackTrace (Chengzhong Wu) #50827 - [
5c7a9c8d4a
] - lib: don't parse windows drive letters as schemes (华) #50580 - [
9da6384f5a
] - lib: refactor to use validateFunction in diagnostics_channel (Deokjin Kim) #50955 - [
be3205ae24
] - lib: streamline process.binding() handling (Joyee Cheung) #50773 - [
f4987eb91e
] - lib,permission: handle buffer on fs.symlink (Rafael Gonzaga) #51212 - [
861e040b40
] - lib,src: extract sourceMappingURL from module (unbyte) #51690 - [
8a082754e0
] - lib,src: replace toUSVString withtoWellFormed()
(Yagiz Nizipli) #47342 - [
3badc1139c
] - (SEMVER-MINOR) lib,src,permission: port path.resolve to C++ (Rafael Gonzaga) #50758 - [
4b3cc3ce18
] - loader: speed up line length calc used by moduleProvider (Mudit) #50969 - [
960d67c51f
] - meta: bump github/codeql-action from 3.23.2 to 3.24.6 (dependabot[bot]) #51942 - [
1783b93af2
] - meta: bump actions/upload-artifact from 4.3.0 to 4.3.1 (dependabot[bot]) #51941 - [
1db603db2f
] - meta: bump codecov/codecov-action from 4.0.1 to 4.1.0 (dependabot[bot]) #51940 - [
2ddec64d5a
] - meta: bump actions/cache from 4.0.0 to 4.0.1 (dependabot[bot]) #51939 - [
92490421be
] - meta: bump actions/download-artifact from 4.1.1 to 4.1.3 (dependabot[bot]) #51938 - [
f3fa2b72b8
] - meta: bump actions/setup-node from 4.0.1 to 4.0.2 (dependabot[bot]) #51937 - [
a62b042e83
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #51726 - [
491f9f9902
] - meta: bump codecov/codecov-action from 3.1.4 to 4.0.1 (dependabot[bot]) #51648 - [
2765077a47
] - meta: bump actions/download-artifact from 4.1.0 to 4.1.1 (dependabot[bot]) #51644 - [
152a07b854
] - meta: bump actions/upload-artifact from 4.0.0 to 4.3.0 (dependabot[bot]) #51643 - [
53826920fb
] - meta: bump step-security/harden-runner from 2.6.1 to 2.7.0 (dependabot[bot]) #51641 - [
3d1dc9b030
] - meta: bump actions/cache from 3.3.2 to 4.0.0 (dependabot[bot]) #51640 - [
287bdf6bda
] - meta: bump github/codeql-action from 3.22.12 to 3.23.2 (dependabot[bot]) #51639 - [
90068fb0f1
] - meta: add .mailmap entry for lemire (Daniel Lemire) #51600 - [
f91786bd70
] - meta: mark security-wg codeowner for deps folder (Marco Ippolito) #51529 - [
e51221be8d
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #51468 - [
4a8a012c6d
] - meta: move RaisinTen to emeritus and remove from strategic initiatives (Darshan Sen) #51411 - [
e9276bab3f
] - meta: add .temp and .lock tags to ignore (Rafael Gonzaga) #51343 - [
ae6fecbc8d
] - meta: bump actions/setup-python from 4.7.1 to 5.0.0 (dependabot[bot]) #51335 - [
f4be49a618
] - meta: bump actions/setup-node from 4.0.0 to 4.0.1 (dependabot[bot]) #51334 - [
e24aa7ced1
] - meta: bump github/codeql-action from 2.22.8 to 3.22.12 (dependabot[bot]) #51333 - [
287c2bcf56
] - meta: bump actions/stale from 8.0.0 to 9.0.0 (dependabot[bot]) #51332 - [
1cad0dfaff
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #51329 - [
eef64b782e
] - meta: notify tsc on changes in SECURITY.md (Rafael Gonzaga) #51259 - [
95a880f728
] - meta: update artifact actions to v4 (Michaël Zasso) #51219 - [
59805f6879
] - meta: bump step-security/harden-runner from 2.6.0 to 2.6.1 (dependabot[bot]) #50999 - [
d74e0b97c3
] - meta: bump github/codeql-action from 2.22.5 to 2.22.8 (dependabot[bot]) #50998 - [
91cd9183d1
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #50931 - [
c621491aba
] - module: fix crash when built-in module export adefault
key (Antoine du Hamel) #51481 - [
43a8d3e984
] - module: fix--preserve-symlinks-main
(per4uk) #51312 - [
d8da197f86
] - module: move the CJS exports cache to internal/modules/cjs/loader (Joyee Cheung) #51157 - [
5fc10ca4d6
] - module: load source maps incommonjs
translator (Hiroki Osame) #51033 - [
43e9f0bc65
] - module: documentparentURL
in register options (Hiroki Osame) #51039 - [
870ef5a73f
] - net: fix connect crash when call destroy in lookup handler (theanarkh) #51826 - [
caf71e05a6
] - net: fix example IPv4 in dns docs (Aras Abbasi) #51377 - [
58a636be0e
] - (SEMVER-MINOR) net: add connection attempt events (Paolo Insogna) #51045 - [
06a29f830a
] - node-api: make napi_get_buffer_info check if passed buffer is valid (Janrupf) #51571 - [
0fb98438e4
] - node-api: move NAPI_EXPERIMENTAL definition to gyp file (Gabriel Schulhof) #51254 - [
242139fb98
] - node-api: optimize napi_set_property for perf (Mert Can Altın) #50282 - [
dc3d70c040
] - node-api: type tag external values without v8::Private (Chengzhong Wu) #51149 - [
0ac070ccb7
] - node-api: segregate nogc APIs from rest via type system (Gabriel Schulhof) #50060 - [
de65cada70
] - node-api: introduce experimental feature flags (Gabriel Schulhof) #50991 - [
e192ba18cd
] - perf_hooks: performance milestone time origin timestamp improvement (IlyasShabi) #51713 - [
f94336f95a
] - repl: fixNO_COLORS
env var is ignored (Moshe Atlow) #51568 - [
e08649caa0
] - repl: fix prepareStackTrace frames array order (Chengzhong Wu) #50827 - [
07614072f1
] - sea: update stability index (Joyee Cheung) #51774 - [
eea0d74454
] - (SEMVER-MINOR) sea: support sea.getRawAsset() (Joyee Cheung) #50960 - [
db0efa3f40
] - (SEMVER-MINOR) sea: support embedding assets (Joyee Cheung) #50960 - [
9b164c6eec
] - src: fix --disable-single-executable-application (Joyee Cheung) #51808 - [
306c1d35e5
] - src: simplify direct queries of env vars in C++ land (Joyee Cheung) #51829 - [
696063a47c
] - src: stop the profiler and the inspector before snapshot serialization (Joyee Cheung) #51815 - [
be40c8286c
] - src: simplify embedder entry point execution (Joyee Cheung) #51557 - [
90391ff256
] - src: compile code eagerly in snapshot builder (Joyee Cheung) #51672 - [
3875fa1dc5
] - src: check empty before accessing string (Cheng Zhao) #51665 - [
a58c98ea85
] - (SEMVER-MINOR) src: print string content better in BlobDeserializer (Joyee Cheung) #50960 - [
62707a9d27
] - src: fix vm bug for configurable globalThis (F. Hinkelmann) #51602 - [
c3c0a3ee5c
] - (SEMVER-MINOR) src: support multi-line values for .env file (IlyasShabi) #51289 - [
dc8fe9ebf4
] - (SEMVER-MINOR) src: addprocess.loadEnvFile
andutil.parseEnv
(Yagiz Nizipli) #51476 - [
a5afad2a4d
] - src: terminate correctly double-quote in env variable (Marco Ippolito) #51510 - [
2a921966c6
] - (SEMVER-MINOR) src: do not coerce dotenv paths (Tobias Nießen) #51425 - [
50ec55c268
] - src: refactorGetCreationContext
calls (Jungku Lee) #51367 - [
2e65389922
] - src: do not read string out of bounds (Cheng Zhao) #51358 - [
a653531089
] - src: avoid shadowed string in fs_permission (Shelley Vohr) #51123 - [
c190a057ff
] - src: avoid draining platform tasks at FreeEnvironment (Chengzhong Wu) #51290 - [
00227674f5
] - src: add fast api for Histogram (James M Snell) #51296 - [
4733c8e4df
] - src: refactorGetCreationContext
calls (Yagiz Nizipli) #51287 - [
d76e16bb47
] - src: enter isolate before destructing IsolateData (Ben Noordhuis) #51138 - [
4ffdd37d2c
] - src: eliminate duplicate code in histogram.cc (James M Snell) #51263 - [
2ce8b974a0
] - src: fix unix abstract socket path for trace event (theanarkh) #50858 - [
9b25268cb8
] - src: use BignumPointer and use BN_clear_free (James M Snell) #50454 - [
a80f660343
] - src: implement FastByteLengthUtf8 with simdutf::utf8_length_from_latin1 (Daniel Lemire) #50840 - [
0dee86f295
] - (SEMVER-MINOR) src: support configurable snapshot (Joyee Cheung) #50453 - [
90b5ed1d1d
] - src: implement countObjectsWithPrototype (Joyee Cheung) #50572 - [
9365e129ed
] - src: register udp_wrap external references (Joyee Cheung) #50943 - [
b05d496b6c
] - src: register spawn_sync external references (Joyee Cheung) #50943 - [
642fb44982
] - src: register process_wrap external references (Joyee Cheung) #50943 - [
c7c9e81a1a
] - src: fix double free reported by coverity (Michael Dawson) #51046 - [
358793e28e
] - src: remove unused headers innode_file.cc
(Jungku Lee) #50927 - [
c705b73a74
] - src: implement --trace-promises (Joyee Cheung) #50899 - [
97aa67f006
] - src: fix dynamically linked zlib version (Richard Lau) #51007 - [
d6f46a44f2
] - src: make ModifyCodeGenerationFromStrings more robust (Joyee Cheung) #50763 - [
362135a1f9
] - src: disable uncaught exception abortion for ESM syntax detection (Yagiz Nizipli) #50987 - [
d82b0d4320
] - src: fix backtrace with tail [redacted] abort (Chengzhong Wu) #50849 - [
6df3e31bff
] - src: print MKSNAPSHOT debug logs to stderr (Joyee Cheung) #50759 - [
fd5efac176
] - (SEMVER-MINOR) src,permission: add --allow-addon flag (Rafael Gonzaga) #51183 - [
b616f6fa06
] - src,stream: improve WriteString (ywave620) #51155 - [
16d8cd5b22
] - stream: do not defer construction by one microtick (Matteo Collina) #52005 - [
7931c3bbc8
] - stream: fix eventNames() to not return not defined events (IlyasShabi) #51331 - [
d0a6f3515d
] - stream: fix cloned webstreams not being unref correctly (tsctx) #51526 - [
8750070a47
] - stream: fix fd is null when calling clearBuffer (kylo5aby) #50994 - [
ade6614067
] - (SEMVER-MINOR) stream: add support fordeflate-raw
format to webstreams compression (Damian Krzeminski) #50097 - [
905c48fc6e
] - test: add regression test for test_runner after hook (Colin Ihrig) #51998 - [
60f008b65e
] - test: reduce flakiness oftest-runner-output
(Antoine du Hamel) #51952 - [
0ad88f6a5c
] - test: fix flaky http-chunk-extensions-limit test (Ethan Arrowood) #51943 - [
3f85c7ac97
] - test: remove flaky designation (Luigi Pinca) #51736 - [
f37648ee5c
] - test: skip SEA tests when SEA generation fails (Joyee Cheung) #51887 - [
136b6a998b
] - test: fix unreliable assumption in js-native-api/test_cannot_run_js (Joyee Cheung) #51898 - [
d90594aefa
] - test: deflake test-http2-large-write-multiple-requests (Joyee Cheung) #51863 - [
a0b36e33d1
] - test: fix test-debugger-profile for coverage generation (Joyee Cheung) #51816 - [
dd0f164ca3
] - test: fix test-bootstrap-modules for coverage generation (Joyee Cheung) #51816 - [
e4c7d62496
] - test: ensure delay in recursive fs watch tests (Joyee Cheung) #51842 - [
963d7d7dea
] - test: fix test-child-process-fork-net (Joyee Cheung) #51841 - [
dd708d337e
] - test: split wasi tests (Joyee Cheung) #51836 - [
853b48d905
] - test: remove test-fs-stat-bigint flaky designation (Luigi Pinca) #51735 - [
fdc7d751de
] - test: skip test-http-correct-hostname on loong64 (Shi Pujin) #51663 - [
c33f860d2b
] - test: remove test-cli-node-options flaky designation (Luigi Pinca) #51716 - [
f528e965f6
] - test: remove test-domain-error-types flaky designation (Luigi Pinca) #51717 - [
7e3ee828f1
] - test: fixinternet/test-inspector-help-page
(Richard Lau) #51693 - [
170278c25d
] - test: remove duplicate entry for flaky test (Luigi Pinca) #51654 - [
d0d5bd0e54
] - test: remove test-crypto-keygen flaky designation (Luigi Pinca) #51567 - [
bca6dcca0b
] - test: remove test-fs-rmdir-recursive flaky designation (Luigi Pinca) #51566 - [
af3f229d6b
] - test: remove common.expectsError calls for asserts (Paulo Chaves) #51504 - [
f6fcd200e6
] - test: mark test-http2-large-file as flaky (Michaël Zasso) #51549 - [
1d8e65a230
] - test: use checkIfCollectableByCounting in SourceTextModule leak test (Joyee Cheung) #51512 - [
713afed6b0
] - test: remove test-file-write-stream4 flaky designation (Luigi Pinca) #51472 - [
292d0174df
] - test: add URL tests to fs-write (Rafael Gonzaga) #51352 - [
954e2f2f58
] - test: remove unneeded common.expectsError for asserts (Andrés Morelos) #51353 - [
f2dfe0fa80
] - test: add regression test for 51586 (Matteo Collina) #51491 - [
6ee5f50789
] - test: fix flaky conditions for ppc64 SEA tests (Richard Lau) #51422 - [
06a6eef9a4
] - test: replace forEach() with for...of (Alexander Jones) #50608 - [
a98102a6de
] - test: replace forEach with for...of (Ospite Privilegiato) #50787 - [
e9080a94d3
] - test: replace foreach with for of (lucacapocci94-dev) #50790 - [
42b162b06d
] - test: replace forEach() with for...of (Jia) #50610 - [
cab7737f7e
] - test: fix inconsistency write size intest-fs-readfile-tostring-fail
(Jungku Lee) #51141 - [
15731b4b2f
] - test: replace forEach test-http-server-multiheaders2 (Marco Mac) #50794 - [
9cedaa62fa
] - test: replace forEach with for-of in test-webcrypto-export-import-ec (Chiara Ricciardi) #51249 - [
7f301e04be
] - test: move to for of loop in test-http-hostname-typechecking.js (Luca Del Puppo) #50782 - [
6e62e649df
] - test: skip test-watch-mode-inspect on arm (Michael Dawson) #51210 - [
c3c2b2b041
] - test: replace forEach with for of in file test-trace-events-net.js (Ianna83) #50789 - [
55c423ba4f
] - test: replace forEach() with for...of in test/parallel/test-util-log.js (Edoardo Dusi) #50783 - [
8ac05cf3c4
] - test: replace forEach with for of in test-trace-events-api.js (Andrea Pavone) #50784 - [
d10d39e8ba
] - test: replace forEach with for-of in test-v8-serders.js (Mattia Iannone) #50791 - [
576adc5e5b
] - test: add URL tests to fs-read in pm (Rafael Gonzaga) #51213 - [
996cef51b7
] - test: use tmpdir.refresh() in test-esm-loader-resolve-type.mjs (Luigi Pinca) #51206 - [
8f2d982342
] - test: use tmpdir.refresh() in test-esm-json.mjs (Luigi Pinca) #51205 - [
efd6630143
] - test: fix flakiness in worker*.test-free-called (Jithil P Ponnan) #51013 - [
54a29ee506
] - test: deflake test-diagnostics-channel-memory-leak (Joyee Cheung) #50572 - [
6319ea6183
] - test: test syncrhnous methods of child_process in snapshot (Joyee Cheung) #50943 - [
50df4aee2b
] - test: handle relative https redirect (Richard Lau) #51121 - [
9f88f40cae
] - test: fix test runner colored output test (Moshe Atlow) #51064 - [
a1feae24cb
] - test: resolve path of embedtest binary correctly (Cheng Zhao) #50276 - [
a4f1805c92
] - test: escape cwd in regexp (Jérémy Lal) #50980 - [
1c28db8116
] - test: replace forEach to for.. test-webcrypto-export-import-cfrg.js (Angelo Parziale) #50785 - [
a4f505213e
] - test: log more information in SEA tests (Joyee Cheung) #50759 - [
c91b817a5c
] - test: consolidate utf8 text fixtures in tests (Joyee Cheung) #50732 - [
26a06b093b
] - test: give more time to GC in test-shadow-realm-gc-* (Joyee Cheung) #50735 - [
e8f5735149
] - test: test surrogate pair filenames on windows (Mert Can Altın) #51800 - [
1ab9ff46a5
] - test: mark test-wasi as flaky on Windows on ARM (Joyee Cheung) #51834 - [
1c47da1453
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #51533 - [
91c8624608
] - test_runner: serialize 'expected' and 'actual' in isolation (Malthe Borch) #51851 - [
cea90dcfe3
] - test_runner: add ref methods to mocked timers (Marco Ippolito) #51809 - [
9ff0df1793
] - test_runner: check if timeout was cleared by own callback (Ben Richeson) #51673 - [
34ecd1e36b
] - test_runner: fixed test object is incorrectly passed to setup() (Pulkit Gupta) #50982 - [
da17a2538e
] - test_runner: fixed to run after hook if before throws an error (Pulkit Gupta) #51062 - [
b8f0ea6f60
] - test_runner: fix infinite loop when files are undefined in test runner (Pulkit Gupta) #51047 - [
fe922f05e4
] - (SEMVER-MINOR) timers: export timers.promises (Marco Ippolito) #51246 - [
f4ac7baf85
] - tools: fix installing node with shared mode (Cheng Zhao) #51910 - [
f07605fa7b
] - tools: update eslint to 8.57.0 (Node.js GitHub Bot) #51867 - [
d16b235fca
] - tools: update lint-md-dependencies to rollup@4.12.0 (Node.js GitHub Bot) #51795 - [
d27e811a01
] - tools: fix missing [redacted] in js2c (Cheng Zhao) #51845 - [
7eb69308da
] - tools: disable automated libuv updates (Rafael Gonzaga) #51775 - [
1f15af425c
] - tools: update lint-md-dependencies to rollup@4.10.0 (Node.js GitHub Bot) #51720 - [
c7ae13e6bc
] - tools: update github_reporter to 1.6.0 (Node.js GitHub Bot) #51658 - [
0fb079bd85
] - tools: runbuild-windows
workflow only on source changes (Antoine du Hamel) #51596 - [
c2538e31fa
] - tools: update lint-md-dependencies to rollup@4.9.6 (Node.js GitHub Bot) #51583 - [
e02dbf074b
] - tools: fix loong64 build (Shi Pujin) #51401 - [
ce49cb6656
] - tools: set normalizeTD text default to empty string (Marco Ippolito) #51543 - [
e8dc5ac552
] - tools: limit parallelism with ninja in V8 builds (Richard Lau) #51473 - [
97470b179b
] - tools: do not pass invalid flag to C compiler (Michaël Zasso) #51409 - [
59af1d7923
] - tools: update lint-md-dependencies to rollup@4.9.5 (Node.js GitHub Bot) #51460 - [
6385c7ad57
] - tools: update inspector_protocol to83b1154
(Kohei Ueno) #51309 - [
5235aaf299
] - tools: update github_reporter to 1.5.4 (Node.js GitHub Bot) #51395 - [
4ce2ecb1ce
] - tools: fix version parsing in brotli update script (Richard Lau) #51373 - [
86102078f5
] - tools: update lint-md-dependencies to rollup@4.9.4 (Node.js GitHub Bot) #51396 - [
e658208159
] - tools: remove openssl v1 update script (Marco Ippolito) #51378 - [
4372f6a5b8
] - tools: remove deprecated python api (Alex Yang) #49731 - [
2b24059e53
] - tools: update lint-md-dependencies to rollup@4.9.2 (Node.js GitHub Bot) #51320 - [
1da2e8d15e
] - tools: fix dep_updaters dir updates (Michaël Zasso) #51294 - [
b264dda7f2
] - tools: update inspector_protocol toc488ba2
(cola119) #51293 - [
fdb07d5418
] - tools: update inspector_protocol to9b4a4aa
(cola119) #51293 - [
6863fb84a6
] - tools: update inspector_protocol to2f51e05
(cola119) #51293 - [
6b85f5c6e0
] - tools: update inspector_protocol tod7b099b
(cola119) #51293 - [
cf029ca24f
] - tools: update inspector_protocol to912eb68
(cola119) #51293 - [
af119447f5
] - tools: update inspector_protocol to547c5b8
(cola119) #51293 - [
5a72506823
] - tools: update inspector_protocol toca525fc
(cola119) #51293 - [
c7aa3976f9
] - tools: update lint-md-dependencies to rollup@4.9.1 (Node.js GitHub Bot) #51276 - [
8e02d08a82
] - tools: check timezone current version (Marco Ippolito) #51178 - [
fa1e88775d
] - tools: update lint-md-dependencies to rollup@4.9.0 (Node.js GitHub Bot) #51193 - [
04c0bf9cc5
] - tools: update eslint to 8.56.0 (Node.js GitHub Bot) #51194 - [
e896cbd0d5
] - tools: update lint-md-dependencies to rollup@4.7.0 (Node.js GitHub Bot) #51106 - [
c7350c2083
] - tools: update doc to highlight.js@11.9.0 unified@11.0.4 (Node.js GitHub Bot) #50459 - [
00dfabf8fb
] - tools: update eslint to 8.55.0 (Node.js GitHub Bot) #51025 - [
f91d56157b
] - tools: update lint-md-dependencies to rollup@4.6.1 (Node.js GitHub Bot) #51022 - [
450163cf9b
] - tools: add triggers to update release links workflow (Moshe Atlow) #50974 - [
b1442024ea
] - tools: update lint-md-dependencies to rollup@4.5.2 (Node.js GitHub Bot) #50913 - [
6fc6a62daf
] - tools: fix current version check (Marco Ippolito) #50951 - [
bc6bdda8b1
] - tools: fix update-icu.sh (Michaël Zasso) #51723 - [
a7a4cce75d
] - typings: lib/internal/vm.js (Geoffrey Booth) #50112 - [
6375540507
] - typings: fix JSDoc ininternal/modules/esm/hooks
(Alex Yang) #50887 - [
4bc8e98d7c
] - url: don't update URL immediately on update to URLSearchParams (Matt Cowley) #51520 - [
2acbcbd8ad
] - url: throw error if argument length of revokeObjectURL is 0 (DylanTet) #50433 - [
c50134615e
] - (SEMVER-MINOR) util: add styleText API to text formatting (Rafael Gonzaga) #51850 - [
f79ac336ad
] - util: pass invalidSubtypeIndex instead of trimmedSubtype to error (Gaurish Sethia) #51264 - [
c3b89c310f
] - util: improve performance of function areSimilarFloatArrays (Liu Jia) #51040 - [
5202995b48
] - vm: implement isContext() directly in JS land with private symbol (Joyee Cheung) #51685 - [
0211a3d65f
] - (SEMVER-MINOR) vm: support using the default loader to handle dynamic import() (Joyee Cheung) #51244 - [
07fc077c5d
] - vm: use v8::DeserializeInternalFieldsCallback explicitly (Joyee Cheung) #50984 - [
5183e3a4b1
] - watch: clarify that the fileName parameter can be null (Luigi Pinca) #51305 - [
63bf8a66df
] - watch: fix nullfileName
on windows systems (vnc5) #49891 - [
07da4e9b58
] - watch: fix infinite loop when passing --watch=true flag (Pulkit Gupta) #51160
v20.11.1
: 2024-02-14, Version 20.11.1 'Iron' (LTS), @RafaelGSS prepared by @marco-ippolito
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
- [
7079c062bb
] - crypto: disable PKCS#1 padding for privateDecrypt (Michael Dawson) nodejs-private/node-private#525 - [
186a6e1ffb
] - deps: fix GHSA-f74f-cvh7-c6q6/CVE-2024-24806 (Santiago Gimeno) #51737 - [
686da19abb
] - deps: disable io_uring support in libuv by default (Tobias Nießen) nodejs-private/node-private#529 - [
f7b44bfbce
] - deps: update archs files for openssl-3.0.13+quic1 (Node.js GitHub Bot) #51614 - [
7a30fecea2
] - deps: upgrade openssl sources to quictls/openssl-3.0.13+quic1 (Node.js GitHub Bot) #51614 - [
480fc169a8
] - fs: protect against modified Buffer internals in possiblyTransformPath (Tobias Nießen) nodejs-private/node-private#497 - [
77ac7c3153
] - http: add maximum chunk extension size (Paolo Insogna) nodejs-private/node-private#519 - [
ed7d149675
] - lib: use cache fs internals against path traversal (RafaelGSS) nodejs-private/node-private#516 - [
89bd5fc38f
] - lib: update undici to v5.28.3 (Matteo Collina) nodejs-private/node-private#539 - [
d01dd4291d
] - permission: fix wildcard when children > 1 (Rafael Gonzaga) #51209 - [
40ff37dfcc
] - src: fix HasOnly(capability) in node::credentials (Tobias Nießen) nodejs-private/node-private#505 - [
3f6addd590
] - src,deps: disable setuid() etc if io_uring enabled (Tobias Nießen) nodejs-private/node-private#529 - [
d6da413aa4
] - test,doc: clarify wildcard usage (RafaelGSS) nodejs-private/node-private#517 - [
c213910aea
] - zlib: pause stream if outgoing buffer is full (Matteo Collina) nodejs-private/node-private#541
v20.11.0
: 2024-01-09, Version 20.11.0 'Iron' (LTS), @UlisesGascon
Notable Changes
- [
833190fe7c
] - crypto: update root certificates to NSS 3.95 (Node.js GitHub Bot) #50805 - [
a541b78bdb
] - doc: add MrJithil to collaborators (Jithil P Ponnan) #50666 - [
d4be8fad83
] - doc: add Ethan-Arrowood as a collaborator (Ethan Arrowood) #50393 - [
c1a196c897
] - (SEMVER-MINOR) esm: add import.meta.dirname and import.meta.filename (James Sumners) #48740 - [
aa3209b880
] - fs: add c++ fast path for writeFileSync utf8 (CanadaHonk) #49884 - [
8e886a2fff
] - (SEMVER-MINOR) module: remove useCustomLoadersIfPresent flag (Chengzhong Wu) #48655 - [
21ab3c0f0b
] - (SEMVER-MINOR) module: bootstrap module loaders in shadow realm (Chengzhong Wu) #48655 - [
29d91b13e3
] - (SEMVER-MINOR) src: add--disable-warning
option (Ethan Arrowood) #50661 - [
11b3e470db
] - (SEMVER-MINOR) src: create per isolate proxy env template (Chengzhong Wu) #48655 - [
621c4d66c2
] - (SEMVER-MINOR) src: make process binding data weak (Chengzhong Wu) #48655 - [
139d6c8d3b
] - stream: use Array for Readable buffer (Robert Nagy) #50341 - [
6206957e8d
] - stream: optimize creation (Robert Nagy) #50337 - [
e64378643d
] - (SEMVER-MINOR) test_runner: adds built in lcov reporter (Phil Nash) #50018 - [
4a830c2d9d
] - (SEMVER-MINOR) test_runner: add Date to the supported mock APIs (Lucas Santos) #48638 - [
842dc01def
] - (SEMVER-MINOR) test_runner, cli: add --test-timeout flag (Shubham Pandey) #50443
Commits
- [
e40a559ab1
] - benchmark: update iterations in benchmark/util/splice-one.js (Liu Jia) #50698 - [
00f7a5d26f
] - benchmark: increase the iteration number to an appropriate value (Lei Shi) #50766 - [
be6ad3f375
] - benchmark: rewrite import.meta benchmark (Joyee Cheung) #50683 - [
9857364129
] - benchmark: add misc/startup-cli-version benchmark (Joyee Cheung) #50684 - [
22d729e7f5
] - benchmark: remove punycode from require-builtins fixture (Joyee Cheung) #50689 - [
4cf10a149a
] - benchmark: change iterations in benchmark/es/string-concatenations.js (Liu Jia) #50585 - [
15c2ed93a8
] - benchmark: add benchmarks for encodings (Aras Abbasi) #50348 - [
8a896428ca
] - benchmark: add more cases to Readable.from (Raz Luvaton) #50351 - [
dbe6c5f354
] - benchmark: skip test-benchmark-os on IBMi (Michael Dawson) #50286 - [
179b4b6e62
] - benchmark: move permission-fs-read to permission-processhas-fs-read (Aki Hasegawa-Johnson) #49770 - [
32d65c001d
] - buffer: improve Buffer.equals performance (kylo5aby) #50621 - [
80ea83757e
] - build: add GN configurations for simdjson (Cheng Zhao) #50831 - [
904e645bcd
] - build: add configuration flag to enable Maglev (Keyhan Vakil) #50692 - [
019efa8a5a
] - build: fix GN configuration for deps/base64 (Cheng Zhao) #50696 - [
a645d5ac54
] - build: disable flag v8_scriptormodule_legacy_lifetime (Chengzhong Wu) #50616 - [
8705058b09
] - build: add GN build files (Cheng Zhao) #47637 - [
0a5e9c12cf
] - build: fix build with Python 3.12 (Luigi Pinca) #50582 - [
ff5713dd43
] - build: support Python 3.12 (Shi Pujin) #50209 - [
cfd50f229a
] - build: fix building when there is only python3 (Cheng Zhao) #48462 - [
833190fe7c
] - crypto: update root certificates to NSS 3.95 (Node.js GitHub Bot) #50805 - [
54c46dae9e
] - deps: update zlib to 1.2.13.1-motley-5daffc7 (Node.js GitHub Bot) #50803 - [
0be84e5a28
] - deps: update undici to 5.27.2 (Node.js GitHub Bot) #50813 - [
ec67890824
] - deps: V8: cherry-pick0f9ebbc
(Chengzhong Wu) #50867 - [
bc2ebb972b
] - deps: V8: cherry-pick13192d6
(Levi Zim) #50552 - [
656135d70a
] - deps: update zlib to 1.2.13.1-motley-dfc48fc (Node.js GitHub Bot) #50456 - [
41ee4bcc5d
] - deps: update ada to 2.7.4 (Node.js GitHub Bot) #50815 - [
a40948b5c5
] - deps: update minimatch to 9.0.3 (Node.js GitHub Bot) #50806 - [
7be1222c4a
] - deps: update simdutf to 4.0.4 (Node.js GitHub Bot) #50772 - [
68e7d49db6
] - deps: upgrade npm to 10.2.4 (npm team) #50751 - [
3d82d38336
] - deps: escape Python strings correctly (Michaël Zasso) #50695 - [
d3870ac957
] - deps: update base64 to 0.5.1 (Node.js GitHub Bot) #50629 - [
4b219b6ece
] - deps: update corepack to 0.23.0 (Node.js GitHub Bot) #50563 - [
6c41b50922
] - deps: update nghttp2 to 1.58.0 (Node.js GitHub Bot) #50441 - [
3beee0ae8f
] - deps: update acorn to 8.11.2 (Node.js GitHub Bot) #50460 - [
220916fa93
] - deps: update undici to 5.27.0 (Node.js GitHub Bot) #50463 - [
f9960b3545
] - deps: update googletest to116b7e5
(Node.js GitHub Bot) #50324 - [
d5c16f897a
] - dns: call handle.setServers() with a valid array (Luigi Pinca) #50811 - [
1bd6537c97
] - doc: recommend supported Python versions (Luigi Pinca) #50407 - [
402e257520
] - doc: update notable changes in v21.1.0 (Joyee Cheung) #50388 - [
032535e270
] - doc: make theme consistent across api and other docs (Dima Demakov) #50877 - [
d53842683f
] - doc: add a section regardinginstanceof
inprimordials.md
(Antoine du Hamel) #50874 - [
fe315055a7
] - doc: update email to reflect affiliation (Yagiz Nizipli) #50856 - [
e14f661950
] - doc: shard not supported with watch mode (Pulkit Gupta) #50640 - [
b3d015de71
] - doc: get rid of unnecessaryeslint-skip
comments (Antoine du Hamel) #50829 - [
168cbf9cb9
] - doc: create deprecation code for isWebAssemblyCompiledModule (Marco Ippolito) #50486 - [
30baacba41
] - doc: add CanadaHonk to triagers (CanadaHonk) #50848 - [
e6e7cbceac
] - doc: fix typos in --allow-fs-* (Tobias Nießen) #50845 - [
e22ce9586f
] - doc: update Crypto API doc for x509.keyUsage (Daniel Meechan) #50603 - [
549d4422b7
] - doc: fix fs.writeFileSync return value documentation (Ryan Zimmerman) #50760 - [
3c79e3cdba
] - doc: update print results(detail) inPerformanceEntry
(Jungku Lee) #50723 - [
aeaf96d06e
] - doc: fixBuffer.allocUnsafe
documentation (Mert Can Altın) #50686 - [
347e1dd06a
] - doc: run license-builder (github-actions[bot]) #50691 - [
a541b78bdb
] - doc: add MrJithil to collaborators (Jithil P Ponnan) #50666 - [
90f415dd61
] - doc: fix typo in fs.md (fwio) #50570 - [
e2388151ba
] - doc: add missing description of argument insubtle.encrypt
(Deokjin Kim) #50578 - [
39cc013465
] - doc: update pm documentation to include resource (Ranieri Innocenti Spada) #50601 - [
ba6d427c23
] - doc: correct attribution in v20.6.0 changelog (Jacob Smith) #50564 - [
1b2dab8254
] - doc: update to alignconsole.table
row to the left (Jungku Lee) #50553 - [
5d48ef7778
] - doc: underline links (Rich Trott) #50481 - [
5e6057c9d2
] - doc: remove duplicate word (Gerhard Stöbich) #50475 - [
64bf2fd4ee
] - doc: fix typo inwebstreams.md
(André Santos) #50426 - [
cca55b8414
] - doc: add information about Node-API versions >=9 (Michael Dawson) #50168 - [
d4be8fad83
] - doc: add Ethan-Arrowood as a collaborator (Ethan Arrowood) #50393 - [
0b311838f6
] - doc: fix TOC inreleases.md
(Bryce Seefieldt) #50372 - [
843d5f84ca
] - esm: fallback togetSource
whenload
returns nullishsource
(Antoine du Hamel) #50825 - [
8d5469c84b
] - esm: do not callgetSource
when format iscommonjs
(Francesco Trotta) #50465 - [
b48cf314d3
] - esm: bypass CJS loader in default load under--default-type=module
(Antoine du Hamel) #50004 - [
c1a196c897
] - (SEMVER-MINOR) esm: add import.meta.dirname and import.meta.filename (James Sumners) #48740 - [
435f9c9276
] - fs: use default w flag for writeFileSync with utf8 encoding (Murilo Kakazu) #50990 - [
aa3209b880
] - fs: add c++ fast path for writeFileSync utf8 (CanadaHonk) #49884 - [
05e25e0230
] - fs: improve error perf of synclstat
+fstat
(CanadaHonk) #49868 - [
f94a24cb4b
] - fs: improve error performance forrmdirSync
(CanadaHonk) #49846 - [
cada22e2a4
] - fs: fix to not return for void function (Jungku Lee) #50769 - [
ba40b2e33e
] - fs: replace deprecatedpath._makeLong
in copyFile (CanadaHonk) #50844 - [
d1b6bd660a
] - fs: update param in jsdoc forreaddir
(Jungku Lee) #50448 - [
11412e863a
] - fs: do not throw error on cpSync internals (Yagiz Nizipli) #50185 - [
868a464c15
] - fs,url: moveFromNamespacedPath
tonode_url
(Yagiz Nizipli) #50090 - [
de7fe08c7b
] - fs,url: refactorFileURLToPath
method (Yagiz Nizipli) #50090 - [
186e6e0395
] - fs,url: moveFileURLToPath
to node_url (Yagiz Nizipli) #50090 - [
aea7fe54af
] - inspector: use private fields instead of symbols (Yagiz Nizipli) #50776 - [
48dbde71d8
] - lib: use primordials for navigator.userAgent (Aras Abbasi) #50467 - [
fa220cac87
] - lib: remove deprecated string methods (Jithil P Ponnan) #50592 - [
f1cf1c385f
] - lib: fix assert shows diff messages in ESM and CJS (Jithil P Ponnan) #50634 - [
3844af288f
] - lib: make event static properties non writable and configurable (Muthukumar) #50425 - [
0a0b416d6c
] - lib: avoid memory allocation on nodeprecation flag (Vinicius Lourenço) #50231 - [
e7551d5770
] - lib: align console.table row to the left (Jithil P Ponnan) #50135 - [
0c85cebdf2
] - meta: clarify nomination process according to Node.js charter (Matteo Collina) #50834 - [
f4070dd8d4
] - meta: clarify recommendation for bug reproductions (Antoine du Hamel) #50882 - [
2ddeead436
] - meta: move cjihrig to TSC regular member (Colin Ihrig) #50816 - [
34a789d9be
] - meta: add web-standards as WPTs owner (Filip Skokan) #50636 - [
40bbffa266
] - meta: bump github/codeql-action from 2.21.9 to 2.22.5 (dependabot[bot]) #50513 - [
c49553631d
] - meta: bump step-security/harden-runner from 2.5.1 to 2.6.0 (dependabot[bot]) #50512 - [
99df0138b0
] - meta: bump ossf/scorecard-action from 2.2.0 to 2.3.1 (dependabot[bot]) #50509 - [
9db6227ac6
] - meta: fix spacing in collaborator list (Antoine du Hamel) #50641 - [
2589a5a566
] - meta: bump actions/setup-python from 4.7.0 to 4.7.1 (dependabot[bot]) #50510 - [
5a86661a95
] - meta: add crypto as crypto and webcrypto docs owner (Filip Skokan) #50579 - [
ac8d2b9cc2
] - meta: bump actions/setup-node from 3.8.1 to 4.0.0 (dependabot[bot]) #50514 - [
bee2c0cf11
] - meta: bump actions/checkout from 4.1.0 to 4.1.1 (dependabot[bot]) #50511 - [
91a0944e5f
] - meta: add ethan.arrowood@vercel.com to mailmap (Ethan Arrowood) #50491 - [
8d3cf8c4ee
] - meta: add web-standards as web api visibility owner (Chengzhong Wu) #50418 - [
807c12de36
] - meta: mention other notable changes section (Rafael Gonzaga) #50309 - [
21ab3c0f0b
] - (SEMVER-MINOR) module: bootstrap module loaders in shadow realm (Chengzhong Wu) #48655 - [
8e886a2fff
] - (SEMVER-MINOR) module: remove useCustomLoadersIfPresent flag (Chengzhong Wu) #48655 - [
77e8361213
] - module: execute--import
sequentially (Antoine du Hamel) #50474 - [
fffc4951ac
] - module: add application/json in accept header when fetching json module (Marco Ippolito) #50119 - [
f808e7a650
] - net: check pipe mode and path (theanarkh) #50770 - [
cf3a4c5b84
] - node-api: factor out common code into macros (Gabriel Schulhof) #50664 - [
a7d8f6b529
] - perf_hooks: implement performance.now() with fast API calls (Joyee Cheung) #50492 - [
076dc7540b
] - permission: do not create symlinks if target is relative (Tobias Nießen) #49156 - [
43160dcd2d
] - permission: mark const functions as such (Tobias Nießen) #50705 - [
7a661d7ad9
] - permission: address coverity warning (Michael Dawson) #50215 - [
b2b4132c3e
] - src: iterate on import attributes array correctly (Michaël Zasso) #50703 - [
11b3e470db
] - (SEMVER-MINOR) src: create per isolate proxy env template (Chengzhong Wu) #48655 - [
d00412a083
] - (SEMVER-MINOR) src: create fs_dir per isolate properties (Chengzhong Wu) #48655 - [
14cc3b9b90
] - (SEMVER-MINOR) src: create worker per isolate properties (Chengzhong Wu) #48655 - [
621c4d66c2
] - (SEMVER-MINOR) src: make process binding data weak (Chengzhong Wu) #48655 - [
07a4e94e84
] - src: assert return value of BN_bn2binpad (Tobias Nießen) #50860 - [
158db2d61e
] - src: fix coverity warning (Michael Dawson) #50846 - [
94363bb3fd
] - src: fix compatility with upcoming V8 12.1 APIs (Cheng Zhao) #50709 - [
29d91b13e3
] - (SEMVER-MINOR) src: add--disable-warning
option (Ethan Arrowood) #50661 - [
f054c337f8
] - src: add IsolateScopes before using isolates (Keyhan Vakil) #50680 - [
d08eb382cd
] - src: avoid copying strings in FSPermission::Apply (Tobias Nießen) #50662 - [
6620df1c05
] - src: remove erroneous default argument in RadixTree (Tobias Nießen) #50736 - [
436c3aef15
] - src: fix JSONParser leaking internal V8 scopes (Keyhan Vakil) #50688 - [
6f46d31018
] - src: return error --env-file if file is not found (Ardi Nugraha) #50588 - [
3d43fd359c
] - src: avoid silent coercion to signed/unsigned int (Tobias Nießen) #50663 - [
c253e39b56
] - src: handle errors from uv_pipe_connect2() (Deokjin Kim) #50657 - [
3a9713bb5a
] - src: use v8::Isolate::TryGetCurrent() in DumpJavaScriptBacktrace() (Joyee Cheung) #50518 - [
94f8a925a8
] - src: print more information in C++ assertions (Joyee Cheung) #50242 - [
23f830616b
] - src: hide node::credentials::HasOnly outside unit (Tobias Nießen) #50450 - [
b7ecb0a390
] - src: readiterable entries may be empty (Matthew Aitken) #50398 - [
4ef1d68715
] - src: implement structuredClone in native (Joyee Cheung) #50330 - [
9346f15138
] - src: use find instead of char-by-char in FromFilePath() (Daniel Lemire) #50288 - [
8414fb4d2a
] - src: add commit hash shorthand in zlib version (Jithil P Ponnan) #50158 - [
a878e3abb0
] - stream: fix enumerability of ReadableStream.from (Mattias Buelens) #50779 - [
95ed4ffc1e
] - stream: fix enumerability of ReadableStream.prototype.values (Mattias Buelens) #50779 - [
4cf155ca0c
] - stream: add Symbol.toStringTag to Compression Streams (Filip Skokan) #50712 - [
6012e3e781
] - stream: fix Writable.destroy performance regression (Robert Nagy) #50478 - [
dd5206820c
] - stream: pre-allocate _events (Robert Nagy) #50428 - [
829b82ed0f
] - stream: remove no longer relevant comment (Robert Nagy) #50446 - [
98ae1b4132
] - stream: use bit fields for construct/destroy (Robert Nagy) #50408 - [
08a0c6c56c
] - stream: improve from perf (Raz Luvaton) #50359 - [
59f7316b8f
] - stream: avoid calls to listenerCount (Robert Nagy) #50357 - [
9d52430eb9
] - stream: readable use bitmap accessors (Robert Nagy) #50350 - [
139d6c8d3b
] - stream: use Array for Readable buffer (Robert Nagy) #50341 - [
6206957e8d
] - stream: optimize creation (Robert Nagy) #50337 - [
f87921de3b
] - stream: refactor writable _write (Robert Nagy) #50198 - [
b338f3d3c2
] - stream: avoid getter for defaultEncoding (Robert Nagy) #50203 - [
1862235a26
] - test: fix message v8 not normalising alphanumeric paths (Jithil P Ponnan) #50730 - [
7c28a4ca8f
] - test: fix dns test case failures after c-ares update to 1.21.0+ (Brad House) #50743 - [
4544593d31
] - test: replace forEach with for of (Conor Watson) #50594 - [
96143a3293
] - test: replace forEach to for at test-webcrypto-sign-verify-ecdsa.js (Alessandro Di Nisio) #50795 - [
107b5e63c5
] - test: replace foreach with for in test-https-simple.js (Shikha Mehta) #49793 - [
9b2e5e9db4
] - test: add note about unresolved spec issue (Mattias Buelens) #50779 - [
edce637c1a
] - test: add note about readable streams with type owning (Mattias Buelens) #50779 - [
641044670b
] - test: replace forEach with for-of in test-url-relative (vitosorriso) #50788 - [
75ee78438c
] - test: replace forEach() with for ... of in test-tls-getprotocol.js (Steve Goode) #50600 - [
24f9d3fbeb
] - test: enable idlharness tests for encoding (Mattias Buelens) #50778 - [
a9d290956e
] - test: replace forEach in whatwg-encoding-custom-interop (Honza Machala) #50607 - [
6584dd80f7
] - test: replace forEach() with for-loop (Jan) #50596 - [
be54a22869
] - test: improve test-bootstrap-modules.js (Joyee Cheung) #50708 - [
660e70e73b
] - test: skip parallel/test-macos-app-sandbox if disk space < 120MB (Joyee Cheung) #50764 - [
5712c41122
] - test: replace foreach with for (Markus Muschol) #50599 - [
49e5f47b1c
] - test: test streambase has already has a consumer (Jithil P Ponnan) #48059 - [
bb7d764c8e
] - test: change forEach to for...of in path extname (Kyriakos Markakis) #50667 - [
4d28ced079
] - test: replace forEach with for...of (Ryan Williams) #50611 - [
92a153ecde
] - test: migrate message v8 tests from Python to JS (Joshua LeMay) #50421 - [
a376284d8a
] - test: use destructuring for accessing setting values (Honza Jedlička) #50609 - [
7b9b1fba27
] - test: replace forEach() with for .. of (Evgenia Blajer) #50605 - [
9397b2da7e
] - test: replace forEach() with for ... of in test-readline-keys.js (William Liang) #50604 - [
9043ba4cfb
] - test: replace forEach() with for ... of in test-http2-single-headers.js (spiritualized) #50606 - [
9f911d31f6
] - test: replace forEach with for of (john-mcinall) #50602 - [
8a5f36fe74
] - test: remove unused file (James Sumners) #50528 - [
9950203340
] - test: replace forEach with for of (Kevin Kühnemund) #50597 - [
03ba28f102
] - test: replace forEach with for of (CorrWu) #49785 - [
ea61261b54
] - test: replace forEach with for [...] of (Gabriel Bota) #50615 - [
4349790913
] - test: add WPT report test duration (Filip Skokan) #50574 - [
7cacddfcc1
] - test: replace forEach() with for ... of loop in test-global.js (Kajol) #49772 - [
889f58d07f
] - test: skip test-diagnostics-channel-memory-leak.js (Joyee Cheung) #50327 - [
41644ee071
] - test: improveUV_THREADPOOL_SIZE
tests on.env
(Yagiz Nizipli) #49213 - [
1db44b9a53
] - test: recognize wpt completion error (Chengzhong Wu) #50429 - [
ecfc951ddc
] - test: report error wpt test results (Chengzhong Wu) #50429 - [
deb0351d95
] - test: replace forEach() with for...of (Ram) #49794 - [
f885dfe5e3
] - test: replace forEach() with for...of in test-trace-events-http (Chand) #49795 - [
9dc63c56db
] - test: replace forEach with for...of in test-fs-realpath-buffer-encoding (Niya Shiyas) #49804 - [
600d1260da
] - test: fix timeout of test-cpu-prof-dir-worker.js in LoongArch devices (Shi Pujin) #50363 - [
099f5cfa0a
] - test: fix vm assertion actual and expected order (Chengzhong Wu) #50371 - [
a31f9bfe01
] - test: v8: Add test-linux-perf-logger test suite (Luke Albao) #50352 - [
6c59114947
] - test: ensure never settling promises are detected (Antoine du Hamel) #50318 - [
9830ae4bf7
] - test_runner: add tests for various mock timer issues (Mika Fischer) #50384 - [
2c72ed85fb
] - test_runner: pass abortSignal to test files (Moshe Atlow) #50630 - [
c33a84af11
] - test_runner: replace forEach with for of (Tom Haddad) #50595 - [
29c68a22bb
] - test_runner: output errors of suites (Moshe Atlow) #50361 - [
e64378643d
] - (SEMVER-MINOR) test_runner: adds built in lcov reporter (Phil Nash) #50018 - [
4aaaff413b
] - test_runner: test return value of mocked promisified timers (Mika Fischer) #50331 - [
4a830c2d9d
] - (SEMVER-MINOR) test_runner: add Date to the supported mock APIs (Lucas Santos) #48638 - [
842dc01def
] - (SEMVER-MINOR) test_runner, cli: add --test-timeout flag (Shubham Pandey) #50443 - [
613a9072b7
] - tls: fix order of setting cipher before setting cert and key (Kumar Rishav) #50186 - [
d905c61e16
] - tls: usevalidateFunction
foroptions.SNICallback
(Deokjin Kim) #50530 - [
c8d6dd58e7
] - tools: add macOS notarization verification step (Ulises Gascón) #50833 - [
c9bd0b0c0f
] - tools: use macOS keychain to notarize the releases (Ulises Gascón) #50715 - [
932a5d7b2c
] - tools: update eslint to 8.54.0 (Node.js GitHub Bot) #50809 - [
d7114d97be
] - tools: update lint-md-dependencies to rollup@4.5.0 (Node.js GitHub Bot) #50807 - [
93085cf844
] - tools: add workflow to update release links (Michaël Zasso) #50710 - [
66764c5d04
] - tools: recognize GN files in dep_updaters (Cheng Zhao) #50693 - [
2a451e176a
] - tools: remove unused file (Ulises Gascon) #50622 - [
8ce6403230
] - tools: change minimatch install strategy (Marco Ippolito) #50476 - [
97778e2e77
] - tools: update lint-md-dependencies to rollup@4.3.1 (Node.js GitHub Bot) #50675 - [
797f6a9ba8
] - tools: add macOS notarization stapler (Ulises Gascón) #50625 - [
8fa1319352
] - tools: update eslint to 8.53.0 (Node.js GitHub Bot) #50559 - [
592f57970f
] - tools: update lint-md-dependencies to rollup@4.3.0 (Node.js GitHub Bot) #50556 - [
2fd78fc39e
] - tools: compare ICU checksums before file changes (Michaël Zasso) #50522 - [
631d710fc4
] - tools: improve update acorn-walk script (Marco Ippolito) #50473 - [
33fd2af2ab
] - tools: update lint-md-dependencies to rollup@4.2.0 (Node.js GitHub Bot) #50496 - [
22b7a74838
] - tools: update gyp-next to v0.16.1 (Michaël Zasso) #50380 - [
f5ccab5005
] - tools: skip ruff on tools/gyp (Michaël Zasso) #50380 - [
408fd90508
] - tools: update lint-md-dependencies to rollup@4.1.5 unified@11.0.4 (Node.js GitHub Bot) #50461 - [
685f936ccd
] - tools: avoid npm install in deps installation (Marco Ippolito) #50413 - [
7d43c5a094
] - Revert "tools: update doc dependencies" (Richard Lau) #50414 - [
8fd67c2e3e
] - tools: update doc dependencies (Node.js GitHub Bot) #49988 - [
586becb507
] - tools: run coverage CI only on relevant files (Antoine du Hamel) #50349 - [
2d06eea6c5
] - tools: update eslint to 8.52.0 (Node.js GitHub Bot) #50326 - [
6a897baf16
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #50190 - [
e6e7f39b9e
] - util: improve performance of normalizeEncoding (kylo5aby) #50721 - [
3b6b1afa47
] - v8,tools: expose necessary V8 defines (Cheng Zhao) #50820 - [
2664012617
] - vm: allow dynamic import with a referrer realm (Chengzhong Wu) #50360 - [
c6c0a74b54
] - wasi: document security sandboxing status (Guy Bedford) #50396 - [
989814093e
] - win,tools: upgrade Windows signing to smctl (Stefan Stojanovic) #50956
v20.10.0
: 2023-11-22, Version 20.10.0 'Iron' (LTS), @targos
Notable Changes
--experimental-default-type
flag to flip module defaults
The new flag --experimental-default-type
can be used to flip the default
module system used by Node.js. Input that is already explicitly defined as ES
modules or CommonJS, such as by a package.json
"type"
field or .mjs
/.cjs
file extension or the --input-type
flag, is unaffected. What is currently
implicitly CommonJS would instead be interpreted as ES modules under
--experimental-default-type=module
:
-
String input provided via
--eval
or STDIN, if--input-type
is unspecified. -
Files ending in
.js
or with no extension, if there is nopackage.json
file present in the same folder or any parent folder. -
Files ending in
.js
or with no extension, if the nearest parentpackage.json
field lacks atype
field; unless the folder is inside anode_modules
folder.
In addition, extensionless files are interpreted as Wasm if
--experimental-wasm-modules
is passed and the file contains the "magic bytes"
Wasm header.
Contributed by Geoffrey Booth in #49869.
Detect ESM syntax in ambiguous JavaScript
The new flag --experimental-detect-module
can be used to automatically run 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.
flush
option in file system functions
New When writing to files, it is possible that data is not immediately flushed to
permanent storage. This allows subsequent read operations to see stale data.
This MR adds a 'flush'
option to the fs.writeFile
family of functions which
forces the data to be flushed at the end of a successful write operation.
Contributed by Colin Ihrig in #50009 and #50095.
Experimental WebSocket client
Adds a --experimental-websocket
flag that adds a WebSocket
global, as standardized by WHATWG.
Contributed by Matthew Aitken in #49830.
vm: fix V8 compilation cache support for vm.Script
Previously repeated compilation of the same source code using vm.Script
stopped hitting the V8 compilation cache after v16.x when support for
importModuleDynamically
was added to vm.Script
, resulting in a performance
regression that blocked users (in particular Jest users) from upgrading from
v16.x.
The recent fixes allow the compilation cache to be hit again
for vm.Script
when --experimental-vm-modules
is not used even in the
presence of the importModuleDynamically
option, so that users affected by the
performance regression can now upgrade. Ongoing work is also being done to
enable compilation cache support for vm.CompileFunction
.
Contributed by Joyee Cheung in #49950 and #50137.
Other notable changes
- [
21453ae555
] - (SEMVER-MINOR) deps: update uvwasi to 0.0.19 (Node.js GitHub Bot) #49908 - [
ee65e44c31
] - esm: use import attributes instead of import assertions (Antoine du Hamel) #50140 - [
ffdc357167
] - (SEMVER-MINOR) stream: allow passing stream class tostream.compose
(Alex Yang) #50187 - [
4861ad6431
] - stream: improve performance of readable stream reads (Raz Luvaton) #50173 - [
4b27087b30
] - stream: optimize Writable (Robert Nagy) #50012 - [
709c6c0cab
] - (SEMVER-MINOR) test_runner, cli: add --test-concurrency flag (Colin Ihrig) #49996 - [
57efd5292c
] - (SEMVER-MINOR) vm: use import attributes instead of import assertions (Antoine du Hamel) #50141
Commits
- [
73757a5f42
] - benchmark: fix race condition on fs benchs (Vinicius Lourenço) #50035 - [
23269717bb
] - benchmark: add warmup to accessSync bench (Rafael Gonzaga) #50073 - [
88611d199a
] - benchmark: improved config for blob,file benchmark (Vinícius Lourenço) #49730 - [
b70757476c
] - benchmark: added new benchmarks for blob (Vinícius Lourenço) #49730 - [
458d9a82e3
] - buffer: remove unnecessary assignment in fromString (Tobias Nießen) #50199 - [
878c0b332e
] - build: fix IBM i build with Python 3.9 (Richard Lau) #48056 - [
773320e1de
] - crypto: ensure valid point on elliptic curve in SubtleCrypto.importKey (Filip Skokan) #50234 - [
edb0ffd7d4
] - crypto: use X509_ALGOR accessors instead of reaching into X509_ALGOR (David Benjamin) #50057 - [
3f98c06dbb
] - crypto: account for disabled SharedArrayBuffer (Shelley Vohr) #50034 - [
55485ff1cc
] - crypto: return clear errors when loading invalid PFX data (Tim Perry) #49566 - [
68ec1e5eeb
] - deps: upgrade npm to 10.2.3 (npm team) #50531 - [
b00c11ad7c
] - deps: V8: cherry-pickd90d453
(Michaël Zasso) #50077 - [
e63aef91b4
] - deps: V8: cherry-pickf7d000a
(Luke Albao) #50077 - [
4b243b553a
] - deps: V8: cherry-pick9721082
(Shi Pujin) #50077 - [
9d3cdcbebf
] - deps: V8: cherry-pick840650f
(Michaël Zasso) #50077 - [
0c40b513fd
] - deps: V8: cherry-picka1efa53
(Michaël Zasso) #50077 - [
68cddd79f7
] - deps: update archs files for openssl-3.0.12+quic1 (Node.js GitHub Bot) #50411 - [
3308189180
] - deps: upgrade openssl sources to quictls/openssl-3.0.12+quic1 (Node.js GitHub Bot) #50411 - [
b61707e535
] - deps: update ada to 2.7.2 (Node.js GitHub Bot) #50338 - [
1aecf0c17b
] - deps: update corepack to 0.22.0 (Node.js GitHub Bot) #50325 - [
f5924f174c
] - deps: update c-ares to 1.20.1 (Node.js GitHub Bot) #50082 - [
b705e19a95
] - deps: update c-ares to 1.20.0 (Node.js GitHub Bot) #50082 - [
f72cbb7e02
] - deps: V8: cherry-pick2590224
(Joyee Cheung) #50156 - [
6547bd2493
] - deps: V8: cherry-pickea996ad
(Antoine du Hamel) #50183 - [
16fd730e95
] - deps: V8: cherry-picka0fd320
(Antoine du Hamel) #50183 - [
614c3620c3
] - deps: update corepack to 0.21.0 (Node.js GitHub Bot) #50088 - [
545aa74ae2
] - deps: update simdutf to 3.2.18 (Node.js GitHub Bot) #50091 - [
9302806c0a
] - deps: update zlib to 1.2.13.1-motley-fef5869 (Node.js GitHub Bot) #50085 - [
03bf5c5d9a
] - deps: update googletest to2dd1c13
(Node.js GitHub Bot) #50081 - [
cd8e90690b
] - deps: update googletest toe47544a
(Node.js GitHub Bot) #49982 - [
40672cfe53
] - deps: update ada to 2.6.10 (Node.js GitHub Bot) #49984 - [
34c7eb0eb2
] - deps: fix call to undeclared functions 'ntohl' and 'htons' (MatteoBax) #49979 - [
03654b44b6
] - deps: update ada to 2.6.9 (Node.js GitHub Bot) #49340 - [
4c740b1dd8
] - deps: update ada to 2.6.8 (Node.js GitHub Bot) #49340 - [
759cf5a760
] - deps: update ada to 2.6.7 (Node.js GitHub Bot) #49340 - [
31a4e9781a
] - deps: update ada to 2.6.5 (Node.js GitHub Bot) #49340 - [
2ca867f2ab
] - deps: update ada to 2.6.3 (Node.js GitHub Bot) #49340 - [
21453ae555
] - (SEMVER-MINOR) deps: update uvwasi to 0.0.19 (Node.js GitHub Bot) #49908 - [
7ca1228be8
] - deps: V8: cherry-pick8ec2651
(Abdirahim Musse) #49862 - [
3cc41d253c
] - deps: upgrade npm to 10.2.0 (npm team) #50027 - [
61b4afb7dd
] - deps: update undici to 5.26.4 (Node.js GitHub Bot) #50274 - [
ea28738336
] - doc: add loong64 info into platform list (Shi Pujin) #50086 - [
00c12b7a20
] - doc: update release process LTS step (Richard Lau) #50299 - [
a9ba29ba10
] - doc: fix release process table of contents (Richard Lau) #50216 - [
4b5033519e
] - doc: update apistream.compose
(Alex Yang) #50206 - [
d4659e2080
] - doc: add ReflectConstruct to known perf issues (Vinicius Lourenço) #50111 - [
ffa94612fd
] - doc: fix typo in dgram docs (Peter Johnson) #50211 - [
f37b577b14
] - doc: fix H4ad collaborator sort (Vinicius Lourenço) #50218 - [
c75264b1f9
] - doc: add H4ad to collaborators (Vinícius Lourenço) #50217 - [
5025e24ac7
] - doc: update release-stewards with last sec-release (Rafael Gonzaga) #50179 - [
63379313d5
] - doc: add command to keep major branch sync (Rafael Gonzaga) #50102 - [
85de4b8254
] - doc: add loong64 to list of architectures (Shi Pujin) #50172 - [
ff8e1b860e
] - doc: update security release process (Michael Dawson) #50166 - [
33470d965c
] - doc: improve ccache explanation (Chengzhong Wu) #50133 - [
7b97c44e2a
] - doc: move danielleadams to TSC non-voting member (Danielle Adams) #50142 - [
3d03ca9f31
] - doc: fix description offs.readdir
recursive
option (RamdohokarAngha) #48902 - [
aab045ec4b
] - doc: mention files read before env setup (Rafael Gonzaga) #50072 - [
26a7608a24
] - doc: move permission model to Active Development (Rafael Gonzaga) #50068 - [
d7bbf7f2c4
] - doc: add command to get patch minors and majors (Rafael Gonzaga) #50067 - [
9830165e34
] - doc: use precise promise terminology in fs (Benjamin Gruenbaum) #50029 - [
585cbb211d
] - doc: use precise terminology in test runner (Benjamin Gruenbaum) #50028 - [
2862f07124
] - doc: clarify explaination text on how to run the example (Anshul Sinha) #39020 - [
fe47c8ad91
] - doc: reserve 119 for Electron 28 (David Sanders) #50020 - [
36ecd2c588
] - doc: update Collaborator pronouns (Tierney Cyren) #50005 - [
315d82a73e
] - doc: update link to Abstract Modules Records spec (Rich Trott) #49961 - [
f63a92bb6c
] - doc: updated building docs for windows (Claudio W) #49767 - [
ad17126501
] - doc: update CHANGELOG_V20 about vm fixes (Joyee Cheung) #49951 - [
24458e2ac3
] - doc: document dangerous symlink behavior (Tobias Nießen) #49154 - [
337a676d1f
] - doc: add main ARIA landmark to API docs (Rich Trott) #49882 - [
959ef7ac6b
] - doc: add navigation ARIA landmark to doc ToC (Rich Trott) #49882 - [
a60fbf2ab3
] - doc: mark Node.js 19 as End-of-Life (Richard Lau) #48283 - [
c255575699
] - errors: improve performance of determine-specific-type (Aras Abbasi) #49696 - [
e66991e6b2
] - errors: improve formatList in errors.js (Aras Abbasi) #49642 - [
c71e548b65
] - errors: improve performance of instantiation (Aras Abbasi) #49654 - [
3b867e4256
] - esm: do not give wrong hints when detecting file format (Antoine du Hamel) #50314 - [
a589a1a905
] - (SEMVER-MINOR) esm: detect ESM syntax in ambiguous JavaScript (Geoffrey Booth) #50096 - [
c64490e9aa
] - esm: improve check for ESM syntax (Geoffrey Booth) #50127 - [
ee65e44c31
] - esm: use import attributes instead of import assertions (Antoine du Hamel) #50140 - [
4de838fdeb
] - esm: bypass CommonJS loader under --default-type (Geoffrey Booth) #49986 - [
27e02b633d
] - esm: unflag extensionless javascript and wasm in module scope (Geoffrey Booth) #49974 - [
1e762ddf63
] - esm: improvegetFormatOfExtensionlessFile
speed (Yagiz Nizipli) #49965 - [
112cc7f9f2
] - esm: improve JSDoc annotation of internal functions (Antoine du Hamel) #49959 - [
c48cd84188
] - esm: fix cache collision on JSON files using file: URL (Antoine du Hamel) #49887 - [
dc80ccef25
] - esm: --experimental-default-type flag to flip module defaults (Geoffrey Booth) #49869 - [
01039795a2
] - esm: require braces for modules code (Geoffrey Booth) #49657 - [
e49ebf8f9a
] - fs: improve error performance forreadSync
(Jungku Lee) #50033 - [
eb33f70260
] - fs: improve error performance forfsyncSync
(Jungku Lee) #49880 - [
8d0edc6399
] - fs: improve error performance formkdirSync
(CanadaHonk) #49847 - [
36df27509e
] - fs: improve error performance ofrealpathSync
(Yagiz Nizipli) #49962 - [
4242cb7d7f
] - fs: improve error performance oflchownSync
(Yagiz Nizipli) #49962 - [
89e7878e44
] - fs: improve error performance ofsymlinkSync
(Yagiz Nizipli) #49962 - [
af6a0611fe
] - fs: improve error performance ofreadlinkSync
(Yagiz Nizipli) #49962 - [
12cda31c52
] - fs: improve error performance ofmkdtempSync
(Yagiz Nizipli) #49962 - [
9dba771acb
] - fs: improve error performance oflinkSync
(Yagiz Nizipli) #49962 - [
ea7902de13
] - fs: improve error performance ofchownSync
(Yagiz Nizipli) #49962 - [
39f31a38cf
] - fs: improve error performance ofrenameSync
(Yagiz Nizipli) #49962 - [
35164fa466
] - (SEMVER-MINOR) fs: add flush option to appendFile() functions (Colin Ihrig) #50095 - [
06aa4b9fe9
] - fs: improve error performance ofreaddirSync
(Yagiz Nizipli) #50131 - [
b5aecebcd6
] - fs: fixunlinkSync
typings (Yagiz Nizipli) #49859 - [
6ddea07225
] - fs: improve error perf of syncchmod
+fchmod
(CanadaHonk) #49859 - [
841367078e
] - fs: improve error perf of sync*times
(CanadaHonk) #49864 - [
eb52f73e3e
] - fs: improve error performance of writevSync (IlyasShabi) #50038 - [
d1aa62f1f5
] - fs: add flush option to createWriteStream() (Colin Ihrig) #50093 - [
57eb06edff
] - fs: improve error performance forftruncateSync
(André Alves) #50032 - [
22e3eb659a
] - fs: add flush option to writeFile() functions (Colin Ihrig) #50009 - [
d7132d9214
] - fs: improve error performance forfdatasyncSync
(Jungku Lee) #49898 - [
bc2c0410d3
] - fs: throw errors from sync branches instead of separate implementations (Joyee Cheung) #49913 - [
f46bcf1749
] - http: refactor to make servername option normalization testable (Rongjian Zhang) #38733 - [
1bfcf817af
] - http2: allow streams to complete gracefully after goaway (Michael Lumish) #50202 - [
5c66ec9e66
] - inspector: simplify dispatchProtocolMessage (Daniel Lemire) #49780 - [
251ae1dd72
] - lib: improve performance of validateStringArray and validateBooleanArray (Aras Abbasi) #49756 - [
d9c791a508
] - lib: fix compileFunction throws range error for negative numbers (Jithil P Ponnan) #49855 - [
24cbc550c2
] - lib: reduce overhead of validateObject (Vinicius Lourenço) #49928 - [
b80e9497f3
] - lib: make fetch sync and return a Promise (Matthew Aitken) #49936 - [
d9eda6761b
] - lib: fixprimordials
typings (Sam Verschueren) #49895 - [
3e0d47c1f4
] - lib: update params in jsdoc forHTTPRequestOptions
(Jungku Lee) #49872 - [
a01050dec4
] - (SEMVER-MINOR) lib: add WebSocket client (Matthew Aitken) #49830 - [
5bca8feed2
] - lib,test: do not hardcode Buffer.kMaxLength (Michaël Zasso) #49876 - [
e8ebed7a24
] - meta: move Trott to TSC regular member (Rich Trott) #50297 - [
27e957cea8
] - meta: ping TSC for offboarding (Tobias Nießen) #50147 - [
fab39062d5
] - meta: bump actions/upload-artifact from 3.1.2 to 3.1.3 (dependabot[bot]) #50000 - [
46ec82496c
] - meta: bump actions/cache from 3.3.1 to 3.3.2 (dependabot[bot]) #50003 - [
a634fb431e
] - meta: bump github/codeql-action from 2.21.5 to 2.21.9 (dependabot[bot]) #50002 - [
c221f72911
] - meta: bump actions/checkout from 3.6.0 to 4.1.0 (dependabot[bot]) #50001 - [
d356e5e395
] - meta: update website team with new name (Rich Trott) #49883 - [
2ff4e71452
] - module: move helpers out of cjs loader (Geoffrey Booth) #49912 - [
142ac3f82d
] - module, esm: jsdoc for modules files (Geoffrey Booth) #49523 - [
e2f0ef2a60
] - node-api: update headers for better wasm support (Toyo Li) #49037 - [
db2a07fcd6
] - node-api: run finalizers directly from GC (Vladimir Morozov) #42651 - [
c25716be8b
] - os: cache homedir, remove getCheckedFunction (Aras Abbasi) #50037 - [
e8f024b4db
] - perf_hooks: reduce overhead of new user timings (Vinicius Lourenço) #49914 - [
a517be0a5a
] - perf_hooks: reducing overhead of performance observer entry list (Vinicius Lourenço) #50008 - [
42e49ec381
] - perf_hooks: reduce overhead of new resource timings (Vinicius Lourenço) #49837 - [
c99e51ed1b
] - src: generate default snapshot with --predictable (Joyee Cheung) #48749 - [
47164e238f
] - src: fix TLSWrap lifetime bug in ALPN callback (Ben Noordhuis) #49635 - [
e1df69e73e
] - src: set port in node_options to uint16_t (Yagiz Nizipli) #49151 - [
1eb2af29b4
] - src: name scoped lock (Mohammed Keyvanzadeh) #50010 - [
5131fde655
] - src: use exact return value foruv_os_getenv
(Yagiz Nizipli) #49149 - [
ba169be5ca
] - src: move const variable innode_file.h
tonode_file.cc
(Jungku Lee) #49688 - [
5a2351d3ab
] - src: remove unused variable (Michaël Zasso) #49665 - [
f2f993a32f
] - stream: simplify prefinish (Robert Nagy) #50204 - [
6d7274e3ca
] - stream: reduce scope of readable bitmap details (Robert Nagy) #49963 - [
ffdc357167
] - (SEMVER-MINOR) stream: allow pass stream class tostream.compose
(Alex Yang) #50187 - [
4861ad6431
] - stream: call helper function from push and unshift (Raz Luvaton) #50173 - [
e60b3ab31b
] - stream: use private symbol for bitmap state (Robert Nagy) #49993 - [
ecbfb23f6b
] - stream: lazy allocate back pressure buffer (Robert Nagy) #50013 - [
88c739bef4
] - stream: avoid unnecessary drain for sync stream (Robert Nagy) #50014 - [
4b27087b30
] - stream: optimize Writable (Robert Nagy) #50012 - [
def55f80a1
] - stream: avoid tick in writable hot path (Robert Nagy) #49966 - [
35ec93115d
] - stream: writable state bitmap (Robert Nagy) #49899 - [
6e0f0fafe4
] - test: use ppc and ppc64 to skip SEA tests on PowerPC (Joyee Cheung) #50828 - [
a528bbceca
] - test: mark SEA tests as flaky on PowerPC (Joyee Cheung) #50750 - [
4e34f9a26e
] - test: relax version check with shared OpenSSL (Luigi Pinca) #50505 - [
41ca1132eb
] - test: fix crypto-dh error message for OpenSSL 3.x (Kerem Kat) #50395 - [
a6a05e8a88
] - test: fix testsuite against zlib version 1.3 (Dominique Leuenberger) #50364 - [
8dd895e574
] - test: replace forEach with for..of in test-process-env (Niya Shiyas) #49825 - [
81886c66d1
] - test: replace forEach with for..of in test-http-url (Niya Shiyas) #49840 - [
7d8a18b257
] - test: improve watch mode test (Moshe Atlow) #50319 - [
baa04b79ca
] - test: settest-watch-mode-inspect
as flaky (Yagiz Nizipli) #50259 - [
3d9130bc2e
] - Revert "test: settest-esm-loader-resolve-type
as flaky" (Antoine du Hamel) #50315 - [
72626f9a35
] - test: replace forEach with for..of in test-http-perf_hooks.js (Niya Shiyas) #49818 - [
379a7255e8
] - test: replace forEach with for..of in test-net-isipv4.js (Niya Shiyas) #49822 - [
b55fcd75da
] - test: deflaketest-esm-loader-resolve-type
(Antoine du Hamel) #50273 - [
0134af3eeb
] - test: replace forEach with for..of in test-http2-server (Niya Shiyas) #49819 - [
8c15281d06
] - test: replace forEach with for..of in test-http2-client-destroy.js (Niya Shiyas) #49820 - [
c37a75a898
] - test: updateurl
web platform tests (Yagiz Nizipli) #50264 - [
ab5985d0e9
] - test: settest-emit-after-on-destroyed
as flaky (Yagiz Nizipli) #50246 - [
50181a19b8
] - test: set inspector async stack test as flaky (Yagiz Nizipli) #50244 - [
b9e0fed995
] - test: set test-worker-nearheaplimit-deadlock flaky (StefanStojanovic) #50277 - [
2cfc4007d1
] - test: settest-cli-node-options
as flaky (Yagiz Nizipli) #50296 - [
788714b28f
] - test: reduce the number of requests and parsers (Luigi Pinca) #50240 - [
0dce19c8f6
] - test: set crypto-timing test as flaky (Yagiz Nizipli) #50232 - [
5d4b5ff1b8
] - test: settest-structuredclone-*
as flaky (Yagiz Nizipli) #50261 - [
5c56081d67
] - test: deflaketest-loaders-workers-spawned
(Antoine du Hamel) #50251 - [
3441e1982d
] - test: improve code coverage of diagnostics_channel (Jithil P Ponnan) #50053 - [
696ba93329
] - test: settest-esm-loader-resolve-type
as flaky (Yagiz Nizipli) #50226 - [
8b260c5d6b
] - test: set inspector async hook test as flaky (Yagiz Nizipli) #50252 - [
f3296d25e8
] - test: skip test-benchmark-os.js on IBM i (Abdirahim Musse) #50208 - [
fefe17b02e
] - test: set parallel http server test as flaky (Yagiz Nizipli) #50227 - [
228c87f329
] - test: set test-worker-nearheaplimit-deadlock flaky (Stefan Stojanovic) #50238 - [
c2c2506eab
] - test: settest-runner-watch-mode
as flaky (Yagiz Nizipli) #50221 - [
16a07983d4
] - test: set sea snapshot tests as flaky (Yagiz Nizipli) #50223 - [
7cd406a0b8
] - test: fix defect path traversal tests (Tobias Nießen) #50124 - [
1cf3f8da32
] - test: replace forEach with for..of in test-net-isipv6.js (Niya Shiyas) #49823 - [
214997a99e
] - test: reduce number of repetition in test-heapdump-shadowrealm.js (Chengzhong Wu) #50104 - [
9d836516e6
] - test: replace forEach with for..of in test-parse-args.mjs (Niya Shiyas) #49824 - [
fee8b24603
] - test: replace forEach() in test-net-perf_hooks with for of (Narcisa Codreanu) #49831 - [
4c58b92ba8
] - test: change forEach to for...of (Tiffany Lastimosa) #49799 - [
01b01527d7
] - test: update skip for movedtest-wasm-web-api
(Richard Lau) #49958 - [
179e293103
] - Revert "test: mark test-runner-output as flaky" (Luigi Pinca) #49905 - [
829eb99afd
] - test: disambiguate AIX and IBM i (Richard Lau) #48056 - [
126407d438
] - test: deflake test-perf-hooks.js (Joyee Cheung) #49892 - [
393fd5b7c9
] - test: migrate message error tests from Python to JS (Yiyun Lei) #49721 - [
5dfe4236f8
] - test: fix edge snapshot stack traces (Geoffrey Booth) #49659 - [
d164e537bf
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #50039 - [
55a03fedae
] - test_runner: add test location for FileTests (Colin Ihrig) #49999 - [
10b35cfb6e
] - test_runner: replace spurious if with else (Colin Ihrig) #49943 - [
27558c4314
] - test_runner: catch reporter errors (Moshe Atlow) #49646 - [
709c6c0cab
] - (SEMVER-MINOR) test_runner, cli: add --test-concurrency flag (Colin Ihrig) #49996 - [
64ef108dd9
] - test_runner,test: fix flaky test-runner-cli-concurrency.js (Colin Ihrig) #50108 - [
d2def152d9
] - tls: reduce TLS 'close' event listener warnings (Tim Perry) #50136 - [
294b650f5c
] - tls: handle cases where the raw socket is destroyed (Luigi Pinca) #49980 - [
52b5693949
] - tls: ciphers allow bang syntax (Chemi Atlow) #49712 - [
05ee35028b
] - tools: update comment inupdate-uncidi.sh
andacorn_version.h
(Jungku Lee) #50175 - [
35b160e6a3
] - tools: refactor checkimports.py (Mohammed Keyvanzadeh) #50011 - [
b959d36b77
] - tools: fix comments referencing dep_updaters scripts (Keksonoid) #50165 - [
bd5d5331b0
] - tools: remove no-return-await lint rule (翠 / green) #50118 - [
b9adf3d66e
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #50083 - [
4978bdc4ec
] - tools: update eslint to 8.51.0 (Node.js GitHub Bot) #50084 - [
e323a367fd
] - tools: remove genv8constants.py (Ben Noordhuis) #50023 - [
1cc6cbff26
] - tools: update eslint to 8.50.0 (Node.js GitHub Bot) #49989 - [
924231be2a
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #49983 - [
732b5661ea
] - tools: add navigation ARIA landmark to generated API ToC (Rich Trott) #49882 - [
353a14278e
] - tools: update github_reporter to 1.5.3 (Node.js GitHub Bot) #49877 - [
0aaab45d7c
] - tools: improve macOS notarization process output readability (Ulises Gascón) #50389 - [
ad326033e2
] - tools: remove unusedversion
function (Ulises Gascón) #50390 - [
2f32472544
] - tools: drop support for osx notarization with gon (Ulises Gascón) #50291 - [
3b1c15aeb0
] - tools: use osx notarytool for future releases (Ulises Gascon) #48701 - [
0ddb87ede3
] - typings: useSymbol.dispose
andSymbol.asyncDispose
in types (Niklas Mollenhauer) #50123 - [
bf5b2115a0
] - util: remove internal mime fns from benchmarks (Aras Abbasi) #50201 - [
ac02cdb0ad
] - util: lazy parse mime parameters (Aras Abbasi) #49889 - [
9853fd96df
] - vm: reject in importModuleDynamically without --experimental-vm-modules (Joyee Cheung) #50137 - [
3697c19c80
] - vm: use internal versions of compileFunction and Script (Joyee Cheung) #50137 - [
56bbc30a44
] - vm: unify host-defined option generation in vm.compileFunction (Joyee Cheung) #50137 - [
57efd5292c
] - (SEMVER-MINOR) vm: use import attributes instead of import assertions (Antoine du Hamel) #50141 - [
17581c2716
] - vm: use default HDO when importModuleDynamically is not set (Joyee Cheung) #49950 - [
65e18aa8e7
] - wasi: address coverity warning (Michael Dawson) #49866 - [
5b695d6a8d
] - wasi: fix up wasi tests for ibmi (Michael Dawson) #49953 - [
b86e1f5cbd
] - (SEMVER-MINOR) wasi: updates required for latest uvwasi version (Michael Dawson) #49908 - [
b4d149b4d6
] - worker: handle detachedMessagePort
from a different context (Juan José) #49150 - [
f564ed4e05
] - zlib: fix discovery of cpu-features.h for android (MatteoBax) #49828
v20.9.0
: 2023-10-24, Version 20.9.0 'Iron' (LTS), @richardlau
Notable Changes
This release marks the transition of Node.js 20.x into Long Term Support (LTS) with the codename 'Iron'. The 20.x release line now moves into "Active LTS" and will remain so until October 2024. After that time, it will move into "Maintenance" until end of life in April 2026.
Known issue
Collecting code coverage via the NODE_V8_COVERAGE
environment variable may
lead to a hang. This is not thought to be a regression in Node.js 20 (some
reports are on Node.js 18). For more information, including some potential
workarounds, see issue #49344.
v20.8.1
: 2023-10-13, Version 20.8.1 (Current), @RafaelGSS
This is a security release.
Notable Changes
The following CVEs are fixed in this release:
-
CVE-2023-44487:
nghttp2
Security Release (High) -
CVE-2023-45143:
undici
Security Release (High) - CVE-2023-39332: Path traversal through path stored in Uint8Array (High)
- CVE-2023-39331: Permission model improperly protects against path traversal (High)
- CVE-2023-38552: Integrity checks according to policies can be circumvented (Medium)
- CVE-2023-39333: Code injection via WebAssembly export names (Low)
More detailed information on each of the vulnerabilities can be found in October 2023 Security Releases blog post.
Commits
- [
c86883e844
] - deps: update nghttp2 to 1.57.0 (James M Snell) #50121 - [
2860631359
] - deps: update undici to v5.26.3 (Matteo Collina) #50153 - [
cd37838bf8
] - lib: let deps requirenode
prefixed modules (Matthew Aitken) #50047 - [
f5c90b2951
] - module: fix code injection through export names (Tobias Nießen) nodejs-private/node-private#461 - [
fa5dae1944
] - permission: fix Uint8Array path traversal (Tobias Nießen) nodejs-private/node-private#456 - [
cd35275111
] - permission: improve path traversal protection (Tobias Nießen) nodejs-private/node-private#456 - [
a4cb7fc7c0
] - policy: use tamper-proof integrity check function (Tobias Nießen) nodejs-private/node-private#462
v20.8.0
: 2023-09-28, Version 20.8.0 (Current), @ruyadorno
Notable Changes
Stream performance improvements
Performance improvements to writable and readable streams, improving the creation and destruction by ±15% and reducing the memory overhead each stream takes in Node.js
Contributed by Benjamin Gruenbaum in #49745 and Raz Luvaton in #49834.
Performance improvements for readable webstream, improving readable stream async iterator consumption by ±140% and improving readable stream pipeTo
consumption by ±60%
Contributed by Raz Luvaton in #49662 and #49690.
vm
APIs with the importModuleDynamically
option
Rework of memory management in This rework addressed a series of long-standing memory leaks and use-after-free issues in the following APIs that support importModuleDynamically
:
vm.Script
vm.compileFunction
vm.SyntheticModule
vm.SourceTextModule
This should enable affected users (in particular Jest users) to upgrade from older versions of Node.js.
Contributed by Joyee Cheung in #48510.
Other notable changes
- [
32d4d29d02
] - deps: add v8::Object::SetInternalFieldForNodeCore() (Joyee Cheung) #49874 - [
0e686d096b
] - doc: deprecatefs.F_OK
,fs.R_OK
,fs.W_OK
,fs.X_OK
(Livia Medeiros) #49683 - [
a5dd057540
] - doc: deprecateutil.toUSVString
(Yagiz Nizipli) #49725 - [
7b6a73172f
] - doc: deprecate callingpromisify
on a function that returns a promise (Antoine du Hamel) #49647 - [
1beefd5f16
] - esm: set all hooks as release candidate (Geoffrey Booth) #49597 - [
b0ce78a75b
] - module: fix the leak in SourceTextModule and ContextifySript (Joyee Cheung) #48510 - [
4e578f8ab1
] - module: fix leak of vm.SyntheticModule (Joyee Cheung) #48510 - [
69e4218772
] - module: use symbol in WeakMap to manage host defined options (Joyee Cheung) #48510 - [
14ece0aa76
] - (SEMVER-MINOR) src: allow embedders to override NODE_MODULE_VERSION (Cheng Zhao) #49279 - [
9fd67fbff0
] - stream: use bitmap in writable state (Raz Luvaton) #49834 - [
0ccd4638ac
] - stream: use bitmap in readable state (Benjamin Gruenbaum) #49745 - [
7c5e322346
] - stream: improve webstream readable async iterator performance (Raz Luvaton) #49662 - [
80b342cc38
] - (SEMVER-MINOR) test_runner: accepttestOnly
inrun
(Moshe Atlow) #49753 - [
17a05b141d
] - (SEMVER-MINOR) test_runner: add junit reporter (Moshe Atlow) #49614
Commits
- [
4879e3fbbe
] - benchmark: add a benchmark for read() of ReadableStreams (Debadree Chatterjee) #49622 - [
78a6c73157
] - benchmark: shorten pipe-to by reducing number of chunks (Raz Luvaton) #49577 - [
4126a6e4c9
] - benchmark: fix webstream pipe-to (Raz Luvaton) #49552 - [
6010a91825
] - bootstrap: do not expand argv1 for snapshots (Joyee Cheung) #49506 - [
8480280c4b
] - bootstrap: only use the isolate snapshot when compiling code cache (Joyee Cheung) #49288 - [
b30754aa87
] - build: run embedtest using node executable (Joyee Cheung) #49506 - [
31db0b8e2b
] - build: add --write-snapshot-as-array-literals to configure.py (Joyee Cheung) #49312 - [
6fcb51d3ba
] - debugger: useinternal/url.URL
instead ofurl.parse
(LiviaMedeiros) #49590 - [
32d4d29d02
] - deps: add v8::Object::SetInternalFieldForNodeCore() (Joyee Cheung) #49874 - [
ad37cadc3f
] - deps: V8: backportde9a5de
(Joyee Cheung) #49703 - [
cdd1c66222
] - deps: V8: cherry-pickb33bf2d
(Joyee Cheung) #49703 - [
61d18d6473
] - deps: update undici to 5.24.0 (Node.js GitHub Bot) #49559 - [
b8a4fef393
] - deps: remove pthread-fixes.c from uv.gyp (Ben Noordhuis) #49744 - [
6c86c0683c
] - deps: update googletest tod1467f5
(Node.js GitHub Bot) #49676 - [
1424404742
] - deps: update nghttp2 to 1.56.0 (Node.js GitHub Bot) #49582 - [
15b54ff95d
] - deps: update googletest to8a6feab
(Node.js GitHub Bot) #49463 - [
2ceab877c2
] - deps: update corepack to 0.20.0 (Node.js GitHub Bot) #49464 - [
4814872ddc
] - doc: fixDEP0176
number (LiviaMedeiros) #49858 - [
0e686d096b
] - doc: deprecatefs.F_OK
,fs.R_OK
,fs.W_OK
,fs.X_OK
(Livia Medeiros) #49683 - [
5877c403a2
] - doc: add mertcanaltin as a triager (mert.altin) #49826 - [
864fe56432
] - doc: addgit node backport
way to the backporting guide (Raz Luvaton) #49760 - [
e0f93492d5
] - doc: improve documentation about ICU data fallback (Joyee Cheung) #49666 - [
a5dd057540
] - doc: deprecateutil.toUSVString
(Yagiz Nizipli) #49725 - [
774c1cfd52
] - doc: add missing function call to example forutil.promisify
(Jungku Lee) #49719 - [
fe78a34845
] - doc: update output of example inmimeParams.set()
(Deokjin Kim) #49718 - [
4175ea33bd
] - doc: add missedinspect
with numericSeparator to example (Deokjin Kim) #49717 - [
3a88571972
] - doc: fix history comments (Antoine du Hamel) #49701 - [
db4ab1ccbb
] - doc: add missing history info forimport.meta.resolve
(Antoine du Hamel) #49700 - [
a304d1ee19
] - doc: link maintaining deps to pull-request.md (Marco Ippolito) #49716 - [
35294486ad
] - doc: fix print results inevents
(Jungku Lee) #49548 - [
9f0b0e15c9
] - doc: alphabetize cli.md sections (Geoffrey Booth) #49668 - [
7b6a73172f
] - doc: deprecate callingpromisify
on a function that returns a promise (Antoine du Hamel) #49647 - [
d316b32fff
] - doc: updatecorepack.md
to account for 0.20.0 changes (Antoine du Hamel) #49486 - [
c2eac7dc7c
] - doc: remove@anonrig
from performance initiative (Yagiz Nizipli) #49641 - [
3d839fbf87
] - doc: mark Node.js 16 as End-of-Life (Richard Lau) #49651 - [
53fb5aead8
] - doc: save user preference for JS flavor (Vidar Eldøy) #49526 - [
e3594d5658
] - doc: update documentation for node:process warning (Shubham Pandey) #49517 - [
8e033c3963
] - doc: rename possibly confusing variable and CSS class (Antoine du Hamel) #49536 - [
d0e0eb4bb3
] - doc: update outdated history info (Antoine du Hamel) #49530 - [
b4724e2e3a
] - doc: close a parenthesis (Sébastien Règne) #49525 - [
0471c5798e
] - doc: cast GetInternalField() return type to v8::Value in addons.md (Joyee Cheung) #49439 - [
9f8bea3dda
] - doc: fix documentation for input option in child_process (Ariel Weiss) #49481 - [
f3fea92f8a
] - doc: fix missing imports intest.run
code examples (Oshri Asulin) #49489 - [
e426b77b67
] - doc: fix documentation for fs.createWriteStream highWaterMark option (Mert Can Altın) #49456 - [
2b119108ff
] - doc: updated releasers instructions for node.js website (Claudio W) #49427 - [
b9d4a80183
] - doc: editimport.meta.resolve
documentation (Antoine du Hamel) #49247 - [
f67433f666
] - doc,tools: switch to@node-core/utils
(Michaël Zasso) #49851 - [
142e256fc5
] - errors: improve classRegExp in errors.js (Uzlopak) #49643 - [
6377f1bce2
] - errors: usedetermineSpecificType
in more error messages (Antoine du Hamel) #49580 - [
05f0fcb4c4
] - esm: identify parent importing a url with invalid host (Jacob Smith) #49736 - [
8a6f5fb8f3
] - esm: fix return type ofimport.meta.resolve
(Antoine du Hamel) #49698 - [
a6140f1b8c
] - esm: update loaders warning (Geoffrey Booth) #49633 - [
521a9327e0
] - esm: fix support forURL
instances inregister
(Antoine du Hamel) #49655 - [
3a9ea0925a
] - esm: clarify ERR_REQUIRE_ESM errors (Daniel Compton) #49521 - [
1beefd5f16
] - esm: set all hooks as release candidate (Geoffrey Booth) #49597 - [
be48267888
] - esm: remove return value forModule.register
(Antoine du Hamel) #49529 - [
e74a075124
] - esm: refactor test-esm-loader-resolve-type (Geoffrey Booth) #49493 - [
17823b3533
] - esm: refactor test-esm-named-exports (Geoffrey Booth) #49493 - [
f34bd15ac1
] - esm: refactor mocking test (Geoffrey Booth) #49465 - [
ec323bbd99
] - fs: replaceSetMethodNoSideEffect
in node_file (CanadaHonk) #49857 - [
6acf800123
] - fs: improve error performance forunlinkSync
(CanadaHonk) #49856 - [
31702c9403
] - fs: improvereadFileSync
with file descriptors (Yagiz Nizipli) #49691 - [
835f9fe7b9
] - fs: fix file descriptor validator (Yagiz Nizipli) #49752 - [
b618fe262f
] - fs: improve error performance ofopendirSync
(Yagiz Nizipli) #49705 - [
938471ef55
] - fs: improve error performance of sync methods (Yagiz Nizipli) #49593 - [
db3fc6d087
] - fs: fix readdir and opendir recursive with unknown file types (William Marlow) #49603 - [
0f020ed22d
] - gyp: put cctest filenames in variables (Cheng Zhao) #49178 - [
0ce1e94d12
] - lib: update encoding sets inWHATWG API
(Jungku Lee) #49610 - [
efd6815a7a
] - lib: fixinternalBinding
typings (Yagiz Nizipli) #49742 - [
1287d5b74e
] - lib: allow byob reader for 'blob.stream()' (Debadree Chatterjee) #49713 - [
bbc710522d
] - lib: reset the cwd cache before execution (Maël Nison) #49684 - [
f62d649e4d
] - lib: use internalfileURLToPath
(Deokjin Kim) #49558 - [
e515046941
] - lib: use internalpathToFileURL
(Livia Medeiros) #49553 - [
00608e8070
] - lib: check SharedArrayBuffer availability in freeze_intrinsics.js (Milan Burda) #49482 - [
8bfbe7079c
] - meta: fix linter error (Antoine du Hamel) #49755 - [
58f7a9e096
] - meta: add primordials strategic initiative (Benjamin Gruenbaum) #49706 - [
5366027756
] - meta: bump github/codeql-action from 2.21.2 to 2.21.5 (dependabot[bot]) #49438 - [
fe26b74082
] - meta: bump rtCamp/action-slack-notify from 2.2.0 to 2.2.1 (dependabot[bot]) #49437 - [
b0ce78a75b
] - module: fix the leak in SourceTextModule and ContextifySript (Joyee Cheung) #48510 - [
4e578f8ab1
] - module: fix leak of vm.SyntheticModule (Joyee Cheung) #48510 - [
69e4218772
] - module: use symbol in WeakMap to manage host defined options (Joyee Cheung) #48510 - [
96874e8fbc
] - node-api: enable uncaught exceptions policy by default (Chengzhong Wu) #49313 - [
b931aeadfd
] - perf_hooks: reduce overhead of new performance_entries (Vinicius Lourenço) #49803 - [
ad043bac31
] - process: add custom dir support for heapsnapshot-signal (Jithil P Ponnan) #47854 - [
8a7c10194c
] - repl: don't accumulate excess indentation in .load (Daniel X Moore) #49461 - [
10a2adeed5
] - src: improve error message when ICU data cannot be initialized (Joyee Cheung) #49666 - [
ce37688bac
] - src: remove unnecessary todo (Rafael Gonzaga) #49227 - [
f611583b71
] - src: use SNAPSHOT_SERDES to log snapshot ser/deserialization (Joyee Cheung) #49637 - [
a597cb8457
] - src: port Pipe to uv_pipe_bind2, uv_pipe_connect2 (Geoff Goodman) #49667 - [
fb21062338
] - src: set --rehash-snapshot explicitly (Joyee Cheung) #49556 - [
14ece0aa76
] - (SEMVER-MINOR) src: allow embedders to override NODE_MODULE_VERSION (Cheng Zhao) #49279 - [
4b5e23c71b
] - src: set ModuleWrap internal fields only once (Joyee Cheung) #49391 - [
2d3f5c7cab
] - src: fix fs_type_to_name default value (Mustafa Ateş Uzun) #49239 - [
cfbcb1059c
] - src: fix comment on StreamResource (rogertyang) #49193 - [
39fb83ad16
] - src: do not rely on the internal field being default to undefined (Joyee Cheung) #49413 - [
9fd67fbff0
] - stream: use bitmap in writable state (Raz Luvaton) #49834 - [
0ccd4638ac
] - stream: use bitmap in readable state (Benjamin Gruenbaum) #49745 - [
b29d927010
] - stream: improve readable webstreampipeTo
(Raz Luvaton) #49690 - [
7c5e322346
] - stream: improve webstream readable async iterator performance (Raz Luvaton) #49662 - [
be211ef818
] - test: deflake test-vm-contextified-script-leak (Joyee Cheung) #49710 - [
355f10dab2
] - test: use checkIfCollectable in vm leak tests (Joyee Cheung) #49671 - [
17cfc531aa
] - test: add checkIfCollectable to test/common/gc.js (Joyee Cheung) #49671 - [
e49a573752
] - test: add os setPriority, getPriority test coverage (Wael) #38771 - [
5f02711522
] - test: deflake test-runner-output (Moshe Atlow) #49878 - [
cd9754d6a7
] - test: mark test-runner-output as flaky (Joyee Cheung) #49854 - [
5ad00424dd
] - test: use mustSucceed instead of mustCall (SiddharthDevulapalli) #49788 - [
3db9b40081
] - test: refactor test-readline-async-iterators into a benchmark (Shubham Pandey) #49237 - [
2cc5ad7859
] - Revert "test: mark test-http-regr-gh-2928 as flaky" (Luigi Pinca) #49708 - [
e5185b053c
] - test: usefs.constants
forfs.access
constants (Livia Medeiros) #49685 - [
b9e5b43462
] - test: deflake test-http-regr-gh-2928 (Luigi Pinca) #49574 - [
1fffda504e
] - test: fix argument computation in embedtest (Joyee Cheung) #49506 - [
6e56f2db52
] - test: skip test-child-process-stdio-reuse-readable-stdio on Windows (Joyee Cheung) #49621 - [
ab3afb330d
] - test: mark test-runner-watch-mode as flaky (Joyee Cheung) #49627 - [
185d9b50db
] - test: deflake test-tls-socket-close (Luigi Pinca) #49575 - [
c70c74a9e6
] - test: show more info on failure in test-cli-syntax-require.js (Joyee Cheung) #49561 - [
ed7c6d1114
] - test: mark test-http-regr-gh-2928 as flaky (Joyee Cheung) #49565 - [
3599eebab9
] - test: use spawnSyncAndExitWithoutError in sea tests (Joyee Cheung) #49543 - [
f79b153e89
] - test: use spawnSyncAndExitWithoutError in test/common/sea.js (Joyee Cheung) #49543 - [
c079c73769
] - test: use setImmediate() in test-heapdump-shadowrealm.js (Joyee Cheung) #49573 - [
667a92493c
] - test: skip test-child-process-pipe-dataflow.js on Windows (Joyee Cheung) #49563 - [
91af0a9a3c
] - Revert "test: ignore the copied entry_point.c" (Chengzhong Wu) #49515 - [
567afc71b8
] - test: avoid copying test source files (Chengzhong Wu) #49515 - [
ced25a976d
] - test: increase coverage ofModule.register
andinitialize
hook (Antoine du Hamel) #49532 - [
be02fbdb8a
] - test: isolateglobalPreload
tests (Geoffrey Booth) #49545 - [
f214428845
] - test: split test-crypto-dh to avoid timeout on slow machines in the CI (Joyee Cheung) #49492 - [
3987094569
] - test: maketest-dotenv-node-options
locale-independent (Livia Medeiros) #49470 - [
34c1741792
] - test: add test for urlstrings usage innode:fs
(Livia Medeiros) #49471 - [
c3c6c4f007
] - test: make test-worker-prof more robust (Joyee Cheung) #49274 - [
843df1a4da
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #49714 - [
80b342cc38
] - (SEMVER-MINOR) test_runner: accepttestOnly
inrun
(Moshe Atlow) #49753 - [
76865515b9
] - test_runner: fix test runner watch mode when no positional arguments (Moshe Atlow) #49578 - [
17a05b141d
] - (SEMVER-MINOR) test_runner: add junit reporter (Moshe Atlow) #49614 - [
5672e38457
] - test_runner: add jsdocs to mock.js (Caio Borghi) #49555 - [
b4d42a8f2b
] - test_runner: fix invalid timer call (Erick Wendel) #49477 - [
f755e6786b
] - test_runner: add jsdocs to MockTimers (Erick Wendel) #49476 - [
e7285d4bf0
] - test_runner: fix typescript coverage (Moshe Atlow) #49406 - [
07a2e29bf3
] - tools: support updating @reporters/github manually (Moshe Atlow) #49871 - [
5ac6722031
] - tools: skip ruff on tools/node_modules (Moshe Atlow) #49838 - [
462228bd24
] - tools: fix uvwasi updater (Michael Dawson) #49682 - [
ff81bfb958
] - tools: update lint-md-dependencies to rollup@3.29.2 (Node.js GitHub Bot) #49679 - [
08ffc6344c
] - tools: restrict internal code from using publicurl
module (LiviaMedeiros) #49590 - [
728ebf6c97
] - tools: update eslint to 8.49.0 (Node.js GitHub Bot) #49586 - [
20d038ffb1
] - tools: update lint-md-dependencies to rollup@3.29.0 unified@11.0.3 (Node.js GitHub Bot) #49584 - [
210c15bd12
] - tools: allow passing absolute path of config.gypi in js2c (Cheng Zhao) #49162 - [
e341efe173
] - tools: configure never-stale label correctly (Michaël Zasso) #49498 - [
a8a8a498ce
] - tools: update doc dependencies (Node.js GitHub Bot) #49467 - [
ac06607f9e
] - typings: fix missing property inExportedHooks
(Antoine du Hamel) #49567 - [
097b59807a
] - url: improve invalid url performance (Yagiz Nizipli) #49692 - [
7c2060cfac
] - util: addgetCwdSafe
internal util fn (João Lenon) #48434 - [
c23c60f545
] - zlib: disable CRC32 SIMD optimization (Luigi Pinca) #49511
v20.7.0
: 2023-09-18, Version 20.7.0 (Current), @UlisesGascon
Notable Changes
- [
022f1b70c1
] - src: support multiple--env-file
declarations (Yagiz Nizipli) #49542 - [
4a1d1cad61
] - crypto: update root certificates to NSS 3.93 (Node.js GitHub Bot) #49341 - [
a1a65f593c
] - deps: upgrade npm to 10.1.0 (npm team) #49570 - [
6c2480cad9
] - (SEMVER-MINOR) deps: upgrade npm to 10.0.0 (npm team) #49423 - [
bef900e56b
] - doc: move and rename loaders section (Geoffrey Booth) #49261 - [
db4ce8a593
] - doc: add release key for Ulises Gascon (Ulises Gascón) #49196 - [
11c85ffa98
] - (SEMVER-MINOR) lib: add api to detect whether source-maps are enabled (翠 / green) #46391 - [
ec51e25ed7
] - src,permission: add multiple allow-fs-* flags (Carlos Espa) #49047 - [
efdc95fbc0
] - (SEMVER-MINOR) test_runner: expose location of tests (Colin Ihrig) #48975
Commits
- [
e84515594e
] - benchmark: usetmpdir.resolve()
(Livia Medeiros) #49137 - [
f37444e896
] - bootstrap: build code cache from deserialized isolate (Joyee Cheung) #49099 - [
af6dc1754d
] - bootstrap: do not generate code cache in an unfinalized isolate (Joyee Cheung) #49108 - [
cade5716df
] - build: add symlink tocompile_commands.json
file if needed (Juan José) #49260 - [
34a2590b05
] - build: expand when we run internet tests (Michael Dawson) #49218 - [
f637fd46ab
] - build: fix typolibray
->library
(configure.py) (michalbiesek) #49106 - [
ef3d8dd493
] - crypto: remove webcrypto EdDSA key checks and properties (Filip Skokan) #49408 - [
4a1d1cad61
] - crypto: update root certificates to NSS 3.93 (Node.js GitHub Bot) #49341 - [
7eb10a38ea
] - crypto: remove getDefaultEncoding() (Tobias Nießen) #49170 - [
772496c030
] - crypto: remove default encoding from DiffieHellman (Tobias Nießen) #49169 - [
c795083232
] - crypto: remove default encoding from Hash/Hmac (Tobias Nießen) #49167 - [
08197aa010
] - crypto: remove default encoding from sign/verify (Tobias Nießen) #49145 - [
a1a65f593c
] - deps: upgrade npm to 10.1.0 (npm team) #49570 - [
6c2480cad9
] - (SEMVER-MINOR) deps: upgrade npm to 10.0.0 (npm team) #49423 - [
84195d9584
] - deps: add missing thread-common.c in uv.gyp (Santiago Gimeno) #49410 - [
5b70b68b3d
] - deps: V8: cherry-pickeadaef5
(Adam Majer) #49401 - [
fe34d632e8
] - deps: update zlib to 1.2.13.1-motley-f5fd0ad (Node.js GitHub Bot) #49252 - [
db4ce8a593
] - doc: add release key for Ulises Gascon (Ulises Gascón) #49196 - [
e5f3a694cf
] - doc: fix node-api call example (Chengzhong Wu) #49395 - [
021345a724
] - doc: add news issue for Diagnostics WG (Michael Dawson) #49306 - [
f82347266b
] - doc: clarify policy expectations (Rafael Gonzaga) #48947 - [
73cfd9c895
] - doc: add print results for examples inStringDecoder
(Jungku Lee) #49326 - [
63ab591416
] - doc: update outdated reference to NIST SP 800-131A (Tobias Nießen) #49316 - [
935dfe2afd
] - doc: usecjs
as block code's type inMockTimers
(Deokjin Kim) #49309 - [
7c0cd2fb87
] - doc: updateoptions.filter
description forfs.cp
(Shubham Pandey) #49289 - [
f72e79ea67
] - doc: add riscv64 to list of architectures (Stewart X Addison) #49284 - [
d19c710064
] - doc: avoid "not currently recommended" (Tobias Nießen) #49300 - [
ae656101c0
] - doc: update module hooks docs (Geoffrey Booth) #49265 - [
fefbdb92f2
] - doc: modify param description for end(),write() inStringDecoder
(Jungku Lee) #49285 - [
59e66a1ebe
] - doc: use NODE_API_SUPPORTED_VERSION_MAX in release doc (Cheng Zhao) #49268 - [
ac3b88449b
] - doc: fix typo instream.finished
documentation (Antoine du Hamel) #49271 - [
7428ebf6c3
] - doc: update description forpercent_encode
sets inWHATWG API
(Jungku Lee) #49258 - [
bef900e56b
] - doc: move and rename loaders section (Geoffrey Booth) #49261 - [
a22e0d9696
] - doc: clarify use of Uint8Array for n-api (Fedor Indutny) #48742 - [
1704f24cb9
] - doc: add signature formodule.register
(Geoffrey Booth) #49251 - [
5a363bb01b
] - doc: caveat unavailability ofimport.meta.resolve
in custom loaders (Jacob Smith) #49242 - [
8101f2b259
] - doc: use same name in the doc as in the code (Hyunjin Kim) #49216 - [
edf278d60d
] - doc: add notable-change label mention to MR template (Rafael Gonzaga) #49188 - [
3df2251a6a
] - doc: add h1 summary to security release process (Rafael Gonzaga) #49112 - [
9fcd99a744
] - doc: update to semver-minor releases by default (Rafael Gonzaga) #49175 - [
777931f499
] - doc: fix wording in napi_async_init (Tobias Nießen) #49180 - [
f45c8e10c0
] - doc,test: add known path resolution issue in permission model (Tobias Nießen) #49155 - [
a6cfea3f74
] - esm: align sync and async load implementations (Antoine du Hamel) #49152 - [
9fac310b33
] - fs: add the options param description in openAsBlob() (Yeseul Lee) #49308 - [
92772a8175
] - fs: remove redundant code in readableWebStream() (Deokjin Kim) #49298 - [
88ba79b083
] - fs: make sure to write entire buffer (Robert Nagy) #49211 - [
11c85ffa98
] - (SEMVER-MINOR) lib: add api to detect whether source-maps are enabled (翠 / green) #46391 - [
c12711ebfe
] - lib: implement WeakReference on top of JS WeakRef (Joyee Cheung) #49053 - [
9a0891f88d
] - meta: bump step-security/harden-runner from 2.5.0 to 2.5.1 (dependabot[bot]) #49435 - [
ae67f41ef1
] - meta: bump actions/checkout from 3.5.3 to 3.6.0 (dependabot[bot]) #49436 - [
71b4411fb2
] - meta: bump actions/setup-node from 3.7.0 to 3.8.1 (dependabot[bot]) #49434 - [
83b7d3a395
] - meta: remove modules team from CODEOWNERS (Benjamin Gruenbaum) #49412 - [
81ff68c45c
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #49264 - [
ab975233cc
] - meta: mention nodejs/tsc when changing GH templates (Rafael Gonzaga) #49189 - [
ceaa5494de
] - meta: add test/reporters to codeowners (Chemi Atlow) #49186 - [
de0a51b7cf
] - net: improve performance of isIPv4 and isIPv6 (Uzlopak) #49568 - [
8d0913bf95
] - net: use asserts in JS Socket Stream to catch races in future (Tim Perry) #49400 - [
2486836a7d
] - net: fix crash due to simultaneous close/shutdown on JS Stream Sockets (Tim Perry) #49400 - [
7a808340cd
] - node-api: fix compiler warning in node_api.h (Michael Graeb) #49103 - [
30f26a99f4
] - permission: ensure to resolve path when calling mkdtemp (RafaelGSS) nodejs-private/node-private#440 - [
5051c75a5b
] - policy: fix path to URL conversion (Antoine du Hamel) #49133 - [
173aed4757
] - report: fix recent coverity warning (Michael Dawson) #48954 - [
d7ff78b442
] - sea: generate code cache with deserialized isolate (Joyee Cheung) #49226 - [
022f1b70c1
] - src: support multiple--env-file
declarations (Yagiz Nizipli) #49542 - [
154b1c2115
] - src: don't overwrite environment from .env file (Phil Nash) #49424 - [
dc4de1c69b
] - src: modify code for empty string (pluris) #49336 - [
701c46f967
] - src: remove unused PromiseWrap-related code (Joyee Cheung) #49335 - [
4a094dc7af
] - src: rename IsAnyByteSource to IsAnyBufferSource (Tobias Nießen) #49346 - [
55d6649175
] - src: support snapshot deserialization in RAIIIsolate (Joyee Cheung) #49226 - [
dc092864ef
] - src: remove unused functionGetName()
in node_perf (Jungku Lee) #49244 - [
f2552a410e
] - src: use ARES_SUCCESS instead of 0 (Jungku Lee) #49048 - [
4a9ae31519
] - src: add a condition if the argument ofDomainToUnicode
is empty (Jungku Lee) #49097 - [
f460362cdf
] - src: remove C++ WeakReference implementation (Joyee Cheung) #49053 - [
2a35383b3e
] - src: use per-realm GetBindingData() wherever applicable (Joyee Cheung) #49007 - [
184bbddcf5
] - src: add per-realm GetBindingData() method (Joyee Cheung) #49007 - [
e9946885f9
] - src: serialize both BaseObject slots (Joyee Cheung) #48996 - [
ec51e25ed7
] - src,permission: add multiple allow-fs-* flags (Carlos Espa) #49047 - [
8aac95de4b
] - stream: improve tee perf by reduceReflectConstruct
usages (Raz Luvaton) #49546 - [
0eea7fd8fb
] - stream: use Buffer.from when constructor is a Buffer (Matthew Aitken) #49250 - [
b961d9bd52
] - stream: addhighWaterMark
for the map operator (Raz Luvaton) #49249 - [
ca1384166d
] - test: fix warning for comment in embedtest (Jungku Lee) #49416 - [
2a35782809
] - test: simplify test-crypto-dh-group-setters (Tobias Nießen) #49404 - [
6740f3c209
] - test: verify dynamic import call with absolute path strings (Chengzhong Wu) #49275 - [
6ed47bd8fb
] - test: reduce length in crypto keygen tests (Joyee Cheung) #49221 - [
4faa30c553
] - test: split JWK async elliptic curve keygen tests (Joyee Cheung) #49221 - [
e04a2603d8
] - test: split test-crypto-keygen.js (Joyee Cheung) #49221 - [
0d23c1d4ce
] - test: rename test-crypto-modp1-error (Tobias Nießen) #49348 - [
48e41569e2
] - test: migrate message source map tests from Python to JS (Yiyun Lei) #49238 - [
a11e64e09c
] - test: fix compiler warning in NodeCryptoEnv (Tobias Nießen) #49206 - [
345543938f
] - test: handle EUNATCH (Abdirahim Musse) #48050 - [
e391f4b197
] - test: usetmpdir.resolve()
(Livia Medeiros) #49136 - [
910378f93f
] - test: reduce flakiness oftest-esm-loader-hooks
(Antoine du Hamel) #49248 - [
4a85f70462
] - test: add spawnSyncAndExit() and spawnSyncAndExitWithoutError() (Joyee Cheung) #49200 - [
9610008b79
] - test: make test-perf-hooks more robust and work with workers (Joyee Cheung) #49197 - [
dc8fff9a75
] - test: use gcUntil() in test-v8-serialize-leak (Joyee Cheung) #49168 - [
ca9f801332
] - test: make WeakReference tests robust (Joyee Cheung) #49053 - [
de103a4686
] - test: add test for effect of UV_THREADPOOL_SIZE (Tobias Nießen) #49165 - [
47d24f144b
] - test: use expectSyncExit{WithErrors} in snapshot tests (Joyee Cheung) #49020 - [
c441f5a097
] - test: add expectSyncExitWithoutError() and expectSyncExit() utils (Joyee Cheung) #49020 - [
4d184b5251
] - test: remove --no-warnings flag in test_runner fixtures (Raz Luvaton) #48989 - [
25e967a90b
] - test: reorder test files fixtures for better understanding (Raz Luvaton) #48787 - [
fac56dbcc0
] - test,benchmark: usetmpdir.fileURL()
(Livia Medeiros) #49138 - [
36763fa532
] - test_runner: preserve original property descriptor (Erick Wendel) #49433 - [
40e9fcdbea
] - test_runner: add support for setImmediate (Erick Wendel) #49397 - [
23216f1935
] - test_runner: report covered lines, functions and branches to reporters (Phil Nash) #49320 - [
283f2806b1
] - test_runner: expose spec reporter as newable function (Chemi Atlow) #49184 - [
546ad5f770
] - test_runner: reland run global after() hook earlier (Colin Ihrig) #49116 - [
efdc95fbc0
] - (SEMVER-MINOR) test_runner: expose location of tests (Colin Ihrig) #48975 - [
4bc0a8fe99
] - test_runner: fix global after not failing the tests (Raz Luvaton) #48913 - [
08738b2664
] - test_runner: fix timeout in *Each hook failing further tests (Raz Luvaton) #48925 - [
c2f1830f66
] - test_runner: cleanup test timeout abort listener (Raz Luvaton) #48915 - [
75333f38b2
] - test_runner: fix global before not called when no global test exists (Raz Luvaton) #48877 - [
b28b85adf8
] - tls: remove redundant code in onConnectSecure() (Deokjin Kim) #49457 - [
83fc4dccbc
] - tls: refactor to use validateFunction (Deokjin Kim) #49422 - [
8949cc79dd
] - tls: ensure TLS Sockets are closed if the underlying wrap closes (Tim Perry) #49327 - [
1df56e6f01
] - tools: update eslint to 8.48.0 (Node.js GitHub Bot) #49343 - [
ef50ec5b57
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #49342 - [
9a8fb4fc34
] - tools: remove v8_dump_build_config action (Cheng Zhao) #49301 - [
91b2d4314b
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #49253 - [
b51946ebdd
] - tools: fix github reporter appended multiple times (Moshe Atlow) #49199 - [
ae40cb1612
] - url: validatepathToFileURL(path)
argument as string (LiviaMedeiros) #49161 - [
e787673dcf
] - url: handle unicode hostname if empty (Yagiz Nizipli) #49396 - [
6ee74be87f
] - vm: store MicrotaskQueue in ContextifyContext directly (Joyee Cheung) #48982 - [
0179c6dc8f
] - worker: protect against user mutating well-known prototypes (Antoine du Hamel) #49270
v20.6.1
: 2023-09-08, Version 20.6.1 (Current), @ruyadorno and @RafaelGSS
Commit
- [
8acbe6d8e8
] - esm: fix loading of CJS modules from ESM (Antoine du Hamel) #49500
v20.6.0
: 2023-09-04, Version 20.6.0 (Current), @juanarbol prepared by @UlisesGascon
Notable changes
.env
file support
built-in Starting from Node.js v20.6.0, Node.js supports .env
files for configuring environment variables.
Your configuration file should follow the INI file format, with each line containing a key-value pair for an environment variable.
To initialize your Node.js application with predefined configurations, use the following CLI command: node --env-file=config.env index.js
.
For example, you can access the following environment variable using process.env.PASSWORD
when your application is initialized:
PASSWORD=nodejs
In addition to environment variables, this change allows you to define your NODE_OPTIONS
directly in the .env
file, eliminating the need to include it in your package.json
.
This feature was contributed by Yagiz Nizipli in #48890.
import.meta.resolve
unflagged
In ES modules, import.meta.resolve(specifier)
can be used to get an absolute URL string to which specifier
resolves, similar to require.resolve
in CommonJS. This aligns Node.js with browsers and other server-side runtimes.
This feature was contributed by Guy Bedford in #49028
node:module
API register
for module customization hooks; new initialize
hook
New There is a new API register
available on node:module
to specify a file that exports module customization hooks, and pass data to the hooks, and establish communication channels with them. The “define the file with the hooks” part was previously handled by a flag --experimental-loader
, but when the hooks moved into a dedicated thread in 20.0.0 there was a need to provide a way to communicate between the main (application) thread and the hooks thread. This can now be done by calling register
from the main thread and passing data, including MessageChannel
instances.
We encourage users to migrate to an approach that uses --import
with register
, such as:
node --import ./file-that-calls-register.js ./app.js
Using --import
ensures that the customization hooks are registered before any application code runs, even the entry point.
This feature was contributed by Izaak Schroeder in #48842 and #48559
load
hook can now support CommonJS
Module customization Authors of module customization hooks can how handle both ES module and CommonJS sources in the load
hook. This works for CommonJS modules referenced via either import
or require
, so long as the main entry point of the application is handled by the ES module loader (such as because the entry point is an ES module file, or if the --import
flag is passed). This should simplify the customization of the Node.js module loading process, as package authors can customize more of Node.js without relying on deprecated APIs such as require.extensions
.
This feature was contributed by Antoine du Hamel in #47999
Node.js C++ addons now have experimental support for cppgc (Oilpan), a C++ garbage collection library in V8.
Now when Node.js starts up, it makes sure that there is a v8::CppHeap
attached to the V8 isolate. This enables users to allocate in the v8::CppHeap
using <cppgc/*>
headers from V8, which are now also included into the Node.js headers available to addons. Note that since Node.js only bundles the cppgc library coming from V8, the ABI stability of cppgc is currently not guaranteed in semver-minor and -patch updates, but we do not expect the ABI to break often, as it has been stable and battle-tested in Chromium for years. We may consider including cppgc into the ABI stability guarantees when it gets enough adoption internally and externally.
To help addon authors create JavaScript-to-C++ references of which V8's garbage collector can be aware, a helper function node::SetCppgcReference(isolate, js_object, cppgc_object)
has been added to node.h
. V8 may provide a native alternative in the future, which could then replace this Node.js-specific helper. In the mean time, users can use this API to avoid having to hard-code the layout of JavaScript wrapper objects. An example of how to create garbage-collected C++ objects in the unified heap and wrap it in a JavaScript object can be found in the Node.js addon tests.
The existing node::ObjectWrap
helper would continue to work, while cppgc-based object management serves as an alternative with some advantages mentioned in the V8 blog post about Oilpan.
This feature was contributed by Daryl Haresign and Joyee Cheung in #48660 and #45704.
Other notable changes
- [
d6862b085c
] - deps: V8: cherry-pick9327503
(Joyee Cheung) #48660 - [
00fc8bb8b3
] - doc: add rluvaton to collaborators (Raz Luvaton) #49215 - [
d649339abd
] - doc: add new TSC members (Michael Dawson) #48841 - [
67f9896247
] - (SEMVER-MINOR) inspector: open addSymbolDispose
(Chemi Atlow) #48765 - [
5aef593db3
] - module: implementregister
utility (João Lenon) #46826
Commits
- [
771abcb5da
] - benchmark: add benchmarks for the test_runner (Raz Luvaton) #48931 - [
6b27bb0dab
] - benchmark: add pm startup benchmark (Rafael Gonzaga) #48905 - [
1f35c0ca55
] - child_process: harden against prototype pollution (Livia Medeiros) #48726 - [
d6862b085c
] - deps: V8: cherry-pick9327503
(Joyee Cheung) #48660 - [
f71e383948
] - deps: update simdutf to 3.2.17 (Node.js GitHub Bot) #49019 - [
e14f0456ae
] - deps: update googletest to7e33b6a
(Node.js GitHub Bot) #49034 - [
bfaa0fb500
] - deps: update zlib to 1.2.13.1-motley-526382e (Node.js GitHub Bot) #49033 - [
b79c652c85
] - deps: update undici to 5.23.0 (Node.js GitHub Bot) #49021 - [
6ead86145c
] - deps: update googletest toc875c4e
(Node.js GitHub Bot) #48964 - [
4b0e50501e
] - deps: update ada to 2.6.0 (Node.js GitHub Bot) #48896 - [
d960ee0ba3
] - deps: upgrade npm to 9.8.1 (npm team) #48838 - [
d92b0139ca
] - deps: update zlib to 1.2.13.1-motley-61dc0bd (Node.js GitHub Bot) #48788 - [
2a7835c376
] - deps: V8: cherry-pick9f4b769
(Joyee Cheung) #48830 - [
c8e17829ac
] - deps: V8: cherry-pickc1a54d5
(Joyee Cheung) #48830 - [
318e075b6f
] - deps: update googletest tocc36671
(Node.js GitHub Bot) #48789 - [
114e088267
] - diagnostics_channel: fix last subscriber removal (Gabriel Schulhof) #48933 - [
00fc8bb8b3
] - doc: add rluvaton to collaborators (Raz Luvaton) #49215 - [
21949c45b6
] - doc: add print results for examples inWebStreams
(Jungku Lee) #49143 - [
032107a6fe
] - doc: fixType
notation in webstreams (Deokjin Kim) #49121 - [
91d41e7c5a
] - doc: fix name of the flag ininitialize()
docs (Antoine du Hamel) #49158 - [
aa4caf810e
] - doc: make the NODE_VERSION_IS_RELEASE revert clear (Rafael Gonzaga) #49114 - [
f888a1dbe3
] - doc: update process.binding deprecation text (Tobias Nießen) #49086 - [
89fa3faf92
] - doc: update with latest security release (Rafael Gonzaga) #49085 - [
3d36e7a941
] - doc: add description for--port
flag ofnode inspect
(Michael Bianco) #48785 - [
e9d9ca12a3
] - doc: add missing period (Rich Trott) #49094 - [
7e7b554de0
] - doc: add ESM examples in http.md (btea) #47763 - [
48f8ccfd54
] - doc: detailed description of keystrokes Ctrl-Y and Meta-Y (Ray) #43529 - [
195885c8f8
] - doc: add "type" to test runner event details (Phil Nash) #49014 - [
6ce25f8415
] - doc: reserve 118 for Electron 27 (David Sanders) #49023 - [
9c26c0f296
] - doc: clarify use of process.env in worker threads on Windows (Daeyeon Jeong) #49008 - [
7186e02aa0
] - doc: remove v14 mention (Rafael Gonzaga) #49005 - [
9641ac6c65
] - doc: drop github actions check in sec release process (Rafael Gonzaga) #48978 - [
f3d62abb19
] - doc: improved joinDuplicateHeaders definition (Matteo Bianchi) #48859 - [
0db104a08b
] - doc: fix second parameter name ofevents.addAbortListener
(Deokjin Kim) #48922 - [
5173c559b7
] - doc: add new reporter events to custom reporter examples (Chemi Atlow) #48903 - [
660da785e6
] - doc: run license-builder (github-actions[bot]) #48898 - [
092f9fe92a
] - doc: change duration to duration_ms on test documentation (Ardi_Nugraha) #48892 - [
5e4730858d
] - doc: improve requireHostHeader (Guido Penta) #48860 - [
045e3c549a
] - doc: add ver of 18.x where Node-api 9 is supported (Michael Dawson) #48876 - [
c20d35df34
] - doc: include experimental features assessment (Rafael Gonzaga) #48824 - [
d649339abd
] - doc: add new TSC members (Michael Dawson) #48841 - [
aeac327f2b
] - doc: refactor node-api support matrix (Michael Dawson) #48774 - [
388c7d9232
] - doc: declarepath
on example ofasync_hooks.executionAsyncId()
(Deokjin Kim) #48556 - [
fe20528c8e
] - doc: remove the . in the end to reduce confusing (Jason) #48719 - [
e69c8e173f
] - doc: nodejs-social over nodejs/tweet (Rafael Gonzaga) #48769 - [
ea547849fd
] - doc: expand on squashing and rebasing to land a MR (Chengzhong Wu) #48751 - [
31442b96a5
] - esm: fixglobalPreload
warning (Antoine du Hamel) #49069 - [
eb1215878b
] - esm: unflag import.meta.resolve (Guy Bedford) #49028 - [
57b24a34e6
] - esm: import.meta.resolve exact module not found errors should return (Guy Bedford) #49038 - [
f23b2a3066
] - esm: protectERR_UNSUPPORTED_DIR_IMPORT
against prototype pollution (Antoine du Hamel) #49060 - [
386e826a56
] - esm: addinitialize
hook, integrate withregister
(Izaak Schroeder) #48842 - [
74a2e1e0ab
] - esm: fix typoparentUrl
->parentURL
(Antoine du Hamel) #48999 - [
0a4f7c669a
] - esm: unflagModule.register
and allow nested loaderimport()
(Izaak Schroeder) #48559 - [
a5597470ce
] - esm: add backglobalPreload
tests and fix failing ones (Antoine du Hamel) #48779 - [
d568600b42
] - events: remove weak listener for event target (Raz Luvaton) #48952 - [
3d942d9842
] - fs: fix readdir recursive sync & callback (Ethan Arrowood) #48698 - [
c14ff69d69
] - fs: mentionURL
in NUL character error message (LiviaMedeiros) #48828 - [
d634d781d7
] - fs: makemkdtemp
accept buffers and URL (LiviaMedeiros) #48828 - [
4515a285a4
] - fs: remove redundantnullCheck
(Livia Medeiros) #48826 - [
742597b14a
] - http: start connections checking interval on listen (Paolo Insogna) #48611 - [
67f9896247
] - (SEMVER-MINOR) inspector: open addSymbolDispose
(Chemi Atlow) #48765 - [
b66a3c1c96
] - lib: fix MIME overmatch in data URLs (André Alves) #49104 - [
dca8678a22
] - lib: fix to add resolve() before return at Blob.stream()'s source.pull() (bellbind) #48935 - [
420b85c00f
] - lib: remove invalid parameter to toASCII (Yagiz Nizipli) #48878 - [
a12ce11b09
] - lib,permission: drop repl autocomplete when pm enabled (Rafael Gonzaga) #48920 - [
458eaf5e75
] - meta: bump github/codeql-action from 2.20.1 to 2.21.2 (dependabot[bot]) #48986 - [
4f88cb10e0
] - meta: bump step-security/harden-runner from 2.4.1 to 2.5.0 (dependabot[bot]) #48985 - [
22fc2a6ec6
] - meta: bump actions/setup-node from 3.6.0 to 3.7.0 (dependabot[bot]) #48984 - [
40103adabd
] - meta: bump actions/setup-python from 4.6.1 to 4.7.0 (dependabot[bot]) #48983 - [
84c0c6848c
] - meta: add mailmap entry for atlowChemi (Chemi Atlow) #48810 - [
1a6e9450b8
] - module: make CJS load from ESM loader (Antoine du Hamel) #47999 - [
a5322c4b4a
] - module: ensure successful import returns the same result (Antoine du Hamel) #46662 - [
5aef593db3
] - module: implementregister
utility (João Lenon) #46826 - [
015c4f788d
] - node-api: avoid macro redefinition (Tobias Nießen) #48879 - [
53ee98566b
] - permission: move PrintTree into unnamed namespace (Tobias Nießen) #48874 - [
30ea480135
] - permission: fix data types in PrintTree (Tobias Nießen) #48770 - [
8380800375
] - readline: add paste bracket mode (Jakub Jankiewicz) #47150 - [
bc009d0c10
] - sea: add support for V8 bytecode-only caching (Darshan Sen) #48191 - [
f2f4ce9e29
] - src: use effective cppgc wrapper id to deduce non-cppgc id (Joyee Cheung) #48660 - [
bf7ff369f6
] - src: add built-in.env
file support (Yagiz Nizipli) #48890 - [
8d6948f8e2
] - src: remove duplicated code inGenerateSingleExecutableBlob()
(Jungku Lee) #49119 - [
b030004cee
] - src: refactor vector writing in snapshot builder (Joyee Cheung) #48851 - [
497df8288d
] - src: add ability to overload fast api functions (Yagiz Nizipli) #48993 - [
e5b0dfa359
] - src: remove redundant code for uv_handle_type (Jungku Lee) #49061 - [
f126b9e3d1
] - src: modernize use-equals-default (Jason) #48735 - [
db4370fc3e
] - src: avoid string copy in BuiltinLoader::GetBuiltinIds (Yagiz Nizipli) #48721 - [
9d13503c4e
] - src: fix callback_queue.h missing header (Jason) #48733 - [
6c389df3aa
] - src: cast v8::Object::GetInternalField() return value to v8::Value (Joyee Cheung) #48943 - [
7b9adff0be
] - src: do not pass user input to format string (Antoine du Hamel) #48973 - [
e0fdb7b092
] - src: remove ContextEmbedderIndex::kBindingDataStoreIndex (Joyee Cheung) #48836 - [
578c3d1e14
] - src: use ARES_SUCCESS instead of 0 (Hyunjin Kim) #48834 - [
ed23426aac
] - src: save the performance milestone time origin in the AliasedArray (Joyee Cheung) #48708 - [
5dec186663
] - src: support snapshot in single executable applications (Joyee Cheung) #46824 - [
d759d4f631
] - src: remove unnecessary temporary creation (Jason) #48734 - [
409cc692db
] - src: fix nullptr access on realm (Jan Olaf Krems) #48802 - [
07d0fd61b1
] - src: remove OnScopeLeaveImpl's move assignment overload (Jason) #48732 - [
41cc3efa23
] - src: use string_view for utf-8 string creation (Yagiz Nizipli) #48722 - [
62a46d9335
] - src,permission: restrict by default when pm enabled (Rafael Gonzaga) #48907 - [
099159ce04
] - src,tools: initialize cppgc (Daryl Haresign) #48660 - [
600c08d197
] - stream: improve WebStreams performance (Raz Luvaton) #49089 - [
609b25fa99
] - stream: implement ReadableStream.from (Debadree Chatterjee) #48395 - [
750cca2738
] - test: usetmpdir.resolve()
(Livia Medeiros) #49128 - [
6595367649
] - test: usetmpdir.resolve()
(Livia Medeiros) #49127 - [
661b055e75
] - test: usetmpdir.resolve()
in fs tests (Livia Medeiros) #49126 - [
b3c56d206f
] - test: usetmpdir.resolve()
in fs tests (Livia Medeiros) #49125 - [
3ddb155d16
] - test: fix assertion message in test_async.c (Tobias Nießen) #49146 - [
1d17c1032d
] - test: refactortest-esm-loader-hooks
for easier debugging (Antoine du Hamel) #49131 - [
13bd7a0293
] - test: addtmpdir.resolve()
(Livia Medeiros) #49079 - [
89b1bce56d
] - test: documentfixtures.fileURL()
(Livia Medeiros) #49083 - [
2fcb855c76
] - test: reduce flakiness oftest-esm-loader-hooks
(Antoine du Hamel) #49105 - [
7816e040df
] - test: stabilize the inspector-open-dispose test (Chemi Atlow) #49000 - [
e70e9747e4
] - test: print instruction for creating missing snapshot in assertSnapshot (Raz Luvaton) #48914 - [
669ac03520
] - test: addtmpdir.fileURL()
(Livia Medeiros) #49040 - [
b945d7be35
] - test: usespawn
andspawnPromisified
instead ofexec
(Antoine du Hamel) #48991 - [
b3a7427583
] - test: refactortest-node-output-errors
(Antoine du Hamel) #48992 - [
6c3e5c4d69
] - test: usefixtures.fileURL
when appropriate (Antoine du Hamel) #48990 - [
9138b78bcb
] - test: validate error code rather than message (Antoine du Hamel) #48972 - [
b4ca4a6f80
] - test: fix snapshot tests when cwd contains spaces or backslashes (Antoine du Hamel) #48959 - [
d4398d458c
] - test: ordercommon.mjs
in ASCII order (Antoine du Hamel) #48960 - [
b5991f5250
] - test: fix some assumptions in tests (Antoine du Hamel) #48958 - [
62e23f83f9
] - test: improve internal/worker/io.js coverage (Yoshiki Kurihara) #42387 - [
314bd6095c
] - test: fixes-module/test-esm-initialization
(Antoine du Hamel) #48880 - [
3680a66df4
] - test: validate host with commas on url.parse (Yagiz Nizipli) #48878 - [
24c3742372
] - test: delete test-net-bytes-per-incoming-chunk-overhead (Michaël Zasso) #48811 - [
e01cce50f5
] - test: skip experimental test with pointer compression (Colin Ihrig) #48738 - [
d5e93b1074
] - test: fix flaky test-string-decode.js on x86 (Stefan Stojanovic) #48750 - [
9136667d7d
] - test_runner: dont set exit code on todo tests (Moshe Atlow) #48929 - [
52c94908c0
] - test_runner: fix todo and only in spec reporter (Moshe Atlow) #48929 - [
5ccfb8d515
] - test_runner: unwrap error message in TAP reporter (Colin Ihrig) #48942 - [
fa19b0ed05
] - test_runner: add__proto__
null (Raz Luvaton) #48663 - [
65d23940bf
] - test_runner: fix async callback in describe not awaited (Raz Luvaton) #48856 - [
4bd5e55b43
] - test_runner: fix test_runnertest:fail
event type (Ethan Arrowood) #48854 - [
41058beed8
] - test_runner: call abort on test finish (Raz Luvaton) #48827 - [
821b11a59f
] - tls: fix bugs of double TLS (rogertyang) #48969 - [
4439327e73
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #49122 - [
21dc844309
] - tools: use spec reporter in actions (Moshe Atlow) #49129 - [
3471758696
] - tools: use @reporters/github when running in github actions (Moshe Atlow) #49129 - [
95a6e7661e
] - tools: add @reporters/github to tools (Moshe Atlow) #49129 - [
995cbf93eb
] - tools: update eslint to 8.47.0 (Node.js GitHub Bot) #49124 - [
ed065bc56e
] - tools: update lint-md-dependencies to rollup@3.27.2 (Node.js GitHub Bot) #49035 - [
a5f37178ad
] - tools: limit the number of auto start CIs (Antoine du Hamel) #49067 - [
c1bd680f89
] - tools: update eslint to 8.46.0 (Node.js GitHub Bot) #48966 - [
e09a6b4821
] - tools: update lint-md-dependencies to rollup@3.27.0 (Node.js GitHub Bot) #48965 - [
0cd2393bd9
] - tools: update lint-md-dependencies to rollup@3.26.3 (Node.js GitHub Bot) #48888 - [
41929a2906
] - tools: update lint-md-dependencies to @rollup/plugin-commonjs@25.0.3 (Node.js GitHub Bot) #48791 - [
1761bdfbd9
] - tools: update eslint to 8.45.0 (Node.js GitHub Bot) #48793 - [
b82f05cc4b
] - typings: update JSDoc forcwd
inchild_process
(LiviaMedeiros) #49029 - [
be7b511255
] - typings: sync JSDoc with the actual implementation (Hyunjin Kim) #48853 - [
45c860035d
] - url: overloadcanParse
V8 fast api method (Yagiz Nizipli) #48993 - [
60d614157b
] - url: fixisURL
detection by checkingpath
(Zhuo Zhang) #48928 - [
b12c3b5240
] - url: ensure getter access do not mutate observable symbols (Antoine du Hamel) #48897 - [
30fb7b7535
] - url: reducepathToFileURL
cpp calls (Yagiz Nizipli) #48709 - [
c3dbd0c1e4
] - util: useprimordials.ArrayPrototypeIndexOf
instead of mutable method (DaisyDogs07) #48586 - [
b79b2927ca
] - watch: decrease debounce rate (Moshe Atlow) #48926 - [
a12996298e
] - watch: use debounce instead of throttle (Moshe Atlow) #48926
v20.5.1
: 2023-08-09, Version 20.5.1 (Current), @RafaelGSS
This is a security release.
Notable Changes
The following CVEs are fixed in this release:
- CVE-2023-32002: Policies can be bypassed via Module._load (High)
- CVE-2023-32558: process.binding() can bypass the permission model through path traversal (High)
- CVE-2023-32004: Permission model can be bypassed by specifying a path traversal sequence in a Buffer (High)
- CVE-2023-32006: Policies can be bypassed by module.constructor.createRequire (Medium)
- CVE-2023-32559: Policies can be bypassed via process.binding (Medium)
- CVE-2023-32005: fs.statfs can bypass the permission model (Low)
- CVE-2023-32003: fs.mkdtemp() and fs.mkdtempSync() can bypass the permission model (Low)
- OpenSSL Security Releases
More detailed information on each of the vulnerabilities can be found in August 2023 Security Releases blog post.
Commits
- [
92300b51b4
] - deps: update archs files for openssl-3.0.10+quic1 (Node.js GitHub Bot) #49036 - [
559698abf2
] - deps: upgrade openssl sources to quictls/openssl-3.0.10+quic1 (Node.js GitHub Bot) #49036 - [
1bf3429e8e
] - lib,permission: restrict process.binding when pm is enabled (RafaelGSS) nodejs-private/node-private#438 - [
98a83a67e6
] - permission: ensure to resolve path when calling mkdtemp (RafaelGSS) nodejs-private/node-private#464 - [
1f0cde466b
] - permission: handle buffer path on fs calls (RafaelGSS) nodejs-private/node-private#439 - [
bd094d60ea
] - permission: handle fstatfs and add pm supported list (RafaelGSS) nodejs-private/node-private#441 - [
7337d21484
] - policy: handle Module.constructor and main.extensions bypass (RafaelGSS) nodejs-private/node-private#417 - [
cf348ec640
] - policy: disable process.binding() when enabled (Tobias Nießen) nodejs-private/node-private#397
v20.5.0
: 2023-07-18, Version 20.5.0 (Current), @juanarbol
Notable Changes
- [
45be29d89f
] - doc: add atlowChemi to collaborators (atlowChemi) #48757 - [
a316808136
] - (SEMVER-MINOR) events: allow safely adding listener to abortSignal (Chemi Atlow) #48596 - [
986b46a567
] - fs: add a fast-path for readFileSync utf-8 (Yagiz Nizipli) #48658 - [
0ef73ff6f0
] - (SEMVER-MINOR) test_runner: add shards support (Raz Luvaton) #48639
Commits
- [
eb0aba59b8
] - bootstrap: use correct descriptor for Symbol.{dispose,asyncDispose} (Jordan Harband) #48703 - [
e2d0195dcf
] - bootstrap: hide experimental web globals with flag kNoBrowserGlobals (Chengzhong Wu) #48545 - [
67a1018389
] - build: do not pass target toolchain flags to host toolchain (Ivan Trubach) #48597 - [
7d843bb942
] - child_process: use addAbortListener (atlowChemi) #48550 - [
4e08160f8c
] - child_process: supportSymbol.dispose
(Moshe Atlow) #48551 - [
ef7728bf36
] - deps: update nghttp2 to 1.55.1 (Node.js GitHub Bot) #48790 - [
1454f02499
] - deps: update nghttp2 to 1.55.0 (Node.js GitHub Bot) #48746 - [
fa94debf46
] - deps: update minimatch to 9.0.3 (Node.js GitHub Bot) #48704 - [
c73cfcc144
] - deps: update acorn to 8.10.0 (Node.js GitHub Bot) #48713 - [
b7a076a052
] - deps: V8: cherry-pickcb00db4
(Keyhan Vakil) #48671 - [
150e15536b
] - deps: upgrade npm to 9.8.0 (npm team) #48665 - [
c47b2cbd35
] - dgram: socket addasyncDispose
(atlowChemi) #48717 - [
002ce31cca
] - dgram: use addAbortListener (atlowChemi) #48550 - [
45be29d89f
] - doc: add atlowChemi to collaborators (atlowChemi) #48757 - [
69b55d2261
] - doc: fix ambiguity in http.md and https.md (an5er) #48692 - [
caccb051c7
] - doc: clarify transform._transform() callback argument logic (Rafael Sofi-zada) #48680 - [
999ae0c8c3
] - doc: fix copy node executable in Windows (Yoav Vainrich) #48624 - [
7daefaeb44
] - doc: drop <b> of v20 changelog (Rafael Gonzaga) #48649 - [
dd7ea3e1df
] - doc: mention git node release prepare (Rafael Gonzaga) #48644 - [
cc7809df21
] - esm: fix emit deprecation on legacy main resolve (Antoine du Hamel) #48664 - [
67b13d1dba
] - events: fix bug listenerCount don't compare wrapped listener (yuzheng14) #48592 - [
a316808136
] - (SEMVER-MINOR) events: allow safely adding listener to abortSignal (Chemi Atlow) #48596 - [
986b46a567
] - fs: add a fast-path for readFileSync utf-8 (Yagiz Nizipli) #48658 - [
e4333ac41f
] - http2: use addAbortListener (atlowChemi) #48550 - [
4a0b66e4f9
] - http2: send RST code 8 on AbortController signal (Devraj Mehta) #48573 - [
1295c76fce
] - lib: use addAbortListener (atlowChemi) #48550 - [
dff6c25a36
] - meta: bump actions/checkout from 3.5.2 to 3.5.3 (dependabot[bot]) #48625 - [
b5cb69ceaa
] - meta: bump step-security/harden-runner from 2.4.0 to 2.4.1 (dependabot[bot]) #48626 - [
332e480b46
] - meta: bump ossf/scorecard-action from 2.1.3 to 2.2.0 (dependabot[bot]) #48628 - [
25c5a0aaee
] - meta: bump github/codeql-action from 2.3.6 to 2.20.1 (dependabot[bot]) #48627 - [
6406f50ab1
] - module: add SourceMap.lineLengths (Isaac Z. Schlueter) #48461 - [
cfa69bd48c
] - net: server addasyncDispose
(atlowChemi) #48717 - [
ac11264cc5
] - net: use addAbortListener (atlowChemi) #48550 - [
82d6b13bf6
] - permission: add debug log when inserting fs nodes (Rafael Gonzaga) #48677 - [
f4333b1cdd
] - permission: v8.writeHeapSnapshot and process.report (Rafael Gonzaga) #48564 - [
f691dca6c9
] - readline: use addAbortListener (atlowChemi) #48550 - [
227e6bd898
] - src: pass syscall onfs.readFileSync
fail operation (Yagiz Nizipli) #48815 - [
a9a4b73653
] - src: make BaseObject iteration order deterministic (Joyee Cheung) #48702 - [
d99ea4845a
] - src: remove kEagerCompile for CompileFunction (Keyhan Vakil) #48671 - [
df363d0010
] - src: deduplicate X509 getter implementations (Tobias Nießen) #48563 - [
9cf2e1f55b
] - src,lib: reducing C++ calls of esm legacy main resolve (Vinicius Lourenço) #48325 - [
daeb21dde9
] - stream: fix deadlock when pipeing to full sink (Robert Nagy) #48691 - [
5a382d02d6
] - stream: use addAbortListener (atlowChemi) #48550 - [
6e82077dd4
] - test: deflake test-net-throttle (Luigi Pinca) #48599 - [
d378b2c822
] - test: move test-net-throttle to parallel (Luigi Pinca) #48599 - [
dfa0aee5bf
] - Revert "test: remove test-crypto-keygen flaky designation" (Luigi Pinca) #48652 - [
0ef73ff6f0
] - (SEMVER-MINOR) test_runner: add shards support (Raz Luvaton) #48639 - [
e2442bb7ef
] - timers: support Symbol.dispose (Moshe Atlow) #48633 - [
4398ade426
] - tools: run fetch_deps.py with Python 3 (Richard Lau) #48729 - [
38ce95d054
] - tools: update doc to unist-util-select@5.0.0 unist-util-visit@5.0.0 (Node.js GitHub Bot) #48714 - [
b25e78a998
] - tools: update lint-md-dependencies to rollup@3.26.2 (Node.js GitHub Bot) #48705 - [
a1f4ff7c59
] - tools: update eslint to 8.44.0 (Node.js GitHub Bot) #48632 - [
42dc6eb698
] - tools: update lint-md-dependencies to rollup@3.26.0 (Node.js GitHub Bot) #48631 - [
07bfcc45ab
] - url: fixcanParse
false value when v8 optimizes (Yagiz Nizipli) #48817
v20.4.0
: 2023-07-05, Version 20.4.0 (Current), @RafaelGSS
Notable Changes
Mock Timers
The new feature allows developers to write more reliable and predictable tests for time-dependent functionality.
It includes MockTimers
with the ability to mock setTimeout
, setInterval
from globals
, node:timers
, and node:timers/promises
.
The feature provides a simple API to advance time, enable specific timers, and release all timers.
import assert from 'node:assert';
import { test } from 'node:test';
test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => {
const fn = context.mock.fn();
// Optionally choose what to mock
context.mock.timers.enable(['setTimeout']);
const nineSecs = 9000;
setTimeout(fn, nineSecs);
const threeSeconds = 3000;
context.mock.timers.tick(threeSeconds);
context.mock.timers.tick(threeSeconds);
context.mock.timers.tick(threeSeconds);
assert.strictEqual(fn.mock.callCount(), 1);
});
This feature was contributed by Erick Wendel in #47775.
Support to the explicit resource management proposal
Node is adding support to the explicit resource management
proposal to its resources allowing users of TypeScript/babel to use using
/await using
with
V8 support for everyone else on the way.
This feature was contributed by Moshe Atlow and Benjamin Gruenbaum in #48518.
Other notable changes
- [
fe333d2584
] - crypto: update root certificates to NSS 3.90 (Node.js GitHub Bot) #48416 - [
60c2ea4e79
] - doc: add vmoroz to collaborators (Vladimir Morozov) #48527 - [
5cacdf9e6b
] - doc: add kvakil to collaborators (Keyhan Vakil) #48449 - [
504d1d7bdc
] - (SEMVER-MINOR) tls: add ALPNCallback server option for dynamic ALPN negotiation (Tim Perry) #45190
Commits
- [
8a611a387f
] - benchmark: add bar.R (Rafael Gonzaga) #47729 - [
12fa716cf9
] - benchmark: refactor crypto oneshot (Filip Skokan) #48267 - [
d6ecbde592
] - benchmark: add crypto.create*Key (Filip Skokan) #48284 - [
e60b6dedd8
] - bootstrap: unify snapshot builder and embedder entry points (Joyee Cheung) #48242 - [
40662957b1
] - bootstrap: simplify initialization of source map handlers (Joyee Cheung) #48304 - [
6551538079
] - build: fixconfigure --link-module
(Richard Lau) #48522 - [
f7f32089e7
] - build: sync libuv header change (Jiawen Geng) #48429 - [
f60205c915
] - build: update action to close stale MRs (Michael Dawson) #48196 - [
4f4d0b802e
] - child_process: improve spawn performance on Linux (Keyhan Vakil) #48523 - [
fe333d2584
] - crypto: update root certificates to NSS 3.90 (Node.js GitHub Bot) #48416 - [
89aaf16237
] - crypto: remove OPENSSL_FIPS guard for OpenSSL 3 (Richard Lau) #48392 - [
6199e1946c
] - deps: upgrade to libuv 1.46.0 (Santiago Gimeno) #48618 - [
1b2b930fda
] - deps: add loong64 config into openssl gypi (Shi Pujin) #48043 - [
ba8d048929
] - deps: update acorn to 8.9.0 (Node.js GitHub Bot) #48484 - [
d96f921d06
] - deps: update zlib to 1.2.13.1-motley-f81f385 (Node.js GitHub Bot) #48541 - [
ed1d047e8f
] - deps: update googletest toec4fed9
(Node.js GitHub Bot) #48538 - [
f43d718c67
] - deps: update minimatch to 9.0.2 (Node.js GitHub Bot) #48542 - [
2f66147cbf
] - deps: update corepack to 0.19.0 (Node.js GitHub Bot) #48540 - [
d91b0fde73
] - deps: V8: cherry-pick1a782f6
(Keyhan Vakil) #48523 - [
112335e342
] - deps: update corepack to 0.18.1 (Node.js GitHub Bot) #48483 - [
2b141c413f
] - deps: update icu to 73.2 (Node.js GitHub Bot) #48502 - [
188b34d4a1
] - deps: upgrade npm to 9.7.2 (npm team) #48514 - [
bf0444b5d9
] - deps: update zlib to 1.2.13.1-motley-3ca9f16 (Node.js GitHub Bot) #48413 - [
b339d80a56
] - deps: upgrade npm to 9.7.1 (npm team) #48378 - [
4132931b87
] - deps: update simdutf to 3.2.14 (Node.js GitHub Bot) #48344 - [
8cd56c1e85
] - deps: update ada to 2.5.1 (Node.js GitHub Bot) #48319 - [
78cffcd645
] - deps: update zlib to982b036
(Node.js GitHub Bot) #48327 - [
6d00c2e33b
] - doc: fix options order (Luigi Pinca) #48617 - [
7ad2d3a5d1
] - doc: update security release stewards (Rafael Gonzaga) #48569 - [
cc3a056fdd
] - doc: update return type for describe (Shrujal Shah) #48572 - [
99ae0b98af
] - doc: run license-builder (github-actions[bot]) #48552 - [
9750d8205c
] - doc: add description of autoAllocateChunkSize in ReadableStream (Debadree Chatterjee) #48004 - [
417927bb41
] - doc: fixfilename
type inwatch
result (Dmitry Semigradsky) #48032 - [
ca2ae86bd7
] - doc: unnestmime
andMIMEParams
from MIMEType constructor (Dmitry Semigradsky) #47950 - [
bda1228135
] - doc: update security-release-process.md (Rafael Gonzaga) #48504 - [
60c2ea4e79
] - doc: add vmoroz to collaborators (Vladimir Morozov) #48527 - [
37bc0eac4a
] - doc: improve inspector.close() description (mary marchini) #48494 - [
2a403cdad5
] - doc: link to Runtime Keys in export conditions (Jacob Hummer) #48408 - [
e2d579e644
] - doc: update fs flags documentation (sinkhaha) #48463 - [
38bf290115
] - doc: reviseerror.md
introduction (Antoine du Hamel) #48423 - [
641a2e9c6d
] - doc: add preveen-stack to triagers (Preveen P) #48387 - [
4ab5e8d2e3
] - doc: refine when file is undefined in test events (Moshe Atlow) #48451 - [
5cacdf9e6b
] - doc: add kvakil to collaborators (Keyhan Vakil) #48449 - [
b9c643e3ef
] - doc: add additional info on TSFN dispatch (Michael Dawson) #48367 - [
17a0e1d1bf
] - doc: add link for news from security wg (Michael Dawson) #48396 - [
3a62994a4f
] - doc: fix typo in events.md (Darshan Sen) #48436 - [
e10a4cdf68
] - doc: run license-builder (github-actions[bot]) #48336 - [
19fde638fd
] - fs: call the callback with an error if writeSync fails (killa) #47949 - [
4cad9fd8bd
] - fs: remove unneeded return statement (Luigi Pinca) #48526 - [
d367b73f43
] - fs: use kResistStopPropagation (Chemi Atlow) #48521 - [
e50c3169af
] - fs, stream: initialSymbol.dispose
andSymbol.asyncDispose
support (Moshe Atlow) #48518 - [
7d8a0b6eb7
] - http: null the joinDuplicateHeaders property on cleanup (Luigi Pinca) #48608 - [
94ebb02f59
] - http: server add async dispose (atlowChemi) #48548 - [
c6a69e31a3
] - http: remove useless ternary in test (geekreal) #48481 - [
2f0f40328f
] - http: fix for handling on boot timers headers and request (Franciszek Koltuniuk) #48291 - [
5378ad8ab1
] - http2: server addasyncDispose
(atlowChemi) #48548 - [
97a58c5970
] - https: server addasyncDispose
(atlowChemi) #48548 - [
40ae6eb6aa
] - https: fix connection checking interval not clearing on server close (Nitzan Uziely) #48383 - [
15530fea4c
] - lib: merge cjs and esm package json reader caches (Yagiz Nizipli) #48477 - [
32bda81c31
] - lib: reduce url getters onmakeRequireFunction
(Yagiz Nizipli) #48492 - [
0da03f01ba
] - lib: remove duplicated requires in check_syntax (Yagiz Nizipli) #48508 - [
97b00c347d
] - lib: add option to force handling stopped events (Chemi Atlow) #48301 - [
fe16749649
] - lib: fix output message when repl is used with pm (Rafael Gonzaga) #48438 - [
8c2c02d28a
] - lib: create weakRef only if any signals provided (Chemi Atlow) #48448 - [
b6ae411ea9
] - lib: remove obsolete deletion of bufferBinding.zeroFill (Chengzhong Wu) #47881 - [
562b3d4856
] - lib: move web global bootstrapping to the expected file (Chengzhong Wu) #47881 - [
f9c0d5acac
] - lib: fix blob.stream() causing hanging promises (Debadree Chatterjee) #48232 - [
0162a0f5bf
] - lib: add support for inherited custom inspection methods (Antoine du Hamel) #48306 - [
159ab6627a
] - lib: reduce URL invocations on http2 origins (Yagiz Nizipli) #48338 - [
f0709fdc59
] - module: add SourceMap.findOrigin (Isaac Z. Schlueter) #47790 - [
4ec2d925b1
] - module: reduce url invocations in esm/load.js (Yagiz Nizipli) #48337 - [
2c363971cc
] - net: improve network family autoselection handle handling (Paolo Insogna) #48464 - [
dbf9e9ffc8
] - node-api: provide napi_define_properties fast path (Gabriel Schulhof) #48440 - [
87ad657777
] - node-api: implement external strings (Gabriel Schulhof) #48339 - [
4efa6807ea
] - permission: handle end nodes with children cases (Rafael Gonzaga) #48531 - [
84fe811108
] - repl: display dynamic import variant in static import error messages (Hemanth HM) #48129 - [
bdcc037470
] - report: disable js stack when no context is entered (Chengzhong Wu) #48495 - [
97bd9ccd04
] - src: fix uninitialized field access in AsyncHooks (Jan Olaf Krems) #48566 - [
404958fc96
] - src: fix Coverity issue regarding unnecessary copy (Yagiz Nizipli) #48565 - [
c4b8edea24
] - src: refactorSplitString
in util (Yagiz Nizipli) #48491 - [
5bc13a4772
] - src: revert IS_RELEASE (Rafael Gonzaga) #48505 - [
4971e46051
] - src: add V8 fast api toguessHandleType
(Yagiz Nizipli) #48349 - [
954e46e792
] - src: return uint32 forguessHandleType
(Yagiz Nizipli) #48349 - [
05009675da
] - src: make realm binding data store weak (Chengzhong Wu) #47688 - [
120ac74352
] - src: remove aliased buffer weak callback (Chengzhong Wu) #47688 - [
6591826e99
] - src: handle wasm out of bound in osx will raise SIGBUS correctly (Congcong Cai) #46561 - [
1b84ddeec2
] - src: implement constants binding directly (Joyee Cheung) #48186 - [
06d49c1f10
] - src: implement natives binding without special casing (Joyee Cheung) #48186 - [
325441abf5
] - src: add missing to_ascii method in dns queries (Daniel Lemire) #48354 - [
84d0eb74b8
] - stream: fix premature pipeline end (Robert Nagy) #48435 - [
3df7368735
] - test: add missing assertions to test-runner-cli (Moshe Atlow) #48593 - [
07eb310b0d
] - test: remove test-crypto-keygen flaky designation (Luigi Pinca) #48575 - [
75aa0a7682
] - test: remove test-timers-immediate-queue flaky designation (Luigi Pinca) #48575 - [
a9756f3126
] - test: add Symbol.dispose support to mock timers (Benjamin Gruenbaum) #48549 - [
0f912a7248
] - test: mark test-child-process-stdio-reuse-readable-stdio flaky (Luigi Pinca) #48537 - [
30f4bc4985
] - test: make IsolateData per-isolate in cctest (Joyee Cheung) #48450 - [
407ce3fdcb
] - test: define NAPI_VERSION before including node_api.h (Chengzhong Wu) #48376 - [
24a8fa95f0
] - test: remove unnecessary noop function args tomustNotCall()
(Antoine du Hamel) #48513 - [
09af579775
] - test: skip test-runner-watch-mode on IBMi (Moshe Atlow) #48473 - [
77cb1ee0b2
] - test: add missing <algorithm> include for std::find (Sam James) #48380 - [
7c790ca03c
] - test: fix flaky test-watch-mode (Moshe Atlow) #48147 - [
1398829746
] - test: fixtest-net-autoselectfamily
for kernel without IPv6 support (Livia Medeiros) #48265 - [
764119ba4b
] - test: update url web-platform tests (Yagiz Nizipli) #48319 - [
f1ead59629
] - test: ignore the copied entry_point.c (Luigi Pinca) #48297 - [
fc5d1bddcb
] - test: refactor test-gc-http-client-timeout (Luigi Pinca) #48292 - [
46a3d068a0
] - test: update encoding web-platform tests (Yagiz Nizipli) #48320 - [
141e5aad83
] - test: update FileAPI web-platform tests (Yagiz Nizipli) #48322 - [
83cfc67099
] - test: update user-timing web-platform tests (Yagiz Nizipli) #48321 - [
2c56835a33
] - test_runner: fixedtest
shorthands return type (Shocker) #48555 - [
7d01c8894a
] - (SEMVER-MINOR) test_runner: add initial draft for fakeTimers (Erick Wendel) #47775 - [
de4f14c249
] - test_runner: add enqueue and dequeue events (Moshe Atlow) #48428 - [
5ebe3a4ea7
] - test_runner: make--test-name-pattern
recursive (Moshe Atlow) #48382 - [
93bf447308
] - test_runner: refactor coverage report output for readability (Damien Seguin) #47791 - [
504d1d7bdc
] - (SEMVER-MINOR) tls: add ALPNCallback server option for dynamic ALPN negotiation (Tim Perry) #45190 - [
203c3cf4ca
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #48544 - [
333907b19d
] - tools: speedup compilation of js2c output (Keyhan Vakil) #48160 - [
10bd5f4d97
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #48486 - [
52de27b9fe
] - tools: pin ruff version number (Rich Trott) #48505 - [
4345526644
] - tools: replace sed with perl (Luigi Pinca) #48499 - [
6c590835f3
] - tools: automate update openssl v16 (Marco Ippolito) #48377 - [
90b5335338
] - tools: update eslint to 8.43.0 (Node.js GitHub Bot) #48487 - [
cd83530a11
] - tools: update doc to to-vfile@8.0.0 (Node.js GitHub Bot) #48485 - [
e500b439bd
] - tools: prepare tools/doc for to-vfile 8.0.0 (Rich Trott) #48485 - [
d623616813
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #48417 - [
a2e107dde4
] - tools: update create-or-update-pull-request-action (Richard Lau) #48398 - [
8009e2c3be
] - tools: update eslint-plugin-jsdoc (Richard Lau) #48393 - [
10385c8565
] - tools: add version update to external dependencies (Andrea Fassina) #48081 - [
b1cef81b18
] - tools: update eslint to 8.42.0 (Node.js GitHub Bot) #48328 - [
0923dc0b8e
] - tools: disable jsdoc/no-defaults rule (Luigi Pinca) #48328 - [
b03146da85
] - typings: remove unused primordials (Yagiz Nizipli) #48509 - [
e9c9d187b9
] - typings: fix JSDoc in ESM loader modules (Antoine du Hamel) #48424 - [
fafe651d23
] - url: conform to origin getter spec changes (Yagiz Nizipli) #48319
v20.3.1
: 2023-06-20, Version 20.3.1 (Current), @RafaelGSS
This is a security release.
Notable Changes
The following CVEs are fixed in this release:
-
CVE-2023-30581:
mainModule.__proto__
Bypass Experimental Policy Mechanism (High) - CVE-2023-30584: Path Traversal Bypass in Experimental Permission Model (High)
- CVE-2023-30587: Bypass of Experimental Permission Model via Node.js Inspector (High)
- CVE-2023-30582: Inadequate Permission Model Allows Unauthorized File Watching (Medium)
- CVE-2023-30583: Bypass of Experimental Permission Model via fs.openAsBlob() (Medium)
- CVE-2023-30585: Privilege escalation via Malicious Registry Key manipulation during Node.js installer repair process (Medium)
- CVE-2023-30586: Bypass of Experimental Permission Model via Arbitrary OpenSSL Engines (Medium)
- CVE-2023-30588: Process interuption due to invalid Public Key information in x509 certificates (Medium)
- CVE-2023-30589: HTTP Request Smuggling via Empty headers separated by CR (Medium)
- CVE-2023-30590: DiffieHellman does not generate keys after setting a private key (Medium)
- OpenSSL Security Releases
More detailed information on each of the vulnerabilities can be found in June 2023 Security Releases blog post.
Commits
- [
dac08dafc9
] - crypto: handle cert with invalid SPKI gracefully (Tobias Nießen) nodejs-private/node-private#393 - [
d274c3babc
] - crypto,https,tls: disable engines if perms enabled (Tobias Nießen) nodejs-private/node-private#409 - [
5621c1de38
] - deps: update archs files for openssl-3.0.9-quic1 (Node.js GitHub Bot) #48402 - [
771caa9f1c
] - deps: upgrade openssl sources to quictls/openssl-3.0.9-quic1 (Node.js GitHub Bot) #48402 - [
0459bf9c99
] - doc,test: clarify behavior of DH generateKeys (Tobias Nießen) nodejs-private/node-private#426 - [
27e20501aa
] - http: disable request smuggling via empty headers (Paolo Insogna) nodejs-private/node-private#427 - [
9c17e335f1
] - msi: do not create AppData\Roaming\npm (Tobias Nießen) nodejs-private/node-private#408 - [
b51124c637
] - permission: handle fs path traversal (RafaelGSS) nodejs-private/node-private#403 - [
ebc5927adc
] - permission: handle fs.openAsBlob (RafaelGSS) nodejs-private/node-private#405 - [
c39a43bff5
] - permission: handle fs.watchFile (RafaelGSS) nodejs-private/node-private#404 - [
d0a8264ec9
] - policy: handle mainModule.__proto__ bypass (RafaelGSS) nodejs-private/node-private#416 - [
3df13d5a79
] - src,permission: restrict inspector when pm enabled (RafaelGSS) nodejs-private/node-private#410
v20.3.0
: 2023-06-08, Version 20.3.0 (Current), @targos
Notable Changes
- [
bfcb3d1d9a
] - deps: upgrade to libuv 1.45.0, including significant performance improvements to file system operations on Linux (Santiago Gimeno) #48078 - [
5094d1b292
] - doc: add Ruy Adorno to list of TSC members (Michael Dawson) #48172 - [
2f5dbca690
] - doc: mark Node.js 14 as End-of-Life (Richard Lau) #48023 - [
b1828b325e
] - (SEMVER-MINOR) lib: implementAbortSignal.any()
(Chemi Atlow) #47821 - [
f380953103
] - module: change default resolver to not throw on unknown scheme (Gil Tayar) #47824 - [
a94f87ed99
] - (SEMVER-MINOR) node-api: define version 9 (Chengzhong Wu) #48151 - [
9e2b13dfa7
] - stream: deprecateasIndexedPairs
(Chemi Atlow) #48102
Commits
- [
35c96156d1
] - benchmark: usecluster.isPrimary
instead ofcluster.isMaster
(Deokjin Kim) #48002 - [
3e6e3abf32
] - bootstrap: throw ERR_NOT_SUPPORTED_IN_SNAPSHOT in unsupported operation (Joyee Cheung) #47887 - [
c480559347
] - bootstrap: put is_building_snapshot state in IsolateData (Joyee Cheung) #47887 - [
50c0a15535
] - build: set v8_enable_webassembly=false when lite mode is enabled (Cheng Shao) #48248 - [
4562805cf6
] - build: speed up compilation of mksnapshot output (Keyhan Vakil) #48162 - [
8b89f13933
] - build: add action to close stale MRs (Michael Dawson) #48051 - [
5d92202220
] - build: replace js2c.py with js2c.cc (Joyee Cheung) #46997 - [
6cf2adc36e
] - cluster: use ObjectPrototypeHasOwnProperty (Daeyeon Jeong) #48141 - [
f564b03c38
] - crypto: use openssl's own memory BIOs in crypto_context.cc (GauriSpears) #47160 - [
ac8dd61fc3
] - crypto: remove default encoding from cipher (Tobias Nießen) #47998 - [
15c2de4407
] - crypto: fix setEngine() when OPENSSL_NO_ENGINE set (Tobias Nießen) #47977 - [
9e2dd5b5e2
] - deps: update zlib to337322d
(Node.js GitHub Bot) #48218 - [
bfcb3d1d9a
] - deps: upgrade to libuv 1.45.0 (Santiago Gimeno) #48078 - [
13930f092f
] - deps: update ada to 2.5.0 (Node.js GitHub Bot) #48223 - [
3047caebec
] - deps: setCARES_RANDOM_FILE
for c-ares (Richard Lau) #48156 - [
0db79a0872
] - deps: update histogram 0.11.8 (Marco Ippolito) #47742 - [
99af6716f5
] - deps: update histogram to 0.11.7 (Marco Ippolito) #47742 - [
d4922bc985
] - deps: update c-ares to 1.19.1 (Node.js GitHub Bot) #48115 - [
f6ccdb289f
] - deps: update simdutf to 3.2.12 (Node.js GitHub Bot) #48118 - [
3ed0afc778
] - deps: update minimatch to 9.0.1 (Node.js GitHub Bot) #48094 - [
df7540fb73
] - deps: update ada to 2.4.2 (Node.js GitHub Bot) #48092 - [
07df5c48e8
] - deps: update corepack to 0.18.0 (Node.js GitHub Bot) #48091 - [
d95a5bb559
] - deps: update uvwasi to 0.0.18 (Node.js GitHub Bot) #47866 - [
443477e041
] - deps: update uvwasi to 0.0.17 (Node.js GitHub Bot) #47866 - [
03f67d6d6d
] - deps: upgrade npm to 9.6.7 (npm team) #48062 - [
d3e3a911fd
] - deps: update nghttp2 to 1.53.0 (Node.js GitHub Bot) #47997 - [
f7c4daaf67
] - deps: update ada to 2.4.1 (Node.js GitHub Bot) #48036 - [
c6a752560d
] - deps: add loongarch64 into openssl Makefile and gen openssl-loongarch64 (Shi Pujin) #46401 - [
d194241716
] - deps: update undici to 5.22.1 (Node.js GitHub Bot) #47994 - [
02e919f4a2
] - deps,test: update postject to 1.0.0-alpha.6 (Node.js GitHub Bot) #48072 - [
2c19f596ad
] - doc: clarify array args to Buffer.from() (Bryan English) #48274 - [
d681e5f456
] - doc: document watch option for node:test run() (Moshe Atlow) #48256 - [
96e54ddbca
] - doc: reserve 117 for Electron 26 (Calvin) #48245 - [
9aff8c7818
] - doc: update documentation for FIPS support (Richard Lau) #48194 - [
8c5338648f
] - doc: improve the documentation of the stdio option (Kumar Arnav) #48110 - [
11918d705f
] - doc: update Buffer.allocUnsafe description (sinkhaha) #48183 - [
2b51ee5e22
] - doc: update codeowners with website team (Claudio Wunder) #48197 - [
360df25d04
] - doc: fix broken link to new folder doc/contributing/maintaining (Andrea Fassina) #48205 - [
13e95e21a4
] - doc: add atlowChemi to triagers (Chemi Atlow) #48104 - [
5f83ce530f
] - doc: fix typo in readline completer function section (Vadym) #48188 - [
3c82165d27
] - doc: remove broken link for keygen (Rich Trott) #48176 - [
0ca90a1e6d
] - doc: addauto
intrinsic height to prevent jitter/flicker (Daniel Holbert) #48195 - [
f117855092
] - doc: add version info on the SEA docs (Antoine du Hamel) #48173 - [
5094d1b292
] - doc: add Ruy to list of TSC members (Michael Dawson) #48172 - [
39d8140227
] - doc: update socket.remote* properties documentation (Saba Kharanauli) #48139 - [
5497c13efe
] - doc: update outdated section on TLSv1.3-PSK (Tobias Nießen) #48123 - [
281dfaf727
] - doc: improve HMAC key recommendations (Tobias Nießen) #48121 - [
bd311b6c70
] - doc: clarify mkdir() recursive behavior (Stephen Odogwu) #48109 - [
5b061c8922
] - doc: fix typo in crypto legacy streams API section (Tobias Nießen) #48122 - [
10ccb2bd81
] - doc: update SEA source link (Rich Trott) #48080 - [
415bf7f532
] - doc: clarify tty.isRaw (Roberto Vidal) #48055 - [
0ac4b33c76
] - doc: correct line break for Windows terminals (Alex Schwartz) #48083 - [
f30ba5c320
] - doc: fix Windows code snippet tags (Antoine du Hamel) #48100 - [
12fef9b68c
] - doc: harmonize fenced code snippet flags (Antoine du Hamel) #48082 - [
13f163eace
] - doc: use secure key length for HMAC generateKey (Tobias Nießen) #48052 - [
1e3e7c9f33
] - doc: update broken EVP_BytesToKey link (Rich Trott) #48064 - [
5917ba1838
] - doc: update broken spkac link (Rich Trott) #48063 - [
0e4a3b7db1
] - doc: document node-api version process (Chengzhong Wu) #47972 - [
85bbaa94ea
] - doc: update process.versions properties (Saba Kharanauli) #48019 - [
7660eb591a
] - doc: fix typo in binding functions (Deokjin Kim) #48003 - [
2f5dbca690
] - doc: mark Node.js 14 as End-of-Life (Richard Lau) #48023 - [
3b94a739f2
] - doc: clarify CRYPTO_CUSTOM_ENGINE_NOT_SUPPORTED (Tobias Nießen) #47976 - [
9e381cfa89
] - doc: add heading for permission model limitations (Tobias Nießen) #47989 - [
802db923e0
] - doc,vm: clarify usage of cachedData in vm.compileFunction() (Darshan Sen) #48193 - [
11a3434810
] - esm: remove support for arrays inimport
internal method (Antoine du Hamel) #48296 - [
3b00f3afef
] - esm: handleglobalPreload
hook returning a nullish value (Antoine du Hamel) #48249 - [
3c7846d7e1
] - esm: handle more error types thrown from the loader thread (Antoine du Hamel) #48247 - [
60ce2bcabc
] - http: send implicit headers on HEAD with no body (Matteo Collina) #48108 - [
72de4e7170
] - lib: do not disable linter for entire files (Antoine du Hamel) #48299 - [
10cc60fc91
] - lib: use existingisWindows
variable (sinkhaha) #48134 - [
a90010aae9
] - lib: support FORCE_COLOR for non TTY streams (Moshe Atlow) #48034 - [
b1828b325e
] - (SEMVER-MINOR) lib: implement AbortSignal.any() (Chemi Atlow) #47821 - [
8f1b86961f
] - meta: bump github/codeql-action from 2.3.3 to 2.3.6 (dependabot[bot]) #48287 - [
1b87ccdf70
] - meta: bump actions/setup-python from 4.6.0 to 4.6.1 (dependabot[bot]) #48286 - [
10715aea26
] - meta: bump codecov/codecov-action from 3.1.3 to 3.1.4 (dependabot[bot]) #48285 - [
79f73778ab
] - meta: remove dont-land-on-v14 auto labeling (Shrujal Shah) #48031 - [
9c5711f3ea
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #48010 - [
6d6bf3ee52
] - module: reduce the number of URL initializations (Yagiz Nizipli) #48272 - [
f380953103
] - module: change default resolver to not throw on unknown scheme (Gil Tayar) #47824 - [
950185b0c0
] - net: fix address iteration with autoSelectFamily (Fedor Indutny) #48258 - [
5ddca72e62
] - net: fix family autoselection SSL connection handling (Paolo Insogna) #48189 - [
750e53ca3c
] - net: fix family autoselection timeout handling (Paolo Insogna) #47860 - [
a94f87ed99
] - (SEMVER-MINOR) node-api: define version 9 (Chengzhong Wu) #48151 - [
e834979818
] - node-api: add status napi_cannot_run_js (Gabriel Schulhof) #47986 - [
eafe0c3ec6
] - node-api: napi_ref on all types is experimental (Vladimir Morozov) #47975 - [
9a034746f5
] - src: add Realm document in the src README.md (Chengzhong Wu) #47932 - [
b8f4070f71
] - src: check node_extra_ca_certs after openssl cfg (Raghu Saxena) #48159 - [
0347a18056
] - src: include missing header in node_sea.h (Joyee Cheung) #48152 - [
45c3782c20
] - src: remove INT_MAX asserts in SecretKeyGenTraits (Tobias Nießen) #48053 - [
b25e7045ad
] - src: avoid prototype access in binding templates (Joyee Cheung) #47913 - [
33aa373eec
] - src: use Blob{Des|S}erializer for SEA blobs (Joyee Cheung) #47962 - [
9e2b13dfa7
] - stream: deprecate asIndexedPairs (Chemi Atlow) #48102 - [
96c323dee2
] - test: mark test-child-process-pipe-dataflow as flaky (Moshe Atlow) #48334 - [
9875885357
] - test: adapt tests for OpenSSL 3.1 (OttoHollmann) #47859 - [
3440d7c6bf
] - test: unflake test-vm-timeout-escape-nexttick (Santiago Gimeno) #48078 - [
215b2bc72c
] - test: fix zlib version regex (Luigi Pinca) #48227 - [
e12ee59d26
] - test: use lower security level in s_client (Luigi Pinca) #48192 - [
1dabc7390c
] - Revert "test: unskip negative-settimeout.any.js WPT" (Filip Skokan) #48182 - [
c1c4796a86
] - test: mark test_cannot_run_js as flaky (Keyhan Vakil) #48181 - [
8c49d74002
] - test: fix flaky test-runner-watch-mode (Moshe Atlow) #48144 - [
6388766862
] - test: skip test-http-pipeline-flood on IBM i (Abdirahim Musse) #48048 - [
8d2a3b1952
] - test: ignore helper files in WPTs (Filip Skokan) #48079 - [
7a96d825fd
] - test: movetest-cluster-primary-error
flaky test (Yagiz Nizipli) #48039 - [
a80dd3a8b3
] - test: fix suite signal (Benjamin Gruenbaum) #47800 - [
a41cfd183f
] - test: fix parsing test flags (Daeyeon Jeong) #48012 - [
4d4e506f2b
] - test,doc,sea: run SEA tests on ppc64 (Darshan Sen) #48111 - [
44411fc40c
] - test_runner: applyrunOnly
on suites (Moshe Atlow) #48279 - [
3f259b7a30
] - test_runner: emittest:watch:drained
event (Moshe Atlow) #48259 - [
c9f8e8c562
] - test_runner: stop watch mode when abortSignal aborted (Moshe Atlow) #48259 - [
f3268d64cb
] - test_runner: fix global after hook (Moshe Atlow) #48231 - [
15336c3139
] - test_runner: remove redundant check from coverage (Colin Ihrig) #48070 - [
750d3e8606
] - test_runner: pass FORCE_COLOR to child process (Moshe Atlow) #48057 - [
3278542243
] - test_runner: dont split lines ontest:stdout
(Moshe Atlow) #48057 - [
027c531766
] - test_runner: fix test deserialize edge cases (Moshe Atlow) #48106 - [
2b797a6d39
] - test_runner: delegate stderr and stdout formatting to reporter (Shiba) #48045 - [
23d310bee8
] - test_runner: display dot report as wide as the terminal width (Raz Luvaton) #48038 - [
fd2620dcf1
] - tls: reapply servername on happy eyeballs connect (Fedor Indutny) #48255 - [
62f847d0b3
] - tools: update rollup lint-md-dependencies (Node.js GitHub Bot) #48329 - [
3e97826a66
] - Revert "tools: open issue when update workflow fails" (Marco Ippolito) #48312 - [
5f08bfe35f
] - tools: don't gitignore base64 config.h (Ben Noordhuis) #48174 - [
ded0e2d755
] - tools: update LICENSE and license-builder.sh (Santiago Gimeno) #48078 - [
07aa264366
] - tools: automate histogram update (Marco Ippolito) #48171 - [
1416b75eaa
] - tools: use shasum instead of sha256sum (Luigi Pinca) #48229 - [
b81e9d9b7b
] - tools: harmonizedep_updaters
scripts (Antoine du Hamel) #48201 - [
a60bc41e53
] - tools: deps update authenticate github api request (Andrea Fassina) #48200 - [
7478ed014e
] - tools: order dependency jobs alphabetically (Luca) #48184 - [
568a705799
] - tools: refactor v8_pch config (Michaël Zasso) #47364 - [
801573ba46
] - tools: log and verify sha256sum (Andrea Fassina) #48088 - [
db62325e18
] - tools: open issue when update workflow fails (Marco Ippolito) #48018 - [
ad8a68856d
] - tools: alphabetize CODEOWNERS (Rich Trott) #48124 - [
4cf5a9edaf
] - tools: use latest upstream commit for zlib updates (Andrea Fassina) #48054 - [
8d93af381b
] - tools: add security-wg as dep updaters owner (Marco Ippolito) #48113 - [
5325be1d99
] - tools: port js2c.py to C++ (Joyee Cheung) #46997 - [
6c60d90277
] - tools: fix race condition when npm installing (Tobias Nießen) #48101 - [
0ab840a58f
] - tools: refloat 7 Node.js patches to cpplint.py (Rich Trott) #48098 - [
a298193378
] - tools: update cpplint to 1.6.1 (Yagiz Nizipli) #48098 - [
f6725751b7
] - tools: update eslint to 8.41.0 (Node.js GitHub Bot) #48097 - [
6539361f4e
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #48096 - [
5d94dbb951
] - tools: update doc to remark-parse@10.0.2 (Node.js GitHub Bot) #48095 - [
2226088048
] - tools: add debug logs (Marco Ippolito) #48060 - [
0c8c383583
] - tools: fix zconf.h path (Luigi Pinca) #48089 - [
6adaf4c648
] - tools: update remark-preset-lint-node to 4.0.0 (Node.js GitHub Bot) #47995 - [
92b3334231
] - url: clean vertical alignment of docs (Robin Ury) #48037 - [
ebb6536775
] - url: callada::can_parse
directly (Yagiz Nizipli) #47919 - [
ed4514294a
] - vm: properly handle defining symbol props (Nicolas DUBIEN) #47572
v20.2.0
: 2023-05-16, Version 20.2.0 (Current), @targos
Notable Changes
- [
c092df9094
] - doc: add ovflowd to collaborators (Claudio Wunder) #47844 - [
4197a9a5a0
] - (SEMVER-MINOR) http: prevent writing to the body when not allowed by HTTP spec (Gerrard Lindsay) #47732 - [
c4596b9ce7
] - (SEMVER-MINOR) sea: add option to disable the experimental SEA warning (Darshan Sen) #47588 - [
17befe008c
] - (SEMVER-MINOR) test_runner: addskip
,todo
, andonly
shorthands totest
(Chemi Atlow) #47909 - [
a0634d7f89
] - (SEMVER-MINOR) url: add value argument toURLSearchParams
has
anddelete
methods (Sankalp Shubham) #47885
Commits
- [
456fca0d9c
] - bootstrap: initialize per-isolate properties of bindings separately (Joyee Cheung) #47768 - [
d6d12bf978
] - bootstrap: log isolate data info in mksnapshot debug logs (Joyee Cheung) #47768 - [
e457d89a1b
] - buffer: combine checking range of sourceStart inbuf.copy
(Deokjin Kim) #47758 - [
00668fcfb4
] - child_process: use signal.reason in child process abort (Debadree Chatterjee) #47817 - [
d7993474ea
] - crypto: remove default encoding from scrypt (Tobias Nießen) #47943 - [
09fb74a7cc
] - crypto: fix webcrypto private/secret import with empty usages (Filip Skokan) #47877 - [
e9c6ee74f3
] - crypto: remove default encoding from pbkdf2 (Tobias Nießen) #47869 - [
b7f13a8679
] - deps: update simdutf to 3.2.9 (Node.js GitHub Bot) #47983 - [
b16f6da153
] - deps: V8: cherry-pick5f025d1
(Michaël Zasso) #47610 - [
99f8fcab45
] - deps: V8: cherry-picka8a11a8
(Michaël Zasso) #47610 - [
c2b14b4c78
] - deps: update ada to 2.4.0 (Node.js GitHub Bot) #47922 - [
cad42e7a56
] - deps: V8: cherry-pick1b471b7
(Lu Yahan) #47399 - [
7b2f17ca59
] - deps: upgrade npm to 9.6.6 (npm team) #47862 - [
d23b1af562
] - deps: update ada to 2.3.1 (Node.js GitHub Bot) #47893 - [
72340c98fb
] - dgram: convert macro to template (Tobias Nießen) #47891 - [
9be922892f
] - dns: callada::idna::to_ascii
directly from c++ (Yagiz Nizipli) #47920 - [
4a1e97156a
] - doc: add missing deprecated blocks to cluster (Tobias Nießen) #47981 - [
13118a19ee
] - doc: update description of global (Tobias Nießen) #47969 - [
372796440b
] - doc: update measure memory rejection information (Yash Ladha) #41639 - [
7ecc6740e4
] - doc: fix broken link to TC39 import attributes proposal (Rich Trott) #47954 - [
b9771c95c7
] - doc: fix broken link (Rich Trott) #47953 - [
6f5ba92e61
] - doc: remove broken link (Rich Trott) #47942 - [
c9ffc555f1
] - doc: document make lint-md-clean (Matteo Collina) #47926 - [
7ed99e8ba5
] - doc: mark global object as legacy (Mert Can Altın) #47819 - [
bf39f2d252
] - doc: ntfs junction points must link to directories (Ben Noordhuis) #47907 - [
4dfc3890d8
] - doc: improvepermission.has
description (Daeyeon Jeong) #47875 - [
93f1aa2856
] - doc: fix params names (Dmitry Semigradsky) #47853 - [
9a362aa2fb
] - doc: update supported version of FreeBSD to 12.4 (Michaël Zasso) #47838 - [
89c70dc6e6
] - doc: add stability experimental to pm (Rafael Gonzaga) #47890 - [
f96fb2eee7
] - doc: swap Matteo with Rafael in the stewards (Rafael Gonzaga) #47841 - [
1666a146e3
] - doc: add valgrind suppression details (Kevin Eady) #47760 - [
e53e8231ff
] - doc: replace EOL versions in README (Tobias Nießen) #47833 - [
c092df9094
] - doc: add ovflowd to collaborators (Claudio Wunder) #47844 - [
f7106765b3
] - doc: update BUILDING.md previous versions links (Tobias Nießen) #47835 - [
811b43c215
] - doc,test: update the v8.startupSnapshot doc and test the example (Joyee Cheung) #47468 - [
1ec640ac70
] - esm: do not use'beforeExit'
on the main thread (Antoine du Hamel) #47964 - [
106dc612d6
] - fs: make readdir recursive algorithm iterative (Ethan Arrowood) #47650 - [
a0da2348a8
] - fs: move fs_use_promises_symbol to per-isolate symbols (Joyee Cheung) #47768 - [
4197a9a5a0
] - (SEMVER-MINOR) http: prevent writing to the body when not allowed by HTTP spec (Gerrard Lindsay) #47732 - [
a4d6543598
] - http2: improve nghttp2 error callback (Tobias Nießen) #47840 - [
a4fed6c580
] - lib: update comment (sinkhaha) #47884 - [
fd8bec7b2b
] - meta: bump step-security/harden-runner from 2.3.1 to 2.4.0 (Rich Trott) #47980 - [
f5b4b6d5dc
] - meta: bump github/codeql-action from 2.3.2 to 2.3.3 (Rich Trott) #47979 - [
c05c0a2359
] - meta: bump actions/setup-python from 4.5.0 to 4.6.0 (Rich Trott) #47968 - [
2a3d6d97cb
] - meta: add security-wg ping to permission.js (Rafael Gonzaga) #47941 - [
6c158e8dd1
] - meta: bump step-security/harden-runner from 2.2.1 to 2.3.1 (dependabot[bot]) #47808 - [
f7a8094d37
] - meta: bump actions/setup-python from 4.5.0 to 4.6.0 (dependabot[bot]) #47806 - [
0f58e48792
] - meta: bump actions/checkout from 3.3.0 to 3.5.2 (dependabot[bot]) #47805 - [
652b06dd82
] - meta: remove extra space in scorecard workflow (Mestery) #47805 - [
9f06eaccaf
] - meta: bump github/codeql-action from 2.2.9 to 2.3.2 (dependabot[bot]) #47809 - [
977fd7cf35
] - meta: bump codecov/codecov-action from 3.1.1 to 3.1.3 (dependabot[bot]) #47807 - [
c19385c154
] - module: refactor to usenormalizeRequirableId
in the CJS module loader (Darshan Sen) #47896 - [
739113f2fc
] - module: block requiringtest/reporters
without scheme (Moshe Atlow) #47831 - [
f489c6710c
] - (NODE-API-SEMVER-MAJOR) node-api: get Node API version used by addon (Vladimir Morozov) #45715 - [
7222f9d74b
] - path: indicate index of wrong resolve() parameter (sosoba) #47660 - [
7dd32f1536
] - permission: remove unused function declaration (Deokjin Kim) #47957 - [
af86625a05
] - permission: resolve reference to absolute path only for fs permission (Daeyeon Jeong) #47930 - [
1625ae11fe
] - quic: address recent coverity warning (Michael Dawson) #47753 - [
c4596b9ce7
] - (SEMVER-MINOR) sea: add option to disable the experimental SEA warning (Darshan Sen) #47588 - [
1a7fc186bc
] - sea: allow requiring core modules with the "node:" prefix (Darshan Sen) #47779 - [
786a1c5398
] - src: deduplicate X509Certificate::Fingerprint* (Tobias Nießen) #47978 - [
060c1d502b
] - src: stop copying code cache, part 2 (Keyhan Vakil) #47958 - [
1aec718619
] - (SEMVER-MINOR) src: add cjs_module_lexer_version base64_version (Jithil P Ponnan) #45629 - [
0c06bfd8dc
] - src: move BlobSerializerDeserializer to a separate header file (Darshan Sen) #47933 - [
bd553e7521
] - src: rename SKIP_CHECK_SIZE to SKIP_CHECK_STRLEN (Tobias Nießen) #47845 - [
190596c189
] - src: register external references for source code (Keyhan Vakil) #47055 - [
4293cc47f4
] - src: support V8 experimental shared values in messaging (Shu-yu Guo) #47706 - [
9bc5d78f0c
] - src: register ext reference for Fingerprint512 (Tobias Nießen) #47892 - [
a11507e23b
] - src: stop copying code cache (Keyhan Vakil) #47144 - [
515c9b8de6
] - src: clarify the parameter name inPermission::Apply
(Daeyeon Jeong) #47874 - [
c4217613f5
] - src: fix creating an ArrayBuffer from a Blob created withopenAsBlob
(Daeyeon Jeong) #47691 - [
4bc17fd67b
] - src: avoid strcmp() with Utf8Value (Tobias Nießen) #47827 - [
d358317f70
] - src: get binding data store directly from the realm (Joyee Cheung) #47437 - [
b04d51a0b5
] - src: prefer data accessor of string and vector (Mohammed Keyvanzadeh) #47750 - [
2952cc576c
] - src: add per-isolate SetFastMethod and Set[Fast]MethodNoSideEffect (Joyee Cheung) #47768 - [
010d2ecf94
] - test: mark test-esm-loader-http-imports as flaky (Tobias Nießen) #47987 - [
bb33c74c07
] - test: add getRandomValues return length (Jithil P Ponnan) #46357 - [
6e019586f7
] - test: unskip negative-settimeout.any.js WPT (Filip Skokan) #47946 - [
8f547afe5f
] - test: use appropriate usages for a negative import test (Filip Skokan) #47878 - [
7e34f77518
] - test: fix webcrypto wrap unwrap tests (Filip Skokan) #47876 - [
30f4f35244
] - test: fix output tests when path includes node version (Moshe Atlow) #47843 - [
54607bfd68
] - test: reduce WPT concurrency (Filip Skokan) #47834 - [
17945a2495
] - test: migrate a pseudo_tty test to use assertSnapshot (Moshe Atlow) #47803 - [
c9233679e8
] - test: fix WPT state when process exits but workers are still running (Filip Skokan) #47826 - [
34bfb69b5b
] - test: migrate message tests to use assertSnapshot (Moshe Atlow) #47498 - [
d25c785c2a
] - test: allow SIGBUS in signal-handler abort test (Michaël Zasso) #47851 - [
aa2c7e00d7
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #47921 - [
da27542058
] - test_runner: use v8.serialize instead of TAP (Moshe Atlow) #47867 - [
17befe008c
] - (SEMVER-MINOR) test_runner: add shorthands totest
(Chemi Atlow) #47909 - [
42db1d50a0
] - test_runner: fix ordering of test hooks (Phil Nash) #47931 - [
d81c54e3a8
] - test_runner: omit inaccessible files from coverage (Colin Ihrig) #47850 - [
a4e261e910
] - tools: debug log for nghttp3 (Marco Ippolito) #47992 - [
f6ff318d4c
] - tools: automate icu-small update (Marco Ippolito) #47727 - [
706c305381
] - tools: update lint-md-dependencies to rollup@3.21.5 (Node.js GitHub Bot) #47903 - [
e22c686ca9
] - tools: update eslint to 8.40.0 (Node.js GitHub Bot) #47906 - [
36f7cfac93
] - tools: update eslint to 8.39.0 (Node.js GitHub Bot) #47789 - [
7323902a40
] - tools: fix jsdoc lint (Moshe Atlow) #47789 - [
a0634d7f89
] - (SEMVER-MINOR) url: add value argument to has and delete methods (Sankalp Shubham) #47885 - [
1b06c1e003
] - url: improveisURL
detection (Yagiz Nizipli) #47886 - [
2bd869d20c
] - vm: fix crash when setting __proto__ on context's globalThis (Feng Yu) #47939 - [
e6685f9e82
] - vm,lib: refactor microtaskQueue assignment logic (Khaidi Chu) #47765 - [
47fea13dac
] - worker: support more cases when (de)serializing errors (Moshe Atlow) #47925 - [
6f3876c035
] - worker: use snapshot in workers spawned by workers (Joyee Cheung) #47731
v20.1.0
: 2023-05-03, Version 20.1.0 (Current), @targos
Notable Changes
- [
5e99598639
] - assert: deprecateCallTracker
(Moshe Atlow) #47740 - [
2d97c89c6f
] - crypto: update root certificates to NSS 3.89 (Node.js GitHub Bot) #47659 - [
ce8820e292
] - (SEMVER-MINOR) dns: exposegetDefaultResultOrder
(btea) #46973 - [
9d30f469aa
] - doc: add KhafraDev to collaborators (Matthew Aitken) #47510 - [
439ea47a77
] - (SEMVER-MINOR) fs: addrecursive
option toreaddir
andopendir
(Ethan Arrowood) #41439 - [
a54e898dc8
] - (SEMVER-MINOR) fs: add support formode
flag to specify the copy behavior of thecp
methods (Tetsuharu Ohzeki) #47084 - [
4fa773964b
] - (SEMVER-MINOR) http: addhighWaterMark
optionhttp.createServer
(HinataKah0) #47405 - [
2b411f4b42
] - (SEMVER-MINOR) stream: preserve object mode incompose
(Raz Luvaton) #47413 - [
5327483f31
] - (SEMVER-MINOR) test_runner: addtestNamePatterns
torun
API (Chemi Atlow) #47628 - [
bdd02a467d
] - (SEMVER-MINOR) test_runner: executebefore
hook on test (Chemi Atlow) #47586 - [
0e70c187bc
] - (SEMVER-MINOR) test_runner: support combining coverage reports (Colin Ihrig) #47686 - [
75c1d1b66e
] - (SEMVER-MINOR) wasi: makereturnOnExit
true by default (Michael Dawson) #47390
Commits
- [
33d1bd3e02
] - assert: deprecate callTracker (Moshe Atlow) #47740 - [
6d87355e83
] - benchmark: add eventtarget creation bench (Rafael Gonzaga) #47774 - [
40324a1dea
] - benchmark: differentiate whatwg and legacy url (Yagiz Nizipli) #47377 - [
936d7cb069
] - benchmark: add a benchmark fordefaultResolve
(Antoine du Hamel) #47543 - [
202042ee93
] - bootstrap: support namespaced builtins in snapshot scripts (Joyee Cheung) #47467 - [
30af5cee55
] - build: use pathlib for paths (Mohammed Keyvanzadeh) #47581 - [
089c9c51e9
] - build: refactor configure.py (Mohammed Keyvanzadeh) #47667 - [
5b851c8074
] - build: add devcontainer configuration (Tierney Cyren) #40825 - [
35e8b3b467
] - build: bump ossf/scorecard-action from 2.1.2 to 2.1.3 (dependabot[bot]) #47367 - [
78c08243df
] - build: replace Python linter flake8 with ruff (Christian Clauss) #47519 - [
2d97c89c6f
] - crypto: update root certificates to NSS 3.89 (Node.js GitHub Bot) #47659 - [
420feb41cf
] - crypto: remove INT_MAX restriction in randomBytes (Tobias Nießen) #47559 - [
6046779dd9
] - deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #47450 - [
00d461e93f
] - deps: V8: cherry-pickc5ab3e4
(Richard Lau) #47736 - [
d08dd8069f
] - deps: update ada to 2.3.0 (Node.js GitHub Bot) #47737 - [
996245976b
] - deps: update undici to 5.22.0 (Node.js GitHub Bot) #47679 - [
f3ee3126df
] - deps: update ada to 2.2.0 (Node.js GitHub Bot) #47678 - [
1391d3b9ff
] - deps: add minimatch as a dependency (Moshe Atlow) #47499 - [
315454350d
] - deps: update ada to 2.1.0 (Node.js GitHub Bot) #47598 - [
7f7735cad9
] - deps: update ICU to 73.1 release (Steven R. Loomis) #47456 - [
13105c12b7
] - deps: patch V8 to 11.3.244.8 (Michaël Zasso) #47536 - [
ede69d272a
] - deps: update undici to 5.21.2 (Node.js GitHub Bot) #47508 - [
64b5a5f872
] - deps: update simdutf to 3.2.8 (Node.js GitHub Bot) #47507 - [
2664536796
] - deps: V8: cherry-pick8e10685
(Jiawen Geng) #47440 - [
ba9ec91f0e
] - deps: update undici to 5.21.1 (Node.js GitHub Bot) #47488 - [
ce8820e292
] - (SEMVER-MINOR) dns: expose getDefaultResultOrder (btea) #46973 - [
4c26e28c33
] - doc: create maintaining folder for deps (Marco Ippolito) #47589 - [
aa0ef3eabd
] - doc: fix --allow-* CLI flag references (Tobias Nießen) #47804 - [
98603b6fd3
] - doc: clarify fs permissions only affect fs module (Tobias Nießen) #47782 - [
3befe5dac9
] - doc: add copy node executable guide on windows (XLor) #47781 - [
98450d9892
] - doc: remove MoLow from Triagers (Moshe Atlow) #47792 - [
d75036410d
] - doc: fix typo in webstreams.md (Christian Takle) #47766 - [
ceba37a74f
] - doc: move BethGriggs to regular member (Rich Trott) #47776 - [
b954ea9781
] - doc: mark signing the binary is macOS and Windows only in SEA (Xuguang Mei) #47722 - [
26bccbcd10
] - doc: move addaleax to TSC emeriti (Anna Henningsen) #47752 - [
20b0de242f
] - doc: add link to news for Node.js core (Michael Dawson) #47704 - [
5709133dc7
] - doc: fix a typo inpermissions.md
(Daeyeon Jeong) #47730 - [
c5c40a89f2
] - doc: async_hooks asynchronous content example add mjs code (btea) #47401 - [
a1403a8df2
] - doc: clarify concurrency model of test runner (Tobias Nießen) #47642 - [
c0c23fbe42
] - doc: fix a typo infs.openAsBlob
(Daeyeon Jeong) #47693 - [
4cef98812d
] - doc: fix typos (Mohammed Keyvanzadeh) #47685 - [
f30ef242ef
] - doc: fix capitalization of ASan (Mohammed Keyvanzadeh) #47676 - [
78a3503406
] - doc: fix typos in SECURITY.md (Mohammed Keyvanzadeh) #47677 - [
9101630e05
] - doc: update error code of buffer (Deokjin Kim) #47617 - [
183f0c3e79
] - doc: change offset of example inBuffer.copyBytesFrom
(Deokjin Kim) #47606 - [
d11ff4bc53
] - doc: improve fs permissions description (Tobias Nießen) #47596 - [
b58920c3a9
] - doc: remove markdown link from heading (Tobias Nießen) #47585 - [
c36634e880
] - doc: fix history ordering ofWASI
constructor (Antoine du Hamel) #47611 - [
d3fadd889d
] - doc: fix release-post script location (Rafael Gonzaga) #47517 - [
2a0bbe7883
] - doc: fix typo in webcrypto metadata (Tobias Nießen) #47595 - [
b0b16ee9f6
] - doc: add link for news from uvwasi team (Michael Dawson) #47531 - [
7ca416af15
] - doc: add missing setEncoding call in ESM example (Anna Henningsen) #47558 - [
f9abd59b41
] - doc: update darwin-x64 toolchain used for Node.js 20 releases (Michaël Zasso) #47546 - [
0dc508070f
] - doc: fix split infinitive in Hooks caveat (Jacob Smith) #47550 - [
4046280475
] - doc: fix typo in util.types.isNativeError() (Julian Dax) #47532 - [
9d30f469aa
] - doc: add KhafraDev to collaborators (Matthew Aitken) #47510 - [
537c17ec48
] - doc: create maintaining-brotli.md (Marco Ippolito) #47380 - [
09ff9eafd9
] - doc,fs: update description of fs.stat() method (Mert Can Altın) #47654 - [
185d6090cd
] - doc,test: fix concurrency option of test() (Tobias Nießen) #47734 - [
a793cf401d
] - esm: renameURLCanParse
to be consistent (Antoine du Hamel) #47668 - [
fbb6b72f87
] - esm: remove support for deprecated hooks (Antoine du Hamel) #47580 - [
c150976c4f
] - esm: initializeimport.meta
on eval (Antoine du Hamel) #47551 - [
55f70f6395
] - esm: propagateprocess.exit
from the loader thread to the main thread (Antoine du Hamel) #47548 - [
269482f61f
] - esm: avoid accessing lazy getters for urls (Yagiz Nizipli) #47542 - [
889add68e5
] - esm: avoid try/catch when validating urls (Yagiz Nizipli) #47541 - [
439ea47a77
] - (SEMVER-MINOR) fs: add recursive option to readdir and opendir (Ethan Arrowood) #41439 - [
a54e898dc8
] - (SEMVER-MINOR) fs: add support for mode flag to specify the copy behavior (Tetsuharu Ohzeki) #47084 - [
96f93cc500
] - (SEMVER-MINOR) http: remove internal error in assignSocket (Matteo Collina) #47723 - [
4fa773964b
] - (SEMVER-MINOR) http: add highWaterMark opt in http.createServer (HinataKah0) #47405 - [
94a5abb1e0
] - inspector: add tips for Session (theanarkh) #47195 - [
21ff33127a
] - lib: improve esm resolve performance (Yagiz Nizipli) #46652 - [
b8bdaf86c4
] - lib: disallow file-backed blob cloning (James M Snell) #47574 - [
e8bc03b372
] - lib: use webidl DOMString converter in EventTarget (Matthew Aitken) #47514 - [
91e4a7cdee
] - loader: use default loader as cascaded loader in the in loader worker (Joyee Cheung) #47620 - [
d5089fe00a
] - meta: fix dependabot commit message (Mestery) #47810 - [
92794400ce
] - meta: ping nodejs/startup for startup test changes (Joyee Cheung) #47771 - [
8d43689077
] - meta: add mailmap entry for KhafraDev (Rich Trott) #47512 - [
4d02901935
] - node-api: test passing NULL to napi_define_class (Gabriel Schulhof) #47567 - [
568256dca0
] - node-api: test passing NULL to number APIs (Gabriel Schulhof) #47549 - [
12f0fa386d
] - node-api: remove unused mark_arraybuffer_as_untransferable (Chengzhong Wu) #47557 - [
e8ea83416a
] - quic: add more QUIC implementation (James M Snell) #47494 - [
af227b159d
] - readline: fix issue with newline-less last line (Ian Harris) #47317 - [
e948bec969
] - src: avoid copying string in fs_permission (Yagiz Nizipli) #47746 - [
dc43ce7706
] - src: replace idna functions with ada::idna (Yagiz Nizipli) #47735 - [
1f9e7ce7e8
] - src: fix typo in comment in quic/sessionticket.cc (Tobias Nießen) #47754 - [
2acb57b777
] - src: mark fatal error functions as noreturn (Chengzhong Wu) #47695 - [
4431df7481
] - src: split BlobSerializer/BlobDeserializer (Joyee Cheung) #47458 - [
bf9a52cb3d
] - src: prevent changing FunctionTemplateInfo after publish (Shelley Vohr) #46979 - [
872e6706ca
] - src: add v8 fast api for url canParse (Matthew Aitken) #47552 - [
cfafe431f2
] - src: make AliasedBuffers in the binding data weak (Joyee Cheung) #47354 - [
cf48db0034
] - src: use v8::Boolean(b) over b ? True() : False() (Tobias Nießen) #47554 - [
ba255eda37
] - src: fix typo in process.env accessor error message (Moritz Raho) #47014 - [
daf0c78232
] - src: replace static const string_view by static constexpr (Daniel Lemire) #47524 - [
57e7ed7f47
] - src: fix CSPRNG when length exceeds INT_MAX (Tobias Nießen) #47515 - [
cda36bfd8f
] - src: use correct variable in node_builtins.cc (Michaël Zasso) #47343 - [
adc1601ccd
] - src: slim down stream_base-inl.h (lilsweetcaligula) #46972 - [
f88132f1b8
] - stream: prevent pipeline hang with generator functions (Debadree Chatterjee) #47712 - [
2b411f4b42
] - (SEMVER-MINOR) stream: preserve object mode in compose (Raz Luvaton) #47413 - [
159cf02920
] - test: refactor to usegetEventListeners
in timers (Deokjin Kim) #47759 - [
97a3d39b8f
] - test: add and use tmpdir.hasEnoughSpace() (Tobias Nießen) #47767 - [
5bb7b26bb5
] - test: remove spaces from test runner test names (Tobias Nießen) #47733 - [
84fa9fd725
] - test: refactor WPTRunner and enable parallel WPT execution (Filip Skokan) #47635 - [
9d3768eb01
] - Revert "test: run WPT files in parallel again" (Filip Skokan) #47627 - [
826f4041d1
] - test: mark test-cluster-primary-error flaky on asan (Yagiz Nizipli) #47422 - [
e5251e31eb
] - test_runner: fix --require with --experimental-loader (Moshe Atlow) #47751 - [
6ee5e42c73
] - (SEMVER-MINOR) test_runner: support combining coverage reports (Colin Ihrig) #47686 - [
f8581e7629
] - test_runner: remove no-op validation (Colin Ihrig) #47687 - [
40b38797c5
] - test_runner: fix test runner concurrency (Moshe Atlow) #47675 - [
2d7cac0c5b
] - test_runner: fix test counting (Moshe Atlow) #47675 - [
5a9b71a52e
] - test_runner: fix nested hooks (Moshe Atlow) #47648 - [
5327483f31
] - (SEMVER-MINOR) test_runner: add testNamePatterns to run api (Chemi Atlow) #47628 - [
b6fb7914ca
] - test_runner: support coverage of unnamed functions (Colin Ihrig) #47652 - [
1f120a396f
] - test_runner: move coverage collection to root.postRun() (Colin Ihrig) #47651 - [
bdd02a467d
] - (SEMVER-MINOR) test_runner: execute before hook on test (Chemi Atlow) #47586 - [
ec24abaa03
] - test_runner: avoid reporting parents of failing tests in summary (Moshe Atlow) #47579 - [
4203057740
] - test_runner: fix spec skip detection (Moshe Atlow) #47537 - [
57c69987ba
] - tls: accept SecureContext object in server.addContext() (HinataKah0) #47570 - [
c620eb80a0
] - tools: update doc to highlight.js@11.8.0 (Node.js GitHub Bot) #47786 - [
326c3f1593
] - tools: add the missing LoongArch64 definition in the v8.gyp file (Sun Haiyong) #47641 - [
8d1588acdc
] - tools: update lint-md-dependencies to rollup@3.21.1 (Node.js GitHub Bot) #47787 - [
226e5b83ee
] - tools: move update-npm to dep updaters (Marco Ippolito) #47619 - [
9d0bef6c0a
] - tools: fix update-v8-patch cache (Marco Ippolito) #47725 - [
63e8c95a66
] - tools: automate v8 patch update (Marco Ippolito) #47594 - [
d2994e52d3
] - tools: fix skip message in update-cjs-module-lexer (Tobias Nießen) #47701 - [
ccf9c37b43
] - tools: update lint-md-dependencies to @rollup/plugin-commonjs@24.1.0 (Node.js GitHub Bot) #47577 - [
0887fa0464
] - tools: keep MR titles/description up-to-date (Tobias Nießen) #47621 - [
b8927ddf16
] - tools: fix updating root certificates (Richard Lau) #47607 - [
87cae0cb59
] - tools: update MR label config (Mohammed Keyvanzadeh) #47593 - [
c17f2688b8
] - Revert "tools: ensure failed daily wpt run still generates a report" (Filip Skokan) #47627 - [
fbe7d73234
] - tools: add execution permission to uvwasi script (Mert Can Altın) #47600 - [
e3f4ff439e
] - tools: add update script for googletest (Tobias Nießen) #47482 - [
7c552e650a
] - tools: add option to run workflow with specific tool id (Michaël Zasso) #47591 - [
1509312170
] - tools: automate zlib update (Marco Ippolito) #47417 - [
6af7f1ee03
] - tools: add url and whatwg-url labels automatically (Yagiz Nizipli) #47545 - [
ff73c05d54
] - tools: add performance label to benchmark changes (Yagiz Nizipli) #47545 - [
9e3e0b0a84
] - tools: automate uvwasi dependency update (Ranieri Innocenti Spada) #47509 - [
233b628f22
] - tools: add missing pinned dependencies (Mateo Nunez) #47346 - [
e4d95859f5
] - tools: automate ngtcp2 and nghttp3 update (Marco Ippolito) #47402 - [
2e8338126b
] - tools: move update-undici.sh to dep_updaters and create maintain md (Marco Ippolito) #47380 - [
8712eafc87
] - typings: fix syntax error in tsconfig (Mohammed Keyvanzadeh) #47584 - [
e4b6b79f18
] - url: reduce revokeObjectURL cpp calls (Yagiz Nizipli) #47728 - [
9aae76727f
] - url: handle URL.canParse without base parameter (Yagiz Nizipli) #47547 - [
180d365439
] - url: validate URL constructor arg length (Matthew Aitken) #47513 - [
4839fc4369
] - url: validate argument length in canParse (Matthew Aitken) #47513 - [
606523d37e
] - v8: fix ERR_NOT_BUILDING_SNAPSHOT is not a constructor (Chengzhong Wu) #47721 - [
75c1d1b66e
] - (SEMVER-MINOR) wasi: make returnOnExit true by default (Michael Dawson) #47390
v20.0.0
: 2023-04-18, Version 20.0.0 (Current), @RafaelGSS
We're excited to announce the release of Node.js 20! Highlights include the new Node.js Permission Model,
a synchronous import.meta.resolve
, a stable test_runner, updates of the V8 JavaScript engine to 11.3, Ada to 2.0,
and more!
As a reminder, Node.js 20 will enter long-term support (LTS) in October, but until then, it will be the "Current" release for the next six months. We encourage you to explore the new features and benefits offered by this latest release and evaluate their potential impact on your applications.
Notable Changes
Permission Model
Node.js now has an experimental feature called the Permission Model.
It allows developers to restrict access to specific resources during program execution, such as file system operations,
child process spawning, and worker thread creation.
The API exists behind a flag --experimental-permission
which when enabled will restrict access to all available permissions.
By using this feature, developers can prevent their applications from accessing or modifying sensitive data or running potentially harmful code.
More information about the Permission Model can be found in the Node.js documentation.
The Permission Model was a contribution by Rafael Gonzaga in #44004.
Custom ESM loader hooks run on dedicated thread
ESM hooks supplied via loaders (--experimental-loader=foo.mjs
) now run in a dedicated thread, isolated from the main thread.
This provides a separate scope for loaders and ensures no cross-contamination between loaders and application code.
Synchronous import.meta.resolve()
In alignment with browser behavior, this function now returns synchronously.
Despite this, user loader resolve
hooks can still be defined as async functions (or as sync functions, if the author prefers).
Even when there are async resolve
hooks loaded, import.meta.resolve
will still return synchronously for application code.
Contributed by Anna Henningsen, Antoine du Hamel, Geoffrey Booth, Guy Bedford, Jacob Smith, and Michaël Zasso in #44710
V8 11.3
The V8 engine is updated to version 11.3, which is part of Chromium 113. This version includes three new features to the JavaScript API:
- String.prototype.isWellFormed and toWellFormed
- Methods that change Array and TypedArray by copy
- Resizable ArrayBuffer and growable SharedArrayBuffer
- RegExp v flag with set notation + properties of strings
- WebAssembly Tail Call
The V8 update was a contribution by Michaël Zasso in #47251.
Stable Test Runner
The recent update to Node.js, version 20, includes an important change to the test_runner module. The module has been marked as stable after a recent update. Previously, the test_runner module was experimental, but this change marks it as a stable module that is ready for production use.
Contributed by Colin Ihrig in #46983
Ada 2.0
Node.js v20 comes with the latest version of the URL parser, Ada. This update brings significant performance improvements
to URL parsing, including enhancements to the url.domainToASCII
and url.domainToUnicode
functions in node:url
.
Ada 2.0 has been integrated into the Node.js codebase, ensuring that all parts of the application can benefit from the improved performance. Additionally, Ada 2.0 features a significant performance boost over its predecessor, Ada 1.0.4, while also eliminating the need for the ICU requirement for URL hostname parsing.
Contributed by Yagiz Nizipli and Daniel Lemire in #47339
Preparing single executable apps now requires injecting a Blob
Building a single executable app now requires injecting a blob prepared by Node.js from a JSON config instead of injecting the raw JS file. This opens up the possibility of embedding multiple co-existing resources into the SEA (Single Executable Apps).
Contributed by Joyee Cheung in #47125
Web Crypto API
Web Crypto API functions' arguments are now coerced and validated as per their WebIDL definitions like in other Web Crypto API implementations. This further improves interoperability with other implementations of Web Crypto API.
This change was made by Filip Skokan in #46067.
Official support for ARM64 Windows
Node.js now includes binaries for ARM64 Windows, allowing for native execution on the platform. The MSI, zip/7z packages, and executable are available from the Node.js download site along with all other platforms. The CI system was updated and all changes are now fully tested on ARM64 Windows, to prevent regressions and ensure compatibility.
ARM64 Windows was upgraded to tier 2 support by Stefan Stojanovic in #47233.
WASI version must now be specified
When new WASI()
is called, the version option is now required and has no default value.
Any code that relied on the default for the version will need to be updated to request a specific version.
This change was made by Michael Dawson in #47391.
Deprecations and Removals
- [
3bed5f11e0
] - (SEMVER-MAJOR) url: runtime-deprecate url.parse() with invalid ports (Rich Trott) #45526
url.parse()
accepts URLs with ports that are not numbers. This behavior might result in host name spoofing with unexpected input.
These URLs will throw an error in future versions of Node.js, as the WHATWG URL API does already.
Starting with Node.js 20, these URLS cause url.parse()
to emit a warning.
Semver-Major Commits
- [
9fafb0a090
] - (SEMVER-MAJOR) async_hooks: deprecate the AsyncResource.bind asyncResource property (James M Snell) #46432 - [
1948d37595
] - (SEMVER-MAJOR) buffer: check INSPECT_MAX_BYTES with validateNumber (Umuoy) #46599 - [
7bc0e6a4e7
] - (SEMVER-MAJOR) buffer: graduate File from experimental and expose as global (Khafra) #47153 - [
671ffd7825
] - (SEMVER-MAJOR) buffer: use min/max ofvalidateNumber
(Deokjin Kim) #45796 - [
ab1614d280
] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #47251 - [
c1bcdbcf79
] - (SEMVER-MAJOR) build: warn for gcc versions earlier than 10.1 (Richard Lau) #46806 - [
649f68fc1e
] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Yagiz Nizipli) #45579 - [
9374700d7a
] - (SEMVER-MAJOR) crypto: remove DEFAULT_ENCODING (Tobias Nießen) #47182 - [
1640aeb680
] - (SEMVER-MAJOR) crypto: remove obsolete SSL_OP_* constants (Tobias Nießen) #47073 - [
c2e4b1fa9a
] - (SEMVER-MAJOR) crypto: remove ALPN_ENABLED (Tobias Nießen) #47028 - [
3ef38c4bd7
] - (SEMVER-MAJOR) crypto: use WebIDL converters in WebCryptoAPI (Filip Skokan) #46067 - [
08af023b1f
] - (SEMVER-MAJOR) crypto: runtime deprecate replaced rsa-pss keygen parameters (Filip Skokan) #45653 - [
7eb0ac3cb6
] - (SEMVER-MAJOR) deps: patch V8 to support compilation on win-arm64 (Michaël Zasso) #47251 - [
a7c129f286
] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) #47251 - [
6f5655a18e
] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #47251 - [
f226350fcb
] - (SEMVER-MAJOR) deps: update V8 to 11.3.244.4 (Michaël Zasso) #47251 - [
d6dae7420e
] - (SEMVER-MAJOR) deps: V8: cherry-pickf1c888e
(Michaël Zasso) #45579 - [
56c436533e
] - (SEMVER-MAJOR) deps: fix V8 build on Windows with MSVC (Michaël Zasso) #45579 - [
51ab98c71b
] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) #45579 - [
9f84d3eea8
] - (SEMVER-MAJOR) deps: V8: fix v8-cppgc.h for MSVC (Jiawen Geng) #45579 - [
f2318cd4b5
] - (SEMVER-MAJOR) deps: fix V8 build issue with inline methods (Jiawen Geng) #45579 - [
16e03e7968
] - (SEMVER-MAJOR) deps: update V8 to 10.9.194.4 (Yagiz Nizipli) #45579 - [
6473f5e7f7
] - (SEMVER-MAJOR) doc: update toolchains used for Node.js 20 releases (Richard Lau) #47352 - [
cc18fd9608
] - (SEMVER-MAJOR) events: refactor to usevalidateNumber
(Deokjin Kim) #45770 - [
ff92b40ffc
] - (SEMVER-MAJOR) http: close the connection after sending a body without declared length (Tim Perry) #46333 - [
2a29df6464
] - (SEMVER-MAJOR) http: keep HTTP/1.1 conns alive even if the Connection header is removed (Tim Perry) #46331 - [
391dc74a10
] - (SEMVER-MAJOR) http: throw error if options of http.Server is array (Deokjin Kim) #46283 - [
ed3604cd64
] - (SEMVER-MAJOR) http: server check Host header, to meet RFC 7230 5.4 requirement (wwwzbwcom) #45597 - [
88d71dc301
] - (SEMVER-MAJOR) lib: refactor to use min/max ofvalidateNumber
(Deokjin Kim) #45772 - [
e4d641f02a
] - (SEMVER-MAJOR) lib: refactor to use validators in http2 (Debadree Chatterjee) #46174 - [
0f3e531096
] - (SEMVER-MAJOR) lib: performance improvement on readline async iterator (Thiago Oliveira Santos) #41276 - [
5b5898ac86
] - (SEMVER-MAJOR) lib,src: update exit codes as per todos (Debadree Chatterjee) #45841 - [
55321bafd1
] - (SEMVER-MAJOR) net: enable autoSelectFamily by default (Paolo Insogna) #46790 - [
2d0d99733b
] - (SEMVER-MAJOR) process: removeprocess.exit()
,process.exitCode
coercion to integer (Daeyeon Jeong) #43716 - [
dc06df31b6
] - (SEMVER-MAJOR) readline: refactor to usevalidateNumber
(Deokjin Kim) #45801 - [
295b2f3ff4
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 115 (Michaël Zasso) #47251 - [
3803b028dd
] - (SEMVER-MAJOR) src: share common code paths for SEA and embedder script (Anna Henningsen) #46825 - [
e8bddac3e9
] - (SEMVER-MAJOR) src: apply ABI-breaking API simplifications (Anna Henningsen) #46705 - [
f84de0ad4c
] - (SEMVER-MAJOR) src: use uint32_t for process initialization flags enum (Anna Henningsen) #46427 - [
a6242772ec
] - (SEMVER-MAJOR) src: fix ArrayBuffer::Detach deprecation (Michaël Zasso) #45579 - [
dd5c39a808
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 112 (Yagiz Nizipli) #45579 - [
63eca7fec0
] - (SEMVER-MAJOR) stream: validate readable defaultEncoding (Marco Ippolito) #46430 - [
9e7093f416
] - (SEMVER-MAJOR) stream: validate writable defaultEncoding (Marco Ippolito) #46322 - [
fb91ee4f26
] - (SEMVER-MAJOR) test: make trace-gc-flag tests less strict (Yagiz Nizipli) #45579 - [
eca618071e
] - (SEMVER-MAJOR) test: adapt test-v8-stats for V8 update (Michaël Zasso) #45579 - [
c03354d3e0
] - (SEMVER-MAJOR) test: test case for multiple res.writeHead and res.getHeader (Marco Ippolito) #45508 - [
c733cc0c7f
] - (SEMVER-MAJOR) test_runner: mark module as stable (Colin Ihrig) #46983 - [
7ce223273d
] - (SEMVER-MAJOR) tools: update V8 gypfiles for 11.1 (Michaël Zasso) #47251 - [
ca4bd3023e
] - (SEMVER-MAJOR) tools: update V8 gypfiles for 11.0 (Michaël Zasso) #47251 - [
58b06a269a
] - (SEMVER-MAJOR) tools: update V8 gypfiles (Michaël Zasso) #45579 - [
027841c964
] - (SEMVER-MAJOR) url: use private properties for brand check (Yagiz Nizipli) #46904 - [
3bed5f11e0
] - (SEMVER-MAJOR) url: runtime-deprecate url.parse() with invalid ports (Rich Trott) #45526 - [
7c76fddf25
] - (SEMVER-MAJOR) util,doc: mark parseArgs() as stable (Colin Ihrig) #46718 - [
4b52727976
] - (SEMVER-MAJOR) wasi: make version non-optional (Michael Dawson) #47391
Semver-Minor Commits
- [
d4b440bfac
] - (SEMVER-MINOR) fs: implement byob mode for readableWebStream() (Debadree Chatterjee) #46933 - [
00c222593e
] - (SEMVER-MINOR) src,process: add permission model (Rafael Gonzaga) #44004 - [
978b57d750
] - (SEMVER-MINOR) wasi: no longer require flag to enable wasi (Michael Dawson) #47286
Semver-Patch Commits
- [
e50c6b9a22
] - bootstrap: do not expand process.argv[1] for snapshot entry points (Joyee Cheung) #47466 - [
c81e1143e4
] - bootstrap: store internal loaders in C++ via a binding (Joyee Cheung) #47215 - [
8e673bdb84
] - build: add node-core-utils to setup (Jiawen Geng) #47442 - [
5b561d72a6
] - build: sync cares source change (Jiawen Geng) #47359 - [
8e6ee53e4e
] - build: remove non-exist build file (Jiawen Geng) #47361 - [
9a4d21d1d9
] - build, deps, tools: avoid excessive LTO (Konstantin Demin) #47313 - [
48c01485cd
] - crypto: replace THROW with CHECK for scrypt keylen (Tobias Nießen) #47407 - [
4c1a27716b
] - crypto: re-add padding for AES-KW wrapped JWKs (Filip Skokan) #46563 - [
b66eb15d12
] - deps: update simdutf to 3.2.7 (Node.js GitHub Bot) #47473 - [
3fc11477ba
] - deps: update corepack to 0.17.2 (Node.js GitHub Bot) #47474 - [
c1776531ab
] - deps: upgrade npm to 9.6.4 (npm team) #47432 - [
e7ca09f310
] - deps: update zlib to upstream5edb52d
(Luigi Pinca) #47151 - [
88387ccd12
] - deps: update ada to 2.0.0 (Node.js GitHub Bot) #47339 - [
9f468cc37e
] - deps: cherry-pick Windows ARM64 fix for openssl (Richard Lau) #46570 - [
eeab210b1b
] - deps: update archs files for quictls/openssl-3.0.8+quic (RafaelGSS) #46570 - [
d93d7716c7
] - deps: upgrade openssl sources to quictls/openssl-3.0.8+quic (RafaelGSS) #46571 - [
0f69ec4dd7
] - deps: patch V8 to 10.9.194.9 (Michaël Zasso) #45995 - [
5890d09644
] - deps: patch V8 to 10.9.194.6 (Michaël Zasso) #45748 - [
c02a7e7e93
] - diagnostics_channel: fix ref counting bug when reaching zero subscribers (Stephen Belanger) #47520 - [
c7ad5bb37d
] - doc: info on handling unintended breaking changes (Michael Dawson) #47426 - [
7d2d40ed0d
] - doc: add performance initiative (Yagiz Nizipli) #47424 - [
d56c0f7318
] - doc: do not create a backup file (Luigi Pinca) #47151 - [
412d27b65b
] - doc: add MoLow to the TSC (Colin Ihrig) #47436 - [
f131cca0c0
] - doc: reserve 116 for Electron 25 (Keeley Hammond) #47375 - [
1022c6f424
] - doc: add experimental stages (Geoffrey Booth) #46100 - [
42d3d74717
] - doc: clarify release notes for Node.js 16.19.0 (Richard Lau) #45846 - [
533c6512da
] - doc: clarify release notes for Node.js 14.21.2 (Richard Lau) #45846 - [
97165fc1a6
] - doc: fix doc metadata for Node.js 16.19.0 (Richard Lau) #45863 - [
a266b8b702
] - doc: add registry number for Electron 23 & 24 (Keeley Hammond) #45661 - [
2613a9ced9
] - esm: move hook execution to separate thread (Jacob Smith) #44710 - [
841f6b3abf
] - esm: increase test coverage of edge cases (Antoine du Hamel) #47033 - [
0d575fe61a
] - gyp: put filenames in variables (Cheng Zhao) #46965 - [
41b186722c
] - lib: distinguish webidl interfaces with the extended property "Exposed" (Chengzhong Wu) #46809 - [
9b7db62276
] - lib: makeRequireFunction patch when experimental policy (RafaelGSS) nodejs-private/node-private#358 - [
d43b532789
] - lib: refactor to usevalidateBuffer
(Deokjin Kim) #46489 - [
9a76a2521b
] - meta: ping security-wg team on permission model changes (Rafael Gonzaga) #47483 - [
a4dadde1ba
] - meta: ping startup and realm team on src/node_realm* changes (Joyee Cheung) #47448 - [
631c3ef3de
] - module: do less CJS module loader initialization at run time (Joyee Cheung) #47194 - [
8bcf0a42f7
] - permission: fix chmod,chown improve fs coverage (Rafael Gonzaga) #47529 - [
54d17ff4b5
] - permission: support fs.mkdtemp (Rafael Gonzaga) #47470 - [
b441b5dc65
] - permission: drop process.permission.deny (Rafael Gonzaga) #47335 - [
aa30e16716
] - permission: fix some vulnerabilities in fs (Tobias Nießen) #47091 - [
1726da9300
] - permission: add path separator to loader check (Rafael Gonzaga) #47030 - [
b164038c86
] - permission: fix spawnSync permission check (RafaelGSS) #46975 - [
af91400886
] - policy: makeRequireFunction on mainModule.require (RafaelGSS) nodejs-private/node-private#358 - [
f8b4e26aee
] - quic: add more QUIC impl (James M Snell) #47348 - [
d65ae9f678
] - quic: add additional quic implementation utilities (James M Snell) #47289 - [
9b104be502
] - quic: do not dereference shared_ptr after move (Tobias Nießen) #47294 - [
09a4bb152f
] - quic: add multiple internal utilities (James M Snell) #47263 - [
2bde0059ca
] - sea: use JSON configuration and blob content for SEA (Joyee Cheung) #47125 - [
78c7475493
] - src: allow simdutf::convert_* functions to return zero (Daniel Lemire) #47471 - [
5250947a53
] - src: track ShadowRealm native objects correctly in the heap snapshot (Joyee Cheung) #47389 - [
8059764621
] - src: use the internal field to determine if an object is a BaseObject (Joyee Cheung) #47217 - [
698508afa8
] - src: bootstrap prepare stack trace callback in shadow realm (Chengzhong Wu) #47107 - [
e6b4d30a2f
] - src: bootstrap Web [Exposed=*] APIs in the shadow realm (Chengzhong Wu) #46809 - [
3646a66044
] - src: fix AliasedBuffer memory attribution in heap snapshots (Joyee Cheung) #46817 - [
8b2126f63f
] - src: move AliasedBuffer implementation to -inl.h (Joyee Cheung) #46817 - [
3abbc3829a
] - src: fix useless call in permission.cc (Tobias Nießen) #46833 - [
7b1e153530
] - src: simplify exit code accesses (Daeyeon Jeong) #45125 - [
7359b92a41
] - test: remove unnecessary status check on test-release-npm (RafaelGSS) #47516 - [
a5a5d2fb7e
] - test: mark test/parallel/test-file-write-stream4 as flaky (Yagiz Nizipli) #47423 - [
81ad73a205
] - test: remove unused callback variables (angellovc) #47167 - [
757a586ead
] - test: migrate test runner message tests to snapshot (Moshe Atlow) #47392 - [
86f890539f
] - test: remove stale entry from known_issues.status (Richard Lau) #47454 - [
1f3773d0c1
] - test: move more inspector sequential tests to parallel (Joyee Cheung) #47412 - [
617b8d44c6
] - test: use random port in test-inspector-enabled (Joyee Cheung) #47412 - [
ade0170c4f
] - test: use random port in test-inspector-debug-brk-flag (Joyee Cheung) #47412 - [
1a78632cd3
] - test: use random port in NodeInstance.startViaSignal() (Joyee Cheung) #47412 - [
23f66b137e
] - test: move test-shadow-realm-gc.js to known_issues (Joyee Cheung) #47355 - [
9dfd0394c5
] - test: remove useless WPT init scripts (Khafra) #47221 - [
1cfe058778
] - test: fix test-permission-deny-fs-wildcard (win32) (Tobias Nießen) #47095 - [
b8ef1b476e
] - test: add coverage for custom loader hooks with permission model (Antoine du Hamel) #46977 - [
4a7c3e9c50
] - test: fix file path in permission symlink test (Livia Medeiros) #46859 - [
10005de6a8
] - tools: makejs2c.py
usable for other build systems (Cheng Zhao) #46930 - [
1e2f9aca72
] - tools: move update-acorn.sh to dep_updaters and create maintaining md (Marco Ippolito) #47382 - [
174662a463
] - tools: update eslint to 8.38.0 (Node.js GitHub Bot) #47475 - [
a58ca61f35
] - tools: update eslint to 8.38.0 (Node.js GitHub Bot) #47475 - [
37d12730ab
] - tools: automate cjs-module-lexer dependency update (Marco Ippolito) #47446 - [
4fbfa3c9f2
] - tools: fix notify-on-push Slack messages (Antoine du Hamel) #47453 - [
b1f2ff1242
] - tools: update lint-md-dependencies to @rollup/plugin-node-resolve@15.0.2 (Node.js GitHub Bot) #47431 - [
26b2584b84
] - tools: add root certificate update script (Richard Lau) #47425 - [
553b052648
] - tools: remove targets for individual test suites inMakefile
(Antoine du Hamel) #46892 - [
747ff43e5b
] - url: more sophisticated brand check for URLSearchParams (Timothy Gu) #47414 - [
e727eb066f
] - url: do not use object as hashmap (Timothy Gu) #47415 - [
81c7875eb7
] - url: drop ICU requirement for parsing hostnames (Yagiz Nizipli) #47339 - [
a4895df94a
] - url: use ada::url_aggregator for parsing urls (Yagiz Nizipli) #47339
v18.20.2
: 2024-04-10, Version 18.20.2 'Hydrogen' (LTS), @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
- [
6627222409
] - src: disallow direct .bat and .cmd file spawning (Ben Noordhuis) nodejs-private/node-private#564
v18.20.1
: 2024-04-03, Version 18.20.1 'Hydrogen' (LTS), @RafaelGSS
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 5.28.4
Commits
- [
60d24938de
] - deps: update undici to v5.28.4 (Matteo Collina) nodejs-private/node-private#577 - [
5d4d5848cf
] - http: do not allow OBS fold in headers by default (Paolo Insogna) nodejs-private/node-private#558 - [
0fb816dbcc
] - src: ensure to close stream when destroying session (Anna Henningsen) nodejs-private/node-private#561
v18.20.0
: 2024-03-26, Version 18.20.0 'Hydrogen' (LTS), @richardlau
Notable Changes
Added support for import attributes
Support has been added for import attributes, to replace the old import assertions syntax. This will aid migration by making the new syntax available across all currently supported Node.js release lines.
This adds the with
keyword which should be used in place of the previous
assert
keyword, which will be removed in a future semver-major Node.js
release.
For example,
import "foo" assert { ... }
should be replaced with
import "foo" with { ... }
For more details, see
Contributed by Nicolò Ribaudo in #51136 and Antoine du Hamel in #50140.
dirent.path
Doc deprecation for Please use newly added dirent.parentPath
instead.
Contributed by Antoine du Hamel in #50976 and #51020.
Experimental node-api feature flags
Introduces an experimental feature to segregate finalizers that affect GC state.
A new type called node_api_nogc_env
has been introduced as the const version
of napi_env
and node_api_nogc_finalize
as a variant of napi_finalize
that
accepts a node_api_nogc_env
as its first argument.
This feature can be turned off by defining
NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT
.
Contributed by Gabriel Schulhof in #50060.
Root certificates updated to NSS 3.98
Certificates added:
- Telekom Security TLS ECC Root 2020
- Telekom Security TLS RSA Root 2023
Certificates removed:
- Security Communication Root CA
Updated dependencies
- ada updated to 2.7.6.
- base64 updated to 0.5.2.
- c-ares updated to 1.27.0.
- corepack updated to 0.25.2.
- ICU updated to 74.2. Includes CLDR 44.1 and Unicode 15.1.
- npm updated to 10.5.0. Fixes a regression in signals not being passed onto child processes.
- simdutf8 updated to 4.0.8.
- Timezone updated to 2024a.
- zlib updated to 1.3.0.1-motley-40e35a7.
vm: fix V8 compilation cache support for vm.Script
Previously repeated compilation of the same source code using vm.Script
stopped hitting the V8 compilation cache after v16.x when support for
importModuleDynamically
was added to vm.Script
, resulting in a performance
regression that blocked users (in particular Jest users) from upgrading from
v16.x.
The recent fixes allow the compilation cache to be hit again
for vm.Script
when --experimental-vm-modules
is not used even in the
presence of the importModuleDynamically
option, so that users affected by the
performance regression can now upgrade. Ongoing work is also being done to
enable compilation cache support for vm.CompileFunction
.
Contributed by Joyee Cheung in #49950 and #50137.
Commits
- [
c70383b8d4
] - build: support Python 3.12 (Shi Pujin) #50209 - [
4b960c3a4a
] - build: fix incorrect g++ warning message (Richard Lau) #51695 - [
8fdea67694
] - crypto: update root certificates to NSS 3.98 (Node.js GitHub Bot) #51794 - [
812b126dd9
] - deps: V8: cherry-pickd90d453
(Michaël Zasso) #50077 - [
9ab8c3db87
] - deps: update c-ares to 1.27.0 (Node.js GitHub Bot) #51846 - [
c688680387
] - deps: update c-ares to 1.26.0 (Node.js GitHub Bot) #51582 - [
9498ac8a47
] - deps: compile c-ares with C11 support (Michaël Zasso) #51410 - [
8fb743642f
] - deps: update c-ares to 1.25.0 (Node.js GitHub Bot) #51385 - [
7bea2d7c12
] - deps: update zlib to 1.3.0.1-motley-40e35a7 (Node.js GitHub Bot) #51274 - [
57a38c8f75
] - deps: update zlib to 1.3.0.1-motley-dd5fc13 (Node.js GitHub Bot) #51105 - [
b0ca084a6b
] - deps: update zlib to 1.3-22124f5 (Node.js GitHub Bot) #50910 - [
4b43823f37
] - deps: update zlib to 1.2.13.1-motley-5daffc7 (Node.js GitHub Bot) #50803 - [
f0da591812
] - deps: update zlib to 1.2.13.1-motley-dfc48fc (Node.js GitHub Bot) #50456 - [
16d28a883a
] - deps: update base64 to 0.5.2 (Node.js GitHub Bot) #51455 - [
13a9e81cb6
] - deps: update base64 to 0.5.1 (Node.js GitHub Bot) #50629 - [
b4502d3ac5
] - deps: update simdutf to 4.0.8 (Node.js GitHub Bot) #51000 - [
183cf8a74a
] - deps: update simdutf to 4.0.4 (Node.js GitHub Bot) #50772 - [
11ba8593ea
] - deps: update ada to 2.7.6 (Node.js GitHub Bot) #51542 - [
73a946d55c
] - deps: update ada to 2.7.5 (Node.js GitHub Bot) #51542 - [
cc434c1a39
] - deps: update ada to 2.7.4 (Node.js GitHub Bot) #50815 - [
3a3808a6ae
] - deps: upgrade npm to 10.5.0 (npm team) #51913 - [
c8876d765c
] - deps: upgrade npm to 10.3.0 (npm team) #51431 - [
5aec3af460
] - deps: update corepack to 0.25.2 (Node.js GitHub Bot) #51810 - [
a593985326
] - deps: update corepack to 0.24.1 (Node.js GitHub Bot) #51459 - [
d1a9237bf5
] - deps: update corepack to 0.24.0 (Node.js GitHub Bot) #51318 - [
adac0c7a63
] - deps: update corepack to 0.23.0 (Node.js GitHub Bot) #50563 - [
4a6f83e32a
] - deps: escape Python strings correctly (Michaël Zasso) #50695 - [
c13969e52a
] - deps: V8: cherry-pickea996ad
(Nicolò Ribaudo) #51136 - [
6fbf0ba5c3
] - deps: V8: cherry-picka0fd320
(Nicolò Ribaudo) #51136 - [
68fd7516e1
] - deps: update timezone to 2024a (Michaël Zasso) #51723 - [
f9b229ebe1
] - deps: update icu to 74.2 (Michaël Zasso) #51723 - [
90c73d2eb4
] - deps: update timezone to 2023d (Node.js GitHub Bot) #51461 - [
2a2bf57028
] - deps: update icu to 74.1 (Node.js GitHub Bot) #50515 - [
425e011e52
] - deps: add v8::Object::SetInternalFieldForNodeCore() (Joyee Cheung) #49874 - [
58c70344a2
] - deps: V8: cherry-pick705e374
(Joyee Cheung) #51004 - [
b0e88899e1
] - deps: V8: cherry-pick1fada6b
(Joyee Cheung) #51004 - [
d87a810b81
] - deps: V8: cherry-pick3dd9576
(Joyee Cheung) #51004 - [
6d50966876
] - deps: V8: cherry-pick94e8282
(Joyee Cheung) #51004 - [
fafbacdfec
] - deps: V8: cherry-pick9a98f96
(Joyee Cheung) #51004 - [
d4a530ed8d
] - deps: V8: cherry-pick7f5daed
(Joyee Cheung) #51004 - [
1ce901b164
] - deps: V8: cherry-pickc400af4
(Joyee Cheung) #51004 - [
f232064f35
] - doc: fix historical experimental fetch flag (Kenrick) #51506 - [
194ff6a40f
] - (SEMVER-MINOR) doc: add deprecation notice todirent.path
(Antoine du Hamel) #50976 - [
0f09267dc6
] - (SEMVER-MINOR) doc: deprecatedirent.path
(Antoine du Hamel) #50976 - [
8bfb8f5b2f
] - doc,crypto: further clarify RSA_PKCS1_PADDING support (Tobias Nießen) #51799 - [
c7baf7b274
] - doc,crypto: add changelog and note about disabled RSA_PKCS1_PADDING (Filip Skokan) #51782 - [
a193be3dc2
] - esm: use import attributes instead of import assertions (Antoine du Hamel) #50140 - [
26e8f7793e
] - (SEMVER-MINOR) fs: introducedirent.parentPath
(Antoine du Hamel) #50976 - [
5b5e5192f7
] - lib: fix compileFunction throws range error for negative numbers (Jithil P Ponnan) #49855 - [
7552de6806
] - module: fix the leak in SourceTextModule and ContextifySript (Joyee Cheung) #48510 - [
2e05cf1c60
] - module: fix leak of vm.SyntheticModule (Joyee Cheung) #48510 - [
a86a2e14a3
] - module: use symbol in WeakMap to manage host defined options (Joyee Cheung) #48510 - [
32906ddcac
] - node-api: segregate nogc APIs from rest via type system (Gabriel Schulhof) #50060 - [
1aa71c26ff
] - node-api: factor out common code into macros (Gabriel Schulhof) #50664 - [
3d0b233f52
] - node-api: introduce experimental feature flags (Gabriel Schulhof) #50991 - [
96514a8b9f
] - src: iterate on import attributes array correctly (Michaël Zasso) #50703 - [
2c2892bf88
] - src: set ModuleWrap internal fields only once (Joyee Cheung) #49391 - [
ff334cb774
] - src: cast v8::Object::GetInternalField() return value to v8::Value (Joyee Cheung) #48943 - [
270b519971
] - stream: do not defer construction by one microtick (Matteo Collina) #52005 - [
95d7a75084
] - test: fix dns test case failures after c-ares update to 1.21.0+ (Brad House) #50743 - [
cd613e5167
] - test: handle relative https redirect (Richard Lau) #51121 - [
40f10eafcf
] - test: fixinternet/test-inspector-help-page
(Richard Lau) #51693 - [
5e426511b1
] - test: deflake test-vm-contextified-script-leak (Joyee Cheung) #49710 - [
0b156c6d28
] - test: use checkIfCollectable in vm leak tests (Joyee Cheung) #49671 - [
1586c11b3c
] - test: add checkIfCollectable to test/common/gc.js (Joyee Cheung) #49671 - [
902d8b3d4b
] - test: fix flaky http-chunk-extensions-limit test (Ethan Arrowood) #51943 - [
1743d2bdc1
] - test: test surrogate pair filenames on windows (Mert Can Altın) #51800 - [
1c1a7ec22d
] - test: increase platform timeout zlib-brotli-16gb (Rafael Gonzaga) #51792 - [
931d02fe3e
] - test, v8: fix wrong import attributes test (Nicolò Ribaudo) #52184 - [
d9ea6c1f8d
] - tls: fix order of setting cipher before setting cert and key (Kumar Rishav) #50186 - [
3184befa2e
] - tools: fix update-icu.sh (Michaël Zasso) #51723 - [
06646e11be
] - (SEMVER-MINOR) vm: use import attributes instead of import assertions (Antoine du Hamel) #50141 - [
fe66e9d06e
] - vm: reject in importModuleDynamically without --experimental-vm-modules (Joyee Cheung) #50137 - [
052e095c6b
] - vm: use internal versions of compileFunction and Script (Joyee Cheung) #50137 - [
9f7899ed0a
] - vm: unify host-defined option generation in vm.compileFunction (Joyee Cheung) #50137 - [
6291c107d0
] - vm: use default HDO when importModuleDynamically is not set (Joyee Cheung) #49950
v18.19.1
: 2024-02-14, Version 18.19.1 'Hydrogen' (LTS), @RafaelGSS prepared by @marco-ippolito
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-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-22025 - Denial of Service by resource exhaustion in fetch() brotli decoding - (Medium)
- undici version 5.28.3
- npm version 10.2.4
Commits
- [
69e0a1dba8
] - crypto: update root certificates to NSS 3.95 (Node.js GitHub Bot) #50805 - [
d3d357ab09
] - crypto: disable PKCS#1 padding for privateDecrypt (Michael Dawson) nodejs-private/node-private#525 - [
3d27175c42
] - deps: fix GHSA-f74f-cvh7-c6q6/CVE-2024-24806 (Santiago Gimeno) #51614 - [
331558b8ab
] - deps: update archs files for openssl-3.0.13+quic1 (Node.js GitHub Bot) #51614 - [
99b77dfb9c
] - deps: upgrade openssl sources to quictls/openssl-3.0.13+quic1 (Node.js GitHub Bot) #51614 - [
6cdc71bff1
] - deps: upgrade npm to 10.2.4 (npm team) #50751 - [
911cb33cda
] - http: add maximum chunk extension size (Paolo Insogna) nodejs-private/node-private#520 - [
f48b89689d
] - lib: update undici to v5.28.3 (Matteo Collina) nodejs-private/node-private#536 - [
e6b4c105e0
] - src: fix HasOnly(capability) in node::credentials (Tobias Nießen) nodejs-private/node-private#505 - [
97c49076cd
] - test: skip test-child-process-stdio-reuse-readable-stdio on Windows (Joyee Cheung) #49621 - [
60affdde8e
] - tools: add macOS notarization verification step (Ulises Gascón) #50833 - [
ccc676a327
] - tools: use macOS keychain to notarize the releases (Ulises Gascón) #50715 - [
31f1ceb380
] - tools: remove unused file (Ulises Gascon) #50622 - [
bd5f6fb92a
] - tools: add macOS notarization stapler (Ulises Gascón) #50625 - [
4168c4f71b
] - tools: improve macOS notarization process output readability (Ulises Gascón) #50389 - [
4622f775aa
] - tools: remove unusedversion
function (Ulises Gascón) #50390 - [
b90804b1e7
] - win,tools: upgrade Windows signing to smctl (Stefan Stojanovic) #50956 - [
f31d47e135
] - zlib: pause stream if outgoing buffer is full (Matteo Collina) nodejs-private/node-private#542
v18.19.0
: 2023-11-29, Version 18.19.0 'Hydrogen' (LTS), @targos
Notable Changes
npm updated to v10
After two months of baking time in Node.js 20, npm 10 is backported, so that all release lines include a supported version of npm. This release includes npm v10.2.3.
Refer to nodejs/Release#884 for the plan to land npm 10.
ESM and customization hook changes
Leverage loaders when resolving subsequent loaders
Loaders now apply to subsequent loaders, for example: --experimental-loader ts-node --experimental-loader loader-written-in-typescript
.
Contributed by Maël Nison in #43772.
node:module
API register
for module customization hooks; new initialize
hook
New There is a new API register
available on node:module
to specify a file that exports module customization hooks, and pass data to the hooks, and establish communication channels with them. The “define the file with the hooks” part was previously handled by a flag --experimental-loader
, but when the hooks moved into a dedicated thread in 20.0.0 there was a need to provide a way to communicate between the main (application) thread and the hooks thread. This can now be done by calling register
from the main thread and passing data, including MessageChannel
instances.
We encourage users to migrate to an approach that uses --import
with register
, such as:
node --import ./file-that-calls-register.js ./app.js
Using --import
ensures that the customization hooks are registered before any application code runs, even the entry point.
Contributed by João Lenon and Jacob Smith in #46826, Izaak Schroeder and Jacob Smith in #48842 and #48559.
import.meta.resolve
unflagged
In ES modules, import.meta.resolve(specifier)
can be used to get an absolute URL string to which specifier
resolves, similar
to require.resolve
in CommonJS. This aligns Node.js with browsers and other server-side runtimes.
Contributed by Guy Bedford in #49028.
--experimental-default-type
flag to flip module defaults
The new flag --experimental-default-type
can be used to flip the default
module system used by Node.js. Input that is already explicitly defined as ES
modules or CommonJS, such as by a package.json
"type"
field or .mjs
/.cjs
file extension or the --input-type
flag, is unaffected. What is currently
implicitly CommonJS would instead be interpreted as ES modules under
--experimental-default-type=module
:
-
String input provided via
--eval
or STDIN, if--input-type
is unspecified. -
Files ending in
.js
or with no extension, if there is nopackage.json
file present in the same folder or any parent folder. -
Files ending in
.js
or with no extension, if the nearest parentpackage.json
field lacks atype
field; unless the folder is inside anode_modules
folder.
In addition, extensionless files are interpreted as Wasm if
--experimental-wasm-modules
is passed and the file contains the "magic bytes"
Wasm header.
Contributed by Geoffrey Booth in #49869.
Other ESM-related changes
- [
ed2d46f4cc
] - doc: move and rename loaders section (Geoffrey Booth) #49261 - [
92734d4480
] - esm: use import attributes instead of import assertions (Antoine du Hamel) #50140 - [
e96f7ef881
] - (SEMVER-MINOR) vm: use import attributes instead of import assertions (Antoine du Hamel) #50141
Test runner changes
Many changes to the built-in test runner have been backported. This includes the following additions:
- [
b283ae4238
] - (SEMVER-MINOR) test_runner: accepttestOnly
inrun
(Moshe Atlow) #49753 - [
059b1945d8
] - (SEMVER-MINOR) test_runner: add junit reporter (Moshe Atlow) #49614 - [
d61a505546
] - (SEMVER-MINOR) test_runner: expose location of tests (Colin Ihrig) #48975 - [
b55eb2a8d1
] - (SEMVER-MINOR) test_runner: add shards support (Raz Luvaton) #48639 - [
05e7f28b40
] - (SEMVER-MINOR) test_runner: add initial draft for fakeTimers (Erick Wendel) #47775 - [
428301ad27
] - (SEMVER-MINOR) test_runner, cli: add --test-concurrency flag (Colin Ihrig) #49996
Other notable changes
- [
0c4a84e8e9
] - (SEMVER-MINOR) deps: update uvwasi to 0.0.19 (Node.js GitHub Bot) #49908 - [
fae60c5841
] - stream: use bitmap in readable state (Benjamin Gruenbaum) #49745 - [
17246be158
] - (SEMVER-MINOR) lib: add api to detect whether source-maps are enabled (翠 / green) #46391 - [
2e9f7284a1
] - (SEMVER-MINOR) lib: add tracing channel to diagnostics_channel (Stephen Belanger) #44943 - [
cc7bf1f641
] - (SEMVER-MINOR) src: add cjs_module_lexer_version base64_version (Jithil P Ponnan) #45629 - [
b5d16cd8f0
] - (SEMVER-MINOR) tls: add ALPNCallback server option for dynamic ALPN negotiation (Tim Perry) #45190
Commits
- [
0d0eb47e2a
] - benchmark: add benchmarks for the test_runner (Raz Luvaton) #48931 - [
8bb03d10f4
] - benchmark: differentiate whatwg and legacy url (Yagiz Nizipli) #47377 - [
3d7734cbe3
] - benchmark: lower URL.canParse runs (Khafra) #47351 - [
24d3fcf415
] - benchmark: stablize encode benchmark (Joyee Cheung) #46658 - [
e08fd98bcc
] - bootstrap: use correct descriptor for Symbol.{dispose,asyncDispose} (Jordan Harband) #48703 - [
cf9ddcd6c8
] - bootstrap: simplify initialization of source map handlers (Joyee Cheung) #48304 - [
12d731e431
] - bootstrap: log isolate data info in mksnapshot debug logs (Joyee Cheung) #47768 - [
d66873871a
] - bootstrap: store internal loaders in C++ via a binding (Joyee Cheung) #47215 - [
1a499c5082
] - bootstrap: optimize modules loaded in the built-in snapshot (Joyee Cheung) #45849 - [
e0e09caafe
] - bootstrap: make CJS loader snapshotable (Joyee Cheung) #45849 - [
5f37decd56
] - bootstrap: include event_target into the built-in snapshot (Joyee Cheung) #45849 - [
c3f56a3dee
] - bootstrap: support module_wrap binding in snapshot (Joyee Cheung) #45849 - [
6466acbc89
] - bootstrap: lazy load non-essential modules (Joyee Cheung) #45659 - [
a0d4b69df4
] - bootstrap: lazy-load Performance.prototype.timeOrigin (Joyee Cheung) #46425 - [
c1bc8118e3
] - bootstrap: generate bootstrapper arguments in BuiltinLoader (Joyee Cheung) #44488 - [
075c57e88b
] - build: add symlink tocompile_commands.json
file if needed (Juan José) #49260 - [
9e1c531b8d
] - build: expand when we run internet tests (Michael Dawson) #49218 - [
a781d24624
] - build: fix typolibray
->library
(configure.py) (michalbiesek) #49106 - [
f2eccb7a04
] - build: fixconfigure --link-module
(Richard Lau) #48522 - [
a44d555494
] - build: fix IBM i build with Python 3.9 (Richard Lau) #48056 - [
7f68e14ea2
] - child_process: improve spawn performance on Linux (Keyhan Vakil) #48523 - [
76e4d4117c
] - crypto: ensure valid point on elliptic curve in SubtleCrypto.importKey (Filip Skokan) #50234 - [
7af54279b5
] - deps: V8: cherry-pick70caf33
(kxxt) #50506 - [
49c5495339
] - deps: update zlib to 1.2.13.1-motley-fef5869 (Node.js GitHub Bot) #50085 - [
e0fd52bf07
] - deps: update googletest to2dd1c13
(Node.js GitHub Bot) #50081 - [
1b103cc567
] - deps: update googletest toe47544a
(Node.js GitHub Bot) #49982 - [
736c869eeb
] - deps: update googletest tod1467f5
(Node.js GitHub Bot) #49676 - [
cd99ee1f35
] - deps: update googletest to8a6feab
(Node.js GitHub Bot) #49463 - [
5c338573ff
] - deps: update zlib to 1.2.13.1-motley-f5fd0ad (Node.js GitHub Bot) #49252 - [
374ec3d623
] - deps: update googletest to7e33b6a
(Node.js GitHub Bot) #49034 - [
c15dd6679b
] - deps: update zlib to 1.2.13.1-motley-526382e (Node.js GitHub Bot) #49033 - [
588bd5e524
] - deps: update googletest toc875c4e
(Node.js GitHub Bot) #48964 - [
6059b59018
] - deps: update zlib to 1.2.13.1-motley-61dc0bd (Node.js GitHub Bot) #48788 - [
e455dd4003
] - deps: update googletest tocc36671
(Node.js GitHub Bot) #48789 - [
747fbb49ca
] - deps: V8: cherry-pick1a782f6
(Keyhan Vakil) #48523 - [
272e55c66f
] - deps: upgrade npm to 10.2.3 (npm team) #50531 - [
3f6dcc62e5
] - deps: update archs files for openssl-3.0.12+quic1 (Node.js GitHub Bot) #50411 - [
da26cdbe84
] - deps: upgrade openssl sources to quictls/openssl-3.0.12+quic1 (Node.js GitHub Bot) #50411 - [
23069c34b2
] - deps: V8: cherry-pickd69c793
(Michaël Zasso) #46425 - [
5f852cc9fe
] - deps: V8: cherry-pickf7d000a
(Luke Albao) #50344 - [
0c4a84e8e9
] - (SEMVER-MINOR) deps: update uvwasi to 0.0.19 (Node.js GitHub Bot) #49908 - [
8682b90d02
] - deps: update simdutf to 3.2.18 (Node.js GitHub Bot) #50091 - [
11ecd06aeb
] - deps: update simdutf to 3.2.17 (Node.js GitHub Bot) #49019 - [
43bfe5f020
] - deps: upgrade npm to 10.2.0 (npm team) #50027 - [
a140bc284b
] - deps: upgrade npm to 10.1.0 (npm team) #49570 - [
65ca41c276
] - (SEMVER-MINOR) deps: upgrade npm to 10.0.0 (npm team) #49423 - [
df1ff8e3da
] - deps: fix call to undeclared functions 'ntohl' and 'htons' (MatteoBax) #49979 - [
f228dc7955
] - deps: update corepack to 0.22.0 (Node.js GitHub Bot) #50325 - [
4324ebab67
] - deps: update corepack to 0.21.0 (Node.js GitHub Bot) #50088 - [
1cabb77659
] - deps: update corepack to 0.20.0 (Node.js GitHub Bot) #49464 - [
04227b287e
] - deps: update c-ares to 1.20.1 (Node.js GitHub Bot) #50082 - [
13e69ee11c
] - deps: update c-ares to 1.20.0 (Node.js GitHub Bot) #50082 - [
ac717df17e
] - deps: update ada to 2.7.2 (Node.js GitHub Bot) #50338 - [
6885fc9386
] - deps: update ada to 2.6.10 (Node.js GitHub Bot) #49984 - [
76c5f4039f
] - deps: update ada to 2.6.9 (Node.js GitHub Bot) #49340 - [
597ea77422
] - deps: update ada to 2.6.8 (Node.js GitHub Bot) #49340 - [
8e7dcba553
] - deps: update ada to 2.6.7 (Node.js GitHub Bot) #49340 - [
9f2037e8ee
] - deps: update ada to 2.6.5 (Node.js GitHub Bot) #49340 - [
4723976703
] - deps: update ada to 2.6.3 (Node.js GitHub Bot) #49340 - [
7ccb478664
] - deps: update undici to 5.26.4 (Node.js GitHub Bot) #50274 - [
88f9ebb770
] - diagnostics_channel: fix ref counting bug when reaching zero subscribers (Stephen Belanger) #47520 - [
284a869540
] - dns: callada::idna::to_ascii
directly from c++ (Yagiz Nizipli) #47920 - [
10968370b5
] - doc: drop github actions check in sec release process (Rafael Gonzaga) #48978 - [
07c3b88c74
] - doc: remove@anonrig
from performance initiative (Yagiz Nizipli) #49641 - [
e26b89e8be
] - doc: fix node-api call example (Chengzhong Wu) #49395 - [
4c93905f6c
] - doc: add news issue for Diagnostics WG (Michael Dawson) #49306 - [
3f1a237a8f
] - doc: add print results for examples inStringDecoder
(Jungku Lee) #49326 - [
45caad82bb
] - doc: update outdated reference to NIST SP 800-131A (Tobias Nießen) #49316 - [
62f823d5a2
] - doc: usecjs
as block code's type inMockTimers
(Deokjin Kim) #49309 - [
0dda724d3f
] - doc: updateoptions.filter
description forfs.cp
(Shubham Pandey) #49289 - [
4ba11e352b
] - doc: avoid "not currently recommended" (Tobias Nießen) #49300 - [
9ca85b58b3
] - doc: modify param description for end(),write() inStringDecoder
(Jungku Lee) #49285 - [
3f771cab67
] - doc: use NODE_API_SUPPORTED_VERSION_MAX in release doc (Cheng Zhao) #49268 - [
f181c37e75
] - doc: fix typo instream.finished
documentation (Antoine du Hamel) #49271 - [
c70945ddc2
] - doc: update description forpercent_encode
sets inWHATWG API
(Jungku Lee) #49258 - [
f9c2a3fb3e
] - doc: clarify use of Uint8Array for n-api (Fedor Indutny) #48742 - [
bf22a5f66e
] - doc: use same name in the doc as in the code (Hyunjin Kim) #49216 - [
72bd527fb6
] - doc: add notable-change label mention to MR template (Rafael Gonzaga) #49188 - [
2247e52fe0
] - doc: add h1 summary to security release process (Rafael Gonzaga) #49112 - [
3b82e9aed1
] - doc: fix wording in napi_async_init (Tobias Nießen) #49180 - [
55171d88a0
] - doc: fixType
notation in webstreams (Deokjin Kim) #49121 - [
79c0497398
] - doc: make the NODE_VERSION_IS_RELEASE revert clear (Rafael Gonzaga) #49114 - [
7ee26fb8df
] - doc: update with latest security release (Rafael Gonzaga) #49085 - [
9ce73964be
] - doc: add description for--port
flag ofnode inspect
(Michael Bianco) #48785 - [
633b8cd181
] - doc: add missing period (Rich Trott) #49094 - [
6daa9ec2a4
] - doc: add ESM examples in http.md (btea) #47763 - [
12b83e81b9
] - doc: detailed description of keystrokes Ctrl-Y and Meta-Y (Ray) #43529 - [
ead654f976
] - doc: clarify use of process.env in worker threads on Windows (Daeyeon Jeong) #49008 - [
4047947838
] - doc: remove v14 mention (Rafael Gonzaga) #49005 - [
833c643eb4
] - doc: run license-builder (github-actions[bot]) #48898 - [
cb43717c97
] - doc: add ver of 18.x where Node-api 9 is supported (Michael Dawson) #48876 - [
a8d5c16a2a
] - doc: include experimental features assessment (Rafael Gonzaga) #48824 - [
e6d8735e2b
] - doc: add new TSC members (Michael Dawson) #48841 - [
d4fe00d0c7
] - doc: refactor node-api support matrix (Michael Dawson) #48774 - [
629132d84c
] - doc: declarepath
on example ofasync_hooks.executionAsyncId()
(Deokjin Kim) #48556 - [
dfd368ac9f
] - doc: remove the . in the end to reduce confusing (Jason) #48719 - [
74d8f96413
] - doc: nodejs-social over nodejs/tweet (Rafael Gonzaga) #48769 - [
73a7e00d06
] - doc: add missing history info forimport.meta.resolve
(Antoine du Hamel) #49700 - [
c20fdb4e52
] - doc: editimport.meta.resolve
documentation (Antoine du Hamel) #49247 - [
1ac389ecef
] - doc: update module hooks docs (Geoffrey Booth) #49265 - [
ed2d46f4cc
] - doc: move and rename loaders section (Geoffrey Booth) #49261 - [
258df0e72d
] - doc: add signature formodule.register
(Geoffrey Booth) #49251 - [
58eaf3f6ae
] - doc: caveat unavailability ofimport.meta.resolve
in custom loaders (Jacob Smith) #49242 - [
2fef28b2b9
] - doc: fix name of the flag ininitialize()
docs (Antoine du Hamel) #49158 - [
15280fb42c
] - doc: add steps about signing the binary in single-executable docs (Darshan Sen) #46764 - [
e374ba296c
] - doc: add "type" to test runner event details (Phil Nash) #49014 - [
ec0a6c1f1b
] - doc: add new reporter events to custom reporter examples (Chemi Atlow) #48903 - [
e8a32fb49b
] - doc: change duration to duration_ms on test documentation (Ardi_Nugraha) #48892 - [
2b30c8b8a3
] - doc: fixglobalPreload
example (bmacnaughton) #50300 - [
8a57182769
] - doc,test: extend the list of platforms supported by single-executables (Darshan Sen) #47026 - [
92734d4480
] - esm: use import attributes instead of import assertions (Antoine du Hamel) #50140 - [
c3c945e654
] - esm: bypass CommonJS loader under --default-type (Geoffrey Booth) #49986 - [
fe691984b2
] - esm: unflag extensionless javascript and wasm in module scope (Geoffrey Booth) #49974 - [
56bd9a88ac
] - esm: --experimental-default-type flag to flip module defaults (Geoffrey Booth) #49869 - [
72644d62e7
] - esm: improve JSDoc annotation of internal functions (Antoine du Hamel) #49959 - [
957725f601
] - esm: require braces for modules code (Geoffrey Booth) #49657 - [
c12685f82d
] - esm: fix cache collision on JSON files using file: URL (Antoine du Hamel) #49887 - [
ed8dd33493
] - esm: identify parent importing a url with invalid host (Jacob Smith) #49736 - [
46d730ab75
] - esm: fix return type ofimport.meta.resolve
(Antoine du Hamel) #49698 - [
12cb700478
] - esm: update loaders warning (Geoffrey Booth) #49633 - [
47193a347e
] - esm: fix support forURL
instances inregister
(Antoine du Hamel) #49655 - [
51ced0f1a1
] - esm: clarify ERR_REQUIRE_ESM errors (Daniel Compton) #49521 - [
4be5612bae
] - esm: remove return value forModule.register
(Antoine du Hamel) #49529 - [
0875867e27
] - esm: refactor test-esm-loader-resolve-type (Geoffrey Booth) #49493 - [
9b7c9d93e9
] - esm: refactor test-esm-named-exports (Geoffrey Booth) #49493 - [
d1f5514917
] - esm: refactor mocking test (Geoffrey Booth) #49465 - [
01ca6d277d
] - esm: fixglobalPreload
warning (Antoine du Hamel) #49069 - [
c1a84398b4
] - esm: unflag import.meta.resolve (Guy Bedford) #49028 - [
ef43f084e9
] - esm: import.meta.resolve exact module not found errors should return (Guy Bedford) #49038 - [
385f24c9cc
] - esm: protectERR_UNSUPPORTED_DIR_IMPORT
against prototype pollution (Antoine du Hamel) #49060 - [
10e7c3a376
] - esm: addinitialize
hook, integrate withregister
(Izaak Schroeder) #48842 - [
f96b610268
] - esm: fix typoparentUrl
->parentURL
(Antoine du Hamel) #48999 - [
03c1b5e647
] - esm: unflagModule.register
and allow nested loaderimport()
(Izaak Schroeder) #48559 - [
63aa5d7270
] - esm: add backglobalPreload
tests and fix failing ones (Antoine du Hamel) #48779 - [
1c7be606f1
] - esm: remove support for arrays inimport
internal method (Antoine du Hamel) #48296 - [
655111fa00
] - esm: handleglobalPreload
hook returning a nullish value (Antoine du Hamel) #48249 - [
9938a8bf13
] - esm: handle more error types thrown from the loader thread (Antoine du Hamel) #48247 - [
8cab32a5d1
] - esm: do not use'beforeExit'
on the main thread (Antoine du Hamel) #47964 - [
b61efcce95
] - esm: renameURLCanParse
to be consistent (Antoine du Hamel) #47668 - [
ca20f5931d
] - esm: remove support for deprecated hooks (Antoine du Hamel) #47580 - [
5de37a1e37
] - esm: initializeimport.meta
on eval (Antoine du Hamel) #47551 - [
39fbce7313
] - esm: propagateprocess.exit
from the loader thread to the main thread (Antoine du Hamel) #47548 - [
2a528b76e6
] - esm: avoid try/catch when validating urls (Yagiz Nizipli) #47541 - [
bac9b1758f
] - esm: move hook execution to separate thread (Jacob Smith) #44710 - [
dfa444477a
] - esm: skip file: URL conversion to path when possible (Antoine du Hamel) #46305 - [
45de8d1bd7
] - esm: allow resolve to return import assertions (Geoffrey Booth) #46153 - [
5ffc90a06b
] - esm: move hooks handling into separate class (Geoffrey Booth) #45869 - [
490b598dbf
] - esm: leverage loaders when resolving subsequent loaders (Maël Nison) #43772 - [
acd987287c
] - events: remove weak listener for event target (Raz Luvaton) #48952 - [
69b7f91a92
] - fs: remove redundant code in readableWebStream() (Deokjin Kim) #49298 - [
ae8bb162b4
] - fs: remove redundantnullCheck
(Livia Medeiros) #48826 - [
48c25b154b
] - fs: makemkdtemp
accept buffers and URL (LiviaMedeiros) #48828 - [
edf46c1b59
] - fs: move fs_use_promises_symbol to per-isolate symbols (Joyee Cheung) #47768 - [
fe41d22afc
] - fs: use kResistStopPropagation (Chemi Atlow) #48521 - [
7c758f60ab
] - fs: fix readdir recursive sync & callback (Ethan Arrowood) #48698 - [
8874b2e11d
] - http: start connections checking interval on listen (Paolo Insogna) #48611 - [
29697229b6
] - https: fix connection checking interval not clearing on server close (Nitzan Uziely) #48383 - [
981aa7866d
] - lib: fix MIME overmatch in data URLs (André Alves) #49104 - [
fe26f8a860
] - lib: merge cjs and esm package json reader caches (Yagiz Nizipli) #48477 - [
17246be158
] - (SEMVER-MINOR) lib: add api to detect whether source-maps are enabled (翠 / green) #46391 - [
2e9f7284a1
] - (SEMVER-MINOR) lib: add tracing channel to diagnostics_channel (Stephen Belanger) #44943 - [
04dad9c2f6
] - lib: fix BroadcastChannel initialization location (Shelley Vohr) #46864 - [
671d2c0067
] - lib: fix DOMException property descriptors after being lazy loaded (Filip Skokan) #46799 - [
9a4b57d6d4
] - lib: improve esm resolve performance (Yagiz Nizipli) #46652 - [
c6b2f56723
] - lib: lazy-load deps in modules/run_main.js (Joyee Cheung) #45849 - [
baa280a4f6
] - lib: lazy-load deps in source_map_cache.js (Joyee Cheung) #45849 - [
00bdb72b6e
] - lib: add getLazy() method to internal/util (Joyee Cheung) #45849 - [
b77a6b2376
] - loader: use default loader as cascaded loader in the in loader worker (Joyee Cheung) #47620 - [
7778e190b0
] - meta: move Trott to TSC regular member (Rich Trott) #50297 - [
5b9575dd30
] - meta: ping TSC for offboarding (Tobias Nießen) #50147 - [
d24c3a0692
] - meta: update website team with new name (Rich Trott) #49883 - [
332d2aedb4
] - meta: fix linter error (Antoine du Hamel) #49755 - [
dc70c444f4
] - meta: add primordials strategic initiative (Benjamin Gruenbaum) #49706 - [
213a9f8a4b
] - meta: bump rtCamp/action-slack-notify from 2.2.0 to 2.2.1 (dependabot[bot]) #49437 - [
2827779faa
] - meta: remove modules team from CODEOWNERS (Benjamin Gruenbaum) #49412 - [
5d6daf0d01
] - meta: add test/reporters to codeowners (Chemi Atlow) #49186 - [
dee7dc5d54
] - meta: bump actions/upload-artifact from 3.1.2 to 3.1.3 (dependabot[bot]) #50000 - [
98294fdeee
] - meta: bump actions/cache from 3.3.1 to 3.3.2 (dependabot[bot]) #50003 - [
79270327d0
] - meta: bump github/codeql-action from 2.21.5 to 2.21.9 (dependabot[bot]) #50002 - [
6591a03c89
] - meta: bump github/codeql-action from 2.21.2 to 2.21.5 (dependabot[bot]) #49438 - [
3a107f80bc
] - meta: bump actions/checkout from 3.6.0 to 4.1.0 (dependabot[bot]) #50001 - [
26c5c3c4a2
] - meta: bump actions/checkout from 3.5.3 to 3.6.0 (dependabot[bot]) #49436 - [
0fc0b88d97
] - meta: bump step-security/harden-runner from 2.5.0 to 2.5.1 (dependabot[bot]) #49435 - [
dad5785d5d
] - meta: bump actions/setup-node from 3.7.0 to 3.8.1 (dependabot[bot]) #49434 - [
155a275acb
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #49264 - [
bd17f0b992
] - meta: mention nodejs/tsc when changing GH templates (Rafael Gonzaga) #49189 - [
f6e68a0238
] - meta: bump github/codeql-action from 2.20.1 to 2.21.2 (dependabot[bot]) #48986 - [
5c352eeecb
] - meta: bump step-security/harden-runner from 2.4.1 to 2.5.0 (dependabot[bot]) #48985 - [
42ac5a6e5f
] - meta: bump actions/setup-node from 3.6.0 to 3.7.0 (dependabot[bot]) #48984 - [
b0d769fe7c
] - meta: bump actions/setup-python from 4.6.1 to 4.7.0 (dependabot[bot]) #48983 - [
f62b24276c
] - meta: add mailmap entry for atlowChemi (Chemi Atlow) #48810 - [
8c55f317a3
] - module: move helpers out of cjs loader (Geoffrey Booth) #49912 - [
14e148ee6c
] - module: ensure successful import returns the same result (Antoine du Hamel) #46662 - [
65dfe85f03
] - module: implementregister
utility (João Lenon) #46826 - [
6f0458d0a6
] - module: refactor to usenormalizeRequirableId
in the CJS module loader (Darshan Sen) #47896 - [
89ed24b94a
] - module: do less CJS module loader initialization at run time (Joyee Cheung) #47194 - [
939c8764b8
] - module: move callbacks and conditions into modules/esm/utils.js (Joyee Cheung) #45849 - [
a3b0f4cf55
] - module: move modules/cjs/helpers.js to modules/helpers.js (Joyee Cheung) #45849 - [
97579895f2
] - module, esm: jsdoc for modules files (Geoffrey Booth) #49523 - [
daca87bbef
] - net: use asserts in JS Socket Stream to catch races in future (Tim Perry) #49400 - [
03063bd022
] - net: fix crash due to simultaneous close/shutdown on JS Stream Sockets (Tim Perry) #49400 - [
67fe7d8822
] - net: fix setting of value in 'setDefaultAutoSelectFamilyAttemptTimeout' (Deokjin Kim) #47012 - [
f449b222fd
] - node-api: update headers for better wasm support (Toyo Li) #49037 - [
5148f030b8
] - node-api: run finalizers directly from GC (Vladimir Morozov) #42651 - [
edef4fa668
] - node-api: enable uncaught exceptions policy by default (Chengzhong Wu) #49313 - [
48a1b9336b
] - node-api: fix compiler warning in node_api.h (Michael Graeb) #49103 - [
57966318fe
] - node-api: avoid macro redefinition (Tobias Nießen) #48879 - [
d4f26f4651
] - policy: fix path to URL conversion (Antoine du Hamel) #49133 - [
a625f22acb
] - readline: add paste bracket mode (Jakub Jankiewicz) #47150 - [
bbafd42d75
] - repl: display dynamic import variant in static import error messages (Hemanth HM) #48129 - [
b8634eeb16
] - sea: allow requiring core modules with the "node:" prefix (Darshan Sen) #47779 - [
066d9d4492
] - src: remove unused functionGetName()
in node_perf (Jungku Lee) #49244 - [
158c91a38a
] - src: use ARES_SUCCESS instead of 0 (Jungku Lee) #49048 - [
8c33731ac6
] - src: add a condition if the argument ofDomainToUnicode
is empty (Jungku Lee) #49097 - [
67dba57d77
] - src: use ARES_SUCCESS instead of 0 (Hyunjin Kim) #48834 - [
97d87495c7
] - src: remove unnecessary temporary creation (Jason) #48734 - [
f5384c3262
] - src: fix nullptr access on realm (Jan Olaf Krems) #48802 - [
358273d77f
] - src: remove OnScopeLeaveImpl's move assignment overload (Jason) #48732 - [
cc7bf1f641
] - (SEMVER-MINOR) src: add cjs_module_lexer_version base64_version (Jithil P Ponnan) #45629 - [
0a950c3752
] - src: add missing to_ascii method in dns queries (Daniel Lemire) #48354 - [
3552afb904
] - src: fix duplication of externalized builtin code (Keyhan Vakil) #47079 - [
66e4ba5062
] - src: fix AliasedBuffer memory attribution in heap snapshots (Joyee Cheung) #46817 - [
946f19b5e3
] - src: move AliasedBuffer implementation to -inl.h (Joyee Cheung) #46817 - [
d35f8702c9
] - src: bootstrap prepare stack trace callback in shadow realm (Chengzhong Wu) #47107 - [
3551a19205
] - src: make BuiltinLoader threadsafe and non-global (Anna Henningsen) #45942 - [
92311a0801
] - src: define per-isolate internal bindings registration callback (Chengzhong Wu) #45547 - [
629fc774ca
] - src: use an array for faster binding data lookup (Joyee Cheung) #46620 - [
62e2e590fc
] - src: fix TLSWrap lifetime bug in ALPN callback (Ben Noordhuis) #49635 - [
fae60c5841
] - stream: use bitmap in readable state (Benjamin Gruenbaum) #49745 - [
ee4fc7d78c
] - stream: use Buffer.from when constructor is a Buffer (Matthew Aitken) #49250 - [
651e4504ce
] - stream: addhighWaterMark
for the map operator (Raz Luvaton) #49249 - [
d585d13127
] - stream: improve WebStreams performance (Raz Luvaton) #49089 - [
7f39f8e805
] - test: replace forEach with for..of in test-http-perf_hooks.js (Niya Shiyas) #49818 - [
2f0ffde842
] - test: replace forEach with for..of in test-net-isipv4.js (Niya Shiyas) #49822 - [
bbd302b5ab
] - test: replace forEach with for..of in test-http2-server (Niya Shiyas) #49819 - [
128ca3e213
] - test: replace forEach with for..of in test-http2-client-destroy.js (Niya Shiyas) #49820 - [
a2ca1a605f
] - test: print instruction for creating missing snapshot in assertSnapshot (Raz Luvaton) #48914 - [
a0bb30cdca
] - test: settest-watch-mode-inspect
as flaky (Yagiz Nizipli) #50259 - [
1047d95698
] - test: settest-emit-after-on-destroyed
as flaky (Yagiz Nizipli) #50246 - [
91a3b57962
] - test: set inspector async stack test as flaky (Yagiz Nizipli) #50244 - [
b41aa7b82a
] - test: set test-worker-nearheaplimit-deadlock flaky (StefanStojanovic) #50277 - [
e81b066fb1
] - test: settest-cli-node-options
as flaky (Yagiz Nizipli) #50296 - [
0c05c25c4e
] - test: set crypto-timing test as flaky (Yagiz Nizipli) #50232 - [
83e339dbba
] - test: settest-structuredclone-*
as flaky (Yagiz Nizipli) #50261 - [
866a399488
] - test: set inspector async hook test as flaky (Yagiz Nizipli) #50252 - [
cb0bd2116b
] - test: set parallel http server test as flaky (Yagiz Nizipli) #50227 - [
54f3d877ae
] - test: set test-worker-nearheaplimit-deadlock flaky (Stefan Stojanovic) #50238 - [
5953a255b6
] - test: settest-runner-watch-mode
as flaky (Yagiz Nizipli) #50221 - [
5820d7e14d
] - test: deflake test-runner-output (Moshe Atlow) #49878 - [
1d75da43f2
] - Revert "test: mark test-http-regr-gh-2928 as flaky" (Luigi Pinca) #49708 - [
5df23520e7
] - test: mark test-runner-watch-mode as flaky (Joyee Cheung) #49627 - [
7e714e6497
] - test: remove --no-warnings flag in test_runner fixtures (Raz Luvaton) #48989 - [
0fea550641
] - test: reorder test files fixtures for better understanding (Raz Luvaton) #48787 - [
c5857bde42
] - test: avoid copying test source files (Chengzhong Wu) #49515 - [
67cb6f9a34
] - test: reduce length in crypto keygen tests (Joyee Cheung) #49221 - [
958e114655
] - test: split JWK async elliptic curve keygen tests (Joyee Cheung) #49221 - [
344592dc00
] - test: split test-crypto-keygen.js (Joyee Cheung) #49221 - [
5f1a1aeeed
] - test: rename test-crypto-modp1-error (Tobias Nießen) #49348 - [
107015b45d
] - test: migrate message source map tests from Python to JS (Yiyun Lei) #49238 - [
ddebd29515
] - test: fix compiler warning in NodeCryptoEnv (Tobias Nießen) #49206 - [
0261c5de56
] - test: make test-perf-hooks more robust and work with workers (Joyee Cheung) #49197 - [
e18de802c8
] - test: use gcUntil() in test-v8-serialize-leak (Joyee Cheung) #49168 - [
52d5dd8dba
] - test: add expectSyncExitWithoutError() and expectSyncExit() utils (Joyee Cheung) #49020 - [
67925bb914
] - test: add Symbol.dispose support to mock timers (Benjamin Gruenbaum) #48549 - [
00c08539b6
] - test: fix edge snapshot stack traces (Geoffrey Booth) #49659 - [
48f6d9a975
] - test: refactortest-node-output-errors
(Antoine du Hamel) #48992 - [
c1a8ae38c0
] - test: deflaketest-loaders-workers-spawned
(Antoine du Hamel) #50251 - [
d5cc5d7956
] - test: deflaketest-esm-loader-resolve-type
(Antoine du Hamel) #50273 - [
866d646b0e
] - test: increase coverage ofModule.register
andinitialize
hook (Antoine du Hamel) #49532 - [
65201ab36b
] - test: isolateglobalPreload
tests (Geoffrey Booth) #49545 - [
65058d9a35
] - test: addtmpdir.fileURL()
(Livia Medeiros) #49040 - [
e1c6f46926
] - test: reduce flakiness oftest-esm-loader-hooks
(Antoine du Hamel) #49248 - [
e8d475ffc4
] - test: refactortest-esm-loader-hooks
for easier debugging (Antoine du Hamel) #49131 - [
26f01669fc
] - test: reduce flakiness oftest-esm-loader-hooks
(Antoine du Hamel) #49105 - [
d5a1153970
] - test: usefixtures.fileURL
when appropriate (Antoine du Hamel) #48990 - [
3424793013
] - test: fix snapshot tests when cwd contains spaces or backslashes (Antoine du Hamel) #48959 - [
a9347a4635
] - test: ordercommon.mjs
in ASCII order (Antoine du Hamel) #48960 - [
adb9280d8e
] - test: fix some assumptions in tests (Antoine du Hamel) #48958 - [
f02637e805
] - test: fixes-module/test-esm-initialization
(Antoine du Hamel) #48880 - [
8c918e5e59
] - test: relax version check with shared OpenSSL (Luigi Pinca) #50505 - [
c6caf13ad5
] - test: fix crypto-dh error message for OpenSSL 3.x (Kerem Kat) #50395 - [
65b41ebd1f
] - test: split test-crypto-dh to avoid timeout on slow machines in the CI (Joyee Cheung) #49492 - [
7606921e1d
] - test: fix testsuite against zlib version 1.3 (Dominique Leuenberger) #50364 - [
4f78233254
] - test: verify tracePromise does not do runStores (Stephen Belanger) #47349 - [
cb6ef74cf2
] - test: fix IPv6 checks on IBM i (Abdirahim Musse) #46546 - [
bcf97ab1b2
] - test: fix flaky test-runner-exit-code.js (Colin Ihrig) #46138 - [
f0e8ff90eb
] - test: use an array for WPT gloablThis initialization scripts (Joyee Cheung) #46425 - [
0e0dd1fe90
] - test: adapt tests for OpenSSL 3.1 (OttoHollmann) #47859 - [
e3ea906988
] - test: disambiguate AIX and IBM i (Richard Lau) #48056 - [
088460d80c
] - test: add os setPriority, getPriority test coverage (Wael) #38771 - [
b011a498c5
] - test,benchmark: usetmpdir.fileURL()
(Livia Medeiros) #49138 - [
54168b7364
] - test_runner: add test location for FileTests (Colin Ihrig) #49999 - [
1d9c37161d
] - test_runner: replace spurious if with else (Colin Ihrig) #49943 - [
b283ae4238
] - (SEMVER-MINOR) test_runner: accepttestOnly
inrun
(Moshe Atlow) #49753 - [
103c4a088a
] - test_runner: catch reporter errors (Moshe Atlow) #49646 - [
e459598cf2
] - test_runner: fix test runner watch mode when no positional arguments (Moshe Atlow) #49578 - [
059b1945d8
] - (SEMVER-MINOR) test_runner: add junit reporter (Moshe Atlow) #49614 - [
76a35632d3
] - test_runner: add jsdocs to mock.js (Caio Borghi) #49555 - [
ba57c24fde
] - test_runner: fix invalid timer call (Erick Wendel) #49477 - [
5949ae016f
] - test_runner: add jsdocs to MockTimers (Erick Wendel) #49476 - [
429846f258
] - test_runner: fix typescript coverage (Moshe Atlow) #49406 - [
760c98280e
] - test_runner: preserve original property descriptor (Erick Wendel) #49433 - [
95cc98e14b
] - test_runner: expose spec reporter as newable function (Chemi Atlow) #49184 - [
d83964031b
] - test_runner: reland run global after() hook earlier (Colin Ihrig) #49116 - [
d61a505546
] - (SEMVER-MINOR) test_runner: expose location of tests (Colin Ihrig) #48975 - [
00c70e12f7
] - test_runner: dont set exit code on todo tests (Moshe Atlow) #48929 - [
71f7ed728d
] - test_runner: fix global after not failing the tests (Raz Luvaton) #48913 - [
11fbd924ed
] - test_runner: add support for setImmediate (Erick Wendel) #49397 - [
fb64d415be
] - test_runner: fix timeout in *Each hook failing further tests (Raz Luvaton) #48925 - [
67d7faddb2
] - test_runner: cleanup test timeout abort listener (Raz Luvaton) #48915 - [
d217435cd3
] - test_runner: fix todo and only in spec reporter (Moshe Atlow) #48929 - [
9f122be15a
] - test_runner: unwrap error message in TAP reporter (Colin Ihrig) #48942 - [
3a74316624
] - test_runner: add__proto__
null (Raz Luvaton) #48663 - [
66ea9bdb4d
] - test_runner: fix global before not called when no global test exists (Raz Luvaton) #48877 - [
0bd9704018
] - test_runner: use os.availableParallelism() (Colin Ihrig) #45969 - [
b55eb2a8d1
] - (SEMVER-MINOR) test_runner: add shards support (Raz Luvaton) #48639 - [
c2575c8db0
] - test_runner: fix test_runnertest:fail
event type (Ethan Arrowood) #48854 - [
6b186d41cd
] - test_runner: fix async callback in describe not awaited (Raz Luvaton) #48856 - [
2d4511baab
] - test_runner: call abort on test finish (Raz Luvaton) #48827 - [
05e7f28b40
] - (SEMVER-MINOR) test_runner: add initial draft for fakeTimers (Erick Wendel) #47775 - [
428301ad27
] - (SEMVER-MINOR) test_runner, cli: add --test-concurrency flag (Colin Ihrig) #49996 - [
4b2e258c76
] - test_runner,test: fix flaky test-runner-cli-concurrency.js (Colin Ihrig) #50108 - [
b5d16cd8f0
] - (SEMVER-MINOR) tls: add ALPNCallback server option for dynamic ALPN negotiation (Tim Perry) #45190 - [
a1c94037ab
] - tools: fix --v8-non-optimized-debug for v18.x (Joyee Cheung) #50612 - [
3b65c61f5c
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #50083 - [
07941a3609
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #49983 - [
ad6e7a6270
] - tools: update lint-md-dependencies to rollup@3.29.2 (Node.js GitHub Bot) #49679 - [
3511b13c94
] - tools: update lint-md-dependencies to rollup@3.29.0 unified@11.0.3 (Node.js GitHub Bot) #49584 - [
b6522a2b6b
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #49342 - [
01b2588acf
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #49253 - [
0cb42ccb5c
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #49122 - [
caa7ecca30
] - tools: update lint-md-dependencies to rollup@3.27.2 (Node.js GitHub Bot) #49035 - [
42846a02b3
] - tools: limit the number of auto start CIs (Antoine du Hamel) #49067 - [
9cc3b2061f
] - tools: update lint-md-dependencies to rollup@3.27.0 (Node.js GitHub Bot) #48965 - [
1cbb186039
] - tools: update lint-md-dependencies to rollup@3.26.3 (Node.js GitHub Bot) #48888 - [
f7d6e9ba43
] - tools: update lint-md-dependencies to @rollup/plugin-commonjs@25.0.3 (Node.js GitHub Bot) #48791 - [
a98addb626
] - tools: skip ruff on tools/node_modules (Moshe Atlow) #49838 - [
6cf8dd95d1
] - tools: update eslint to 8.51.0 (Node.js GitHub Bot) #50084 - [
b8d2a29ff5
] - tools: update eslint to 8.50.0 (Node.js GitHub Bot) #49989 - [
1c1cbf06f0
] - tools: update eslint to 8.49.0 (Node.js GitHub Bot) #49586 - [
92d21864c5
] - tools: update eslint to 8.48.0 (Node.js GitHub Bot) #49343 - [
0940de36ee
] - tools: update eslint to 8.47.0 (Node.js GitHub Bot) #49124 - [
4880a05fa2
] - tools: update eslint to 8.46.0 (Node.js GitHub Bot) #48966 - [
e9632454cd
] - tools: update eslint to 8.45.0 (Node.js GitHub Bot) #48793 - [
ae49f319c4
] - tools: drop support for osx notarization with gon (Ulises Gascón) #50291 - [
014b65e9b7
] - tools: use osx notarytool for future releases (Ulises Gascon) #48701 - [
71c386a25c
] - typings: update JSDoc forcwd
inchild_process
(LiviaMedeiros) #49029 - [
4d70a2c344
] - typings: sync JSDoc with the actual implementation (Hyunjin Kim) #48853 - [
945609487c
] - typings: fix missing property inExportedHooks
(Antoine du Hamel) #49567 - [
2ef80f12b9
] - typings: fix JSDoc in ESM loader modules (Antoine du Hamel) #48424 - [
7fc15b6d42
] - url: fixisURL
detection by checkingpath
(Zhuo Zhang) #48928 - [
916a63b124
] - url: improveisURL
detection (Yagiz Nizipli) #47886 - [
ac27431372
] - url: validatepathToFileURL(path)
argument as string (LiviaMedeiros) #49161 - [
f256b160bf
] - url: handle unicode hostname if empty (Yagiz Nizipli) #49396 - [
2441415c68
] - url: reducepathToFileURL
cpp calls (Yagiz Nizipli) #48709 - [
227e749888
] - url: validate URL constructor arg length (Matthew Aitken) #47513 - [
bf4ee17d18
] - url: validate argument length in canParse (Matthew Aitken) #47513 - [
a67fa2a107
] - util: addgetCwdSafe
internal util fn (João Lenon) #48434 - [
e96f7ef881
] - (SEMVER-MINOR) vm: use import attributes instead of import assertions (Antoine du Hamel) #50141 - [
525de686a7
] - (SEMVER-MINOR) wasi: updates required for latest uvwasi version (Michael Dawson) #49908 - [
f27d505805
] - watch: decrease debounce rate (Moshe Atlow) #48926 - [
83a6d20d70
] - watch: use debounce instead of throttle (Moshe Atlow) #48926 - [
879b958184
] - worker: protect against user mutating well-known prototypes (Antoine du Hamel) #49270
v18.18.2
: 2023-10-13, Version 18.18.2 'Hydrogen' (LTS), @RafaelGSS
This is a security release.
Notable Changes
The following CVEs are fixed in this release:
-
CVE-2023-44487:
nghttp2
Security Release (High) -
CVE-2023-45143:
undici
Security Release (High) - CVE-2023-38552: Integrity checks according to policies can be circumvented (Medium)
- CVE-2023-39333: Code injection via WebAssembly export names (Low)
More detailed information on each of the vulnerabilities can be found in October 2023 Security Releases blog post.
Commits
- [
55028468db
] - deps: update undici to v5.26.3 (Matteo Collina) #50153 - [
a792bbc515
] - deps: update nghttp2 to 1.57.0 (James M Snell) #50121 - [
f6444defa4
] - deps: update nghttp2 to 1.56.0 (Node.js GitHub Bot) #49582 - [
7e9b08dfd4
] - deps: update nghttp2 to 1.55.1 (Node.js GitHub Bot) #48790 - [
85672c153f
] - deps: update nghttp2 to 1.55.0 (Node.js GitHub Bot) #48746 - [
300a902422
] - deps: update nghttp2 to 1.53.0 (Node.js GitHub Bot) #47997 - [
7d83ed0bf6
] - Revert "deps: update nghttp2 to 1.55.0" (Richard Lau) #50151 - [
1193ca5fdb
] - lib: let deps requirenode
prefixed modules (Matthew Aitken) #50047 - [
eaf9083cf1
] - module: fix code injection through export names (Tobias Nießen) nodejs-private/node-private#461 - [
1c538938cc
] - policy: use tamper-proof integrity check function (Tobias Nießen) nodejs-private/node-private#462
v18.18.1
: 2023-10-10, Version 18.18.1 'Hydrogen' (LTS), @richardlau
Notable Changes
This release addresses some regressions that appeared in Node.js 18.18.0:
- (Windows) FS can not handle certain characters in file name #48673
- 18 and 20 node images give error - Text file busy (after re-build images) nodejs/docker-node#1968
- libuv update in 18.18.0 breaks webpack's thread-loader #49911
The libuv 1.45.0 and 1.46.0 updates that were released in Node.js 18.18.0 have been temporarily reverted.
Commits
- [
3e3a75cc46
] - Revert "build: sync libuv header change" (Richard Lau) #50036 - [
14ece2c479
] - Revert "deps: upgrade to libuv 1.45.0" (Richard Lau) #50036 - [
022352acbe
] - Revert "deps: upgrade to libuv 1.46.0" (Richard Lau) #50036 - [
d9f138189c
] - Revert "deps: add missing thread-common.c in uv.gyp" (Richard Lau) #50036 - [
7a3e1ffbb8
] - fs: make sure to write entire buffer (Robert Nagy) #49211 - [
04cba95a67
] - test: addtmpdir.resolve()
(Livia Medeiros) #49079
v18.18.0
: 2023-09-18, Version 18.18.0 'Hydrogen' (LTS), @ruyadorno
Notable Changes
- [
7dc731d4bf
] - build: sync libuv header change (Jiawen Geng) #48078 - [
490fc004b0
] - crypto: update root certificates to NSS 3.93 (Node.js GitHub Bot) #49341 - [
dd8cd97d4d
] - crypto: update root certificates to NSS 3.90 (Node.js GitHub Bot) #48416 - [
ea23870bec
] - deps: add missing thread-common.c in uv.gyp (Santiago Gimeno) #48078 - [
88855e0b1b
] - deps: upgrade to libuv 1.46.0 (Santiago Gimeno) #48078 - [
fb2b80fca0
] - deps: upgrade to libuv 1.45.0 (Santiago Gimeno) #48078 - [
249879e46c
] - doc: add atlowChemi to collaborators (atlowChemi) #48757 - [
e8dc7bde6a
] - doc: add vmoroz to collaborators (Vladimir Morozov) #48527 - [
a30f2fbcc1
] - doc: add kvakil to collaborators (Keyhan Vakil) #48449 - [
c39b7c240e
] - (SEMVER-MINOR) esm: add--import
flag (Moshe Atlow) #43942 - [
a68a67f54d
] - (SEMVER-MINOR) events: allow safely adding listener to abortSignal (Chemi Atlow) #48596 - [
3a8586bee2
] - fs, stream: initialSymbol.dispose
andSymbol.asyncDispose
support (Moshe Atlow) #48518 - [
863bdb785d
] - net: add autoSelectFamily global getter and setter (Paolo Insogna) #45777 - [
c59ae86ba0
] - (SEMVER-MINOR) url: add value argument to has and delete methods (Sankalp Shubham) #47885
Commits
- [
d1f43317ea
] - benchmark: add bar.R (Rafael Gonzaga) #47729 - [
4f74be3c92
] - benchmark: refactor crypto oneshot (Filip Skokan) #48267 - [
fe9da9df0f
] - benchmark: add crypto.create*Key (Filip Skokan) #48284 - [
9cb18b3e9d
] - build: do not pass target toolchain flags to host toolchain (Ivan Trubach) #48597 - [
7dc731d4bf
] - build: sync libuv header change (Jiawen Geng) #48078 - [
211a4f88a9
] - build: update action to close stale MRs (Michael Dawson) #48196 - [
cc33a1864b
] - child_process: harden against prototype pollution (Livia Medeiros) #48726 - [
b5df084e1e
] - child_process: use addAbortListener (atlowChemi) #48550 - [
611db8df1a
] - child_process: supportSymbol.dispose
(Moshe Atlow) #48551 - [
490fc004b0
] - crypto: update root certificates to NSS 3.93 (Node.js GitHub Bot) #49341 - [
dd8cd97d4d
] - crypto: update root certificates to NSS 3.90 (Node.js GitHub Bot) #48416 - [
b2bc839d4c
] - crypto: remove OPENSSL_FIPS guard for OpenSSL 3 (Richard Lau) #48392 - [
c8da8c80b9
] - deps: update nghttp2 to 1.55.0 (Node.js GitHub Bot) #48746 - [
7e04242dcb
] - deps: update minimatch to 9.0.3 (Node.js GitHub Bot) #48704 - [
ea23870bec
] - deps: add missing thread-common.c in uv.gyp (Santiago Gimeno) #48078 - [
88855e0b1b
] - deps: upgrade to libuv 1.46.0 (Santiago Gimeno) #48078 - [
fb2b80fca0
] - deps: upgrade to libuv 1.45.0 (Santiago Gimeno) #48078 - [
59fca4e09a
] - deps: update acorn to 8.10.0 (Node.js GitHub Bot) #48713 - [
bcb255d5a8
] - deps: V8: cherry-pickcb00db4
(Keyhan Vakil) #48671 - [
65a6c90fc6
] - deps: update acorn to 8.9.0 (Node.js GitHub Bot) #48484 - [
6b6d5d91e9
] - deps: update zlib to 1.2.13.1-motley-f81f385 (Node.js GitHub Bot) #48541 - [
56249b0770
] - deps: update googletest toec4fed9
(Node.js GitHub Bot) #48538 - [
8914a5204a
] - deps: update minimatch to 9.0.2 (Node.js GitHub Bot) #48542 - [
1b960d9988
] - deps: update icu to 73.2 (Node.js GitHub Bot) #48502 - [
f0e2e3c549
] - deps: update zlib to 1.2.13.1-motley-3ca9f16 (Node.js GitHub Bot) #48413 - [
9cf8fe6b93
] - deps: upgrade npm to 9.8.1 (npm team) #48838 - [
d9ff473ff3
] - deps: upgrade npm to 9.8.0 (npm team) #48665 - [
4a6177daad
] - deps: upgrade npm to 9.7.2 (npm team) #48514 - [
104b58feb1
] - deps: update ada to 2.6.0 (Node.js GitHub Bot) #48896 - [
7f7a125d78
] - deps: update corepack to 0.19.0 (Node.js GitHub Bot) #48540 - [
5e1eb451d1
] - deps: update corepack to 0.18.1 (Node.js GitHub Bot) #48483 - [
3be53358bc
] - deps: add loong64 config into openssl gypi (Shi Pujin) #48043 - [
555982c59e
] - deps: upgrade npm to 9.7.1 (npm team) #48378 - [
3c03ec0832
] - deps: update simdutf to 3.2.14 (Node.js GitHub Bot) #48344 - [
a2964a4583
] - deps: update ada to 2.5.1 (Node.js GitHub Bot) #48319 - [
38f6e0d8cd
] - deps: update zlib to982b036
(Node.js GitHub Bot) #48327 - [
f4617a4f81
] - deps: add loongarch64 into openssl Makefile and gen openssl-loongarch64 (Shi Pujin) #46401 - [
573eb4be12
] - dgram: socket addasyncDispose
(atlowChemi) #48717 - [
f3c4300e00
] - dgram: use addAbortListener (atlowChemi) #48550 - [
d3041df738
] - doc: expand on squashing and rebasing to land a MR (Chengzhong Wu) #48751 - [
249879e46c
] - doc: add atlowChemi to collaborators (atlowChemi) #48757 - [
42ecd46d1f
] - doc: fix ambiguity in http.md and https.md (an5er) #48692 - [
e78824e053
] - doc: add release key for Ulises Gascon (Ulises Gascón) #49196 - [
1aa798d69f
] - doc: clarify transform._transform() callback argument logic (Rafael Sofi-zada) #48680 - [
d723e870a2
] - doc: mention git node release prepare (Rafael Gonzaga) #48644 - [
a9a1394388
] - doc: fix options order (Luigi Pinca) #48617 - [
989ea6858f
] - doc: update security release stewards (Rafael Gonzaga) #48569 - [
f436ac1803
] - doc: update return type for describe (Shrujal Shah) #48572 - [
fbe89e6320
] - doc: run license-builder (github-actions[bot]) #48552 - [
f18b287bc3
] - doc: add description of autoAllocateChunkSize in ReadableStream (Debadree Chatterjee) #48004 - [
e2f3ed1444
] - doc: fixfilename
type inwatch
result (Dmitry Semigradsky) #48032 - [
1fe75dc2b0
] - doc: unnestmime
andMIMEParams
from MIMEType constructor (Dmitry Semigradsky) #47950 - [
e1339d58e8
] - doc: update security-release-process.md (Rafael Gonzaga) #48504 - [
e8dc7bde6a
] - doc: add vmoroz to collaborators (Vladimir Morozov) #48527 - [
f8ba672c7b
] - doc: link to Runtime Keys in export conditions (Jacob Hummer) #48408 - [
0056cb93e9
] - doc: update fs flags documentation (sinkhaha) #48463 - [
3cf3fb9479
] - doc: reviseerror.md
introduction (Antoine du Hamel) #48423 - [
7575d8b90e
] - doc: add preveen-stack to triagers (Preveen P) #48387 - [
820aa550a4
] - doc: refine when file is undefined in test events (Moshe Atlow) #48451 - [
a30f2fbcc1
] - doc: add kvakil to collaborators (Keyhan Vakil) #48449 - [
239b4ea66f
] - doc: mark--import
as experimental (Moshe Atlow) #44067 - [
2a561aefe2
] - doc: add additional info on TSFN dispatch (Michael Dawson) #48367 - [
5cc6eee30d
] - doc: add link for news from security wg (Michael Dawson) #48396 - [
ffece88452
] - doc: fix typo in events.md (Darshan Sen) #48436 - [
06513585dc
] - doc: run license-builder (github-actions[bot]) #48336 - [
d9a800ee5c
] - esm: fix emit deprecation on legacy main resolve (Antoine du Hamel) #48664 - [
c39b7c240e
] - (SEMVER-MINOR) esm: add--import
flag (Moshe Atlow) #43942 - [
a00464ee06
] - esm: fix specifier resolution and symlinks (Zack Newsham) #47674 - [
3b8ec348b0
] - events: fix bug listenerCount don't compare wrapped listener (yuzheng14) #48592 - [
a68a67f54d
] - (SEMVER-MINOR) events: allow safely adding listener to abortSignal (Chemi Atlow) #48596 - [
5354af3dab
] - fs: call the callback with an error if writeSync fails (killa) #47949 - [
c3a27d1d3d
] - fs: remove unneeded return statement (Luigi Pinca) #48526 - [
3a8586bee2
] - fs, stream: initialSymbol.dispose
andSymbol.asyncDispose
support (Moshe Atlow) #48518 - [
01746c71df
] - http: null the joinDuplicateHeaders property on cleanup (Luigi Pinca) #48608 - [
d47eb73a85
] - http: remove useless ternary in test (geekreal) #48481 - [
977e9a38b4
] - http: fix for handling on boot timers headers and request (Franciszek Koltuniuk) #48291 - [
be88f7cd22
] - http2: use addAbortListener (atlowChemi) #48550 - [
7c7230a85c
] - http2: send RST code 8 on AbortController signal (Devraj Mehta) #48573 - [
f74c2fc72a
] - lib: use addAbortListener (atlowChemi) #48550 - [
db355d1f37
] - lib: add option to force handling stopped events (Chemi Atlow) #48301 - [
5d682c55a5
] - lib: reduce url getters onmakeRequireFunction
(Yagiz Nizipli) #48492 - [
5260f53e55
] - lib: add support for inherited custom inspection methods (Antoine du Hamel) #48306 - [
69aaf8b1d1
] - lib: remove invalid parameter to toASCII (Yagiz Nizipli) #48878 - [
51863b80e4
] - meta: bump actions/checkout from 3.5.2 to 3.5.3 (dependabot[bot]) #48625 - [
7ec370991d
] - meta: bump step-security/harden-runner from 2.4.0 to 2.4.1 (dependabot[bot]) #48626 - [
34b8e980d4
] - meta: bump ossf/scorecard-action from 2.1.3 to 2.2.0 (dependabot[bot]) #48628 - [
dfed9a7da9
] - meta: bump github/codeql-action from 2.3.6 to 2.20.1 (dependabot[bot]) #48627 - [
071eaadc5a
] - module: add SourceMap.findOrigin (Isaac Z. Schlueter) #47790 - [
bf1525c549
] - module: reduce url invocations in esm/load.js (Yagiz Nizipli) #48337 - [
f8921630a2
] - net: server addasyncDispose
(atlowChemi) #48717 - [
b5f53d9a0b
] - net: fix family autoselection SSL connection handling (Paolo Insogna) #48189 - [
267439fc34
] - net: rework autoSelectFamily implementation (Paolo Insogna) #46587 - [
d3637cdbbf
] - net: fix address iteration with autoSelectFamily (Fedor Indutny) #48258 - [
e8289a83f1
] - net: fix family autoselection timeout handling (Paolo Insogna) #47860 - [
863bdb785d
] - net: add autoSelectFamily global getter and setter (Paolo Insogna) #45777 - [
04dc090bfa
] - node-api: provide napi_define_properties fast path (Gabriel Schulhof) #48440 - [
feb6a54dc3
] - node-api: implement external strings (Gabriel Schulhof) #48339 - [
121f74c463
] - perf_hooks: convert maxSize to IDL value in setResourceTimingBufferSize (Chengzhong Wu) #44902 - [
804d880589
] - permission: fix data types in PrintTree (Tobias Nießen) #48770 - [
7aaecce9bf
] - permission: add debug log when inserting fs nodes (Rafael Gonzaga) #48677 - [
cb51ef2905
] - readline: use addAbortListener (atlowChemi) #48550 - [
07065d0814
] - report: disable js stack when no context is entered (Chengzhong Wu) #48495 - [
572b82ffef
] - src: make BaseObject iteration order deterministic (Joyee Cheung) #48702 - [
3f65598a41
] - src: remove kEagerCompile for CompileFunction (Keyhan Vakil) #48671 - [
f43eacac9b
] - src: deduplicate X509 getter implementations (Tobias Nießen) #48563 - [
0c19621bdc
] - src: fix uninitialized field access in AsyncHooks (Jan Olaf Krems) #48566 - [
0c38184d62
] - src: fix Coverity issue regarding unnecessary copy (Yagiz Nizipli) #48565 - [
0d73009ba3
] - src: refactorSplitString
in util (Yagiz Nizipli) #48491 - [
6c72622df9
] - src: handle wasm out of bound in osx will raise SIGBUS correctly (Congcong Cai) #46561 - [
e4261809b0
] - src: replace idna functions with ada::idna (Yagiz Nizipli) #47735 - [
3dd82b1820
] - stream: use addAbortListener (atlowChemi) #48550 - [
786fbdb824
] - stream: fix premature pipeline end (Robert Nagy) #48435 - [
c224e1b255
] - stream: fix deadlock when pipeing to full sink (Robert Nagy) #48691 - [
2c75b9ece2
] - test: fix flaky test-string-decode.js on x86 (Stefan Stojanovic) #48750 - [
279c4f64c1
] - test: mark test-http-regr-gh-2928 as flaky (Joyee Cheung) #49565 - [
01eacccd9a
] - test: deflake test-net-throttle (Luigi Pinca) #48599 - [
33886b271c
] - test: move test-net-throttle to parallel (Luigi Pinca) #48599 - [
a79112b5f4
] - Revert "test: remove test-crypto-keygen flaky designation" (Luigi Pinca) #48652 - [
6ec57984db
] - test: add missing assertions to test-runner-cli (Moshe Atlow) #48593 - [
dd1805e802
] - test: remove test-crypto-keygen flaky designation (Luigi Pinca) #48575 - [
df9a9afc99
] - test: remove test-timers-immediate-queue flaky designation (Luigi Pinca) #48575 - [
3ae96ae380
] - test: make IsolateData per-isolate in cctest (Joyee Cheung) #48450 - [
f2ce8e0c06
] - test: define NAPI_VERSION before including node_api.h (Chengzhong Wu) #48376 - [
13ac0a5e26
] - test: remove unnecessary noop function args tomustNotCall()
(Antoine du Hamel) #48513 - [
8fdd4c55b3
] - test: skip test-runner-watch-mode on IBMi (Moshe Atlow) #48473 - [
9d90409241
] - test: fix flaky test-watch-mode (Moshe Atlow) #48147 - [
27a4bc7c32
] - test: add missing <algorithm> include for std::find (Sam James) #48380 - [
cb92c4b9fe
] - test: update url web-platform tests (Yagiz Nizipli) #48319 - [
f35c4d3190
] - test: ignore the copied entry_point.c (Luigi Pinca) #48297 - [
41d1e6888f
] - test: refactor test-gc-http-client-timeout (Luigi Pinca) #48292 - [
125bca621a
] - test: update encoding web-platform tests (Yagiz Nizipli) #48320 - [
e9ac111d02
] - test: update FileAPI web-platform tests (Yagiz Nizipli) #48322 - [
3da57d17f5
] - test: update user-timing web-platform tests (Yagiz Nizipli) #48321 - [
c728b8a29b
] - test: fixtest-net-autoselectfamily
for kernel without IPv6 support (Livia Medeiros) #45856 - [
6de7aa1d19
] - test: movetest-tls-autoselectfamily-servername
totest/internet
(Antoine du Hamel) #47029 - [
2de9868292
] - test: validate host with commas on url.parse (Yagiz Nizipli) #48878 - [
e7d2e8ef2a
] - test: delete test-net-bytes-per-incoming-chunk-overhead (Michaël Zasso) #48811 - [
f5494fa1b0
] - test_runner: fixedtest
shorthands return type (Shocker) #48555 - [
7051cafdfa
] - test_runner: make--test-name-pattern
recursive (Moshe Atlow) #48382 - [
f302286442
] - test_runner: refactor coverage report output for readability (Damien Seguin) #47791 - [
7822a541e5
] - timers: support Symbol.dispose (Moshe Atlow) #48633 - [
3eeca52db1
] - tls: fix bugs of double TLS (rogertyang) #48969 - [
4826379516
] - tools: run fetch_deps.py with Python 3 (Richard Lau) #48729 - [
e2688c8d79
] - tools: update doc to unist-util-select@5.0.0 unist-util-visit@5.0.0 (Node.js GitHub Bot) #48714 - [
7399481096
] - tools: update lint-md-dependencies to rollup@3.26.2 (Node.js GitHub Bot) #48705 - [
31c07153ce
] - tools: update eslint to 8.44.0 (Node.js GitHub Bot) #48632 - [
4e53f51e24
] - tools: update lint-md-dependencies to rollup@3.26.0 (Node.js GitHub Bot) #48631 - [
7d52950a96
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #48544 - [
e168eab3ee
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #48486 - [
9711bc24f6
] - tools: replace sed with perl (Luigi Pinca) #48499 - [
9c1937c0a7
] - tools: update eslint to 8.43.0 (Node.js GitHub Bot) #48487 - [
9449f05ab1
] - tools: update doc to to-vfile@8.0.0 (Node.js GitHub Bot) #48485 - [
79dcd968b1
] - tools: prepare tools/doc for to-vfile 8.0.0 (Rich Trott) #48485 - [
538f388ac0
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #48417 - [
01bc10dcd5
] - tools: update create-or-update-pull-request-action (Richard Lau) #48398 - [
590a072657
] - tools: update eslint-plugin-jsdoc (Richard Lau) #48393 - [
6a5805491e
] - tools: update eslint to 8.42.0 (Node.js GitHub Bot) #48328 - [
2eb13e3986
] - tools: disable jsdoc/no-defaults rule (Luigi Pinca) #48328 - [
3363cfa6c7
] - typings: remove unused primordials (Yagiz Nizipli) #48509 - [
c59ae86ba0
] - (SEMVER-MINOR) url: add value argument to has and delete methods (Sankalp Shubham) #47885 - [
f59c9636f4
] - url: conform to origin getter spec changes (Yagiz Nizipli) #48319 - [
0beb5ab93d
] - url: ensure getter access do not mutate observable symbols (Antoine du Hamel) #48897 - [
0a022c496d
] - util: useprimordials.ArrayPrototypeIndexOf
instead of mutable method (DaisyDogs07) #48586
v18.17.1
: 2023-08-09, Version 18.17.1 'Hydrogen' (LTS), @RafaelGSS
This is a security release.
Notable Changes
The following CVEs are fixed in this release:
- CVE-2023-32002: Policies can be bypassed via Module._load (High)
- CVE-2023-32006: Policies can be bypassed by module.constructor.createRequire (Medium)
- CVE-2023-32559: Policies can be bypassed via process.binding (Medium)
- OpenSSL Security Releases
More detailed information on each of the vulnerabilities can be found in August 2023 Security Releases blog post.
Commits
- [
fe3abdf82e
] - deps: update archs files for openssl-3.0.10+quic1 (Node.js GitHub Bot) #49036 - [
2c5a522d9c
] - deps: upgrade openssl sources to quictls/openssl-3.0.10+quic1 (Node.js GitHub Bot) #49036 - [
15bced0bde
] - policy: handle Module.constructor and main.extensions bypass (RafaelGSS) nodejs-private/node-private#417 - [
d4570fae35
] - policy: disable process.binding() when enabled (Tobias Nießen) nodejs-private/node-private#460
v18.17.0
: 2023-07-18, Version 18.17.0 'Hydrogen' (LTS), @danielleadams
Notable Changes
Ada 2.0
Node.js v18.17.0 comes with the latest version of the URL parser, Ada. This update brings significant performance improvements to URL parsing, including enhancements to the url.domainToASCII and url.domainToUnicode functions in node:url.
Ada 2.0 has been integrated into the Node.js codebase, ensuring that all parts of the application can benefit from the improved performance. Additionally, Ada 2.0 features a significant performance boost over its predecessor, Ada 1.0.4, while also eliminating the need for the ICU requirement for URL hostname parsing.
Contributed by Yagiz Nizipli and Daniel Lemire in #47339
Web Crypto API
Web Crypto API functions' arguments are now coerced and validated as per their WebIDL definitions like in other Web Crypto API implementations. This further improves interoperability with other implementations of Web Crypto API.
Contributed by Filip Skokan in #46067
-
crypto:
- update root certificates to NSS 3.89 (Node.js GitHub Bot) #47659
-
dns:
- (SEMVER-MINOR) expose getDefaultResultOrder (btea) #46973
- doc:
-
events:
- (SEMVER-MINOR) add getMaxListeners method (Matthew Aitken) #47039
-
fs:
- (SEMVER-MINOR) add support for mode flag to specify the copy behavior (Tetsuharu Ohzeki) #47084
- (SEMVER-MINOR) add recursive option to readdir and opendir (Ethan Arrowood) #41439
- (SEMVER-MINOR) add support for mode flag to specify the copy behavior (Tetsuharu Ohzeki) #47084
- (SEMVER-MINOR) implement byob mode for readableWebStream() (Debadree Chatterjee) #46933
- http:
- lib:
-
module:
- change default resolver to not throw on unknown scheme (Gil Tayar) #47824
- node-api:
- stream:
-
test:
- unflake test-vm-timeout-escape-nexttick (Santiago Gimeno) #48078
- test_runner:
-
tools:
- update LICENSE and license-builder.sh (Santiago Gimeno) #48078
-
url:
- (SEMVER-MINOR) implement URL.canParse (Matthew Aitken) #47179
-
wasi:
- (SEMVER-MINOR) no longer require flag to enable wasi (Michael Dawson) #47286
Commits
- [
2ba08ac002
] - benchmark: usecluster.isPrimary
instead ofcluster.isMaster
(Deokjin Kim) #48002 - [
60ca69d96c
] - benchmark: add eventtarget creation bench (Rafael Gonzaga) #47774 - [
d8233d96bb
] - benchmark: add a benchmark fordefaultResolve
(Antoine du Hamel) #47543 - [
a1aabb6912
] - benchmark: fix invalid requirementsURL (Deokjin Kim) #47378 - [
394c61caf9
] - bootstrap: support namespaced builtins in snapshot scripts (Joyee Cheung) #47467 - [
0165a765a0
] - bootstrap: do not expand process.argv[1] for snapshot entry points (Joyee Cheung) #47466 - [
cca557cdd9
] - buffer: combine checking range of sourceStart inbuf.copy
(Deokjin Kim) #47758 - [
4c69be467c
] - buffer: use private properties for brand checks in File (Matthew Aitken) #47154 - [
d002f9b6e2
] - build: revert unkonwn ruff selector (Moshe Atlow) #48753 - [
93f77cb762
] - build: set v8_enable_webassembly=false when lite mode is enabled (Cheng Shao) #48248 - [
1662e894f3
] - build: add action to close stale MRs (Michael Dawson) #48051 - [
5ca437b288
] - build: use pathlib for paths (Mohammed Keyvanzadeh) #47581 - [
72443bc54b
] - build: refactor configure.py (Mohammed Keyvanzadeh) #47667 - [
d4eecb5be9
] - build: add devcontainer configuration (Tierney Cyren) #40825 - [
803ed41144
] - build: bump ossf/scorecard-action from 2.1.2 to 2.1.3 (dependabot[bot]) #47367 - [
48468c4413
] - build: replace Python linter flake8 with ruff (Christian Clauss) #47519 - [
3ceb2c4387
] - build: add node-core-utils to setup (Jiawen Geng) #47442 - [
fdc59b8e14
] - build: bump github/codeql-action from 2.2.6 to 2.2.9 (dependabot[bot]) #47366 - [
3924893023
] - build: update stale action from v7 to v8 (Rich Trott) #47357 - [
753185c5b0
] - build: remove Python pip--no-user
option (Christian Clauss) #47372 - [
67af0a6a2b
] - build: avoid usage of pipes library (Mohammed Keyvanzadeh) #47271 - [
db910dd6b2
] - build, deps, tools: avoid excessive LTO (Konstantin Demin) #47313 - [
35d1def891
] - child_process: use signal.reason in child process abort (Debadree Chatterjee) #47817 - [
7692d2e7b9
] - cluster: use ObjectPrototypeHasOwnProperty (Daeyeon Jeong) #48141 - [
7617772762
] - crypto: use openssl's own memory BIOs in crypto_context.cc (GauriSpears) #47160 - [
8cabfe7c6e
] - crypto: fix setEngine() when OPENSSL_NO_ENGINE set (Tobias Nießen) #47977 - [
de1338da05
] - crypto: fix webcrypto private/secret import with empty usages (Filip Skokan) #47877 - [
27a696fda9
] - crypto: update root certificates to NSS 3.89 (Node.js GitHub Bot) #47659 - [
e2292f936e
] - crypto: remove INT_MAX restriction in randomBytes (Tobias Nießen) #47559 - [
a5f214c00c
] - crypto: replace THROW with CHECK for scrypt keylen (Tobias Nießen) #47407 - [
dd42214fd4
] - crypto: unify validation of checkPrime checks (Tobias Nießen) #47165 - [
76e4d12fb3
] - crypto: re-add padding for AES-KW wrapped JWKs (Filip Skokan) #46563 - [
9d894c17dd
] - crypto: use WebIDL converters in WebCryptoAPI (Filip Skokan) #46067 - [
6f3a8b45a5
] - deps: update ada to 2.5.0 (Node.js GitHub Bot) #48223 - [
075b6db919
] - deps: update ada to 2.4.2 (Node.js GitHub Bot) #48092 - [
a4ee1f652c
] - deps: update ada to 2.4.1 (Node.js GitHub Bot) #48036 - [
81b514d3f0
] - deps: update ada to 2.4.0 (Node.js GitHub Bot) #47922 - [
575ddf694f
] - deps: update ada to 2.3.1 (Node.js GitHub Bot) #47893 - [
2d03d5f458
] - deps: update ada to 2.3.0 (Node.js GitHub Bot) #47737 - [
42e690f2d5
] - deps: update ada to 2.2.0 (Node.js GitHub Bot) #47678 - [
08dd271521
] - deps: update ada to 2.1.0 (Node.js GitHub Bot) #47598 - [
96c50ba71f
] - deps: update ada to 2.0.0 (Node.js GitHub Bot) #47339 - [
4d1c38b758
] - deps: update zlib to337322d
(Node.js GitHub Bot) #48218 - [
74206b2549
] - deps: update histogram 0.11.8 (Marco Ippolito) #47742 - [
fbb4b3775d
] - deps: update histogram to 0.11.7 (Marco Ippolito) #47742 - [
e88c079022
] - deps: update simdutf to 3.2.12 (Node.js GitHub Bot) #48118 - [
48bd1248b9
] - deps: update minimatch to 9.0.1 (Node.js GitHub Bot) #48094 - [
d4572d31fa
] - deps: update corepack to 0.18.0 (Node.js GitHub Bot) #48091 - [
8090d29dc4
] - deps: update uvwasi to 0.0.18 (Node.js GitHub Bot) #47866 - [
169c8eea2e
] - deps: update uvwasi to 0.0.17 (Node.js GitHub Bot) #47866 - [
6acbb23380
] - deps: upgrade npm to 9.6.7 (npm team) #48062 - [
e8f2c0a58b
] - deps: update undici to 5.22.1 (Node.js GitHub Bot) #47994 - [
9309fd3120
] - deps: update simdutf to 3.2.9 (Node.js GitHub Bot) #47983 - [
b796d3560a
] - deps: upgrade npm to 9.6.6 (npm team) #47862 - [
cce372e14e
] - deps: V8: cherry-pickc5ab3e4
(Richard Lau) #47736 - [
7283486adb
] - deps: update undici to 5.22.0 (Node.js GitHub Bot) #47679 - [
2ea6e03003
] - deps: add minimatch as a dependency (Moshe Atlow) #47499 - [
261e1d23d1
] - deps: update ICU to 73.1 release (Steven R. Loomis) #47456 - [
f532f9df5f
] - deps: update undici to 5.21.2 (Node.js GitHub Bot) #47508 - [
dcb8c038b9
] - deps: update simdutf to 3.2.8 (Node.js GitHub Bot) #47507 - [
6c8456d61f
] - deps: update undici to 5.21.1 (Node.js GitHub Bot) #47488 - [
d3b2e8a438
] - deps: update simdutf to 3.2.7 (Node.js GitHub Bot) #47473 - [
64a5fe0499
] - deps: update corepack to 0.17.2 (Node.js GitHub Bot) #47474 - [
6f0f61a7d3
] - deps: upgrade npm to 9.6.4 (npm team) #47432 - [
443a72e207
] - deps: update zlib to upstream5edb52d
(Luigi Pinca) #47151 - [
dc3bc46914
] - deps: update simdutf to 3.2.3 (Node.js GitHub Bot) #47331 - [
b2f2bebbc2
] - deps: update timezone to 2023c (Node.js GitHub Bot) #47302 - [
c10729ffa7
] - deps: upgrade npm to 9.6.3 (npm team) #47325 - [
420deac1de
] - deps: update corepack to 0.17.1 (Node.js GitHub Bot) #47156 - [
966ba28491
] - deps: V8: cherry-pick3e4952c
(Richard Lau) #47236 - [
fc6ab26824
] - deps: update timezone to 2023b (Node.js GitHub Bot) #47256 - [
2700e70215
] - deps: upgrade npm to 9.6.2 (npm team) #47108 - [
29ba98a0a5
] - deps: V8: cherry-pick975ff4d
(Debadree Chatterjee) #47209 - [
be34777be8
] - deps: cherry-pick win/arm64/clang fixes (Cheng Zhao) #47011 - [
b52aacb614
] - deps: update uvwasi to v0.0.16 (Michael Dawson) #46434 - [
27a76cf5e0
] - deps,test: update postject to 1.0.0-alpha.6 (Node.js GitHub Bot) #48072 - [
b171c1a3a4
] - dgram: convert macro to template (Tobias Nießen) #47891 - [
709bf1c758
] - (SEMVER-MINOR) dns: expose getDefaultResultOrder (btea) #46973 - [
2f202c93e7
] - doc: clarify array args to Buffer.from() (Bryan English) #48274 - [
27f195f8d8
] - doc: document watch option for node:test run() (Moshe Atlow) #48256 - [
7558ef350a
] - doc: update documentation for FIPS support (Richard Lau) #48194 - [
f2bb1919e5
] - doc: improve the documentation of the stdio option (Kumar Arnav) #48110 - [
a2aa52ba92
] - doc: update Buffer.allocUnsafe description (sinkhaha) #48183 - [
19ad471d52
] - doc: update codeowners with website team (Claudio Wunder) #48197 - [
67b2c2a98f
] - doc: fix broken link to new folder doc/contributing/maintaining (Andrea Fassina) #48205 - [
795ca70815
] - doc: add atlowChemi to triagers (Chemi Atlow) #48104 - [
e437a0aff1
] - doc: fix typo in readline completer function section (Vadym) #48188 - [
92e0ea496d
] - doc: remove broken link for keygen (Rich Trott) #48176 - [
fe15dae8e6
] - doc: addauto
intrinsic height to prevent jitter/flicker (Daniel Holbert) #48195 - [
230335e21f
] - doc: add version info on the SEA docs (Antoine du Hamel) #48173 - [
e6f37d1b80
] - doc: add Ruy to list of TSC members (Michael Dawson) #48172 - [
69205a250c
] - doc: update socket.remote* properties documentation (Saba Kharanauli) #48139 - [
e4a5d6298c
] - doc: update outdated section on TLSv1.3-PSK (Tobias Nießen) #48123 - [
d14018ed99
] - doc: improve HMAC key recommendations (Tobias Nießen) #48121 - [
e9d4baf770
] - doc: clarify mkdir() recursive behavior (Stephen Odogwu) #48109 - [
3e4a469139
] - doc: fix typo in crypto legacy streams API section (Tobias Nießen) #48122 - [
bdf366ab88
] - doc: update SEA source link (Rich Trott) #48080 - [
2a4f79a75f
] - doc: clarify tty.isRaw (Roberto Vidal) #48055 - [
98c6e4be03
] - doc: use secure key length for HMAC generateKey (Tobias Nießen) #48052 - [
8ae5c8cf9d
] - doc: update broken EVP_BytesToKey link (Rich Trott) #48064 - [
3c713e7caa
] - doc: update broken spkac link (Rich Trott) #48063 - [
c22f739e94
] - doc: document node-api version process (Chengzhong Wu) #47972 - [
ce859f9f9f
] - doc: fix typo in binding functions (Deokjin Kim) #48003 - [
070c3457b7
] - doc: mark Node.js 14 as End-of-Life (Richard Lau) #48023 - [
3611027d8e
] - doc: clarify CRYPTO_CUSTOM_ENGINE_NOT_SUPPORTED (Tobias Nießen) #47976 - [
dbffad958c
] - doc: add missing deprecated blocks to cluster (Tobias Nießen) #47981 - [
035356f711
] - doc: update description of global (Tobias Nießen) #47969 - [
081a6ffaea
] - doc: update measure memory rejection information (Yash Ladha) #41639 - [
3460cf9c23
] - doc: fix broken link to TC39 import attributes proposal (Rich Trott) #47954 - [
3b018c8aa9
] - doc: fix broken link (Rich Trott) #47953 - [
244db960a9
] - doc: remove broken link (Rich Trott) #47942 - [
2cc8715bb9
] - doc: document make lint-md-clean (Matteo Collina) #47926 - [
b80e006c17
] - doc: mark global object as legacy (Mert Can Altın) #47819 - [
bf4eb058f3
] - doc: ntfs junction points must link to directories (Ben Noordhuis) #47907 - [
49875f0d69
] - doc: fix params names (Dmitry Semigradsky) #47853 - [
94b5eaaf17
] - doc: update supported version of FreeBSD to 12.4 (Michaël Zasso) #47838 - [
0114201825
] - doc: swap Matteo with Rafael in the stewards (Rafael Gonzaga) #47841 - [
8bcfcc0af9
] - doc: add valgrind suppression details (Kevin Eady) #47760 - [
75d397ecab
] - doc: replace EOL versions in README (Tobias Nießen) #47833 - [
2b0c57cb80
] - doc: add ovflowd to collaborators (Claudio Wunder) #47844 - [
be4966977c
] - doc: update BUILDING.md previous versions links (Tobias Nießen) #47835 - [
a9e8a20fb8
] - doc: create maintaining folder for deps (Marco Ippolito) #47589 - [
fd0f362d7c
] - doc: remove MoLow from Triagers (Moshe Atlow) #47792 - [
0927c67ab6
] - doc: fix typo in webstreams.md (Christian Takle) #47766 - [
994be578da
] - doc: move BethGriggs to regular member (Rich Trott) #47776 - [
64d19f4678
] - doc: move addaleax to TSC emeriti (Anna Henningsen) #47752 - [
33ec10e6b8
] - doc: add link to news for Node.js core (Michael Dawson) #47704 - [
2a682b5efe
] - doc: async_hooks asynchronous content example add mjs code (btea) #47401 - [
4f541c3ca3
] - doc: clarify concurrency model of test runner (Tobias Nießen) #47642 - [
ffcff68f0d
] - doc: fix typos (Mohammed Keyvanzadeh) #47685 - [
290b2b7afc
] - doc: fix capitalization of ASan (Mohammed Keyvanzadeh) #47676 - [
b4ca788878
] - doc: fix typos in SECURITY.md (Mohammed Keyvanzadeh) #47677 - [
971c545a47
] - doc: update error code of buffer (Deokjin Kim) #47617 - [
ec5c919928
] - doc: change offset of example inBuffer.copyBytesFrom
(Deokjin Kim) #47606 - [
980bf052c7
] - doc: remove markdown link from heading (Tobias Nießen) #47585 - [
e96451ec5e
] - doc: fix release-post script location (Rafael Gonzaga) #47517 - [
61ea15339c
] - doc: add link for news from uvwasi team (Michael Dawson) #47531 - [
d40bcdd73e
] - doc: add missing setEncoding call in ESM example (Anna Henningsen) #47558 - [
924dc909b3
] - doc: fix typo in util.types.isNativeError() (Julian Dax) #47532 - [
a24d72a6fb
] - doc: add KhafraDev to collaborators (Matthew Aitken) #47510 - [
b0196378b6
] - doc: create maintaining-brotli.md (Marco Ippolito) #47380 - [
3902be8fe8
] - doc: info on handling unintended breaking changes (Michael Dawson) #47426 - [
670f9a591d
] - doc: add performance initiative (Yagiz Nizipli) #47424 - [
89a5d04a8e
] - doc: do not create a backup file (Luigi Pinca) #47151 - [
7f2bccc5d6
] - doc: add MoLow to the TSC (Colin Ihrig) #47436 - [
7db2e889ac
] - doc: add a note about os.cpus() returning an empty list (codedokode) #47363 - [
289a8e30d6
] - doc: clarify reports are only evaluated on active versions (Rafael Gonzaga) #47341 - [
dc22edb4d2
] - doc: remove Vladimir de Turckheim from Security release stewards (Vladimir de Turckheim) #47318 - [
3e74a74da3
] - doc: add importing util to example of `process.report.getReport' (Deokjin Kim) #47298 - [
ece029f64e
] - doc: vm.SourceTextModule() without context option (Axel Kittenberger) #47295 - [
c7227204cc
] - doc: document process for sharing project news (Michael Dawson) #47189 - [
2865cbb4bd
] - doc: revise example of assert.CallTracker (Deokjin Kim) #47252 - [
81ebaf2670
] - doc: fix typo in SECURITY.md (Rich Trott) #47282 - [
faabd48f11
] - doc: use serial comma in cli docs (Tobias Nießen) #47262 - [
3a85794089
] - doc: improve example for Error.captureStackTrace() (Julian Dax) #46886 - [
2114fa472b
] - doc: clarify http error events after calling destroy() (Zach Bjornson) #46903 - [
d15f522d1f
] - doc: update output of example in AbortController (Deokjin Kim) #47227 - [
ab6588e343
] - doc: drop one-week branch sync on major releases (Rafael Gonzaga) #47149 - [
6ac52e3061
] - doc: fix grammar in the collaborator guide (Mohammed Keyvanzadeh) #47245 - [
13175774a6
] - doc: update stream.reduce concurrency note (Raz Luvaton) #47166 - [
1e97ccd6d4
] - doc: remove use of DEFAULT_ENCODING in PBKDF2 docs (Tobias Nießen) #47181 - [
d562a7c461
] - doc: fix typos in async_context.md (Shubham Sharma) #47155 - [
9a11788cdf
] - doc: update collaborator guide to reflect TSC changes (Rich Trott) #47126 - [
5fc2bb763f
] - doc: clarify thatfs.create{Read,Write}Stream
supportAbortSignal
(Antoine du Hamel) #47122 - [
2dd3b0213e
] - doc: improve documentation for util.types.isNativeError() (Julian Dax) #46840 - [
ce4636e36b
] - doc: rename the startup performance initiative to startup snapshot (#47111) (Joyee Cheung) - [
309d017f15
] - doc: fix "maintaining dependencies" heading typos (Keyhan Vakil) #47082 - [
230a984eb3
] - doc: include webstreams in finished() and Duplex.from() parameters (Debadree Chatterjee) #46312 - [
8651ea822e
] - doc,fs: update description of fs.stat() method (Mert Can Altın) #47654 - [
e4539e1f19
] - doc,test: update the v8.startupSnapshot doc and test the example (Joyee Cheung) #47468 - [
3dddc0175f
] - doc,test: fix concurrency option of test() (Tobias Nießen) #47734 - [
563f9fe06a
] - doc,vm: clarify usage of cachedData in vm.compileFunction() (Darshan Sen) #48193 - [
316016ffac
] - esm: avoid accessing lazy getters for urls (Yagiz Nizipli) #47542 - [
e5e385d2b2
] - esm: increase test coverage of edge cases (Antoine du Hamel) #47033 - [
061fb20660
] - (SEMVER-MINOR) events: add getMaxListeners method (Matthew Aitken) #47039 - [
ed0b62cc01
] - (SEMVER-MINOR) fs: add support for mode flag to specify the copy behavior (Tetsuharu Ohzeki) #47084 - [
9b44c56c9a
] - fs: make readdir recursive algorithm iterative (Ethan Arrowood) #47650 - [
7273ef53b3
] - (SEMVER-MINOR) fs: add recursive option to readdir and opendir (Ethan Arrowood) #41439 - [
3f0636d2c1
] - (SEMVER-MINOR) fs: add support for mode flag to specify the copy behavior (Tetsuharu Ohzeki) #47084 - [
a0b9853251
] - (SEMVER-MINOR) fs: implement byob mode for readableWebStream() (Debadree Chatterjee) #46933 - [
709e368708
] - http: send implicit headers on HEAD with no body (Matteo Collina) #48108 - [
dc318f26c0
] - (SEMVER-MINOR) http: prevent writing to the body when not allowed by HTTP spec (Gerrard Lindsay) #47732 - [
4b2a015642
] - (SEMVER-MINOR) http: remove internal error in assignSocket (Matteo Collina) #47723 - [
7cef6aa721
] - (SEMVER-MINOR) http: add highWaterMark opt in http.createServer (HinataKah0) #47405 - [
9186f3a0ef
] - http2: improve nghttp2 error callback (Tobias Nießen) #47840 - [
cc7e5dd4cd
] - inspector: add tips for Session (theanarkh) #47195 - [
70c0e882d3
] - inspector: log response and requests in the inspector for debugging (Joyee Cheung) #46941 - [
6099d2d08b
] - inspector: fix session.disconnect crash (theanarkh) #46942 - [
156292d44a
] - lib: create weakRef only if any signals provided (Chemi Atlow) #48448 - [
efaa073303
] - (SEMVER-MINOR) lib: implement AbortSignal.any() (Chemi Atlow) #47821 - [
c46b31f3bf
] - lib: support FORCE_COLOR for non TTY streams (Moshe Atlow) #48034 - [
286c358832
] - lib: do not disable linter for entire files (Antoine du Hamel) #48299 - [
a2552ab7c0
] - lib: use existingisWindows
variable (sinkhaha) #48134 - [
2b65625281
] - lib: update comment (sinkhaha) #47884 - [
fa447b5120
] - lib: use webidl DOMString converter in EventTarget (Matthew Aitken) #47514 - [
33f32dc318
] - lib: define Event.isTrusted in the prototype (Santiago Gimeno) #46974 - [
50789a5e4a
] - lib: refactor to usevalidateBuffer
(Deokjin Kim) #46489 - [
3658abea26
] - (SEMVER-MINOR) lib: add webstreams to Duplex.from() (Debadree Chatterjee) #46190 - [
fcf3781d22
] - lib,src,test: lint codebase according new rules for v18.x (Juan José Arboleda) #48697 - [
b55dc53422
] - meta: bump github/codeql-action from 2.3.3 to 2.3.6 (dependabot[bot]) #48287 - [
8ac4579d85
] - meta: bump actions/setup-python from 4.6.0 to 4.6.1 (dependabot[bot]) #48286 - [
b1854fe9c1
] - meta: bump codecov/codecov-action from 3.1.3 to 3.1.4 (dependabot[bot]) #48285 - [
d9448b8d93
] - meta: remove dont-land-on-v14 auto labeling (Shrujal Shah) #48031 - [
bb859768b6
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #48010 - [
af90fb939b
] - meta: bump step-security/harden-runner from 2.3.1 to 2.4.0 (Rich Trott) #47980 - [
4dcf5e2052
] - meta: bump github/codeql-action from 2.3.2 to 2.3.3 (Rich Trott) #47979 - [
dab3186ea2
] - meta: bump actions/setup-python from 4.5.0 to 4.6.0 (Rich Trott) #47968 - [
546224c13c
] - meta: add security-wg ping to permission.js (Rafael Gonzaga) #47941 - [
353dfbd2d6
] - meta: bump step-security/harden-runner from 2.2.1 to 2.3.1 (dependabot[bot]) #47808 - [
20a5cc27ec
] - meta: bump actions/setup-python from 4.5.0 to 4.6.0 (dependabot[bot]) #47806 - [
eef6442d8d
] - meta: bump actions/checkout from 3.3.0 to 3.5.2 (dependabot[bot]) #47805 - [
e30e6a718a
] - meta: remove extra space in scorecard workflow (Mestery) #47805 - [
2d13cdebc4
] - meta: bump github/codeql-action from 2.2.9 to 2.3.2 (dependabot[bot]) #47809 - [
f0d8352ed8
] - meta: bump codecov/codecov-action from 3.1.1 to 3.1.3 (dependabot[bot]) #47807 - [
7e95fba0ff
] - meta: fix dependabot commit message (Mestery) #47810 - [
d31d9c7c28
] - meta: ping nodejs/startup for startup test changes (Joyee Cheung) #47771 - [
077686055b
] - meta: add mailmap entry for KhafraDev (Rich Trott) #47512 - [
e50eb6570a
] - meta: ping security-wg team on permission model changes (Rafael Gonzaga) #47483 - [
2df1a36214
] - meta: ping startup and realm team on src/node_realm* changes (Joyee Cheung) #47448 - [
c7dc6e321b
] - meta: fix notable-change comment label url (Filip Skokan) #47300 - [
e859ca44d5
] - meta: clarify the threat model to explain the JSON.parse case (Matteo Collina) #47276 - [
1f08f4848d
] - meta: update link to collaborators discussion page (Michaël Zasso) #47211 - [
3b524cbf86
] - meta: automate description requests when notable change label is added (Danielle Adams) #47078 - [
da16ca7c59
] - meta: move TSC voting member(s) to regular member(s) (Node.js GitHub Bot) #47180 - [
0c80e60d7e
] - meta: move TSC voting member to regular membership (Node.js GitHub Bot) #46985 - [
0edcfed895
] - meta: update GOVERNANCE.md to reflect TSC charter changes (Rich Trott) #47126 - [
baada5d035
] - meta: ask expected behavior reason in bug template (Ben Noordhuis) #47049 - [
5d75ec402e
] - module: reduce the number of URL initializations (Yagiz Nizipli) #48272 - [
c5af5a4f4f
] - module: change default resolver to not throw on unknown scheme (Gil Tayar) #47824 - [
cf8845d001
] - module: block requiringtest/reporters
without scheme (Moshe Atlow) #47831 - [
ce7e6c6765
] - (SEMVER-MINOR) node-api: define version 9 (Chengzhong Wu) #48151 - [
53c02b20b8
] - node-api: add status napi_cannot_run_js (Gabriel Schulhof) #47986 - [
4b280d5361
] - node-api: napi_ref on all types is experimental (Vladimir Morozov) #47975 - [
e2553b12e7
] - (NODE-API-SEMVER-MAJOR) node-api: get Node API version used by addon (Vladimir Morozov) #45715 - [
beaad7f692
] - node-api: test passing NULL to napi_define_class (Gabriel Schulhof) #47567 - [
6ab892780c
] - node-api: test passing NULL to number APIs (Gabriel Schulhof) #47549 - [
a67e5ea89c
] - node-api: remove unused mark_arraybuffer_as_untransferable (Chengzhong Wu) #47557 - [
7019d48ba1
] - (SEMVER-MINOR) node-api: deprecate napi_module_register (Vladimir Morozov) #46319 - [
395c56bd7c
] - node-api: extend type-tagging to externals (Gabriel Schulhof) #47141 - [
6e66371eee
] - node-api: document node-api shutdown finalization (Chengzhong Wu) #45903 - [
d8d2d33efb
] - node-api: verify cleanup hooks order (Chengzhong Wu) #46692 - [
b34eaf393e
] - path: indicate index of wrong resolve() parameter (sosoba) #47660 - [
13bc5488a1
] - permission: remove unused function declaration (Deokjin Kim) #47957 - [
5f8aef477e
] - quic: address recent coverity warning (Michael Dawson) #47753 - [
75d7024ecd
] - quic: add more QUIC implementation (James M Snell) #47494 - [
24840832bd
] - quic: add more QUIC impl (James M Snell) #47348 - [
114b8479b4
] - readline: fix issue with newline-less last line (Ian Harris) #47317 - [
e668efac6b
] - repl: preserve preview on ESCAPE key press (Xuguang Mei) #46878 - [
7306b0f733
] - sea: fix memory leak detected by asan (Darshan Sen) #47309 - [
1f2c91f98a
] - src: use std::array for passing argv in node::url (Anna Henningsen) #47035 - [
36bf06904f
] - src: add Realm document in the src README.md (Chengzhong Wu) #47932 - [
5445835671
] - src: check node_extra_ca_certs after openssl cfg (Raghu Saxena) #48159 - [
eb96856555
] - src: include missing header in node_sea.h (Joyee Cheung) #48152 - [
2a35462045
] - src: deduplicate X509Certificate::Fingerprint* (Tobias Nießen) #47978 - [
4c556816bd
] - src: move BlobSerializerDeserializer to a separate header file (Darshan Sen) #47933 - [
4bad757012
] - src: rename SKIP_CHECK_SIZE to SKIP_CHECK_STRLEN (Tobias Nießen) #47845 - [
33daa89dac
] - src: register ext reference for Fingerprint512 (Tobias Nießen) #47892 - [
30b7133008
] - src: clarify the parameter name inPermission::Apply
(Daeyeon Jeong) #47874 - [
274c0f2e0a
] - src: avoid strcmp() with Utf8Value (Tobias Nießen) #47827 - [
559c98f468
] - src: prefer data accessor of string and vector (Mohammed Keyvanzadeh) #47750 - [
933673de61
] - src: avoid copying string in fs_permission (Yagiz Nizipli) #47746 - [
77f2b97197
] - src: fix typo in comment in quic/sessionticket.cc (Tobias Nießen) #47754 - [
8e6af9fcf4
] - src: mark fatal error functions as noreturn (Chengzhong Wu) #47695 - [
d0ad873b0e
] - src: prevent changing FunctionTemplateInfo after publish (Shelley Vohr) #46979 - [
71fb476781
] - src: use v8::Boolean(b) over b ? True() : False() (Tobias Nießen) #47554 - [
175b78bc02
] - src: fix typo in process.env accessor error message (Moritz Raho) #47014 - [
2c2b6d1661
] - src: replace static const string_view by static constexpr (Daniel Lemire) #47524 - [
3840bb586e
] - src: fix CSPRNG when length exceeds INT_MAX (Tobias Nießen) #47515 - [
f6aa38dc5f
] - src: use correct variable in node_builtins.cc (Michaël Zasso) #47343 - [
e88e249838
] - src: slim down stream_base-inl.h (lilsweetcaligula) #46972 - [
b34de64442
] - src: allow simdutf::convert_* functions to return zero (Daniel Lemire) #47471 - [
ded4a5eb8f
] - src: remove usage ofstd::shared_ptr<T>::unique()
(Darshan Sen) #47315 - [
0fbfb28cf5
] - src: use stricter compile-time guidance (Tobias Nießen) #46509 - [
a8430ad211
] - src: remove unused variable in crypto_x509.cc (Michaël Zasso) #47344 - [
24dabf8965
] - src: don't reset embeder signal handlers (Dmitry Vyukov) #47188 - [
4add36872c
] - src: replace impossible THROW with CHECK (Tobias Nießen) #47168 - [
e1007ff6a8
] - src: remove dead comments about return_code_cache (Keyhan Vakil) #47083 - [
5501d12713
] - src: remove SSL_CTX_get_tlsext_ticket_keys guards (Tobias Nießen) #47068 - [
716d289874
] - src: fix clang 14 linker error (Keyhan Vakil) #47057 - [
8809adfdb6
] - src: clarify OptionEnvvarSettings member names (Chengzhong Wu) #45057 - [
05f5c79574
] - src: per-realm binding data (Chengzhong Wu) #46556 - [
a7620d19c8
] - src,http2: ensure cleanup if a frame is not sent (ywave620) #47244 - [
585d62848e
] - stream: deprecate asIndexedPairs (Chemi Atlow) #48102 - [
d3449ca010
] - stream: prevent pipeline hang with generator functions (Debadree Chatterjee) #47712 - [
5e4b2434a6
] - (SEMVER-MINOR) stream: preserve object mode in compose (Raz Luvaton) #47413 - [
912eb308ab
] - (SEMVER-MINOR) stream: add setter & getter for default highWaterMark (#46929) (Robert Nagy) #46929 - [
c59887744a
] - stream: expose stream symbols (Robert Nagy) #45671 - [
4edc1abf0b
] - stream: dont wait for next item in take when finished (Raz Luvaton) #47132 - [
cfb18d816d
] - stream: remove brandchecks from stream duplexify (Debadree Chatterjee) #46315 - [
9d4025c411
] - test: mark test-child-process-pipe-dataflow as flaky (Moshe Atlow) #48334 - [
c29b6874d4
] - test: unflake test-vm-timeout-escape-nexttick (Santiago Gimeno) #48078 - [
0e3312b01b
] - test: fix zlib version regex (Luigi Pinca) #48227 - [
a9d0b8d005
] - test: use lower security level in s_client (Luigi Pinca) #48192 - [
7250d8c2f1
] - Revert "test: unskip negative-settimeout.any.js WPT" (Filip Skokan) #48182 - [
18476697bd
] - test: mark test_cannot_run_js as flaky (Keyhan Vakil) #48181 - [
446f6118ff
] - test: fix flaky test-runner-watch-mode (Moshe Atlow) #48144 - [
7fa144e3fe
] - test: skip test-http-pipeline-flood on IBM i (Abdirahim Musse) #48048 - [
5c5b1d2867
] - test: ignore helper files in WPTs (Filip Skokan) #48079 - [
3b2cee071b
] - test: movetest-cluster-primary-error
flaky test (Yagiz Nizipli) #48039 - [
7b816b4922
] - test: fix suite signal (Benjamin Gruenbaum) #47800 - [
ca4a0e3717
] - test: fix parsing test flags (Daeyeon Jeong) #48012 - [
a3f0504556
] - test: mark test-esm-loader-http-imports as flaky (Tobias Nießen) #47987 - [
ab36a30143
] - test: unskip negative-settimeout.any.js WPT (Filip Skokan) #47946 - [
7c80439b21
] - test: use appropriate usages for a negative import test (Filip Skokan) #47878 - [
81d8d95ba0
] - test: fix webcrypto wrap unwrap tests (Filip Skokan) #47876 - [
1b84e85576
] - test: fix output tests when path includes node version (Moshe Atlow) #47843 - [
95972aac8d
] - test: migrate a pseudo_tty test to use assertSnapshot (Moshe Atlow) #47803 - [
f1e131283d
] - test: fix WPT state when process exits but workers are still running (Filip Skokan) #47826 - [
03dcf7bc94
] - test: migrate message tests to use assertSnapshot (Moshe Atlow) #47498 - [
dedbeee336
] - test: refactor to usegetEventListeners
in timers (Deokjin Kim) #47759 - [
11a2d1c4e4
] - test: add and use tmpdir.hasEnoughSpace() (Tobias Nießen) #47767 - [
d669714e57
] - test: remove spaces from test runner test names (Tobias Nießen) #47733 - [
3a9c43a6d7
] - test: mark test-cluster-primary-error flaky on asan (Yagiz Nizipli) #47422 - [
bd1eb14cb0
] - test: remove unnecessary status check on test-release-npm (RafaelGSS) #47516 - [
914f68d953
] - test: mark test/parallel/test-file-write-stream4 as flaky (Yagiz Nizipli) #47423 - [
7c4178cb11
] - test: remove unused callback variables (angellovc) #47167 - [
d0bda902dc
] - test: migrate test runner message tests to snapshot (Moshe Atlow) #47392 - [
095ca5ccf2
] - test: remove stale entry from known_issues.status (Richard Lau) #47454 - [
8820d5415b
] - test: move more inspector sequential tests to parallel (Joyee Cheung) #47412 - [
f6ef5c4ad3
] - test: use random port in test-inspector-enabled (Joyee Cheung) #47412 - [
e97ceeca69
] - test: use random port in test-inspector-debug-brk-flag (Joyee Cheung) #47412 - [
a2e4643981
] - test: use random port in NodeInstance.startViaSignal() (Joyee Cheung) #47412 - [
a779261732
] - test: fix flaky test-watch-mode-inspect (Moshe Atlow) #47403 - [
116df2ad3e
] - test: move debugger tests with --port=0 to parallel (Joyee Cheung) #47274 - [
016b8bd27d
] - test: use --port=0 in debugger tests that do not have to work on 9229 (Joyee Cheung) #47274 - [
3c157cb7a3
] - test: run doctool tests in parallel (Joyee Cheung) #47273 - [
44f08ed941
] - test: move test-shadow-realm-gc.js to known_issues (Joyee Cheung) #47355 - [
e2b5d968c3
] - test: update wasm/jsapi WPT (Michaël Zasso) #47210 - [
53d9eb5950
] - test: skip test-wasm-web-api on ARM (Michaël Zasso) #47299 - [
b620f5fcd6
] - test: skip instantiateStreaming-bad-imports WPT (Michaël Zasso) #47292 - [
1e6fe56333
] - test: fix test-child-process-exec-cwd (Stefan Stojanovic) #47235 - [
0dc4971aab
] - test: skip broken tests win arm64 (Stefan Stojanovic) #47020 - [
6fee6050e3
] - test: fix 'checks' validation test for checkPrime (Tobias Nießen) #47139 - [
6b85472f01
] - test: update URL web-platform-tests (Yagiz Nizipli) #47135 - [
732a98e1ba
] - test: reduce flakiness of test-http-remove-header-stays-removed.js (Debadree Chatterjee) #46855 - [
713b412ee9
] - test: mark test-http-max-sockets as flaky on win32 (Tobias Nießen) #47134 - [
b3b7dbc395
] - test: update web-platform tests for url (Xuguang Mei) #46860 - [
2edd0fdb5b
] - test: mark test-child-process-stdio-reuse-readable-stdio flaky (Luigi Pinca) #48537 - [
fae240e492
] - test: mark test-child-process-pipe-dataflow as flaky (Moshe Atlow) #48334 - [
9ca3cc0f2a
] - test: remove useless require('../common') from WPTs (Filip Skokan) #46796 - [
4bece055a5
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #47921 - [
7ef169b706
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #47222 - [
873606b355
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #47131 - [
8f1fc0bc99
] - test,doc,sea: run SEA tests on ppc64 (Darshan Sen) #48111 - [
5d910ca389
] - test_runner: add enqueue and dequeue events (Moshe Atlow) #48428 - [
d795c0ab0c
] - test_runner: dont split lines ontest:stdout
(Moshe Atlow) #48057 - [
04eb1f85da
] - test_runner: pass FORCE_COLOR to child process (Moshe Atlow) #48057 - [
2262653148
] - test_runner: applyrunOnly
on suites (Moshe Atlow) #48279 - [
033d0bb3e1
] - test_runner: emittest:watch:drained
event (Moshe Atlow) #48259 - [
618a9e1c09
] - test_runner: stop watch mode when abortSignal aborted (Moshe Atlow) #48259 - [
6a82fbd006
] - test_runner: fix global after hook (Moshe Atlow) #48231 - [
d1295d7b10
] - test_runner: remove redundant check from coverage (Colin Ihrig) #48070 - [
47602fe73b
] - test_runner: fix test deserialize edge cases (Moshe Atlow) #48106 - [
b18a78cd0b
] - test_runner: delegate stderr and stdout formatting to reporter (Shiba) #48045 - [
e0d0b19c30
] - test_runner: display dot report as wide as the terminal width (Raz Luvaton) #48038 - [
bdca468a79
] - test_runner: use v8.serialize instead of TAP (Moshe Atlow) #47867 - [
866ed6a887
] - (SEMVER-MINOR) test_runner: add shorthands totest
(Chemi Atlow) #47909 - [
4737314865
] - test_runner: fix ordering of test hooks (Phil Nash) #47931 - [
ea543d95f6
] - test_runner: omit inaccessible files from coverage (Colin Ihrig) #47850 - [
8398bca842
] - test_runner: fix --require with --experimental-loader (Moshe Atlow) #47751 - [
4c0036ba1b
] - (SEMVER-MINOR) test_runner: support combining coverage reports (Colin Ihrig) #47686 - [
cb3abda9aa
] - test_runner: remove no-op validation (Colin Ihrig) #47687 - [
323881f60b
] - test_runner: fix test runner concurrency (Moshe Atlow) #47675 - [
3bbb1fc990
] - test_runner: fix test counting (Moshe Atlow) #47675 - [
0ea63717ba
] - test_runner: fix nested hooks (Moshe Atlow) #47648 - [
fa18b17d88
] - test_runner: add testNamePatterns to run api (atlowChemi) #47648 - [
2033691bfc
] - test_runner: support coverage of unnamed functions (Colin Ihrig) #47652 - [
882c6127ae
] - test_runner: move coverage collection to root.postRun() (Colin Ihrig) #47651 - [
e97eefa538
] - (SEMVER-MINOR) test_runner: execute before hook on test (Chemi Atlow) #47586 - [
4bce39108c
] - test_runner: avoid reporting parents of failing tests in summary (Moshe Atlow) #47579 - [
688078b93a
] - test_runner: fix spec skip detection (Moshe Atlow) #47537 - [
0b32a8c8a3
] - test_runner: color errors only when colors are available (Moshe Atlow) #47394 - [
d5fc8236bf
] - test_runner: hide failing tests title when all tests pass (Moshe Atlow) #47370 - [
1d453e4d31
] - test_runner: stringify AssertError expected and actual (Moshe Atlow) #47088 - [
99312a55f2
] - test_runner: add code coverage support to spec reporter (Pulkit Gupta) #46674 - [
2091b4718f
] - (SEMVER-MINOR) test_runner: expose reporter for use in run api (Chemi Atlow) #47238 - [
9cbf89717e
] - test_runner: report failing tests after summary (HinataKah0) #47164 - [
460bcc042e
] - test_runner: count nested tests (Moshe Atlow) #47094 - [
c62e6b2e54
] - test_runner: accept \x1b as a escape symbol (Debadree Chatterjee) #47050 - [
ddf819f810
] - test_runner: support defining test reporter in NODE_OPTIONS (Steve Herzog) #46688 - [
e049ce296a
] - tls: reapply servername on happy eyeballs connect (Fedor Indutny) #48255 - [
19b0f244b2
] - tls: accept SecureContext object in server.addContext() (HinataKah0) #47570 - [
7786d7cece
] - tools: pin ruff version number (Rich Trott) #48505 - [
a2bfe02289
] - tools: remove non-existing file from CODEOWNERS file (Juan José Arboleda) #48697 - [
87562c9af0
] - tools: update rollup lint-md-dependencies (Node.js GitHub Bot) #48329 - [
1cde4a4299
] - Revert "tools: open issue when update workflow fails" (Marco Ippolito) #48312 - [
361cf8cffc
] - tools: don't gitignore base64 config.h (Ben Noordhuis) #48174 - [
0cfdb3affa
] - tools: update LICENSE and license-builder.sh (Santiago Gimeno) #48078 - [
715cf81b4a
] - tools: automate histogram update (Marco Ippolito) #48171 - [
d9afffab03
] - tools: use shasum instead of sha256sum (Luigi Pinca) #48229 - [
1a5cddfc1f
] - tools: harmonizedep_updaters
scripts (Antoine du Hamel) #48201 - [
24abe07dda
] - tools: log and verify sha256sum (Andrea Fassina) #48088 - [
9aed8683aa
] - tools: open issue when update workflow fails (Marco Ippolito) #48018 - [
4c5c63fd82
] - tools: alphabetize CODEOWNERS (Rich Trott) #48124 - [
9b849a7270
] - tools: use latest upstream commit for zlib updates (Andrea Fassina) #48054 - [
e18c1258ae
] - tools: add security-wg as dep updaters owner (Marco Ippolito) #48113 - [
999a289dd9
] - tools: fix race condition when npm installing (Tobias Nießen) #48101 - [
25b0033b86
] - tools: refloat 7 Node.js patches to cpplint.py (Rich Trott) #48098 - [
87b36b3a8a
] - tools: update cpplint to 1.6.1 (Yagiz Nizipli) #48098 - [
64ff6fe443
] - tools: update eslint to 8.41.0 (Node.js GitHub Bot) #48097 - [
739c314851
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #48096 - [
6674ed1901
] - tools: update doc to remark-parse@10.0.2 (Node.js GitHub Bot) #48095 - [
0b0818caab
] - tools: add debug logs (Marco Ippolito) #48060 - [
168d080f40
] - tools: fix zconf.h path (Luigi Pinca) #48089 - [
ccd2795f42
] - tools: update remark-preset-lint-node to 4.0.0 (Node.js GitHub Bot) #47995 - [
89e068a550
] - tools: debug log for nghttp3 (Marco Ippolito) #47992 - [
3bf2bd4ec6
] - tools: automate icu-small update (Marco Ippolito) #47727 - [
fdf9681dc0
] - tools: update lint-md-dependencies to rollup@3.21.5 (Node.js GitHub Bot) #47903 - [
52532c2cb1
] - tools: update eslint to 8.40.0 (Node.js GitHub Bot) #47906 - [
951cc7b624
] - tools: update eslint to 8.39.0 (Node.js GitHub Bot) #47789 - [
706c87db50
] - tools: fix jsdoc lint (Moshe Atlow) #47789 - [
8eef5f5f5f
] - tools: update doc to highlight.js@11.8.0 (Node.js GitHub Bot) #47786 - [
899eea6237
] - tools: update lint-md-dependencies to rollup@3.21.1 (Node.js GitHub Bot) #47787 - [
8ca50b6ac9
] - tools: move update-npm to dep updaters (Marco Ippolito) #47619 - [
5ee554397d
] - tools: fix update-v8-patch cache (Marco Ippolito) #47725 - [
4e0d19e1bd
] - tools: automate v8 patch update (Marco Ippolito) #47594 - [
64c3154bdf
] - tools: fix skip message in update-cjs-module-lexer (Tobias Nießen) #47701 - [
6535ab90d9
] - tools: update lint-md-dependencies to @rollup/plugin-commonjs@24.1.0 (Node.js GitHub Bot) #47577 - [
7cfc00d072
] - tools: keep MR titles/description up-to-date (Tobias Nießen) #47621 - [
d6b555e2c8
] - tools: fix updating root certificates (Richard Lau) #47607 - [
0d3e3ddea6
] - tools: update MR label config (Mohammed Keyvanzadeh) #47593 - [
fa52c472b8
] - tools: add execution permission to uvwasi script (Mert Can Altın) #47600 - [
f6955a6b0c
] - tools: add update script for googletest (Tobias Nießen) #47482 - [
4e1d87e752
] - tools: add option to run workflow with specific tool id (Michaël Zasso) #47591 - [
e605402590
] - tools: automate zlib update (Marco Ippolito) #47417 - [
b6ca57e8d0
] - tools: add url and whatwg-url labels automatically (Yagiz Nizipli) #47545 - [
d5c9bc4f8e
] - tools: add performance label to benchmark changes (Yagiz Nizipli) #47545 - [
c5227628a9
] - tools: automate uvwasi dependency update (Ranieri Innocenti Spada) #47509 - [
5ffdb57302
] - tools: add missing pinned dependencies (Mateo Nunez) #47346 - [
c7b898d4e4
] - tools: automate ngtcp2 and nghttp3 update (Marco Ippolito) #47402 - [
e696a48225
] - tools: move update-undici.sh to dep_updaters and create maintain md (Marco Ippolito) #47380 - [
056067286a
] - tools: makejs2c.py
usable for other build systems (Cheng Zhao) #46930 - [
d11c6ba2eb
] - tools: move update-acorn.sh to dep_updaters and create maintaining md (Marco Ippolito) #47382 - [
0a65c7c300
] - tools: update eslint to 8.38.0 (Node.js GitHub Bot) #47475 - [
60dc249cd5
] - tools: update eslint to 8.38.0 (Node.js GitHub Bot) #47475 - [
1271b0eded
] - tools: automate cjs-module-lexer dependency update (Marco Ippolito) #47446 - [
26905572d4
] - tools: fix notify-on-push Slack messages (Antoine du Hamel) #47453 - [
3c62663797
] - tools: update lint-md-dependencies to @rollup/plugin-node-resolve@15.0.2 (Node.js GitHub Bot) #47431 - [
c57dabe360
] - tools: add root certificate update script (Richard Lau) #47425 - [
f27680e37c
] - tools: fix update-openssl.yml compare version (Marco Ippolito) #47384 - [
35e6cf2944
] - tools: use ref_name to get branch pushed on (Debadree Chatterjee) #47358 - [
28935a86f8
] - tools: add a at here tag for slack messages (Debadree Chatterjee) #47358 - [
e1846ee4f1
] - tools: disable Codecov commit statuses (Michaël Zasso) #47306 - [
d1c8229da4
] - tools: update eslint to 8.37.0 (Node.js GitHub Bot) #47333 - [
6ab22151c4
] - tools: fix duration_ms to be milliseconds (Moshe Atlow) #44490 - [
5d46c594a7
] - tools: automate brotli update (Marco Ippolito) #47205 - [
d324c15227
] - tools: fix typo in nghttp2 path (Marco Ippolito) #47330 - [
b1bcdceef5
] - tools: add scorecard workflow (Mateo Nunez) #47254 - [
281362bcc2
] - tools: pin actions by hash for auto-start-ci.yml (Gabriela Gutierrez) #46820 - [
6cae1bd377
] - tools: standardize base64 update (Marco Ippolito) #47201 - [
a682bd0714
] - tools: update codecov branch (Rich Trott) #47285 - [
1061e17c66
] - tools: standardize update-llhttp.sh (Marco Ippolito) #47198 - [
9781185943
] - tools: upgrade Windows digital signature to SHA256 (Tobias Nießen) #47206 - [
37638e43c5
] - tools: add button to copy code example to clipboard (jakecastelli) #46928 - [
05cb503f02
] - tools: standardize update-nghttp2.sh (Marco Ippolito) #47197 - [
816e215701
] - tools: fix Slack notification action (Antoine du Hamel) #47237 - [
9ac01ecc59
] - tools: notify on Slack when invalid commit lands (Antoine du Hamel) #47178 - [
13eb029b4f
] - tools: update daily wpt actions summary (Filip Skokan) #47138 - [
e0a00ebfc5
] - tools: allow test tap output to include unicode characters (Moshe Atlow) #47175 - [
fca3391d0b
] - tools: update lint-md-dependencies to rollup@3.19.1 (Node.js GitHub Bot) #47045 - [
c0fd6a3721
] - tools: update eslint to 8.36.0 (Node.js GitHub Bot) #47046 - [
7d971daf29
] - tools,meta: update README and tools to reflect changes in TSC charter (Rich Trott) #47126 - [
d078d66bdc
] - typings: fix syntax error in tsconfig (Mohammed Keyvanzadeh) #47584 - [
889730512c
] - url: handle URL.canParse without base parameter (Yagiz Nizipli) #47547 - [
0dc485eb28
] - url: drop ICU requirement for parsing hostnames (Yagiz Nizipli) #47339 - [
b395b16c40
] - url: use ada::url_aggregator for parsing urls (Yagiz Nizipli) #47339 - [
11f48e02a8
] - (SEMVER-MINOR) url: implement URL.canParse (Matthew Aitken) #47179 - [
977a8bad35
] - url: fix array overrun in node:url::SetArgs() (Yagiz Nizipli) #47001 - [
4784e64850
] - url: allow extension of user provided URL objects (Antoine du Hamel) #46989 - [
f495cb6bf4
] - url: backport non-major changes from #46904 (Yagiz Nizipli) #46904 - [
aa4f485388
] - url: setformatUrl
method as no side effect (Yagiz Nizipli) #46884 - [
c79e1b72f2
] - url: offloadURLSearchParams
initialization (Yagiz Nizipli) #46867 - [
3db235b822
] - url: remove unusedkFormat
from url (Yagiz Nizipli) #46867 - [
b9df1a9668
] - url: clean vertical alignment of docs (Robin Ury) #48037 - [
9a2354d4a9
] - url: do not use object as hashmap (Timothy Gu) #47415 - [
4850ba4bd4
] - url: improve URLSearchParams creation performance (Yagiz Nizipli) #47190 - [
7fb1980fd9
] - url: add pending-deprecation tourl.parse()
(Yagiz Nizipli) #47203 - [
b04ea5aa9b
] - url: allow extension of user provided URL objects (Antoine du Hamel) #46989 - [
972c851918
] - url: remove unnecessary call toFunctionPrototypeBind
(Antoine du Hamel) #46870 - [
87ef1b2859
] - util: fix inspecting error with a throwing getter forcause
(Antoine du Hamel) #47163 - [
4729d30c1e
] - v8: fix ERR_NOT_BUILDING_SNAPSHOT is not a constructor (Chengzhong Wu) #47721 - [
d9a68b821e
] - vm: properly handle defining symbol props (Nicolas DUBIEN) #47572 - [
0d0fad8f0a
] - vm: fix crash when setting __proto__ on context's globalThis (Feng Yu) #47939 - [
fb90b6b3fb
] - vm: properly handle defining props on any value (Nicolas DUBIEN) #46615 - [
4b2aa3d27c
] - vm,lib: refactor microtaskQueue assignment logic (Khaidi Chu) #47765 - [
58afcc27f6
] - (SEMVER-MINOR) wasi: no longer require flag to enable wasi (Michael Dawson) #47286 - [
407af51cf5
] - wasi: add wasi sock_accept stub (Michael Dawson) #46434 - [
d3e0229948
] - watch: fix watch path with equals (Moshe Atlow) #47369 - [
78972d4696
] - worker: support more cases when (de)serializing errors (Moshe Atlow) #47925
v18.16.1
: 2023-06-20, Version 18.16.1 'Hydrogen' (LTS), @RafaelGSS
This is a security release.
Notable Changes
The following CVEs are fixed in this release:
-
CVE-2023-30581:
mainModule.__proto__
Bypass Experimental Policy Mechanism (High) - CVE-2023-30585: Privilege escalation via Malicious Registry Key manipulation during Node.js installer repair process (Medium)
- CVE-2023-30588: Process interuption due to invalid Public Key information in x509 certificates (Medium)
- CVE-2023-30589: HTTP Request Smuggling via Empty headers separated by CR (Medium)
- CVE-2023-30590: DiffieHellman does not generate keys after setting a private key (Medium)
- OpenSSL Security Releases
- c-ares vulnerabilities:
More detailed information on each of the vulnerabilities can be found in June 2023 Security Releases blog post.
Commits
- [
bf3e2c8928
] - crypto: handle cert with invalid SPKI gracefully (Tobias Nießen) nodejs-private/node-private#393 - [
70f9449072
] - deps: setCARES_RANDOM_FILE
for c-ares (Richard Lau) #48156 - [
35d4efb57b
] - deps: update c-ares to 1.19.1 (RafaelGSS) #48115 - [
392dfedc77
] - deps: update archs files for openssl-3.0.9-quic1 (Node.js GitHub Bot) #48402 - [
46cd5fe38b
] - deps: upgrade openssl sources to quictls/openssl-3.0.9-quic1 (Node.js GitHub Bot) #48402 - [
7e3d2d85c2
] - doc,test: clarify behavior of DH generateKeys (Tobias Nießen) nodejs-private/node-private#426 - [
4ff6ba050a
] - http: disable request smuggling via rempty headers (Paolo Insogna) nodejs-private/node-private#428 - [
ab269129a6
] - msi: do not create AppData\Roaming\npm (Tobias Nießen) nodejs-private/node-private#408 - [
925e8f5619
] - policy: handle mainModule.__proto__ bypass (RafaelGSS) nodejs-private/node-private#416 - [
d6fae8e47e
] - test: allow SIGBUS in signal-handler abort test (Michaël Zasso) #47851
v18.16.0
: 2023-04-12, Version 18.16.0 'Hydrogen' (LTS), @danielleadams
Notable changes
Add initial support for single executable applications
Compile a JavaScript file into a single executable application:
$ echo 'console.log(`Hello, ${process.argv[2]}!`);' > hello.js
$ cp $(command -v node) hello
### On systems other than macOS:
$ npx postject hello NODE_JS_CODE hello.js \
--sentinel-fuse NODE_JS_FUSE_fce680ab2cc467b6e072b8b5df1996b2
### On macOS:
$ npx postject hello NODE_JS_CODE hello.js \
--sentinel-fuse NODE_JS_FUSE_fce680ab2cc467b6e072b8b5df1996b2 \
--macho-segment-name NODE_JS
$ ./hello world
Hello, world!
Contributed by Darshan Sen in #45038
Replace url parser with Ada
Node.js gets a new URL parser called Ada that is compliant with the WHATWG URL Specification and provides more than 100% performance improvement to the existing implementation.
Contributed by Yagiz Nizipli in #46410
Other notable changes
-
buffer:
- (SEMVER-MINOR) add Buffer.copyBytesFrom(...) (James M Snell) #46500
- doc:
-
events:
- (SEMVER-MINOR) add listener argument to listenerCount (Paolo Insogna) #46523
- lib:
- src:
-
stream:
- (SEMVER-MINOR) add abort signal for ReadableStream and WritableStream (Debadree Chatterjee) #46273
-
tls:
- (SEMVER-MINOR) support automatic DHE (Tobias Nießen) #46978
-
url:
- (SEMVER-MINOR) implement URLSearchParams size getter (James M Snell) #46308
-
worker:
- (SEMVER-MINOR) add support for worker name in inspector and trace_events (Debadree Chatterjee) #46832
Commits
- [
c742493b61
] - assert: fix exception message for assert(0) on try catch block (hidecology) #46760 - [
0ddf73ae7c
] - assert: remove deprecated getFunction() usage (Ruben Bridgewater) #46661 - [
97ad72f19f
] - async_hooks: add async local storage propagation benchmarks (Chengzhong Wu) #46414 - [
b1bde69574
] - async_hooks: remove experimental onPropagate option (James M Snell) #46386 - [
b5db3b579a
] - benchmark: add a benchmark for URLSearchParams creation and toString() (Debadree Chatterjee) #46810 - [
ff94f9ffbe
] - benchmark: replace table in docs with description of file tree structure (Theodor Steiner) #46991 - [
d4af671f09
] - benchmark: splitBuffer.byteLength
benchmark (Joyee Cheung) #46616 - [
5f647fb7b4
] - benchmark: add benchmark for EventTarget add and remove (Debadree Chatterjee) #46779 - [
d7d634bd67
] - benchmark: fix worker startup benchmark (Joyee Cheung) #46680 - [
f7c4796c56
] - benchmark: add trailing commas inbenchmark/path
(Antoine du Hamel) #46628 - [
9b0d5030a5
] - benchmark: add trailing commas inbenchmark/http
(Antoine du Hamel) #46609 - [
e0f436041e
] - benchmark: add trailing commas inbenchmark/crypto
(Antoine du Hamel) #46553 - [
a383aee386
] - benchmark: add trailing commas inbenchmark/url
(Antoine du Hamel) #46551 - [
a10c3558c6
] - benchmark: add trailing commas inbenchmark/http2
(Antoine du Hamel) #46552 - [
8036583f1f
] - benchmark: add trailing commas inbenchmark/process
(Antoine du Hamel) #46481 - [
1497244078
] - benchmark: add trailing commas inbenchmark/misc
(Antoine du Hamel) #46474 - [
057e3f5309
] - benchmark: add trailing commas inbenchmark/buffers
(Antoine du Hamel) #46473 - [
26e1a81243
] - benchmark: add trailing commas inbenchmark/module
(Antoine du Hamel) #46461 - [
bd6c828cf3
] - benchmark: add trailing commas inbenchmark/net
(Antoine du Hamel) #46439 - [
01cf87aca7
] - benchmark: add trailing commas inbenchmark/util
(Antoine du Hamel) #46438 - [
f006b2f9dc
] - benchmark: add trailing commas inbenchmark/async_hooks
(Antoine du Hamel) #46424 - [
f969cc30ab
] - benchmark: add trailing commas inbenchmark/fs
(Antoine du Hamel) #46426 - [
5202b84382
] - bootstrap: print stack trace during environment creation failure (Joyee Cheung) #46533 - [
c6e722aca4
] - (SEMVER-MINOR) buffer: add Buffer.copyBytesFrom(...) (James M Snell) #46500 - [
886504fdf8
] - build: fix Visual Studio installation detection for Arm64 (Radek Bartoň) #46420 - [
2b72a453cf
] - build: add GitHub Action for coverage with --without-intl (Rich Trott) #37954 - [
ff07aa7fe3
] - build: do not disable inspector when intl is disabled (Rich Trott) #37954 - [
4b25b98bd8
] - build,test: add proper support for IBM i (Xu Meng) #46739 - [
535311097c
] - child_process: add trailing commas in source files (Antoine du Hamel) #46758 - [
d2692c65df
] - cluster: add trailing commas in source files (Antoine du Hamel) #46695 - [
effdca8b10
] - crypto: don't assume FIPS is disabled by default (Michael Dawson) #46532 - [
bce37c60ce
] - debugger: improve validations and documents for watch and unwatch (Eungyu Lee) #46947 - [
51253bae83
] - debugger: add a command to set which lines to check for context (Eungyu Lee) #46812 - [
44375c6a3c
] - debugger: add trailing commas in source files (Antoine du Hamel) #46714 - [
e5c4d69681
] - deps: update ada to 1.0.4 (Node.js GitHub Bot) #46853 - [
94f83536d7
] - deps: update ada to 1.0.3 (Node.js GitHub Bot) #46784 - [
484c4f6674
] - deps: update ada to v1.0.1 (Yagiz Nizipli) #46550 - [
0bc4c17e57
] - deps: add ada as a dependency (Yagiz Nizipli) #46410 - [
956f786499
] - deps: update undici to 5.21.0 (Node.js GitHub Bot) #47063 - [
73be4f8ef5
] - deps: update simdutf to 3.2.2 (Node.js GitHub Bot) #46841 - [
0e78fd5883
] - deps: update corepack to 0.17.0 (Node.js GitHub Bot) #46842 - [
61c9433d8a
] - deps: update simdutf to 3.2.1 (Node.js GitHub Bot) #46800 - [
63a62ed532
] - deps: upgrade npm to 9.5.1 (npm team) #46783 - [
c8974d678a
] - deps: update nghttp2 to 1.52.0 (Michaël Zasso) #46636 - [
2b439a2cdf
] - deps: fix libuv for android (Julian Dropmann) #46746 - [
d5eb1df869
] - deps: update simdutf to 3.2.0 (Node.js GitHub Bot) #46621 - [
dd97b05aeb
] - deps: update corepack to 0.16.0 (Node.js GitHub Bot) #46710 - [
65b877de45
] - deps: copypostject-api.h
andLICENSE
to thedeps
folder (Darshan Sen) #46582 - [
a918ac886e
] - deps: update c-ares to 1.19.0 (Michaël Zasso) #46415 - [
1ac639a240
] - deps: V8: cherry-pick9ec4e90
(Kleis Auke Wolthuizen) #47092 - [
f8d4bf8540
] - deps,test: update postject to 1.0.0-alpha.5 (Node.js GitHub Bot) #46934 - [
8646b06c1b
] - dgram: fix unhandled exception aborting a closed udp socket (Ramana Venkata) #46770 - [
e435199ccc
] - doc: remove remaining SSL_OP_NETSCAPE_*_BUG (Tobias Nießen) #47066 - [
01d82670c7
] - doc: fix typo in test.md (Victor Hiairrassary) #47053 - [
0e3077dc48
] - doc: amend support tier qualifier (Gireesh Punathil) #42805 - [
a5bf6693b9
] - doc: fix typo on esm loaders example (Ruy Adorno) #47015 - [
6a0c1d053e
] - doc: add missing test runner flags to man page (Colin Ihrig) #46982 - [
43b94b0f13
] - doc: fix history information fornode:diagnostics_channel
(Thomas Hunter II) #46984 - [
b37d53a1ba
] - doc: fix myUrl is not defined in url (Youngmin Yoo) #46968 - [
257c5ac1fa
] - doc: remove useless SSL_OP_* options (Tobias Nießen) #46954 - [
09c5e6a9f3
] - doc: fix description of TLS dhparam option (Tobias Nießen) #46949 - [
8907732fcf
] - doc: improve fs code example quality (jakecastelli) #46948 - [
17a25f1153
] - doc: fix port of destination server is not defined in http2 (Deokjin Kim) #46940 - [
ad06168a5c
] - doc: use number which is bigger than 1024 as port in http2 (Deokjin Kim) #46938 - [
4e6dda5be4
] - doc: add release key for Juan Arboleda (Juan José) #46922 - [
f49c6e64ba
] - doc: fix links to SSL_CTX_set_options (Tobias Nießen) #46953 - [
ea7fb16e5c
] - doc: fix fs missing import (jakecastelli) #46907 - [
11885a7351
] - doc: add request to hold off publicising sec releases (Michael Dawson) #46702 - [
0254fd1da6
] - doc: fix stream iterator helpers examples (Benjamin Gruenbaum) #46897 - [
0a983f7125
] - doc: add history info fornode:test
(Antoine du Hamel) #46851 - [
810d393ded
] - doc: sort import order (jakecastelli) #46847 - [
6e03499437
] - doc: use destructing import (jakecastelli) #46847 - [
8b636c3cd6
] - doc: add marco-ippolito to collaborators (Marco Ippolito) #46816 - [
7e08ca125a
] - doc: document how to use the tls.DEFAULT_CIPHERS (Andreas Martens) #46482 - [
3dae6f2f81
] - doc: add document for profiling and heap snapshot (cola119) #46787 - [
eef30513b9
] - doc: add test:coverage event to custom reporter examples (Richie McColl) #46752 - [
e6db6bedf7
] - doc: include context on .toWeb() parameters (Debadree Chatterjee) #46617 - [
a24350e49f
] - doc: add in security steward for recent release (Michael Dawson) #46701 - [
55360e9386
] - doc: clarify semver-minor notable changes approach (Beth Griggs) #46592 - [
a384dd42ff
] - doc: maintaining nghttp2 (Marco Ippolito) #46539 - [
45fccc9737
] - doc: add emit to NodeEventTarget (Deokjin Kim) #46356 - [
760616890c
] - doc: add debadree25 to collaborators (Debadree Chatterjee) #46716 - [
b9dd876e7c
] - doc: move bcoe to emeriti (Benjamin Coe) #46703 - [
3afbb92bb4
] - doc: add response.strictContentLength to documentation (Marco Ippolito) #46627 - [
2c0e1aa095
] - doc: remove unused functions from example ofstreamConsumers.text
(Deokjin Kim) #46581 - [
61268303fc
] - doc: fix test runner examples (Richie McColl) #46565 - [
2b702c98c2
] - doc: update test concurrency description / default values (richiemccoll) #46457 - [
f1de3f7a31
] - doc: enrich test command with executable (Tony Gorez) #44347 - [
68b5cf8e38
] - doc: fix wrong location ofrequestTimeout
's default value (Deokjin Kim) #46423 - [
4d5d6d2193
] - doc: add deokjinkim to collaborators (Deokjin Kim) #46444 - [
de7f6182be
] - doc: fix -C flag usage (三咲智子 Kevin Deng) #46388 - [
4165cf34ba
] - doc: add note about major release rotation (Rafael Gonzaga) #46436 - [
f088ce2dc7
] - doc: update threat model based on discussions (Michael Dawson) #46373 - [
5b94e2bcdb
] - esm: fix import assertion warning (Antoine du Hamel) #46971 - [
96a39d1a99
] - esm: add a runtime warning when using import assertions (Antoine du Hamel) #46901 - [
320a8adb45
] - esm: misc test refactors (Geoffrey Booth) #46631 - [
b08687f739
] - events: add trailing commas in source files (Antoine du Hamel) #46759 - [
cc6deeaf7a
] - (SEMVER-MINOR) events: add listener argument to listenerCount (Paolo Insogna) #46523 - [
efc24097a6
] - fs: add trailing commas in source files (Antoine du Hamel) #46696 - [
80b4e6da53
] - http: use listenerCount when adding noop event (Paolo Insogna) #46769 - [
3538521bf6
] - http: correctly calculate strict content length (Robert Nagy) #46601 - [
9582c8ef3a
] - http: fix validation of "Link" header (Steve Herzog) #46466 - [
23c1e2fa52
] - http: unify header treatment (Marco Ippolito) #46528 - [
abeee994c4
] - http: add note about clientError event (Paolo Insogna) #46584 - [
3d0602c96c
] - http: use v8::Array::New() with a prebuilt vector (Joyee Cheung) #46447 - [
62cbddd86f
] - lib: fix trailing commas and leftover function from rebasing (Danielle Adams) #47503 - [
c463f133bd
] - lib: enforce use of trailing commas (Antoine du Hamel) #46881 - [
0f33bb0961
] - lib: add trailing commas to all public core modules (Antoine du Hamel) #46848 - [
06e0dd3e15
] - lib: rename internal module declaration as internal bindings (okmttdhr, okp) #46663 - [
31578ab1b4
] - lib: add trailing commas to more internal files (Antoine du Hamel) #46811 - [
ad510d9029
] - lib: update punycode to 2.3.0 (Yagiz Nizipli) #46719 - [
4cf3de8b02
] - lib: add trailing commas ininternal/perf
(Antoine du Hamel) #46697 - [
f1b79828bc
] - (SEMVER-MINOR) lib: add AsyncLocalStorage.bind() and .snapshot() (flakey5) #46387 - [
48cd712c0d
] - lib: add trailing commas ininternal/process
(Antoine du Hamel) #46687 - [
46a22ab601
] - lib: do not crash using workers with disabled shared array buffers (Ruben Bridgewater) #41023 - [
1395e36e64
] - lib: delete module findPath unused params (sinkhaha) #45371 - [
c410572620
] - lib: enforce use of trailing commas in more files (Antoine du Hamel) #46655 - [
36e080cd13
] - lib: enforce use of trailing commas for functions (Antoine du Hamel) #46629 - [
71249a6c00
] - lib: predeclare Event.isTrusted prop descriptor (Santiago Gimeno) #46527 - [
2b80d19c06
] - lib: tightenAbortSignal.prototype.throwIfAborted
implementation (Antoine du Hamel) #46521 - [
2f79f3fa38
] - (SEMVER-MINOR) lib: add aborted() utility function (Debadree Chatterjee) #46494 - [
7f9e60aa1a
] - lib,src: fix a few typos in comments (Tobias Nießen) #46835 - [
c4f192b592
] - meta: add single-executable labels and code owners (Joyee Cheung) #47004 - [
abe1488f86
] - meta: remove AUTHORS file (Rich Trott) #46845 - [
e53774c7bf
] - meta: remove unnecessary onboarding step (Rich Trott) #46793 - [
55f1cfd7e4
] - meta: update CODEOWNERS of url implementations (Yagiz Nizipli) #46775 - [
ccaa7cabdd
] - meta: update AUTHORS (Node.js GitHub Bot) #46726 - [
260ddd5b0f
] - meta: update AUTHORS (Node.js GitHub Bot) #46624 - [
5ef78e50a0
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #46513 - [
5efb829156
] - meta: update AUTHORS (Node.js GitHub Bot) #46504 - [
f0705f7de1
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #46411 - [
331073a7aa
] - node-api: add __wasm32__ guards on async works (Chengzhong Wu) #46633 - [
594bb9d558
] - os: improve network interface performance (Ruben Bridgewater) #46598 - [
c231aae6c5
] - process: print versions by sort (Himself65) #46428 - [
fe318dd095
] - punycode: add pending deprecation (Antoine du Hamel) #46719 - [
34ba230d9b
] - repl: remove lastInputPreview conditional check (Duy Mac Van) #46857 - [
09739a20b1
] - repl: fix .load infinite loop caused by shared use of lineEnding RegExp (Theodor Steiner) #46742 - [
91fbad617d
] - repl: add trailing commas in source files (Antoine du Hamel) #46757 - [
e4cd81b526
] - src: use string_view for report and related code (Anna Henningsen) #46723 - [
8ea835419e
] - (SEMVER-MINOR) src: add initial support for single executable applications (Darshan Sen) #45038 - [
4652dfdc88
] - src: remove TLSEXT_TYPE_alpn guard (Tobias Nießen) #46956 - [
a4a433fc0b
] - src: remove use of SSL_OP_SINGLE_DH_USE (Tobias Nießen) #46955 - [
339b52f3bc
] - src: make util.h self-containted (Joyee Cheung) #46817 - [
b25ee523ea
] - src: remove shadowed variable in OptionsParser (Shelley Vohr) #46672 - [
88baf98fa3
] - src: do not track BaseObjects directly in Realm (Joyee Cheung) #46470 - [
03e8d824db
] - src: fix cb scope bugs involved in termination (ywave620) #45596 - [
7fb32b43dc
] - src: add SetFastMethodNoSideEffect() (Joyee Cheung) #46619 - [
ea411d6422
] - (SEMVER-MINOR) src: allow optional Isolate termination in node::Stop() (Shelley Vohr) #46583 - [
f8d029183a
] - src: remove icu usage from node_string.cc (Yagiz Nizipli) #46548 - [
95674360b2
] - src: add fflush() to SnapshotData::ToFile() (Anna Henningsen) #46531 - [
9445a0a5f6
] - src: make edge names in BaseObjects more descriptive in heap snapshots (Joyee Cheung) #46492 - [
483cd1922f
] - src: avoid leaking snapshot fp on error (Tobias Nießen) #46497 - [
bc9a577625
] - src: check return value of ftell() (Tobias Nießen) #46495 - [
b3b3b33799
] - src: remove unused includes from main thread (Yagiz Nizipli) #46471 - [
b9ca302558
] - src: use string_view instead of std::string& (Yagiz Nizipli) #46471 - [
f1c770065a
] - src: use simdutf utf8 to utf16 instead of icu (Yagiz Nizipli) #46471 - [
aaf04f498a
] - src: replace icu with simdutf for char counts (Yagiz Nizipli) #46472 - [
3aef68d079
] - src: add additional utilities to crypto::SecureContext (James M Snell) #45912 - [
92fdb24fac
] - src: add KeyObjectHandle::HasInstance (James M Snell) #45912 - [
a639e2a557
] - src: add GetCurrentCipherName/Version to crypto_common (James M Snell) #45912 - [
8dfa748373
] - src: back snapshot I/O with a std::vector sink (Joyee Cheung) #46463 - [
17eea1812e
] - (SEMVER-MINOR) src: allow embedder control of code generation policy (Shelley Vohr) #46368 - [
dffe7d814e
] - stream: enable usage of webstreams on compose() (Debadree Chatterjee) #46675 - [
654b7474e3
] - stream: always delay construct callback by a nextTick (Matteo Collina) #46818 - [
ed2faa7c7c
] - stream: fix respondWithNewView() errors when view.byteOffset != 0 (Debadree Chatterjee) #46465 - [
247caacc7a
] - stream: fix pipeline callback not called on ended stream (Debadree Chatterjee) #46600 - [
c40eec3f3b
] - stream: add trailing commas in webstream source files (Antoine du Hamel) #46685 - [
d669f22567
] - stream: add trailing commas in stream source files (Antoine du Hamel) #46686 - [
c60816a68d
] - (SEMVER-MINOR) stream: add abort signal for ReadableStream and WritableStream (Debadree Chatterjee) #46273 - [
17b4e9bc5f
] - stream: refactor to usevalidateAbortSignal
(Antoine du Hamel) #46520 - [
4d81124397
] - stream: allow transfer of readable byte streams (MrBBot) #45955 - [
6c454af5ea
] - stream: add pipeline() for webstreams (Debadree Chatterjee) #46307 - [
91a550e5a1
] - stream: add suport for abort signal in finished() for webstreams (Debadree Chatterjee) #46403 - [
406ff320bf
] - stream: dont access Object.prototype.type during TransformStream init (Debadree Chatterjee) #46389 - [
972bdee8c4
] - test: update web-platform tests for url (Yagiz Nizipli) #46547 - [
ba340a0ddb
] - test: movetest-tls-autoselectfamily-servername
totest/internet
(Antoine du Hamel) #47029 - [
0edaf016cc
] - test: fallback to IPv4 if IPv6 is unavailable (Abdirahim Musse) #47017 - [
ef6c86c59f
] - test: simplify test-tls-ecdh-multiple (Tobias Nießen) #46963 - [
b8cdd1502f
] - test: improve test coverage of lib/dns (Anderson Paiva) #46910 - [
33991954b6
] - test: simplify test-tls-ecdh-auto (Tobias Nießen) #46911 - [
512f28fa8b
] - test: move testPath from CWD to temporary directory (Livia Medeiros) #46890 - [
3fdcf7bef4
] - test: assume priv ports start at 1024 if it can't be changed (KrayzeeKev) #46536 - [
966d0d8b16
] - test: fix os-release check for Ubuntu in SEA test (Anna Henningsen) #46838 - [
b344e74bc1
] - test: move socket from CWD to temporary directory (Livia Medeiros) #46863 - [
dfb566aec2
] - test: fix test-net-connect-reset-until-connected (Vita Batrla) #46781 - [
364479644c
] - test: simplify test-tls-alert (Tobias Nießen) #46805 - [
df149448b5
] - test: update encoding WPTs (Filip Skokan) #46802 - [
928998dd2d
] - test: remove useless WPT init scripts (Filip Skokan) #46801 - [
bb182461a3
] - test: remove unreachable return (jakecastelli) #46807 - [
ea71a2ae1b
] - test: fix test-v8-collect-gc-profile-in-worker.js (theanarkh) #46735 - [
25cab7eab5
] - test: improve control flow in test-tls-dhe (Tobias Nießen) #46751 - [
3b70e7a34e
] - test: include strace openat test (Rafael Gonzaga) #46150 - [
533170d456
] - test: remove OpenSSL 1.0.2 error message compat (Tobias Nießen) #46709 - [
b8948996b4
] - test: fix flaky test-watch-mode-files_watcher (Moshe Atlow) #46738 - [
931111609e
] - test: use newish OpenSSL feature in test-tls-dhe (Tobias Nießen) #46708 - [
847d74005c
] - test: fix assertions in test-snapshot-dns-lookup* (Tobias Nießen) #46618 - [
d7b995cd38
] - test: cover publicExponent validation in OpenSSL (Tobias Nießen) #46632 - [
a2b103a761
] - test: add trailing commas intest/pummel
(Antoine du Hamel) #46610 - [
4fb2fc7536
] - test: enable api-invalid-label.any.js in encoding WPTs (Filip Skokan) #46506 - [
b0f2415312
] - test: add trailing commas intest/js-native-api
(Antoine du Hamel) #46385 - [
534562f51d
] - test: make more crypto tests work with BoringSSL (Shelley Vohr) #46429 - [
9bb08527f0
] - test: add trailing commas intest/known_issues
(Antoine du Hamel) #46408 - [
231f0ee9b2
] - test: add trailing commas intest/internet
(Antoine du Hamel) #46407 - [
5e008e7d38
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #47010 - [
99bfbed78a
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #46575 - [
8398f9fcb6
] - test_runner: default to spec reporter when on TTY environment (Moshe Atlow) #46969 - [
16db3ad1f8
] - test_runner: handle errors not bound to tests (Colin Ihrig) #46962 - [
d60eef25a1
] - test_runner: throw if harness is not bootstrapped (Colin Ihrig) #46962 - [
ab5b3185f1
] - test_runner: track bootstrapping process (Colin Ihrig) #46962 - [
413493cab9
] - test_runner: avoid running twice tests in describe (Moshe Atlow) #46888 - [
524eaf5488
] - test_runner: fix reconstruction of errors extracted from YAML (Moshe Atlow) #46872 - [
17fbfb23bd
] - test_runner: reset count on watch mode (Moshe Atlow) #46577 - [
3b077a6885
] - test_runner: remove root tracking set (Colin Ihrig) #46961 - [
15503ffd12
] - test_runner: give the root test a harness reference (Colin Ihrig) #46962 - [
e52b169ef4
] - test_runner: align behavior of it and test (Moshe Atlow) #46889 - [
9b58857630
] - timers: cleanup no-longer relevant TODOs in timers/promises (James M Snell) #46499 - [
32c527d80f
] - (SEMVER-MINOR) tls: support automatic DHE (Tobias Nießen) #46978 - [
6ff90270ca
] - tls: add trailing commas in source files (Antoine du Hamel) #46715 - [
958da453dd
] - tools: fix update-ada script (Yagiz Nizipli) #46550 - [
a3f272e667
] - tools: automate cares update (Marco Ippolito) #46993 - [
77f5b69840
] - tools: update lint-md-dependencies to rollup@3.18.0 (Node.js GitHub Bot) #46935 - [
36ea9e7f65
] - tools: refactor dep_updaters (Tony Gorez) #46488 - [
c0b6794f82
] - tools: update eslint to 8.35.0 (Node.js GitHub Bot) #46854 - [
307d096e21
] - tools: create llhttp update action (Marco Ippolito) #46766 - [
fff31862ac
] - tools: fix linter message when using globalDOMException
(Antoine du Hamel) #46822 - [
89c2e8ac97
] - tools: update lint-md-dependencies to rollup@3.17.3 (Node.js GitHub Bot) #46843 - [
3bf54ff624
] - tools: update lint-md-dependencies to rollup@3.17.2 (Node.js GitHub Bot) #46771 - [
4065e5cda6
] - tools: run format-cpp on node-api test c files (Chengzhong Wu) #46694 - [
7349708527
] - tools: use actions pinned by commit hash in coverage-linux (Gabriela Gutierrez) #46294 - [
f80e93d71f
] - tools: fix regex strings in Python tools (Jan Osusky) #46671 - [
8fd176055f
] - tools: fixed path (Marco Ippolito) #46700 - [
15b0e8b1aa
] - tools: update nghttp2 action (Marco Ippolito) #46700 - [
4da3eecbd7
] - tools: update-nghttp2 preserve config.h (Marco Ippolito) #46698 - [
3714d8f236
] - tools: update lint-md-dependencies to rollup@3.17.1 (Node.js GitHub Bot) #46712 - [
474084e063
] - tools: update lint-md-dependencies to rollup@3.17.0 (Node.js GitHub Bot) #46712 - [
665b7424eb
] - tools: fix bug inprefer-primordials
lint rule (Antoine du Hamel) #46659 - [
7eb1456892
] - tools: update eslint to 8.34.0 (Node.js GitHub Bot) #46625 - [
678b8f53c1
] - tools: update lint-md-dependencies to rollup@3.15.0 to-vfile@7.2.4 (Node.js GitHub Bot) #46623 - [
ee81da5883
] - tools: update doc to remark-html@15.0.2 to-vfile@7.2.4 (Node.js GitHub Bot) #46622 - [
92e3e0e4e4
] - tools: update lint-md-dependencies to rollup@3.13.0 vfile-reporter@7.0.5 (Node.js GitHub Bot) #46503 - [
728f96861e
] - tools: update ESLint custom rules to not use the deprecated format (Antoine du Hamel) #46460 - [
78b79c0220
] - typings: improveprimordials
typings (Antoine du Hamel) #46970 - [
a39dd37653
] - url: simplify and improve url formatting (Yagiz Nizipli) #46736 - [
01b6525706
] - url: improve performance by removing host (Yagiz Nizipli) #46547 - [
0c67a7ad57
] - url: fix url spec compliance issues (Yagiz Nizipli) #46547 - [
e9263541a7
] - url: replace url-parser with ada (Yagiz Nizipli) #46410 - [
4d0faf4ddc
] - url: improveisURLThis
detection (Yagiz Nizipli) #46866 - [
1ece4a72b7
] - (SEMVER-MINOR) url: implement URLSearchParams size getter (James M Snell) #46308 - [
8f14002459
] - url: remove unusedURL::ToFilePath()
(Yagiz Nizipli) #46487 - [
f57e7bcc11
] - url: remove unusedURL::toObject
(Yagiz Nizipli) #46486 - [
04930562f8
] - url: remove unusedsetURLConstructor
function (Yagiz Nizipli) #46485 - [
b801873a8a
] - vm: properly support symbols on globals (Nicolas DUBIEN) #46458 - [
f7423bdbaa
] - (SEMVER-MINOR) worker: add support for worker name in inspector and trace_events (Debadree Chatterjee) #46832
v18.15.0
: 2023-03-07, Version 18.15.0 'Hydrogen' (LTS), @BethGriggs prepared by @juanarbol
Notable Changes
- [
63563f8a7a
] - doc,lib,src,test: rename --test-coverage (Colin Ihrig) #46017 - [
28a775b32f
] - test_runner: add initial code coverage support (Colin Ihrig) #46017 - [
4d50db14b3
] - (SEMVER-MINOR) test_runner: add reporters (Moshe Atlow) #45712 - [
643545ab79
] - (SEMVER-MINOR) fs: add statfs() functions (Colin Ihrig) #46358 - [
110ead9abb
] - (SEMVER-MINOR) vm: expose cachedDataRejected for vm.compileFunction (Anna Henningsen) #46320 - [
02632b42cf
] - (SEMVER-MINOR) v8: support gc profile (theanarkh) #46255 - [
f09b838408
] - (SEMVER-MINOR) src,lib: add constrainedMemory API for process (theanarkh) #46218 - [
cb5bb12422
] - (SEMVER-MINOR) buffer: add isAscii method (Yagiz Nizipli) #46046
Commits
- [
6f91c8e2ae
] - benchmark: add trailing commas (Antoine du Hamel) #46370 - [
d0b9be21eb
] - benchmark: remove buffer benchmarks redundancy (Brian White) #45735 - [
6468f30d0d
] - benchmark: introduce benchmark combination filtering (Brian White) #45735 - [
cb5bb12422
] - (SEMVER-MINOR) buffer: add isAscii method (Yagiz Nizipli) #46046 - [
ec61bb04c0
] - build: export more OpenSSL symbols on Windows (Mohamed Akram) #45486 - [
7bae4333ce
] - build: fix MSVC 2022 Release compilation (Vladimir Morozov (REDMOND)) #46228 - [
0f5f2d4470
] - crypto: includehmac.h
incrypto_util.h
(Adam Langley) #46279 - [
91ece4161b
] - crypto: avoid hang when no algorithm available (Richard Lau) #46237 - [
492fc95bdf
] - deps: V8: cherry-pick90be99f
(Michaël Zasso) #46646 - [
732c77e3d9
] - deps: update acorn to 8.8.2 (Node.js GitHub Bot) #46363 - [
8582f99ffb
] - deps: update to uvwasi 0.0.15 (Colin Ihrig) #46253 - [
5453cd9940
] - deps: V8: cherry-pickbf0bd48
(Michaël Zasso) #45908 - [
3ea53c5dc8
] - deps: V8: cherry-pickc875e86
(sepehrst) #46501 - [
c04808de4b
] - doc: correct thesed
command for macOS in release process docs (Juan José) #46397 - [
8113220690
] - doc: pass string totextEncoder.encode
as input (Deokjin Kim) #46421 - [
129dccf5d2
] - doc: add tip for session.post function (theanarkh) #46354 - [
919e581732
] - doc: add documentation for socket.destroySoon() (Luigi Pinca) #46337 - [
fc15ac95a5
] - doc: fix commit message using test instead of deps (Tony Gorez) #46313 - [
d153a93200
] - doc: add v8 fast api contribution guidelines (Yagiz Nizipli) #46199 - [
dbf082d082
] - doc: fix small typo error (0xflotus) #46186 - [
94421b4cfe
] - doc: mark some parameters as optional in webstreams (Deokjin Kim) #46269 - [
5adb743511
] - doc: update output of example inevents.getEventListeners
(Deokjin Kim) #46268 - [
63563f8a7a
] - doc,lib,src,test: rename --test-coverage (Colin Ihrig) #46017 - [
4e88c7c813
] - esm: delete preload mock test (Geoffrey Booth) #46402 - [
643545ab79
] - (SEMVER-MINOR) fs: add statfs() functions (Colin Ihrig) #46358 - [
5019b5473f
] - http: res.setHeaders first implementation (Marco Ippolito) #46109 - [
76622c4c60
] - inspector: allow opening inspector whenNODE_V8_COVERAGE
is set (Moshe Atlow) #46113 - [
92f0747e03
] - meta: update AUTHORS (Node.js GitHub Bot) #46399 - [
795251bc6f
] - meta: update AUTHORS (Node.js GitHub Bot) #46303 - [
8865424c31
] - meta: add .mailmap entry (Rich Trott) #46303 - [
5ed679407b
] - meta: move evanlucas to emeritus (Evan Lucas) #46274 - [
403df210ac
] - module: move test reporter loading (Geoffrey Booth) #45923 - [
2f7319e387
] - readline: fix detection of carriage return (Antoine du Hamel) #46306 - [
73a8f46c4d
] - Revert "src: let http2 streams end after session close" (Santiago Gimeno) #46721 - [
30d783f91a
] - src: stop tracing agent before shutting down libuv (Santiago Gimeno) #46380 - [
1508d90fda
] - src: get rid of fp arithmetic in ParseIPv4Host (Tobias Nießen) #46326 - [
bdb793a082
] - src: use UNREACHABLE instead of CHECK(falsy) (Tobias Nießen) #46317 - [
116a33649b
] - src: add support for ETW stack walking (José Dapena Paz) #46203 - [
b06298c98e
] - src: refactor EndsInANumber in node_url.cc and adds IsIPv4NumberValid (Miguel Teixeira) #46227 - [
26f41b041c
] - src: fix c++ exception on bad command line arg (Ben Noordhuis) #46290 - [
14da89f41a
] - src: remove unreachable UNREACHABLE (Tobias Nießen) #46281 - [
18c4dd004b
] - src: replace custom ASCII validation with simdutf one (Anna Henningsen) #46271 - [
cde375510f
] - src: replace unreachable code with static_assert (Tobias Nießen) #46250 - [
f389b2f3fc
] - src: use explicit C++17 fallthrough (Tobias Nießen) #46251 - [
8adaa1333c
] - src: use CreateEnvironment instead of inlining its code where possible (Anna Henningsen) #45886 - [
f09b838408
] - (SEMVER-MINOR) src,lib: add constrainedMemory API for process (theanarkh) #46218 - [
63e92eae63
] - stream: remove brandchecks from stream duplexify (Debadree Chatterjee) #46315 - [
3acfe9bf92
] - stream: fix readable stream as async iterator function (Erick Wendel) #46147 - [
de64315ccb
] - test: fix WPT title when no META title is present (Filip Skokan) #46804 - [
162e3400ff
] - test: fix default WPT titles (Filip Skokan) #46778 - [
5f422c4d70
] - test: add WPTRunner support for variants and generating WPT reports (Filip Skokan) #46498 - [
4f5aff2557
] - test: fix tap parser fails if a test logs a number (Pulkit Gupta) #46056 - [
32b020cf84
] - test: fix tap escaping with and without --test (Pulkit Gupta) #46311 - [
f2bba1bcdb
] - test: add trailing commas intest/node-api
(Antoine du Hamel) #46384 - [
f2ebe66fda
] - test: add trailing commas intest/message
(Antoine du Hamel) #46372 - [
ed564a9985
] - test: add trailing commas intest/pseudo-tty
(Antoine du Hamel) #46371 - [
e4437dd409
] - test: set common.bits to 64 for loong64 (Shi Pujin) #45383 - [
9d40aef736
] - test: s390x zlib test case fixes (Adam Majer) #46367 - [
ed3fb52716
] - test: fix logInTimeout is not function (theanarkh) #46348 - [
d05b0771be
] - test: avoid trying to call sysctl directly (Adam Majer) #46366 - [
041aac3bbd
] - test: avoid left behind child processes (Richard Lau) #46276 - [
837ddcb322
] - test: add failing test for readline with carriage return (Alec Mev) #46075 - [
75b8db41c6
] - test: reducefs-write-optional-params
flakiness (LiviaMedeiros) #46238 - [
c0d3fdaf63
] - test,crypto: add CFRG curve vectors to wrap/unwrap tests (Filip Skokan) #46406 - [
f328f7b15e
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #46267 - [
1ef3c53e24
] - test_runner: better handle async bootstrap errors (Colin Ihrig) #46720 - [
0a690efb76
] - test_runner: adddescribe.only
andit.only
shorthands (Richie McColl) #46604 - [
28a1317efe
] - test_runner: bootstrap reporters before running tests (Moshe Atlow) #46737 - [
cd3aaa8fac
] - test_runner: emit test-only diagnostic warning (Richie McColl) #46540 - [
c19fa45a65
] - test_runner: centralize CLI option handling (Colin Ihrig) #46707 - [
0898145e37
] - test_runner: display skipped tests in spec reporter output (Richie McColl) #46651 - [
894d7117fa
] - test_runner: parse non-ascii character correctly (Mert Can Altın) #45736 - [
5b3c606626
] - test_runner: flatten TAP output when running using--test
(Moshe Atlow) #46440 - [
391ff0dba4
] - test_runner: allow nesting test within describe (Moshe Atlow) #46544 - [
ba784e87b4
] - test_runner: fix missing test diagnostics (Moshe Atlow) #46450 - [
c5f16fb5fb
] - test_runner: top-level diagnostics not ommited when running with --test (Pulkit Gupta) #46441 - [
28a775b32f
] - test_runner: add initial code coverage support (Colin Ihrig) #46017 - [
0d999e373a
] - test_runner: make built in reporters internal (Colin Ihrig) #46092 - [
79f4b426fe
] - test_runner: reportfile
in test runner events (Moshe Atlow) #46030 - [
4d50db14b3
] - (SEMVER-MINOR) test_runner: add reporters (Moshe Atlow) #45712 - [
5fdf374c74
] - test_runner: avoid swallowing of asynchronously thrown errors (MURAKAMI Masahiko) #45264 - [
23b875806c
] - test_runner: update comment to comply with eslint no-fallthrough rule (Antoine du Hamel) #46258 - [
00c5495aa3
] - tools: update eslint to 8.33.0 (Node.js GitHub Bot) #46400 - [
37a6ce1120
] - tools: update doc to unist-util-select@4.0.3 unist-util-visit@4.1.2 (Node.js GitHub Bot) #46364 - [
1eaafc7db4
] - tools: update lint-md-dependencies to rollup@3.12.0 (Node.js GitHub Bot) #46398 - [
a97774603b
] - tools: require more trailing commas (Antoine du Hamel) #46346 - [
03e244a59b
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #46302 - [
60d714e0c3
] - tools: allow icutrim.py to run on python2 (Michael Dawson) #46263 - [
b7950f50de
] - tools: update eslint to 8.32.0 (Node.js GitHub Bot) #46258 - [
08bafc84f6
] - url: refactor to use more primordials (Antoine du Hamel) #45966 - [
02632b42cf
] - (SEMVER-MINOR) v8: support gc profile (theanarkh) #46255 - [
110ead9abb
] - (SEMVER-MINOR) vm: expose cachedDataRejected for vm.compileFunction (Anna Henningsen) #46320
v18.14.2
: 2023-02-21, Version 18.14.2 'Hydrogen' (LTS), @MylesBorins
Notable Changes
- [
f864bef32a
] - deps: upgrade npm to 9.5.0 (npm team) #46673
Commits
- [
880a65d7ff
] - build: deletesnapshot.blob
file from the project (Juan José Arboleda) #46626 - [
cbea56efda
] - deps: update undici to 5.20.0 (Node.js GitHub Bot) #46711 - [
f864bef32a
] - deps: upgrade npm to 9.5.0 (npm team) #46673 - [
648041d568
] - deps: upgrade npm to 9.4.0 (npm team) #46353 - [
5e1f213f3c
] - deps: patch V8 to 10.2.154.26 (Michaël Zasso) #46446
v18.14.1
: 2023-02-16, Version 18.14.1 'Hydrogen' (LTS), @RafaelGSS prepared by @juanarbol
This is a security release.
Notable Changes
The following CVEs are fixed in this release:
- CVE-2023-23918: Node.js Permissions policies can be bypassed via process.mainModule (High)
- CVE-2023-23919: Node.js OpenSSL error handling issues in nodejs crypto library (Medium)
- CVE-2023-23936: Fetch API in Node.js did not protect against CRLF injection in host headers (Medium)
- CVE-2023-24807: Regular Expression Denial of Service in Headers in Node.js fetch API (Low)
- CVE-2023-23920: Node.js insecure loading of ICU data through ICU_DATA environment variable (Low)
More detailed information on each of the vulnerabilities can be found in February 2023 Security Releases blog post.
This security release includes OpenSSL security updates as outlined in the recent OpenSSL security advisory.
Commits
- [
8393ebc72d
] - build: build ICU with ICU_NO_USER_DATA_OVERRIDE (RafaelGSS) nodejs-private/node-private#379 - [
004e34d046
] - crypto: clear OpenSSL error on invalid ca cert (RafaelGSS) #46572 - [
5e0142a852
] - deps: cherry-pick Windows ARM64 fix for openssl (Richard Lau) #46572 - [
f71fe278a6
] - deps: update archs files for quictls/openssl-3.0.8+quic (RafaelGSS) #46572 - [
2c6817e42b
] - deps: upgrade openssl sources to quictls/openssl-3.0.8+quic (RafaelGSS) #46572 - [
f0afa0bfe5
] - deps: update undici to 5.19.1 (Node.js GitHub Bot) #46634 - [
c26a34c13e
] - deps: update undici to 5.18.0 (Node.js GitHub Bot) #46634 - [
db93ee4a15
] - deps: update undici to 5.17.1 (Node.js GitHub Bot) #46634 - [
b4e49fb02c
] - deps: update undici to 5.16.0 (Node.js GitHub Bot) #46634 - [
90994e6a2c
] - deps: update undici to 5.15.1 (Node.js GitHub Bot) #46634 - [
00302fc7ac
] - deps: update undici to 5.15.0 (Node.js GitHub Bot) #46634 - [
0e3b796cc5
] - lib: makeRequireFunction patch when experimental policy (RafaelGSS) nodejs-private/node-private#371 - [
7cccd5565f
] - policy: makeRequireFunction on mainModule.require (RafaelGSS) nodejs-private/node-private#371
v18.14.0
: 2023-02-02, Version 18.14.0 'Hydrogen' (LTS), @BethGriggs prepared by @juanarbol
Notable changes
Updated npm to 9.3.1
Based on the list of guidelines we've established on integrating npm
and node
,
here is a grouped list of the breaking changes with the reasoning as to why they
fit within the guidelines linked above. Note that all the breaking changes were
made in 9.0.0.
All subsequent minor and patch releases after npm@9.0.0
do not contain any
breaking changes.
Engines
Explanation: the node engines supported by
npm@9
make it safe to allownpm@9
as the default in any LTS version of14
or16
, as well as anything later than or including18.0.0
-
npm
is now compatible with the following semver range for node:^14.17.0 || ^16.13.0 || >=18.0.0
Filesystem
Explanation: when run as root previous versions of npm attempted to manage file ownership automatically on the user's behalf. this behavior was problematic in many cases and has been removed in favor of allowing users to manage their own filesystem permissions
-
npm
will no longer attempt to modify ownership of files it creates.
Auth
Explanation: any errors thrown from users having unsupported auth configurations will show
npm config fix
in the remediation instructions, which will allow the user to automatically have their auth config fixed.
- The presence of auth related settings that are not scoped to a specific registry found in a config file is no longer supported and will throw errors.
Login
Explanation: the default
auth-type
has changed and users can opt back into the old behavior withnpm config set auth-type=legacy
.login
andadduser
have also been seperated making each command more closely match it's name instead of being aliases for each other.
- Legacy auth types
sso
,saml
&legacy
have been consolidated into"legacy"
. -
auth-type
defaults to"web"
-
login
andadduser
are now separate commands that send different data to the registry. -
auth-type
config valuesweb
andlegacy
only try their respective methods, npm no longer tries them all and waits to see which one doesn't fail.
Tarball Packing
Explanation: previously using multiple ignore/allow lists when packing was an undefined behavior, and now the order of operations is strictly defined when packing a tarball making it easier to follow and should only affect users relying on the previously undefined behavior.
-
npm pack
now follows a strict order of operations when applying ignore rules. If afiles
array is present in thepackage.json
, then rules in.gitignore
and.npmignore
files from the root will be ignored.
Display/Debug/Timing Info
Explanation: these changes center around the display of information to the terminal including timing and debug log info. We do not anticipate these changes breaking any existing workflows.
- Links generated from git urls will now use
HEAD
instead ofmaster
as the default ref. -
timing
has been removed as a value for--loglevel
. -
--timing
will show timing information regardless of--loglevel
, except when--silent
. - When run with the
--timing
flag,npm
now writes timing data to a file alongside the debug log data, respecting thelogs-dir
option and falling back to<CACHE>/_logs/
dir, instead of directly inside the cache directory. - The timing file data is no longer newline delimited JSON, and instead each run
will create a uniquely named
<ID>-timing.json
file, with the<ID>
portion being the same as the debug log. -
npm
now outputs some json errors on stdout. Previouslynpm
would output all json formatted errors on stderr, making it difficult to parse as the stderr stream usually has logs already written to it.
Config/Command Deprecations or Removals
Explanation:
install-links
is the only config or command in the list that has an effect on package installs. We fixed a number of issues that came up during prereleases with this change. It will also only be applied to new package trees created without a package-lock.json file. Any install with an existing lock file will not be changed.
- Deprecate boolean install flags in favor of
--install-strategy
. -
npm config set
will no longer accept deprecated or invalid config options. -
install-links
config defaults to"true"
. -
node-version
config has been removed. -
npm-version
config has been removed. -
npm access
subcommands have been renamed. -
npm birthday
has been removed. -
npm set-script
has been removed. -
npm bin
has been removed (usenpx
ornpm exec
to execute binaries).
Other notable changes
-
doc:
- add parallelism note to os.cpus() (Colin Ihrig) #45895
- http:
-
stream:
- implement finished() for ReadableStream and WritableStream (Debadree Chatterjee) #46205
Commits
- [
1352f08778
] - assert: removeassert.snapshot
(Moshe Atlow) #46112 - [
4ee3238643
] - async_hooks: refactor to usevalidateObject
(Deokjin Kim) #46004 - [
79e0bf9b64
] - benchmark: include webstreams benchmark (Rafael Gonzaga) #45876 - [
ed1ac82469
] - benchmark,tools: use os.availableParallelism() (Deokjin Kim) #46003 - [
16ee02f2eb
] - (SEMVER-MINOR) buffer: add buffer.isUtf8 for utf8 validation (Yagiz Nizipli) #45947 - [
3bf2371a57
] - build: add extra semi check (Jiawen Geng) #46194 - [
560ee24157
] - build: fix arm64 cross-compile from powershell (Stefan Stojanovic) #45890 - [
48e3ad3aca
] - build: add option to disable shared readonly heap (Anna Henningsen) #45887 - [
52a7887b94
] - (SEMVER-MINOR) crypto: add CryptoKey Symbol.toStringTag (Filip Skokan) #46042 - [
a558774a40
] - crypto: add cipher update/final methods encoding validation (vitpavlenko) #45990 - [
599d1dc841
] - crypto: ensure auth tag set for chacha20-poly1305 (Ben Noordhuis) #46185 - [
24a101698c
] - crypto: return correct bit length in KeyObject's asymmetricKeyDetails (Filip Skokan) #46106 - [
2de50fef84
] - (SEMVER-MINOR) crypto: add KeyObject Symbol.toStringTag (Filip Skokan) #46043 - [
782b6f6f9f
] - crypto: ensure exported webcrypto EC keys use uncompressed point format (Ben Noordhuis) #46021 - [
7a97f3f43b
] - crypto: fix CryptoKey prototype WPT (Filip Skokan) #45857 - [
1a8aa50aa2
] - crypto: fix CryptoKey WebIDL conformance (Filip Skokan) #45855 - [
c6436450ee
] - crypto: fix error when getRandomValues is called without arguments (Filip Skokan) #45854 - [
4cdf0002c5
] - debugger: refactor console in lib/internal/debugger/inspect.js (Debadree Chatterjee) #45847 - [
b7fe8c70fa
] - deps: update simdutf to 3.1.0 (Node.js GitHub Bot) #46257 - [
eaeb870cd7
] - deps: upgrade npm to 9.3.1 (npm team) #46242 - [
7c03a3d676
] - deps: upgrade npm to 9.3.0 (npm team) #46193 - [
340d76accb
] - deps: cherrypick simdutf patch (Jiawen Geng) #46194 - [
cce2af4306
] - deps: bump googletest to 2023.01.13 (Jiawen Geng) #46198 - [
d251a66bed
] - deps: add /deps/**/.github/ to .gitignore (Luigi Pinca) #46091 - [
874054f469
] - deps: add simdutf version to metadata (Mike Roth) #46145 - [
2497702b82
] - deps: update simdutf to 2.1.0 (Node.js GitHub Bot) #46128 - [
c8492b7f4c
] - deps: update corepack to 0.15.3 (Node.js GitHub Bot) #46037 - [
d148f357fd
] - deps: update simdutf to 2.0.9 (Node.js GitHub Bot) #45975 - [
422a98199c
] - deps: update to uvwasi 0.0.14 (Colin Ihrig) #45970 - [
7812752db0
] - deps: fix updater github workflow job (Yagiz Nizipli) #45972 - [
4063cdcef6
] - Revert "deps: disable avx512 for simutf on benchmark ci" (Yagiz Nizipli) #45948 - [
64d3e3f3ba
] - deps: disable avx512 for simutf on benchmark ci (Yagiz Nizipli) #45803 - [
c9845fc334
] - deps: add simdutf dependency (Yagiz Nizipli) #45803 - [
6963c96547
] - deps: update timezone to 2022g (Node.js GitHub Bot) #45731 - [
874f6c340b
] - deps: update undici to 5.14.0 (Node.js GitHub Bot) #45812 - [
7599b913d5
] - deps: upgrade npm to 9.2.0 (npm team) #45780 - [
4844935ff3
] - deps: upgrade npm to 9.1.3 (npm team) #45693 - [
8dce62c7fe
] - deps: V8: cherry-pick5fe919f
(Richard Lau) #45587 - [
8de642517e
] - dgram: sync the old handle state to new handle (theanarkh) #46041 - [
de2b7a9640
] - doc: fix mismatched arguments ofNodeEventTarget
(Deokjin Kim) #45678 - [
6317502d10
] - doc: update events API example to have runnable code (Deokjin Kim) #45760 - [
a9db45eee1
] - doc: add note to tls docs about secureContext availability (Tim Gerk) #46224 - [
5294371063
] - doc: add text around collaborative expectations (Michael Dawson) #46121 - [
be85d5a6eb
] - doc: update to match changed--dns-result-order
default (Mordy Tikotzky) #46148 - [
4f2d9ea6da
] - doc: add Node-API media link (Kevin Eady) #46189 - [
9bfd40466f
] - doc: update http.setMaxIdleHTTPParsers arguments (Debadree Chatterjee) #46168 - [
d7a8c076e1
] - doc: use "file system" instead of "filesystem" (Rich Trott) #46178 - [
e54483cd2b
] - doc: https update default request timeout (Marco Ippolito) #46184 - [
335110b0fb
] - doc: make options of readableStream.pipeTo as optional (Deokjin Kim) #46180 - [
ec34cad712
] - doc: add PerformanceObserver.supportedEntryTypes to doc (theanarkh) #45962 - [
d0f905bd6f
] - doc: duplex and readable from uncaught execption warning (Marco Ippolito) #46135 - [
512feaafa4
] - doc: remove outdated sections frommaintaining-v8
(Antoine du Hamel) #46137 - [
849a3e2ce7
] - doc: fix (EC)DHE remark in TLS docs (Tobias Nießen) #46114 - [
a3c9c1b4e6
] - doc: fix ERR_TLS_RENEGOTIATION_DISABLED text (Tobias Nießen) #46122 - [
1834e94ebb
] - doc: fix spelling in SECURITY.md (Vaishno Chaitanya) #46124 - [
3968698af5
] - doc: abort controller emits error in child process (Debadree Chatterjee) #46072 - [
1ec14c2c61
] - doc: fixevent.cancelBubble
documentation (Deokjin Kim) #45986 - [
5539977f80
] - doc: add personal pronouns option (Filip Skokan) #46118 - [
1fabef3a81
] - doc: mention how to run ncu-ci citgm (Rafael Gonzaga) #46090 - [
84dc65ab87
] - doc: include updating release optional step (Rafael Gonzaga) #46089 - [
76c7ea1e74
] - doc: describe argument ofSymbol.for
(Deokjin Kim) #46019 - [
2307a74990
] - doc: update isUtf8 description (Yagiz Nizipli) #45973 - [
fa5b65ea24
] - doc: use console.error for error case in timers and tls (Deokjin Kim) #46002 - [
29d509c100
] - doc: fix wrong output of example inurl.protocol
(Deokjin Kim) #45954 - [
61dbca2690
] - doc: useos.availableParallelism()
in async_context and cluster (Deokjin Kim) #45979 - [
86b2c8cea2
] - doc: make EventEmitterAsyncResource'soptions
as optional (Deokjin Kim) #45985 - [
335acf7748
] - doc: replace single executable champion in strategic initiatives doc (Darshan Sen) #45956 - [
aab35a9388
] - doc: update error message of example in repl (Deokjin Kim) #45920 - [
53a94a95ff
] - doc: fix typos in packages.md (Eric Mutta) #45957 - [
83875f46cf
] - doc: remove port from example inurl.hostname
(Deokjin Kim) #45927 - [
162d3a94e3
] - doc: show output of example in http (Deokjin Kim) #45915 - [
53684e4506
] - (SEMVER-MINOR) doc: add parallelism note to os.cpus() (Colin Ihrig) #45895 - [
546e083d36
] - doc: fix wrong output of example inurl.password
(Deokjin Kim) #45928 - [
14c95ecd23
] - doc: fix some history entries indeprecations.md
(Antoine du Hamel) #45891 - [
d94dba973b
] - doc: add tip for NODE_MODULE (theanarkh) #45797 - [
662f574c5b
] - doc: reduce likelihood of mismerges during release (Richard Lau) #45864 - [
48ea28aa30
] - doc: add backticks to webcrypto rsaOaepParams (Filip Skokan) #45883 - [
726b285163
] - doc: remove release cleanup step (Michaël Zasso) #45858 - [
5eb93f1de9
] - doc: add stream/promises pipeline and finished to doc (Marco Ippolito) #45832 - [
f874d0ba74
] - doc: remove Juan Jose keys (Rafael Gonzaga) #45827 - [
67efe2a55e
] - doc: fix wrong output of example in util (Deokjin Kim) #45825 - [
b709af31e0
] - doc: sort http.createServer() options alphabetically (Luigi Pinca) #45680 - [
ebe292113a
] - doc,crypto: fix WebCryptoAPI import keyData and export return (Filip Skokan) #46076 - [
204757719c
] - errors: refactor to use a method that formats a list string (Daeyeon Jeong) #45793 - [
463bb9602e
] - esm: markimportAssertions
as required (Antoine du Hamel) #46164 - [
0bdf2db079
] - esm: rewrite loader hooks test (Geoffrey Booth) #46016 - [
297773c6d1
] - events: change status ofevent.returnvalue
to legacy (Deokjin Kim) #46175 - [
d088d6e5c3
] - events: change status ofevent.cancelBubble
to legacy (Deokjin Kim) #46146 - [
36be0c4ee2
] - events: change status ofevent.srcElement
to legacy (Deokjin Kim) #46085 - [
b239f0684a
] - events: fix violation of symbol naming convention (Deokjin Kim) #45978 - [
aec340b312
] - fs: refactor to usevalidateInteger
(Deokjin Kim) #46008 - [
e620de6444
] - http: refactor to usevalidateHeaderName
(Deokjin Kim) #46143 - [
3e70b7d863
] - http: writeHead if statusmessage is undefined dont override headers (Marco Ippolito) #46173 - [
3d1dd96c4f
] - http: refactor to use min of validateNumber for maxTotalSockets (Deokjin Kim) #46115 - [
4df1fcc9db
] - (SEMVER-MINOR) http: join authorization headers (Marco Ippolito) #45982 - [
8c06e2f645
] - http: replacevar
withconst
on code of comment (Deokjin Kim) #45951 - [
3c0c5e0567
] - (SEMVER-MINOR) http: improved timeout defaults handling (Paolo Insogna) #45778 - [
edcd4fc576
] - lib: use kEmptyObject and update JSDoc in webstreams (Deokjin Kim) #46183 - [
d6fc855b8a
] - lib: refactor to use validate function (Deokjin Kim) #46101 - [
bc17f37b98
] - lib: reuse invalid state errors on webstreams (Rafael Gonzaga) #46086 - [
86554bf27c
] - lib: fix incorrect use of console intrinsic (Colin Ihrig) #46044 - [
7fc7b19124
] - lib: update JSDoc ofgetOwnPropertyValueOrDefault
(Deokjin Kim) #46010 - [
c1cc1f9e12
] - lib: usekEmptyObject
as default value for options (Deokjin Kim) #46011 - [
db617222da
] - meta: update AUTHORS (Node.js GitHub Bot) #46215 - [
10afecd0d8
] - meta: update AUTHORS (Node.js GitHub Bot) #46130 - [
d8ce990ce6
] - meta: update comment inCODEOWNERS
to better reflect current policy (Antoine du Hamel) #45944 - [
e3f0194168
] - meta: update AUTHORS (Node.js GitHub Bot) #46040 - [
d31c478929
] - meta: update AUTHORS (Node.js GitHub Bot) #45968 - [
10a276a3e0
] - meta: addnodejs/loaders
to CODEOWNERS (Geoffrey Booth) #45940 - [
56247d7c87
] - meta: addnodejs/test_runner
to CODEOWNERS (Antoine du Hamel) #45935 - [
3bef8bc743
] - meta: update AUTHORS (Node.js GitHub Bot) #45899 - [
baf30ee935
] - module: fix unintended mutation (Antoine du Hamel) #46108 - [
3ad584c357
] - net: handle socket.write(cb) edge case (Santiago Gimeno) #45922 - [
2ab35cf0cc
] - node-api: disambiguate napi_add_finalizer (Chengzhong Wu) #45401 - [
6e9676e986
] - node-api: generalize finalizer second pass callback (Chengzhong Wu) #44141 - [
b2faceff0a
] - (SEMVER-MINOR) os: add availableParallelism() (Colin Ihrig) #45895 - [
8fac4c5684
] - perf_hooks: fix checking range ofoptions.figures
in createHistogram (Deokjin Kim) #45999 - [
ea73702847
] - process,worker: ensure code after exit() effectless (ywave620) #45620 - [
784ed594ea
] - repl: improve robustness wrt to prototype pollution (Antoine du Hamel) #45604 - [
fcfde3412e
] - src: rename internal module declaration as internal bindings (Chengzhong Wu) #45551 - [
646cadccd0
] - src: fix endianness of simdutf (Yagiz Nizipli) #46257 - [
94605b1665
] - src: replace unreachable code with static_assert (Tobias Nießen) #46209 - [
3ce39bbcb7
] - src: hide kMaxDigestMultiplier outside HKDF impl (Tobias Nießen) #46206 - [
9648b06e09
] - src: distinguish env stopping flags (Chengzhong Wu) #45907 - [
53ecd20bbd
] - src: remove return after abort (Shelley Vohr) #46172 - [
c4c8931b9d
] - src: remove unnecessary semicolons (Shelley Vohr) #46171 - [
fab72b1677
] - src: use simdutf for converting externalized builtins to UTF-16 (Anna Henningsen) #46119 - [
67729961e7
] - src: use constant strings for memory info names (Chengzhong Wu) #46087 - [
0ac4e5dd34
] - src: fix typo in node_snapshotable.cc (Vadim) #46103 - [
b454a7665d
] - src: keep PipeWrap::Open function consistent with TCPWrap (theanarkh) #46064 - [
41f5a29cca
] - src: speed up process.getActiveResourcesInfo() (Darshan Sen) #46014 - [
02a61dd6bd
] - src: fix typo innode_file.cc
(Vadim) #45998 - [
99c033ed98
] - src: fix crash on OnStreamRead on Windows (Santiago Gimeno) #45878 - [
27d6a8b2b1
] - src: fix creatingIsolate
s from addons (Anna Henningsen) #45885 - [
9ca31cdba3
] - src: use string_view for FastStringKey implementation (Anna Henningsen) #45914 - [
e4fc3abfd5
] - src: fix UB in overflow checks (Ben Noordhuis) #45882 - [
574afac26a
] - src: check size of args before using for exec_path (A. Wilcox) #45902 - [
f0692468cd
] - src: fix tls certificate root store data race (Ben Noordhuis) #45767 - [
a749ceda2e
] - src: add undici and acorn toprocess.versions
(Debadree Chatterjee) #45621 - [
08a6a61575
] - src,lib: the handle keeps loop alive in cluster rr mode (theanarkh) #46161 - [
a87963de6b
] - stream: fix pipeline calling end on destination more than once (Debadree Chatterjee) #46226 - [
cde59606cd
] - (SEMVER-MINOR) stream: implement finished() for ReadableStream and WritableStream (Debadree Chatterjee) #46205 - [
441d9de33e
] - stream: refactor to usevalidateFunction
(Deokjin Kim) #46007 - [
325fc08d48
] - stream: fix typo in JSDoc (Deokjin Kim) #45991 - [
536322fa1c
] - test: update postject to 1.0.0-alpha.4 (Node.js GitHub Bot) #46212 - [
a3056f4125
] - test: refactor to avoid mutation of global by a loader (Michaël Zasso) #46220 - [
1790569518
] - test: improve test coverage for WHATWGTextDecoder
(Juan José) #45241 - [
896027c006
] - test: add fix so that test exits if port 42 is unprivileged (Suyash Nayan) #45904 - [
257224da0e
] - test: useos.availableParallelism()
(Deokjin Kim) #46003 - [
7e1462dd02
] - test: update Web Events WPT (Deokjin Kim) #46051 - [
40d52fbc5f
] - test: add test to once() in event lib (Jonathan Diaz) #46126 - [
f3518f3337
] - test: useprocess.hrtime.bigint
instead ofprocess.hrtime
(Deokjin Kim) #45877 - [
4d6dd10464
] - test: print failed JS/parallel tests (Geoffrey Booth) #45960 - [
7cb6fef6d6
] - test: fix test broken under --node-builtin-modules-path (Geoffrey Booth) #45894 - [
55e4140c34
] - test: fix mock.method to support class instances (Erick Wendel) #45608 - [
286acaa6fe
] - test: update encoding wpt to latest (Yagiz Nizipli) #45850 - [
22c1e918ce
] - test: update url wpt to latest (Yagiz Nizipli) #45852 - [
5fa6a70bbd
] - test: add CryptoKey transferring tests (Filip Skokan) #45811 - [
4aaec07266
] - test: add postject to fixtures (Darshan Sen) #45298 - [
da78f9cbb8
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #45860 - [
3269423032
] - test,esm: validate more edge cases for dynamic imports (Antoine du Hamel) #46059 - [
cade2fccf4
] - test_runner: run t.after() if test body throws (Colin Ihrig) #45870 - [
87a0e86604
] - test_runner: parse yaml (Moshe Atlow) #45815 - [
757a022443
] - tls: don't treat fatal TLS alerts as EOF (David Benjamin) #44563 - [
c6457cbf8d
] - tls: fix re-entrancy issue with TLS close_notify (David Benjamin) #44563 - [
fcca2d5ea6
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #46214 - [
09adb86c19
] - tools: fix macro name in update-undici (Almeida) #46217 - [
1b0cc79785
] - tools: add automation for updating postject dependency (Darshan Sen) #46157 - [
38df662119
] - tools: update create-or-update-pull-request-action (Michaël Zasso) #46169 - [
3f4c0c0de1
] - tools: update eslint to 8.31.0 (Node.js GitHub Bot) #46131 - [
f3dc4329e6
] - tools: update lint-md-dependencies to rollup@3.9.1 (Node.js GitHub Bot) #46129 - [
fafbd1ca72
] - tools: move update-eslint.sh to dep_updaters/ (Luigi Pinca) #46088 - [
609df01fa9
] - tools: make update-eslint.sh work with npm@9 (Luigi Pinca) #46088 - [
31b8cf1a4d
] - tools: fix lint rule recommendation (Colin Ihrig) #46044 - [
0a80cbdcb1
] - tools: update lint-md-dependencies to rollup@3.9.0 (Node.js GitHub Bot) #46039 - [
18503fa7ba
] - tools: update doc to unist-util-select@4.0.2 (Node.js GitHub Bot) #46038 - [
b48e82ec1d
] - tools: add release host var to promotion script (Ruy Adorno) #45913 - [
3b93b0c1f5
] - tools: add url toAUTHORS
update automation (Antoine du Hamel) #45971 - [
623b0eba81
] - tools: update lint-md-dependencies to rollup@3.8.1 (Node.js GitHub Bot) #45967 - [
b0e88377fe
] - tools: update GitHub workflow action (Mohammed Keyvanzadeh) #45937 - [
974442e69d
] - tools: update lint-md dependencies (Node.js GitHub Bot) #45813 - [
5aaa8c3bbf
] - tools: enforce use of trailing commas intools/
(Antoine du Hamel) #45889 - [
1e32520f72
] - tools: addArrayPrototypeConcat
to the list of primordials to avoid (Antoine du Hamel) #44445 - [
e0cda56204
] - tools: fix incorrect version history order (Fabien Michel) #45728 - [
7438ff175a
] - tools: update eslint to 8.29.0 (Node.js GitHub Bot) #45733 - [
1e11247b91
] - Revert "tools: update V8 gypfiles for RISC-V" (Lu Yahan) #46156 - [
0defe4effa
] - trace_events: refactor to usevalidateStringArray
(Deokjin Kim) #46012 - [
f1dcbe7652
] - util: add fast path for text-decoder fatal flag (Yagiz Nizipli) #45803 - [
277d9da876
] - vm: refactor to use validate function (Deokjin Kim) #46176 - [
96f1b2e731
] - vm: refactor to usevalidateStringArray
(Deokjin Kim) #46020
v18.13.0
: 2023-01-05, Version 18.13.0 'Hydrogen' (LTS), @danielleadams
Notable changes
Add support for externally shared js builtins
By default Node.js is built so that all dependencies are bundled into the Node.js binary itself. Some Node.js distributions prefer to manage dependencies externally. There are existing build options that allow dependencies with native code to be externalized. This commit adds additional options so that dependencies with JavaScript code (including WASM) can also be externalized. This addition does not affect binaries shipped by the Node.js project but will allow other distributions to externalize additional dependencies when needed.
Contributed by Michael Dawson in #44376
File
Introduce The File class is part of the FileAPI. It can be used anywhere a Blob can, for example in URL.createObjectURL
and FormData
. It contains two properties that Blobs do not have: lastModified
, the last time the file was modified in ms, and name
, the name of the file.
Contributed by Khafra in #45139
Support function mocking on Node.js test runner
The node:test
module supports mocking during testing via a top-level mock
object.
test('spies on an object method', (t) => {
const number = {
value: 5,
add(a) {
return this.value + a;
},
};
t.mock.method(number, 'add');
assert.strictEqual(number.add(3), 8);
assert.strictEqual(number.add.mock.calls.length, 1);
});
Contributed by Colin Ihrig in #45326
Other notable changes
-
build:
- disable v8 snapshot compression by default (Joyee Cheung) #45716
-
crypto:
- update root certificates (Luigi Pinca) #45490
-
deps:
- update ICU to 72.1 (Michaël Zasso) #45068
-
doc:
- add doc-only deprecation for headers/trailers setters (Rich Trott) #45697
- add Rafael to the tsc (Michael Dawson) #45691
- deprecate use of invalid ports in
url.parse
(Antoine du Hamel) #45576 - add lukekarrys to collaborators (Luke Karrys) #45180
- add anonrig to collaborators (Yagiz Nizipli) #45002
- deprecate url.parse() (Rich Trott) #44919
-
lib:
- drop fetch experimental warning (Matteo Collina) #45287
-
net:
- (SEMVER-MINOR) add autoSelectFamily and autoSelectFamilyAttemptTimeout options (Paolo Insogna) #44731
- src:
- test_runner:
- tls:
-
tools:
- update certdata.txt (Luigi Pinca) #45490
- util:
Commits
- [
40123a6bb0
] - (SEMVER-MINOR) async_hooks: add hook to stop propagation (Gerhard Stöbich) #45386 - [
9925d20ed8
] - benchmark: add variety of inputs to text-encoder (Yagiz Nizipli) #45787 - [
5e167bd658
] - benchmark: make benchmarks runnable in older versions of Node.js (Joyee Cheung) #45746 - [
a1421623ac
] - benchmark: add v8 serialize benchmark (Yagiz Nizipli) #45476 - [
fcf61884cc
] - benchmark: add text-encoder benchmark (Yagiz Nizipli) #45450 - [
762d285c98
] - benchmark: add parameters to text-decoder benchmark (Yagiz Nizipli) #45363 - [
ab891ecbff
] - benchmark: fix text-decoder benchmark (Yagiz Nizipli) #45363 - [
1ed312a737
] - benchmark: add blob benchmark (Yagiz Nizipli) #44990 - [
2ee3d81277
] - bootstrap: merge main thread and worker thread initializations (Joyee Cheung) #44869 - [
e638ea4f48
] - bootstrap: check more metadata when loading the snapshot (Joyee Cheung) #44132 - [
bfcf4f0046
] - buffer: make decodeUTF8 params loose (Yagiz Nizipli) #45610 - [
3a7f3d5993
] - (SEMVER-MINOR) buffer: introduce File (Khafra) #45139 - [
345b847aa6
] - buffer: fix validation of options inBlob
constructor (Antoine du Hamel) #45156 - [
1ddc438444
] - build: disable v8 snapshot compression by default (Joyee Cheung) #45716 - [
bd1a2fbd91
] - build: add python 3.11 support for android (Mohammed Keyvanzadeh) #45765 - [
2b0ace302d
] - build: rework gyp files for zlib (Richard Lau) #45589 - [
5ab7a30a06
] - build: avoid redefined macro (Michaël Zasso) #45544 - [
f58b32c22e
] - build: fix env.h for cpp20 (Jiawen Geng) #45516 - [
1de1f679ec
] - Revert "build: remove precompiled header and debug information for host builds" (Stefan Stojanovic) #45432 - [
89d1eb58b0
] - build: add --v8-disable-object-print flag (MURAKAMI Masahiko) #45458 - [
f2a4def232
] - build: make scripts in gyp run with right python (Jiawen Geng) #45435 - [
473a879c91
] - build: workaround for node-core-utils (Jiawen Geng) #45199 - [
abcc034c61
] - build: fix icu-small build with ICU 72.1 (Steven R. Loomis) #45195 - [
8a99221a21
] - build: remove unused language files (Ben Noordhuis) #45138 - [
3fb44f9413
] - build: add GitHub token to auto-start-ci workflow (Richard Lau) #45185 - [
2aac993bb2
] - build: add version info to timezone update MR (Darshan Sen) #45021 - [
0db19b3c60
] - build: support Python 3.11 (Luigi Pinca) #45191 - [
fb008a2e9b
] - build,deps,src: fix Intel VTune profiling support (Shi Lei) #45248 - [
61bc27a5b4
] - build,win: pass --debug-nghttp2 to configure (Santiago Gimeno) #45209 - [
7b68c06988
] - child_process: validate arguments for null bytes (Darshan Sen) #44782 - [
bac6b7d900
] - crypto: simplify lazy loading of internal modules (Antoine du Hamel) #45809 - [
2fbf95662c
] - crypto: fix CipherBase Update int32 overflow (Marco Ippolito) #45769 - [
0100fd445b
] - crypto: refactor ArrayBuffer to bigint conversion utils (Antoine du Hamel) #45567 - [
fa0a2d8e5d
] - crypto: refactor verify acceptable key usage functions (Filip Skokan) #45569 - [
ef64b86d0d
] - crypto: fix ECDH webcrypto public CryptoKey usages (Filip Skokan) #45569 - [
b92b80424a
] - crypto: validate CFRG webcrypto JWK import "d" and "x" are a pair (Filip Skokan) #45569 - [
621e3c9cd4
] - crypto: use DataError for CFRG webcrypto raw and jwk import key checks (Filip Skokan) #45569 - [
8fcfbeffe1
] - crypto: use DataError for webcrypto keyData import failures (Filip Skokan) #45569 - [
a976a63138
] - crypto: fix X25519 and X448 webcrypto public CryptoKey usages (Filip Skokan) #45569 - [
27adcc9c4b
] - crypto: ensure "x" is present when importing private CFRG webcrypto keys (Filip Skokan) #45569 - [
f27ebab56c
] - crypto: clear OpenSSL error queue after calling X509_check_private_key() (Filip Skokan) #45495 - [
319ae095fb
] - crypto: update root certificates (Luigi Pinca) #45490 - [
dae92e78d6
] - crypto: clear OpenSSL error queue after calling X509_verify() (Takuro Sato) #45377 - [
1ba1809dfd
] - crypto: handle more webcrypto errors with OperationError (Filip Skokan) #45320 - [
b54f8761ae
] - crypto: handle unsupported AES ciphers in webcrypto (Filip Skokan) #45321 - [
57f507f1dd
] - crypto: fix webcrypto HMAC "get key length" in deriveKey and generateKey (Filip Skokan) #44917 - [
7565a75ee5
] - crypto: remove webcrypto HKDF and PBKDF2 default-applied lengths (Filip Skokan) #44945 - [
631421e8d0
] - crypto: simplify webcrypto ECDH deriveBits (Filip Skokan) #44946 - [
c4f665f528
] - deps: V8: cherry-pickd1d4c64
(Danielle Adams) #46098 - [
c04e1df396
] - Revert "deps: fix zlib compilation for CPUs without SIMD features" (Luigi Pinca) #45589 - [
34e708cded
] - deps: update undici to 5.13.0 (Node.js GitHub Bot) #45634 - [
33b0664bbe
] - deps: update corepack to 0.15.2 (Node.js GitHub Bot) #45635 - [
7b6d2a8ec0
] - deps: update nghttp2 to 1.51.0 (Yagiz Nizipli) #45537 - [
02eabaf409
] - deps: update base64 to 0.5.0 (Facundo Tuesca) #45509 - [
7d26bf3c08
] - deps: V8: cherry-pick9df5ef7
(Yagiz Nizipli) #45474 - [
43419ad6bc
] - deps: fix zlib compilation for CPUs without SIMD features (Anna Henningsen) #45387 - [
978cfad005
] - deps: update zlib to upstream8bbd6c3
(Luigi Pinca) #45387 - [
72362f348c
] - deps: update acorn to 8.8.1 (Node.js GitHub Bot) #45441 - [
17a89d1f4e
] - deps: V8: cherry-pick031b98b
(Michaël Zasso) #45375 - [
bbe67c484a
] - deps: upgrade npm to 8.19.3 (npm team) #45322 - [
a274d6bc0d
] - deps: update corepack to 0.15.1 (Node.js GitHub Bot) #45331 - [
c9c958e188
] - deps: upgrade to libuv 1.44.2 (Luigi Pinca) #42340 - [
07b47ad58c
] - deps: update corepack to 0.15.0 (Node.js GitHub Bot) #45235 - [
bb6e8b1972
] - deps: update undici to 5.12.0 (Node.js GitHub Bot) #45236 - [
596e3a8f2f
] - deps: V8: cherry-pickc2792e5
(Jiawen Geng) #44961 - [
2088cb4744
] - deps: patch V8 to 10.2.154.23 (Michaël Zasso) #45997 - [
6ea555e8ac
] - deps: V8: cherry-pick2ada52c
(Michaël Zasso) #45573 - [
6d8c0f0efd
] - deps: update timezone to 2022f (Node.js GitHub Bot) #45289 - [
3b73aa416f
] - deps: update ICU to 72.1 (Michaël Zasso) #45068 - [
555d1723b1
] - deps: update timezone (Node.js GitHub Bot) #44950 - [
5c0fcc13f7
] - deps: patch V8 to 10.2.154.19 (Michaël Zasso) #45229 - [
1a47a7bbed
] - diagnostics_channel: fix diagnostics channel memory leak (theanarkh) #45633 - [
40a29aabbc
] - diagnostics_channel: built-in channels should remain experimental (Stephen Belanger) #45423 - [
2752f543bc
] - diagnostics_channel: mark as stable (Stephen Belanger) #45290 - [
9ceed7a1cc
] - dns: fix port validation (Antoine du Hamel) #45135 - [
108220cb05
] - doc: buffer.fill empty value (Marco Ippolito) #45794 - [
b5ad92fea2
] - doc: add args of filter option of fs.cp (MURAKAMI Masahiko) #45739 - [
899ba3d3c2
] - doc: disambiguatenative module
toaddon
(Daeyeon Jeong) #45673 - [
6e35803789
] - doc: using console.error for error cases in crypto and events (emirgoren) #45640 - [
fcd0f71979
] - doc: fix actual result of example is different in events (Deokjin Kim) #45656 - [
8203c021dc
] - doc: add doc-only deprecation for headers/trailers setters (Rich Trott) #45697 - [
c1f90a5b7b
] - doc: add detail on how api docs are published (Michael Dawson) #45626 - [
90e9951d30
] - doc: use console.error for error case in child_process and dgram (Deokjin Kim) #45690 - [
d9593ce98b
] - doc: move streaming instruc to doc/contributing (Michael Dawson) #45582 - [
a3eb2dd9b4
] - doc: add Rafael to the tsc (Michael Dawson) #45691 - [
fa8caa328f
] - doc: add missing line in debugger (Deokjin Kim) #45632 - [
3fb5c6d3c5
] - doc: fix actual result of example is different in stream (Deokjin Kim) #45619 - [
8a1e556899
] - doc: addoptions
parameter to eventTarget.removeEventListener (Deokjin Kim) #45667 - [
6881188f0f
] - doc: define "react-native" community condition (Alex Hunt) #45367 - [
53e01f650f
] - doc: move os.machine() docs to sorted position (Colin Ihrig) #45647 - [
0669712cbd
] - doc: use console.error for error case in fs, https, net and process (Deokjin Kim) #45606 - [
ebc89f15fe
] - doc: add link to doc with social processes (Michael Dawson) #45584 - [
b771fdb6f8
] - doc: deprecate use of invalid ports inurl.parse
(Antoine du Hamel) #45576 - [
6a36159764
] - doc: clarify changes in readableFlowing (Kohei Ueno) #45554 - [
30a8604143
] - doc: use console.error for error case in http2 (Deokjin Kim) #45577 - [
8e94339891
] - doc: add version description about fsPromise.constants (chlorine) #45556 - [
203ca494a1
] - doc: add missing documentation for paramEncoding (Tobias Nießen) #45523 - [
31233b2064
] - doc: fix typo in threat model (Tobias Nießen) #45558 - [
e851c43c54
] - doc: add Node.js Threat Model (Rafael Gonzaga) #45223 - [
34c2876541
] - doc: run license-builder (github-actions[bot]) #45553 - [
dde8740af3
] - doc: add async_hooks migration note (Geoffrey Booth) #45335 - [
e304628fb5
] - doc: fix RESOLVE_ESM_MATCH in modules.md (翠 / green) #45280 - [
8b44c6121e
] - doc: add arm64 to os.machine() (Carter Snook) #45374 - [
009adc7e21
] - doc: add lint rule to enforce trailing commas (Antoine du Hamel) #45471 - [
c6b89abc5f
] - doc: adjust wording to eliminate awkward typography (Konv) #45398 - [
785817e341
] - doc: fix typo in maintaining-dependencies.md (Tobias Nießen) #45428 - [
00e02bda3a
] - doc: allow for holidays in triage response (Michael Dawson) #45267 - [
bef5206b84
] - doc: include last security release date (Juan José Arboleda) #45368 - [
846b1aefac
] - doc: fix email for Ashley (Michael Dawson) #45364 - [
913b669a2b
] - doc: fix test runner's only tests section header (Colin Ihrig) #45343 - [
691da886f1
] - doc: run license-builder (github-actions[bot]) #45349 - [
90a28920de
] - doc: add more info for timer.setInterval (theanarkh) #45232 - [
d2fc2aa666
] - doc: use module names in stability overview table (Filip Skokan) #45312 - [
3f69d21b5c
] - doc: addnode:
prefix for examples (Daeyeon Jeong) #45328 - [
a5c9b3c112
] - doc: update name of Node.js core Slack channel (Rich Trott) #45293 - [
2bfd60b06f
] - doc: fix "task_processor.js" typo (andreysoktoev) #45257 - [
248de57278
] - doc: add history section tofetch
-related globals (Antoine du Hamel) #45198 - [
1f5975ef50
] - doc: clarify moderation inonboarding.md
(Benjamin Gruenbaum) #41930 - [
4e87c36570
] - doc: change make lint to make lint-md (RafaelGSS) #45197 - [
3381a17d2c
] - doc: add more lts update steps to release guide (Ruy Adorno) #45177 - [
64b0495310
] - doc: add bmuenzenmeyer to triagers (Brian Muenzenmeyer) #45155 - [
6ebdb76727
] - doc: update process.release (Filip Skokan) #45170 - [
05d89c4722
] - doc: add link to triage guide (Brian Muenzenmeyer) #45154 - [
f1aa82fd3c
] - doc: mark Node.js 12 as End-of-Life (Rafael Gonzaga) #45186 - [
da6f308612
] - doc: add lukekarrys to collaborators (Luke Karrys) #45180 - [
17380a1e6a
] - doc: update mark release line lts on release guide (Ruy Adorno) #45101 - [
3ddb6ccb2a
] - doc: be more definite and present tense-y (Ben Noordhuis) #45120 - [
b09c386208
] - doc: add major version note to release guide (Ruy Adorno) #45054 - [
896b48b549
] - doc: fix v14.x link maintaining openssl guide (RafaelGSS) #45071 - [
33b3d8646b
] - doc: add note about latest GitHub release (Michaël Zasso) #45111 - [
5e76bf5cd5
] - doc: mention v18.x openssl maintaining guide (Rafael Gonzaga) #45070 - [
b4e3f3f095
] - doc: fix display of "problematic" ASCII characters (John Gardner) #44373 - [
8bb23a4da3
] - doc: mark Node.js v17.x as EOL (KaKa) #45110 - [
3f89dcabdb
] - doc: update Node.js 16 End-of-Life date (Richard Lau) #45103 - [
7b23ec47b0
] - doc: fix typo in parseArgs default value (Tobias Nießen) #45083 - [
7da66ef9e7
] - doc: updated security stewards (Michael Dawson) #45005 - [
e5f9a520e2
] - doc: fix http and http2 writeEarlyHints() parameter (Fabian Meyer) #45000 - [
e41a39c2b9
] - doc: run license-builder (github-actions[bot]) #45034 - [
875de23ee9
] - doc: improve the workflow to test release binaries (Rafael Gonzaga) #45004 - [
d7fc12f647
] - doc: fix undici version in changelog (Michael Dawson) #44982 - [
4494cb2e82
] - doc: add info on fixup to security release process (Michael Dawson) #44807 - [
88351b9758
] - doc: add anonrig to collaborators (Yagiz Nizipli) #45002 - [
aebf7453d7
] - doc: add notable changes to latest v18.x release changelog (Danielle Adams) #44996 - [
b4cc30e18c
] - doc: deprecate url.parse() (Rich Trott) #44919 - [
4fcbc92788
] - doc: fix backticks in fs API docs (Livia Medeiros) #44962 - [
cc1f41a57e
] - doc, async_hooks: improve and add migration hints (Gerhard Stöbich) #45369 - [
6fb74a995d
] - doc, http: add Uint8Array as allowed type (Gerhard Stöbich) #45167 - [
066993a10a
] - esm: add JSDoc property descriptions for loader (Rich Trott) #45370 - [
fa210f91df
] - esm: add JSDoc property descriptions for fetch (Rich Trott) #45370 - [
2f27d058c2
] - esm: protect ESM loader from prototype pollution (Antoine du Hamel) #45175 - [
46ded6b96e
] - esm: protect ESM loader from prototype pollution (Antoine du Hamel) #45044 - [
3bb764a58a
] - events: add unique events benchmark (Yagiz Nizipli) #44657 - [
b305ad46fd
] - fs: fix fs.rm support for loop symlinks (Nathanael Ruf) #45439 - [
c2f0377b8f
] - fs: update todo message (Yagiz Nizipli) #45265 - [
1db20c84e1
] - fs: fix opts.filter issue in cpSync (Tho) #45143 - [
da302ce15b
] - fs: trace more fs api (theanarkh) #45095 - [
9ab00f5fbd
] - gyp: fix v8 canary build on aix (Vasili Skurydzin) #45496 - [
cbd710bbf4
] - http: makeOutgoingMessage
more streamlike (Robert Nagy) #45672 - [
209e7e3cff
] - http: add debug log for ERR_UNESCAPED_CHARACTERS (Aidan Temple) #45420 - [
3937118f5e
] - http: add JSDoc property descriptions (Rich Trott) #45370 - [
f222c95209
] - http: add priority to common http headers (James M Snell) #45045 - [
2882e6042e
] - Revert "http: do not leak error listeners" (Luigi Pinca) #44921 - [
b45878b2f1
] - http2: improve session close/destroy procedures (Santiago Gimeno) #45115 - [
a534175aa5
] - http2: fix crash on Http2Stream::diagnostic_name() (Santiago Gimeno) #45123 - [
0b9f11bcbe
] - http2: fix debugStream method (Santiago Gimeno) #45129 - [
bbaca8442a
] - lib: allow Writeable.toWeb() to work on http.Outgoing message (Debadree Chatterjee) #45642 - [
1284789371
] - lib: check number of arguments inEventTarget
's function (Deokjin Kim) #45668 - [
6297e77b1f
] - lib: disambiguatenative module
tobinding
(Daeyeon Jeong) #45673 - [
f7c101555a
] - lib: disambiguatenative module
tobuiltin module
(Daeyeon Jeong) #45673 - [
55f800b806
] - lib: added SuiteContext class (Debadree Chatterjee) #45687 - [
1ff8f689fa
] - lib: add missing type of removeEventListener in question (Deokjin Kim) #45676 - [
2c595da5dc
] - lib: do not throw if global property is no longer configurable (Antoine du Hamel) #45344 - [
b9d4ac2c7e
] - lib: fix eslint early return (RafaelGSS) #45409 - [
4ef86b59b5
] - lib: fix JSDoc issues (Rich Trott) #45243 - [
9ccf8b2ccc
] - lib: use process.nextTick() instead of setImmediate() (Luigi Pinca) #42340 - [
8616e9b58b
] - lib: drop fetch experimental warning (Matteo Collina) #45287 - [
57897f80cd
] - lib: fix TypeError when converting a detached buffer source (Kohei Ueno) #44020 - [
ba0e7ae3dd
] - lib: fixAbortSignal.timeout
parameter validation (dnalborczyk) #42856 - [
385d795816
] - lib: fix typo inpre_execution.js
(Antoine du Hamel) #45039 - [
4ab1530b9b
] - lib: promise version of streams.finished call clean up (Naor Tedgi (Abu Emma)) #44862 - [
2a3bd11edd
] - lib: make properties on Blob and URL enumerable (Khafra) #44918 - [
f412834151
] - lib: support more attributes for early hint link (Yagiz Nizipli) #44874 - [
1019209306
] - meta: update AUTHORS (Node.js GitHub Bot) #45814 - [
dc862fe786
] - meta: update AUTHORS (Node.js GitHub Bot) #45732 - [
dc5340018f
] - meta: add .mailmap entry for Stefan Stojanovic (Rich Trott) #45703 - [
775f659380
] - meta: update AUTHORS info for nstepien (Nicolas Stepien) #45692 - [
e2da381609
] - meta: update AUTHORS (Node.js GitHub Bot) #45637 - [
29e51e72f9
] - meta: update AUTHORS (Node.js GitHub Bot) #45531 - [
6f8759bc51
] - meta: update VoltrexMaster's username (Mohammed Keyvanzadeh) #45503 - [
404172bb7c
] - meta: update AUTHORS (Node.js GitHub Bot) #45443 - [
221f298078
] - meta: be more proactive about removing from teams (Rich Trott) #45352 - [
28b937ae38
] - meta: update AUTHORS (Node.js GitHub Bot) #45333 - [
255e89dc8c
] - meta: update collaborator email address in README (Rich Trott) #45251 - [
1a726e9dff
] - meta: fix email address typo in README (Rich Trott) #45250 - [
ffd059328b
] - meta: remove dont-land-on-v12 auto labeling (Moshe Atlow) #45233 - [
d7fe2eac07
] - meta: update AUTHORS (Node.js GitHub Bot) #45238 - [
5aa4ea931a
] - meta: move a collaborator to emeritus (Rich Trott) #45160 - [
4fe060e957
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #45036 - [
9ec6117b65
] - meta: update AUTHORS (Node.js GitHub Bot) #45020 - [
3197b913aa
] - module: require.resolve.paths returns null with node schema (MURAKAMI Masahiko) #45147 - [
bf8d48a881
] - module: ensure relative requires work from deleted directories (Bradley Farias) #42384 - [
2c0f7d47e4
] - module: fix segment deprecation for imports field (Guy Bedford) #44883 - [
a1831dacbf
] - net: checkautoSelectFamilyAttemptTimeout
is positive (Deokjin Kim) #45740 - [
048795dab0
] - (SEMVER-MINOR) net: add autoSelectFamily and autoSelectFamilyAttemptTimeout options (Paolo Insogna) #44731 - [
e4f7bcff8b
] - net: remove _readableState from debug statement (Rich Trott) #45063 - [
cd4b0626c2
] - node-api: address coverity warning (Michael Dawson) #45563 - [
581b38af13
] - node-api: declare type napi_cleanup_hook (Chengzhong Wu) #45391 - [
44766c6522
] - node-api: fix immediate napi_remove_wrap test (Chengzhong Wu) #45406 - [
746175a272
] - node-api: handle no support for external buffers (Michael Dawson) #45181 - [
b5811c44cb
] - node-api,test: fix test_reference_double_free crash (Vladimir Morozov) #44927 - [
bc5140383c
] - os: convert uid and gid to 32-bit signed integers (Luigi Pinca) #42340 - [
ff03ed1c22
] - readline: improve robustness against prototype mutation (Antoine du Hamel) #45614 - [
b999983c30
] - repl: do not definewasi
on global with no flag (Kohei Ueno) #45595 - [
a186a4d7ef
] - report: add more memory info (theanarkh) #45254 - [
a880568afd
] - report: add rss and use/kernel cpu usage fields (theanarkh) #45043 - [
49da5cd0ee
] - report,doc: define report version semantics (Gireesh Punathil) #45050 - [
ae61740325
] - src: add internal isArrayBufferDetached (Yagiz Nizipli) #45568 - [
a58bf148b3
] - (SEMVER-MINOR) src: add uvwasi version (Jithil P Ponnan) #45639 - [
8e1138d354
] - src: simplify NodeBIO::GetMethod initialization (Anna Henningsen) #45799 - [
b88ee545f2
] - src: make structuredClone work for process.env (Ben Noordhuis) #45698 - [
94e6f08606
] - src: mark generatedsnapshot_data
asconst
(Anna Henningsen) #45786 - [
29f2dabca2
] - src: cleanup on disambiguating native modules (Michael Dawson) #45665 - [
ed0a867a4e
] - src: useenum class
instead ofenum
in node_i18n (Deokjin Kim) #45646 - [
1e48a5a5b0
] - src: address coverity warning in node_file.cc (Michael Dawson) #45565 - [
3f6f8f920f
] - src: use qualifiedstd::move
call in node_http2 (Michaël Zasso) #45555 - [
5e63bf3726
] - src: avoid unused variables and functions (Michaël Zasso) #45542 - [
3f5a23281c
] - src: add missing include forstd::all_of
(Michaël Zasso) #45541 - [
0328208f6c
] - src: set an appropriate thread pool size if given--v8-pool-size=0
(Daeyeon Jeong) #45513 - [
fbfd26da7d
] - src: move FsStatsOffset and kFsStatsBufferLength to node_file.h (Joyee Cheung) #45498 - [
2c6a4fd6fa
] - src: don't run tasks on isolate termination (Santiago Gimeno) #45444 - [
9c39b5ec48
] - src: remove the unused PackageConfig class (Joyee Cheung) #45478 - [
70ca26a858
] - src: add --max-semi-space-size to the options allowed in NODE_OPTIONS (Emanuel Hoogeveen) #44436 - [
5544ce4bdf
] - src: condense experimental warning message (Rich Trott) #45424 - [
9ac7df1c6a
] - src: track contexts in the Environment instead of AsyncHooks (Joyee Cheung) #45282 - [
89b3336120
] - src: resolve TODO related to inspector CVEs (Tobias Nießen) #45341 - [
e05ebe8f9b
] - src: print nghttp2 logs when using --debug-nghttp2 (Santiago Gimeno) #45209 - [
4634aa987d
] - src: trace threadpool event (theanarkh) #44458 - [
bf028a66ef
] - src: lock-free init_process_flags (Jérémy Lal) #45221 - [
8c4ac6dcf5
] - src: call uv_library_shutdown before DisposePlatform (theanarkh) #45226 - [
614d646767
] - src: fixcrypto.privateEncrypt
fails first time (liuxingbaoyu) #42793 - [
dee882e94f
] - src: let http2 streams end after session close (Santiago Gimeno) #45153 - [
325254cc2c
] - src: remap invalid file descriptors usingdup2
(Obiwac) #44461 - [
f748f5df56
] - src: remove unusedcontextify_global_private_symbol
(Daeyeon Jeong) #45128 - [
169b33a24c
] - src: forbid running watch mode in REPL (Moshe Atlow) #45058 - [
57b7023257
] - src: fix test runner coverage (Moshe Atlow) #45055 - [
bf17f8dcb8
] - src: optimize ALPN callback (Ben Noordhuis) #44875 - [
d433d34765
] - src: simplify ALPN code, remove indirection (Ben Noordhuis) #44875 - [
33c78e2340
] - src: iwyu in cleanup_queue.cc (Shelley Vohr) #44983 - [
23aa41394f
] - (SEMVER-MINOR) src: add support for externally shared js builtins (Michael Dawson) #44376 - [
2d2e71c189
] - src: refactor BaseObject methods (Joyee Cheung) #44796 - [
7b992cc229
] - src: create BaseObject with node::Realm (Chengzhong Wu) #44348 - [
a7f3bc0dbc
] - src: introduce node::Realm (Chengzhong Wu) #44179 - [
b11616be6b
] - src: support WeakReference in snapshot (Joyee Cheung) #44193 - [
1ca575501a
] - src: iterate over base objects to prepare for snapshot (Joyee Cheung) #44192 - [
f071028a45
] - src: fix cppgc incompatibility in v8 (Shelley Vohr) #43521 - [
b8290ff7e9
] - (SEMVER-MINOR) src: add initial shadow realm support (Chengzhong Wu) #42869 - [
90e8418e58
] - src,lib: group properties used as constants fromutil
binding (Daeyeon Jeong) #45539 - [
12779b3e02
] - src,lib: retrieve parsed source map url from v8 (Chengzhong Wu) #44798 - [
c5630e2699
] - src,node-api: updatenapi_is_detached_arraybuffer
(Daeyeon Jeong) #45538 - [
122c51b595
] - stream: use structuredClone instead of v8 (Yagiz Nizipli) #45611 - [
2bde576822
] - stream: use ArrayBufferPrototypeGetByteLength (Yagiz Nizipli) #45528 - [
7984e066ca
] - stream: add primordials to adapters (Yagiz Nizipli) #45511 - [
ac9a4aba5d
] - stream: avoid premature close when will not emit close (Robert Nagy) #45301 - [
6f080e2968
] - stream: fix typo inadapters.js
(#45515) (Kohei Ueno) #45515 - [
d2998b6166
] - stream: add fast path for utf8 (Yagiz Nizipli) #45483 - [
5f7d2b5c64
] - stream: add compose operator (Raz Luvaton) #44937 - [
70244d0b57
] - stream: fix duplexify premature destroy (Robert Nagy) #45133 - [
1fb6e82f84
] - stream: fix web streams have no Symbol.toStringTag (Jithil P Ponnan) #45117 - [
c514751ff3
] - stream: don't push null from closed promise #42694 (David Halls) #45026 - [
8c2d0f9294
] - stream: fixsize
function returned from QueuingStrategies (Daeyeon Jeong) #44867 - [
7e386f8cb9
] - test: remove flaky parallel/test-process-wrap test (Ben Noordhuis) #45806 - [
38fb2c1cc8
] - test: fix invalid output TAP if there newline in test name (Pulkit Gupta) #45742 - [
c1162535ae
] - test: fix -Wunused-variable on report-fatalerror (Santiago Gimeno) #45747 - [
13d2df3c20
] - test: fix test-watch-mode (Stefan Stojanovic) #45585 - [
3a5a2ae2ea
] - test: fix test-watch-mode-inspect (Stefan Stojanovic) #45586 - [
7dbc742bca
] - test: fix typos in test/parallel (Deokjin Kim) #45583 - [
3e87834ac7
] - test: add trailing commas in event tests (Rich Trott) #45466 - [
8f7109aea3
] - test: add trailing commas in async-hooks tests (#45549) (Antoine du Hamel) #45549 - [
d5b0844fce
] - test: add trailing commas in addons test (#45548) (Antoine du Hamel) #45548 - [
b1e17b4590
] - test: add trailing commas intest/common
(#45550) (Antoine du Hamel) #45550 - [
305d4de72f
] - test: revise pull request guide text about code (Rich Trott) #45519 - [
9f1e5b6a89
] - test: enable the WPT forstructuredClone
(Daeyeon Jeong) #45482 - [
fac1f1bcd6
] - test: add lint rule to enforce trailing commas (Antoine du Hamel) #45468 - [
cac449f0a0
] - test: update uses of _jabber._tcp.google.com (Colin Ihrig) #45451 - [
19eabd7870
] - test: add test to validate changelogs for releases (Richard Lau) #45325 - [
85c634d899
] - test: remove flaky designation for test-worker-http2-stream-terminate (Rich Trott) #45438 - [
4283af48b0
] - test: fix flaky test-repl-sigint-nested-eval (Rich Trott) #45354 - [
7e0332a46b
] - test: skip test-fs-largefile if not enough disk space (Rich Trott) #45339 - [
ad3b41c858
] - test: fix catching failed assertion (Pavel Horal) #45222 - [
12764fc725
] - test: defer invocation checks (Luigi Pinca) #42340 - [
facb606084
] - test: fix test-socket-write-after-fin-error (Luigi Pinca) #42340 - [
ab9c2df11b
] - test: maketest-eventemitter-asyncresource.js
shorter (Juan José) #45146 - [
03a3f30cb1
] - test: convert test-debugger-pid to async/await (Luke Karrys) #45179 - [
d718c675d8
] - test: improve test coverage intest-event-capture-rejections.js
(Juan José) #45148 - [
fe91ac15be
] - test: fix timeout of test-heap-prof.js in riscv devices (Yu Gu) #42674 - [
a110cac4f3
] - test: deflake test-http2-empty-frame-without-eof (Santiago Gimeno) #45212 - [
c890136934
] - test: use common/tmpdir in watch-mode ipc test (Richard Lau) #45211 - [
7b8380dd73
] - test: use uv_sleep() where possible (Santiago Gimeno) #45124 - [
7a7dab4160
] - test: fix typo intest/parallel/test-fs-rm.js
(Tim Shilov) #44882 - [
c87770b39b
] - test: remove a snapshot blob from test-inspect-address-in-use.js (Daeyeon Jeong) #45132 - [
a0f8d8b806
] - test: add test for Module._stat (Darshan Sen) #44713 - [
a8030b9517
] - test: watch mode inspect restart repeatedly (Moshe Atlow) #45060 - [
52808d7d71
] - test: remove experimental-wasm-threads flag (Michaël Zasso) #45074 - [
b3c4265a95
] - test: remove unnecessary noop function args tomustCall()
(Antoine du Hamel) #45047 - [
868b4a3d67
] - test: mark test-watch-mode* as flaky on all platforms (Pierrick Bouvier) #45049 - [
0d9ccc850e
] - test: wrap missingcommon.mustCall
(Moshe Atlow) #45064 - [
8fffd05b85
] - test: remove mentions of--experimental-async-stack-tagging-api
flag (Simon) #45051 - [
fc58b61e82
] - test: improve assertions intest-repl-unsupported-option.js
(Juan José) #44953 - [
e5928abef7
] - test: remove unnecessary noop function args to mustCall() (Rich Trott) #45027 - [
d86fcbfd6e
] - test: update WPT resources (Khaidi Chu) #44948 - [
d103d779d3
] - test: skip test depending onoverlapped-checker
when not available (Antoine du Hamel) #45015 - [
5544c55600
] - test: improve test coverage foros
package (Juan José) #44959 - [
6e3227b0fd
] - test: add test to improve coverage in http2-compat-serverresponse (Cesar Mario Diaz) #44970 - [
dfc2419ab4
] - test: improve test coverage intest-child-process-spawn-argv0.js
(Juan José) #44955 - [
89a1c57436
] - test: use CHECK instead of EXPECT where necessary (Tobias Nießen) #44795 - [
657756fc06
] - test: refactor promises to async/await (Madhuri) #44980 - [
55cf4b5042
] - test: fix textdecoder test for small-icu builds (Richard Lau) #45225 - [
e2df332ea7
] - test: add a test to ensure the correctness of timezone upgrades (Darshan Sen) #45299 - [
a2e5126227
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #45569 - [
69c1f2a021
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #45165 - [
24e2a4fbd7
] - test_runner: refactortap_lexer
to use more primordials (Antoine du Hamel) #45744 - [
3cee3ca5ae
] - test_runner: refactortap_parser
to use more primordials (Antoine du Hamel) #45745 - [
449326639d
] - (SEMVER-MINOR) test_runner: add t.after() hook (Colin Ihrig) #45792 - [
370ad455d6
] - (SEMVER-MINOR) test_runner: don't use a symbol for runHook() (Colin Ihrig) #45792 - [
500024384a
] - test_runner: add resetCalls to MockFunctionContext (MURAKAMI Masahiko) #45710 - [
ed9246f6fc
] - test_runner: don't parse TAP from stderr (Colin Ihrig) #45618 - [
a56560f6fc
] - test_runner: add getter and setter to MockTracker (MURAKAMI Masahiko) #45506 - [
20f6fa3edd
] - test_runner: remove stdout and stderr from error (Colin Ihrig) #45592 - [
16bedbabce
] - test_runner: add initial TAP parser (Wassim Chegham) #43525 - [
55b64e0b14
] - test_runner: support watch mode (Moshe Atlow) #45214 - [
92909f6855
] - test_runner: support function mocking (Colin Ihrig) #45326 - [
0f69b6c26d
] - test_runner: fix afterEach not running on test failures (Jithil P Ponnan) #45204 - [
a67da59313
] - test_runner: report tap subtest in order (Moshe Atlow) #45220 - [
a59c907e14
] - test_runner: call {before,after}Each() on suites (Colin Ihrig) #45161 - [
64860dd01f
] - test_runner: add extra fields in AssertionError YAML (Bryan English) #44952 - [
979d8376bd
] - tls: remove trustcor root ca certificates (Ben Noordhuis) #45776 - [
10cc827ebf
] - (SEMVER-MINOR) tls: add "ca" property to certificate object (Ben Noordhuis) #44935 - [
8336e32713
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #45730 - [
aa57f6c362
] - tools: add GitHub token permissions to label flaky-test issues (Gabriela Gutierrez) #45308 - [
79b3ee14a5
] - tools: remove dependency vulnerability checker (Facundo Tuesca) #45675 - [
496a528149
] - tools: update lint-md-dependencies to rollup@3.4.0 (Node.js GitHub Bot) #45638 - [
346132926d
] - tools: update doc to highlight.js@11.7.0 (Node.js GitHub Bot) #45636 - [
610341f241
] - tools: update eslint to 8.28.0 (Node.js GitHub Bot) #45532 - [
682a730131
] - tools: add automation for updating libuv dependency (Facundo Tuesca) #45362 - [
360c7be315
] - tools: add missing step in update-base64.sh script (Facundo Tuesca) #45509 - [
e52f0472bb
] - tools: update certdata.txt (Luigi Pinca) #45490 - [
ad8c6c91b5
] - tools: include current release in the list of released versions (Antoine du Hamel) #45463 - [
7641044eff
] - tools: update lint-md-dependencies to rollup@3.3.0 (Node.js GitHub Bot) #45442 - [
f5a4c52278
] - tools: do not run CQ on non-fast-tracked MRs open for less than 2 days (Moshe Atlow) #45407 - [
0f45c90533
] - tools: simplify .eslintrc.js (Rich Trott) #45397 - [
172cbfefa8
] - tools: simplify regex in ESLint config (Rich Trott) #45399 - [
456f048e0e
] - tools: enable jsdoc/require-property-description rule (Rich Trott) #45370 - [
6fafec351a
] - tools: dynamically determine parallelism on GitHub Actions macOS (Rich Trott) #45350 - [
2ca30cacee
] - tools: add automation for updating acorn dependency (Facundo Tuesca) #45357 - [
04f213b44c
] - tools: add documentation regarding our api tooling (Claudio Wunder) #45270 - [
c63d825681
] - tools: allow scripts to run from anywhere (Luigi Pinca) #45361 - [
1b0b68037a
] - tools: update eslint to 8.27.0 (Node.js GitHub Bot) #45358 - [
398ca2496b
] - tools: update eslint to 8.26.0 (Node.js GitHub Bot) #45243 - [
3053c65fb1
] - tools: update lint-md-dependencies to rollup@3.2.5 (Node.js GitHub Bot) #45332 - [
510506027b
] - tools: fix stability index generation (Antoine du Hamel) #45346 - [
e0a8effbc1
] - tools: increase macOS cores to 3 on GitHub CI (Rich Trott) #45340 - [
75a146f436
] - tools: add automation for updating base64 dependency (Facundo Tuesca) #45300 - [
13390e94af
] - tools: fixrequest-ci-failed
comment (Antoine du Hamel) #45291 - [
a93c4f7e41
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #45237 - [
078be3ba21
] - tools: fixrequest-ci-failed
comment (Antoine du Hamel) #45218 - [
62c233c221
] - tools: keep Emeriti lists case-insensitive alphabetic (Rich Trott) #45159 - [
d07a5e25b0
] - tools: update actions/setup-python to v4 (Yagiz Nizipli) #45178 - [
48cf8905f7
] - tools: update V8 gypfiles for RISC-V (Andreas Schwab) #45149 - [
0cbd2c6f8d
] - tools: fixcreate-or-update-pull-request-action
hash on GHA (Antoine du Hamel) #45166 - [
cd911d72ab
] - tools: update gr2m/create-or-update-pull-request-action (Luigi Pinca) #45022 - [
ee78e2e0ec
] - tools: do not use the set-output command in workflows (Luigi Pinca) #45024 - [
f98a6967e6
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #45019 - [
71433f3127
] - tools: refactor dynamic strings creation in shell scripts (Antoine du Hamel) #45240 - [
f08c129144
] - tools: use Python 3.11 in GitHub Actions workflows (Luigi Pinca) #45191 - [
76897430ed
] - tools: have test-asan use ubuntu-20.04 (Filip Skokan) #45581 - [
210cbcbf89
] - trace_events: add new categories (theanarkh) #45266 - [
20a39a34e0
] - trace_events: fix getCategories (theanarkh) #45092 - [
597c7fcbab
] - url: remove unnecessary object call to kFormat (Yagiz Nizipli) #45492 - [
5d964cd4d4
] - url: remove \t \n \r in url.parse() similar to WHATWG (Rich Trott) #45116 - [
eb81b6f0fb
] - url: improve url.parse() compliance with WHATWG URL (Rich Trott) #45011 - [
3f18a833ff
] - util: use private symbols in JS land directly (Joyee Cheung) #45379 - [
32a3859a90
] - util: add fast path for utf8 encoding (Yagiz Nizipli) #45412 - [
cd740d0b0d
] - util: improve text decoder performance (Yagiz Nizipli) #45388 - [
1dc91abddf
] - util: improve text-decoder performance (Yagiz Nizipli) #45363 - [
4730850972
] - util: improve textdecoder decode performance (Yagiz Nizipli) #45294 - [
717b604da7
] - (SEMVER-MINOR) util: add MIME utilities (#21128) (Bradley Farias) #21128 - [
39cf8b4f16
] - vm: make ContextifyContext a BaseObject (Joyee Cheung) #44796 - [
09ea75823c
] - watch: add CLI flag to preserve output (Debadree Chatterjee) #45717 - [
24bfe543c5
] - watch: watch for missing dependencies (Moshe Atlow) #45348
v18.12.1
: 2022-11-04, Version 18.12.1 'Hydrogen' (LTS), @juanarbol
This is a security release.
Notable changes
The following CVEs are fixed in this release:
- CVE-2022-3602: X.509 Email Address 4-byte Buffer Overflow (High)
- CVE-2022-3786: X.509 Email Address Variable Length Buffer Overflow (High)
- CVE-2022-43548: DNS rebinding in --inspect via invalid octal IP address (Medium)
More detailed information on each of the vulnerabilities can be found in November 2022 Security Releases blog post.
Commits
- [
39f8a672e3
] - deps: update archs files for quictls/openssl-3.0.7+quic nodejs/node#45286 - [
80218127c8
] - deps: upgrade openssl sources to quictls/openssl-3.0.7+quic nodejs/node#45286 - [
165342beac
] - inspector: harden IP address validation again (Tobias Nießen) nodejs-private/node-private#354
v18.12.0
: 2022-10-25, Version 18.12.0 'Hydrogen' (LTS), @ruyadorno and @RafaelGSS
Notable Changes
This release marks the transition of Node.js 18.x into Long Term Support (LTS) with the codename 'Hydrogen'. The 18.x release line now moves into "Active LTS" and will remain so until October 2023. After that time, it will move into "Maintenance" until end of life in April 2025.
v18.11.0
: 2022-10-13, Version 18.11.0 (Current), @danielleadams
Notable changes
watch mode (experimental)
Running in 'watch' mode using node --watch
restarts the process when an imported file is changed.
Contributed by Moshe Atlow in #44366
Other notable changes
-
fs:
- (SEMVER-MINOR) add
FileHandle.prototype.readLines
(Antoine du Hamel) #42590
- (SEMVER-MINOR) add
-
http:
- (SEMVER-MINOR) add writeEarlyHints function to ServerResponse (Wing) #44180
-
http2:
- (SEMVER-MINOR) make early hints generic (Yagiz Nizipli) #44820
-
lib:
- (SEMVER-MINOR) refactor transferable AbortSignal (flakey5) #44048
-
src:
- (SEMVER-MINOR) add detailed embedder process initialization API (Anna Henningsen) #44121
-
util:
- (SEMVER-MINOR) add default value option to parsearg (Manuel Spigolon) #44631
Commits
- [[
27b4b782ce
](https://github.com/nodejs/no
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.