Skip to content

Latest commit

 

History

History
987 lines (937 loc) · 163 KB

CHANGELOG_V22.md

File metadata and controls

987 lines (937 loc) · 163 KB

Node.js 22 ChangeLog

Current
22.4.0
22.3.0
22.2.0
22.1.0
22.0.0

2024-07-02, Version 22.4.0 (Current), @targos

Notable Changes

Experimental Web Storage API

  • [9e30724b53] - (SEMVER-MINOR) deps,lib,src: add experimental web storage (Colin Ihrig) #52435

API stability updates

Other Notable Changes

  • [df4762722c] - doc: doc-only deprecate OpenSSL engine-based APIs (Richard Lau) #53329
  • [ad5282e196] - inspector: fix disable async hooks on Debugger.setAsyncCallStackDepth (Joyee Cheung) #53473
  • [e95af740fc] - (SEMVER-MINOR) lib: add diagnostics_channel events to module loading (RafaelGSS) #44340
  • [50733a1abe] - (SEMVER-MINOR) util: support --no- for argument with boolean type for parseArgs (Zhenwei Jin) #53107

Commits

  • [9f32002397] - assert,util: correct comparison when both contain same reference (Daniel Lemire) #53431
  • [dfdc062111] - buffer: make indexOf(byte) faster (Tobias Nießen) #53455
  • [1de437527e] - build: configure with shared sqlite3 (Chengzhong Wu) #53519
  • [c7d44ba1f3] - build: find version of Clang installed on Windows (Stefan Stojanovic) #53228
  • [36aad8b204] - build: fix spacing before NINJA_ARGS (jakecastelli) #53181
  • [82092cdaa3] - crypto: improve GetECGroupBits signature (Tobias Nießen) #53364
  • [073c231607] - deps: update c-ares to v1.31.0 (Node.js GitHub Bot) #53554
  • [977beab729] - (SEMVER-MINOR) deps: sqlite: fix Windows compilation (Colin Ihrig) #52435
  • [e69b8d202c] - deps: update undici to 6.19.2 (Node.js GitHub Bot) #53468
  • [c4a7e051c8] - deps: update undici to 6.19.1 (Node.js GitHub Bot) #53468
  • [fa34f8fcf0] - deps: update undici to 6.19.1 (Node.js GitHub Bot) #53468
  • [0b40bfad43] - deps: update undici to 6.19.0 (Node.js GitHub Bot) #53468
  • [1877f22a79] - deps: update simdjson to 3.9.4 (Node.js GitHub Bot) #53467
  • [1b84964b8d] - deps: patch V8 to 12.4.254.21 (Node.js GitHub Bot) #53470
  • [6acadeb59b] - deps: update acorn-walk to 8.3.3 (Node.js GitHub Bot) #53466
  • [7a7f438841] - deps: update zlib to 1.3.0.1-motley-209717d (Node.js GitHub Bot) #53156
  • [bf891bf64c] - deps: update c-ares to v1.30.0 (Node.js GitHub Bot) #53416
  • [bd68888261] - deps: V8: cherry-pick a3cc8522a4c8 (kxxt) #53412
  • [2defaaf771] - deps: V8: cherry-pick 6ea594ff7132 (kxxt) #53412
  • [9e30724b53] - (SEMVER-MINOR) deps,lib,src: add experimental web storage (Colin Ihrig) #52435
  • [608cc05de1] - doc: recommend not using libuv node-api function (Michael Dawson) #53521
  • [30858eca59] - doc: add additional guidance for PRs to deps (Michael Dawson) #53499
  • [a5852cc710] - doc: only apply content-visibility on all.html (Filip Skokan) #53510
  • [befabe5c58] - doc: update the description of the return type for options.filter (Zhenwei Jin) #52742
  • [5ed1a036ba] - doc: remove first timer badge (Aviv Keller) #53338
  • [201266706b] - doc: move node --run stability to rc (Yagiz Nizipli) #53433
  • [46a7681cc4] - doc: add Buffer.from(string) to functions that use buffer pool (Christian Bates-White) #52801
  • [ec5364f6de] - doc: add initial text for ambassadors program (Michael Dawson) #52857
  • [fa113b8fc7] - doc: fix typo (EhsanKhaki) #53397
  • [d9182d0086] - doc: define more cases for stream event emissions (Aviv Keller) #53317
  • [923d24b6f2] - doc: remove mentions of policy model from security info (Aviv Keller) #53249
  • [48f78cd31b] - doc: fix mistakes in the module load hook api (István Donkó) #53349
  • [16c0884d48] - doc: mark WebSocket as stable (Matthew Aitken) #53352
  • [df4762722c] - doc: doc-only deprecate OpenSSL engine-based APIs (Richard Lau) #53329
  • [cf375e73c1] - doc: mark --heap-prof and related flags stable (Joyee Cheung) #53343
  • [0160745057] - doc: mark --cpu-prof and related flags stable (Joyee Cheung) #53343
  • [6e12d9f049] - doc: remove IRC from man page (Tobias Nießen) #53344
  • [24c7a9415b] - doc, http: add rejectNonStandardBodyWrites option, clear its behaviour (jakecastelli) #53396
  • [ec38f3dc6a] - doc, meta: organize contributing to Node-API guide (Aviv Keller) #53243
  • [cf5a973c42] - doc, meta: use markdown rather than HTML in CONTRIBUTING.md (Aviv Keller) #53235
  • [105b006fd2] - fs: move ToNamespacedPath to c++ (Yagiz Nizipli) #52135
  • [568377f7f0] - fs: do not crash if the watched file is removed while setting up watch (Matteo Collina) #53452
  • [fad179307c] - fs: add fast api for InternalModuleStat (Yagiz Nizipli) #51344
  • [41100b65f6] - http2: reject failed http2.connect when used with promisify (ehsankhfr) #53475
  • [ad5282e196] - inspector: fix disable async hooks on Debugger.setAsyncCallStackDepth (Joyee Cheung) #53473
  • [b5fc227344] - lib: fix typo in comment (codediverdev) #53543
  • [e95af740fc] - (SEMVER-MINOR) lib: add diagnostics_channel events to module loading (RafaelGSS) #44340
  • [123910f1de] - lib: remove the unused code (theanarkh) #53463
  • [452011b719] - lib: speed up MessageEvent creation internally (Matthew Aitken) #52951
  • [710cf7758c] - lib: reduce amount of caught URL errors (Yagiz Nizipli) #52658
  • [45b59e58d1] - lib: fix naming convention of Symbol (Deokjin Kim) #53387
  • [515dd24ee7] - lib: fix timer leak (theanarkh) #53337
  • [77166137be] - meta: use correct source for workflow in PR (Aviv Keller) #53490
  • [d1c10fee53] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #53480
  • [a5026386bf] - meta: fix typo in dependency updates (Aviv Keller) #53471
  • [0b9191da99] - meta: bump step-security/harden-runner from 2.7.1 to 2.8.0 (dependabot[bot]) #53245
  • [49cfb9d001] - src: reset process.versions during pre-execution (Richard Lau) #53444
  • [15df4edd22] - src: use args.This() instead of Holder (Michaël Zasso) #53474
  • [e16a04e852] - src: fix dynamically linked OpenSSL version (Richard Lau) #53456
  • [5961253824] - src: remove base64 from process.versions (Richard Lau) #53442
  • [11dd15c0b5] - src: remove SetEncoding from StringEncoder (Yagiz Nizipli) #53441
  • [0c7e69acd2] - src: simplify size() == 0 checks (Yagiz Nizipli) #53440
  • [f077afafda] - src: add utilities to help debugging reproducibility of snapshots (Joyee Cheung) #50983
  • [004b9ea4c4] - src: make sure that memcpy-ed structs in snapshot have no padding (Joyee Cheung) #50983
  • [bfc5236423] - src: return non-empty data in context data serializer (Joyee Cheung) #50983
  • [955454ba4d] - src: fix typo in env.cc (EhsanKhaki) #53418
  • [7d8787768c] - src: avoid strcmp in favor of operator== (Tobias Nießen) #53439
  • [599e7c3d8e] - src: remove ArrayBufferAllocator::Reallocate override (Shu-yu Guo) #52910
  • [f9075ff38e] - src: print v8::OOMDetails::detail when it's available (Joyee Cheung) #53360
  • [4704270443] - src: fix IsIPAddress for IPv6 (Hüseyin Açacak) #53400
  • [63f62d76de] - src: fix permission inspector crash (theanarkh) #53389
  • [70bbc02dac] - src, deps: add nbytes library (James M Snell) #53507
  • [8b877099d0] - stream: update outdated highwatermark doc (Jay Kim) #53494
  • [eded1e9768] - stream: support dispose in writable (Benjamin Gruenbaum) #48547
  • [b3372a8b0e] - stream: callback should be called when pendingcb is 0 (jakecastelli) #53438
  • [f4efb7f625] - stream: make sure _destroy is called (jakecastelli) #53213
  • [7dde37591c] - stream: prevent stream unexpected pause when highWaterMark set to 0 (jakecastelli) #53261
  • [6e66d9763f] - test: mark test-benchmark-crypto as flaky (Antoine du Hamel) #52955
  • [1eebcbf9bf] - test: skip reproducible snapshot test on 32-bit (Michaël Zasso) #53592
  • [91b2850303] - test: extend env for test-node-output-errors (Richard Lau) #53535
  • [bcad560726] - test: update compression web-platform tests (Yagiz Nizipli) #53478
  • [b8f436c755] - test: update encoding web-platform tests (Yagiz Nizipli) #53477
  • [d2c169a4f6] - test: update url web-platform tests (Yagiz Nizipli) #53472
  • [513e6aa4c7] - test: check against run-time OpenSSL version (Richard Lau) #53456
  • [602b9d63c4] - test: update tests for OpenSSL 3.0.14 (Richard Lau) #53373
  • [4a3525bb08] - test: fix test-http-server-keepalive-req-gc (Etienne Pierre-doray) #53292
  • [7349edb28b] - test: update TLS tests for OpenSSL 3.2 (Richard Lau) #53384
  • [a11a05763d] - tls: check result of SSL_CTX_set_*_proto_version (Tobias Nießen) #53459
  • [4b47f89eb2] - tls: avoid taking ownership of OpenSSL objects (Tobias Nießen) #53436
  • [ac8adeb99f] - tls: use SSL_get_peer_tmp_key (Tobias Nießen) #53366
  • [d5c380bb09] - tools: lock versions of irrelevant DB deps (Michaël Zasso) #53546
  • [71321bb249] - tools: fix skip detection of test runner output (Richard Lau) #53545
  • [ca198f4125] - tools: update eslint to 9.5.0 (Node.js GitHub Bot) #53515
  • [30fdd482a1] - tools: move ESLint to tools/eslint (Michaël Zasso) #53413
  • [fe85e05ba9] - tools: fix c-ares update script (Marco Ippolito) #53414
  • [8eb7bdf81b] - tools: update lint-md-dependencies (Node.js GitHub Bot) #53158
  • [9ece63d415] - tools: do not run Corepack code before it's reviewed (Antoine du Hamel) #53405
  • [ab2021492b] - tools: move ESLint tools to tools/eslint (Michaël Zasso) #53393
  • [78a9037a6d] - tools: use Ubuntu 24.04 and Clang on GitHub actions (Michaël Zasso) #53212
  • [855eb25dad] - tools: add stream label on PR when related files being changed in lib (jakecastelli) #53269
  • [50733a1abe] - (SEMVER-MINOR) util: support --no- for argument with boolean type for parseArgs (Zhenwei Jin) #53107

2024-06-11, Version 22.3.0 (Current), @RafaelGSS

