Skip to content

Commit 730bb9a

Browse files
RafaelGSStargos
andcommitted
2023-10-17, Version 21.0.0 (Current)
Notable Changes: doc: * promote fetch/webstreams from experimental to stable (Steven) #45684 esm: * --experimental-default-type flag to flip module defaults (Geoffrey Booth) #49869 * remove `globalPreload` hook (superseded by `initialize`) (Jacob Smith) #49144 fs: * add flush option to writeFile() functions (Colin Ihrig) #50009 * (SEMVER-MAJOR) add globSync implementation (Moshe Atlow) #47653 lib: * (SEMVER-MINOR) add WebSocket client (Matthew Aitken) #49830 stream: * optimize Writable (Robert Nagy) #50012 test_runner: * (SEMVER-MAJOR) support passing globs (Moshe Atlow) #47653 vm: * use default HDO when importModuleDynamically is not set (Joyee Cheung) #49950 Semver-Major Commits: * (SEMVER-MAJOR) reset embedder string to "-node.0" (Michaël Zasso) #49639 * (SEMVER-MAJOR) drop support for Visual Studio 2019 (Michaël Zasso) #49051 * (SEMVER-MAJOR) bump supported macOS and Xcode versions (Michaël Zasso) #49164 * (SEMVER-MAJOR) do not overwrite _writableState.defaultEncoding (Tobias Nießen) #49140 * (SEMVER-MAJOR) bump minimum ICU version to 73 (Michaël Zasso) #49639 * (SEMVER-MAJOR) V8: cherry-pick 8ec2651fbdd8 (Michaël Zasso) #49639 * (SEMVER-MAJOR) V8: cherry-pick 89b3702c92b0 (Michaël Zasso) #49639 * (SEMVER-MAJOR) V8: cherry-pick de9a5de2274f (Michaël Zasso) #49639 * (SEMVER-MAJOR) V8: cherry-pick b5b5d6c31bb0 (Michaël Zasso) #49639 * (SEMVER-MAJOR) V8: cherry-pick 93b1a74cbc9b (Michaël Zasso) #49639 * (SEMVER-MAJOR) V8: cherry-pick 1a3ecc2483b2 (Michaël Zasso) #49639 * (SEMVER-MAJOR) patch V8 to avoid duplicated zlib symbol (Michaël Zasso) #49639 * (SEMVER-MAJOR) remove usage of a C++20 feature from V8 (Michaël Zasso) #49639 * (SEMVER-MAJOR) avoid compilation error with ASan (Michaël Zasso) #49639 * (SEMVER-MAJOR) disable V8 concurrent sparkplug compilation (Michaël Zasso) #49639 * (SEMVER-MAJOR) silence irrelevant V8 warning (Michaël Zasso) #49639 * (SEMVER-MAJOR) always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #49639 * (SEMVER-MAJOR) update V8 to 11.8.172.13 (Michaël Zasso) #49639 * (SEMVER-MAJOR) update llhttp to 9.1.2 (Paolo Insogna) #48981 * (SEMVER-MAJOR) validate options of `on` and `once` (Deokjin Kim) #46018 * (SEMVER-MAJOR) adjust `position` validation in reading methods (Livia Medeiros) #42835 * (SEMVER-MAJOR) add globSync implementation (Moshe Atlow) #47653 * (SEMVER-MAJOR) update usage of always on Atomics API (Michaël Zasso) #49639 * (SEMVER-MAJOR) mark URL/URLSearchParams as uncloneable and untransferable (Chengzhong Wu) #47497 * (SEMVER-MAJOR) remove aix directory case for package reader (Yagiz Nizipli) #48605 * (SEMVER-MAJOR) add `navigator.hardwareConcurrency` (Yagiz Nizipli) #47769 * (SEMVER-MAJOR) runtime deprecate punycode (Yagiz Nizipli) #47202 * (SEMVER-MAJOR) harmonize error code between ESM and CJS (Antoine du Hamel) #48606 * (SEMVER-MAJOR) do not treat `server.maxConnections=0` as `Infinity` (ignoramous) #48276 * (SEMVER-MAJOR) only defer _final call when connecting (Jason Zhang) #47385 * (SEMVER-MAJOR) rename internal NAPI_VERSION definition (Chengzhong Wu) #48501 * (SEMVER-MAJOR) update NODE_MODULE_VERSION to 120 (Michaël Zasso) #49639 * (SEMVER-MAJOR) throw DOMException on cloning non-serializable objects (Chengzhong Wu) #47839 * (SEMVER-MAJOR) throw DataCloneError on transfering untransferable objects (Chengzhong Wu) #47604 * (SEMVER-MAJOR) use private properties for strategies (Yagiz Nizipli) #47218 * (SEMVER-MAJOR) use private properties for encoding (Yagiz Nizipli) #47218 * (SEMVER-MAJOR) use private properties for compression (Yagiz Nizipli) #47218 * (SEMVER-MAJOR) skip v8-updates/test-linux-perf (Michaël Zasso) #49639 * (SEMVER-MAJOR) skip test-tick-processor-arguments on SmartOS (Michaël Zasso) #49639 * (SEMVER-MAJOR) adapt REPL test to V8 changes (Michaël Zasso) #49639 * (SEMVER-MAJOR) adapt test-fs-write to V8 internal changes (Michaël Zasso) #49639 * (SEMVER-MAJOR) update flag to disable SharedArrayBuffer (Michaël Zasso) #49639 * (SEMVER-MAJOR) adapt debugger tests to V8 11.4 (Philip Pfaffe) #49639 * (SEMVER-MAJOR) disallow array in `run` options (Raz Luvaton) #49935 * (SEMVER-MAJOR) support passing globs (Moshe Atlow) #47653 * (SEMVER-MAJOR) use `validateNumber` for `options.minDHSize` (Deokjin Kim) #49973 * (SEMVER-MAJOR) use validateFunction for `options.checkServerIdentity` (Deokjin Kim) #49896 * (SEMVER-MAJOR) add new V8 headers to distribution (Michaël Zasso) #49639 * (SEMVER-MAJOR) update V8 gypfiles for 11.8 (Michaël Zasso) #49639 * (SEMVER-MAJOR) update V8 gypfiles for 11.7 (Michaël Zasso) #49639 * (SEMVER-MAJOR) update V8 gypfiles for 11.6 (Michaël Zasso) #49639 * (SEMVER-MAJOR) update V8 gypfiles for 11.5 (Michaël Zasso) #49639 * (SEMVER-MAJOR) update V8 gypfiles for 11.4 (Michaël Zasso) #49639 * (SEMVER-MAJOR) runtime deprecate `promisify`-ing a function returning a `Promise` (Antoine du Hamel) #49609 * (SEMVER-MAJOR) freeze `dependencySpecifiers` array (Antoine du Hamel) #49720 PR-URL: #49870 Co-authored-by: Michaël Zasso <[email protected]>
1 parent ceedb3a commit 730bb9a

