Skip to content

Commit 9ac15e3

Browse files
marco-ippolitobmeck
authored andcommitted
2024-05-07, Version 20.13.0 'Iron' (LTS)
Notable changes: benchmark: * add AbortSignal.abort benchmarks (Raz Luvaton) nodejs#52408 buffer: * improve `base64` and `base64url` performance (Yagiz Nizipli) nodejs#52428 crypto: * deprecate implicitly shortened GCM tags (Tobias Nießen) nodejs#52345 deps: * (SEMVER-MINOR) update simdutf to 5.0.0 (Daniel Lemire) nodejs#52138 * (SEMVER-MINOR) update undici to 6.3.0 (Node.js GitHub Bot) nodejs#51462 * (SEMVER-MINOR) update undici to 6.2.1 (Node.js GitHub Bot) nodejs#51278 dns: * (SEMVER-MINOR) add order option and support ipv6first (Paolo Insogna) nodejs#52492 doc: * update release gpg keyserver (marco-ippolito) nodejs#52257 * add release key for marco-ippolito (marco-ippolito) nodejs#52257 * add UlisesGascon as a collaborator (Ulises Gascón) nodejs#51991 * (SEMVER-MINOR) deprecate fs.Stats public constructor (Marco Ippolito) nodejs#51879 events,doc: * mark CustomEvent as stable (Daeyeon Jeong) nodejs#52618 fs: * add stacktrace to fs/promises (翠 / green) nodejs#49849 lib, url: * (SEMVER-MINOR) add a `windows` option to path parsing (Aviv Keller) nodejs#52509 net: * (SEMVER-MINOR) add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) nodejs#52474 report: * (SEMVER-MINOR) add `--report-exclude-network` option (Ethan Arrowood) nodejs#51645 src: * (SEMVER-MINOR) add `string_view` overload to snapshot FromBlob (Anna Henningsen) nodejs#52595 * (SEMVER-MINOR) add C++ ProcessEmitWarningSync() (Joyee Cheung) nodejs#51977 * (SEMVER-MINOR) add uv_get_available_memory to report and process (theanarkh) nodejs#52023 * (SEMVER-MINOR) preload function for Environment (Cheng Zhao) nodejs#51539 stream: * (SEMVER-MINOR) support typed arrays (IlyasShabi) nodejs#51866 test_runner: * (SEMVER-MINOR) add suite() (Colin Ihrig) nodejs#52127 * (SEMVER-MINOR) add `test:complete` event to reflect execution order (Moshe Atlow) nodejs#51909 util: * (SEMVER-MINOR) support array of formats in util.styleText (Marco Ippolito) nodejs#52040 v8: * (SEMVER-MINOR) implement v8.queryObjects() for memory leak regression testing (Joyee Cheung) nodejs#51927 watch: * mark as stable (Moshe Atlow) nodejs#52074 PR-URL: nodejs#52793
1 parent b13ad8c commit 9ac15e3

14 files changed

+458
-33
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ release.
5757
<a href="doc/changelogs/CHANGELOG_V21.md#21.0.0">21.0.0</a><br/>
5858
</td>
5959
<td valign="top">
60-
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.12.2">20.12.2</a></b><br/>
60+
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.13.0">20.13.0</a></b><br/>
61+
<a href="doc/changelogs/CHANGELOG_V20.md#20.12.2">20.12.2</a><br/>
6162
<a href="doc/changelogs/CHANGELOG_V20.md#20.12.1">20.12.1</a><br/>
6263
<a href="doc/changelogs/CHANGELOG_V20.md#20.12.0">20.12.0</a><br/>
6364
<a href="doc/changelogs/CHANGELOG_V20.md#20.11.1">20.11.1</a><br/>

doc/api/cli.md

+15-5
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,9 @@ added:
594594
- v16.4.0
595595
- v14.18.0
596596
changes:
597-
- version: v22.1.0
597+
- version:
598+
- v22.1.0
599+
- v20.13.0
598600
pr-url: https://github.com/nodejs/node/pull/52492
599601
description: The `ipv6first` is supported now.
600602
- version: v17.0.0
@@ -1338,7 +1340,9 @@ This option is a no-op. It is kept for compatibility.
13381340
### `--network-family-autoselection-attempt-timeout`
13391341

