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 Mar 15, 2022
1 parent 6f8c983 commit d0db8a4
Show file tree
Hide file tree
Showing 42 changed files with 222 additions and 115 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 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.7.1">17.7.1</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V17.md#17.7.0">17.7.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V17.md#17.6.0">17.6.0</a><br/>
Expand Down
4 changes: 2 additions & 2 deletions doc/api/assert.md
Original file line number Diff line number Diff line change
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
4 changes: 2 additions & 2 deletions doc/api/async_context.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ added:
- v14.8.0
- v12.19.0
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/42177
description: Changed the default when `thisArg` is undefined to use `this`
from the caller.
Expand All @@ -472,7 +472,7 @@ added:
- v14.8.0
- v12.19.0
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/42177
description: Changed the default when `thisArg` is undefined to use `this`
from the caller.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Original file line number Diff line number Diff line change
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
2 changes: 1 addition & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
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
28 changes: 14 additions & 14 deletions doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -2488,7 +2488,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: v17.5.0
Expand Down Expand Up @@ -2526,7 +2526,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 @@ -2888,7 +2888,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 @@ -3567,7 +3567,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 @@ -3617,7 +3617,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 @@ -3883,7 +3883,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 @@ -4157,7 +4157,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 @@ -4265,7 +4265,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 @@ -4651,7 +4651,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 @@ -4836,7 +4836,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 @@ -4978,7 +4978,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 @@ -5086,7 +5086,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 @@ -5314,7 +5314,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 @@ -5415,7 +5415,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
8 changes: 4 additions & 4 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
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 @@ -3065,7 +3065,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 @@ -3079,7 +3079,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 @@ -3114,7 +3114,7 @@ resources and not the actual references.

<!-- YAML
changes:
- version: REPLACEME
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/42149
description: Documentation-only deprecation.
-->
Expand Down
30 changes: 15 additions & 15 deletions doc/api/dns.md
Original file line number Diff line number Diff line change
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
Loading

0 comments on commit d0db8a4

Please sign in to comment.