33 files changed

+315
-30
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
Select a Node.js version below to view the changelog history:
44

5+
* [Node.js 21](doc/changelogs/CHANGELOG_V21.md) **Current**
56
* [Node.js 20](doc/changelogs/CHANGELOG_V20.md) **Current**
67
* [Node.js 19](doc/changelogs/CHANGELOG_V19.md) End-of-Life
78
* [Node.js 18](doc/changelogs/CHANGELOG_V18.md) **Long Term Support**
@@ -29,11 +30,15 @@ release.
2930

3031
<table>
3132
<tr>
33+
<th title="Current"><a href="doc/changelogs/CHANGELOG_V21.md">21</a> (Current)</th>
3234
<th title="Current"><a href="doc/changelogs/CHANGELOG_V20.md">20</a> (Current)</th>
3335
<th title="LTS Until 2025-04"><a href="doc/changelogs/CHANGELOG_V18.md">18</a> (LTS)</th>
3436
</tr>
3537
<tr>
3638
<td valign="top">
39+
<b><a href="doc/changelogs/CHANGELOG_V21.md#21.0.0">21.0.0</a></b><br/>
40+
</td>
41+
<td valign="top">
3742
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.8.0">20.8.0</a></b><br/>
3843
<a href="doc/changelogs/CHANGELOG_V20.md#20.7.0">20.7.0</a><br/>
3944
<a href="doc/changelogs/CHANGELOG_V20.md#20.6.1">20.6.1</a><br/>

doc/api/cli.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ and `"` are usable.
594594

595595
<!-- YAML
596596
added:
597-
- REPLACEME
597+
- v21.0.0
598598
-->
599599

600600
> Stability: 1.0 - Early development
@@ -774,7 +774,7 @@ Enable experimental WebAssembly module support.
774774
### `--experimental-websocket`
775775

776776
<!-- YAML
777-
added: REPLACEME
777+
added: v21.0.0
778778
-->
779779