Notable Changes

  • [5a41bcf9ca] - (SEMVER-MINOR) src: traverse parent folders while running --run (Yagiz Nizipli) #53154
  • [1d5934524b] - (SEMVER-MINOR) buffer: add .bytes() method to Blob (Matthew Aitken) #53221
  • [75e5612fae] - (SEMVER-MINOR) src,permission: --allow-wasi & prevent WASI exec (Rafael Gonzaga) #53124
  • [b5c30e2f5e] - (SEMVER-MINOR) module: print amount of load time of a cjs module (Vinicius Lourenço) #52213
  • [8c6dffc269] - (SEMVER-MINOR) test_runner: add snapshot testing (Colin Ihrig) #53169
  • [048478d351] - (SEMVER-MINOR) doc: add context.assert docs (Colin Ihrig) #53169
  • [f6d2af8ee7] - (SEMVER-MINOR) test_runner: add context.fullName (Colin Ihrig) #53169
  • [a0766bdf0e] - (SEMVER-MINOR) net: add new net.server.listen tracing channel (Paolo Insogna) #53136
  • [374743cd4e] - (SEMVER-MINOR) process: add process.getBuiltinModule(id) (Joyee Cheung) #52762
  • [1eb55f3550] - (SEMVER-MINOR) doc: improve explanation about built-in modules (Joyee Cheung) #52762
  • [6165894774] - fs: mark recursive cp methods as stable (Théo LUDWIG) #53127
  • [db5dd0c6df] - doc: add StefanStojanovic to collaborators (StefanStojanovic) #53118
  • [cfcde78513] - (SEMVER-MINOR) cli: add NODE_RUN_PACKAGE_JSON_PATH env (Yagiz Nizipli) #53058
  • [7a67ecf161] - (SEMVER-MINOR) test_runner: support module mocking (Colin Ihrig) #52848
  • [ee56aecced] - (SEMVER-MINOR) lib: add EventSource Client (Aras Abbasi) #51575
  • [6413769bc7] - (SEMVER-MINOR) lib: replace MessageEvent with undici's (Matthew Aitken) #52370
  • [c70b2f7a76] - (SEMVER-MINOR) cli: add NODE_RUN_SCRIPT_NAME env to node --run (Yagiz Nizipli) #53032
  • [badec0c38b] - doc: add Marco Ippolito to TSC (Rafael Gonzaga) #53008

Commits

  • [feb0ba2860] - benchmark: fix napi/ref addon (Michaël Zasso) #53233
  • [bb844de4e1] - benchmark: fix api restriction for the permission category (Ryan Tsien) #51528
  • [1d5934524b] - (SEMVER-MINOR) buffer: add .bytes() method to Blob (Matthew Aitken) #53221
  • [d87f9af5aa] - buffer: make compare/equals faster (Tobias Nießen) #52993
  • [ec83431d71] - build: generate binlog in out directories (Chengzhong Wu) #53325
  • [0976439417] - build: fix --v8-lite-mode build (Daeyeon Jeong) #52725
  • [350c733ae6] - build: support python 3.13 (Chengzhong Wu) #53190
  • [74cefa55a2] - build: update ruff to v0.4.5 (Yagiz Nizipli) #53180
  • [33242ff042] - build: add --skip-tests to test-ci-js target (Antoine du Hamel) #53105
  • [edcadf7f8a] - build: fix building embedtest in GN build (Cheng) #53145
  • [d711942fce] - build: use broader detection for 'help' (Aviv Keller) #53045
  • [ca655b61a7] - build: fix -j propagation to ninja (Tobias Nießen) #53088
  • [5fba67ff9f] - build: exit on unsupported host OS for Android (Mohammed Keyvanzadeh) #52882
  • [b7d7e9a084] - build: fix --enable-d8 builds (Richard Lau) #53106
  • [14547c5d32] - build: fix ./configure --help format error (Zhenwei Jin) #53066
  • [f9490806d3] - build: set "clang" in config.gypi in GN build (Cheng) #53004
  • [638b510ce7] - cli: add --expose-gc flag available to NODE_OPTIONS (Juan José) #53078
  • [cfcde78513] - (SEMVER-MINOR) cli: add NODE_RUN_PACKAGE_JSON_PATH env (Yagiz Nizipli) #53058
  • [c70b2f7a76] - (SEMVER-MINOR) cli: add NODE_RUN_SCRIPT_NAME env to node --run (Yagiz Nizipli) #53032
  • [34f20983fd] - crypto: fix propagation of "memory limit exceeded" (Tobias Nießen) #53300
  • [fef067f4f4] - deps: update nghttp2 to 1.62.1 (Node.js GitHub Bot) #52966
  • [fc949928ac] - deps: update nghttp2 to 1.62.0 (Node.js GitHub Bot) #52966
  • [4a17dda8dc] - deps: update undici to 6.18.2 (Node.js GitHub Bot) #53255
  • [e45cc2a551] - deps: update ada to 2.8.0 (Node.js GitHub Bot) #53254
  • [77907a2619] - deps: update corepack to 0.28.2 (Node.js GitHub Bot) #53253
  • [b688050778] - deps: update simdjson to 3.9.3 (Node.js GitHub Bot) #53252
  • [6303f19cbe] - deps: patch V8 to 12.4.254.20 (Node.js GitHub Bot) #53159
  • [257004c68f] - deps: update c-ares to 1.29.0 (Node.js GitHub Bot) #53155
  • [0b375a3e36] - deps: upgrade npm to 10.8.1 (npm team) #53207
  • [728c861b1c] - deps: fix FP16 bitcasts.h (Stefan Stojanovic) #53134
  • [52a78737b1] - deps: patch V8 to 12.4.254.19 (Node.js GitHub Bot) #53094
  • [4d27b32e58] - deps: update undici to 6.18.1 (Node.js GitHub Bot) #53073
  • [b94199240b] - deps: update undici to 6.18.0 (Node.js GitHub Bot) #53073
  • [793af1b3e7] - deps: update undici to 6.17.0 (Node.js GitHub Bot) #53034
  • [fe00becc03] - deps: update undici to 6.16.1 (Node.js GitHub Bot) #52948
  • [96f72ae54f] - deps: update undici to 6.15.0 (Matthew Aitken) #52763
  • [af60fbb12b] - deps: update googletest to 33af80a (Node.js GitHub Bot) #53053
  • [7b929df489] - deps: patch V8 to 12.4.254.18 (Node.js GitHub Bot) #53054
  • [626037c0fc] - deps: update zlib to 1.3.0.1-motley-4f653ff (Node.js GitHub Bot) #53052
  • [6d8589e558] - deps: patch V8 to 12.4.254.17 (Node.js GitHub Bot) #52980
  • [fd91eaab34] - deps: upgrade npm to 10.8.0 (npm team) #53014
  • [133cae0732] - doc: fix broken link in static-analysis.md (Richard Lau) #53345
  • [7bc5f964fd] - doc: indicate requirement on VS 17.6 or newer (Chengzhong Wu) #53301
  • [8c71522ced] - doc: remove cases for keys not containing "*" in PATTERN_KEY_COMPARE (Maarten Zuidhoorn) #53215
  • [718a3ab1ab] - doc: add err param to fs.cp callback (Feng Yu) #53234
  • [d89bde26ff] - doc: add err param to fs.copyFile callback (Feng Yu) #53234
  • [91971ee344] - doc: reserve 128 for Electron 32 (Keeley Hammond) #53203
  • [812f0e9e14] - doc: add note to ninjia build for macOS using -jn flag (jakecastelli) #53187
  • [048478d351] - (SEMVER-MINOR) doc: add context.assert docs (Colin Ihrig) #53169
  • [c391923445] - doc: include ESM import for HTTP (Aviv Keller) #53165
  • [1eb55f3550] - (SEMVER-MINOR) doc: improve explanation about built-in modules (Joyee Cheung) #52762
  • [67a766f7d4] - doc: fix minor grammar and style issues in SECURITY.md (Rich Trott) #53168
  • [afbfe8922a] - doc: mention pm is not enforced when using fd (Rafael Gonzaga) #53125
  • [1702d2632e] - doc: fix format in esm.md (Pop Moore) #53170
  • [070577e7d7] - doc: fix wrong variable name in example of timers.tick() (Deokjin Kim) #53147
  • [7147c1df1f] - doc: fix wrong function name in example of context.plan() (Deokjin Kim) #53140
  • [cf47384148] - doc: add note for windows users and symlinks (Aviv Keller) #53117
  • [088dff1074] - doc: move all TLS-PSK documentation to its section (Alba Mendez) #35717
  • [db5dd0c6df] - doc: add StefanStojanovic to collaborators (StefanStojanovic) #53118
  • [0f0bc98ad7] - doc: improve ninja build for --built-in-modules-path (jakecastelli) #53007
  • [4c65c52d30] - doc: avoid hiding by navigation bar in anchor jumping (Cloyd Lau) #45131
  • [63fcbcfd62] - doc: remove unavailable youtube link in pull requests (Deokjin Kim) #52982
  • [77fd504636] - doc: add missing supported timer values in timers.enable() (Deokjin Kim) #52969
  • [6708536b03] - fs: fix cp dir/non-dir mismatch error messages (Mathis Wiehl) #53150
  • [6165894774] - fs: mark recursive cp methods as stable (Théo LUDWIG) #53127
  • [7940db7be1] - fs: remove basename in favor of std::filesystem (Yagiz Nizipli) #53062
  • [505e9a425b] - lib: fix misleading argument of validateUint32 (Tobias Nießen) #53307
  • [98ae1ebdd6] - lib: fix the name of the fetch global function (Gabriel Bota) #53227
  • [fe007cd1b4] - lib: allow CJS source map cache to be reclaimed (Chengzhong Wu) #51711
  • [040be4a7b4] - lib: do not call callback if socket is closed (theanarkh) #52829
  • [ee56aecced] - (SEMVER-MINOR) lib: add EventSource Client (Aras Abbasi) #51575
  • [6413769bc7] - (SEMVER-MINOR) lib: replace MessageEvent with undici's (Matthew Aitken) #52370
  • [879679e5a3] - lib,doc: replace references to import assertions (Michaël Zasso) #52998
  • [062a0c6f67] - meta: bump ossf/scorecard-action from 2.3.1 to 2.3.3 (dependabot[bot]) #53248
  • [e59b744b30] - meta: bump actions/checkout from 4.1.4 to 4.1.6 (dependabot[bot]) #53247
  • [96924f48a0] - meta: bump github/codeql-action from 3.25.3 to 3.25.7 (dependabot[bot]) #53246
  • [b7f5662dee] - meta: bump codecov/codecov-action from 4.3.1 to 4.4.1 (dependabot[bot]) #53244
  • [e079967eb4] - meta: remove initializeCommand from devcontainer (Aviv Keller) #53137
  • [3afeced572] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #53065
  • [4b9cdea8a6] - Revert "module: have a single hooks thread for all workers" (Matteo Collina) #53183
  • [b5c30e2f5e] - (SEMVER-MINOR) module: print amount of load time of a cjs module (Vinicius Lourenço) #52213
  • [4cdb05a7a2] - module: do not set CJS variables for Worker eval (Antoine du Hamel) #53050
  • [a0766bdf0e] - (SEMVER-MINOR) net: add new net.server.listen tracing channel (Paolo Insogna) #53136
  • [374743cd4e] - (SEMVER-MINOR) process: add process.getBuiltinModule(id) (Joyee Cheung) #52762
  • [e66eb376a0] - repl: fix await object patterns without values (Luke Haas) #53331
  • [cb1329a8cf] - src: use v8::(Des|S)erializeInternalFieldsCallback (Joyee Cheung) #53217
  • [1886fe99af] - src: use __FUNCSIG__ on Windows in backtrace (Joyee Cheung) #53135
  • [3bfce6c816] - src: use new V8 API to define stream accessor (Igor Sheludko) #53084
  • [11f790d911] - src: do not use deprecated V8 API (ishell) #53084
  • [6b1731cbcc] - src: convert all endian checks to constexpr (Tobias Nießen) #52974
  • [7aa9519ad4] - src: fix external module env and kDisableNodeOptionsEnv (Rafael Gonzaga) #52905
  • [838fe59787] - src: fix execArgv in worker (theanarkh) #53029
  • [4a2c6ff05d] - src: reduce unnecessary GetCwd calls (Yagiz Nizipli) #53064
  • [ec44965b49] - src: simplify node modules traverse path (Yagiz Nizipli) #53061
  • [190129b48e] - src: remove unused base64_table_url (Yagiz Nizipli) #53040
  • [d750a3c5c4] - src: remove calls to recently deprecated V8 APIs (Adam Klein) #52996
  • [f1890abb18] - src: replace deprecated GetImportAssertions V8 API (Michaël Zasso) #52997
  • [4347bd2acb] - src: improve node::Dotenv declarations (Tobias Nießen) #52973
  • [e26166f30b] - src,permission: handle process.chdir on pm (Rafael Gonzaga) #53175
  • [75e5612fae] - (SEMVER-MINOR) src,permission: --allow-wasi & prevent WASI exec (Rafael Gonzaga) #53124
  • [7c66b27407] - stream: micro-optimize writable condition (Orgad Shaneh) #53189
  • [a656cf6bc8] - stream: fix memory usage regression in writable (Orgad Shaneh) #53188
  • [0e85a84fdc] - test: fix test when compiled without engine support (Richard Lau) #53232
  • [cebbd83e47] - test: update TLS trace tests for OpenSSL >= 3.2 (Richard Lau) #53229
  • [45c1eb19f1] - Revert "test: skip v8-updates/test-linux-perf-logger" (Luke Albao) #52869
  • [c1138db3c1] - test: unskip v8-updates/test-linux-perf-logger (Luke Albao) #52869
  • [65b64cf0f1] - test: fix Windows native test suites (Stefan Stojanovic) #53173
  • [9a47792cd1] - test: skip test-setproctitle when ps is not available (Antoine du Hamel) #53104
  • [a371dea699] - test: increase allocation so it fails for the test (Adam Majer) #53099
  • [3ce7a9a1b5] - test: remove timers from test-tls-socket-close (Luigi Pinca) #53019
  • [494fa542af] - test: replace .substr with .slice (Antoine du Hamel) #53070
  • [3f7d55b7db] - test: add AbortController to knownGlobals (Luigi Pinca) #53020
  • [c61f909ab6] - test,doc: enable running embedtest for Windows (Vladimir Morozov) #52646
  • [2d1ecbf827] - test_runner: calculate executed lines using source map (Moshe Atlow) #53315
  • [d4f5f80f6c] - test_runner: handle file rename and deletion under watch mode (jakecastelli) #53114
  • [07c601e32f] - test_runner: refactor to use min/max of validateInteger (Deokjin Kim) #53148
  • [8c6dffc269] - (SEMVER-MINOR) test_runner: add snapshot testing (Colin Ihrig) #53169
  • [f6d2af8ee7] - (SEMVER-MINOR) test_runner: add context.fullName (Colin Ihrig) #53169
  • [7a67ecf161] - (SEMVER-MINOR) test_runner: support module mocking (Colin Ihrig) #52848
  • [3ff174f2bf] - test_runner: fix t.assert methods (Colin Ihrig) #53049
  • [e2211a07c2] - test_runner: avoid error when coverage line not found (Moshe Atlow) #53000
  • [c249289121] - test_runner,doc: align documentation with actual stdout/stderr behavior (Moshe Atlow) #53131
  • [5110b19a07] - tls: fix negative sessionTimeout handling (Tobias Nießen) #53002
  • [0ecb770331] - tools: remove no-goma arg from make-v8 script (Michaël Zasso) #53336
  • [e7f3a3c296] - tools: use sccache Github action (Moshe Atlow) #53316
  • [98cc094bc5] - tools: update eslint to 9.4.0 (Node.js GitHub Bot) #53298
  • [6409b1fe65] - tools: update gyp-next to 0.18.1 (Node.js GitHub Bot) #53251
  • [86e80dcb9b] - tools: move webcrypto into no-restricted-properties (Zihong Qu) #53023
  • [6022346f0e] - tools: update error message for Type Error (Aviv Keller) #53047
  • [c1b3e0ed6f] - Revert "tools: add --certify-safe to nci-ci" (Antoine du Hamel) #53098
  • [9f764a873c] - tools: update ESLint to v9 and use flat config (Michaël Zasso) #52780
  • [2859f4c027] - watch: fix variable naming (jakecastelli) #53101

