Skip to content

Latest commit

 

History

History
768 lines (709 loc) · 116 KB

CHANGELOG_V21.md

File metadata and controls

768 lines (709 loc) · 116 KB

Node.js 21 ChangeLog

Current
21.3.0
21.2.0
21.1.0
21.0.0

2023-11-30, Version 21.3.0 (Current), @RafaelGSS

Notable Changes

New --disable-warning flag

This version adds a new --disable-warning option that allows users to disable specific warnings either by code (i.e. DEP0025) or type (i.e. DeprecationWarning, ExperimentalWarning).

This option works alongside existing --warnings and --no-warnings.

For example, the following script will not emit DEP0025 require('node:sys') when executed with node --disable-warning=DEP0025:

import sys from 'node:sys';

Contributed by Ethan-Arrowood in #50661

Update Root Certificates to NSS 3.95

This is the certdata.txt from NSS 3.95, released on 2023-11-16.

This is the version of NSS that will ship in Firefox 121 on 2023-12-19.

Certificates added:

  • TrustAsia Global Root CA G3
  • TrustAsia Global Root CA G4
  • CommScope Public Trust ECC Root-01
  • CommScope Public Trust ECC Root-02
  • CommScope Public Trust RSA Root-01
  • CommScope Public Trust RSA Root-02

Certificates removed:

  • Autoridad de Certificacion Firmaprofesional CIF A62634068

Fast fs.writeFileSync with UTF-8 Strings

Enhanced writeFileSync functionality by implementing a highly efficient fast path primarily in C++ for UTF8-encoded string data. Additionally, optimized the appendFileSync method by leveraging the improved writeFileSync functionality. For simplicity and performance considerations, the current implementation supports only string data, as benchmark results raise concerns about the efficacy of using Buffer for this purpose. Future optimizations and expansions may be explored, but for now, the focus is on maximizing efficiency for string data operations.

Contributed by CanadaHonk in #49884.

Other Notable Changes

  • [c7a7493ca2] - (SEMVER-MINOR) module: bootstrap module loaders in shadow realm (Chengzhong Wu) #48655
  • [bc3f7b5401] - (SEMVER-MINOR) module: remove useCustomLoadersIfPresent flag (Chengzhong Wu) #48655
  • [aadff07e59] - (SEMVER-MINOR) src: create per isolate proxy env template (Chengzhong Wu) #48655
  • [91aa9dd23a] - (SEMVER-MINOR) src: create fs_dir per isolate properties (Chengzhong Wu) #48655
  • [5c5834190a] - (SEMVER-MINOR) src: create worker per isolate properties (Chengzhong Wu) #48655
  • [4a1ce45181] - (SEMVER-MINOR) src: make process binding data weak (Chengzhong Wu) #48655

