Node v20.13.0 (LTS)

Marco Ippolito

2024-05-07, Version 20.13.0 'Iron' (LTS), @marco-ippolito

buffer: improve base64 and base64url performance

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: add --report-exclude-network option

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 a windows option to path parsing (Aviv Keller) #52509
  • [d116fa1568] - (SEMVER-MINOR) net: add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) #52474
  • [6af7b78b0d] - (SEMVER-MINOR) src: add string_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: add test: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: improve base64 and base64url performance (Yagiz Nizipli) #52428
  • [328bded5ab] - buffer: improve btoa performance (Yagiz Nizipli) #52427
  • [e67bc34326] - buffer: use simdutf for atob 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: reject Ed25519/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: fix input validation in crypto.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: update process.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 of build_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: edit ChildProcess '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 that const 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 in on (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 on fchown (Yagiz Nizipli) #52051
  • [33ad86c2be] - fs: validate fd from cpp on close (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 using allowHTTP1=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 a windows 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: add string_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 using v8::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: add new when constructing ERR_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: mark test-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: add spawnSyncAndAssert 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: add test: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 in find-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 [email protected] (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 [email protected] [email protected] (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 [email protected] (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 [email protected] (Node.js GitHub Bot) #52286
  • [049cca419e] - Revert "tools: run build-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 [email protected] (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

Windows 32-bit Installer: https://nodejs.org/dist/v20.13.0/node-v20.13.0-x86.msi
Windows 64-bit Installer: https://nodejs.org/dist/v20.13.0/node-v20.13.0-x64.msi
Windows ARM 64-bit Installer: https://nodejs.org/dist/v20.13.0/node-v20.13.0-arm64.msi
Windows 32-bit Binary: https://nodejs.org/dist/v20.13.0/win-x86/node.exe
Windows 64-bit Binary: https://nodejs.org/dist/v20.13.0/win-x64/node.exe
Windows ARM 64-bit Binary: https://nodejs.org/dist/v20.13.0/win-arm64/node.exe
macOS 64-bit Installer: https://nodejs.org/dist/v20.13.0/node-v20.13.0.pkg
macOS Apple Silicon 64-bit Binary: https://nodejs.org/dist/v20.13.0/node-v20.13.0-darwin-arm64.tar.gz
macOS Intel 64-bit Binary: https://nodejs.org/dist/v20.13.0/node-v20.13.0-darwin-x64.tar.gz
Linux 64-bit Binary: https://nodejs.org/dist/v20.13.0/node-v20.13.0-linux-x64.tar.xz
Linux PPC LE 64-bit Binary: https://nodejs.org/dist/v20.13.0/node-v20.13.0-linux-ppc64le.tar.xz
Linux s390x 64-bit Binary: https://nodejs.org/dist/v20.13.0/node-v20.13.0-linux-s390x.tar.xz
AIX 64-bit Binary: https://nodejs.org/dist/v20.13.0/node-v20.13.0-aix-ppc64.tar.gz
ARMv7 32-bit Binary: https://nodejs.org/dist/v20.13.0/node-v20.13.0-linux-armv7l.tar.xz
ARMv8 64-bit Binary: https://nodejs.org/dist/v20.13.0/node-v20.13.0-linux-arm64.tar.xz
Source Code: https://nodejs.org/dist/v20.13.0/node-v20.13.0.tar.gz
Other release files: https://nodejs.org/dist/v20.13.0/
Documentation: https://nodejs.org/docs/v20.13.0/api/

SHASUMS

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

d75b994a79a60fb5ae06cc1e46d9e5cae3baed4a02bebd63f699391dd663e7c3  node-v20.13.0-aix-ppc64.tar.gz
47832625845673017ab90c3fa037ddd0b767cfbc7feb471e76f60f59ff66a412  node-v20.13.0-arm64.msi
ef850bf9045d756c7a703c30fc09d7d9de9c7e7f254c6f4c02a1531381a806fd  node-v20.13.0-darwin-arm64.tar.gz
46890acbe8107a87786af601e5fa17bdde3c6c54caf2ac15474bfa0690025ea2  node-v20.13.0-darwin-arm64.tar.xz
417fb4a3a3a70547d5f6d05e068e6d6ec226a6d12c94d91661641e4e11eaeb63  node-v20.13.0-darwin-x64.tar.gz
9101e1bd6de7dc657d97c7ed9dde2ceabbe9054992d891c54c5570a9be782b30  node-v20.13.0-darwin-x64.tar.xz
73235e1ff7eac21e50e44a4b4791613116004c3a605ddfdac6802afe21162bcf  node-v20.13.0-headers.tar.gz
2dc7ccbf7a45804e5d35ebc67d10f88a6f14fa27b60d805b440a1aad5210c1c6  node-v20.13.0-headers.tar.xz
29e904b9dd7325911ab38f79c5462f1d562d5573b97e8f63d700870a270ef43a  node-v20.13.0-linux-arm64.tar.gz
44abc8a22d723fd0946b18c6339016a8882eb850e8fc26ea4f470de9545be778  node-v20.13.0-linux-arm64.tar.xz
0dc649df1681cf7e6410b6136f1de6a8c7f97cead560c00ee7ab875c2c3f48f8  node-v20.13.0-linux-armv7l.tar.gz
b32e488675fb0c6fb7836a50c46149435511b245d365c0dd695c7a81b960a55b  node-v20.13.0-linux-armv7l.tar.xz
ceb0c307f12e543d401f388ba6e70a5a35ff5eac491d1d517861681332a69682  node-v20.13.0-linux-ppc64le.tar.gz
46a9be427c940378d8dffcde54880bfb348c1bb0e333c00aa52c4cba16451de1  node-v20.13.0-linux-ppc64le.tar.xz
911d4c0ff6632594508d404d84b8c0e80bbe6ec3a44babb9a9f907306d03385f  node-v20.13.0-linux-s390x.tar.gz
00f7928a37c8e3f1850a05200f25b5a546851580dccebbe7d402f8b106624b21  node-v20.13.0-linux-s390x.tar.xz
a74ceb142362d152aa871710ef9fb338ab72c76415f5afa802fc0aea445397b3  node-v20.13.0-linux-x64.tar.gz
a58d5d99b4ccf95d966dd1e3d3a560f4686e3e1e4f7331258860d429f13fc7eb  node-v20.13.0-linux-x64.tar.xz
04e0bf402c8e0c8670b1bc0aa370069918011cc3632f0f5df36d525840f7b88a  node-v20.13.0.pkg
733ab5d27a805056b674f12ae5493ad3a40e39c97f4d27407a85003a8b7a570e  node-v20.13.0.tar.gz
11d229fcad7e6e10f450301223c602043f021cda51259ffafc7e55e484b37dc7  node-v20.13.0.tar.xz
6816afb856a6ace88dfb9f00e680d62a4b1df46e03d0ba232a2b4e84b9b677b6  node-v20.13.0-win-arm64.7z
58cb1430ff203e688d6954607518e69d4cab2ccecc2dd36e32430d740ad0d555  node-v20.13.0-win-arm64.zip
498b9a18889ce1f6cdfb2037af77a17886ba87308b759037ca42c0590b730446  node-v20.13.0-win-x64.7z
085cca6645d483ac38708a8206c8e1c97f94f99f179e5e26e454b578f40e383c  node-v20.13.0-win-x64.zip
87bb42cd4a8e746bd333c35c6bc1ca477b9e61fec5fb5db1d1c1e16a3c45fcb0  node-v20.13.0-win-x86.7z
0211523086033d18c0720b15146178eb7057ee7afc8c4009c8e59ecd94778a48  node-v20.13.0-win-x86.zip
d41e6aa0673a400d14c536ffa9c5897d03d682f58ac033ac00c7b2e71bbc97c2  node-v20.13.0-x64.msi
7dc6c9cac8d3d2e55e3c253ed4a544127bed3d46799f409c8b6562a7edb1cef6  node-v20.13.0-x86.msi
04a99b63a91492bd1331e67df611ec9880636f5be17b0872c7bd8bb113452c2e  win-arm64/node.exe
6855c9b01fc23139ccf9a2c4e079e629d1935df57f6d01075952d29e017b3642  win-arm64/node.lib
edf2c699456f8aa800b64fbaa3a467bf525d80664454461c2791e0226f1fd643  win-arm64/node_pdb.7z
37ffa759ca50db7e20e9a356795c84272f4c680297e17fef6f9b51e88022080c  win-arm64/node_pdb.zip
46039bf12adab32ba5a2c335d46e7df503d7f70b6390e237048479fc8a539b3c  win-x64/node.exe
bd5890fac4571d1cdfaca31d74ae791feef1edad3b70421969de2aa83f330797  win-x64/node.lib
aba5c53f8374ac40c144717e5894d5113d2af2d5196be8612d2671220522f05f  win-x64/node_pdb.7z
f77d54ce337aaf72a594edf85f81109b2da08625c75c4a2045654cc0c2bdef03  win-x64/node_pdb.zip
ef558ed3f5ffa982d3d8e7e2149338d4230b94b217f67f725a559055a6004806  win-x86/node.exe
be02221a3f8c8e9fc2946bfec6d1b43da8798281857507730b3fee0a154af851  win-x86/node.lib
3dee053946533e469d6a539eab2af8ac30d61208645cc8d618e120ceaa7311b7  win-x86/node_pdb.7z
9fc149ca5aa6f6a9741d8edb115aa742d474b0285054d6068d2cf9466e62f5f2  win-x86/node_pdb.zip
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEzGj1oxBv9EgyLkjtJ/XjjVsKIV8FAmY6TEoACgkQJ/XjjVsK
IV9VRw/+OoH9SHRb7MzWj2LJh4HA0gisWjhYUzhYCFxEfIbg8ia0EtkH+mfL3/46
mvPV2xvf5HIaJyqXXfIkUAbObq47AWa/meuspUmqQDirdgCcMFiDS/uA729XCa9R
BjhxhA3bqx7g84EsvyWWFqyTbgcU9865u9Luo+M93wewTfWEC2Mk9mmAXm2+oI4L
g6A0gSw5fw+UErLtqclqSJE/fg8dNf82B0UT9s/HQ0RsNfeNIA+LtrdDjjWXam8z
SvKo/0/EXZtaOwtulBG2fz67ccg9kgElRCbclLftQWOJnp3ma8ktDkvfok0tQYNR
Oj1XPvNL8PMVVWB9NxJTiKT30RVYQmyDia9pHYmNdalW5h5IqHCXtxTrpV8ZT9Uv
Ty/ocP8hbSKYf3J5Uiv2YzLelqEpth+KgAGlUSVHKO8zoBM09T8SnSXrhUd2HNm9
vFvLs25GhwC1owzlQGTz0w0Z2nV8R6fwZ+Uv9f8/gankotsiQmaga2G+PRv8IheL
mOHne7eue2VSo/9bvHKR4/6I8G9npuK/x7W80kSwfMmy8PAfCekBsXhKHouAfEmG
YmSZ4OL+gBeYhlLEI7weoMLB6w1ZoN+LSusWW5+mW4Ri4fODGOSrey36NHGT2CMn
XTiDRXpJka67CZ2krLn5DyaaBfxDtSqYpBsa89c5ckHsW1vBiVc=
=VFxj
-----END PGP SIGNATURE-----