This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
18.18.2
->21.2.0
Release Notes
nodejs/node (node)
v21.2.0
: 2023-11-14, Version 21.2.0 (Current), @targosCompare Source
Notable Changes
e25c65ee2f
] - doc: add MrJithil to collaborators (Jithil P Ponnan) #50666f2366573f9
] - doc: add Ethan-Arrowood as a collaborator (Ethan Arrowood) #50393eac9cc5fcb
] - (SEMVER-MINOR) esm: add import.meta.dirname and import.meta.filename (James Sumners) #487407e151114b1
] - fs: add stacktrace to fs/promises (翠 / green) #498496dbb280733
] - (SEMVER-MINOR) lib: add--no-experimental-global-navigator
CLI flag (Antoine du Hamel) #5056203c730b931
] - (SEMVER-MINOR) lib: add navigator.language & navigator.languages (Aras Abbasi) #50303f932f4c518
] - (SEMVER-MINOR) lib: add navigator.platform (Aras Abbasi) #5038591f37d1dc3
] - (SEMVER-MINOR) stream: add support fordeflate-raw
format to webstreams compression (Damian Krzeminski) #5009765850a67c7
] - stream: use Array for Readable buffer (Robert Nagy) #50341e433fa54b7
] - stream: optimize creation (Robert Nagy) #50337c9b92bba58
] - (SEMVER-MINOR) test_runner: adds built in lcov reporter (Phil Nash) #50018f6c496563e
] - (SEMVER-MINOR) test_runner: add Date to the supported mock APIs (Lucas Santos) #4863805e8b6ef20
] - (SEMVER-MINOR) test_runner, cli: add --test-timeout flag (Shubham Pandey) #50443Commits
065d8844c5
] - benchmark: change iterations in benchmark/es/string-concatenations.js (Liu Jia) #505853f37ed9f0f
] - benchmark: add benchmarks for encodings (Aras Abbasi) #50348c4b6e1e9e4
] - benchmark: add more cases to Readable.from (Raz Luvaton) #503512006b57a9a
] - benchmark: skip test-benchmark-os on IBMi (Michael Dawson) #50286800206b04a
] - benchmark: move permission-fs-read to permission-processhas-fs-read (Aki Hasegawa-Johnson) #497703bedaf9405
] - buffer: improve Buffer.equals performance (kylo5aby) #50621b9f3613908
] - build: add GN build files (Cheng Zhao) #4763722eb0257d8
] - build: fix build with Python 3.12 (Luigi Pinca) #50582642c057299
] - build: support Python 3.12 (Shi Pujin) #5020954ebfc10cb
] - build: fix building when there is only python3 (Cheng Zhao) #484625073a3e16d
] - deps: update base64 to 0.5.1 (Node.js GitHub Bot) #50629f70a59f4fa
] - deps: update corepack to 0.23.0 (Node.js GitHub Bot) #5056378b3432be5
] - deps: V8: cherry-pick13192d6
(Levi Zim) #5055293e3cc3907
] - deps: upgrade npm to 10.2.3 (npm team) #50531189e5e5326
] - deps: update nghttp2 to 1.58.0 (Node.js GitHub Bot) #5044157bfe53095
] - deps: update zlib to 1.2.13.1-motley-dfc48fc (Node.js GitHub Bot) #504561e6922e67a
] - deps: patch V8 to 11.8.172.17 (Michaël Zasso) #5029228453ff966
] - deps: update acorn to 8.11.2 (Node.js GitHub Bot) #504600a793a2566
] - deps: update undici to 5.27.0 (Node.js GitHub Bot) #50463a90c6d669c
] - deps: update archs files for openssl-3.0.12+quic1 (Node.js GitHub Bot) #50411a64217c116
] - deps: upgrade openssl sources to quictls/openssl-3.0.12+quic1 (Node.js GitHub Bot) #5041162515e118c
] - deps: update llhttp to 9.1.3 (Node.js GitHub Bot) #50080d6f49c7bdc
] - deps: update googletest to116b7e5
(Node.js GitHub Bot) #50324e25c65ee2f
] - doc: add MrJithil to collaborators (Jithil P Ponnan) #506668be0efd68f
] - doc: fix typo in fs.md (fwio) #50570a656bf2dee
] - doc: add missing description of argument insubtle.encrypt
(Deokjin Kim) #505784cbe44ed6f
] - doc: update pm documentation to include resource (Ranieri Innocenti Spada) #50601479c1ea9fe
] - doc: correct attribution in v20.6.0 changelog (Jacob Smith) #505641668798902
] - doc: update to alignconsole.table
row to the left (Jungku Lee) #50553886fc48f87
] - doc: underline links (Rich Trott) #5048198cfa3a72b
] - doc: recommend supported Python versions (Luigi Pinca) #50407921e36ece9
] - doc: remove duplicate word (Gerhard Stöbich) #5047543074ee21c
] - doc: fix typo inwebstreams.md
(André Santos) #504260b11bf16e8
] - doc: update notable changes in v21.1.0 (Joyee Cheung) #50388d62e81229c
] - doc: add information about Node-API versions >=9 (Michael Dawson) #50168f2366573f9
] - doc: add Ethan-Arrowood as a collaborator (Ethan Arrowood) #50393d9f92bc042
] - doc: fix TOC inreleases.md
(Bryce Seefieldt) #5037214e3675b13
] - errors: improve hideStackFrames (Aras Abbasi) #4999009c02ed26b
] - esm: bypass CJS loader in default load under--default-type=module
(Antoine du Hamel) #50004eac9cc5fcb
] - (SEMVER-MINOR) esm: add import.meta.dirname and import.meta.filename (James Sumners) #4874044f19ce394
] - fs: update param in jsdoc forreaddir
(Jungku Lee) #504487e151114b1
] - fs: add stacktrace to fs/promises (翠 / green) #498493e7226a12f
] - fs: do not throw error on cpSync internals (Yagiz Nizipli) #5018567cbe1b80f
] - fs,url: moveFromNamespacedPath
tonode_url
(Yagiz Nizipli) #50090b4db32e9cb
] - fs,url: refactorFileURLToPath
method (Yagiz Nizipli) #500904345ee2ede
] - fs,url: moveFileURLToPath
to node_url (Yagiz Nizipli) #50090ed293fc520
] - lib: remove deprecated string methods (Jithil P Ponnan) #50592363bc46b92
] - lib: fix assert shows diff messages in ESM and CJS (Jithil P Ponnan) #506345fa40bea9e
] - lib: make event static properties non writable and configurable (Muthukumar) #504256dbb280733
] - (SEMVER-MINOR) lib: add--no-experimental-global-navigator
CLI flag (Antoine du Hamel) #5056203c730b931
] - (SEMVER-MINOR) lib: add navigator.language & navigator.languages (Aras Abbasi) #50303f932f4c518
] - (SEMVER-MINOR) lib: add navigator.platform (Aras Abbasi) #50385c9bd0c5000
] - lib: use primordials for navigator.userAgent (Aras Abbasi) #504676dabe7cf60
] - lib: avoid memory allocation on nodeprecation flag (Vinicius Lourenço) #502313615a61ac8
] - lib: align console.table row to the left (Jithil P Ponnan) #501359e7131ffda
] - meta: add web-standards as WPTs owner (Filip Skokan) #50636dedfb5ab26
] - meta: bump github/codeql-action from 2.21.9 to 2.22.5 (dependabot[bot]) #505134e83036d89
] - meta: bump step-security/harden-runner from 2.5.1 to 2.6.0 (dependabot[bot]) #505124bf9cffa95
] - meta: bump ossf/scorecard-action from 2.2.0 to 2.3.1 (dependabot[bot]) #5050949cce7634b
] - meta: fix spacing in collaborator list (Antoine du Hamel) #5064112e54e360c
] - meta: bump actions/setup-python from 4.7.0 to 4.7.1 (dependabot[bot]) #5051085a527e6e0
] - meta: add crypto as crypto and webcrypto docs owner (Filip Skokan) #50579ff9b3bdf34
] - meta: bump actions/setup-node from 3.8.1 to 4.0.0 (dependabot[bot]) #50514840303078f
] - meta: bump actions/checkout from 4.1.0 to 4.1.1 (dependabot[bot]) #50511c9e6e4e739
] - meta: add ethan.arrowood@vercel.com to mailmap (Ethan Arrowood) #50491d94010b745
] - meta: add web-standards as web api visibility owner (Chengzhong Wu) #50418e008336b17
] - meta: mention other notable changes section (Rafael Gonzaga) #503093606a0a848
] - module: execute--import
sequentially (Antoine du Hamel) #50474667d245e75
] - module: add application/json in accept header when fetching json module (Marco Ippolito) #50119905ca00cbc
] - perf_hooks: reduce overhead of createHistogram (Vinícius Lourenço) #500747c35055c8e
] - permission: address coverity warning (Michael Dawson) #50215b740324f7c
] - src: use v8::Isolate::TryGetCurrent() in DumpJavaScriptBacktrace() (Joyee Cheung) #505186e20e083dd
] - src: print more information in C++ assertions (Joyee Cheung) #502429f55dfc266
] - src: hide node::credentials::HasOnly outside unit (Tobias Nießen) #504504eb74a2c24
] - src: readiterable entries may be empty (Matthew Aitken) #503985b453d45d6
] - src: implement structuredClone in native (Joyee Cheung) #50330f1d79b3cbb
] - src: use find instead of char-by-char in FromFilePath() (Daniel Lemire) #50288541bdf1e92
] - src: add commit hash shorthand in zlib version (Jithil P Ponnan) #5015891f37d1dc3
] - (SEMVER-MINOR) stream: add support fordeflate-raw
format to webstreams compression (Damian Krzeminski) #50097360f5d9088
] - stream: fix Writable.destroy performance regression (Robert Nagy) #504780116ae7601
] - stream: pre-allocate _events (Robert Nagy) #504282c0d88e83e
] - stream: remove no longer relevant comment (Robert Nagy) #5044603c4ff760d
] - stream: use bit fields for construct/destroy (Robert Nagy) #50408e20b272d46
] - stream: improve from perf (Raz Luvaton) #50359893024cb7c
] - stream: avoid calls to listenerCount (Robert Nagy) #50357586ec48e5f
] - stream: readable use bitmap accessors (Robert Nagy) #5035065850a67c7
] - stream: use Array for Readable buffer (Robert Nagy) #50341e433fa54b7
] - stream: optimize creation (Robert Nagy) #50337f56ae67c7b
] - stream: refactor writable _write (Robert Nagy) #50198766bd9c8cc
] - stream: avoid getter for defaultEncoding (Robert Nagy) #502038be718a0bd
] - test: use destructuring for accessing setting values (Honza Jedlička) #50609b701567a46
] - test: replace forEach() with for .. of (Evgenia Blajer) #50605e978fd4375
] - test: replace forEach() with for ... of in test-readline-keys.js (William Liang) #50604bc92be4ca9
] - test: replace forEach() with for ... of in test-http2-single-headers.js (spiritualized) #50606864cd32003
] - test: replace forEach with for of (john-mcinall) #506022fdcf5c3da
] - test: remove unused file (James Sumners) #505282eeda3f09b
] - test: replace forEach with for of (Kevin Kühnemund) #505971d52a57cba
] - test: replace forEach with for of (CorrWu) #4978552b517f4ec
] - test: replace forEach with for [...] of (Gabriel Bota) #50615931e1e756a
] - test: relax version check with shared OpenSSL (Luigi Pinca) #505056ed8fbf612
] - test: add WPT report test duration (Filip Skokan) #505747c7be517b4
] - test: replace forEach() with for ... of loop in test-global.js (Kajol) #49772de46a346ab
] - test: skip test-diagnostics-channel-memory-leak.js (Joyee Cheung) #503278487cac24c
] - test: improveUV_THREADPOOL_SIZE
tests on.env
(Yagiz Nizipli) #49213ee751102a4
] - test: recognize wpt completion error (Chengzhong Wu) #504297e3eb02252
] - test: report error wpt test results (Chengzhong Wu) #5042990833a89a9
] - test: replace forEach() with for...of (Ram) #49794f40435d143
] - test: replace forEach() with for...of in test-trace-events-http (Chand) #49795f70a2dd70d
] - test: fix testsuite against zlib version 1.3 (Dominique Leuenberger) #50364d24de129a7
] - test: replace forEach with for...of in test-fs-realpath-buffer-encoding (Niya Shiyas) #498042b6d283265
] - test: fix timeout of test-cpu-prof-dir-worker.js in LoongArch devices (Shi Pujin) #50363bd5b61fa6c
] - test: fix crypto-dh error message for OpenSSL 3.x (Kerem Kat) #50395aa86c78a9c
] - test: fix vm assertion actual and expected order (Chengzhong Wu) #50371ab9cad8107
] - test: v8: Add test-linux-perf-logger test suite (Luke Albao) #5035231cd05c39f
] - test: ensure never settling promises are detected (Antoine du Hamel) #50318ad316419dd
] - test: avoid v8 deadcode on performance function (Vinícius Lourenço) #5007401bed64cbb
] - test_runner: pass abortSignal to test files (Moshe Atlow) #50630ae4a7ba991
] - test_runner: replace forEach with for of (Tom Haddad) #50595913e4b9173
] - test_runner: output errors of suites (Moshe Atlow) #50361c9b92bba58
] - (SEMVER-MINOR) test_runner: adds built in lcov reporter (Phil Nash) #50018e2c3b015cd
] - test_runner: test return value of mocked promisified timers (Mika Fischer) #50331f6c496563e
] - (SEMVER-MINOR) test_runner: add Date to the supported mock APIs (Lucas Santos) #4863805e8b6ef20
] - (SEMVER-MINOR) test_runner, cli: add --test-timeout flag (Shubham Pandey) #50443b71c8c447e
] - tls: usevalidateFunction
foroptions.SNICallback
(Deokjin Kim) #505305fcd67a8ea
] - tools: add macOS notarization stapler (Ulises Gascón) #50625253e206fe9
] - tools: update eslint to 8.53.0 (Node.js GitHub Bot) #50559f5e1c95447
] - tools: update lint-md-dependencies to rollup@4.3.0 (Node.js GitHub Bot) #50556257e22073e
] - tools: compare ICU checksums before file changes (Michaël Zasso) #50522aa8feea5f1
] - tools: improve update acorn-walk script (Marco Ippolito) #50473c0206bf44c
] - tools: update lint-md-dependencies to rollup@4.2.0 (Node.js GitHub Bot) #5049602dec645f3
] - tools: improve macOS notarization process output readability (Ulises Gascón) #5038952e7b6d29a
] - tools: update gyp-next to v0.16.1 (Michaël Zasso) #503809fc29c909b
] - tools: skip ruff on tools/gyp (Michaël Zasso) #50380ec7005abff
] - tools: update lint-md-dependencies to rollup@4.1.5 unified@11.0.4 (Node.js GitHub Bot) #50461aed590035f
] - tools: remove unusedversion
function (Ulises Gascón) #50390f7590481f2
] - tools: avoid npm install in deps installation (Marco Ippolito) #5041392d64035c6
] - Revert "tools: update doc dependencies" (Richard Lau) #5041490c9dd3e0e
] - tools: update doc dependencies (Node.js GitHub Bot) #49988f210915681
] - tools: run coverage CI only on relevant files (Antoine du Hamel) #503495ccdda4004
] - tools: update eslint to 8.52.0 (Node.js GitHub Bot) #50326bd4634874c
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #50190773cfa59bb
] - vm: allow dynamic import with a referrer realm (Chengzhong Wu) #503602f86d50e70
] - wasi: document security sandboxing status (Guy Bedford) #50396v21.1.0
: 2023-10-24, Version 21.1.0 (Current), @targosCompare Source
Notable Changes
Automatically detect and run ESM syntax
The new flag
--experimental-detect-module
can be used to automatically runES modules when their syntax can be detected. For “ambiguous” files, which are
.js
or extensionless files with nopackage.json
with atype
field, Node.jswill 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
orSTDIN
.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 topackage.json
, even for the default"type": "commonjs"
. The presence of atype
field, or explicit extensionssuch as
.mjs
or.cjs
, will opt out of detection.Contributed by Geoffrey Booth in #50096.
Other Notable Changes
3729e33358
] - doc: add H4ad to collaborators (Vinícius Lourenço) #5021718862e4d5d
] - (SEMVER-MINOR) fs: addflush
option toappendFile()
functions (Colin Ihrig) #500955a52c518ef
] - (SEMVER-MINOR) lib: addnavigator.userAgent
(Yagiz Nizipli) #50200789372a072
] - (SEMVER-MINOR) stream: allow pass stream class tostream.compose
(Alex Yang) #50187f3a9ea0bc4
] - stream: improve performance of readable stream reads (Raz Luvaton) #50173dda33c2bf1
] - vm: reject in importModuleDynamically without --experimental-vm-modules (Joyee Cheung) #501373999362c59
] - vm: use internal versions of compileFunction and Script (Joyee Cheung) #50137a54179f0e0
] - vm: unify host-defined option generation in vm.compileFunction (Joyee Cheung) #50137Commits
9cd68b9083
] - buffer: remove unnecessary assignment in fromString (Tobias Nießen) #50199a362c276ec
] - crypto: ensure valid point on elliptic curve in SubtleCrypto.importKey (Filip Skokan) #50234f4da308f8d
] - deps: V8: cherry-pickf7d000a
(Luke Albao) #50302269e268c38
] - deps: update ada to 2.7.2 (Node.js GitHub Bot) #5033803a31ce41e
] - deps: update corepack to 0.22.0 (Node.js GitHub Bot) #50325000531781b
] - deps: update undici to 5.26.4 (Node.js GitHub Bot) #50274f050668c14
] - deps: update c-ares to 1.20.1 (Node.js GitHub Bot) #50082ba258b682b
] - deps: update c-ares to 1.20.0 (Node.js GitHub Bot) #50082571f7ef1fa
] - deps: patch V8 to 11.8.172.15 (Michaël Zasso) #50114943047e800
] - deps: V8: cherry-pick2590224
(Joyee Cheung) #50156db2a1cf1cb
] - doc: fixnavigator.hardwareConcurrency
example (Tobias Nießen) #502786e537aeb44
] - doc: explain how to disable navigator (Geoffrey Booth) #50310c40de82d62
] - doc: add loong64 info into platform list (Shi Pujin) #500861c21a1880b
] - doc: update release process LTS step (Richard Lau) #502992473aa3672
] - doc: fix release process table of contents (Richard Lau) #50216ce9d84eae3
] - doc: update apistream.compose
(Alex Yang) #50206dacee4d9b5
] - doc: add ReflectConstruct to known perf issues (Vinicius Lourenço) #5011182363be2ac
] - doc: fix typo in dgram docs (Peter Johnson) #502118c1a46c751
] - doc: fix H4ad collaborator sort (Vinicius Lourenço) #502183729e33358
] - doc: add H4ad to collaborators (Vinícius Lourenço) #50217bac872cbd0
] - doc: update release-stewards with last sec-release (Rafael Gonzaga) #5017906b7724f14
] - doc: add command to keep major branch sync (Rafael Gonzaga) #5010247633ab086
] - doc: add loong64 to list of architectures (Shi Pujin) #501721f40ca1b91
] - doc: update security release process (Michael Dawson) #50166998feda118
] - esm: do not give wrong hints when detecting file format (Antoine du Hamel) #50314e375063e01
] - (SEMVER-MINOR) esm: detect ESM syntax in ambiguous JavaScript (Geoffrey Booth) #50096c76eb27971
] - esm: improve check for ESM syntax (Geoffrey Booth) #501277740bf820c
] - esm: rename error code related to import attributes (Antoine du Hamel) #501810cc176ef25
] - fs: improve error performance forreadSync
(Jungku Lee) #500335942edb774
] - fs: improve error performance forfsyncSync
(Jungku Lee) #498806ec5abadc0
] - fs: improve error performance formkdirSync
(CanadaHonk) #49847c5ff000cb1
] - fs: improve error performance ofrealpathSync
(Yagiz Nizipli) #499626eeaa02f5c
] - fs: improve error performance oflchownSync
(Yagiz Nizipli) #49962dc9ac8d41c
] - fs: improve error performance ofsymlinkSync
(Yagiz Nizipli) #49962bc6f279261
] - fs: improve error performance ofreadlinkSync
(Yagiz Nizipli) #49962275987841e
] - fs: improve error performance ofmkdtempSync
(Yagiz Nizipli) #4996281f15274e2
] - fs: improve error performance oflinkSync
(Yagiz Nizipli) #49962f766c04856
] - fs: improve error performance ofchownSync
(Yagiz Nizipli) #49962610036c67d
] - fs: improve error performance ofrenameSync
(Yagiz Nizipli) #4996218862e4d5d
] - (SEMVER-MINOR) fs: add flush option to appendFile() functions (Colin Ihrig) #500953f8cbb15cb
] - http2: allow streams to complete gracefully after goaway (Michael Lumish) #502021464eba1a0
] - lib: improve performance of validateStringArray and validateBooleanArray (Aras Abbasi) #497565a52c518ef
] - (SEMVER-MINOR) lib: addnavigator.userAgent
(Yagiz Nizipli) #50200b6021ab8f6
] - lib: reduce overhead of blob clone (Vinicius Lourenço) #50110be19d9baa1
] - meta: move Trott to TSC regular member (Rich Trott) #5029791e373f8e9
] - node-api: return napi_exception_pending on proxy handlers (Chengzhong Wu) #48607531a3ae4b5
] - stream: simplify prefinish (Robert Nagy) #50204514ac86579
] - stream: reduce scope of readable bitmap details (Robert Nagy) #49963789372a072
] - (SEMVER-MINOR) stream: allow pass stream class tostream.compose
(Alex Yang) #50187f3a9ea0bc4
] - stream: call helper function from push and unshift (Raz Luvaton) #50173a9ca7b32e7
] - test: improve watch mode test (Moshe Atlow) #5031963b7059efd
] - test: settest-watch-mode-inspect
as flaky (Yagiz Nizipli) #502597f87084b05
] - Revert "test: settest-esm-loader-resolve-type
as flaky" (Antoine du Hamel) #503154d390e2de4
] - test: replace forEach with for..of in test-http-perf_hooks.js (Niya Shiyas) #4981867c599ec39
] - test: replace forEach with for..of in test-net-isipv4.js (Niya Shiyas) #4982219d3ce2494
] - test: deflaketest-esm-loader-resolve-type
(Antoine du Hamel) #502732d8d6c5701
] - test: replace forEach with for..of in test-http2-server (Niya Shiyas) #49819af31d51e5a
] - test: replace forEach with for..of in test-http2-client-destroy.js (Niya Shiyas) #49820465ad2a5ce
] - test: updateurl
web platform tests (Yagiz Nizipli) #502643b80a6894c
] - test: settest-emit-after-on-destroyed
as flaky (Yagiz Nizipli) #5024657adbdd156
] - test: set inspector async stack test as flaky (Yagiz Nizipli) #502446507f66404
] - test: set test-worker-nearheaplimit-deadlock flaky (StefanStojanovic) #5027721a6ba548d
] - test: settest-cli-node-options
as flaky (Yagiz Nizipli) #50296c55f8f30cb
] - test: reduce the number of requests and parsers (Luigi Pinca) #502405129bedfa2
] - test: set crypto-timing test as flaky (Yagiz Nizipli) #502329bc5ab5e07
] - test: settest-structuredclone-*
as flaky (Yagiz Nizipli) #50261317e447ddc
] - test: deflaketest-loaders-workers-spawned
(Antoine du Hamel) #502510c710daae2
] - test: improve code coverage of diagnostics_channel (Jithil P Ponnan) #500537c6e4d7ec3
] - test: settest-esm-loader-resolve-type
as flaky (Yagiz Nizipli) #50226c8744909b0
] - test: set inspector async hook test as flaky (Yagiz Nizipli) #502523e38001739
] - test: skip test-benchmark-os.js on IBM i (Abdirahim Musse) #50208dd66fdfb7b
] - test: set parallel http server test as flaky (Yagiz Nizipli) #50227a38d1311bf
] - test: set test-worker-nearheaplimit-deadlock flaky (Stefan Stojanovic) #502388efb75fd80
] - test: settest-runner-watch-mode
as flaky (Yagiz Nizipli) #50221143ddded74
] - test: set sea snapshot tests as flaky (Yagiz Nizipli) #50223ae905a8f35
] - test: fix defect path traversal tests (Tobias Nießen) #50124ce27ee701b
] - tls: reduce TLS 'close' event listener warnings (Tim Perry) #50136ab4bae8e1f
] - tools: drop support for osx notarization with gon (Ulises Gascón) #502915df3d5abcc
] - tools: update comment inupdate-uncidi.sh
andacorn_version.h
(Jungku Lee) #50175bf7b94f0b3
] - tools: refactor checkimports.py (Mohammed Keyvanzadeh) #500115dc454a837
] - util: remove internal mime fns from benchmarks (Aras Abbasi) #502018f7eb15603
] - vm: use import attributes instead of import assertions (Antoine du Hamel) #50141dda33c2bf1
] - vm: reject in importModuleDynamically without --experimental-vm-modules (Joyee Cheung) #501373999362c59
] - vm: use internal versions of compileFunction and Script (Joyee Cheung) #50137a54179f0e0
] - vm: unify host-defined option generation in vm.compileFunction (Joyee Cheung) #5013787be790fa9
] - worker: handle detachedMessagePort
from a different context (Juan José) #49150v21.0.0
: 2023-10-17, Version 21.0.0 (Current), @RafaelGSS and @targosCompare Source
We're excited to announce the release of Node.js 21! Highlights include updates of the V8 JavaScript engine to 11.8,
stable
fetch
andWebStreams
, a new experimental flag to change the interpretation of ambiguous codefrom 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) #4568485301803e1
] - esm: --experimental-default-type flag to flip module defaults (Geoffrey Booth) #49869705e623ac4
] - esm: removeglobalPreload
hook (superseded byinitialize
) (Jacob Smith) #49144e01c1d700d
] - fs: add flush option to writeFile() functions (Colin Ihrig) #500091948dce707
] - (SEMVER-MAJOR) fs: add globSync implementation (Moshe Atlow) #47653e28dbe1c2b
] - (SEMVER-MINOR) lib: add WebSocket client (Matthew Aitken) #4983095b8f5dcab
] - stream: optimize Writable (Robert Nagy) #500127cd4e70948
] - (SEMVER-MAJOR) test_runner: support passing globs (Moshe Atlow) #476531d220b55ac
] - vm: use default HDO when importModuleDynamically is not set (Joyee Cheung) #49950Semver-Major Commits
ac2a68c76b
] - (SEMVER-MAJOR) build: drop support for Visual Studio 2019 (Michaël Zasso) #490514e3983031a
] - (SEMVER-MAJOR) build: bump supported macOS and Xcode versions (Michaël Zasso) #491645a0777776d
] - (SEMVER-MAJOR) crypto: do not overwrite _writableState.defaultEncoding (Tobias Nießen) #49140162a0652ab
] - (SEMVER-MAJOR) deps: bump minimum ICU version to 73 (Michaël Zasso) #4963917a74ddd3d
] - (SEMVER-MAJOR) deps: update V8 to 11.8.172.13 (Michaël Zasso) #49639e9ff81016d
] - (SEMVER-MAJOR) deps: update llhttp to 9.1.2 (Paolo Insogna) #489817ace5aba75
] - (SEMVER-MAJOR) events: validate options ofon
andonce
(Deokjin Kim) #46018b3ec13d449
] - (SEMVER-MAJOR) fs: adjustposition
validation in reading methods (Livia Medeiros) #428351948dce707
] - (SEMVER-MAJOR) fs: add globSync implementation (Moshe Atlow) #47653d68d0eacaa
] - (SEMVER-MAJOR) http: reduce parts in chunked response when corking (Robert Nagy) #50167c5b0b894ed
] - (SEMVER-MAJOR) lib: mark URL/URLSearchParams as uncloneable and untransferable (Chengzhong Wu) #474973205b1936a
] - (SEMVER-MAJOR) lib: remove aix directory case for package reader (Yagiz Nizipli) #48605b40f0c3074
] - (SEMVER-MAJOR) lib: addnavigator.hardwareConcurrency
(Yagiz Nizipli) #477694b08c4c047
] - (SEMVER-MAJOR) lib: runtime deprecate punycode (Yagiz Nizipli) #472023ce51ae9c0
] - (SEMVER-MAJOR) module: harmonize error code between ESM and CJS (Antoine du Hamel) #486067202859402
] - (SEMVER-MAJOR) net: do not treatserver.maxConnections=0
asInfinity
(ignoramous) [#48276](https://github.com/nodeConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.