Skip to content

Commit 784eb2c

Browse files
committed
2024-10-03, Version 20.18.0 'Iron' (LTS)
Notable changes: buffer: * optimize createFromString (Robert Nagy) #54324 inspector: * (SEMVER-MINOR) support `Network.loadingFailed` event (Kohei Ueno) #54246 * (SEMVER-MINOR) add initial support for network inspection (Kohei Ueno) #53593 lib: * (SEMVER-MINOR) add EventSource Client (Aras Abbasi) #51575 repl: * doc-deprecate instantiating `node:repl` classes without `new` (Aviv Keller) #54842 src,lib: * (SEMVER-MINOR) add performance.uvMetricsInfo (Rafael Gonzaga) #54413 test_runner: * (SEMVER-MINOR) support module mocking (Colin Ihrig) #52848 tls: * (SEMVER-MINOR) add `allowPartialTrustChain` flag (Anna Henningsen) #54790 url: * (SEMVER-MINOR) implement parse method for safer URL parsing (Ali Hassan) #52280 vm: * (SEMVER-MINOR) introduce vanilla contexts via vm.constants.DONT_CONTEXTIFY (Joyee Cheung) #54394 zlib: * deprecate instantiating classes without new (Yagiz Nizipli) #54708 PR-URL: #55170
1 parent 1c7795e commit 784eb2c

13 files changed

+400
-17
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ release.
5151
<a href="doc/changelogs/CHANGELOG_V22.md#22.0.0">22.0.0</a><br/>
5252
</td>
5353
<td valign="top">
54-
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.17.0">20.17.0</a></b><br/>
54+
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.18.0">20.18.0</a></b><br/>
55+
<a href="doc/changelogs/CHANGELOG_V20.md#20.17.0">20.17.0</a><br/>
5556
<a href="doc/changelogs/CHANGELOG_V20.md#20.16.0">20.16.0</a><br/>
5657
<a href="doc/changelogs/CHANGELOG_V20.md#20.15.1">20.15.1</a><br/>
5758
<a href="doc/changelogs/CHANGELOG_V20.md#20.15.0">20.15.0</a><br/>

doc/api/cli.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ added:
477477
changes:
478478
- version:
479479
- v22.9.0
480+
- v20.18.0
480481
pr-url: https://github.com/nodejs/node/pull/54209
481482
description: The flag is no longer experimental.
482483
-->
@@ -708,7 +709,9 @@ code from strings throw an exception instead. This does not affect the Node.js
708709
### `--expose-gc`
709710

710711
<!-- YAML
711-
added: v22.3.0
712+
added:
713+
- v22.3.0
714+
- v20.18.0
712715
-->
713716

714717
> Stability: 1 - Experimental. This flag is inherited from V8 and is subject to
@@ -987,7 +990,9 @@ Implies `--experimental-strip-types` and `--enable-source-maps`.
987990
### `--experimental-eventsource`
988991

989992
<!-- YAML
990-
added: v22.3.0
993+
added:
994+
- v22.3.0
995+
- v20.18.0
991996
-->
992997

993998
Enable exposition of [EventSource Web API][] on the global scope.
@@ -1036,6 +1041,7 @@ Specify the `module` containing exported [module customization hooks][].
10361041
<!-- YAML
10371042
added:
10381043
- v22.6.0
1044+
- v20.18.0
10391045
-->
10401046

10411047
> Stability: 1 - Experimental
@@ -1155,7 +1161,9 @@ present. See the [test runner execution model][] section for more information.
11551161
### `--experimental-test-module-mocks`
11561162

11571163
<!-- YAML
1158-
added: v22.3.0
1164+
added:
1165+
- v22.3.0
1166+
- v20.18.0
11591167
-->
11601168

11611169
> Stability: 1.0 - Early development

doc/api/deprecations.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -3724,7 +3724,9 @@ and [`crypto.setEngine()`][] all depend on this functionality from OpenSSL.
37243724

37253725
<!-- YAML
37263726
changes:
3727-
- version: v22.9.0
3727+
- version:
3728+
- v22.9.0
3729+
- v20.18.0
37283730
pr-url: https://github.com/nodejs/node/pull/54708
37293731
description: Documentation-only deprecation.
37303732
-->
@@ -3739,7 +3741,9 @@ It is recommended to use the `new` qualifier instead. This applies to all Zlib c
37393741

37403742
<!-- YAML
37413743
changes:
3742-
- version: v22.9.0
3744+
- version:
3745+
- v22.9.0
3746+
- v20.18.0
37433747
pr-url: https://github.com/nodejs/node/pull/54842
37443748
description: Documentation-only deprecation.
37453749
-->

doc/api/globals.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,9 @@ A browser-compatible implementation of the `Event` class. See
477477
## `EventSource`
478478

479479
<!-- YAML
480-
added: v22.3.0
480+
added:
481+
- v22.3.0
482+
- v20.18.0
481483
-->
482484

483485
> Stability: 1 - Experimental. Enable this API with the [`--experimental-eventsource`][]

doc/api/inspector.md

