Skip to content

Commit a6111bc

Browse files
committed
2022-04-19, Version 18.0.0 (Current)
Notable Changes: PR-URL:
1 parent c6db0f0 commit a6111bc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+220
-113
lines changed

Diff for: CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

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

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

2728
<table>
2829
<tr>
30+
<th title="Current"><a href="doc/changelogs/CHANGELOG_V18.md">18</a> (Current)</th>
2931
<th title="Current"><a href="doc/changelogs/CHANGELOG_V17.md">17</a> (Current)</th>
3032
<th title="LTS Until 2024-04"><a href="doc/changelogs/CHANGELOG_V16.md">16</a> (LTS)</th>
3133
<th title="LTS Until 2023-04"><a href="doc/changelogs/CHANGELOG_V14.md">14</a> (LTS)</th>
3234
<th title="LTS Until 2022-04"><a href="doc/changelogs/CHANGELOG_V12.md">12</a> (LTS)</th>
3335
</tr>
3436
<tr>
3537
<td valign="top">
38+
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.0.0">18.0.0</a></b><br/>
39+
</td>
40+
<td valign="top">
3641
<b><a href="doc/changelogs/CHANGELOG_V17.md#17.6.0">17.6.0</a></b><br/>
3742
<a href="doc/changelogs/CHANGELOG_V17.md#17.5.0">17.5.0</a><br/>
3843
<a href="doc/changelogs/CHANGELOG_V17.md#17.4.0">17.4.0</a><br/>

Diff for: doc/api/assert.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ An alias of [`assert.ok()`][].
463463
<!-- YAML
464464
added: v0.1.21
465465
changes:
466-
- version: REPLACEME
466+
- version: v18.0.0
467467
pr-url: https://github.com/nodejs/node/pull/41020
468468
description: Regular expressions lastIndex property is now compared as well.
469469
- version:
@@ -644,7 +644,7 @@ parameter is an instance of an [`Error`][] then it will be thrown instead of the
644644
<!-- YAML
645645
added: v1.2.0
646646
changes:
647-
- version: REPLACEME
647+
- version: v18.0.0
648648
pr-url: https://github.com/nodejs/node/pull/41020
649649
description: Regular expressions lastIndex property is now compared as well.
650650
- version: v9.0.0

Diff for: doc/api/buffer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ added:
457457
- v15.7.0
458458
- v14.18.0
459459
changes:
460-
- version: REPLACEME
460+
- version: v18.0.0
461461
pr-url: https://github.com/nodejs/node/pull/41270
462462
description: No longer experimental.
463463
-->

Diff for: doc/api/cli.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ Use the specified file as a security policy.
328328
### `--no-experimental-fetch`
329329

330330
<!-- YAML
331-
added: REPLACEME
331+
added: v18.0.0
332332
-->
333333

334334
Disable experimental support for the [Fetch API][].

Diff for: doc/api/crypto.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -2085,7 +2085,7 @@ PKCS#1 and SEC1 encryption.
20852085
### `keyObject.equals(otherKeyObject)`
20862086

20872087
<!-- YAML
2088-
added: REPLACEME
2088+
added: v18.0.0
20892089
-->
20902090