13401342
<!-- YAML
1341-
added: v22.1.0
1343+
added:
1344+
- v22.1.0
1345+
- v20.13.0
13421346
-->
13431347

13441348
Sets the default value for the network family autoselection attempt timeout.
@@ -1777,7 +1781,9 @@ native stack and other runtime environment data.
17771781
### `--report-exclude-network`
17781782

17791783
<!-- YAML
1780-
added: v22.0.0
1784+
added:
1785+
- v22.0.0
1786+
- v20.13.0
17811787
-->
17821788

17831789
Exclude `header.networkInterfaces` from the diagnostic report. By default
@@ -2366,7 +2372,9 @@ added:
23662372
- v18.11.0
23672373
- v16.19.0
23682374
changes:
2369-
- version: v22.0.0
2375+
- version:
2376+
- v22.0.0
2377+
- v20.13.0
23702378
pr-url: https://github.com/nodejs/node/pull/52074
23712379
description: Watch mode is now stable.
23722380
- version:
@@ -2399,7 +2407,9 @@ added:
23992407
- v18.11.0
24002408
- v16.19.0
24012409
changes:
2402-
- version: v22.0.0
2410+
- version:
2411+
- v22.0.0
2412+
- v20.13.0
24032413
pr-url: https://github.com/nodejs/node/pull/52074
24042414
description: Watch mode is now stable.
24052415
-->

doc/api/crypto.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,9 @@ When passing a string as the `buffer`, please consider
891891
<!-- YAML
892892
added: v1.0.0
893893
changes:
894-
- version: v22.0.0
894+
- version:
895+
- v22.0.0
896+
- v20.13.0
895897
pr-url: https://github.com/nodejs/node/pull/52345
896898
description: Using GCM tag lengths other than 128 bits without specifying
897899
the `authTagLength` option when creating `decipher` is

doc/api/deprecations.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3645,7 +3645,7 @@ changes:
36453645
- version: v22.0.0
36463646
pr-url: https://github.com/nodejs/node/pull/52067
36473647
description: Runtime deprecation.
3648-
- version: v22.0.0
3648+
- version: v20.13.0
36493649
pr-url: https://github.com/nodejs/node/pull/51879
36503650
description: Documentation-only deprecation.
36513651
-->
@@ -3662,7 +3662,7 @@ changes:
36623662
- version: v22.0.0
36633663
pr-url: https://github.com/nodejs/node/pull/52071
36643664
description: Runtime deprecation.
3665-
- version: v22.0.0
3665+
- version: v20.13.0
36663666
pr-url: https://github.com/nodejs/node/pull/51881
36673667
description: Documentation-only deprecation.
36683668
-->
@@ -3680,7 +3680,7 @@ changes:
36803680
- version: REPLACEME
36813681
pr-url: https://github.com/nodejs/node/pull/52552
36823682
description: Runtime deprecation.
3683-
- version: v22.0.0
3683+
- version: v20.13.0
36843684
pr-url: https://github.com/nodejs/node/pull/52345
36853685
description: Documentation-only deprecation.
36863686
-->

doc/api/dns.md

+15-5
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,9 @@ section if a custom port is used.
179179
<!-- YAML
180180
added: v0.1.90
181181
changes:
182-
- version: v22.1.0
182+
- version:
183+
- v22.1.0
184+
- v20.13.0
183185
pr-url: https://github.com/nodejs/node/pull/52492
184186
description: The `verbatim` option is now deprecated in favor of the new `order` option.
185187
- version: v18.4.0
@@ -787,7 +789,9 @@ added:
787789
- v16.4.0
788790
- v14.18.0
789791
changes:
790-
- version: v22.1.0
792+
- version:
793+
- v22.1.0
794+
- v20.13.0
791795
pr-url: https://github.com/nodejs/node/pull/52492
792796
description: The `ipv6first` value is supported now.
793797
- version: v17.0.0
@@ -816,7 +820,9 @@ added:
816820
- v20.1.0
817821
- v18.17.0
818822
changes:
819-
- version: v22.1.0
823+
- version:
824+
- v22.1.0
825+
- v20.13.0
820826
pr-url: https://github.com/nodejs/node/pull/52492
821827
description: The `ipv6first` value is supported now.
822828
-->
@@ -971,7 +977,9 @@ section if a custom port is used.
971977
<!-- YAML
972978
added: v10.6.0
973979
changes:
974-
- version: v22.1.0
980+
- version:
981+
- v22.1.0
982+
- v20.13.0
975983
pr-url: https://github.com/nodejs/node/pull/52492
976984
description: The `verbatim` option is now deprecated in favor of the new `order` option.
977985
-->
@@ -1383,7 +1391,9 @@ added:
13831391
- v16.4.0
13841392
- v14.18.0
13851393
changes:
1386-
- version: v22.1.0
1394+
- version:
1395+
- v22.1.0
1396+
- v20.13.0
13871397
pr-url: https://github.com/nodejs/node/pull/52492
13881398
description: The `ipv6first` value is supported now.
13891399
- version: v17.0.0

