Skip to content

Commit f12fad8

Browse files
targosmartenrichter
authored andcommitted
2023-11-22, Version 20.10.0 'Iron' (LTS)
Notable changes: deps: * (SEMVER-MINOR) update uvwasi to 0.0.19 (Node.js GitHub Bot) nodejs#49908 doc: * add H4ad to collaborators (Vinícius Lourenço) nodejs#50217 esm: * (SEMVER-MINOR) detect ESM syntax in ambiguous JavaScript (Geoffrey Booth) nodejs#50096 * use import attributes instead of import assertions (Antoine du Hamel) nodejs#50140 * --experimental-default-type flag to flip module defaults (Geoffrey Booth) nodejs#49869 fs: * (SEMVER-MINOR) add flush option to appendFile() functions (Colin Ihrig) nodejs#50095 * add flush option to writeFile() functions (Colin Ihrig) nodejs#50009 lib: * (SEMVER-MINOR) add WebSocket client (Matthew Aitken) nodejs#49830 stream: * (SEMVER-MINOR) allow pass stream class to `stream.compose` (Alex Yang) nodejs#50187 * call helper function from push and unshift (Raz Luvaton) nodejs#50173 * optimize Writable (Robert Nagy) nodejs#50012 test_runner, cli: * (SEMVER-MINOR) add --test-concurrency flag (Colin Ihrig) nodejs#49996 vm: * (SEMVER-MINOR) use import attributes instead of import assertions (Antoine du Hamel) nodejs#50141 * use default HDO when importModuleDynamically is not set (Joyee Cheung) nodejs#49950 wasi: PR-URL: nodejs#50682
1 parent b9a2f28 commit f12fad8

File tree

11 files changed

+386
-20
lines changed

11 files changed

+386
-20
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ release.
4141
<a href="doc/changelogs/CHANGELOG_V21.md#21.0.0">21.0.0</a><br/>
4242
</td>
4343
<td valign="top">
44-
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.9.0">20.9.0</a></b><br/>
44+
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.10.0">20.10.0</a></b><br/>
45+
<a href="doc/changelogs/CHANGELOG_V20.md#20.9.0">20.9.0</a><br/>
4546
<a href="doc/changelogs/CHANGELOG_V20.md#20.8.1">20.8.1</a><br/>
4647
<a href="doc/changelogs/CHANGELOG_V20.md#20.8.0">20.8.0</a><br/>
4748
<a href="doc/changelogs/CHANGELOG_V20.md#20.7.0">20.7.0</a><br/>

doc/api/cli.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,7 @@ and `"` are usable.
646646
<!-- YAML
647647
added:
648648
- v21.0.0
649+
- v20.10.0
649650
-->
650651

651652
> Stability: 1.0 - Early development
@@ -676,6 +677,7 @@ JavaScript.
676677
<!-- YAML
677678
added:
678679
- v21.1.0
680+
- v20.10.0
679681
-->
680682

681683
> Stability: 1.0 - Early development
@@ -851,7 +853,9 @@ Enable experimental WebAssembly module support.
851853
### `--experimental-websocket`
852854

853855
<!-- YAML
854-
added: v21.0.0
856+
added:
857+
- v21.0.0
858+
- v20.10.0
855859
-->
856860

857861
Enable experimental [`WebSocket`][] support.
@@ -1746,7 +1750,9 @@ for more details.
17461750
### `--test-concurrency`
17471751

17481752
<!-- YAML
1749-
added: v21.0.0
1753+
added:
1754+
- v21.0.0
1755+
- v20.10.0
17501756
-->
17511757

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

doc/api/errors.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1783,7 +1783,9 @@ An import attribute is missing, preventing the specified module to be imported.
17831783
### `ERR_IMPORT_ATTRIBUTE_UNSUPPORTED`
17841784

17851785
<!-- YAML
1786-
added: v21.0.0
1786+
added:
1787+
- v21.0.0
1788+
- v20.10.0
17871789
-->
17881790

17891791
An import attribute is not supported by this version of Node.js.

doc/api/esm.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
<!-- YAML
88
added: v8.5.0
99
changes:
10-
- version: v21.0.0
10+
- version:
11+
- v21.0.0
12+
- v20.10.0
1113
pr-url: https://github.com/nodejs/node/pull/50140
1214
description: Add experimental support for import attributes.
1315
- version: v20.0.0
@@ -257,7 +259,9 @@ added:
257259
- v17.1.0
258260
- v16.14.0
259261
changes:
260-
- version: v21.0.0
262+
- version:
263+
- v21.0.0
264+
- v20.10.0
261265
pr-url: https://github.com/nodejs/node/pull/50140
262266
description: Switch from Import Assertions to Import Attributes.
263267
-->

doc/api/fs.md

