Skip to content

Commit d0db8a4

Browse files
committed
2022-04-19, Version 18.0.0 (Current)
Notable Changes: PR-URL: #42262
1 parent 6f8c983 commit d0db8a4

Some content is hidden

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

42 files changed

+222
-115
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
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.7.1">17.7.1</a></b><br/>
3742
<a href="doc/changelogs/CHANGELOG_V17.md#17.7.0">17.7.0</a><br/>
3843
<a href="doc/changelogs/CHANGELOG_V17.md#17.6.0">17.6.0</a><br/>

doc/api/assert.md

Lines changed: 2 additions & 2 deletions
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

doc/api/async_context.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ added:
446446
- v14.8.0
447447
- v12.19.0
448448
changes:
449-
- version: REPLACEME
449+
- version: v18.0.0
450450
pr-url: https://github.com/nodejs/node/pull/42177
451451
description: Changed the default when `thisArg` is undefined to use `this`
452452
from the caller.
@@ -472,7 +472,7 @@ added:
472472
- v14.8.0
473473
- v12.19.0
474474
changes:
475-
- version: REPLACEME
475+
- version: v18.0.0
476476
pr-url: https://github.com/nodejs/node/pull/42177
477477
description: Changed the default when `thisArg` is undefined to use `this`
478478
from the caller.

doc/api/buffer.md

Lines changed: 1 addition & 1 deletion
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
-->

doc/api/cli.md

Lines changed: 1 addition & 1 deletion
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][].

doc/api/crypto.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -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
@@ -3567,7 +3567,7 @@ Both keys must have the same `asymmetricKeyType`, which must be one of `'dh'`
35673567
<!-- YAML
35683568
added: v15.0.0
35693569
changes:
3570-
- version: REPLACEME
3570+
- version: v18.0.0
35713571
pr-url: https://github.com/nodejs/node/pull/41678
35723572
description: Passing an invalid callback to the `callback` argument
35733573
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -3617,7 +3617,7 @@ generateKey('hmac', { length: 64 }, (err, key) => {
36173617
<!-- YAML
36183618
added: v10.12.0
36193619
changes:
3620-
- version: REPLACEME
3620+
- version: v18.0.0
36213621
pr-url: https://github.com/nodejs/node/pull/41678
36223622
description: Passing an invalid callback to the `callback` argument
36233623
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -3883,7 +3883,7 @@ console.log(key.export().toString('hex')); // e89..........41e
38833883
<!-- YAML
38843884
added: v15.8.0
38853885
changes:
3886-
- version: REPLACEME
3886+
- version: v18.0.0
38873887
pr-url: https://github.com/nodejs/node/pull/41678
38883888
description: Passing an invalid callback to the `callback` argument
38893889
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -4157,7 +4157,7 @@ web-compatible code use [`crypto.webcrypto.getRandomValues()`][] instead.
41574157
<!-- YAML
41584158
added: v15.0.0
41594159
changes:
4160-
- version: REPLACEME
4160+
- version: v18.0.0
41614161
pr-url: https://github.com/nodejs/node/pull/41678
41624162
description: Passing an invalid callback to the `callback` argument
41634163
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -4265,7 +4265,7 @@ console.log(Buffer.from(derivedKey).toString('hex')); // '24156e2...5391653'
42654265
<!-- YAML
42664266
added: v0.5.5
42674267
changes:
4268-
- version: REPLACEME
4268+
- version: v18.0.0
42694269
pr-url: https://github.com/nodejs/node/pull/41678
42704270
description: Passing an invalid callback to the `callback` argument
42714271
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -4651,7 +4651,7 @@ be passed instead of a public key.
46514651
<!-- YAML
46524652
added: v0.5.8
46534653
changes:
4654-
- version: REPLACEME
4654+
- version: v18.0.0
46554655
pr-url: https://github.com/nodejs/node/pull/41678
46564656
description: Passing an invalid callback to the `callback` argument
46574657
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -4836,7 +4836,7 @@ added:
48364836
- v7.10.0
48374837
- v6.13.0
48384838
changes:
4839-
- version: REPLACEME
4839+
- version: v18.0.0
48404840
pr-url: https://github.com/nodejs/node/pull/41678
48414841
description: Passing an invalid callback to the `callback` argument
48424842
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -4978,7 +4978,7 @@ added:
49784978
- v14.10.0
49794979
- v12.19.0
49804980
changes:
4981-
- version: REPLACEME
4981+
- version: v18.0.0
49824982
pr-url: https://github.com/nodejs/node/pull/41678
49834983
description: Passing an invalid callback to the `callback` argument
49844984
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -5086,7 +5086,7 @@ cryptographic pseudorandom number generator.
50865086
<!-- YAML
50875087
added: v10.5.0
50885088
changes:
5089-
- version: REPLACEME
5089+
- version: v18.0.0
50905090
pr-url: https://github.com/nodejs/node/pull/41678
50915091
description: Passing an invalid callback to the `callback` argument
50925092
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -5314,7 +5314,7 @@ Throws an error if FIPS mode is not available.
53145314
<!-- YAML
53155315
added: v12.0.0
53165316
changes:
5317-
- version: REPLACEME
5317+
- version: v18.0.0
53185318
pr-url: https://github.com/nodejs/node/pull/41678
53195319
description: Passing an invalid callback to the `callback` argument
53205320
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -5415,7 +5415,7 @@ not introduce timing vulnerabilities.
54155415
<!-- YAML
54165416
added: v12.0.0
54175417
changes:
5418-
- version: REPLACEME
5418+
- version: v18.0.0
54195419
pr-url: https://github.com/nodejs/node/pull/41678
54205420
description: Passing an invalid callback to the `callback` argument
54215421
now throws `ERR_INVALID_ARG_TYPE` instead of

doc/api/deprecations.md

Lines changed: 4 additions & 4 deletions
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
@@ -3114,7 +3114,7 @@ resources and not the actual references.
31143114

31153115
<!-- YAML
31163116
changes:
3117-
- version: REPLACEME
3117+
- version: v18.0.0
31183118
pr-url: https://github.com/nodejs/node/pull/42149
31193119
description: Documentation-only deprecation.
31203120
-->

doc/api/dns.md

Lines changed: 15 additions & 15 deletions
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)