Commits

  • [4a20912279] - benchmark: update iterations in benchmark/util/splice-one.js (Liu Jia) #50698
  • [36380eb53d] - benchmark: increase the iteration number to an appropriate value (Lei Shi) #50766
  • [23f56d8bb3] - benchmark: rewrite import.meta benchmark (Joyee Cheung) #50683
  • [f7245d73d9] - benchmark: add misc/startup-cli-version benchmark (Joyee Cheung) #50684
  • [c81d2acfe0] - benchmark: remove punycode from require-builtins fixture (Joyee Cheung) #50689
  • [5849f09874] - build: add GN configurations for simdjson (Cheng Zhao) #50831
  • [12605e8f7d] - build: add configuration flag to enable Maglev (Keyhan Vakil) #50692
  • [43da9ea9e5] - build: fix GN configuration for deps/base64 (Cheng Zhao) #50696
  • [465f75b58a] - build: disable flag v8_scriptormodule_legacy_lifetime (Chengzhong Wu) #50616
  • [d2c0dfb1b7] - crypto: update root certificates to NSS 3.95 (Node.js GitHub Bot) #50805
  • [8d3a1d8911] - deps: update zlib to 1.2.13.1-motley-5daffc7 (Node.js GitHub Bot) #50803
  • [e02f304de7] - deps: V8: cherry-pick 0f9ebbc672c7 (Chengzhong Wu) #50867
  • [c31ad5ceaa] - deps: update icu to 74.1 (Node.js GitHub Bot) #50515
  • [3ff2bda34e] - deps: update ada to 2.7.4 (Node.js GitHub Bot) #50815
  • [221f02df6d] - deps: update undici to 5.27.2 (Node.js GitHub Bot) #50813
  • [ee69c613a2] - deps: update minimatch to 9.0.3 (Node.js GitHub Bot) #50806
  • [00dab30fd2] - deps: V8: cherry-pick 475c8cdf9a95 (Keyhan Vakil) #50680
  • [a0c01b23b4] - deps: update simdutf to 4.0.4 (Node.js GitHub Bot) #50772
  • [071e46ae56] - deps: upgrade npm to 10.2.4 (npm team) #50751
  • [5d28f8d18f] - deps: escape Python strings correctly (Michaël Zasso) #50695
  • [3731f836ed] - deps: V8: cherry-pick 8f0b94671ddb (Lu Yahan) #50654
  • [6dfe1023c3] - dns: call handle.setServers() with a valid array (Luigi Pinca) #50811
  • [2f13db475e] - doc: make theme consistent across api and other docs (Dima Demakov) #50877
  • [8c4976b732] - doc: add a section regarding instanceof in primordials.md (Antoine du Hamel) #50874
  • [6485687642] - doc: update email to reflect affiliation (Yagiz Nizipli) #50856
  • [bc31375a09] - doc: shard not supported with watch mode (Pulkit Gupta) #50640
  • [08c3b0ab20] - doc: get rid of unnecessary eslint-skip comments (Antoine du Hamel) #50829
  • [98fb1faff1] - doc: create deprecation code for isWebAssemblyCompiledModule (Marco Ippolito) #50486
  • [e116fcdb01] - doc: add CanadaHonk to triagers (CanadaHonk) #50848
  • [a37d9ee1e3] - doc: fix typos in --allow-fs-* (Tobias Nießen) #50845
  • [8468daf1a9] - doc: update Crypto API doc for x509.keyUsage (Daniel Meechan) #50603
  • [b4935dde60] - doc: fix fs.writeFileSync return value documentation (Ryan Zimmerman) #50760
  • [ead9879a04] - doc: update print results(detail) in PerformanceEntry (Jungku Lee) #50723
  • [6b7403c5df] - doc: fix Buffer.allocUnsafe documentation (Mert Can Altın) #50686
  • [713fdf1fc3] - doc: run license-builder (github-actions[bot]) #50691
  • [50f336c06f] - esm: fallback to getSource when load returns nullish source (Antoine du Hamel) #50825
  • [bd58870556] - esm: do not call getSource when format is commonjs (Francesco Trotta) #50465
  • [e59268a076] - fs: add c++ fast path for writeFileSync utf8 (CanadaHonk) #49884
  • [483200f68f] - fs: improve error performance for rmdirSync (CanadaHonk) #49846
  • [e4e0add0de] - fs: fix glob returning duplicates (Moshe Atlow) #50881
  • [45b2bb09f2] - fs: fix to not return for void function (Jungku Lee) #50769
  • [492e3e30b7] - fs: replace deprecated path._makeLong in copyFile (CanadaHonk) #50844
  • [9dc4cde75b] - fs: improve error perf of sync lstat+fstat (CanadaHonk) #49868
  • [c3eee590be] - inspector: use private fields instead of symbols (Yagiz Nizipli) #50776
  • [1a0069b13d] - meta: clarify nomination process according to Node.js charter (Matteo Collina) #50834
  • [65a811a86d] - meta: clarify recommendation for bug reproductions (Antoine du Hamel) #50882
  • [5811a59016] - meta: move cjihrig to TSC regular member (Colin Ihrig) #50816
  • [c7a7493ca2] - (SEMVER-MINOR) module: bootstrap module loaders in shadow realm (Chengzhong Wu) #48655
  • [bc3f7b5401] - (SEMVER-MINOR) module: remove useCustomLoadersIfPresent flag (Chengzhong Wu) #48655
  • [9197b0f2fc] - net: check pipe mode and path (theanarkh) #50770
  • [673de300b4] - node-api: factor out common code into macros (Gabriel Schulhof) #50664
  • [aebe2fc702] - perf_hooks: implement performance.now() with fast API calls (Joyee Cheung) #50492
  • [3fdecc4a8b] - permission: do not create symlinks if target is relative (Tobias Nießen) #49156
  • [27a4f58640] - permission: mark const functions as such (Tobias Nießen) #50705
  • [feb8ff9427] - src: assert return value of BN_bn2binpad (Tobias Nießen) #50860
  • [fd9195d750] - src: fix coverity warning (Michael Dawson) #50846
  • [adcab85c0c] - src: fix compatility with upcoming V8 12.1 APIs (Cheng Zhao) #50709
  • [79ef39b8c8] - (SEMVER-MINOR) src: add --disable-warning option (Ethan Arrowood) #50661
  • [faf6a04ba6] - src: add IsolateScopes before using isolates (Keyhan Vakil) #50680
  • [eacf4ba485] - src: iterate on import attributes array correctly (Michaël Zasso) #50703
  • [0fb35b6a67] - src: avoid copying strings in FSPermission::Apply (Tobias Nießen) #50662
  • [83ad272fa6] - src: remove erroneous default argument in RadixTree (Tobias Nießen) #50736
  • [2e8e237ce2] - src: fix JSONParser leaking internal V8 scopes (Keyhan Vakil) #50688
  • [0d3aa725cf] - src: return error --env-file if file is not found (Ardi Nugraha) #50588
  • [aadff07e59] - (SEMVER-MINOR) src: create per isolate proxy env template (Chengzhong Wu) #48655
  • [91aa9dd23a] - (SEMVER-MINOR) src: create fs_dir per isolate properties (Chengzhong Wu) #48655
  • [5c5834190a] - (SEMVER-MINOR) src: create worker per isolate properties (Chengzhong Wu) #48655
  • [4a1ce45181] - (SEMVER-MINOR) src: make process binding data weak (Chengzhong Wu) #48655
  • [8746073664] - src: avoid silent coercion to signed/unsigned int (Tobias Nießen) #50663
  • [57587de1fa] - src: handle errors from uv_pipe_connect2() (Deokjin Kim) #50657
  • [e5cce004e8] - stream: fix enumerability of ReadableStream.from (Mattias Buelens) #50779
  • [4522e229c0] - stream: fix enumerability of ReadableStream.prototype.values (Mattias Buelens) #50779
  • [2e0abed973] - stream: yield expected Error class on zlib errors (Filip Skokan) #50712
  • [a275155e81] - stream: add Symbol.toStringTag to Compression Streams (Filip Skokan) #50712
  • [146ad9cab0] - stream: treat compression web stream format per its WebIDL definition (Filip Skokan) #50631
  • [087cffc7c2] - test: fix message v8 not normalising alphanumeric paths (Jithil P Ponnan) #50730
  • [7de900a442] - test: fix dns test case failures after c-ares update to 1.21.0+ (Brad House) #50743
  • [b1b6c44712] - test: replace forEach with for of (Conor Watson) #50594
  • [7f44164ad4] - test: replace forEach to for at test-webcrypto-sign-verify-ecdsa.js (Alessandro Di Nisio) #50795
  • [9d76de1993] - test: replace foreach with for in test-https-simple.js (Shikha Mehta) #49793
  • [ce8fc56ee4] - test: add note about unresolved spec issue (Mattias Buelens) #50779
  • [628a12ac18] - test: add note about readable streams with type owning (Mattias Buelens) #50779
  • [82f0882ce0] - test: replace forEach with for-of in test-url-relative (vitosorriso) #50788
  • [3b7998305d] - test: replace forEach() with for ... of in test-tls-getprotocol.js (Steve Goode) #50600
  • [0e4d25eb5c] - test: use requires instead of flaky in console WPT status (Filip Skokan) #50812
  • [221952a88e] - test: use ppc and ppc64 to skip SEA tests on PowerPC (Joyee Cheung) #50828
  • [0e3b714069] - test: enable idlharness tests for encoding (Mattias Buelens) #50778
  • [c8d4cd68b4] - test: replace forEach in whatwg-encoding-custom-interop (Honza Machala) #50607
  • [f25637b5c9] - test: update WPT files for WebIDL tests (Filip Skokan) #50712
  • [f2e0fce389] - test: replace forEach() with for-loop (Jan) #50596
  • [4b26f14a53] - test: improve test-bootstrap-modules.js (Joyee Cheung) #50708
  • [28d78de0dd] - test: skip parallel/test-macos-app-sandbox if disk space < 120MB (Joyee Cheung) #50764
  • [4088b750e7] - test: mark SEA tests as flaky on PowerPC (Joyee Cheung) #50750
  • [6475cee6a4] - test: give more time to GC in test-shadow-realm-gc-* (Joyee Cheung) #50735
  • [0e8275b610] - test: replace foreach with for (Markus Muschol) #50599
  • [377deded59] - test: test streambase has already has a consumer (Jithil P Ponnan) #48059
  • [342a83e728] - test: change forEach to for...of in path extname (Kyriakos Markakis) #50667
  • [75265e491d] - test: replace forEach with for...of (Ryan Williams) #50611
  • [982b57651b] - test: migrate message v8 tests from Python to JS (Joshua LeMay) #50421
  • [7ebc8c2aed] - test,stream: enable compression WPTs (Filip Skokan) #50631
  • [0bd694ab64] - test_runner: add tests for various mock timer issues (Mika Fischer) #50384
  • [dee8039c9b] - tls: fix order of setting cipher before setting cert and key (Kumar Rishav) #50186
  • [5de30531b8] - tools: add macOS notarization verification step (Ulises Gascón) #50833
  • [a12d9e03f2] - tools: use macOS keychain to notarize the releases (Ulises Gascón) #50715
  • [f21637717f] - tools: update eslint to 8.54.0 (Node.js GitHub Bot) #50809
  • [daa933d93a] - tools: update lint-md-dependencies to rollup@4.5.0 (Node.js GitHub Bot) #50807
  • [52830b71cc] - tools: add workflow to update release links (Michaël Zasso) #50710
  • [db8ce5bbdd] - tools: recognize GN files in dep_updaters (Cheng Zhao) #50693
  • [5ef6729b66] - tools: remove unused file (Ulises Gascon) #50622
  • [c49483820a] - tools: change minimatch install strategy (Marco Ippolito) #50476
  • [0d556d9a59] - tools: update lint-md-dependencies to rollup@4.3.1 (Node.js GitHub Bot) #50675
  • [eaa4c14e6b] - util: improve performance of normalizeEncoding (kylo5aby) #50721
  • [a5d959b765] - v8,tools: expose necessary V8 defines (Cheng Zhao) #50820

2023-11-14, Version 21.2.0 (Current), @targos

Notable Changes

  • [e25c65ee2f] - doc: add MrJithil to collaborators (Jithil P Ponnan) #50666
  • [f2366573f9] - doc: add Ethan-Arrowood as a collaborator (Ethan Arrowood) #50393
  • [eac9cc5fcb] - (SEMVER-MINOR) esm: add import.meta.dirname and import.meta.filename (James Sumners) #48740
  • [7e151114b1] - fs: add stacktrace to fs/promises (翠 / green) #49849
  • [6dbb280733] - (SEMVER-MINOR) lib: add --no-experimental-global-navigator CLI flag (Antoine du Hamel) #50562
  • [03c730b931] - (SEMVER-MINOR) lib: add navigator.language & navigator.languages (Aras Abbasi) #50303
  • [f932f4c518] - (SEMVER-MINOR) lib: add navigator.platform (Aras Abbasi) #50385
  • [91f37d1dc3] - (SEMVER-MINOR) stream: add support for deflate-raw format to webstreams compression (Damian Krzeminski) #50097
  • [65850a67c7] - stream: use Array for Readable buffer (Robert Nagy) #50341
  • [e433fa54b7] - stream: optimize creation (Robert Nagy) #50337
  • [c9b92bba58] - (SEMVER-MINOR) test_runner: adds built in lcov reporter (Phil Nash) #50018
  • [f6c496563e] - (SEMVER-MINOR) test_runner: add Date to the supported mock APIs (Lucas Santos) #48638
  • [05e8b6ef20] - (SEMVER-MINOR) test_runner, cli: add --test-timeout flag (Shubham Pandey) #50443