20912091
* `otherKeyObject`: {KeyObject} A `KeyObject` with which to
@@ -2488,7 +2488,7 @@ added: v15.6.0
24882488
<!-- YAML
24892489
added: v15.6.0
24902490
changes:
2491-
- version: REPLACEME
2491+
- version: v18.0.0
24922492
pr-url: https://github.com/nodejs/node/pull/41600
24932493
description: The subject option now defaults to `'default'`.
24942494
- version: v17.5.0
@@ -2526,7 +2526,7 @@ considered, even if the certificate contains no subject alternative names.
25262526
<!-- YAML
25272527
added: v15.6.0
25282528
changes:
2529-
- version: REPLACEME
2529+
- version: v18.0.0
25302530
pr-url: https://github.com/nodejs/node/pull/41600
25312531
description: The subject option now defaults to `'default'`.
25322532
- version: v17.5.0
@@ -2888,7 +2888,7 @@ This property is deprecated. Please use `crypto.setFips()` and
28882888
<!-- YAML
28892889
added: v15.8.0
28902890
changes:
2891-
- version: REPLACEME
2891+
- version: v18.0.0
28922892
pr-url: https://github.com/nodejs/node/pull/41678
28932893
description: Passing an invalid callback to the `callback` argument
28942894
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -3572,7 +3572,7 @@ Both keys must have the same `asymmetricKeyType`, which must be one of `'dh'`
35723572
<!-- YAML
35733573
added: v15.0.0
35743574
changes:
3575-
- version: REPLACEME
3575+
- version: v18.0.0
35763576
pr-url: https://github.com/nodejs/node/pull/41678
35773577
description: Passing an invalid callback to the `callback` argument
35783578
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -3622,7 +3622,7 @@ generateKey('hmac', { length: 64 }, (err, key) => {
36223622
<!-- YAML
36233623
added: v10.12.0
36243624
changes:
3625-
- version: REPLACEME
3625+
- version: v18.0.0
36263626
pr-url: https://github.com/nodejs/node/pull/41678
36273627
description: Passing an invalid callback to the `callback` argument
36283628
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -3888,7 +3888,7 @@ console.log(key.export().toString('hex')); // e89..........41e
38883888
<!-- YAML
38893889
added: v15.8.0
38903890
changes:
3891-
- version: REPLACEME
3891+
- version: v18.0.0
38923892
pr-url: https://github.com/nodejs/node/pull/41678
38933893
description: Passing an invalid callback to the `callback` argument
38943894
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -4162,7 +4162,7 @@ web-compatible code use [`crypto.webcrypto.getRandomValues()`][] instead.
41624162
<!-- YAML
41634163
added: v15.0.0
41644164
changes:
4165-
- version: REPLACEME
4165+
- version: v18.0.0
41664166
pr-url: https://github.com/nodejs/node/pull/41678
41674167
description: Passing an invalid callback to the `callback` argument
41684168
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -4270,7 +4270,7 @@ console.log(Buffer.from(derivedKey).toString('hex')); // '24156e2...5391653'
42704270
<!-- YAML
42714271
added: v0.5.5
42724272
changes:
4273-
- version: REPLACEME
4273+
- version: v18.0.0
42744274
pr-url: https://github.com/nodejs/node/pull/41678
42754275
description: Passing an invalid callback to the `callback` argument
42764276
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -4656,7 +4656,7 @@ be passed instead of a public key.
46564656
<!-- YAML
46574657
added: v0.5.8
46584658
changes:
4659-
- version: REPLACEME
4659+
- version: v18.0.0
46604660
pr-url: https://github.com/nodejs/node/pull/41678
46614661
description: Passing an invalid callback to the `callback` argument
46624662
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -4841,7 +4841,7 @@ added:
48414841
- v7.10.0
48424842
- v6.13.0
48434843
changes:
4844-
- version: REPLACEME
4844+
- version: v18.0.0
48454845
pr-url: https://github.com/nodejs/node/pull/41678
48464846
description: Passing an invalid callback to the `callback` argument
48474847
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -4983,7 +4983,7 @@ added:
49834983
- v14.10.0
49844984
- v12.19.0
49854985
changes:
4986-
- version: REPLACEME
4986+
- version: v18.0.0
49874987
pr-url: https://github.com/nodejs/node/pull/41678
49884988
description: Passing an invalid callback to the `callback` argument
49894989
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -5091,7 +5091,7 @@ cryptographic pseudorandom number generator.
50915091
<!-- YAML
50925092
added: v10.5.0
50935093
changes:
5094-
- version: REPLACEME
5094+
- version: v18.0.0
50955095
pr-url: https://github.com/nodejs/node/pull/41678
50965096
description: Passing an invalid callback to the `callback` argument
50975097
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -5319,7 +5319,7 @@ Throws an error if FIPS mode is not available.
53195319
<!-- YAML
53205320
added: v12.0.0
53215321
changes:
5322-
- version: REPLACEME
5322+
- version: v18.0.0
53235323
pr-url: https://github.com/nodejs/node/pull/41678
53245324
description: Passing an invalid callback to the `callback` argument
53255325
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -5420,7 +5420,7 @@ not introduce timing vulnerabilities.
54205420
<!-- YAML
54215421
added: v12.0.0
54225422
changes:
5423-
- version: REPLACEME
5423+
- version: v18.0.0
54245424
pr-url: https://github.com/nodejs/node/pull/41678
54255425
description: Passing an invalid callback to the `callback` argument
54265426
now throws `ERR_INVALID_ARG_TYPE` instead of

Diff for: doc/api/deprecations.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1595,7 +1595,7 @@ Type: End-of-Life
15951595

15961596
<!-- YAML
15971597
changes:
1598-
- version: REPLACEME
1598+
- version: v18.0.0
15991599
pr-url: https://github.com/nodejs/node/pull/41479
16001600
description: End-of-Life.
16011601
- version: v9.0.0
@@ -3065,7 +3065,7 @@ Use [`buffer.subarray`][] which does the same thing instead.
30653065

30663066
<!-- YAML
30673067
changes:
3068-
- version: REPLACEME
3068+
- version: v18.0.0
30693069
pr-url: https://github.com/nodejs/node/pull/41678
30703070
description: End-of-Life.
30713071
-->
@@ -3079,7 +3079,7 @@ the errors used for value type validation.
30793079

30803080
<!-- YAML
30813081
changes:
3082-
- version: REPLACEME
3082+
- version: v18.0.0
30833083
pr-url: https://github.com/nodejs/node/pull/41896
30843084
description: Runtime deprecation.
30853085
- version: v17.6.0

Diff for: doc/api/dns.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ section if a custom port is used.
179179
<!-- YAML
180180
added: v0.1.90
181181
changes:
182-
- version: REPLACEME
182+
- version: v18.0.0
183183
pr-url: https://github.com/nodejs/node/pull/41678
184184
description: Passing an invalid callback to the `callback` argument
185185
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -288,7 +288,7 @@ The following flags can be passed as hints to [`dns.lookup()`][].
288288
<!-- YAML
289289
added: v0.11.14
290290
changes:
291-
- version: REPLACEME
291+
- version: v18.0.0
292292
pr-url: https://github.com/nodejs/node/pull/41678
293293
description: Passing an invalid callback to the `callback` argument
294294
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -327,7 +327,7 @@ If this method is invoked as its [`util.promisify()`][]ed version, it returns a
327327
<!-- YAML
328328
added: v0.1.27
329329
changes:
330-
- version: REPLACEME
330+
- version: v18.0.0
331331
pr-url: https://github.com/nodejs/node/pull/41678
332332
description: Passing an invalid callback to the `callback` argument
333333
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -368,7 +368,7 @@ On error, `err` is an [`Error`][] object, where `err.code` is one of the
368368
<!-- YAML
369369
added: v0.1.16
370370
changes:
371-
- version: REPLACEME
371+
- version: v18.0.0
372372
pr-url: https://github.com/nodejs/node/pull/41678
373373
description: Passing an invalid callback to the `callback` argument
374374
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -399,7 +399,7 @@ will contain an array of IPv4 addresses (e.g.
399399
<!-- YAML
400400
added: v0.1.16
401401
changes:
402-
- version: REPLACEME
402+
- version: v18.0.0
403403
pr-url: https://github.com/nodejs/node/pull/41678
404404
description: Passing an invalid callback to the `callback` argument
405405
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -428,7 +428,7 @@ will contain an array of IPv6 addresses.
428428

429429
<!-- YAML
430430
changes:
431-
- version: REPLACEME
431+
- version: v18.0.0
432432
pr-url: https://github.com/nodejs/node/pull/41678
433433
description: Passing an invalid callback to the `callback` argument
434434
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -488,7 +488,7 @@ queries. It may be better to call individual methods like [`dns.resolve4()`][],
488488
<!-- YAML
489489
added: v0.3.2
490490
changes:
491-
- version: REPLACEME
491+
- version: v18.0.0
492492
pr-url: https://github.com/nodejs/node/pull/41678
493493
description: Passing an invalid callback to the `callback` argument
494494
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -512,7 +512,7 @@ added:
512512
- v15.0.0
513513
- v14.17.0
514514
changes:
515-
- version: REPLACEME
515+
- version: v18.0.0
516516
pr-url: https://github.com/nodejs/node/pull/41678
517517
description: Passing an invalid callback to the `callback` argument
518518
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -535,7 +535,7 @@ available for the `hostname` (e.g. `[{critical: 0, iodef:
535535
<!-- YAML
536536
added: v0.1.27
537537
changes:
538-
- version: REPLACEME
538+
- version: v18.0.0
539539
pr-url: https://github.com/nodejs/node/pull/41678
540540
description: Passing an invalid callback to the `callback` argument
541541
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -557,7 +557,7 @@ property (e.g. `[{priority: 10, exchange: 'mx.example.com'}, ...]`).
557557
<!-- YAML
558558
added: v0.9.12
559559
changes:
560-
- version: REPLACEME
560+
- version: v18.0.0
561561
pr-url: https://github.com/nodejs/node/pull/41678
562562
description: Passing an invalid callback to the `callback` argument
563563
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -598,7 +598,7 @@ function will contain an array of objects with the following properties:
598598
<!-- YAML
599599
added: v0.1.90
600600
changes:
601-
- version: REPLACEME
601+
- version: v18.0.0
602602
pr-url: https://github.com/nodejs/node/pull/41678
603603
description: Passing an invalid callback to the `callback` argument
604604
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -620,7 +620,7 @@ contain an array of name server records available for `hostname`
620620
<!-- YAML
621621
added: v6.0.0
622622
changes:
623-
- version: REPLACEME
623+
- version: v18.0.0
624624
pr-url: https://github.com/nodejs/node/pull/41678
625625
description: Passing an invalid callback to the `callback` argument
626626
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -641,7 +641,7 @@ be an array of strings containing the reply records.
641641
<!-- YAML
642642
added: v0.11.10
643643
changes:
644-
- version: REPLACEME
644+
- version: v18.0.0
645645
pr-url: https://github.com/nodejs/node/pull/41678
646646
description: Passing an invalid callback to the `callback` argument
647647
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -684,7 +684,7 @@ be an object with the following properties:
684684
<!-- YAML
685685
added: v0.1.27
686686
changes:
687-
- version: REPLACEME
687+
- version: v18.0.0
688688
pr-url: https://github.com/nodejs/node/pull/41678
689689
description: Passing an invalid callback to the `callback` argument
690690
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -721,7 +721,7 @@ be an array of objects with the following properties:
721721
<!-- YAML
722722
added: v0.1.27
723723
changes:
724-
- version: REPLACEME
724+
- version: v18.0.0
725725
pr-url: https://github.com/nodejs/node/pull/41678
726726
description: Passing an invalid callback to the `callback` argument
727727
now throws `ERR_INVALID_ARG_TYPE` instead of

0 commit comments

Comments
 (0)