Skip to content

Commit

Permalink
2021-04-20, Version 16.0.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

* TBD

PR-URL: #37678
  • Loading branch information
BethGriggs committed Mar 26, 2021
1 parent a9cdeed commit 3813f89
Show file tree
Hide file tree
Showing 33 changed files with 274 additions and 60 deletions.
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.12.0">15.12.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V15.md#15.11.0">15.11.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V15.md#15.10.0">15.10.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
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
4 changes: 2 additions & 2 deletions doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -3279,7 +3279,7 @@ accessed using `require('buffer')`.

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

> Stability: 3 - Legacy. Use `Buffer.from(data, 'base64')` instead.
Expand All @@ -3300,7 +3300,7 @@ and binary data should be performed using `Buffer.from(str, 'base64')` and

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

> Stability: 3 - Legacy. Use `buf.toString('base64')` instead.
Expand Down
4 changes: 2 additions & 2 deletions doc/api/child_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ controller.abort();
<!-- YAML
added: v0.5.0
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37256
description: timeout was added.
- version: v15.11.0
Expand Down Expand Up @@ -483,7 +483,7 @@ if (process.argv[2] === 'child') {
<!-- YAML
added: v0.1.90
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37256
description: timeout was added.
- version: v15.11.0
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
20 changes: 10 additions & 10 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 @@ -2173,7 +2173,7 @@ future release.
### DEP0116: Legacy URL API
<!-- YAML
changes:
- version: REPLACEME
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37784
description: Deprecation revoked. Status changed to "Legacy".
- 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 @@ -2675,7 +2675,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 @@ -2698,7 +2698,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 @@ -2718,7 +2718,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 @@ -2730,7 +2730,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 @@ -2745,7 +2745,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 @@ -2765,7 +2765,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 @@ -205,7 +205,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 @@ -1137,7 +1137,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 @@ -1045,17 +1045,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 @@ -2338,7 +2338,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 @@ -2818,7 +2818,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 @@ -3148,17 +3148,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 @@ -3408,7 +3408,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 @@ -3865,7 +3865,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 @@ -4787,17 +4787,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
10 changes: 5 additions & 5 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 @@ -779,7 +779,7 @@ const cookie = request.getHeader('Cookie');

### `request.getRawHeaderNames()`
<!-- YAML
added: REPLACEME
added: v16.0.0
-->

* Returns: {string[]}
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

0 comments on commit 3813f89

Please sign in to comment.