Skip to content

Commit

Permalink
2022-04-19, Version 18.0.0 (Current)
Browse files Browse the repository at this point in the history
Notable Changes:

PR-URL: #42262
  • Loading branch information
BethGriggs committed Apr 11, 2022
1 parent 2f51e12 commit f57647e
Show file tree
Hide file tree
Showing 43 changed files with 359 additions and 157 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,7 @@

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

* [Node.js 18](doc/changelogs/CHANGELOG_V18.md) **Current**
* [Node.js 17](doc/changelogs/CHANGELOG_V17.md) **Current**
* [Node.js 16](doc/changelogs/CHANGELOG_V16.md) **Long Term Support**
* [Node.js 15](doc/changelogs/CHANGELOG_V15.md) End-of-Life
Expand All @@ -26,13 +27,17 @@ release.

<table>
<tr>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V18.md">18</a> (Current)</th>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V17.md">17</a> (Current)</th>
<th title="LTS Until 2024-04"><a href="doc/changelogs/CHANGELOG_V16.md">16</a> (LTS)</th>
<th title="LTS Until 2023-04"><a href="doc/changelogs/CHANGELOG_V14.md">14</a> (LTS)</th>
<th title="LTS Until 2022-04"><a href="doc/changelogs/CHANGELOG_V12.md">12</a> (LTS)</th>
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.0.0">18.0.0</a></b><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V17.md#17.8.0">17.8.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V17.md#17.7.2">17.7.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V17.md#17.7.1">17.7.1</a><br/>
Expand Down
4 changes: 2 additions & 2 deletions doc/api/assert.md
Expand Up @@ -463,7 +463,7 @@ An alias of [`assert.ok()`][].
<!-- YAML
added: v0.1.21
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41020
description: Regular expressions lastIndex property is now compared as well.
- version:
Expand Down Expand Up @@ -644,7 +644,7 @@ parameter is an instance of an [`Error`][] then it will be thrown instead of the
<!-- YAML
added: v1.2.0
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41020
description: Regular expressions lastIndex property is now compared as well.
- version: v9.0.0
Expand Down
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Expand Up @@ -457,7 +457,7 @@ added:
- v15.7.0
- v14.18.0
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41270
description: No longer experimental.
-->
Expand Down
4 changes: 2 additions & 2 deletions doc/api/cli.md
Expand Up @@ -328,7 +328,7 @@ Use the specified file as a security policy.
### `--no-experimental-fetch`

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

Disable experimental support for the [Fetch API][].
Expand Down Expand Up @@ -1055,7 +1055,7 @@ The value given must be a power of two.
### `--test-only`

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