Commits

  • [065d8844c5] - benchmark: change iterations in benchmark/es/string-concatenations.js (Liu Jia) #50585
  • [3f37ed9f0f] - benchmark: add benchmarks for encodings (Aras Abbasi) #50348
  • [c4b6e1e9e4] - benchmark: add more cases to Readable.from (Raz Luvaton) #50351
  • [2006b57a9a] - benchmark: skip test-benchmark-os on IBMi (Michael Dawson) #50286
  • [800206b04a] - benchmark: move permission-fs-read to permission-processhas-fs-read (Aki Hasegawa-Johnson) #49770
  • [3bedaf9405] - buffer: improve Buffer.equals performance (kylo5aby) #50621
  • [b9f3613908] - build: add GN build files (Cheng Zhao) #47637
  • [22eb0257d8] - build: fix build with Python 3.12 (Luigi Pinca) #50582
  • [642c057299] - build: support Python 3.12 (Shi Pujin) #50209
  • [54ebfc10cb] - build: fix building when there is only python3 (Cheng Zhao) #48462
  • [5073a3e16d] - deps: update base64 to 0.5.1 (Node.js GitHub Bot) #50629
  • [f70a59f4fa] - deps: update corepack to 0.23.0 (Node.js GitHub Bot) #50563
  • [78b3432be5] - deps: V8: cherry-pick 13192d6e10fa (Levi Zim) #50552
  • [93e3cc3907] - deps: upgrade npm to 10.2.3 (npm team) #50531
  • [189e5e5326] - deps: update nghttp2 to 1.58.0 (Node.js GitHub Bot) #50441
  • [57bfe53095] - deps: update zlib to 1.2.13.1-motley-dfc48fc (Node.js GitHub Bot) #50456
  • [1e6922e67a] - deps: patch V8 to 11.8.172.17 (Michaël Zasso) #50292
  • [28453ff966] - deps: update acorn to 8.11.2 (Node.js GitHub Bot) #50460
  • [0a793a2566] - deps: update undici to 5.27.0 (Node.js GitHub Bot) #50463
  • [a90c6d669c] - deps: update archs files for openssl-3.0.12+quic1 (Node.js GitHub Bot) #50411
  • [a64217c116] - deps: upgrade openssl sources to quictls/openssl-3.0.12+quic1 (Node.js GitHub Bot) #50411
  • [62515e118c] - deps: update llhttp to 9.1.3 (Node.js GitHub Bot) #50080
  • [d6f49c7bdc] - deps: update googletest to 116b7e5 (Node.js GitHub Bot) #50324
  • [e25c65ee2f] - doc: add MrJithil to collaborators (Jithil P Ponnan) #50666
  • [8be0efd68f] - doc: fix typo in fs.md (fwio) #50570
  • [a656bf2dee] - doc: add missing description of argument in subtle.encrypt (Deokjin Kim) #50578
  • [4cbe44ed6f] - doc: update pm documentation to include resource (Ranieri Innocenti Spada) #50601
  • [479c1ea9fe] - doc: correct attribution in v20.6.0 changelog (Jacob Smith) #50564
  • [1668798902] - doc: update to align console.table row to the left (Jungku Lee) #50553
  • [886fc48f87] - doc: underline links (Rich Trott) #50481
  • [98cfa3a72b] - doc: recommend supported Python versions (Luigi Pinca) #50407
  • [921e36ece9] - doc: remove duplicate word (Gerhard Stöbich) #50475
  • [43074ee21c] - doc: fix typo in webstreams.md (André Santos) #50426
  • [0b11bf16e8] - doc: update notable changes in v21.1.0 (Joyee Cheung) #50388
  • [d62e81229c] - doc: add information about Node-API versions >=9 (Michael Dawson) #50168
  • [f2366573f9] - doc: add Ethan-Arrowood as a collaborator (Ethan Arrowood) #50393
  • [d9f92bc042] - doc: fix TOC in releases.md (Bryce Seefieldt) #50372
  • [14e3675b13] - errors: improve hideStackFrames (Aras Abbasi) #49990
  • [09c02ed26b] - esm: bypass CJS loader in default load under --default-type=module (Antoine du Hamel) #50004
  • [eac9cc5fcb] - (SEMVER-MINOR) esm: add import.meta.dirname and import.meta.filename (James Sumners) #48740
  • [44f19ce394] - fs: update param in jsdoc for readdir (Jungku Lee) #50448
  • [7e151114b1] - fs: add stacktrace to fs/promises (翠 / green) #49849
  • [3e7226a12f] - fs: do not throw error on cpSync internals (Yagiz Nizipli) #50185
  • [67cbe1b80f] - fs,url: move FromNamespacedPath to node_url (Yagiz Nizipli) #50090
  • [b4db32e9cb] - fs,url: refactor FileURLToPath method (Yagiz Nizipli) #50090
  • [4345ee2ede] - fs,url: move FileURLToPath to node_url (Yagiz Nizipli) #50090
  • [ed293fc520] - lib: remove deprecated string methods (Jithil P Ponnan) #50592
  • [363bc46b92] - lib: fix assert shows diff messages in ESM and CJS (Jithil P Ponnan) #50634
  • [5fa40bea9e] - lib: make event static properties non writable and configurable (Muthukumar) #50425
  • [6dbb280733] - (SEMVER-MINOR) lib: add --no-experimental-global-navigator CLI flag (Antoine du Hamel) #50562
  • [03c730b931] - (SEMVER-MINOR) lib: add navigator.language & navigator.languages (Aras Abbasi) #50303
  • [f932f4c518] - (SEMVER-MINOR) lib: add navigator.platform (Aras Abbasi) #50385
  • [c9bd0c5000] - lib: use primordials for navigator.userAgent (Aras Abbasi) #50467
  • [6dabe7cf60] - lib: avoid memory allocation on nodeprecation flag (Vinicius Lourenço) #50231
  • [3615a61ac8] - lib: align console.table row to the left (Jithil P Ponnan) #50135
  • [9e7131ffda] - meta: add web-standards as WPTs owner (Filip Skokan) #50636
  • [dedfb5ab26] - meta: bump github/codeql-action from 2.21.9 to 2.22.5 (dependabot[bot]) #50513
  • [4e83036d89] - meta: bump step-security/harden-runner from 2.5.1 to 2.6.0 (dependabot[bot]) #50512
  • [4bf9cffa95] - meta: bump ossf/scorecard-action from 2.2.0 to 2.3.1 (dependabot[bot]) #50509
  • [49cce7634b] - meta: fix spacing in collaborator list (Antoine du Hamel) #50641
  • [12e54e360c] - meta: bump actions/setup-python from 4.7.0 to 4.7.1 (dependabot[bot]) #50510
  • [85a527e6e0] - meta: add crypto as crypto and webcrypto docs owner (Filip Skokan) #50579
  • [ff9b3bdf34] - meta: bump actions/setup-node from 3.8.1 to 4.0.0 (dependabot[bot]) #50514
  • [840303078f] - meta: bump actions/checkout from 4.1.0 to 4.1.1 (dependabot[bot]) #50511
  • [c9e6e4e739] - meta: add ethan.arrowood@vercel.com to mailmap (Ethan Arrowood) #50491
  • [d94010b745] - meta: add web-standards as web api visibility owner (Chengzhong Wu) #50418
  • [e008336b17] - meta: mention other notable changes section (Rafael Gonzaga) #50309
  • [3606a0a848] - module: execute --import sequentially (Antoine du Hamel) #50474
  • [667d245e75] - module: add application/json in accept header when fetching json module (Marco Ippolito) #50119
  • [905ca00cbc] - perf_hooks: reduce overhead of createHistogram (Vinícius Lourenço) #50074
  • [7c35055c8e] - permission: address coverity warning (Michael Dawson) #50215
  • [b740324f7c] - src: use v8::Isolate::TryGetCurrent() in DumpJavaScriptBacktrace() (Joyee Cheung) #50518
  • [6e20e083dd] - src: print more information in C++ assertions (Joyee Cheung) #50242
  • [9f55dfc266] - src: hide node::credentials::HasOnly outside unit (Tobias Nießen) #50450
  • [4eb74a2c24] - src: readiterable entries may be empty (Matthew Aitken) #50398
  • [5b453d45d6] - src: implement structuredClone in native (Joyee Cheung) #50330
  • [f1d79b3cbb] - src: use find instead of char-by-char in FromFilePath() (Daniel Lemire) #50288
  • [541bdf1e92] - src: add commit hash shorthand in zlib version (Jithil P Ponnan) #50158
  • [91f37d1dc3] - (SEMVER-MINOR) stream: add support for deflate-raw format to webstreams compression (Damian Krzeminski) #50097
  • [360f5d9088] - stream: fix Writable.destroy performance regression (Robert Nagy) #50478
  • [0116ae7601] - stream: pre-allocate _events (Robert Nagy) #50428
  • [2c0d88e83e] - stream: remove no longer relevant comment (Robert Nagy) #50446
  • [03c4ff760d] - stream: use bit fields for construct/destroy (Robert Nagy) #50408
  • [e20b272d46] - stream: improve from perf (Raz Luvaton) #50359
  • [893024cb7c] - stream: avoid calls to listenerCount (Robert Nagy) #50357
  • [586ec48e5f] - stream: readable use bitmap accessors (Robert Nagy) #50350
  • [65850a67c7] - stream: use Array for Readable buffer (Robert Nagy) #50341
  • [e433fa54b7] - stream: optimize creation (Robert Nagy) #50337
  • [f56ae67c7b] - stream: refactor writable _write (Robert Nagy) #50198
  • [766bd9c8cc] - stream: avoid getter for defaultEncoding (Robert Nagy) #50203
  • [8be718a0bd] - test: use destructuring for accessing setting values (Honza Jedlička) #50609
  • [b701567a46] - test: replace forEach() with for .. of (Evgenia Blajer) #50605
  • [e978fd4375] - test: replace forEach() with for ... of in test-readline-keys.js (William Liang) #50604
  • [bc92be4ca9] - test: replace forEach() with for ... of in test-http2-single-headers.js (spiritualized) #50606
  • [864cd32003] - test: replace forEach with for of (john-mcinall) #50602
  • [2fdcf5c3da] - test: remove unused file (James Sumners) #50528
  • [2eeda3f09b] - test: replace forEach with for of (Kevin Kühnemund) #50597
  • [1d52a57cba] - test: replace forEach with for of (CorrWu) #49785
  • [52b517f4ec] - test: replace forEach with for [...] of (Gabriel Bota) #50615
  • [931e1e756a] - test: relax version check with shared OpenSSL (Luigi Pinca) #50505
  • [6ed8fbf612] - test: add WPT report test duration (Filip Skokan) #50574
  • [7c7be517b4] - test: replace forEach() with for ... of loop in test-global.js (Kajol) #49772
  • [de46a346ab] - test: skip test-diagnostics-channel-memory-leak.js (Joyee Cheung) #50327
  • [8487cac24c] - test: improve UV_THREADPOOL_SIZE tests on .env (Yagiz Nizipli) #49213
  • [ee751102a4] - test: recognize wpt completion error (Chengzhong Wu) #50429
  • [7e3eb02252] - test: report error wpt test results (Chengzhong Wu) #50429
  • [90833a89a9] - test: replace forEach() with for...of (Ram) #49794
  • [f40435d143] - test: replace forEach() with for...of in test-trace-events-http (Chand) #49795
  • [f70a2dd70d] - test: fix testsuite against zlib version 1.3 (Dominique Leuenberger) #50364
  • [d24de129a7] - test: replace forEach with for...of in test-fs-realpath-buffer-encoding (Niya Shiyas) #49804
  • [2b6d283265] - test: fix timeout of test-cpu-prof-dir-worker.js in LoongArch devices (Shi Pujin) #50363
  • [bd5b61fa6c] - test: fix crypto-dh error message for OpenSSL 3.x (Kerem Kat) #50395
  • [aa86c78a9c] - test: fix vm assertion actual and expected order (Chengzhong Wu) #50371
  • [ab9cad8107] - test: v8: Add test-linux-perf-logger test suite (Luke Albao) #50352
  • [31cd05c39f] - test: ensure never settling promises are detected (Antoine du Hamel) #50318
  • [ad316419dd] - test: avoid v8 deadcode on performance function (Vinícius Lourenço) #50074
  • [01bed64cbb] - test_runner: pass abortSignal to test files (Moshe Atlow) #50630
  • [ae4a7ba991] - test_runner: replace forEach with for of (Tom Haddad) #50595
  • [913e4b9173] - test_runner: output errors of suites (Moshe Atlow) #50361
  • [c9b92bba58] - (SEMVER-MINOR) test_runner: adds built in lcov reporter (Phil Nash) #50018
  • [e2c3b015cd] - test_runner: test return value of mocked promisified timers (Mika Fischer) #50331
  • [f6c496563e] - (SEMVER-MINOR) test_runner: add Date to the supported mock APIs (Lucas Santos) #48638
  • [05e8b6ef20] - (SEMVER-MINOR) test_runner, cli: add --test-timeout flag (Shubham Pandey) #50443
  • [b71c8c447e] - tls: use validateFunction for options.SNICallback (Deokjin Kim) #50530
  • [5fcd67a8ea] - tools: add macOS notarization stapler (Ulises Gascón) #50625
  • [253e206fe9] - tools: update eslint to 8.53.0 (Node.js GitHub Bot) #50559
  • [f5e1c95447] - tools: update lint-md-dependencies to rollup@4.3.0 (Node.js GitHub Bot) #50556
  • [257e22073e] - tools: compare ICU checksums before file changes (Michaël Zasso) #50522
  • [aa8feea5f1] - tools: improve update acorn-walk script (Marco Ippolito) #50473
  • [c0206bf44c] - tools: update lint-md-dependencies to rollup@4.2.0 (Node.js GitHub Bot) #50496
  • [02dec645f3] - tools: improve macOS notarization process output readability (Ulises Gascón) #50389
  • [52e7b6d29a] - tools: update gyp-next to v0.16.1 (Michaël Zasso) #50380
  • [9fc29c909b] - tools: skip ruff on tools/gyp (Michaël Zasso) #50380
  • [ec7005abff] - tools: update lint-md-dependencies to rollup@4.1.5 unified@11.0.4 (Node.js GitHub Bot) #50461
  • [aed590035f] - tools: remove unused version function (Ulises Gascón) #50390
  • [f7590481f2] - tools: avoid npm install in deps installation (Marco Ippolito) #50413
  • [92d64035c6] - Revert "tools: update doc dependencies" (Richard Lau) #50414
  • [90c9dd3e0e] - tools: update doc dependencies (Node.js GitHub Bot) #49988
  • [f210915681] - tools: run coverage CI only on relevant files (Antoine du Hamel) #50349
  • [5ccdda4004] - tools: update eslint to 8.52.0 (Node.js GitHub Bot) #50326
  • [bd4634874c] - tools: update lint-md-dependencies (Node.js GitHub Bot) #50190
  • [773cfa59bb] - vm: allow dynamic import with a referrer realm (Chengzhong Wu) #50360
  • [2f86d50e70] - wasi: document security sandboxing status (Guy Bedford) #50396