2024-05-15, Version 22.2.0 (Current), @targos

Notable Changes

  • [fb85d38e80] - (SEMVER-MINOR) cli: allow running wasm in limited vmem with --disable-wasm-trap-handler (Joyee Cheung) #52766
  • [23a0d3339f] - doc: add pimterry to collaborators (Tim Perry) #52874
  • [7d7a762156] - (SEMVER-MINOR) fs: allow 'withFileTypes' to be used with globs (Aviv Keller) #52837
  • [8748dd6477] - (SEMVER-MINOR) inspector: introduce the --inspect-wait flag (Kohei Ueno) #52734
  • [9a7ae9b6c4] - lib,src: remove --experimental-policy (Rafael Gonzaga) #52583
  • [1f7c2a93fc] - (SEMVER-MINOR) perf_hooks: add deliveryType and responseStatus fields (Matthew Aitken) #51589
  • [2f59529dc5] - (SEMVER-MINOR) test_runner: support test plans (Colin Ihrig) #52860
  • [6b4dac3eb5] - (SEMVER-MINOR) zlib: expose zlib.crc32() (Joyee Cheung) #52692

Commits

  • [0f5716c364] - assert: add deep equal check for more Error type (Zhenwei Jin) #51805
  • [2c7d7caa8a] - benchmark: filter non-present deps from start-cli-version (Adam Majer) #51746
  • [5db4c54bd6] - bootstrap: print --help message using console.log (Jacob Hummer) #51463
  • [67fcb6b85e] - buffer: even faster atob (Daniel Lemire) #52443
  • [a5d63f9052] - buffer: use size_t instead of uint32_t to avoid segmentation fault (Xavier Stouder) #48033
  • [f1bc994826] - buffer: remove lines setting indexes to integer value (Zhenwei Jin) #52588
  • [a97ff753ab] - build: add option to enable clang-cl on Windows (Michaël Zasso) #52870
  • [f96466a92c] - build: enable building with shared uvwasi lib (Pooja D P) #43987
  • [b463385aa8] - build: remove deprecated calls for argument groups (Mohammed Keyvanzadeh) #52913
  • [daeb7dbb3e] - build: sync V8 warning cflags with BUILD.gn (Michaël Zasso) #52873
  • [eed967430d] - build: harmonize Clang checks (Michaël Zasso) #52873
  • [e4b187433d] - build: compile with C++20 support (Michaël Zasso) #52838
  • [aea6ca25ba] - build: drop base64 dep in GN build (Cheng) #52856
  • [7f866a8225] - build: make simdjson a public dep in GN build (Cheng) #52755
  • [e1bd53c098] - build: define NOMINMAX in common.gypi (Chengzhong Wu) #52794
  • [18c530f8f7] - build, tools: copy release assets to staging R2 bucket once built (flakey5) #51394
  • [fb85d38e80] - (SEMVER-MINOR) cli: allow running wasm in limited vmem with --disable-wasm-trap-handler (Joyee Cheung) #52766
  • [11e978916f] - cluster: replace forEach with for-of loop (Jérôme Benoit) #50317
  • [db76c58d68] - console: colorize console error and warn (Jithil P Ponnan) #51629
  • [0d040a3035] - crypto: fix duplicated switch-case return values (Mustafa Ateş UZUN) #49030
  • [ab7219f0b2] - deps: update googletest to fa6de7f (Node.js GitHub Bot) #52949
  • [4ab096eccc] - deps: update simdjson to 3.9.2 (Node.js GitHub Bot) #52947
  • [89f275b1df] - deps: update corepack to 0.28.1 (Node.js GitHub Bot) #52946
  • [fc568b4b42] - deps: update simdutf to 5.2.8 (Node.js GitHub Bot) #52727
  • [e399360182] - deps: update simdutf to 5.2.6 (Node.js GitHub Bot) #52727
  • [232831f013] - deps: enable unbundling of simdjson, simdutf, ada (Daniel Lemire) #52924
  • [7ca83a5abc] - deps: update googletest to 2d16ed0 (Node.js GitHub Bot) #51657
  • [3b15eb5911] - deps: update googletest to d83fee1 (Node.js GitHub Bot) #51657
  • [4190d70035] - deps: update googletest to 5a37b51 (Node.js GitHub Bot) #51657
  • [7a166a2871] - deps: update googletest to 5197b1a (Node.js GitHub Bot) #51657
  • [812dbd749f] - deps: update googletest to eff443c (Node.js GitHub Bot) #51657
  • [cb3ae4b9ef] - deps: update googletest to c231e6f (Node.js GitHub Bot) #51657
  • [d97317aaa1] - deps: update googletest to e4fdb87 (Node.js GitHub Bot) #51657
  • [ad8ca1259f] - deps: update googletest to 5df0241 (Node.js GitHub Bot) #51657
  • [828f0d7096] - deps: update googletest to b75ecf1 (Node.js GitHub Bot) #51657
  • [3b60dbcf7b] - deps: update googletest to 4565741 (Node.js GitHub Bot) #51657
  • [37098eb880] - deps: update simdjson to 3.9.1 (Node.js GitHub Bot) #52397
  • [a13cf1c049] - deps: update uvwasi to 0.0.21 (Node.js GitHub Bot) #52863
  • [faf8ada719] - deps: V8: cherry-pick f6bef09b3b0a (Richard Lau) #52802
  • [8e5844c2a4] - doc: remove reference to AUTHORS file (Marco Ippolito) #52960
  • [1f3634e30f] - doc: update hljs with the latest styles (Aviv Keller) #52911
  • [9102255749] - doc: mention quicker way to build docs (Alex Crawford) #52937
  • [15db3ef5fb] - doc: mention push.followTags config (Rafael Gonzaga) #52906
  • [80fa675af2] - doc: document pipeline with end option (Alois Klink) #48970
  • [c0000f4118] - doc: add example for execFileSync method and ref to stdio (Evan Shortiss) #39412
  • [e0148e2653] - doc: add examples and notes to http server.close et al (mary marchini) #49091
  • [030f56ee6d] - doc: fix dns.lookup family 0 and all descriptions (Adam Jones) #51653
  • [a6d624cd5a] - doc: update fs.realpath documentation (sinkhaha) #48170
  • [5dab187ca8] - doc: update fs read documentation for clarity (Mert Can Altin) #52453
  • [5d3ee7205d] - doc: watermark string behavior (Benjamin Gruenbaum) #52842
  • [2dd8f092a8] - doc: exclude commits with baking-for-lts (Marco Ippolito) #52896
  • [0c2539b913] - doc: add names next to release key bash commands (Aviv Keller) #52878
  • [23a0d3339f] - doc: add pimterry to collaborators (Tim Perry) #52874
  • [15aad62e0c] - doc: update BUILDING.md previous versions links (Michaël Zasso) #52852
  • [f770a993d4] - doc: add more definitions to GLOSSARY.md (Aviv Keller) #52798
  • [f35b838a65] - doc: make docs more welcoming and descriptive for newcomers (Serkan Özel) #38056
  • [562a019a14] - doc: add OpenSSL errors to API docs (John Lamp) #34213
  • [0cb7cf7aa9] - doc: fix grammatical mistake (codershiba) #52808
  • [a0147ff8d0] - doc: simplify copy-pasting of branch-diff commands (Antoine du Hamel) #52757
  • [fce31fc829] - doc: add test_runner to subsystem (Raz Luvaton) #52774
  • [ca5607bbc8] - events: update MaxListenersExceededWarning message log (sinkhaha) #51921
  • [96566fc696] - events: add stop propagation flag to Event.stopImmediatePropagation (Mickael Meausoone) #39463
  • [5ee69243ed] - events: replace NodeCustomEvent with CustomEvent (Feng Yu) #43876
  • [f076e721cb] - fs: keep fs.promises.readFile read until EOF is reached (Zhenwei Jin) #52178
  • [7d7a762156] - (SEMVER-MINOR) fs: allow 'withFileTypes' to be used with globs (Aviv Keller) #52837
  • [ad9c4bddb1] - http: correctly translate HTTP method (Paolo Insogna) #52701
  • [8748dd6477] - (SEMVER-MINOR) inspector: introduce the --inspect-wait flag (Kohei Ueno) #52734
  • [9a7ae9b6c4] - lib,src: remove --experimental-policy (Rafael Gonzaga) #52583
  • [a850219600] - meta: move @anonrig to TSC regular member (Yagiz Nizipli) #52932
  • [4dc8a387b3] - meta: add mailmap entry for legendecas (Chengzhong Wu) #52795
  • [d10182d81d] - meta: bump actions/checkout from 4.1.1 to 4.1.4 (dependabot[bot]) #52787
  • [48d0ac0665] - meta: bump github/codeql-action from 3.24.9 to 3.25.3 (dependabot[bot]) #52786
  • [7c7a25150e] - meta: bump actions/upload-artifact from 4.3.1 to 4.3.3 (dependabot[bot]) #52785
  • [d9abf18342] - meta: bump actions/download-artifact from 4.1.4 to 4.1.7 (dependabot[bot]) #52784
  • [590e5c6c45] - meta: bump codecov/codecov-action from 4.1.1 to 4.3.1 (dependabot[bot]) #52783
  • [b3d1720515] - meta: bump step-security/harden-runner from 2.7.0 to 2.7.1 (dependabot[bot]) #52782
  • [f74beb53de] - module: cache synchronous module jobs before linking (Joyee Cheung) #52868
  • [8fbf6628d6] - module: have a single hooks thread for all workers (Gabriel Bota) #52706
  • [609d90bb4b] - path: fix toNamespacedPath on Windows (Hüseyin Açacak) #52915
  • [1f7c2a93fc] - (SEMVER-MINOR) perf_hooks: add deliveryType and responseStatus fields (Matthew Aitken) #51589
  • [0bbc62c42a] - process: improve event-loop (Aras Abbasi) #52108
  • [619ac79abb] - quic: address coverity warning (Michael Dawson) #52824
  • [04de5766ee] - repl: fix disruptive autocomplete without inspector (Nitzan Uziely) #40661
  • [663bb973ab] - src: fix Worker termination in inspector.waitForDebugger (Daeyeon Jeong) #52527
  • [fca38b2d6e] - src: use S_ISDIR to check if the file is a directory (theanarkh) #52164
  • [b228db579f] - src: allow preventing debug signal handler start (Shelley Vohr) #46681
  • [ace65a9aac] - src: make sure pass the argv to worker threads (theanarkh) #52827
  • [75004d32ab] - src: fix typo Unabled -> Unable (Simon Siefke) #52820
  • [c40a8273ef] - src: avoid unused variable 'error' warning (Michaël Zasso) #52886
  • [d169d0f181] - src: fix positional args in task runner (Yagiz Nizipli) #52810
  • [9c76c95c10] - src: only apply fix in main thread (Paolo Insogna) #52702
  • [e1cba97df3] - src: fix test local edge case (Paolo Insogna) #52702
  • [dc41c135d7] - src: reduce unnecessary serialization of CLI options in C++ (Joyee Cheung) #52451
  • [fb24c4475c] - src: rewrite task runner in c++ (Yagiz Nizipli) #52609
  • [323f95de9e] - src: migrate to new V8 interceptors API (Michaël Zasso) #52745
  • [850ff02931] - src,permission: resolve path on fs_permission (Rafael Gonzaga) #52761
  • [8d3b0b7ade] - stream: use ByteLengthQueuingStrategy when not in objectMode (Jason) #48847
  • [fa715437b0] - stream: fix util.inspect for compression/decompressionStream (Mert Can Altin) #52283
  • [b0e6a6b3d5] - string_decoder: throw an error when writing a too long buffer (zhenweijin) #52215
  • [e016e952e6] - test: add Debugger.setInstrumentationBreakpoint known issue (Konstantin Ulitin) #31137
  • [a589de0886] - test: use for-of instead of forEach (Gibby Free) #49790
  • [578868ddf8] - test: verify request payload is uploaded consistently (Austin Wright) #34066
  • [c676e522e6] - test: add fuzzer for native/js string conversion (Adam Korczynski) #51120
  • [5f6415b41d] - test: add fuzzer for ClientHelloParser (AdamKorcz) #51088
  • [4d50d51a5e] - test: fix broken env fuzzer by initializing process (AdamKorcz) #51080
  • [cd00cdcbc8] - test: replace forEach() in test-stream-pipe-unpipe-stream (Dario) #50786
  • [5469adf458] - test: test pipeline end on transform streams (Alois Klink) #48970
  • [ea6070b0e8] - test: improve coverage of lib/readline.js (Rongjian Zhang) #38646
  • [4f96b00307] - test: updated for each to for of in test file (lyannel) #50308
  • [5d91cf1976] - test: move test-http-server-request-timeouts-mixed to sequential (Madhuri) #45722
  • [f47e8fccbb] - test: fix DNS cancel tests (Szymon Marczak) #44432
  • [0b073f885a] - test: add http agent to executionAsyncResource (psj-tar-gz) #34966
  • [fbce3178ba] - test: reduce memory usage of test-worker-stdio (Adam Majer) #37769
  • [1f8eaec454] - test: add common.expectRequiredModule() (Joyee Cheung) #52868
  • [5e731da572] - test: skip unstable shadow realm gc tests (Chengzhong Wu) #52855
  • [30a35ae522] - test: crypto-rsa-dsa testing for dynamic openssl (Michael Dawson) #52781
  • [968fe6a8b1] - test: skip some console tests on dumb terminal (Adam Majer) #37770
  • [1448959e0d] - test: skip v8-updates/test-linux-perf-logger (Michaël Zasso) #52821
  • [30a4248b48] - test: add env variable test for --run (Yagiz Nizipli) #52811
  • [edb4ed3bc9] - test: drop test-crypto-timing-safe-equal-benchmarks (Rafael Gonzaga) #52751
  • [944ae598b5] - test, crypto: use correct object on assert (响马) #51820
  • [a814e720fa] - test_runner: fix watch mode race condition (Moshe Atlow) #52954
  • [2f59529dc5] - (SEMVER-MINOR) test_runner: support test plans (Colin Ihrig) #52860
  • [3267b3c063] - test_runner: display failed test stack trace with dot reporter (Mihir Bhansali) #52655
  • [b96868b4e7] - test_runner: preserve hook promise when executed twice (Moshe Atlow) #52791
  • [74341ba3c9] - tools: fix v8-update workflow (Michaël Zasso) #52957
  • [afe39ed0df] - tools: add --certify-safe to nci-ci (Matteo Collina) #52940
  • [bb97e1ccdd] - tools: fix doc update action (Marco Ippolito) #52890
  • [c6043fe6c8] - tools: fix get_asan_state() in tools/test.py (Joyee Cheung) #52766
  • [6e71accc5f] - tools: support max_virtual_memory test configuration (Joyee Cheung) #52766
  • [1600bdac60] - tools: support != in test status files (Joyee Cheung) #52766
  • [8ce23dc9f3] - tools: update gyp-next to 0.18.0 (Node.js GitHub Bot) #52835
  • [c5f832adc0] - tools: update gyp-next to 0.17.0 (Node.js GitHub Bot) #52835
  • [646a094782] - tools: prepare custom rules for ESLint v9 (Michaël Zasso) #52889
  • [505566347d] - tools: update lint-md-dependencies to rollup@4.17.2 (Node.js GitHub Bot) #52836
  • [466e0c1321] - tools: update gr2m/create-or-update-pull-request-action (Antoine du Hamel) #52843
  • [ce7a751ad1] - tools: use sccache GitHub action (Michaël Zasso) #52839
  • [1ee38a5ec1] - tools: specify a commit-message for V8 update workflow (Antoine du Hamel) #52844
  • [317998a1e8] - tools: fix V8 update workflow (Antoine du Hamel) #52822
  • [ef6a2101e2] - url,tools,benchmark: replace deprecated substr() (Jungku Lee) #51546
  • [0deef2d2b1] - util: fix %s format behavior with Symbol.toPrimitive (Chenyu Yang) #50992
  • [a42b93b9aa] - util: improve isInsideNodeModules (uzlopak) #52147
  • [d71e16154a] - watch: allow listening for grouped changes (Matthieu Sieben) #52722
  • [e895f7cf32] - watch: enable passthrough ipc in watch mode (Zack) #50890
  • [f5d925706a] - watch: fix arguments parsing (Moshe Atlow) #52760
  • [6b4dac3eb5] - (SEMVER-MINOR) zlib: expose zlib.crc32() (Joyee Cheung) #52692