780780
Enable experimental [`WebSocket`][] support.
@@ -1657,7 +1657,7 @@ for more details.
16571657
### `--test-concurrency`
16581658

16591659
<!-- YAML
1660-
added: REPLACEME
1660+
added: v21.0.0
16611661
-->
16621662

16631663
The maximum number of test files that the test runner CLI will execute

doc/api/deprecations.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ The [`require.extensions`][] property is deprecated.
872872

873873
<!-- YAML
874874
changes:
875-
- version: REPLACEME
875+
- version: v21.0.0
876876
pr-url: https://github.com/nodejs/node/pull/47202
877877
description: Runtime deprecation.
878878
- version: v16.6.0
@@ -3387,7 +3387,7 @@ Consider using alternatives such as the [`mock`][] helper function.
33873387

33883388
<!-- YAML
33893389
changes:
3390-
- version: REPLACEME
3390+
- version: v21.0.0
33913391
pr-url: https://github.com/nodejs/node/pull/49609
33923392
description: Runtime deprecation.
33933393
- version: v20.8.0

doc/api/errors.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3282,9 +3282,9 @@ An invalid or unknown file encoding was passed.
32823282
### `ERR_INVALID_TRANSFER_OBJECT`
32833283

32843284
<!-- YAML
3285-
removed: REPLACEME
3285+
removed: v21.0.0
32863286
changes:
3287-
- version: REPLACEME
3287+
- version: v21.0.0
32883288
pr-url: https://github.com/nodejs/node/pull/47839
32893289
description: A `DOMException` is thrown instead.
32903290
-->
@@ -3309,9 +3309,9 @@ transferable objects also exist now.
33093309

33103310
<!-- YAML
33113311
added: v15.0.0
3312-
removed: REPLACEME
3312+
removed: v21.0.0
33133313
changes:
3314-
- version: REPLACEME
3314+
- version: v21.0.0
33153315
pr-url: https://github.com/nodejs/node/pull/47839
33163316
description: A `DOMException` is thrown instead.
33173317
-->

doc/api/fs.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ added: v10.0.0
370370
<!-- YAML
371371
added: v10.0.0
372372
changes:
373-
- version: REPLACEME
373+
- version: v21.0.0
374374
pr-url: https://github.com/nodejs/node/pull/42835
375375
description: Accepts bigint values as `position`.
376376
-->
@@ -400,7 +400,7 @@ added:
400400
- v13.11.0
401401
- v12.17.0
402402
changes:
403-
- version: REPLACEME
403+
- version: v21.0.0
404404
pr-url: https://github.com/nodejs/node/pull/42835
405405
description: Accepts bigint values as `position`.
406406
-->
@@ -434,7 +434,7 @@ added:
434434
- v18.2.0
435435
- v16.17.0
436436
changes:
437-
- version: REPLACEME
437+
- version: v21.0.0
438438
pr-url: https://github.com/nodejs/node/pull/42835
439439
description: Accepts bigint values as `position`.
440440
-->
@@ -1744,7 +1744,7 @@ All the [caveats][] for `fs.watch()` also apply to `fsPromises.watch()`.
17441744
<!-- YAML
17451745
added: v10.0.0
17461746
changes:
1747-
- version: REPLACEME
1747+
- version: v21.0.0
17481748
pr-url: https://github.com/nodejs/node/pull/50009
17491749
description: The `flush` option is now supported.
17501750
- version:
@@ -4889,7 +4889,7 @@ details.
48894889
<!-- YAML
48904890
added: v0.1.29
48914891
changes:
4892-
- version: REPLACEME
4892+
- version: v21.0.0
48934893
pr-url: https://github.com/nodejs/node/pull/50009
48944894
description: The `flush` option is now supported.
48954895
- version: v19.0.0
@@ -6185,7 +6185,7 @@ this API: [`fs.utimes()`][].
61856185
<!-- YAML
61866186
added: v0.1.29
61876187
changes:
6188-
- version: REPLACEME
6188+
- version: v21.0.0
61896189
pr-url: https://github.com/nodejs/node/pull/50009
61906190
description: The `flush` option is now supported.
61916191
- version: v19.0.0