2023-10-24, Version 21.1.0 (Current), @targos

Notable Changes

Automatically detect and run ESM syntax

The new flag --experimental-detect-module can be used to automatically run ES modules when their syntax can be detected. For “ambiguous” files, which are .js or extensionless files with no package.json with a type field, Node.js will parse the file to detect ES module syntax; if found, it will run the file as an ES module, otherwise it will run the file as a CommonJS module. The same applies to string input via --eval or STDIN.

We hope to make detection enabled by default in a future version of Node.js. Detection increases startup time, so we encourage everyone — especially package authors — to add a type field to package.json, even for the default "type": "commonjs". The presence of a type field, or explicit extensions such as .mjs or .cjs, will opt out of detection.

Contributed by Geoffrey Booth in #50096.

vm: fix V8 compilation cache support for vm.Script

Previously repeated compilation of the same source code using vm.Script stopped hitting the V8 compilation cache after v16.x when support for importModuleDynamically was added to vm.Script, resulting in a performance regression that blocked users (in particular Jest users) from upgrading from v16.x.

The recent fixes landed in v21.1.0 allow the compilation cache to be hit again for vm.Script when --experimental-vm-modules is not used even in the presence of the importModuleDynamically option, so that users affected by the performance regression can now upgrade. Ongoing work is also being done to enable compilation cache support for vm.CompileFunction.

Contributed by Joyee Cheung in #50137.

Other Notable Changes

  • [3729e33358] - doc: add H4ad to collaborators (Vinícius Lourenço) #50217
  • [18862e4d5d] - (SEMVER-MINOR) fs: add flush option to appendFile() functions (Colin Ihrig) #50095
  • [5a52c518ef] - (SEMVER-MINOR) lib: add navigator.userAgent (Yagiz Nizipli) #50200
  • [789372a072] - (SEMVER-MINOR) stream: allow pass stream class to stream.compose (Alex Yang) #50187
  • [f3a9ea0bc4] - stream: improve performance of readable stream reads (Raz Luvaton) #50173