2024-05-02, Version 22.1.0 (Current), @targos prepared by @aduh95

module: implement NODE_COMPILE_CACHE for automatic on-disk code caching

This patch implements automatic on-disk code caching that can be enabled via an environment variable NODE_COMPILE_CACHE=/path/to/cache/dir.

When set, whenever Node.js compiles a CommonJS or a ECMAScript Module, it will use on-disk V8 code cache persisted in the specified directory to speed up the compilation. This may slow down the first load of a module graph, but subsequent loads of the same module graph may get a significant speedup if the contents of the modules do not change. Locally, this speeds up loading of test/fixtures/snapshot/typescript.js from ~130ms to ~80ms.

To clean up the generated code cache, simply remove the directory. It will be recreated the next time the same directory is used for NODE_COMPILE_CACHE.

Compilation cache generated by one version of Node.js may not be used by a different version of Node.js. Cache generated by different versions of Node.js will be stored separately if the same directory is used to persist the cache, so they can co-exist.

Caveat: currently when using this with V8 JavaScript code coverage, the coverage being collected by V8 may be less precise in functions that are deserialized from the code cache. It's recommended to turn this off when running tests to generate precise coverage.

Contributed by Joyee Cheung in #52535.

Other Notable Changes

  • [44ee04cf9f] - buffer: improve base64 and base64url performance (Yagiz Nizipli) #52428
  • [3c37ce5710] - (SEMVER-MINOR) dns: add order option and support ipv6first (Paolo Insogna) #52492
  • [3026401be1] - events,doc: mark CustomEvent as stable (Daeyeon Jeong) #52618
  • [64428dc1c9] - (SEMVER-MINOR) lib, url: add a windows option to path parsing (Aviv Keller) #52509
  • [d79ae74f71] - (SEMVER-MINOR) net: add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) #52474
  • [43fa6a1a45] - (SEMVER-MINOR) src: add string_view overload to snapshot FromBlob (Anna Henningsen) #52595
  • [c6fe433d42] - src,permission: throw async errors on async APIs (Rafael Gonzaga) #52730
  • [e247a61d15] - (SEMVER-MINOR) test_runner: add --test-skip-pattern cli option (Aviv Keller) #52529
  • [9b18df9dcb] - (SEMVER-MINOR) url: implement parse method for safer URL parsing (Ali Hassan) #52280