doc/api/events.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -1662,7 +1662,9 @@ added:
16621662
- v13.6.0
16631663
- v12.16.0
16641664
changes:
1665-
- version: v22.0.0
1665+
- version:
1666+
- v22.0.0
1667+
- v20.13.0
16661668
pr-url: https://github.com/nodejs/node/pull/52080
16671669
description: Support `highWaterMark` and `lowWaterMark` options,
16681670
For consistency. Old options are still supported.
@@ -2427,7 +2429,9 @@ added:
24272429
- v18.7.0
24282430
- v16.17.0
24292431
changes:
2430-
- version: v22.1.0
2432+
- version:
2433+
- v22.1.0
2434+
- v20.13.0
24312435
pr-url: https://github.com/nodejs/node/pull/52618
24322436
description: CustomEvent is now stable.
24332437
-->
@@ -2446,7 +2450,9 @@ added:
24462450
- v18.7.0
24472451
- v16.17.0
24482452
changes:
2449-
- version: v22.1.0
2453+
- version:
2454+
- v22.1.0
2455+
- v20.13.0
24502456
pr-url: https://github.com/nodejs/node/pull/52618
24512457
description: CustomEvent is now stable.
24522458
-->

doc/api/fs.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7026,7 +7026,9 @@ i.e. before the `'ready'` event is emitted.
70267026
<!-- YAML
70277027
added: v0.1.21
70287028
changes:
7029-
- version: v22.0.0
7029+
- version:
7030+
- v22.0.0
7031+
- v20.13.0
70307032
pr-url: https://github.com/nodejs/node/pull/51879
70317033
description: Public constructor is deprecated.
70327034
- version: v8.1.0

doc/api/process.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,9 @@ added:
11151115
- v19.6.0
11161116
- v18.15.0
11171117
changes:
1118-
- version: v22.0.0
1118+
- version:
1119+
- v22.0.0
1120+
- v20.13.0
11191121
pr-url: https://github.com/nodejs/node/pull/52039
11201122
description: Aligned return value with `uv_get_constrained_memory`.
11211123
-->
@@ -1134,7 +1136,9 @@ information.
11341136
## `process.availableMemory()`
11351137

11361138
<!-- YAML
1137-
added: v22.0.0
1139+
added:
1140+
- v22.0.0
1141+
- v20.13.0
11381142
-->
11391143

11401144
> Stability: 1 - Experimental

doc/api/report.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010

1111
<!-- YAML
1212
changes:
13-
- version: v22.0.0
13+
- version:
14+
- v22.0.0
15+
- v20.13.0
1416
pr-url: https://github.com/nodejs/node/pull/51645
1517
description: Added `--report-exclude-network` option for excluding networking operations that can slow down report generation in some cases.
1618
-->