Commits

  • [9cd68b9083] - buffer: remove unnecessary assignment in fromString (Tobias Nießen) #50199
  • [a362c276ec] - crypto: ensure valid point on elliptic curve in SubtleCrypto.importKey (Filip Skokan) #50234
  • [f4da308f8d] - deps: V8: cherry-pick f7d000a7ae7b (Luke Albao) #50302
  • [269e268c38] - deps: update ada to 2.7.2 (Node.js GitHub Bot) #50338
  • [03a31ce41e] - deps: update corepack to 0.22.0 (Node.js GitHub Bot) #50325
  • [000531781b] - deps: update undici to 5.26.4 (Node.js GitHub Bot) #50274
  • [f050668c14] - deps: update c-ares to 1.20.1 (Node.js GitHub Bot) #50082
  • [ba258b682b] - deps: update c-ares to 1.20.0 (Node.js GitHub Bot) #50082
  • [571f7ef1fa] - deps: patch V8 to 11.8.172.15 (Michaël Zasso) #50114
  • [943047e800] - deps: V8: cherry-pick 25902244ad1a (Joyee Cheung) #50156
  • [db2a1cf1cb] - doc: fix navigator.hardwareConcurrency example (Tobias Nießen) #50278
  • [6e537aeb44] - doc: explain how to disable navigator (Geoffrey Booth) #50310
  • [c40de82d62] - doc: add loong64 info into platform list (Shi Pujin) #50086
  • [1c21a1880b] - doc: update release process LTS step (Richard Lau) #50299
  • [2473aa3672] - doc: fix release process table of contents (Richard Lau) #50216
  • [ce9d84eae3] - doc: update api stream.compose (Alex Yang) #50206
  • [dacee4d9b5] - doc: add ReflectConstruct to known perf issues (Vinicius Lourenço) #50111
  • [82363be2ac] - doc: fix typo in dgram docs (Peter Johnson) #50211
  • [8c1a46c751] - doc: fix H4ad collaborator sort (Vinicius Lourenço) #50218
  • [3729e33358] - doc: add H4ad to collaborators (Vinícius Lourenço) #50217
  • [bac872cbd0] - doc: update release-stewards with last sec-release (Rafael Gonzaga) #50179
  • [06b7724f14] - doc: add command to keep major branch sync (Rafael Gonzaga) #50102
  • [47633ab086] - doc: add loong64 to list of architectures (Shi Pujin) #50172
  • [1f40ca1b91] - doc: update security release process (Michael Dawson) #50166
  • [998feda118] - esm: do not give wrong hints when detecting file format (Antoine du Hamel) #50314
  • [e375063e01] - (SEMVER-MINOR) esm: detect ESM syntax in ambiguous JavaScript (Geoffrey Booth) #50096
  • [c76eb27971] - esm: improve check for ESM syntax (Geoffrey Booth) #50127
  • [7740bf820c] - esm: rename error code related to import attributes (Antoine du Hamel) #50181
  • [0cc176ef25] - fs: improve error performance for readSync (Jungku Lee) #50033
  • [5942edb774] - fs: improve error performance for fsyncSync (Jungku Lee) #49880
  • [6ec5abadc0] - fs: improve error performance for mkdirSync (CanadaHonk) #49847
  • [c5ff000cb1] - fs: improve error performance of realpathSync (Yagiz Nizipli) #49962
  • [6eeaa02f5c] - fs: improve error performance of lchownSync (Yagiz Nizipli) #49962
  • [dc9ac8d41c] - fs: improve error performance of symlinkSync (Yagiz Nizipli) #49962
  • [bc6f279261] - fs: improve error performance of readlinkSync (Yagiz Nizipli) #49962
  • [275987841e] - fs: improve error performance of mkdtempSync (Yagiz Nizipli) #49962
  • [81f15274e2] - fs: improve error performance of linkSync (Yagiz Nizipli) #49962
  • [f766c04856] - fs: improve error performance of chownSync (Yagiz Nizipli) #49962
  • [610036c67d] - fs: improve error performance of renameSync (Yagiz Nizipli) #49962
  • [18862e4d5d] - (SEMVER-MINOR) fs: add flush option to appendFile() functions (Colin Ihrig) #50095
  • [3f8cbb15cb] - http2: allow streams to complete gracefully after goaway (Michael Lumish) #50202
  • [1464eba1a0] - lib: improve performance of validateStringArray and validateBooleanArray (Aras Abbasi) #49756
  • [5a52c518ef] - (SEMVER-MINOR) lib: add navigator.userAgent (Yagiz Nizipli) #50200
  • [b6021ab8f6] - lib: reduce overhead of blob clone (Vinicius Lourenço) #50110
  • [be19d9baa1] - meta: move Trott to TSC regular member (Rich Trott) #50297
  • [91e373f8e9] - node-api: return napi_exception_pending on proxy handlers (Chengzhong Wu) #48607
  • [531a3ae4b5] - stream: simplify prefinish (Robert Nagy) #50204
  • [514ac86579] - stream: reduce scope of readable bitmap details (Robert Nagy) #49963
  • [789372a072] - (SEMVER-MINOR) stream: allow pass stream class to stream.compose (Alex Yang) #50187
  • [f3a9ea0bc4] - stream: call helper function from push and unshift (Raz Luvaton) #50173
  • [a9ca7b32e7] - test: improve watch mode test (Moshe Atlow) #50319
  • [63b7059efd] - test: set test-watch-mode-inspect as flaky (Yagiz Nizipli) #50259
  • [7f87084b05] - Revert "test: set test-esm-loader-resolve-type as flaky" (Antoine du Hamel) #50315
  • [4d390e2de4] - test: replace forEach with for..of in test-http-perf_hooks.js (Niya Shiyas) #49818
  • [67c599ec39] - test: replace forEach with for..of in test-net-isipv4.js (Niya Shiyas) #49822
  • [19d3ce2494] - test: deflake test-esm-loader-resolve-type (Antoine du Hamel) #50273
  • [2d8d6c5701] - test: replace forEach with for..of in test-http2-server (Niya Shiyas) #49819
  • [af31d51e5a] - test: replace forEach with for..of in test-http2-client-destroy.js (Niya Shiyas) #49820
  • [465ad2a5ce] - test: update url web platform tests (Yagiz Nizipli) #50264
  • [3b80a6894c] - test: set test-emit-after-on-destroyed as flaky (Yagiz Nizipli) #50246
  • [57adbdd156] - test: set inspector async stack test as flaky (Yagiz Nizipli) #50244
  • [6507f66404] - test: set test-worker-nearheaplimit-deadlock flaky (StefanStojanovic) #50277
  • [21a6ba548d] - test: set test-cli-node-options as flaky (Yagiz Nizipli) #50296
  • [c55f8f30cb] - test: reduce the number of requests and parsers (Luigi Pinca) #50240
  • [5129bedfa2] - test: set crypto-timing test as flaky (Yagiz Nizipli) #50232
  • [9bc5ab5e07] - test: set test-structuredclone-* as flaky (Yagiz Nizipli) #50261
  • [317e447ddc] - test: deflake test-loaders-workers-spawned (Antoine du Hamel) #50251
  • [0c710daae2] - test: improve code coverage of diagnostics_channel (Jithil P Ponnan) #50053
  • [7c6e4d7ec3] - test: set test-esm-loader-resolve-type as flaky (Yagiz Nizipli) #50226
  • [c8744909b0] - test: set inspector async hook test as flaky (Yagiz Nizipli) #50252
  • [3e38001739] - test: skip test-benchmark-os.js on IBM i (Abdirahim Musse) #50208
  • [dd66fdfb7b] - test: set parallel http server test as flaky (Yagiz Nizipli) #50227
  • [a38d1311bf] - test: set test-worker-nearheaplimit-deadlock flaky (Stefan Stojanovic) #50238
  • [8efb75fd80] - test: set test-runner-watch-mode as flaky (Yagiz Nizipli) #50221
  • [143ddded74] - test: set sea snapshot tests as flaky (Yagiz Nizipli) #50223
  • [ae905a8f35] - test: fix defect path traversal tests (Tobias Nießen) #50124
  • [ce27ee701b] - tls: reduce TLS 'close' event listener warnings (Tim Perry) #50136
  • [ab4bae8e1f] - tools: drop support for osx notarization with gon (Ulises Gascón) #50291
  • [5df3d5abcc] - tools: update comment in update-uncidi.sh and acorn_version.h (Jungku Lee) #50175
  • [bf7b94f0b3] - tools: refactor checkimports.py (Mohammed Keyvanzadeh) #50011
  • [5dc454a837] - util: remove internal mime fns from benchmarks (Aras Abbasi) #50201
  • [8f7eb15603] - vm: use import attributes instead of import assertions (Antoine du Hamel) #50141
  • [dda33c2bf1] - vm: reject in importModuleDynamically without --experimental-vm-modules (Joyee Cheung) #50137
  • [3999362c59] - vm: use internal versions of compileFunction and Script (Joyee Cheung) #50137
  • [a54179f0e0] - vm: unify host-defined option generation in vm.compileFunction (Joyee Cheung) #50137
  • [87be790fa9] - worker: handle detached MessagePort from a different context (Juan José) #49150