Commits

  • [35643c18c0] - benchmark: reduce the buffer size for blob (Debadree Chatterjee) #52548
  • [7cdfe8a3fc] - benchmark: inherit stdio/stderr instead of pipe (Ali Hassan) #52456
  • [7b82c17f22] - benchmark: add ipc support to spawn stdio config (Ali Hassan) #52456
  • [dfda6fed61] - buffer: add missing ARG_TYPE(ArrayBuffer) for isUtf8 (Jungku Lee) #52477
  • [44ee04cf9f] - buffer: improve base64 and base64url performance (Yagiz Nizipli) #52428
  • [c64a1a3b89] - build: fix typo in node.gyp (Michaël Zasso) #52719
  • [4f713fbc2e] - build: fix headers install for shared mode on Win (Segev Finer) #52442
  • [4baeb7b21d] - build: fix arm64 cross-compilation bug on non-arm machines (Mahdi Sharifi) #52559
  • [d5cd468ce8] - build,tools,node-api: fix building node-api tests for Windows Debug (Vladimir Morozov) #52632
  • [910533fcfd] - crypto: simplify assertions in Safe*Print (David Benjamin) #49709
  • [61e1ac0b8c] - crypto: enable NODE_EXTRA_CA_CERTS with BoringSSL (Shelley Vohr) #52217
  • [6e98eee256] - deps: upgrade npm to 10.7.0 (npm team) #52767
  • [27a5f9418c] - deps: V8: cherry-pick 500de8bd371b (Richard Lau) #52676
  • [3b422ddcea] - deps: update corepack to 0.28.0 (Node.js GitHub Bot) #52616
  • [d40e4d4c42] - deps: update ada to 2.7.8 (Node.js GitHub Bot) #52517
  • [5b52a4870a] - deps: update icu to 75.1 (Node.js GitHub Bot) #52573
  • [80cbe72c1f] - deps: update undici to 6.13.0 (Node.js GitHub Bot) #52493
  • [9a44059055] - deps: update zlib to 1.3.0.1-motley-7d77fb7 (Node.js GitHub Bot) #52516
  • [d67a9a5360] - deps: update minimatch to 9.0.4 (Node.js GitHub Bot) #52524
  • [8738b89971] - deps: upgrade npm to 10.5.2 (npm team) #52458
  • [8e4fd2842b] - deps,src: simplify base64 encoding (Daniel Lemire) #52714
  • [3c37ce5710] - (SEMVER-MINOR) dns: add order option and support ipv6first (Paolo Insogna) #52492
  • [3987a28a9e] - doc: update process.versions properties (ishabi) #52736
  • [c0b58e07f1] - doc: remove mold use on mac for speeding up build (Cong Zhang) #52252
  • [9a032cf6e2] - doc: remove relative limitation to pm (Rafael Gonzaga) #52648
  • [90c6e77238] - doc: fix info string causing duplicated code blocks (Mathieu Leenhardt) #52660
  • [4d577fa048] - doc: add .gitattributes for md files (Hüseyin Açacak) #52161
  • [04c8e110e5] - doc: run license-builder (github-actions[bot]) #52631
  • [3552829594] - doc: add info on contributor spotlight program (Michael Dawson) #52598
  • [eeb80ad836] - doc: correct unsafe URL example in http docs (Malte Legenhausen) #52555
  • [c83526a688] - doc: replace U+00A0 with U+0020 (Luigi Pinca) #52590
  • [31831e9db8] - doc: sort options alphabetically (Luigi Pinca) #52589
  • [a93f5d4aaa] - doc: correct stream.finished changes (KaKa) #52551
  • [27ffa35540] - doc: add RedYetiDev to triage team (Aviv Keller) #52556
  • [63cc2b870e] - doc: fix issue detected in markdown lint update (Rich Trott) #52566
  • [7e93c4892b] - doc: update test runner coverage limitations (Moshe Atlow) #52515
  • [3026401be1] - events,doc: mark CustomEvent as stable (Daeyeon Jeong) #52618
  • [c6e0fe2f22] - fs: allow setting Stat date properties (Nicolò Ribaudo) #52708
  • [f23fa1de72] - fs: fix read / readSync positional offset types (Ruy Adorno) #52603
  • [a7e03d301a] - fs: fixes recursive fs.watch crash on Linux when deleting files (Matteo Collina) #52349
  • [d5ecb6cd00] - http2: fix excessive CPU usage when using allowHTTP1=true (Eugene) #52713
  • [d1adc9b140] - lib: enforce ASCII order in error code imports (Antoine du Hamel) #52625
  • [9ffdcade37] - lib: use predefined variable instead of bit operation (Deokjin Kim) #52580
  • [fdcde845ee] - lib: refactor lazy loading of undici for fetch method (Victor Chen) #52275
  • [f6145aa2ca] - lib: convert WeakMaps in cjs loader with private symbol properties (Chengzhong Wu) #52095
  • [014bf01efc] - lib: replace string prototype usage with alternatives (Aviv Keller) #52440
  • [dc399ddd03] - lib, doc: rename readme.md to README.md (Aviv Keller) #52471
  • [64428dc1c9] - (SEMVER-MINOR) lib, url: add a windows option to path parsing (Aviv Keller) #52509
  • [9b2b6abb62] - lib,src: iterate module requests of a module wrap in JS (Chengzhong Wu) #52058
  • [896a80e366] - meta: standardize regex (Aviv Keller) #52693
  • [20c07e922e] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #52633
  • [e70d8a4fa9] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #52457
  • [20ab8f2a88] - module: support ESM detection in the CJS loader (Joyee Cheung) #52047
  • [544c602b75] - module: skip NODE_COMPILE_CACHE when policy is enabled (Joyee Cheung) #52577
  • [3df3afc284] - module: detect ESM syntax by trying to recompile as SourceTextModule (Joyee Cheung) #52413
  • [4d77fd2c46] - (SEMVER-MINOR) module: implement NODE_COMPILE_CACHE for automatic on-disk code caching (Joyee Cheung) #52535
  • [9794d21b07] - module: fix submodules loaded by require() and import() (Joyee Cheung) #52487
  • [b00766d9e7] - module: tidy code and comments (Jacob Smith) #52437
  • [d79ae74f71] - (SEMVER-MINOR) net: add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) #52474
  • [b17cfea289] - node-api: address coverity report (Michael Dawson) #52584
  • [1fca8baac1] - node-api: copy external type tags when they are set (Niels Martignène) #52426
  • [d086ab42a1] - quic: address recent coverity warnings (Michael Dawson) #52647
  • [fb4edf70cf] - quic: rework TLSContext, additional cleanups (James M Snell) #51340
  • [0c58d0319b] - src: remove misplaced windows code under posix guard in node.cc (Ali Hassan) #52545
  • [e20d2f1de3] - src: cast to v8::Value before using v8::EmbedderGraph::V8Node (Joyee Cheung) #52638
  • [43fa6a1a45] - (SEMVER-MINOR) src: add string_view overload to snapshot FromBlob (Anna Henningsen) #52595
  • [a56faff4d0] - src: parse inspector profiles with simdjson (Joyee Cheung) #51783
  • [ac04c6434a] - src: remove regex usage for env file parsing (IlyasShabi) #52406
  • [f283d27285] - src: fix loadEnvFile ENOENT error (mathis-west-1) #52438
  • [c6fe433d42] - src,permission: throw async errors on async APIs (Rafael Gonzaga) #52730
  • [9f9eca965a] - stream: update ongoing promise in async iterator return() method (Mattias Buelens) #52657
  • [d568a9a38e] - test: mark test-error-serdes as flaky (Antoine du Hamel) #52739
  • [45f7002b90] - test: mark test as flaky (Michael Dawson) #52671
  • [10596e20e8] - test: fix backtick usage in docs (Aviv Keller) #52643
  • [b2f754c9f1] - test: skip test-fs-watch-recursive-delete.js on IBM i (Abdirahim Musse) #52645
  • [ed080d868d] - test: ensure that all worker servers are ready (Luigi Pinca) #52563
  • [c8c61737e4] - test: fix test-tls-ticket-cluster.js (Hüseyin Açacak) #52431
  • [18aa5d6640] - test: split wasi poll test for windows (Hüseyin Açacak) #52538
  • [e34e0a9ba1] - test: write tests for assertIsArray http2 util (Sinan Sonmez (Chaush)) #52511
  • [e247a61d15] - (SEMVER-MINOR) test_runner: add --test-skip-pattern cli option (Aviv Keller) #52529
  • [e066ba2ae4] - test_runner: better error handing for test hook (Alex Yang) #52401
  • [328755341d] - test_runner: don't exceed call stack when filtering (Colin Ihrig) #52488
  • [b4ccb6c626] - test_runner: move end of work check to finalize() (Colin Ihrig) #52488
  • [2ef9380472] - tools: update lint-md-dependencies to rollup@4.17.0 (Node.js GitHub Bot) #52729
  • [db421bdefc] - tools: take co-authors into account in find-inactive-collaborators (Antoine du Hamel) #52669
  • [01103a85cb] - tools: fix invalid escape sequence in mkssldef (Michaël Zasso) #52624
  • [382d951b01] - tools: update lint-md-dependencies to rollup@4.15.0 (Node.js GitHub Bot) #52617
  • [f9ddd77ff3] - tools: add lint rule to keep primordials in ASCII order (Antoine du Hamel) #52592
  • [552642a498] - tools: update lint-md-dependencies (Rich Trott) #52581
  • [df61feb655] - tools: fix heading spaces for osx-entitlements.plist (Jackson Tian) #52561
  • [6b4bbfbb1f] - tools: update lint-md-dependencies to rollup@4.14.2 vfile-reporter@8.1.1 (Node.js GitHub Bot) #52518
  • [4e5ce3afb7] - tools: use stylistic ESLint plugin for formatting (Michaël Zasso) #50714
  • [15c5686381] - tools: update minimatch index path (Marco Ippolito) #52523
  • [8ae1507ae1] - tools: add a linter for README lists (Antoine du Hamel) #52476
  • [0b970316bc] - typings: fix invalid JSDoc declarations (Yagiz Nizipli) #52659
  • [9b18df9dcb] - (SEMVER-MINOR) url: implement parse method for safer URL parsing (Ali Hassan) #52280
  • [d33131af3a] - vm: fix ASCII-betical order (Aviv Keller) #52686

2024-04-24, Version 22.0.0 (Current), @RafaelGSS and @marco-ippolito

We're excited to announce the release of Node.js 22! Highlights include require()ing ESM graphs, WebSocket client, updates of the V8 JavaScript engine, and more! As a reminder, Node.js 22 will enter long-term support (LTS) in October, but until then, it will be the "Current" release for the next six months. We encourage you to explore the new features and benefits offered by this latest release and evaluate their potential impact on your applications.

Other Notable Changes

  • [25c79f3331] - esm: drop support for import assertions (Nicolò Ribaudo) #52104
  • [818c10e86d] - lib: improve perf of AbortSignal creation (Raz Luvaton) #52408
  • [4f68c7c1c9] - watch: mark as stable (Moshe Atlow) #52074
  • [02b0bc01fe] - (SEMVER-MAJOR) deps: update V8 to 12.4.254.14 (Michaël Zasso) #52465
  • [c975384264] - (SEMVER-MAJOR) lib: enable WebSocket by default (Aras Abbasi) #51594
  • [1abff07392] - (SEMVER-MAJOR) stream: bump default highWaterMark (Robert Nagy) #52037
  • [1a5acd0638] - (SEMVER-MAJOR) v8: enable maglev on supported architectures (Keyhan Vakil) #51360
  • [128c60d906] - (SEMVER-MINOR) cli: implement node --run <script-in-package-json> (Yagiz Nizipli) #52190
  • [151d365ad1] - (SEMVER-MINOR) fs: expose glob and globSync (Moshe Atlow) #51912
  • [5f7fad2605] - (SEMVER-MINOR) module: support require()ing synchronous ESM graphs (Joyee Cheung) #51977

