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) #49908
doc:
  * add H4ad to collaborators (Vinícius Lourenço) #50217
esm:
  * (SEMVER-MINOR) detect ESM syntax in ambiguous JavaScript (Geoffrey Booth) #50096
  * use import attributes instead of import assertions (Antoine du Hamel) #50140
  * --experimental-default-type flag to flip module defaults (Geoffrey Booth) #49869
fs:
  * (SEMVER-MINOR) add flush option to appendFile() functions (Colin Ihrig) #50095
  * add flush option to writeFile() functions (Colin Ihrig) #50009
lib:
  * (SEMVER-MINOR) add WebSocket client (Matthew Aitken) #49830
stream:
  * (SEMVER-MINOR) allow pass stream class to `stream.compose` (Alex Yang) #50187
  * call helper function from push and unshift (Raz Luvaton) #50173
  * optimize Writable (Robert Nagy) #50012
test_runner, cli:
  * (SEMVER-MINOR) add --test-concurrency flag (Colin Ihrig) #49996
vm:
  * (SEMVER-MINOR) use import attributes instead of import assertions (Antoine du Hamel) #50141
  * use default HDO when importModuleDynamically is not set (Joyee Cheung) #49950
wasi:

PR-URL: #50682
  • Loading branch information
targos committed Nov 21, 2023
1 parent 68ec1e5 commit a220664
Show file tree
Hide file tree
Showing 12 changed files with 351 additions and 25 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -35,7 +35,8 @@ release.
</tr>
<tr>
<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
8 changes: 4 additions & 4 deletions doc/api/cli.md
Expand Up @@ -585,7 +585,7 @@ and `"` are usable.

<!-- YAML
added:
- REPLACEME
- v20.10.0
-->

> Stability: 1.0 - Early development
Expand Down Expand Up @@ -615,7 +615,7 @@ JavaScript.

<!-- YAML
added:
- REPLACEME
- v20.10.0
-->

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

<!-- YAML
added: REPLACEME
added: v20.10.0
-->

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

<!-- YAML
added: REPLACEME
added: v20.10.0
-->

The maximum number of test files that the test runner CLI will execute
Expand Down
2 changes: 1 addition & 1 deletion doc/api/errors.md
Expand Up @@ -1791,7 +1791,7 @@ An import attribute is not supported by this version of Node.js.
### `ERR_IMPORT_ATTRIBUTE_UNSUPPORTED`

<!-- YAML
added: REPLACEME
added: v20.10.0
-->

An import attribute is not supported by this version of Node.js.
Expand Down
4 changes: 2 additions & 2 deletions doc/api/esm.md
Expand Up @@ -7,7 +7,7 @@
<!-- YAML
added: v8.5.0
changes:
- version: REPLACEME
- version: v20.10.0
pr-url: https://github.com/nodejs/node/pull/50140

Check warning on line 11 in doc/api/esm.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Add experimental support for import attributes.
- version: v20.0.0
Expand Down Expand Up @@ -257,7 +257,7 @@ added:
- v17.1.0
- v16.14.0
changes:
- version: REPLACEME
- version: v20.10.0
pr-url: https://github.com/nodejs/node/pull/50140

Check warning on line 261 in doc/api/esm.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Switch from Import Assertions to Import Attributes.
-->
Expand Down
18 changes: 9 additions & 9 deletions doc/api/fs.md
Expand Up @@ -180,7 +180,7 @@ longer be used.
<!-- YAML
added: v10.0.0
changes:
- version: REPLACEME
- version: v20.10.0
pr-url: https://github.com/nodejs/node/pull/50095

Check warning on line 184 in doc/api/fs.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: The `flush` option is now supported.
- version:
Expand Down Expand Up @@ -324,7 +324,7 @@ fd.createReadStream({ start: 90, end: 99 });
<!-- YAML
added: v16.11.0
changes:
- version: REPLACEME
- version: v20.10.0
pr-url: https://github.com/nodejs/node/pull/50093