2023-10-17, Version 21.0.0 (Current), @RafaelGSS and @targos

We're excited to announce the release of Node.js 21! Highlights include updates of the V8 JavaScript engine to 11.8, stable fetch and WebStreams, a new experimental flag to change the interpretation of ambiguous code from CommonJS to ES modules (--experimental-default-type), many updates to our test runner, and more!

Node.js 21 will replace Node.js 20 as our ‘Current’ release line when Node.js 20 enters long-term support (LTS) later this month. As per the release schedule, Node.js 21 will be ‘Current' release for the next 6 months, until April 2024.

Other Notable Changes

  • [740ca5423a] - doc: promote fetch/webstreams from experimental to stable (Steven) #45684
  • [85301803e1] - esm: --experimental-default-type flag to flip module defaults (Geoffrey Booth) #49869
  • [705e623ac4] - esm: remove globalPreload hook (superseded by initialize) (Jacob Smith) #49144
  • [e01c1d700d] - fs: add flush option to writeFile() functions (Colin Ihrig) #50009
  • [1948dce707] - (SEMVER-MAJOR) fs: add globSync implementation (Moshe Atlow) #47653
  • [e28dbe1c2b] - (SEMVER-MINOR) lib: add WebSocket client (Matthew Aitken) #49830
  • [95b8f5dcab] - stream: optimize Writable (Robert Nagy) #50012
  • [7cd4e70948] - (SEMVER-MAJOR) test_runner: support passing globs (Moshe Atlow) #47653
  • [1d220b55ac] - vm: use default HDO when importModuleDynamically is not set (Joyee Cheung) #49950

Semver-Major Commits

  • [ac2a68c76b] - (SEMVER-MAJOR) build: drop support for Visual Studio 2019 (Michaël Zasso) #49051
  • [4e3983031a] - (SEMVER-MAJOR) build: bump supported macOS and Xcode versions (Michaël Zasso) #49164
  • [5a0777776d] - (SEMVER-MAJOR) crypto: do not overwrite _writableState.defaultEncoding (Tobias Nießen) #49140
  • [162a0652ab] - (SEMVER-MAJOR) deps: bump minimum ICU version to 73 (Michaël Zasso) #49639
  • [17a74ddd3d] - (SEMVER-MAJOR) deps: update V8 to 11.8.172.13 (Michaël Zasso) #49639
  • [e9ff81016d] - (SEMVER-MAJOR) deps: update llhttp to 9.1.2 (Paolo Insogna) #48981
  • [7ace5aba75] - (SEMVER-MAJOR) events: validate options of on and once (Deokjin Kim) #46018
  • [b3ec13d449] - (SEMVER-MAJOR) fs: adjust position validation in reading methods (Livia Medeiros) #42835
  • [1948dce707] - (SEMVER-MAJOR) fs: add globSync implementation (Moshe Atlow) #47653
  • [d68d0eacaa] - (SEMVER-MAJOR) http: reduce parts in chunked response when corking (Robert Nagy) #50167
  • [c5b0b894ed] - (SEMVER-MAJOR) lib: mark URL/URLSearchParams as uncloneable and untransferable (Chengzhong Wu) #47497
  • [3205b1936a] - (SEMVER-MAJOR) lib: remove aix directory case for package reader (Yagiz Nizipli) #48605
  • [b40f0c3074] - (SEMVER-MAJOR) lib: add navigator.hardwareConcurrency (Yagiz Nizipli) #47769
  • [4b08c4c047] - (SEMVER-MAJOR) lib: runtime deprecate punycode (Yagiz Nizipli) #47202
  • [3ce51ae9c0] - (SEMVER-MAJOR) module: harmonize error code between ESM and CJS (Antoine du Hamel) #48606
  • [7202859402] - (SEMVER-MAJOR) net: do not treat server.maxConnections=0 as Infinity (ignoramous) #48276
  • [c15bafdaf4] - (SEMVER-MAJOR) net: only defer _final call when connecting (Jason Zhang) #47385
  • [6ffacbf0f9] - (SEMVER-MAJOR) node-api: rename internal NAPI_VERSION definition (Chengzhong Wu) #48501
  • [11af089b14] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 120 (Michaël Zasso) #49639
  • [d920b7c94b] - (SEMVER-MAJOR) src: throw DOMException on cloning non-serializable objects (Chengzhong Wu) #47839
  • [64549731b6] - (SEMVER-MAJOR) src: throw DataCloneError on transfering untransferable objects (Chengzhong Wu) #47604
  • [dac8de689b] - (SEMVER-MAJOR) stream: use private properties for strategies (Yagiz Nizipli) #47218
  • [1fa084ecdf] - (SEMVER-MAJOR) stream: use private properties for encoding (Yagiz Nizipli) #47218
  • [4e93247079] - (SEMVER-MAJOR) stream: use private properties for compression (Yagiz Nizipli) #47218
  • [527589b755] - (SEMVER-MAJOR) test_runner: disallow array in run options (Raz Luvaton) #49935
  • [7cd4e70948] - (SEMVER-MAJOR) test_runner: support passing globs (Moshe Atlow) #47653
  • [2ef170254b] - (SEMVER-MAJOR) tls: use validateNumber for options.minDHSize (Deokjin Kim) #49973
  • [092fb9f541] - (SEMVER-MAJOR) tls: use validateFunction for options.checkServerIdentity (Deokjin Kim) #49896
  • [ccca547e28] - (SEMVER-MAJOR) util: runtime deprecate promisify-ing a function returning a Promise (Antoine du Hamel) #49609
  • [4038cf0513] - (SEMVER-MAJOR) vm: freeze dependencySpecifiers array (Antoine du Hamel) #49720

Semver-Minor Commits

  • [3227d7327c] - (SEMVER-MINOR) deps: update uvwasi to 0.0.19 (Node.js GitHub Bot) #49908
  • [e28dbe1c2b] - (SEMVER-MINOR) lib: add WebSocket client (Matthew Aitken) #49830
  • [9f9c58212e] - (SEMVER-MINOR) test_runner, cli: add --test-concurrency flag (Colin Ihrig) #49996
  • [d37b0d267f] - (SEMVER-MINOR) wasi: updates required for latest uvwasi version (Michael Dawson) #49908