Semver-Major Commits

  • [2b1e7c2fcb] - (SEMVER-MAJOR) build: compile with C++20 support on Windows (StefanStojanovic) #52465
  • [12d00f1479] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #52465
  • [5f08e11a3c] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #52293
  • [94f0369d1d] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #51362
  • [58674cd1d8] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #50115
  • [60e836427e] - (SEMVER-MAJOR) console: treat non-strings as separate argument in console.assert() (Jacob Hummer) #49722
  • [d62ab3a1ef] - (SEMVER-MAJOR) crypto: runtime deprecate hmac constructor (Marco Ippolito) #52071
  • [de0602d190] - (SEMVER-MAJOR) crypto: runtime deprecate Hash constructor (Marco Ippolito) #51880
  • [215f4d04b7] - (SEMVER-MAJOR) crypto: move createCipher and createDecipher to eol (Marco Ippolito) #50973
  • [30801b8aaf] - (SEMVER-MAJOR) deps: V8: cherry-pick cd10ad7cdbe5 (Joyee Cheung) #52465
  • [521b629ab1] - (SEMVER-MAJOR) deps: V8: revert CL 5331688 (Michaël Zasso) #52465
  • [3795e97e6c] - (SEMVER-MAJOR) deps: patch V8 to support compilation with MSVC (StefanStojanovic) #52465
  • [5bde9e677d] - (SEMVER-MAJOR) deps: silence internal V8 deprecation warning (Michaël Zasso) #52465
  • [46e628c6f2] - (SEMVER-MAJOR) deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #52465
  • [f824e40a82] - (SEMVER-MAJOR) deps: remove usage of a C++20 feature from V8 (Michaël Zasso) #52465
  • [d2c84c9a13] - (SEMVER-MAJOR) deps: avoid compilation error with ASan (Michaël Zasso) #52465
  • [95d6045bdb] - (SEMVER-MAJOR) deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #52465
  • [00f55f5743] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) #52465
  • [764085aa66] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #52465
  • [02b0bc01fe] - (SEMVER-MAJOR) deps: update V8 to 12.4.254.14 (Michaël Zasso) #52465
  • [0ec50a19dd] - (SEMVER-MAJOR) deps: V8: cherry-pick cd10ad7cdbe5 (Joyee Cheung) #52293
  • [021b0b7dee] - (SEMVER-MAJOR) deps: V8: backport c4be0a97f981 (Richard Lau) #52293
  • [681aaf85c7] - (SEMVER-MAJOR) deps: silence internal V8 deprecation warning (Michaël Zasso) #52293
  • [c563a1c4e4] - (SEMVER-MAJOR) deps: patch V8 to support compilation with MSVC (Stefan Stojanovic) #52293
  • [11e94b9987] - (SEMVER-MAJOR) deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #52293
  • [856163e23c] - (SEMVER-MAJOR) deps: remove usage of a C++20 feature from V8 (Michaël Zasso) #52293
  • [b530214127] - (SEMVER-MAJOR) deps: avoid compilation error with ASan (Michaël Zasso) #52293
  • [8054f69dd9] - (SEMVER-MAJOR) deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #52293
  • [dee908be42] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) #52293
  • [cf069414ee] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #52293
  • [cc5792dd85] - (SEMVER-MAJOR) deps: update V8 to 12.3.219.16 (Michaël Zasso) #52293
  • [61a0d3b4c4] - (SEMVER-MAJOR) deps: V8: backport c4be0a97f981 (Richard Lau) #51362
  • [f55380a725] - (SEMVER-MAJOR) deps: V8: cherry-pick f8d5e576b814 (Richard Lau) #51362
  • [b9d806a2dd] - (SEMVER-MAJOR) deps: patch V8 to support compilation with MSVC (StefanStojanovic) #51362
  • [63b58bc17b] - (SEMVER-MAJOR) deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #51362
  • [86056353c4] - (SEMVER-MAJOR) deps: remove usage of a C++20 feature from V8 (Michaël Zasso) #51362
  • [2e0efc1c8d] - (SEMVER-MAJOR) deps: avoid compilation error with ASan (Michaël Zasso) #51362
  • [59e6f62e34] - (SEMVER-MAJOR) deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #51362
  • [0423f7e27e] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) #51362
  • [f36620806d] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #51362
  • [09a8440b45] - (SEMVER-MAJOR) deps: update V8 to 12.2.281.27 (Michaël Zasso) #51362
  • [0da3beebfc] - (SEMVER-MAJOR) deps: V8: cherry-pick de611e69ad51 (Keyhan Vakil) #50115
  • [b982335637] - (SEMVER-MAJOR) deps: V8: cherry-pick 0fd478bcdabd (Joyee Cheung) #50115
  • [481a90116c] - (SEMVER-MAJOR) deps: V8: cherry-pick 0f9ebbc672c7 (Chengzhong Wu) #50115
  • [782addbdc3] - (SEMVER-MAJOR) deps: V8: cherry-pick 8f0b94671ddb (Lu Yahan) #50115
  • [b682e7f540] - (SEMVER-MAJOR) deps: V8: cherry-pick f7d000a7ae7b (Luke Albao) #50115
  • [a60090c52f] - (SEMVER-MAJOR) deps: V8: cherry-pick 25902244ad1a (Joyee Cheung) #50115
  • [8441d1fc18] - (SEMVER-MAJOR) deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #50115
  • [e8e9bbd7a9] - (SEMVER-MAJOR) deps: remove usage of a C++20 feature from V8 (Michaël Zasso) #50115
  • [785d5cd006] - (SEMVER-MAJOR) deps: avoid compilation error with ASan (Michaël Zasso) #50115
  • [7071c1dafd] - (SEMVER-MAJOR) deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #50115
  • [d1d60b297d] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) #50115
  • [5b240c62f9] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #50115
  • [d8c97e4857] - (SEMVER-MAJOR) deps: update V8 to 11.9.169.7 (Michaël Zasso) #50115
  • [b9df88a8c2] - (SEMVER-MAJOR) doc: runtime deprecate flag --trace-atomics-wait (marco-ippolito) #51179
  • [9ba5df30b4] - (SEMVER-MAJOR) doc: bump FreeBSD experimental support to 13.2 (Michaël Zasso) #51231
  • [900d79caf2] - (SEMVER-MAJOR) doc: add migration paths for deprecated utils (Marco Ippolito) #50488
  • [8206f6bb7f] - (SEMVER-MAJOR) fs: runtime deprecate fs.Stats constructor (Marco Ippolito) #52067
  • [c14133503a] - (SEMVER-MAJOR) fs: use private fields instead of symbols for Dir (Jungku Lee) #51037
  • [abbdc3efaa] - (SEMVER-MAJOR) fs: make stats date fields lazy (Yagiz Nizipli) #50908
  • [4b76ccea95] - (SEMVER-MAJOR) http: preserve raw header duplicates in writeHead after setHeader calls (Tim Perry) #50394
  • [c975384264] - (SEMVER-MAJOR) lib: enable WebSocket by default (Aras Abbasi) #51594
  • [351495e938] - (SEMVER-MAJOR) lib,test: handle new Iterator global (Michaël Zasso) #51362
  • [a8b21fdc90] - (SEMVER-MAJOR) process: wait for 'exit' before printing result (Antoine du Hamel) #52172
  • [582ff5037c] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 127 (Michaël Zasso) #52465
  • [c5c4b50260] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 126 (Michaël Zasso) #52293
  • [d248639285] - (SEMVER-MAJOR) src: use supported API to get stalled TLA messages (Michaël Zasso) #51362
  • [d34b02db4c] - (SEMVER-MAJOR) src: update default V8 platform to override functions with location (Etienne Pierre-Doray) #51362
  • [d9c47e9b5f] - (SEMVER-MAJOR) src: add missing TryCatch (Michaël Zasso) #51362
  • [5cddd3b2d8] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 124 (Michaël Zasso) #51362
  • [1528846ada] - (SEMVER-MAJOR) src: use non-deprecated v8::Uint8Array::kMaxLength (Michaël Zasso) #50115
  • [7166986626] - (SEMVER-MAJOR) src: adapt to v8::Exception API change (Michaël Zasso) #50115
  • [4782818020] - (SEMVER-MAJOR) src: use non-deprecated version of CreateSyntheticModule (Michaël Zasso) #50115
  • [2cff0ce411] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 122 (Michaël Zasso) #50115
  • [1abff07392] - (SEMVER-MAJOR) stream: bump default highWaterMark (Robert Nagy) #52037
  • [9efc84a2cb] - (SEMVER-MAJOR) test: mark test-worker-arraybuffer-zerofill as flaky (Michaël Zasso) #51362
  • [84c2e712eb] - (SEMVER-MAJOR) test: mark some GC-related tests as flaky (Michaël Zasso) #51362
  • [cdc4437b87] - (SEMVER-MAJOR) test: allow slightly more diff in memory leak test (Michaël Zasso) #51362
  • [515b007fae] - (SEMVER-MAJOR) test: replace always-opt flag with alway-turbofan (Michaël Zasso) #50115
  • [2341805eb2] - (SEMVER-MAJOR) test: remove tests that create very large buffers (Michaël Zasso) #50115
  • [941cef5636] - (SEMVER-MAJOR) test: adapt to new V8 trusted memory spaces (Michaël Zasso) #50115
  • [29de7f82cd] - (SEMVER-MAJOR) test_runner: omit filtered test from output (Colin Ihrig) #52221
  • [00dc6d9d97] - (SEMVER-MAJOR) test_runner: improve --test-name-pattern to allow matching single test (Michał Drobniak) #51577
  • [5def8019d5] - (SEMVER-MAJOR) tools: update V8 gypfiles for 12.4 (Michaël Zasso) #52465
  • [c22793d050] - (SEMVER-MAJOR) tools: roughly port v8_abseil to gyp (Michaël Zasso) #51362
  • [ffb0302f0c] - (SEMVER-MAJOR) tools: update V8 gypfiles for 12.2 (Michaël Zasso) #51362
  • [aadea12440] - (SEMVER-MAJOR) tools: update V8 gypfiles for 12.1 (Michaël Zasso) #51362
  • [7784773967] - (SEMVER-MAJOR) tools: update V8 gypfiles for 12.0 (Michaël Zasso) #51362
  • [9fe0424baa] - (SEMVER-MAJOR) trace_events: use private fields instead of symbols for Tracing (Jungku Lee) #51180
  • [e96cd25007] - (SEMVER-MAJOR) util: runtime deprecate util.log (Marco Ippolito) #50488
  • [6cf20d5e43] - (SEMVER-MAJOR) util: runtime deprecate util.isUndefined (Marco Ippolito) #50488
  • [09e424921f] - (SEMVER-MAJOR) util: runtime deprecate util.isSymbol (Marco Ippolito) #50488
  • [80b6bfd4e9] - (SEMVER-MAJOR) util: runtime deprecate util.isString (Marco Ippolito) #50488
  • [d419edded9] - (SEMVER-MAJOR) util: runtime deprecate util.isRegExp (Marco Ippolito) #50488
  • [e0b8de78ed] - (SEMVER-MAJOR) util: runtime deprecate util.isPrimitive (Marco Ippolito) #50488
  • [5478e1129a] - (SEMVER-MAJOR) util: runtime deprecate util.isObject (Marco Ippolito) #50488
  • [b05b1dd541] - (SEMVER-MAJOR) util: runtime deprecate util.isNumber (Marco Ippolito) #50488
  • [5af9bf5f6a] - (SEMVER-MAJOR) util: runtime deprecate util.isNullOrUndefined (Marco Ippolito) #50488
  • [860a10e10e] - (SEMVER-MAJOR) util: runtime deprecate util.isNull (Marco Ippolito) #50488
  • [70330f5c2b] - (SEMVER-MAJOR) util: runtime deprecate util.isFunction (Marco Ippolito) #50488
  • [7c69c33acc] - (SEMVER-MAJOR) util: runtime deprecate util.isError (Marco Ippolito) #50488
  • [a0c5b871a9] - (SEMVER-MAJOR) util: runtime deprecate util.isDate (Marco Ippolito) #50488
  • [3c670cb15d] - (SEMVER-MAJOR) util: runtime deprecation util.isBuffer (Marco Ippolito) #50488
  • [c17a448ca9] - (SEMVER-MAJOR) util: runtime deprecation util.isBoolean (Marco Ippolito) #50488
  • [fbb2f891aa] - (SEMVER-MAJOR) util: runtime deprecate util.isArray (Marco Ippolito) #50488
  • [22d8062e42] - (SEMVER-MAJOR) util: runtime deprecation util._extend (Marco Ippolito) #50488
  • [1a5acd0638] - (SEMVER-MAJOR) v8: enable maglev on supported architectures (Keyhan Vakil) #51360