Configures the test runner to only execute top level tests that have the `only`
Expand Down
28 changes: 14 additions & 14 deletions doc/api/crypto.md
Expand Up @@ -2493,7 +2493,7 @@ added: v15.6.0
<!-- YAML
added: v15.6.0
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41600
description: The subject option now defaults to `'default'`.
- version:
Expand Down Expand Up @@ -2533,7 +2533,7 @@ considered, even if the certificate contains no subject alternative names.
<!-- YAML
added: v15.6.0
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41600
description: The subject option now defaults to `'default'`.
- version: v17.5.0
Expand Down Expand Up @@ -2911,7 +2911,7 @@ This property is deprecated. Please use `crypto.setFips()` and
<!-- YAML
added: v15.8.0
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -3612,7 +3612,7 @@ Both keys must have the same `asymmetricKeyType`, which must be one of `'dh'`
<!-- YAML
added: v15.0.0
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -3662,7 +3662,7 @@ generateKey('hmac', { length: 64 }, (err, key) => {
<!-- YAML
added: v10.12.0
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -3928,7 +3928,7 @@ console.log(key.export().toString('hex')); // e89..........41e
<!-- YAML
added: v15.8.0
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -4202,7 +4202,7 @@ web-compatible code use [`crypto.webcrypto.getRandomValues()`][] instead.
<!-- YAML
added: v15.0.0
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -4310,7 +4310,7 @@ console.log(Buffer.from(derivedKey).toString('hex')); // '24156e2...5391653'
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -4696,7 +4696,7 @@ be passed instead of a public key.
<!-- YAML
added: v0.5.8
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -4881,7 +4881,7 @@ added:
- v7.10.0
- v6.13.0
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -5023,7 +5023,7 @@ added:
- v14.10.0
- v12.19.0
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -5131,7 +5131,7 @@ cryptographic pseudorandom number generator.
<!-- YAML
added: v10.5.0
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -5359,7 +5359,7 @@ Throws an error if FIPS mode is not available.
<!-- YAML
added: v12.0.0
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -5460,7 +5460,7 @@ not introduce timing vulnerabilities.
<!-- YAML
added: v12.0.0
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down
10 changes: 5 additions & 5 deletions doc/api/deprecations.md
Expand Up @@ -1595,7 +1595,7 @@ Type: End-of-Life

<!-- YAML
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41479
description: End-of-Life.
- version: v9.0.0
Expand Down Expand Up @@ -3019,7 +3019,7 @@ it was an aborted or graceful destroy.

<!-- YAML
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/40773
description: End-of-life.
- version:
Expand Down Expand Up @@ -3068,7 +3068,7 @@ Use [`buffer.subarray`][] which does the same thing instead.

<!-- YAML
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: End-of-Life.
-->
Expand All @@ -3082,7 +3082,7 @@ the errors used for value type validation.

<!-- YAML
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41896
description: Runtime deprecation.
- version: v17.6.0
Expand Down Expand Up @@ -3117,7 +3117,7 @@ resources and not the actual references.

<!-- YAML
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/42607
description: Runtime deprecation.
- version: v17.8.0
Expand Down
30 changes: 15 additions & 15 deletions doc/api/dns.md
Expand Up @@ -179,7 +179,7 @@ section if a custom port is used.
<!-- YAML
added: v0.1.90
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -288,7 +288,7 @@ The following flags can be passed as hints to [`dns.lookup()`][].
<!-- YAML
added: v0.11.14
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -327,7 +327,7 @@ If this method is invoked as its [`util.promisify()`][]ed version, it returns a
<!-- YAML
added: v0.1.27
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -368,7 +368,7 @@ On error, `err` is an [`Error`][] object, where `err.code` is one of the
<!-- YAML
added: v0.1.16
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -399,7 +399,7 @@ will contain an array of IPv4 addresses (e.g.
<!-- YAML
added: v0.1.16
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -428,7 +428,7 @@ will contain an array of IPv6 addresses.

<!-- YAML
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -488,7 +488,7 @@ queries. It may be better to call individual methods like [`dns.resolve4()`][],
<!-- YAML
added: v0.3.2
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand All @@ -512,7 +512,7 @@ added:
- v15.0.0
- v14.17.0
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand All @@ -535,7 +535,7 @@ available for the `hostname` (e.g. `[{critical: 0, iodef:
<!-- YAML
added: v0.1.27
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand All @@ -557,7 +557,7 @@ property (e.g. `[{priority: 10, exchange: 'mx.example.com'}, ...]`).
<!-- YAML
added: v0.9.12
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -598,7 +598,7 @@ function will contain an array of objects with the following properties:
<!-- YAML
added: v0.1.90
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand All @@ -620,7 +620,7 @@ contain an array of name server records available for `hostname`
<!-- YAML
added: v6.0.0
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand All @@ -641,7 +641,7 @@ be an array of strings containing the reply records.
<!-- YAML
added: v0.11.10
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -684,7 +684,7 @@ be an object with the following properties:
<!-- YAML
added: v0.1.27
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down Expand Up @@ -721,7 +721,7 @@ be an array of objects with the following properties:
<!-- YAML
added: v0.1.27
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
now throws `ERR_INVALID_ARG_TYPE` instead of
Expand Down

0 comments on commit f57647e

Please sign in to comment.