Semver-Patch Commits

  • [33c87ec096] - benchmark: fix race condition on fs benchs (Vinicius Lourenço) #50035
  • [3c0ec61c4b] - benchmark: add warmup to accessSync bench (Rafael Gonzaga) #50073
  • [1a839f388e] - benchmark: improved config for blob,file benchmark (Vinícius Lourenço) #49730
  • [86fe5a80f3] - benchmark: added new benchmarks for blob (Vinícius Lourenço) #49730
  • [6322d4f587] - build: fix IBM i build with Python 3.9 (Richard Lau) #48056
  • [17c55d176b] - build: reset embedder string to "-node.0" (Michaël Zasso) #49639
  • [f10928f926] - crypto: use X509_ALGOR accessors instead of reaching into X509_ALGOR (David Benjamin) #50057
  • [136a96722a] - crypto: account for disabled SharedArrayBuffer (Shelley Vohr) #50034
  • [17b9925393] - crypto: return clear errors when loading invalid PFX data (Tim Perry) #49566
  • [ca25d564c6] - deps: upgrade npm to 10.2.0 (npm team) #50027
  • [f23a9353ae] - deps: update corepack to 0.21.0 (Node.js GitHub Bot) #50088
  • [ceedb3a509] - deps: update simdutf to 3.2.18 (Node.js GitHub Bot) #50091
  • [0522ac086c] - deps: update zlib to 1.2.13.1-motley-fef5869 (Node.js GitHub Bot) #50085
  • [4f8c5829da] - deps: update googletest to 2dd1c13 (Node.js GitHub Bot) #50081
  • [588784ea30] - deps: update undici to 5.25.4 (Node.js GitHub Bot) #50025
  • [c9eef0c3c4] - deps: update googletest to e47544a (Node.js GitHub Bot) #49982
  • [23cb478398] - deps: update ada to 2.6.10 (Node.js GitHub Bot) #49984
  • [61411bb323] - deps: fix call to undeclared functions 'ntohl' and 'htons' (MatteoBax) #49979
  • [49cf182e30] - deps: update ada to 2.6.9 (Node.js GitHub Bot) #49340
  • [ceb6df0f22] - deps: update ada to 2.6.8 (Node.js GitHub Bot) #49340
  • [b73e18b5dc] - deps: update ada to 2.6.7 (Node.js GitHub Bot) #49340
  • [baf2256617] - deps: update ada to 2.6.5 (Node.js GitHub Bot) #49340
  • [a20a328a9b] - deps: update ada to 2.6.3 (Node.js GitHub Bot) #49340
  • [3838b579e4] - deps: V8: cherry-pick 8ec2651fbdd8 (Abdirahim Musse) #49862
  • [668437ccad] - deps: V8: cherry-pick b60a03df4ceb (Joyee Cheung) #49491
  • [f970087147] - deps: V8: backport 93b1a74cbc9b (Joyee Cheung) #49419
  • [4531c154e5] - deps: V8: cherry-pick 8ec2651fbdd8 (Michaël Zasso) #49639
  • [9ad0e2cacc] - deps: V8: cherry-pick 89b3702c92b0 (Michaël Zasso) #49639
  • [dfc9c86868] - deps: V8: cherry-pick de9a5de2274f (Michaël Zasso) #49639
  • [186b36efba] - deps: V8: cherry-pick b5b5d6c31bb0 (Michaël Zasso) #49639
  • [867586ce95] - deps: V8: cherry-pick 93b1a74cbc9b (Michaël Zasso) #49639
  • [4ad3479ba7] - deps: V8: cherry-pick 1a3ecc2483b2 (Michaël Zasso) #49639
  • [660f902f16] - deps: patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #49639
  • [f7c1d410ad] - deps: remove usage of a C++20 feature from V8 (Michaël Zasso) #49639
  • [9c4030bfb9] - deps: avoid compilation error with ASan (Michaël Zasso) #49639
  • [5f05cc15e6] - deps: disable V8 concurrent sparkplug compilation (Michaël Zasso) #49639
  • [42cd952dbd] - deps: silence irrelevant V8 warning (Michaël Zasso) #49639
  • [88cf90f9c4] - deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #49639
  • [8609915951] - doc: improve ccache explanation (Chengzhong Wu) #50133
  • [91d21324a9] - doc: move danielleadams to TSC non-voting member (Danielle Adams) #50142
  • [34fa7043a2] - doc: fix description of fs.readdir recursive option (RamdohokarAngha) #48902
  • [81e4d2ec2f] - doc: mention files read before env setup (Rafael Gonzaga) #50072
  • [0ce37ed8e9] - doc: move permission model to Active Development (Rafael Gonzaga) #50068
  • [3c430212c3] - doc: add command to get patch minors and majors (Rafael Gonzaga) #50067
  • [e43bf4c31d] - doc: use precise promise terminology in fs (Benjamin Gruenbaum) #50029
  • [d3a5f1fb5f] - doc: use precise terminology in test runner (Benjamin Gruenbaum) #50028
  • [24dea2348d] - doc: clarify explaination text on how to run the example (Anshul Sinha) #39020
  • [f3ed57bd8b] - doc: reserve 119 for Electron 28 (David Sanders) #50020
  • [85c09f178c] - doc: update Collaborator pronouns (Tierney Cyren) #50005
  • [099e2f7bce] - doc: update link to Abstract Modules Records spec (Rich Trott) #49961
  • [47b2883673] - doc: updated building docs for windows (Claudio W) #49767
  • [7b624c30b2] - doc: update CHANGELOG_V20 about vm fixes (Joyee Cheung) #49951
  • [1dc0667aa6] - doc: document dangerous symlink behavior (Tobias Nießen) #49154
  • [bc056c2426] - doc: add main ARIA landmark to API docs (Rich Trott) #49882
  • [f416a0f555] - doc: add navigation ARIA landmark to doc ToC (Rich Trott) #49882
  • [740ca5423a] - doc: promote fetch/webstreams from experimental to stable (Steven) #45684
  • [f802aa0645] - doc: fix 'partial' typo (Colin Ihrig) #48657
  • [6fda81d4f5] - doc: mention Navigator is a partial implementation (Moshe Atlow) #48656
  • [6aa2aeedcb] - doc: mark Node.js 19 as End-of-Life (Richard Lau) #48283
  • [0ee9c83ffc] - errors: improve performance of determine-specific-type (Aras Abbasi) #49696
  • [4f84a3d200] - errors: improve formatList in errors.js (Aras Abbasi) #49642
  • [cc725a653a] - errors: improve performance of instantiation (Aras Abbasi) #49654
  • [d1ef6aa2db] - esm: use import attributes instead of import assertions (Antoine du Hamel) #50140
  • [19b470f866] - esm: bypass CommonJS loader under --default-type (Geoffrey Booth) #49986
  • [9c683204db] - esm: unflag extensionless javascript and wasm in module scope (Geoffrey Booth) #49974
  • [05be31d5de] - esm: improve getFormatOfExtensionlessFile speed (Yagiz Nizipli) #49965
  • [aadfea4979] - esm: improve JSDoc annotation of internal functions (Antoine du Hamel) #49959
  • [7f0e36af52] - esm: fix cache collision on JSON files using file: URL (Antoine du Hamel) #49887
  • [85301803e1] - esm: --experimental-default-type flag to flip module defaults (Geoffrey Booth) #49869
  • [f42a103991] - esm: require braces for modules code (Geoffrey Booth) #49657
  • [705e623ac4] - esm: remove globalPreload hook (superseded by initialize) (Jacob Smith) #49144
  • [18a818744f] - fs: improve error performance of readdirSync (Yagiz Nizipli) #50131
  • [d3985296a9] - fs: fix unlinkSync typings (Yagiz Nizipli) #49859
  • [6bc7fa7906] - fs: improve error perf of sync chmod+fchmod (CanadaHonk) #49859
  • [6bd77db41f] - fs: improve error perf of sync *times (CanadaHonk) #49864
  • [bf0f0789da] - fs: improve error performance of writevSync (IlyasShabi) #50038
  • [8a49735bae] - fs: add flush option to createWriteStream() (Colin Ihrig) #50093
  • [ed49722a8a] - fs: improve error performance for ftruncateSync (André Alves) #50032
  • [e01c1d700d] - fs: add flush option to writeFile() functions (Colin Ihrig) #50009
  • [f7a160d5b4] - fs: improve error performance for fdatasyncSync (Jungku Lee) #49898
  • [813713f211] - fs: throw errors from sync branches instead of separate implementations (Joyee Cheung) #49913
  • [b866e38192] - http: refactor to make servername option normalization testable (Rongjian Zhang) #38733
  • [2990390359] - inspector: simplify dispatchProtocolMessage (Daniel Lemire) #49780
  • [d4c5fe488e] - lib: fix compileFunction throws range error for negative numbers (Jithil P Ponnan) #49855
  • [589ac5004c] - lib: faster internal createBlob (Vinícius Lourenço) #49730
  • [952cf0d17a] - lib: reduce overhead of validateObject (Vinicius Lourenço) #49928
  • [fa250fdec1] - lib: make fetch sync and return a Promise (Matthew Aitken) #49936
  • [1b96975f27] - lib: fix primordials typings (Sam Verschueren) #49895
  • [6aa7101960] - lib: update params in jsdoc for HTTPRequestOptions (Jungku Lee) #49872
  • [a4fdb1abe0] - lib,test: do not hardcode Buffer.kMaxLength (Michaël Zasso) #49876
  • [fd21429ef5] - lib: update usage of always on Atomics API (Michaël Zasso) #49639
  • [bac85be22d] - meta: ping TSC for offboarding (Tobias Nießen) #50147
  • [609b13e6c2] - meta: bump actions/upload-artifact from 3.1.2 to 3.1.3 (dependabot[bot]) #50000
  • [3825464ef4] - meta: bump actions/cache from 3.3.1 to 3.3.2 (dependabot[bot]) #50003
  • [49f0f9ca11] - meta: bump github/codeql-action from 2.21.5 to 2.21.9 (dependabot[bot]) #50002
  • [f156427244] - meta: bump actions/checkout from 3.6.0 to 4.1.0 (dependabot[bot]) #50001
  • [0fe673c7e6] - meta: update website team with new name (Rich Trott) #49883
  • [51f4ff2450] - module: move helpers out of cjs loader (Geoffrey Booth) #49912
  • [7517c9f95b] - module, esm: jsdoc for modules files (Geoffrey Booth) #49523
  • [b55adfb4f1] - node-api: update headers for better wasm support (Toyo Li) #49037
  • [b38e312486] - node-api: run finalizers directly from GC (Vladimir Morozov) #42651
  • [0f0dd1a493] - os: cache homedir, remove getCheckedFunction (Aras Abbasi) #50037
  • [0e507d30ac] - perf_hooks: reduce overhead of new user timings (Vinicius Lourenço) #49914
  • [328bdac7f0] - perf_hooks: reducing overhead of performance observer entry list (Vinicius Lourenço) #50008
  • [e6e320ecc7] - perf_hooks: reduce overhead of new resource timings (Vinicius Lourenço) #49837
  • [971af4b211] - quic: fix up coverity warning in quic/session.cc (Michael Dawson) #49865
  • [546797f2b1] - quic: prevent copying ngtcp2_cid (Tobias Nießen) #48561
  • [ac6f594c97] - quic: address new coverity warning (Michael Dawson) #48384
  • [4ee8ef269b] - quic: prevent copying ngtcp2_cid_token (Tobias Nießen) #48370
  • [6d2811fbf2] - quic: add additional implementation (James M Snell) #47927
  • [0b3fcfcf35] - quic: fix typo in endpoint.h (Tobias Nießen) #47911
  • [76044c4e2b] - quic: add additional QUIC implementation (James M Snell) #47603
  • [78a15702dd] - src: avoid making JSTransferable wrapper object weak (Chengzhong Wu) #50026
  • [387e2929fe] - src: generate default snapshot with --predictable (Joyee Cheung) #48749
  • [1643adf771] - src: fix TLSWrap lifetime bug in ALPN callback (Ben Noordhuis) #49635
  • [66776d8665] - src: set port in node_options to uint16_t (Yagiz Nizipli) #49151
  • [55ff64001a] - src: name scoped lock (Mohammed Keyvanzadeh) #50010
  • [b903a710f4] - src: use exact return value for uv_os_getenv (Yagiz Nizipli) #49149
  • [43500fa646] - src: move const variable in node_file.h to node_file.cc (Jungku Lee) #49688
  • [36ab510da7] - src: remove unused variable (Michaël Zasso) #49665
  • [23d65e7281] - src: revert IS_RELEASE to 0 (Rafael Gonzaga) #49084
  • [38dee8a1c0] - src: distinguish HTML transferable and cloneable (Chengzhong Wu) #47956
  • [586fcff061] - src: fix logically dead code reported by Coverity (Mohammed Keyvanzadeh) #48589
  • [7f2c810814] - src,tools: initialize cppgc (Daryl Haresign) #45704
  • [aad8002b88] - stream: use private symbol for bitmap state (Robert Nagy) #49993
  • [a85e4186e5] - stream: reduce overhead of transfer (Vinicius Lourenço) #50107
  • [e9bda11761] - stream: lazy allocate back pressure buffer (Robert Nagy) #50013
  • [557044af40] - stream: avoid unnecessary drain for sync stream (Robert Nagy) #50014
  • [95b8f5dcab] - stream: optimize Writable (Robert Nagy) #50012
  • [5de25deeb9] - stream: avoid tick in writable hot path (Robert Nagy) #49966
  • [53b5545672] - stream: writable state bitmap (Robert Nagy) #49899
  • [d4e99b1a66] - stream: remove asIndexedPairs (Chemi Atlow) #48150
  • [41e4174945] - test: replace forEach with for..of in test-net-isipv6.js (Niya Shiyas) #49823
  • [f0e720a7fa] - test: add EOVERFLOW as an allowed error (Abdirahim Musse) #50128
  • [224f3ae974] - test: reduce number of repetition in test-heapdump-shadowrealm.js (Chengzhong Wu) #50104
  • [76004f3e56] - test: replace forEach with for..of in test-parse-args.mjs (Niya Shiyas) #49824
  • [fce8fbadcd] - test: replace forEach with for..of in test-process-env (Niya Shiyas) #49825
  • [24492476a7] - test: replace forEach with for..of in test-http-url (Niya Shiyas) #49840
  • [2fe511ba23] - test: replace forEach() in test-net-perf_hooks with for of (Narcisa Codreanu) #49831
  • [42c37f28e6] - test: change forEach to for...of (Tiffany Lastimosa) #49799
  • [6c9625dca4] - test: update skip for moved test-wasm-web-api (Richard Lau) #49958
  • [f05d6d090c] - Revert "test: mark test-runner-output as flaky" (Luigi Pinca) #49905
  • [035e06317a] - test: disambiguate AIX and IBM i (Richard Lau) #48056
  • [4d0aeed4a6] - test: deflake test-perf-hooks.js (Joyee Cheung) #49892
  • [853f57239c] - test: migrate message error tests from Python to JS (Yiyun Lei) #49721
  • [a71e3a65bb] - test: fix edge snapshot stack traces (Geoffrey Booth) #49659
  • [6b76b7782c] - test: skip v8-updates/test-linux-perf (Michaël Zasso) #49639
  • [c13c98dd38] - test: skip test-tick-processor-arguments on SmartOS (Michaël Zasso) #49639
  • [738aa304b3] - test: adapt REPL test to V8 changes (Michaël Zasso) #49639
  • [de5c009252] - test: adapt test-fs-write to V8 internal changes (Michaël Zasso) #49639
  • [8c36168b42] - test: update flag to disable SharedArrayBuffer (Michaël Zasso) #49639
  • [6ccb15f7ef] - test: adapt debugger tests to V8 11.4 (Philip Pfaffe) #49639
  • [c5de3b49e8] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #50039
  • [4b35a9cfda] - test_runner: add test location for FileTests (Colin Ihrig) #49999
  • [c935d4c8fa] - test_runner: replace spurious if with else (Colin Ihrig) #49943
  • [a4c7f81241] - test_runner: catch reporter errors (Moshe Atlow) #49646
  • [bb52656fc6] - Revert "test_runner: run global after() hook earlier" (Joyee Cheung) #49110
  • [6346bdc526] - test_runner: run global after() hook earlier (Colin Ihrig) #49059
  • [0d8faf2952] - test_runner,test: fix flaky test-runner-cli-concurrency.js (Colin Ihrig) #50108
  • [b1ada0ad55] - tls: handle cases where the raw socket is destroyed (Luigi Pinca) #49980
  • [fae1af0a75] - tls: ciphers allow bang syntax (Chemi Atlow) #49712
  • [766198b9e1] - tools: fix comments referencing dep_updaters scripts (Keksonoid) #50165
  • [760b5dd259] - tools: remove no-return-await lint rule (翠 / green) #50118
  • [a0a5b751fb] - tools: update lint-md-dependencies (Node.js GitHub Bot) #50083
  • [69fb55e6b9] - tools: update eslint to 8.51.0 (Node.js GitHub Bot) #50084
  • [f73650ea52] - tools: remove genv8constants.py (Ben Noordhuis) #50023
  • [581434e54f] - tools: update eslint to 8.50.0 (Node.js GitHub Bot) #49989
  • [344d3c4b7c] - tools: update lint-md-dependencies (Node.js GitHub Bot) #49983
  • [7f06c270c6] - tools: add navigation ARIA landmark to generated API ToC (Rich Trott) #49882
  • [e97d25687b] - tools: use osx notarytool for future releases (Ulises Gascon) #48701
  • [3f1936f698] - tools: update github_reporter to 1.5.3 (Node.js GitHub Bot) #49877
  • [8568de3da6] - tools: add new V8 headers to distribution (Michaël Zasso) #49639
  • [86cb23d09f] - tools: update V8 gypfiles for 11.8 (Michaël Zasso) #49639
  • [9c6219c7e2] - tools: update V8 gypfiles for 11.7 (Michaël Zasso) #49639
  • [73ddf50163] - tools: update V8 gypfiles for 11.6 (Michaël Zasso) #49639
  • [817ef255ea] - tools: update V8 gypfiles for 11.5 (Michaël Zasso) #49639
  • [f34a3a9861] - tools: update V8 gypfiles for 11.4 (Michaël Zasso) #49639
  • [9df864ddeb] - typings: use Symbol.dispose and Symbol.asyncDispose in types (Niklas Mollenhauer) #50123
  • [54bb691c0b] - util: lazy parse mime parameters (Aras Abbasi) #49889
  • [1d220b55ac] - vm: use default HDO when importModuleDynamically is not set (Joyee Cheung) #49950
  • [c1a3a98560] - wasi: address coverity warning (Michael Dawson) #49866
  • [9cb8eb7177] - wasi: fix up wasi tests for ibmi (Michael Dawson) #49953
  • [16ac5e1ca8] - zlib: fix discovery of cpu-features.h for android (MatteoBax) #49828