Skip to content

Commit 35160fe

Browse files
committed
2022-04-19, Version 18.0.0 (Current)
Notable Changes: PR-URL: #42262
1 parent ec5a359 commit 35160fe

Some content is hidden

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

43 files changed

+337
-157
lines changed

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.8.0">17.8.0</a></b><br/>
3742
<a href="doc/changelogs/CHANGELOG_V17.md#17.7.2">17.7.2</a><br/>
3843
<a href="doc/changelogs/CHANGELOG_V17.md#17.7.1">17.7.1</a><br/>

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

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
-->

doc/api/cli.md

+2-2
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][].
@@ -1055,7 +1055,7 @@ The value given must be a power of two.
10551055
### `--test-only`
10561056

10571057
<!-- YAML
1058-
added: REPLACEME
1058+
added: v18.0.0
10591059
-->
10601060

10611061
Configures the test runner to only execute top level tests that have the `only`

doc/api/crypto.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -2493,7 +2493,7 @@ added: v15.6.0
24932493
<!-- YAML
24942494
added: v15.6.0
24952495
changes:
2496-
- version: REPLACEME
2496+
- version: v18.0.0
24972497
pr-url: https://github.com/nodejs/node/pull/41600
24982498
description: The subject option now defaults to `'default'`.
24992499
- version:
@@ -2533,7 +2533,7 @@ considered, even if the certificate contains no subject alternative names.
25332533
<!-- YAML
25342534
added: v15.6.0
25352535
changes:
2536-
- version: REPLACEME
2536+
- version: v18.0.0
25372537
pr-url: https://github.com/nodejs/node/pull/41600
25382538
description: The subject option now defaults to `'default'`.
25392539
- version: v17.5.0
@@ -2911,7 +2911,7 @@ This property is deprecated. Please use `crypto.setFips()` and
29112911
<!-- YAML
29122912
added: v15.8.0
29132913
changes:
2914-
- version: REPLACEME
2914+
- version: v18.0.0
29152915
pr-url: https://github.com/nodejs/node/pull/41678
29162916
description: Passing an invalid callback to the `callback` argument
29172917
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -3612,7 +3612,7 @@ Both keys must have the same `asymmetricKeyType`, which must be one of `'dh'`
36123612
<!-- YAML
36133613
added: v15.0.0
36143614
changes:
3615-
- version: REPLACEME
3615+
- version: v18.0.0
36163616
pr-url: https://github.com/nodejs/node/pull/41678
36173617
description: Passing an invalid callback to the `callback` argument
36183618
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -3662,7 +3662,7 @@ generateKey('hmac', { length: 64 }, (err, key) => {
36623662
<!-- YAML
36633663
added: v10.12.0
36643664
changes:
3665-
- version: REPLACEME
3665+
- version: v18.0.0
36663666
pr-url: https://github.com/nodejs/node/pull/41678
36673667
description: Passing an invalid callback to the `callback` argument
36683668
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -3928,7 +3928,7 @@ console.log(key.export().toString('hex')); // e89..........41e
39283928
<!-- YAML
39293929
added: v15.8.0
39303930
changes:
3931-
- version: REPLACEME
3931+
- version: v18.0.0
39323932
pr-url: https://github.com/nodejs/node/pull/41678
39333933
description: Passing an invalid callback to the `callback` argument
39343934
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -4202,7 +4202,7 @@ web-compatible code use [`crypto.webcrypto.getRandomValues()`][] instead.
42024202
<!-- YAML
42034203
added: v15.0.0
42044204
changes:
4205-
- version: REPLACEME
4205+
- version: v18.0.0
42064206
pr-url: https://github.com/nodejs/node/pull/41678
42074207
description: Passing an invalid callback to the `callback` argument
42084208
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -4310,7 +4310,7 @@ console.log(Buffer.from(derivedKey).toString('hex')); // '24156e2...5391653'
43104310
<!-- YAML
43114311
added: v0.5.5
43124312
changes:
4313-
- version: REPLACEME
4313+
- version: v18.0.0
43144314
pr-url: https://github.com/nodejs/node/pull/41678
43154315
description: Passing an invalid callback to the `callback` argument
43164316
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -4696,7 +4696,7 @@ be passed instead of a public key.
46964696
<!-- YAML
46974697
added: v0.5.8
46984698
changes:
4699-
- version: REPLACEME
4699+
- version: v18.0.0
47004700
pr-url: https://github.com/nodejs/node/pull/41678
47014701
description: Passing an invalid callback to the `callback` argument
47024702
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -4881,7 +4881,7 @@ added:
48814881
- v7.10.0
48824882
- v6.13.0
48834883
changes:
4884-
- version: REPLACEME
4884+
- version: v18.0.0
48854885
pr-url: https://github.com/nodejs/node/pull/41678
48864886
description: Passing an invalid callback to the `callback` argument
48874887
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -5023,7 +5023,7 @@ added:
50235023
- v14.10.0
50245024
- v12.19.0
50255025
changes:
5026-
- version: REPLACEME
5026+
- version: v18.0.0
50275027
pr-url: https://github.com/nodejs/node/pull/41678
50285028
description: Passing an invalid callback to the `callback` argument
50295029
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -5131,7 +5131,7 @@ cryptographic pseudorandom number generator.
51315131
<!-- YAML
51325132
added: v10.5.0
51335133
changes:
5134-
- version: REPLACEME
5134+
- version: v18.0.0
51355135
pr-url: https://github.com/nodejs/node/pull/41678
51365136
description: Passing an invalid callback to the `callback` argument
51375137
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -5359,7 +5359,7 @@ Throws an error if FIPS mode is not available.
53595359
<!-- YAML
53605360
added: v12.0.0
53615361
changes:
5362-
- version: REPLACEME
5362+
- version: v18.0.0
53635363
pr-url: https://github.com/nodejs/node/pull/41678
53645364
description: Passing an invalid callback to the `callback` argument
53655365
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -5460,7 +5460,7 @@ not introduce timing vulnerabilities.
54605460
<!-- YAML
54615461
added: v12.0.0
54625462
changes:
5463-
- version: REPLACEME
5463+
- version: v18.0.0
54645464
pr-url: https://github.com/nodejs/node/pull/41678
54655465
description: Passing an invalid callback to the `callback` argument
54665466
now throws `ERR_INVALID_ARG_TYPE` instead of

doc/api/deprecations.md

+5-5
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
@@ -3019,7 +3019,7 @@ it was an aborted or graceful destroy.
30193019

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

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

30833083
<!-- YAML
30843084
changes:
3085-
- version: REPLACEME
3085+
- version: v18.0.0
30863086
pr-url: https://github.com/nodejs/node/pull/41896
30873087
description: Runtime deprecation.
30883088
- version: v17.6.0
@@ -3117,7 +3117,7 @@ resources and not the actual references.
31173117

31183118
<!-- YAML
31193119
changes:
3120-
- version: REPLACEME
3120+
- version: v18.0.0
31213121
pr-url: https://github.com/nodejs/node/pull/42607
31223122
description: Runtime deprecation.
31233123
- version: v17.8.0

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)