Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2023-10-17, Version 21.0.0 (Current) #49870

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

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

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

<table>
<tr>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V21.md">21</a> (Current)</th>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V20.md">20</a> (Current)</th>
<th title="LTS Until 2025-04"><a href="doc/changelogs/CHANGELOG_V18.md">18</a> (LTS)</th>
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V21.md#21.0.0">21.0.0</a></b><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.8.1">20.8.1</a></b><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
2 changes: 1 addition & 1 deletion doc/abi_version_registry.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"NODE_MODULE_VERSION": [
{ "modules": 120,"runtime": "node", "variant": "v8_11.8", "versions": "21.0.0-pre" },
{ "modules": 120,"runtime": "node", "variant": "v8_11.8", "versions": "21.0.0" },
{ "modules": 119,"runtime": "electron", "variant": "electron", "versions": "28" },
{ "modules": 118,"runtime": "electron", "variant": "electron", "versions": "27" },
{ "modules": 117,"runtime": "electron", "variant": "electron", "versions": "26" },
Expand Down
6 changes: 3 additions & 3 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ and `"` are usable.

<!-- YAML
added:
- REPLACEME
- v21.0.0
-->

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

<!-- YAML
added: REPLACEME
added: v21.0.0
-->

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

<!-- YAML
added: REPLACEME
added: v21.0.0
-->

The maximum number of test files that the test runner CLI will execute
Expand Down
4 changes: 2 additions & 2 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ The [`require.extensions`][] property is deprecated.

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

<!-- YAML
changes:
- version: REPLACEME
- version: v21.0.0
pr-url: https://github.com/nodejs/node/pull/49609
description: Runtime deprecation.
- version: v20.8.0
Expand Down
10 changes: 5 additions & 5 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
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: v21.0.0
-->

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

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

<!-- YAML
added: v15.0.0
removed: REPLACEME
removed: v21.0.0
changes:
- version: REPLACEME
- version: v21.0.0
pr-url: https://github.com/nodejs/node/pull/47839
description: A `DOMException` is thrown instead.
-->
Expand Down
4 changes: 2 additions & 2 deletions doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!-- YAML
added: v8.5.0
changes:
- version: REPLACEME
- version: v21.0.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 @@ -247,7 +247,7 @@ added:
- v17.1.0
- v16.14.0
changes:
- version: REPLACEME
- version: v21.0.0
pr-url: https://github.com/nodejs/node/pull/50140
description: Switch from Import Assertions to Import Attributes.
-->
Expand Down
16 changes: 8 additions & 8 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ fd.createReadStream({ start: 90, end: 99 });
<!-- YAML
added: v16.11.0
changes:
- version: REPLACEME
- version: v21.0.0
pr-url: https://github.com/nodejs/node/pull/50093
description: The `flush` option is now supported.
-->
Expand Down Expand Up @@ -376,7 +376,7 @@ added: v10.0.0
<!-- YAML
added: v10.0.0
changes:
- version: REPLACEME
- version: v21.0.0
pr-url: https://github.com/nodejs/node/pull/42835
description: Accepts bigint values as `position`.
-->
Expand Down Expand Up @@ -406,7 +406,7 @@ added:
- v13.11.0
- v12.17.0
changes:
- version: REPLACEME
- version: v21.0.0
pr-url: https://github.com/nodejs/node/pull/42835
description: Accepts bigint values as `position`.
-->
Expand Down Expand Up @@ -440,7 +440,7 @@ added:
- v18.2.0
- v16.17.0
changes:
- version: REPLACEME
- version: v21.0.0
pr-url: https://github.com/nodejs/node/pull/42835
description: Accepts bigint values as `position`.
-->
Expand Down Expand Up @@ -1750,7 +1750,7 @@ All the [caveats][] for `fs.watch()` also apply to `fsPromises.watch()`.
<!-- YAML
added: v10.0.0
changes:
- version: REPLACEME
- version: v21.0.0
pr-url: https://github.com/nodejs/node/pull/50009
description: The `flush` option is now supported.
- version:
Expand Down Expand Up @@ -2546,7 +2546,7 @@ If `options` is a string, then it specifies the encoding.
<!-- YAML
added: v0.1.31
changes:
- version: REPLACEME
- version: v21.0.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 @@ -4900,7 +4900,7 @@ details.
<!-- YAML
added: v0.1.29
changes:
- version: REPLACEME
- version: v21.0.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 @@ -6196,7 +6196,7 @@ this API: [`fs.utimes()`][].
<!-- YAML
added: v0.1.29
changes:
- version: REPLACEME
- version: v21.0.0
pr-url: https://github.com/nodejs/node/pull/50009
description: The `flush` option is now supported.
- version: v19.0.0
Expand Down
18 changes: 9 additions & 9 deletions doc/api/globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ added:
- v16.15.0
changes:
- version:
- REPLACEME
- v21.0.0
pr-url: https://github.com/nodejs/node/pull/45684
description: No longer experimental.
RafaelGSS marked this conversation as resolved.
Show resolved Hide resolved
- version: v18.0.0
Expand Down Expand Up @@ -509,7 +509,7 @@ added:
- v16.15.0
changes:
- version:
- REPLACEME
- v21.0.0
pr-url: https://github.com/nodejs/node/pull/45684
description: No longer experimental.
- version: v18.0.0
Expand Down Expand Up @@ -548,7 +548,7 @@ added:
- v16.15.0
changes:
- version:
- REPLACEME
- v21.0.0
pr-url: https://github.com/nodejs/node/pull/45684
description: No longer experimental.
- version: v18.0.0
Expand Down Expand Up @@ -597,7 +597,7 @@ This variable may appear to be global but is not. See [`module`][].
## `Navigator`

<!-- YAML
added: REPLACEME
added: v21.0.0
-->

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

<!-- YAML
added: REPLACEME
added: v21.0.0
-->

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

<!-- YAML
added: REPLACEME
added: v21.0.0
-->

* {number}
Expand Down Expand Up @@ -823,7 +823,7 @@ added:
- v16.15.0
changes:
- version:
- REPLACEME
- v21.0.0
pr-url: https://github.com/nodejs/node/pull/45684
description: No longer experimental.
- version: v18.0.0
Expand All @@ -843,7 +843,7 @@ added:
- v16.15.0
changes:
- version:
- REPLACEME
- v21.0.0
pr-url: https://github.com/nodejs/node/pull/45684
description: No longer experimental.
- version: v18.0.0
Expand Down Expand Up @@ -1021,7 +1021,7 @@ The object that acts as the namespace for all W3C
## `WebSocket`

<!-- YAML
added: REPLACEME
added: v21.0.0
-->

> Stability: 1 - Experimental.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/module.md
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ register('./path-to-my-hooks.js', {

<!-- YAML
changes:
- version: REPLACEME
- version: v21.0.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
Original file line number Diff line number Diff line change
Expand Up @@ -5431,7 +5431,7 @@ required in order to enable correct disposal of the reference.
#### `node_api_post_finalizer`

<!-- YAML
added: REPLACEME
added: v21.0.0
-->

> Stability: 1 - Experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ added: v5.7.0
<!-- YAML
added: v0.2.0
changes:
- version: REPLACEME
- version: v21.0.0
pr-url: https://github.com/nodejs/node/pull/48276
description: Setting `maxConnections` to `0` drops all the incoming
connections. Previously, it was interpreted as `Infinity`.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/webstreams.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
added: v16.5.0
changes:
- version:
- REPLACEME
- v21.0.0
pr-url: https://github.com/nodejs/node/pull/45684
description: No longer experimental.
- version: v18.0.0
Expand Down
4 changes: 2 additions & 2 deletions doc/api/worker_threads.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ There is no equivalent to this API in browsers.
## `worker.isMarkedAsUntransferable(object)`

<!-- YAML
added: REPLACEME
added: v21.0.0
-->

* `object` {any} Any JavaScript value.
Expand Down Expand Up @@ -600,7 +600,7 @@ are part of the channel.
<!-- YAML
added: v10.5.0
changes:
- version: REPLACEME
- version: v21.0.0
pr-url: https://github.com/nodejs/node/pull/47604
description: An error is thrown when an untransferable object is in the
transfer list.
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_ARCHIVE.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_IOJS.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V010.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [18.x](CHANGELOG_V18.md)
* [17.x](CHANGELOG_V17.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V012.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [18.x](CHANGELOG_V18.md)
* [17.x](CHANGELOG_V17.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V10.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V11.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
* [17.x](CHANGELOG_V17.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V12.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V13.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
Loading