Skip to content

Commit 38d0e69

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: * use import attributes instead of import assertions (Antoine du Hamel) #50140 * --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 http: * (SEMVER-MAJOR) reduce parts in chunked response when corking (Robert Nagy) #50167 lib: * (SEMVER-MINOR) add WebSocket client (Matthew Aitken) #49830 * (SEMVER-MAJOR) add `navigator.hardwareConcurrency` (Yagiz Nizipli) #47769 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) build: drop support for Visual Studio 2019 (Michaël Zasso) #49051 * (SEMVER-MAJOR) build: bump supported macOS and Xcode versions (Michaël Zasso) #49164 * (SEMVER-MAJOR) crypto: do not overwrite \_writableState.defaultEncoding (Tobias Nießen) #49140 * (SEMVER-MAJOR) deps: bump minimum ICU version to 73 (Michaël Zasso) #49639 * (SEMVER-MAJOR) deps: update V8 to 11.8.172.13 (Michaël Zasso) #49639 * (SEMVER-MAJOR) deps: update llhttp to 9.1.2 (Paolo Insogna) #48981 * (SEMVER-MAJOR) events: validate options of `on` and `once` (Deokjin Kim) #46018 * (SEMVER-MAJOR) fs: adjust `position` validation in reading methods (Livia Medeiros) #42835 * (SEMVER-MAJOR) fs: add globSync implementation (Moshe Atlow) #47653 * (SEMVER-MAJOR) http: reduce parts in chunked response when corking (Robert Nagy) #50167 * (SEMVER-MAJOR) lib: mark URL/URLSearchParams as uncloneable and untransferable (Chengzhong Wu) #47497 * (SEMVER-MAJOR) lib: remove aix directory case for package reader (Yagiz Nizipli) #48605 * (SEMVER-MAJOR) lib: add `navigator.hardwareConcurrency` (Yagiz Nizipli) #47769 * (SEMVER-MAJOR) lib: runtime deprecate punycode (Yagiz Nizipli) #47202 * (SEMVER-MAJOR) module: harmonize error code between ESM and CJS (Antoine du Hamel) #48606 * (SEMVER-MAJOR) net: do not treat `server.maxConnections=0` as `Infinity` (ignoramous) #48276 * (SEMVER-MAJOR) net: only defer \_final call when connecting (Jason Zhang) #47385 * (SEMVER-MAJOR) node-api: rename internal NAPI\_VERSION definition (Chengzhong Wu) #48501 * (SEMVER-MAJOR) src: update NODE\_MODULE\_VERSION to 120 (Michaël Zasso) #49639 * (SEMVER-MAJOR) src: throw DOMException on cloning non-serializable objects (Chengzhong Wu) #47839 * (SEMVER-MAJOR) src: throw DataCloneError on transfering untransferable objects (Chengzhong Wu) #47604 * (SEMVER-MAJOR) stream: use private properties for strategies (Yagiz Nizipli) #47218 * (SEMVER-MAJOR) stream: use private properties for encoding (Yagiz Nizipli) #47218 * (SEMVER-MAJOR) stream: use private properties for compression (Yagiz Nizipli) #47218 * (SEMVER-MAJOR) test\_runner: disallow array in `run` options (Raz Luvaton) #49935 * (SEMVER-MAJOR) test\_runner: support passing globs (Moshe Atlow) #47653 * (SEMVER-MAJOR) tls: use `validateNumber` for `options.minDHSize` (Deokjin Kim) #49973 * (SEMVER-MAJOR) tls: use validateFunction for `options.checkServerIdentity` (Deokjin Kim) #49896 * (SEMVER-MAJOR) util: runtime deprecate `promisify`-ing a function returning a `Promise` (Antoine du Hamel) #49609 * (SEMVER-MAJOR) vm: freeze `dependencySpecifiers` array (Antoine du Hamel) #49720 PR-URL: #49870 Co-authored-by: Michaël Zasso <[email protected]>
1 parent d68d0ea commit 38d0e69

36 files changed

+349
-37
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.1">20.8.1</a></b><br/>
3843
<a href="doc/changelogs/CHANGELOG_V20.md#20.8.0">20.8.0</a><br/>
3944
<a href="doc/changelogs/CHANGELOG_V20.md#20.7.0">20.7.0</a><br/>