Semver-Minor Commits

  • [128c60d906] - (SEMVER-MINOR) cli: implement node --run <script-in-package-json> (Yagiz Nizipli) #52190
  • [f69946b905] - (SEMVER-MINOR) deps: update simdutf to 5.0.0 (Daniel Lemire) #52138
  • [828ad42eee] - (SEMVER-MINOR) deps: update undici to 6.3.0 (Node.js GitHub Bot) #51462
  • [05f8172188] - (SEMVER-MINOR) deps: update undici to 6.2.1 (Node.js GitHub Bot) #51278
  • [a0c466810a] - (SEMVER-MINOR) doc: deprecate fs.Stats public constructor (Marco Ippolito) #51879
  • [151d365ad1] - (SEMVER-MINOR) fs: expose glob and globSync (Moshe Atlow) #51912
  • [5f7fad2605] - (SEMVER-MINOR) module: support require()ing synchronous ESM graphs (Joyee Cheung) #51977
  • [009665fb56] - (SEMVER-MINOR) report: add --report-exclude-network option (Ethan Arrowood) #51645
  • [80f86e5d02] - (SEMVER-MINOR) src: add C++ ProcessEmitWarningSync() (Joyee Cheung) #51977
  • [78be0d0f1c] - (SEMVER-MINOR) src: add uv_get_available_memory to report and process (theanarkh) #52023
  • [b34512e38e] - (SEMVER-MINOR) src: preload function for Environment (Cheng Zhao) #51539
  • [7d258db1d7] - (SEMVER-MINOR) stream: support typed arrays (IlyasShabi) #51866
  • [5276c0d5d4] - (SEMVER-MINOR) test_runner: add suite() (Colin Ihrig) #52127
  • [84de97a61e] - (SEMVER-MINOR) test_runner: support forced exit (Colin Ihrig) #52038
  • [aac5ad901d] - (SEMVER-MINOR) test_runner: add test:complete event to reflect execution order (Moshe Atlow) #51909
  • [9a1e01c4ce] - (SEMVER-MINOR) util: support array of formats in util.styleText (Marco Ippolito) #52040
  • [7f2d61f82a] - (SEMVER-MINOR) v8: implement v8.queryObjects() for memory leak regression testing (Joyee Cheung) #51927
  • [d1d5da22e4] - (SEMVER-MINOR) vm: harden module type checks (Chengzhong Wu) #52162