doc/api/globals.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ added:
479479
- v16.15.0
480480
changes:
481481
- version:
482-
- REPLACEME
482+
- v21.0.0
483483
pr-url: https://github.com/nodejs/node/pull/45684
484484
description: No longer experimental.
485485
- version: v18.0.0
@@ -509,7 +509,7 @@ added:
509509
- v16.15.0
510510
changes:
511511
- version:
512-
- REPLACEME
512+
- v21.0.0
513513
pr-url: https://github.com/nodejs/node/pull/45684
514514
description: No longer experimental.
515515
- version: v18.0.0
@@ -548,7 +548,7 @@ added:
548548
- v16.15.0
549549
changes:
550550
- version:
551-
- REPLACEME
551+
- v21.0.0
552552
pr-url: https://github.com/nodejs/node/pull/45684
553553
description: No longer experimental.
554554
- version: v18.0.0
@@ -597,7 +597,7 @@ This variable may appear to be global but is not. See [`module`][].
597597
## `Navigator`
598598

599599
<!-- YAML
600-
added: REPLACEME
600+
added: v21.0.0
601601
-->
602602

603603
> Stability: 1 - Experimental
@@ -607,7 +607,7 @@ A partial implementation of the [Navigator API][].
607607
## `navigator`
608608

609609
<!-- YAML
610-
added: REPLACEME
610+
added: v21.0.0
611611
-->
612612

613613
> Stability: 1 - Experimental
@@ -617,7 +617,7 @@ A partial implementation of [`window.navigator`][].
617617
### `navigator.hardwareConcurrency`
618618

619619
<!-- YAML
620-
added: REPLACEME
620+
added: v21.0.0
621621
-->
622622

623623
* {number}
@@ -823,7 +823,7 @@ added:
823823
- v16.15.0
824824
changes:
825825
- version:
826-
- REPLACEME
826+
- v21.0.0
827827
pr-url: https://github.com/nodejs/node/pull/45684
828828
description: No longer experimental.
829829
- version: v18.0.0
@@ -843,7 +843,7 @@ added:
843843
- v16.15.0
844844
changes:
845845
- version:
846-
- REPLACEME
846+
- v21.0.0
847847
pr-url: https://github.com/nodejs/node/pull/45684
848848
description: No longer experimental.
849849
- version: v18.0.0
@@ -1021,7 +1021,7 @@ The object that acts as the namespace for all W3C
10211021
## `WebSocket`
10221022

10231023
<!-- YAML
1024-
added: REPLACEME
1024+
added: v21.0.0
10251025
-->
10261026

10271027
> Stability: 1 - Experimental.

doc/api/n-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5431,7 +5431,7 @@ required in order to enable correct disposal of the reference.
54315431
#### `node_api_post_finalizer`
54325432

54335433
<!-- YAML
5434-
added: REPLACEME
5434+
added: v21.0.0
54355435
-->
54365436

54375437
> Stability: 1 - Experimental

doc/api/net.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ added: v5.7.0
579579
<!-- YAML
580580
added: v0.2.0
581581
changes:
582-
- version: REPLACEME
582+
- version: v21.0.0
583583
pr-url: https://github.com/nodejs/node/pull/48276
584584
description: Setting `maxConnections` to `0` drops all the incoming
585585
connections. Previously, it was interpreted as `Infinity`.

doc/api/webstreams.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
added: v16.5.0
77
changes:
88
- version:
9-
- REPLACEME
9+
- v21.0.0
1010
pr-url: https://github.com/nodejs/node/pull/45684
1111
description: No longer experimental.
1212
- version: v18.0.0

doc/api/worker_threads.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ There is no equivalent to this API in browsers.
174174
## `worker.isMarkedAsUntransferable(object)`
175175

176176
<!-- YAML
177-
added: REPLACEME
177+
added: v21.0.0
178178
-->
179179

180180
* `object` {any} Any JavaScript value.
@@ -600,7 +600,7 @@ are part of the channel.
600600
<!-- YAML
601601
added: v10.5.0
602602
changes:
603-
- version: REPLACEME
603+
- version: v21.0.0
604604
pr-url: https://github.com/nodejs/node/pull/47604
605605
description: An error is thrown when an untransferable object is in the
606606
transfer list.

doc/changelogs/CHANGELOG_ARCHIVE.md

+1
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@
154154
</table>
155155

156156
* Other Versions
157+
* [21.x](CHANGELOG_V21.md)
157158
* [20.x](CHANGELOG_V20.md)
158159
* [19.x](CHANGELOG_V19.md)
159160
* [18.x](CHANGELOG_V18.md)

doc/changelogs/CHANGELOG_IOJS.md

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
</table>
6363

6464
* Other Versions
65+
* [21.x](CHANGELOG_V21.md)
6566
* [20.x](CHANGELOG_V20.md)
6667
* [19.x](CHANGELOG_V19.md)
6768
* [18.x](CHANGELOG_V18.md)