Check warning on line 328 in doc/api/fs.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: The `flush` option is now supported.
-->
Expand Down Expand Up @@ -884,7 +884,7 @@ the error raised if the file is not accessible.
<!-- YAML
added: v10.0.0
changes:
- version: REPLACEME
- version: v20.10.0
pr-url: https://github.com/nodejs/node/pull/50095

Check warning on line 888 in doc/api/fs.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: The `flush` option is now supported.
-->
Expand Down Expand Up @@ -1737,7 +1737,7 @@ All the [caveats][] for `fs.watch()` also apply to `fsPromises.watch()`.
<!-- YAML
added: v10.0.0
changes:
- version: REPLACEME
- version: v20.10.0
pr-url: https://github.com/nodejs/node/pull/50009

Check warning on line 1741 in doc/api/fs.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: The `flush` option is now supported.
- version:
Expand Down Expand Up @@ -2039,7 +2039,7 @@ the user from reading or writing to it.
<!-- YAML
added: v0.6.7
changes:
- version: REPLACEME
- version: v20.10.0
pr-url: https://github.com/nodejs/node/pull/50095

Check warning on line 2043 in doc/api/fs.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: The `flush` option is now supported.
- version: v18.0.0
Expand Down Expand Up @@ -2536,7 +2536,7 @@ If `options` is a string, then it specifies the encoding.
<!-- YAML
added: v0.1.31
changes:
- version: REPLACEME
- version: v20.10.0
pr-url: https://github.com/nodejs/node/pull/50093

Check warning on line 2540 in doc/api/fs.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: The `flush` option is now supported.
- version: v16.10.0
Expand Down Expand Up @@ -4886,7 +4886,7 @@ details.
<!-- YAML
added: v0.1.29
changes:
- version: REPLACEME
- version: v20.10.0
pr-url: https://github.com/nodejs/node/pull/50009

Check warning on line 4890 in doc/api/fs.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: The `flush` option is now supported.
- version: v19.0.0
Expand Down Expand Up @@ -5128,7 +5128,7 @@ try {
<!-- YAML
added: v0.6.7
changes:
- version: REPLACEME
- version: v20.10.0
pr-url: https://github.com/nodejs/node/pull/50095

Check warning on line 5132 in doc/api/fs.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: The `flush` option is now supported.
- version: v7.0.0
Expand Down Expand Up @@ -6181,7 +6181,7 @@ this API: [`fs.utimes()`][].
<!-- YAML
added: v0.1.29
changes:
- version: REPLACEME
- version: 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
2 changes: 1 addition & 1 deletion doc/api/globals.md
Expand Up @@ -969,7 +969,7 @@ The object that acts as the namespace for all W3C
## `WebSocket`

<!-- YAML
added: REPLACEME
added: v20.10.0
-->

> Stability: 1 - Experimental.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/module.md
Expand Up @@ -458,7 +458,7 @@ register('./path-to-my-hooks.js', {
<!-- YAML
changes:
- version: REPLACEME
- version: 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
2 changes: 1 addition & 1 deletion doc/api/n-api.md
Expand Up @@ -5427,7 +5427,7 @@ required in order to enable correct disposal of the reference.
#### `node_api_post_finalizer`

<!-- YAML
added: REPLACEME
added: v20.10.0
-->

> Stability: 1 - Experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/stream.md
Expand Up @@ -2850,7 +2850,7 @@ const server = http.createServer((req, res) => {
<!-- YAML
added: v16.9.0
changes:
- version: REPLACEME
- version: v20.10.0
pr-url: https://github.com/nodejs/node/pull/50187
description: Added support for stream class.
- version:
Expand Down
2 changes: 1 addition & 1 deletion doc/api/vm.md
Expand Up @@ -619,7 +619,7 @@ The identifier of the current module, as set in the constructor.

<!-- YAML
changes:
- version: REPLACEME
- version: 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

0 comments on commit a220664

Please sign in to comment.