Semver-Patch Commits

  • [a760dadec3] - benchmark: add AbortSignal.abort benchmarks (Raz Luvaton) #52408
  • [47c934e464] - benchmark: conditionally use spawn with taskset for cpu pinning (Ali Hassan) #52253
  • [dde0cffb2e] - benchmark: add toNamespacedPath bench (Rafael Gonzaga) #52236
  • [bda66ad711] - benchmark: add style-text benchmark (Rafael Gonzaga) #52004
  • [21211a3fa9] - buffer: improve btoa performance (Yagiz Nizipli) #52427
  • [6f504b71ac] - buffer: use simdutf for atob implementation (Yagiz Nizipli) #52381
  • [0ce7365856] - build: temporary disable ubsan (Rafael Gonzaga) #52560
  • [4e278f0253] - build: speed up compilation of some V8 files (Michaël Zasso) #52083
  • [ba06c5c509] - build,tools: add test-ubsan ci (Rafael Gonzaga) #46297
  • [562369f348] - child_process: use internal addAbortListener (Chemi Atlow) #52081
  • [8f61b658de] - crypto: deprecate implicitly shortened GCM tags (Tobias Nießen) #52345
  • [08609b5222] - crypto: make timingSafeEqual faster for Uint8Array (Tobias Nießen) #52341
  • [9f939f5af7] - crypto: reject Ed25519/Ed448 in Sign/Verify prototypes (Filip Skokan) #52340
  • [2241e8c5b3] - crypto: validate RSA-PSS saltLength in subtle.sign and subtle.verify (Filip Skokan) #52262
  • [6dd1c75f4a] - crypto: fix input validation in crypto.hash (Antoine du Hamel) #52070
  • [a1d48f4a26] - deps: update simdutf to 5.2.4 (Node.js GitHub Bot) #52473
  • [08ff4a0c9d] - deps: update nghttp2 to 1.61.0 (Node.js GitHub Bot) #52395
  • [cf629366b9] - deps: update simdutf to 5.2.3 (Yagiz Nizipli) #52381
  • [ad86a12964] - deps: upgrade npm to 10.5.1 (npm team) #52351
  • [45cc32c9c6] - deps: update c-ares to 1.28.1 (Node.js GitHub Bot) #52285
  • [38161c38d9] - deps: update zlib to 1.3.0.1-motley-24c07df (Node.js GitHub Bot) #52199
  • [1264414700] - deps: update simdjson to 3.8.0 (Node.js GitHub Bot) #52124
  • [f6996ee150] - deps: V8: backport c4be0a97f981 (Richard Lau) #52183
  • [0d4bc4c40e] - deps: V8: cherry-pick f8d5e576b814 (Richard Lau) #52183
  • [70a05103c8] - deps: update zlib to 1.3.0.1-motley-24342f6 (Node.js GitHub Bot) #52123
  • [4c3e9659ed] - deps: update corepack to 0.26.0 (Node.js GitHub Bot) #52027
  • [0b4cdb4b42] - deps: update ada to 2.7.7 (Node.js GitHub Bot) #52028
  • [b241a1d0ae] - deps: update simdutf to 4.0.9 (Node.js GitHub Bot) #51655
  • [36dcd399c0] - deps: upgrade libuv to 1.48.0 (Santiago Gimeno) #51697
  • [8cf313cd72] - deps: update undici to 6.6.0 (Node.js GitHub Bot) #51630
  • [dd4767f99f] - deps: update undici to 6.4.0 (Node.js GitHub Bot) #51527
  • [8362caa7d8] - dgram: use internal addAbortListener (Chemi Atlow) #52081
  • [4f3cf4e89a] - diagnostics_channel: early-exit tracing channel trace methods (Stephen Belanger) #51915
  • [204018bba6] - doc: deprecate --experimental-policy (RafaelGSS) #52602
  • [d32a914ac7] - doc: add lint-js-fix into BUILDING.md (jakecastelli) #52290
  • [411503bacd] - doc: remove Internet Explorer mention in BUILDING.md (Rich Trott) #52455
  • [e9ccf5aba2] - doc: accommodate upcoming stricter .md linting (Rich Trott) #52454
  • [b4186ec2c1] - doc: add Rafael to steward list (Rafael Gonzaga) #52452
  • [7b01bfb2be] - doc: correct naming convention in C++ style guide (Mohammed Keyvanzadeh) #52424
  • [c82f3c9e80] - doc: update process.execArg example to be more useful (Jacob Smith) #52412
  • [655b327a4d] - doc: call out http(s).globalAgent default (mathis-west-1) #52392
  • [2c77be5488] - doc: update the location of build_with_cmake (Emmanuel Ferdman) #52356
  • [7dd514f2db] - doc: reserve 125 for Electron 31 (Shelley Vohr) #52379
  • [756acd0877] - doc: use consistent plural form of "index" (Rich Trott) #52373
  • [ba07e4e5e6] - doc: fix typo in cli.md (Daeyeon Jeong) #52388
  • [461d9d665d] - doc: add Rafael to sec release stewards (Rafael Gonzaga) #52354
  • [d0c364a844] - doc: document missing options of events.on (Chemi Atlow) #52080
  • [a63261cf2c] - doc: add missing space (Augustin Mauroy) #52360
  • [dd711d221a] - doc: add tips about vcpkg cause build faild on windows (Cong Zhang) #52181
  • [4df34cf6dd] - doc: replace "below" with "following" (Rich Trott) #52315
  • [d9aa33fdbf] - doc: fix email pattern to be wrapped with << instead of single < (Raz Luvaton) #52284
  • [903f28e684] - doc: update release gpg keyserver (marco-ippolito) #52257
  • [fd55458770] - doc: add release key for marco-ippolito (marco-ippolito) #52257
  • [27493a1dd7] - doc: fix arrow vertical alignment in HTML version (Akash Yeole) #52193
  • [af48641993] - doc: move TSC members from regular to emeritus (Michael Dawson) #52209
  • [fa13ed6d79] - doc: add section explaining todo tests (Colin Ihrig) #52204
  • [312ebd97c2] - doc: edit ChildProcess 'message' event docs (theanarkh) #52154
  • [f1635f442f] - doc: quote test_runner glob parameters (Fabian Meyer) #52201
  • [fc029181df] - doc: add mold to speeding up section (Cong Zhang) #52179
  • [8bd3cb2f8c] - doc: http event order correction (wh0) #51464
  • [a7f170e45a] - doc: move gabrielschulhof to TSC emeritus (Gabriel Schulhof) #52192
  • [305375ac16] - doc: fix --env-file docs for valid quotes for defining values (Gabriel Bota) #52157
  • [3fcaf7b900] - doc: clarify what is supported in NODE_OPTIONS (Michael Dawson) #52076
  • [4fe87357f3] - doc: fix typos in maintaining-dependencies.md (RoboSchmied) #52160
  • [f1949ac1ae] - doc: add spec for contains module syntax (Geoffrey Booth) #52059
  • [707155424b] - doc: optimize the doc about Unix abstract socket (theanarkh) #52043
  • [8a191e4e6a] - doc: update pnpm link (Superchupu) #52113
  • [454d0806a1] - doc: remove ableist language from crypto (Jamie King) #52063
  • [dafe004703] - doc: update collaborator email (Ruy Adorno) #52088
  • [8824adb031] - doc: state that removing npm is a non-goal (Geoffrey Booth) #51951
  • [b360532f1a] - doc: mention NodeSource in RafaelGSS steward list (Rafael Gonzaga) #52057
  • [57d2e4881c] - doc: remove ArrayBuffer from crypto.hash() data parameter type (fengmk2) #52069
  • [e11c1d2315] - doc: add some commonly used lables up gront (Michael Dawson) #52006
  • [8f9f5db1e8] - doc: document that const c2 = vm.createContext(c1); c1 === c2 is true (Daniel Kaplan) #51960
  • [d78a565713] - doc: clarify what moderation issues are for (Antoine du Hamel) #51990
  • [4cac07c931] - doc: add Hemanth HM mention to v21.7.0 changelog (Rafael Gonzaga) #52008
  • [73025c4dec] - doc: add UlisesGascon as a collaborator (Ulises Gascón) #51991
  • [999c6b34fb] - doc: test for cli options (Aras Abbasi) #51623
  • [edd6190836] - doc: deprecate hmac public constructor (Marco Ippolito) #51881
  • [25c79f3331] - esm: drop support for import assertions (Nicolò Ribaudo) #52104
  • [d619aab575] - events: rename high & low watermark for consistency (Chemi Atlow) #52080
  • [e263946c2e] - events: extract addAbortListener for safe internal use (Chemi Atlow) #52081
  • [40ef2da8d6] - events: remove abort listener from signal in on (Neal Beeken) #51091
  • [61e5de1268] - fs: refactor maybeCallback function (Yagiz Nizipli) #52129
  • [39f1b899cd] - fs: fix edge case in readFileSync utf8 fast path (Richard Lau) #52101
  • [639c096004] - fs: validate fd from cpp on fchown (Yagiz Nizipli) #52051
  • [9ac1fe05d7] - fs: validate fd from cpp on close (Yagiz Nizipli) #52051
  • [3ec20f25df] - fs: validate file mode from cpp (Yagiz Nizipli) #52050
  • [8c0b723ccb] - fs,permission: make handling of buffers consistent (Tobias Nießen) #52348
  • [3fc8d2200e] - http2: fix h2-over-h2 connection proxying (Tim Perry) #52368
  • [b9d8a14a03] - http2: use internal addAbortListener (Chemi Atlow) #52081
  • [818c10e86d] - lib: improve perf of AbortSignal creation (Raz Luvaton) #52408
  • [3f5ff8dc20] - lib: .load .save add proper error message when no file passed (Thomas Mauran) #52225
  • [0a252c23d9] - lib: fix type error for _refreshLine (Jackson Tian) #52133
  • [14de082ab4] - lib: emit listening event once when call listen twice (theanarkh) #52119
  • [4e9ce7c035] - lib: make sure clear the old timer in http server (theanarkh) #52118
  • [20525f14b9] - lib: fix listen with handle in cluster worker (theanarkh) #52056
  • [8df54481f4] - meta: bump actions/download-artifact from 4.1.3 to 4.1.4 (dependabot[bot]) #52314
  • [bcc102147a] - meta: bump rtCamp/action-slack-notify from 2.2.1 to 2.3.0 (dependabot[bot]) #52313
  • [4e7e0ef9c3] - meta: bump github/codeql-action from 3.24.6 to 3.24.9 (dependabot[bot]) #52312
  • [14a39881b8] - meta: bump actions/cache from 4.0.1 to 4.0.2 (dependabot[bot]) #52311
  • [2f8f90dadb] - meta: bump actions/setup-python from 5.0.0 to 5.1.0 (dependabot[bot]) #52310
  • [95efdaf01a] - meta: bump codecov/codecov-action from 4.1.0 to 4.1.1 (dependabot[bot]) #52308
  • [24c1a8e739] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #52300
  • [60dcfad91e] - meta: pass Codecov upload token to codecov action (Michaël Zasso) #51982
  • [db1746182b] - module: disallow CJS <-> ESM edges in a cycle from require(esm) (Joyee Cheung) #52264
  • [d6b57f6629] - module: centralize SourceTextModule compilation for builtin loader (Joyee Cheung) #52291
  • [f4a0a3b04b] - module: warn on detection in typeless package (Geoffrey Booth) #52168
  • [8bc745944e] - module: eliminate performance cost of detection for cjs entry (Geoffrey Booth) #52093
  • [63d04d4d80] - module: fix detect-module not retrying as esm for cjs-only errors (Geoffrey Booth) #52024
  • [575ced8139] - module: print location of unsettled top-level await in entry points (Joyee Cheung) #51999
  • [075c95f61f] - module: refactor ESM loader initialization and entry point handling (Joyee Cheung) #51999
  • [45f0dd0192] - module,win: fix long path resolve (Stefan Stojanovic) #51097
  • [d89fc73d45] - net: use internal addAbortListener (Chemi Atlow) #52081
  • [f0e6acde2d] - node-api: make tsfn accept napi_finalize once more (Gabriel Schulhof) #51801
  • [ff93f3e1a8] - readline: use internal addAbortListener (Chemi Atlow) #52081
  • [4a6ca7a1d4] - src: remove erroneous CVE-2024-27980 revert option (Tobias Nießen) #52543
  • [64b67779f7] - src: disallow direct .bat and .cmd file spawning (Ben Noordhuis) nodejs-private/node-private#560
  • [9ef724bc81] - src: update branch name in node_revert.h (Tobias Nießen) #52390
  • [ec1550407b] - src: stop using v8::BackingStore::Reallocate (Michaël Zasso) #52292
  • [681b0a3df3] - src: address coverity warning in module_wrap.cc (Michael Dawson) #52143
  • [04319228e0] - src: fix move after use reported by coverity (Michael Dawson) #52141
  • [0eb2b727f6] - src: return a number from process.constrainedMemory() constantly (Chengzhong Wu) #52039
  • [bec9b5fccc] - src: use dedicated routine to compile function for builtin CJS loader (Joyee Cheung) #52016
  • [1f193165b9] - src: fix reading empty string views in Blob[De]serializer (Joyee Cheung) #52000
  • [fb356b3305] - src: refactor out FormatErrorMessage for error formatting (Joyee Cheung) #51999
  • [1a8ae9d6c0] - src: use callback-based array iteration in Blob (Joyee Cheung) #51758
  • [5cd2ec8bd5] - src: implement v8 array iteration using the new callback-based API (Joyee Cheung) #51758
  • [89a26b451e] - src: fix node_version.h (Joyee Cheung) #50375
  • [c02de658a1] - stream: make Duplex inherit destroy from Writable (Luigi Pinca) #52318
  • [63391e749d] - stream: add new when constructing ERR_MULTIPLE_CALLBACK (haze) #52110
  • [a9528e87b9] - stream: use internal addAbortListener (Chemi Atlow) #52081
  • [ee4fa77624] - test: fix watch test with require not testing pid (Raz Luvaton) #52353
  • [05cb16dc1a] - test: simplify ASan build checks (Michaël Zasso) #52430
  • [eb53121b77] - test: fix Windows compiler warnings in overlapped-checker (Michaël Zasso) #52405
  • [7dfa4750af] - test: add test for skip+todo combinations (Colin Ihrig) #52204
  • [5905596719] - test: fix incorrect test fixture (Colin Ihrig) #52185
  • [bae14b7914] - test: do not set concurrency on parallelized runs (Antoine du Hamel) #52177
  • [0b676736a0] - test: add missing cctest/test_path.cc (Yagiz Nizipli) #52148
  • [c714cda9a7] - test: add spawnSyncAndAssert util (Antoine du Hamel) #52132
  • [978d5a26c9] - test: reduce flakiness of test-runner-output.mjs (Colin Ihrig) #52146
  • [afaf889775] - test: skip test for dynamically linked OpenSSL (Richard Lau) #52542
  • [be75821a12] - test: add test for using --print with promises (Antoine du Hamel) #52137
  • [4e109e5958] - test: un-set test-emit-after-on-destroyed as flaky (Abdirahim Musse) #51995
  • [3f8cc88009] - test_runner: fix clearing final timeout in own callback (Ben Richeson) #52332
  • [52f8dcfccc] - test_runner: make end of work check stricter (Colin Ihrig) #52326
  • [433bd1b04d] - test_runner: fix recursive run (Moshe Atlow) #52322
  • [e57992ffb2] - test_runner: hide new line when no error in spec reporter (Moshe Atlow) #52297
  • [ac9e5e7527] - test_runner: improve describe.only behavior (Moshe Atlow) #52296
  • [2c024cd24d] - test_runner: disable highWatermark on TestsStream (Colin Ihrig) #52287
  • [7c02486f1f] - test_runner: run afterEach hooks in correct order (Colin Ihrig) #52239
  • [6af4049810] - test_runner: simplify test end time tracking (Colin Ihrig) #52182
  • [878047be0b] - test_runner: simplify test start time tracking (Colin Ihrig) #52182
  • [4648c83dbc] - test_runner: don't await the same promise for each test (Colin Ihrig) #52185
  • [f9755f6f79] - test_runner: emit diagnostics when watch mode drains (Moshe Atlow) #52130
  • [4ba9f45d99] - test_runner: ignore todo flag when running suites (Colin Ihrig) #52117
  • [6f4d6011ea] - test_runner: skip each hooks for skipped tests (Colin Ihrig) #52115
  • [05db979c01] - test_runner: run top level tests in a microtask (Colin Ihrig) #52092
  • [97b2c5344d] - test_runner: remove redundant report call (Colin Ihrig) #52089
  • [780d030bdf] - test_runner: use internal addAbortListener (Chemi Atlow) #52081
  • [814fa1ae74] - test_runner: use source maps when reporting coverage (Moshe Atlow) #52060
  • [3c5764a0e2] - test_runner: handle undefined test locations (Colin Ihrig) #52036
  • [328642bbb9] - test_runner: use paths for test locations (Colin Ihrig) #52010
  • [6d625fe616] - test_runner: support source mapped test locations (Colin Ihrig) #52010
  • [592c6907bf] - test_runner: avoid overwriting root start time (Colin Ihrig) #52020
  • [29b231763e] - test_runner: abort unfinished tests on async error (Colin Ihrig) #51996
  • [5d13419dbd] - test_runner: run before hook immediately if test started (Moshe Atlow) #52003
  • [8451990668] - test_runner: add support for null and date value output (Malthe Borch) #51920
  • [423ad47e0f] - tools: change inactive limit to 12 months (Yagiz Nizipli) #52425
  • [0d1e64f64c] - tools: update stale bot messaging (Wes Todd) #52423
  • [5bae73df90] - tools: update lint-md-dependencies to rollup@4.14.0 (Node.js GitHub Bot) #52398
  • [468cb99ba4] - tools: update Ruff to v0.3.4 (Michaël Zasso) #52302
  • [67b9dda003] - tools: run test-ubsan on ubuntu-latest (Michaël Zasso) #52375
  • [f1f32d89e0] - tools: update lint-md-dependencies to rollup@4.13.2 (Node.js GitHub Bot) #52286
  • [d7aa8fc9da] - Revert "tools: run build-windows workflow only on source changes" (Michaël Zasso) #52320
  • [a3b1fc3f27] - tools: use Python 3.12 in GitHub Actions workflows (Michaël Zasso) #52301
  • [021cf91208] - tools: allow local updates for llhttp (Paolo Insogna) #52085
  • [4d8602046e] - tools: install npm PowerShell scripts on Windows (Luke Karrys) #52009
  • [081319d762] - tools: update lint-md-dependencies to rollup@4.13.0 (Node.js GitHub Bot) #52122
  • [c43a944231] - tools: fix error reported by coverity in js2c.cc (Michael Dawson) #52142
  • [f05b241f07] - tools: sync ubsan workflow with asan (Michaël Zasso) #52152
  • [a21b15a14e] - tools: update github_reporter to 1.7.0 (Node.js GitHub Bot) #52121
  • [d60a871db2] - tools: remove gyp-next .github folder (Marco Ippolito) #52064
  • [6ad5353764] - tools: update gyp-next to 0.16.2 (Node.js GitHub Bot) #52062
  • [dab85bdc06] - tools: install manpage to share/man for FreeBSD (Po-Chuan Hsieh) #51791
  • [cde37e7b63] - tools: automate gyp-next update (Marco Ippolito) #52014
  • [925a464cb8] - url: remove #context from URLSearchParams (Matt Cowley) #51520
  • [893e2cf22b] - watch: fix some node argument not passed to watched process (Raz Luvaton) #52358
  • [fec7e505fc] - watch: use internal addAbortListener (Chemi Atlow) #52081
  • [4f68c7c1c9] - watch: mark as stable (Moshe Atlow) #52074
  • [257f32296d] - watch: batch file restarts (Moshe Atlow) #51992