+4
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ inspector.Network.requestWillBeSent({
514514
<!-- YAML
515515
added:
516516
- v22.6.0
517+
- v20.18.0
517518
-->
518519

519520
> Stability: 1 - Experimental
@@ -530,6 +531,7 @@ the application is about to send an HTTP request.
530531
<!-- YAML
531532
added:
532533
- v22.6.0
534+
- v20.18.0
533535
-->
534536

535537
> Stability: 1 - Experimental
@@ -546,6 +548,7 @@ HTTP response is available.
546548
<!-- YAML
547549
added:
548550
- v22.6.0
551+
- v20.18.0
549552
-->
550553

551554
> Stability: 1 - Experimental
@@ -562,6 +565,7 @@ HTTP request has finished loading.
562565
<!-- YAML
563566
added:
564567
- v22.7.0
568+
- v20.18.0
565569
-->
566570

567571
> Stability: 1 - Experimental

doc/api/n-api.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -3106,7 +3106,9 @@ creation methods.
31063106
#### `node_api_create_property_key_latin1`
31073107

31083108
<!-- YAML
3109-
added: v22.9.0
3109+
added:
3110+
- v22.9.0
3111+
- v20.18.0
31103112
-->
31113113

31123114
> Stability: 1 - Experimental
@@ -3172,7 +3174,9 @@ The JavaScript `string` type is described in
31723174
#### `node_api_create_property_key_utf8`
31733175

31743176
<!-- YAML
3175-
added: v22.9.0
3177+
added:
3178+
- v22.9.0
3179+
- v20.18.0
31763180
-->
31773181

31783182
> Stability: 1 - Experimental

doc/api/perf_hooks.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,9 @@ initialized.
890890
### `performanceNodeTiming.uvMetricsInfo`
891891

892892
<!-- YAML
893-
added: v22.8.0
893+
added:
894+
- v22.8.0
895+
- v20.18.0
894896
-->
895897

896898
* Returns: {Object}

doc/api/process.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2801,7 +2801,9 @@ console.log(memoryUsage.rss());
28012801
<!-- YAML
28022802
added: v0.1.26
28032803
changes:
2804-
- version: v22.7.0
2804+
- version:
2805+
- v22.7.0
2806+
- v20.18.0
28052807
pr-url: https://github.com/nodejs/node/pull/51280
28062808
description: Changed stability to Legacy.
28072809
- version: v18.0.0

doc/api/test.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -1956,7 +1956,9 @@ mock can still be used after calling this function.
19561956
## Class: `MockModuleContext`
19571957

19581958
<!-- YAML
1959-
added: v22.3.0
1959+
added:
1960+
- v22.3.0
1961+
- v20.18.0
19601962
-->
19611963

19621964
> Stability: 1.0 - Early development
@@ -1967,7 +1969,9 @@ created via the [`MockTracker`][] APIs.
19671969
### `ctx.restore()`
19681970

19691971
<!-- YAML
1970-
added: v22.3.0
1972+
added:
1973+
- v22.3.0
1974+
- v20.18.0
19711975
-->
19721976

19731977
Resets the implementation of the mock module.
@@ -2108,7 +2112,9 @@ test('spies on an object method', (t) => {
21082112
### `mock.module(specifier[, options])`
21092113

21102114
<!-- YAML
2111-
added: v22.3.0
2115+
added:
2116+
- v22.3.0
2117+
- v20.18.0
21122118
-->
21132119

21142120
> Stability: 1.0 - Early development

doc/api/tls.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1856,7 +1856,9 @@ argument.
18561856
<!-- YAML
18571857
added: v0.11.13
18581858
changes:
1859-
- version: v22.9.0
1859+
- version:
1860+
- v22.9.0
1861+
- v20.18.0
18601862
pr-url: https://github.com/nodejs/node/pull/54790
18611863
description: The `allowPartialTrustChain` option has been added.
18621864
- version:

doc/api/util.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1868,7 +1868,9 @@ added:
18681868
- v21.7.0
18691869
- v20.12.0
18701870
changes:
1871-
- version: v22.8.0
1871+
- version:
1872+
- v22.8.0
1873+
- v20.18.0
18721874
pr-url: https://github.com/nodejs/node/pull/54389
18731875
description: Respect isTTY and environment variables
18741876
such as NO_COLORS, NODE_DISABLE_COLORS, and FORCE_COLOR.

doc/api/vm.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,9 @@ overhead.
229229
<!-- YAML
230230
added: v0.3.1
231231
changes:
232-
- version: v22.8.0
232+
- version:
233+
- v22.8.0
234+
- v20.18.0
233235
pr-url: https://github.com/nodejs/node/pull/54394
234236
description: The `contextObject` argument now accepts `vm.constants.DONT_CONTEXTIFY`.
235237
- version: v14.6.0
@@ -1091,6 +1093,7 @@ added: v0.3.1
10911093
changes:
10921094
- version:
10931095
- v22.8.0
1096+
- v20.18.0
10941097
pr-url: https://github.com/nodejs/node/pull/54394
10951098
description: The `contextObject` argument now accepts `vm.constants.DONT_CONTEXTIFY`.
10961099
- version:
@@ -1363,6 +1366,7 @@ added: v0.3.1
13631366
changes:
13641367
- version:
13651368
- v22.8.0
1369+
- v20.18.0
13661370
pr-url: https://github.com/nodejs/node/pull/54394
13671371
description: The `contextObject` argument now accepts `vm.constants.DONT_CONTEXTIFY`.
13681372
- version:

0 commit comments

Comments
 (0)