doc/changelogs/CHANGELOG_V010.md

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
</table>
6565

6666
* Other Versions
67+
* [21.x](CHANGELOG_V21.md)
6768
* [20.x](CHANGELOG_V20.md)
6869
* [18.x](CHANGELOG_V18.md)
6970
* [17.x](CHANGELOG_V17.md)

doc/changelogs/CHANGELOG_V012.md

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
</table>
3333

3434
* Other Versions
35+
* [21.x](CHANGELOG_V21.md)
3536
* [20.x](CHANGELOG_V20.md)
3637
* [18.x](CHANGELOG_V18.md)
3738
* [17.x](CHANGELOG_V17.md)

doc/changelogs/CHANGELOG_V10.md

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
</table>
5959

6060
* Other Versions
61+
* [21.x](CHANGELOG_V21.md)
6162
* [20.x](CHANGELOG_V20.md)
6263
* [19.x](CHANGELOG_V19.md)
6364
* [18.x](CHANGELOG_V18.md)

doc/changelogs/CHANGELOG_V11.md

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
</table>
3131

3232
* Other Versions
33+
* [21.x](CHANGELOG_V21.md)
3334
* [19.x](CHANGELOG_V19.md)
3435
* [18.x](CHANGELOG_V18.md)
3536
* [17.x](CHANGELOG_V17.md)

doc/changelogs/CHANGELOG_V12.md

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
</table>
6868

6969
* Other Versions
70+
* [21.x](CHANGELOG_V21.md)
7071
* [20.x](CHANGELOG_V20.md)
7172
* [19.x](CHANGELOG_V19.md)
7273
* [18.x](CHANGELOG_V18.md)

doc/changelogs/CHANGELOG_V13.md

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
</table>
3131

3232
* Other Versions
33+
* [21.x](CHANGELOG_V21.md)
3334
* [20.x](CHANGELOG_V20.md)
3435
* [19.x](CHANGELOG_V19.md)
3536
* [18.x](CHANGELOG_V18.md)

doc/changelogs/CHANGELOG_V14.md

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
</table>
6363

6464
* Other Versions
65+
* [21.x](CHANGELOG_V21.md)
6566
* [20.x](CHANGELOG_V20.md)
6667
* [19.x](CHANGELOG_V19.md)
6768
* [18.x](CHANGELOG_V18.md)

doc/changelogs/CHANGELOG_V15.md

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
</table>
3232

3333
* Other Versions
34+
* [21.x](CHANGELOG_V21.md)
3435
* [20.x](CHANGELOG_V20.md)
3536
* [19.x](CHANGELOG_V19.md)
3637
* [18.x](CHANGELOG_V18.md)

doc/changelogs/CHANGELOG_V16.md

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
</table>
5454

5555
* Other Versions
56+
* [21.x](CHANGELOG_V21.md)
5657
* [20.x](CHANGELOG_V20.md)
5758
* [19.x](CHANGELOG_V19.md)
5859
* [18.x](CHANGELOG_V18.md)

doc/changelogs/CHANGELOG_V17.md

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
</table>
2929

3030
* Other Versions
31+
* [21.x](CHANGELOG_V21.md)
3132
* [20.x](CHANGELOG_V20.md)
3233
* [19.x](CHANGELOG_V19.md)
3334
* [18.x](CHANGELOG_V18.md)

doc/changelogs/CHANGELOG_V18.md

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
</table>
4343

4444
* Other Versions
45+
* [21.x](CHANGELOG_V21.md)
4546
* [20.x](CHANGELOG_V20.md)
4647
* [19.x](CHANGELOG_V19.md)
4748
* [17.x](CHANGELOG_V17.md)

doc/changelogs/CHANGELOG_V19.md

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
</table>
2727

2828
* Other Versions
29+
* [21.x](CHANGELOG_V21.md)
2930
* [20.x](CHANGELOG_V20.md)
3031
* [18.x](CHANGELOG_V18.md)
3132
* [17.x](CHANGELOG_V17.md)

doc/changelogs/CHANGELOG_V20.md

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
</table>
2626

2727
* Other Versions
28+
* [21.x](CHANGELOG_V21.md)
2829
* [19.x](CHANGELOG_V19.md)
2930
* [18.x](CHANGELOG_V18.md)
3031
* [17.x](CHANGELOG_V17.md)

0 commit comments

Comments
 (0)