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

2021-04-20, Version 16.0.0 (Current) #37678

Merged
merged 1 commit into from
Apr 20, 2021
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 16](doc/changelogs/CHANGELOG_V16.md) **Current**
* [Node.js 15](doc/changelogs/CHANGELOG_V15.md) **Current**
* [Node.js 14](doc/changelogs/CHANGELOG_V14.md) **Long Term Support**
* [Node.js 13](doc/changelogs/CHANGELOG_V13.md) End-of-Life
Expand All @@ -25,13 +26,17 @@ release.
<!--lint disable maximum-line-length-->
<table>
<tr>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V16.md">16</a><sup>Current</sup></th>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V15.md">15</a><sup>Current</sup></th>
<th title="LTS Until 2023-04"><a href="doc/changelogs/CHANGELOG_V14.md">14</a><sup>LTS</sup></th>
<th title="LTS Until 2022-04"><a href="doc/changelogs/CHANGELOG_V12.md">12</a><sup>LTS</sup></th>
<th title="LTS Until 2021-04"><a href="doc/changelogs/CHANGELOG_V10.md">10</a><sup>LTS</sup></th>
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V16.md#16.0.0">16.0.0</a></b><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V15.md#15.14.0">15.14.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V15.md#15.13.0">15.13.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V15.md#15.12.0">15.12.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": 93, "runtime": "node", "variant": "v8_9.0", "versions": "16.0.0-pre" },
{ "modules": 93, "runtime": "node", "variant": "v8_9.0", "versions": "16.0.0" },
{ "modules": 92, "runtime": "node", "variant": "v8_8.9", "versions": "16.0.0-pre" },
{ "modules": 91, "runtime": "node", "variant": "v8_8.8", "versions": "16.0.0-pre" },
{ "modules": 90, "runtime": "node", "variant": "v8_8.7", "versions": "16.0.0-pre" },
Expand Down
12 changes: 6 additions & 6 deletions doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ An alias of [`assert.ok()`][].
<!-- YAML
added: v0.1.21
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/38113
description: In Legacy assertion mode, changed status from Deprecated to
Legacy.
Expand Down Expand Up @@ -881,7 +881,7 @@ added:
- v13.6.0
- v12.16.0
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/38111
description: This API is no longer experimental.
-->
Expand Down Expand Up @@ -1126,7 +1126,7 @@ assert.doesNotThrow(
<!-- YAML
added: v0.1.21
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/38113
description: In Legacy assertion mode, changed status from Deprecated to
Legacy.
Expand Down Expand Up @@ -1406,7 +1406,7 @@ added:
- v13.6.0
- v12.16.0
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/38111
description: This API is no longer experimental.
-->
Expand Down Expand Up @@ -1454,7 +1454,7 @@ instance of an [`Error`][] then it will be thrown instead of the
<!-- YAML
added: v0.1.21
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/38113
description: In Legacy assertion mode, changed status from Deprecated to
Legacy.
Expand Down Expand Up @@ -1634,7 +1634,7 @@ instead of the [`AssertionError`][].
<!-- YAML
added: v0.1.21
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/38113
description: In Legacy assertion mode, changed status from Deprecated to
Legacy.
Expand Down
4 changes: 2 additions & 2 deletions doc/api/async_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ added:
- v14.8.0
- v12.19.0
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/36782
description: Added optional thisArg.
-->
Expand All @@ -759,7 +759,7 @@ added:
- v14.8.0
- v12.19.0
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/36782
description: Added optional thisArg.
-->
Expand Down
8 changes: 4 additions & 4 deletions doc/api/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -688,15 +688,15 @@ This can only be called from the primary process.
## `cluster.isMaster`
<!-- YAML
added: v0.8.1
deprecated: REPLACEME
deprecated: v16.0.0
-->

Deprecated alias for [`cluster.isPrimary`][].
details.

## `cluster.isPrimary`
<!-- YAML
added: REPLACEME
added: v16.0.0
-->

* {boolean}
Expand Down Expand Up @@ -789,7 +789,7 @@ This object is not intended to be changed or set manually.
## `cluster.setupMaster([settings])`
<!-- YAML
added: v0.7.1
deprecated: REPLACEME
deprecated: v16.0.0
changes:
- version: v6.4.0
pr-url: https://github.com/nodejs/node/pull/7838
Expand All @@ -800,7 +800,7 @@ Deprecated alias for [`.setupPrimary()`][].

## `cluster.setupPrimary([settings])`
<!-- YAML
added: REPLACEME
added: v16.0.0
-->

* `settings` {Object} See [`cluster.settings`][].
Expand Down
18 changes: 9 additions & 9 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2052,7 +2052,7 @@ expose values under these names.
### DEP0109: `http`, `https`, and `tls` support for invalid URLs
<!-- YAML
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/36853
description: End-of-Life.
- version: v11.0.0
Expand Down Expand Up @@ -2354,7 +2354,7 @@ with no performance impact since Node.js 10.
### DEP0128: modules with an invalid `main` entry and an `index.js` file
<!-- YAML
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37204
description: Runtime deprecation.
- version: v12.0.0
Expand Down Expand Up @@ -2389,7 +2389,7 @@ instead.
### DEP0130: `Module.createRequireFromPath()`
<!-- YAML
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37201
description: End-of-life.
- version: v13.0.0
Expand Down Expand Up @@ -2678,7 +2678,7 @@ The [`crypto.Certificate()` constructor][] is deprecated. Use
### DEP0147: `fs.rmdir(path, { recursive: true })`
<!-- YAML
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37302
description: Runtime deprecation.
- version: v15.0.0
Expand All @@ -2701,7 +2701,7 @@ Use `fs.rm(path, { recursive: true, force: true })`,
### DEP0148: Folder mappings in `"exports"` (trailing `"/"`)
<!-- YAML
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37215
description: Runtime deprecation.
- version: v15.1.0
Expand All @@ -2721,7 +2721,7 @@ Using a trailing `"/"` to define
### DEP0149: `http.IncomingMessage#connection`
<!-- YAML
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/33768
description: Documentation-only deprecation.
-->
Expand All @@ -2733,7 +2733,7 @@ Prefer [`message.socket`][] over [`message.connection`][].
### DEP0150: Changing the value of `process.config`
<!-- YAML
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/36902
description: Runtime deprecation.
-->
Expand All @@ -2748,7 +2748,7 @@ change the value has been deprecated and will be disabled in the future.
### DEP0151: Main index lookup and extension searching
<!-- YAML
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37206
description: Runtime deprecation.
- version: v15.8.0
Expand All @@ -2768,7 +2768,7 @@ an explicit [`"exports"` or `"main"` entry][] with the exact file extension.
### DEP0152: Extension PerformanceEntry properties
<!-- YAML
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37136
description: Runtime deprecation.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ added:
- v14.13.1
- v12.20.0
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37246
description: Added `node:` import support to `require(...)`.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,7 @@ setMaxListeners(5, target, emitter);
<!-- YAML
added: v14.5.0
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37237
description: changed EventTarget error handling.
- version: v15.4.0
Expand Down
26 changes: 13 additions & 13 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1049,17 +1049,17 @@ Renames `oldPath` to `newPath`.
<!-- YAML
added: v10.0.0
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37216
description: "Using `fsPromises.rmdir(path, { recursive: true })` on a `path`
that is a file is no longer permitted and results in an
`ENOENT` error on Windows and an `ENOTDIR` error on POSIX."
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37216
description: "Using `fsPromises.rmdir(path, { recursive: true })` on a `path`
that does not exist is no longer permitted and results in a
`ENOENT` error."
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37302
description: The `recursive` option is deprecated, using it triggers a
deprecation warning.
Expand Down Expand Up @@ -2346,7 +2346,7 @@ descriptor. See [`fs.utimes()`][].
<!-- YAML
deprecated: v0.4.7
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37460
description: The error returned may be an `AggregateError` if more than one
error is returned.
Expand Down Expand Up @@ -2828,7 +2828,7 @@ If `options.withFileTypes` is set to `true`, the `files` array will contain
<!-- YAML
added: v0.1.29
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37460
description: The error returned may be an `AggregateError` if more than one
error is returned.
Expand Down Expand Up @@ -3158,17 +3158,17 @@ rename('oldFile.txt', 'newFile.txt', (err) => {
<!-- YAML
added: v0.0.2
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37216
description: "Using `fs.rmdir(path, { recursive: true })` on a `path` that is
a file is no longer permitted and results in an `ENOENT` error
on Windows and an `ENOTDIR` error on POSIX."
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37216
description: "Using `fs.rmdir(path, { recursive: true })` on a `path` that
does not exist is no longer permitted and results in a `ENOENT`
error."
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37302
description: The `recursive` option is deprecated, using it triggers a
deprecation warning.
Expand Down Expand Up @@ -3418,7 +3418,7 @@ example/
<!-- YAML
added: v0.8.6
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37460
description: The error returned may be an `AggregateError` if more than one
error is returned.
Expand Down Expand Up @@ -3875,7 +3875,7 @@ details.
<!-- YAML
added: v0.1.29
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37460
description: The error returned may be an `AggregateError` if more than one
error is returned.
Expand Down Expand Up @@ -4797,17 +4797,17 @@ See the POSIX rename(2) documentation for more details.
<!-- YAML
added: v0.1.21
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37216
description: "Using `fs.rmdirSync(path, { recursive: true })` on a `path`
that is a file is no longer permitted and results in an
`ENOENT` error on Windows and an `ENOTDIR` error on POSIX."
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37216
description: "Using `fs.rmdirSync(path, { recursive: true })` on a `path`
that does not exist is no longer permitted and results in a
`ENOENT` error."
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37302
description: The `recursive` option is deprecated, using it triggers a
deprecation warning.
Expand Down
4 changes: 2 additions & 2 deletions doc/api/globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ This variable may appear to be global but is not. See [`__filename`][].

## `atob(data)`
<!-- YAML
added: REPLACEME
added: v16.0.0
-->

> Stability: 3 - Legacy. Use `Buffer.from(data, 'base64')` instead.
Expand All @@ -157,7 +157,7 @@ Global alias for [`buffer.atob()`][].

## `btoa(data)`
<!-- YAML
added: REPLACEME
added: v16.0.0
-->

> Stability: 3 - Legacy. Use `buf.toString('base64')` instead.
Expand Down
8 changes: 4 additions & 4 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ terminates them.
<!-- YAML
added: v0.11.4
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/36409
description: The property now has a `null` prototype.
-->
Expand Down Expand Up @@ -342,7 +342,7 @@ can have open. Unlike `maxSockets`, this parameter applies across all origins.
<!-- YAML
added: v0.5.9
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/36409
description: The property now has a `null` prototype.
-->
Expand All @@ -356,7 +356,7 @@ sockets. Do not modify.
<!-- YAML
added: v0.3.6
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/36409
description: The property now has a `null` prototype.
-->
Expand Down Expand Up @@ -2020,7 +2020,7 @@ const req = http.request({
### `message.connection`
<!-- YAML
added: v0.1.90
deprecated: REPLACEME
deprecated: v16.0.0
-->

> Stability: 0 - Deprecated. Use [`message.socket`][].
Expand Down
Loading