+27-9
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ longer be used.
180180
<!-- YAML
181181
added: v10.0.0
182182
changes:
183-
- version: v21.1.0
183+
- version:
184+
- v21.1.0
185+
- v20.10.0
184186
pr-url: https://github.com/nodejs/node/pull/50095
185187
description: The `flush` option is now supported.
186188
- version:
@@ -324,7 +326,9 @@ fd.createReadStream({ start: 90, end: 99 });
324326
<!-- YAML
325327
added: v16.11.0
326328
changes:
327-
- version: v21.0.0
329+
- version:
330+
- v21.0.0
331+
- v20.10.0
328332
pr-url: https://github.com/nodejs/node/pull/50093
329333
description: The `flush` option is now supported.
330334
-->
@@ -902,7 +906,9 @@ the error raised if the file is not accessible.
902906
<!-- YAML
903907
added: v10.0.0
904908
changes:
905-
- version: v21.1.0
909+
- version:
910+
- v21.1.0
911+
- v20.10.0
906912
pr-url: https://github.com/nodejs/node/pull/50095
907913
description: The `flush` option is now supported.
908914
-->
@@ -1761,7 +1767,9 @@ All the [caveats][] for `fs.watch()` also apply to `fsPromises.watch()`.
17611767
<!-- YAML
17621768
added: v10.0.0
17631769
changes:
1764-
- version: v21.0.0
1770+
- version:
1771+
- v21.0.0
1772+
- v20.10.0
17651773
pr-url: https://github.com/nodejs/node/pull/50009
17661774
description: The `flush` option is now supported.
17671775
- version:
@@ -2063,7 +2071,9 @@ the user from reading or writing to it.
20632071
<!-- YAML
20642072
added: v0.6.7
20652073
changes:
2066-
- version: v21.1.0
2074+
- version:
2075+
- v21.1.0
2076+
- v20.10.0
20672077
pr-url: https://github.com/nodejs/node/pull/50095
20682078
description: The `flush` option is now supported.
20692079
- version: v18.0.0
@@ -2562,7 +2572,9 @@ If `options` is a string, then it specifies the encoding.
25622572
<!-- YAML
25632573
added: v0.1.31
25642574
changes:
2565-
- version: v21.0.0
2575+
- version:
2576+
- v21.0.0
2577+
- v20.10.0
25662578
pr-url: https://github.com/nodejs/node/pull/50093
25672579
description: The `flush` option is now supported.
25682580
- version: v16.10.0
@@ -4916,7 +4928,9 @@ details.
49164928
<!-- YAML
49174929
added: v0.1.29
49184930
changes:
4919-
- version: v21.0.0
4931+
- version:
4932+
- v21.0.0
4933+
- v20.10.0
49204934
pr-url: https://github.com/nodejs/node/pull/50009
49214935
description: The `flush` option is now supported.
49224936
- version: v19.0.0
@@ -5158,7 +5172,9 @@ try {
51585172
<!-- YAML
51595173
added: v0.6.7
51605174
changes:
5161-
- version: v21.1.0
5175+
- version:
5176+
- v21.1.0
5177+
- v20.10.0
51625178
pr-url: https://github.com/nodejs/node/pull/50095
51635179
description: The `flush` option is now supported.
51645180
- version: v7.0.0
@@ -6217,7 +6233,9 @@ this API: [`fs.utimes()`][].
62176233
<!-- YAML
62186234
added: v0.1.29
62196235
changes:
6220-
- version: v21.0.0
6236+
- version:
6237+
- v21.0.0
6238+
- v20.10.0
62216239
pr-url: https://github.com/nodejs/node/pull/50009
62226240
description: The `flush` option is now supported.
62236241
- version: v19.0.0

doc/api/globals.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,9 @@ The object that acts as the namespace for all W3C
10941094
## `WebSocket`
10951095

10961096
<!-- YAML
1097-
added: v21.0.0
1097+
added:
1098+
- v21.0.0
1099+
- v20.10.0
10981100
-->
10991101

11001102
> Stability: 1 - Experimental.

doc/api/module.md

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

doc/api/n-api.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -5452,7 +5452,9 @@ required in order to enable correct disposal of the reference.
54525452
#### `node_api_post_finalizer`
54535453

54545454
<!-- YAML
5455-
added: v21.0.0
5455+
added:
5456+
- v21.0.0
5457+
- v20.10.0
54565458
-->
54575459

54585460
> Stability: 1 - Experimental

doc/api/stream.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2823,7 +2823,9 @@ const server = http.createServer((req, res) => {
28232823
<!-- YAML
28242824
added: v16.9.0
28252825
changes:
2826-
- version: v21.1.0
2826+
- version:
2827+
- v21.1.0
2828+
- v20.10.0
28272829
pr-url: https://github.com/nodejs/node/pull/50187
28282830
description: Added support for stream class.
28292831
- version:

doc/api/vm.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,9 @@ The identifier of the current module, as set in the constructor.
619619

620620
<!-- YAML
621621
changes:
622-
- version: v21.1.0
622+
- version:
623+
- v21.1.0
624+
- v20.10.0
623625
pr-url: https://github.com/nodejs/node/pull/50141
624626
description: The option `extra.assert` is renamed to `extra.attributes`. The
625627
former name is still provided for backward compatibility.

0 commit comments

Comments
 (0)