doc/api/stream.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,9 @@ console.log(myStream.destroyed); // true
727727
<!-- YAML
728728
added: v0.9.4
729729
changes:
730-
- version: v22.0.0
730+
- version:
731+
- v22.0.0
732+
- v20.13.0
731733
pr-url: https://github.com/nodejs/node/pull/51866
732734
description: The `chunk` argument can now be a `TypedArray` or `DataView` instance.
733735
- version: v15.0.0
@@ -944,7 +946,9 @@ Getter for the property `objectMode` of a given `Writable` stream.
944946
<!-- YAML
945947
added: v0.9.4
946948
changes:
947-
- version: v22.0.0
949+
- version:
950+
- v22.0.0
951+
- v20.13.0
948952
pr-url: https://github.com/nodejs/node/pull/51866
949953
description: The `chunk` argument can now be a `TypedArray` or `DataView` instance.
950954
- version: v8.0.0
@@ -1784,7 +1788,9 @@ setTimeout(() => {
17841788
<!-- YAML
17851789
added: v0.9.11
17861790
changes:
1787-
- version: v22.0.0
1791+
- version:
1792+
- v22.0.0
1793+
- v20.13.0
17881794
pr-url: https://github.com/nodejs/node/pull/51866
17891795
description: The `chunk` argument can now be a `TypedArray` or `DataView` instance.
17901796
- version: v8.0.0
@@ -4092,7 +4098,9 @@ It can be overridden by child classes but it **must not** be called directly.
40924098

40934099
<!-- YAML
40944100
changes:
4095-
- version: v22.0.0
4101+
- version:
4102+
- v22.0.0
4103+
- v20.13.0
40964104
pr-url: https://github.com/nodejs/node/pull/51866
40974105
description: The `chunk` argument can now be a `TypedArray` or `DataView` instance.
40984106
- version: v8.0.0

doc/api/test.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,9 @@ run({ files: [path.resolve('./tests/test.js')] })
12741274
## `suite([name][, options][, fn])`
12751275

12761276
<!-- YAML
1277-
added: v22.0.0
1277+
added:
1278+
- v22.0.0
1279+
- v20.13.0
12781280
-->
12791281

12801282
* `name` {string} The name of the suite, which is displayed when reporting test
@@ -1292,7 +1294,9 @@ The `suite()` function is imported from the `node:test` module.
12921294
## `suite.skip([name][, options][, fn])`
12931295

12941296
<!-- YAML
1295-
added: v22.0.0
1297+
added:
1298+
- v22.0.0
1299+
- v20.13.0
12961300
-->
12971301

12981302
Shorthand for skipping a suite. This is the same as
@@ -1301,7 +1305,9 @@ Shorthand for skipping a suite. This is the same as
13011305
## `suite.todo([name][, options][, fn])`
13021306

13031307
<!-- YAML
1304-
added: v22.0.0
1308+
added:
1309+
- v22.0.0
1310+
- v20.13.0
13051311
-->
13061312

13071313
Shorthand for marking a suite as `TODO`. This is the same as
@@ -1310,7 +1316,9 @@ Shorthand for marking a suite as `TODO`. This is the same as
13101316
## `suite.only([name][, options][, fn])`
13111317

13121318
<!-- YAML
1313-
added: v22.0.0
1319+
added:
1320+
- v22.0.0
1321+
- v20.13.0
13141322
-->
13151323

13161324
Shorthand for marking a suite as `only`. This is the same as

doc/api/url.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,9 @@ console.log(url.domainToUnicode('xn--iñvalid.com'));
11561156
<!-- YAML
11571157
added: v10.12.0
11581158
changes:
1159-
- version: v22.1.0
1159+
- version:
1160+
- v22.1.0
1161+
- v20.13.0
11601162
pr-url: https://github.com/nodejs/node/pull/52509
11611163
description: The `options` argument can now be used to
11621164
determine how to parse the `path` argument.
@@ -1266,7 +1268,9 @@ console.log(url.format(myURL, { fragment: false, unicode: true, auth: false }));
12661268
<!-- YAML
12671269
added: v10.12.0
12681270
changes:
1269-
- version: v22.1.0
1271+
- version:
1272+
- v22.1.0
1273+
- v20.13.0
12701274
pr-url: https://github.com/nodejs/node/pull/52509
12711275
description: The `options` argument can now be used to
12721276
determine how to return the `path` value.

doc/api/v8.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,9 @@ buffers and external strings.
245245
## `v8.queryObjects(ctor[, options])`
246246

247247
<!-- YAML
248-
added: v22.0.0
248+
added:
249+
- v22.0.0
250+
- v20.13.0
249251
-->
250252

251253
> Stability: 1.1 - Active development

0 commit comments

Comments
 (0)