doc/abi_version_registry.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"NODE_MODULE_VERSION": [
3-
{ "modules": 120,"runtime": "node", "variant": "v8_11.8", "versions": "21.0.0-pre" },
3+
{ "modules": 120,"runtime": "node", "variant": "v8_11.8", "versions": "21.0.0" },
44
{ "modules": 119,"runtime": "electron", "variant": "electron", "versions": "28" },
55
{ "modules": 118,"runtime": "electron", "variant": "electron", "versions": "27" },
66
{ "modules": 117,"runtime": "electron", "variant": "electron", "versions": "26" },

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -1791,7 +1791,7 @@ An import attribute is not supported by this version of Node.js.
17911791
### `ERR_IMPORT_ATTRIBUTE_UNSUPPORTED`
17921792

17931793
<!-- YAML
1794-
added: REPLACEME
1794+
added: v21.0.0
17951795
-->
17961796

17971797
An import attribute is not supported by this version of Node.js.
@@ -3293,9 +3293,9 @@ An invalid or unknown file encoding was passed.
32933293
### `ERR_INVALID_TRANSFER_OBJECT`
32943294

32953295
<!-- YAML
3296-
removed: REPLACEME
3296+
removed: v21.0.0
32973297
changes:
3298-
- version: REPLACEME
3298+
- version: v21.0.0
32993299
pr-url: https://github.com/nodejs/node/pull/47839
33003300
description: A `DOMException` is thrown instead.
33013301
-->
@@ -3320,9 +3320,9 @@ transferable objects also exist now.
33203320

33213321
<!-- YAML
33223322
added: v15.0.0
3323-
removed: REPLACEME
3323+
removed: v21.0.0
33243324
changes:
3325-
- version: REPLACEME
3325+
- version: v21.0.0
33263326
pr-url: https://github.com/nodejs/node/pull/47839
33273327
description: A `DOMException` is thrown instead.
33283328
-->

doc/api/esm.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<!-- YAML
88
added: v8.5.0
99
changes:
10-
- version: REPLACEME
10+
- version: v21.0.0
1111
pr-url: https://github.com/nodejs/node/pull/50140
1212
description: Add experimental support for import attributes.
1313
- version: v20.0.0
@@ -247,7 +247,7 @@ added:
247247
- v17.1.0
248248
- v16.14.0
249249
changes:
250-
- version: REPLACEME
250+
- version: v21.0.0
251251
pr-url: https://github.com/nodejs/node/pull/50140
252252
description: Switch from Import Assertions to Import Attributes.
253253
-->

doc/api/fs.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ fd.createReadStream({ start: 90, end: 99 });
319319
<!-- YAML
320320
added: v16.11.0
321321
changes:
322-
- version: REPLACEME
322+
- version: v21.0.0
323323
pr-url: https://github.com/nodejs/node/pull/50093
324324
description: The `flush` option is now supported.
325325
-->
@@ -376,7 +376,7 @@ added: v10.0.0
376376
<!-- YAML
377377
added: v10.0.0
378378
changes:
379-
- version: REPLACEME
379+
- version: v21.0.0
380380
pr-url: https://github.com/nodejs/node/pull/42835
381381
description: Accepts bigint values as `position`.
382382
-->
@@ -406,7 +406,7 @@ added:
406406
- v13.11.0
407407
- v12.17.0
408408
changes:
409-
- version: REPLACEME
409+
- version: v21.0.0
410410
pr-url: https://github.com/nodejs/node/pull/42835
411411
description: Accepts bigint values as `position`.
412412
-->
@@ -440,7 +440,7 @@ added:
440440
- v18.2.0
441441
- v16.17.0
442442
changes:
443-
- version: REPLACEME
443+
- version: v21.0.0
444444
pr-url: https://github.com/nodejs/node/pull/42835
445445
description: Accepts bigint values as `position`.
446446
-->
@@ -1750,7 +1750,7 @@ All the [caveats][] for `fs.watch()` also apply to `fsPromises.watch()`.
17501750
<!-- YAML
17511751
added: v10.0.0
17521752
changes:
1753-
- version: REPLACEME
1753+
- version: v21.0.0
17541754
pr-url: https://github.com/nodejs/node/pull/50009
17551755
description: The `flush` option is now supported.
17561756
- version:
@@ -2546,7 +2546,7 @@ If `options` is a string, then it specifies the encoding.
25462546
<!-- YAML
25472547
added: v0.1.31
25482548
changes:
2549-
- version: REPLACEME
2549+
- version: v21.0.0
25502550
pr-url: https://github.com/nodejs/node/pull/50093
25512551
description: The `flush` option is now supported.
25522552
- version: v16.10.0
@@ -4900,7 +4900,7 @@ details.
49004900
<!-- YAML
49014901
added: v0.1.29
49024902
changes:
4903-
- version: REPLACEME
4903+
- version: v21.0.0
49044904
pr-url: https://github.com/nodejs/node/pull/50009
49054905
description: The `flush` option is now supported.
49064906
- version: v19.0.0
@@ -6196,7 +6196,7 @@ this API: [`fs.utimes()`][].
61966196
<!-- YAML
61976197
added: v0.1.29
61986198
changes:
6199-
- version: REPLACEME
6199+
- version: v21.0.0
62006200
pr-url: https://github.com/nodejs/node/pull/50009
62016201
description: The `flush` option is now supported.
62026202
- 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/module.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ register('./path-to-my-hooks.js', {
458458
459459
<!-- YAML
460460
changes:
461-
- version: REPLACEME
461+
- version: v21.0.0
462462
pr-url: https://github.com/nodejs/node/pull/50140
463463
description: The property `context.importAssertions` is replaced with
464464
`context.importAttributes`. Using the old name is still

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)

0 commit comments

Comments
 (0)