Skip to content

Commit

Permalink
2023-11-22, Version 20.10.0 'Iron' (LTS)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
targos authored and martenrichter committed Nov 26, 2023
1 parent b9a2f28 commit f12fad8
Show file tree
Hide file tree
Showing 11 changed files with 386 additions and 20 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ release.
<a href="doc/changelogs/CHANGELOG_V21.md#21.0.0">21.0.0</a><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.9.0">20.9.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.10.0">20.10.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.9.0">20.9.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.8.1">20.8.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.8.0">20.8.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.7.0">20.7.0</a><br/>
Expand Down
10 changes: 8 additions & 2 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,7 @@ and `"` are usable.
<!-- YAML
added:
- v21.0.0
- v20.10.0
-->

> Stability: 1.0 - Early development
Expand Down Expand Up @@ -676,6 +677,7 @@ JavaScript.
<!-- YAML
added:
- v21.1.0
- v20.10.0
-->

> Stability: 1.0 - Early development
Expand Down Expand Up @@ -851,7 +853,9 @@ Enable experimental WebAssembly module support.
### `--experimental-websocket`

<!-- YAML
added: v21.0.0
added:
- v21.0.0
- v20.10.0
-->

Enable experimental [`WebSocket`][] support.
Expand Down Expand Up @@ -1746,7 +1750,9 @@ for more details.
### `--test-concurrency`

<!-- YAML
added: v21.0.0
added:
- v21.0.0
- v20.10.0
-->

The maximum number of test files that the test runner CLI will execute
Expand Down
4 changes: 3 additions & 1 deletion doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -1783,7 +1783,9 @@ An import attribute is missing, preventing the specified module to be imported.
### `ERR_IMPORT_ATTRIBUTE_UNSUPPORTED`

<!-- YAML
added: v21.0.0
added:
- v21.0.0
- v20.10.0
-->

An import attribute is not supported by this version of Node.js.
Expand Down
8 changes: 6 additions & 2 deletions doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
<!-- YAML
added: v8.5.0
changes:
- version: v21.0.0
- version:
- v21.0.0
- v20.10.0
pr-url: https://github.com/nodejs/node/pull/50140
description: Add experimental support for import attributes.
- version: v20.0.0
Expand Down Expand Up @@ -257,7 +259,9 @@ added:
- v17.1.0
- v16.14.0
changes:
- version: v21.0.0
- version:
- v21.0.0
- v20.10.0
pr-url: https://github.com/nodejs/node/pull/50140
description: Switch from Import Assertions to Import Attributes.
-->
Expand Down
36 changes: 27 additions & 9 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ longer be used.
<!-- YAML
added: v10.0.0
changes:
- version: v21.1.0
- version:
- v21.1.0
- v20.10.0
pr-url: https://github.com/nodejs/node/pull/50095
description: The `flush` option is now supported.
- version:
Expand Down Expand Up @@ -324,7 +326,9 @@ fd.createReadStream({ start: 90, end: 99 });
<!-- YAML
added: v16.11.0
changes:
- version: v21.0.0
- version:
- v21.0.0
- v20.10.0
pr-url: https://github.com/nodejs/node/pull/50093
description: The `flush` option is now supported.
-->
Expand Down Expand Up @@ -902,7 +906,9 @@ the error raised if the file is not accessible.
<!-- YAML
added: v10.0.0
changes:
- version: v21.1.0
- version:
- v21.1.0
- v20.10.0
pr-url: https://github.com/nodejs/node/pull/50095
description: The `flush` option is now supported.
-->
Expand Down Expand Up @@ -1761,7 +1767,9 @@ All the [caveats][] for `fs.watch()` also apply to `fsPromises.watch()`.
<!-- YAML
added: v10.0.0
changes:
- version: v21.0.0
- version:
- v21.0.0
- v20.10.0
pr-url: https://github.com/nodejs/node/pull/50009
description: The `flush` option is now supported.
- version:
Expand Down Expand Up @@ -2063,7 +2071,9 @@ the user from reading or writing to it.
<!-- YAML
added: v0.6.7
changes:
- version: v21.1.0
- version:
- v21.1.0
- v20.10.0
pr-url: https://github.com/nodejs/node/pull/50095
description: The `flush` option is now supported.
- version: v18.0.0
Expand Down Expand Up @@ -2562,7 +2572,9 @@ If `options` is a string, then it specifies the encoding.
<!-- YAML
added: v0.1.31
changes:
- version: v21.0.0
- version:
- v21.0.0
- v20.10.0
pr-url: https://github.com/nodejs/node/pull/50093
description: The `flush` option is now supported.
- version: v16.10.0
Expand Down Expand Up @@ -4916,7 +4928,9 @@ details.
<!-- YAML
added: v0.1.29
changes:
- version: v21.0.0
- version:
- v21.0.0
- v20.10.0
pr-url: https://github.com/nodejs/node/pull/50009
description: The `flush` option is now supported.
- version: v19.0.0
Expand Down Expand Up @@ -5158,7 +5172,9 @@ try {
<!-- YAML
added: v0.6.7
changes:
- version: v21.1.0
- version:
- v21.1.0
- v20.10.0
pr-url: https://github.com/nodejs/node/pull/50095
description: The `flush` option is now supported.
- version: v7.0.0
Expand Down Expand Up @@ -6217,7 +6233,9 @@ this API: [`fs.utimes()`][].
<!-- YAML
added: v0.1.29
changes:
- version: v21.0.0
- version:
- v21.0.0
- v20.10.0
pr-url: https://github.com/nodejs/node/pull/50009
description: The `flush` option is now supported.
- version: v19.0.0
Expand Down
4 changes: 3 additions & 1 deletion doc/api/globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,9 @@ The object that acts as the namespace for all W3C
## `WebSocket`

<!-- YAML
added: v21.0.0
added:
- v21.0.0
- v20.10.0
-->

> Stability: 1 - Experimental.
Expand Down
4 changes: 3 additions & 1 deletion doc/api/module.md
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,9 @@ register('./path-to-my-hooks.js', {
<!-- YAML
changes:
- version: v21.0.0
- version:
- v21.0.0
- v20.10.0
pr-url: https://github.com/nodejs/node/pull/50140
description: The property `context.importAssertions` is replaced with
`context.importAttributes`. Using the old name is still
Expand Down
4 changes: 3 additions & 1 deletion doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5452,7 +5452,9 @@ required in order to enable correct disposal of the reference.
#### `node_api_post_finalizer`

<!-- YAML
added: v21.0.0
added:
- v21.0.0
- v20.10.0
-->

> Stability: 1 - Experimental
Expand Down
4 changes: 3 additions & 1 deletion doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -2823,7 +2823,9 @@ const server = http.createServer((req, res) => {
<!-- YAML
added: v16.9.0
changes:
- version: v21.1.0
- version:
- v21.1.0
- v20.10.0
pr-url: https://github.com/nodejs/node/pull/50187
description: Added support for stream class.
- version:
Expand Down
4 changes: 3 additions & 1 deletion doc/api/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,9 @@ The identifier of the current module, as set in the constructor.

<!-- YAML
changes:
- version: v21.1.0
- version:
- v21.1.0
- v20.10.0
pr-url: https://github.com/nodejs/node/pull/50141
description: The option `extra.assert` is renamed to `extra.attributes`. The
former name is still provided for backward compatibility.
Expand Down
Loading

0 comments on commit f12fad8

Please sign in to comment.