Skip to content

Commit 2c147ec

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 47be236 commit 2c147ec

14 files changed

+372
-28
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ release.
3535
</tr>
3636
<tr>
3737
<td valign="top">
38-
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.17.0">20.17.0</a></b><br/>
38+
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.18.0">20.18.0</a></b><br/>
39+
<a href="doc/changelogs/CHANGELOG_V20.md#20.17.0">20.17.0</a><br/>
3940
<a href="doc/changelogs/CHANGELOG_V20.md#20.16.0">20.16.0</a><br/>
4041
<a href="doc/changelogs/CHANGELOG_V20.md#20.15.1">20.15.1</a><br/>
4142
<a href="doc/changelogs/CHANGELOG_V20.md#20.15.0">20.15.0</a><br/>

doc/api/cli.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ added:
470470
- v12.19.0
471471
changes:
472472
- version:
473-
- REPLACEME
473+
- v20.18.0
474474
pr-url: https://github.com/nodejs/node/pull/54209
475475
description: The flag is no longer experimental.
476476
-->
@@ -694,7 +694,7 @@ code from strings throw an exception instead. This does not affect the Node.js
694694
### `--expose-gc`
695695

696696
<!-- YAML
697-
added: REPLACEME
697+
added: v20.18.0
698698
-->
699699

700700
> Stability: 1 - Experimental. This flag is inherited from V8 and is subject to
@@ -922,7 +922,7 @@ CommonJS. This includes the following:
922922
### `--experimental-eventsource`
923923

924924
<!-- YAML
925-
added: REPLACEME
925+
added: v20.18.0
926926
-->
927927

928928
Enable exposition of [EventSource Web API][] on the global scope.
@@ -980,7 +980,7 @@ Enable experimental support for the `https:` protocol in `import` specifiers.
980980

981981
<!-- YAML
982982
added:
983-
- REPLACEME
983+
- v20.18.0
984984
-->
985985

986986
> Stability: 1 - Experimental
@@ -1068,7 +1068,7 @@ report is not generated. See the documentation on
10681068
### `--experimental-test-module-mocks`
10691069

10701070
<!-- YAML
1071-
added: REPLACEME
1071+
added: v20.18.0
10721072
-->
10731073

10741074
> Stability: 1.0 - Early development

doc/api/deprecations.md

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

35483548
<!-- YAML
35493549
changes:
3550-
- version: REPLACEME
3550+
- version: v20.18.0
35513551
pr-url: https://github.com/nodejs/node/pull/54708
35523552
description: Documentation-only deprecation.
35533553
-->
@@ -3562,7 +3562,7 @@ It is recommended to use the `new` qualifier instead. This applies to all Zlib c
35623562

35633563
<!-- YAML
35643564
changes:
3565-
- version: REPLACEME
3565+
- version: v20.18.0
35663566
pr-url: https://github.com/nodejs/node/pull/54842
35673567
description: Documentation-only deprecation.
35683568
-->

doc/api/globals.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ A browser-compatible implementation of the `Event` class. See
454454
## `EventSource`
455455

456456
<!-- YAML
457-
added: REPLACEME
457+
added: v20.18.0
458458
-->
459459

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

doc/api/inspector.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ inspector.Network.requestWillBeSent({
513513

514514
<!-- YAML
515515
added:
516-
- REPLACEME
516+
- v20.18.0
517517
-->
518518

519519
> Stability: 1 - Experimental
@@ -529,7 +529,7 @@ the application is about to send an HTTP request.
529529

530530
<!-- YAML
531531
added:
532-
- REPLACEME
532+
- v20.18.0
533533
-->
534534

535535
> Stability: 1 - Experimental
@@ -545,7 +545,7 @@ HTTP response is available.
545545

546546
<!-- YAML
547547
added:
548-
- REPLACEME
548+
- v20.18.0
549549
-->
550550

551551
> Stability: 1 - Experimental
@@ -561,7 +561,7 @@ HTTP request has finished loading.
561561

562562
<!-- YAML
563563
added:
564-
- REPLACEME
564+
- v20.18.0
565565
-->
566566

567567
> Stability: 1 - Experimental

doc/api/n-api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3099,7 +3099,7 @@ creation methods.
30993099
#### `node_api_create_property_key_latin1`
31003100

31013101
<!-- YAML
3102-
added: REPLACEME
3102+
added: v20.18.0
31033103
-->
31043104

31053105
> Stability: 1 - Experimental
@@ -3163,7 +3163,7 @@ The JavaScript `string` type is described in
31633163
#### `node_api_create_property_key_utf8`
31643164

31653165
<!-- YAML
3166-
added: REPLACEME
3166+
added: v20.18.0
31673167
-->
31683168

31693169
> Stability: 1 - Experimental

doc/api/perf_hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ initialized.
883883
### `performanceNodeTiming.uvMetricsInfo`
884884

885885
<!-- YAML
886-
added: REPLACEME
886+
added: v20.18.0
887887
-->
888888

889889
* Returns: {Object}

doc/api/process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2474,7 +2474,7 @@ console.log(memoryUsage.rss());
24742474
<!-- YAML
24752475
added: v0.1.26
24762476
changes:
2477-
- version: REPLACEME
2477+
- version: v20.18.0
24782478
pr-url: https://github.com/nodejs/node/pull/51280
24792479
description: Changed stability to Legacy.
24802480
- version: v18.0.0

doc/api/test.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1739,7 +1739,7 @@ mock can still be used after calling this function.
17391739
## Class: `MockModuleContext`
17401740

17411741
<!-- YAML
1742-
added: REPLACEME
1742+
added: v20.18.0
17431743
-->
17441744

17451745
> Stability: 1.0 - Early development
@@ -1750,7 +1750,7 @@ created via the [`MockTracker`][] APIs.
17501750
### `ctx.restore()`
17511751

17521752
<!-- YAML
1753-
added: REPLACEME
1753+
added: v20.18.0
17541754
-->
17551755

17561756
Resets the implementation of the mock module.
@@ -1891,7 +1891,7 @@ test('spies on an object method', (t) => {
18911891
### `mock.module(specifier[, options])`
18921892

18931893
<!-- YAML
1894-
added: REPLACEME
1894+
added: v20.18.0
18951895
-->
18961896

18971897
> Stability: 1.0 - Early development

doc/api/tls.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1813,7 +1813,7 @@ argument.
18131813
<!-- YAML
18141814
added: v0.11.13
18151815
changes:
1816-
- version: REPLACEME
1816+
- version: v20.18.0
18171817
pr-url: https://github.com/nodejs/node/pull/54790
18181818
description: The `allowPartialTrustChain` option has been added.
18191819
- version: v20.16.0

doc/api/util.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1805,7 +1805,7 @@ console.log(util.stripVTControlCharacters('\u001B[4mvalue\u001B[0m'));
18051805
<!-- YAML
18061806
added: v20.12.0
18071807
changes:
1808-
- version: REPLACEME
1808+
- version: v20.18.0
18091809
pr-url: https://github.com/nodejs/node/pull/54389
18101810
description: Respect isTTY and environment variables
18111811
such as NO_COLORS, NODE_DISABLE_COLORS, and FORCE_COLOR.

doc/api/vm.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ overhead.
228228
<!-- YAML
229229
added: v0.3.1
230230
changes:
231-
- version: REPLACEME
231+
- version: v20.18.0
232232
pr-url: https://github.com/nodejs/node/pull/54394
233233
description: The `contextObject` argument now accepts `vm.constants.DONT_CONTEXTIFY`.
234234
- version: v14.6.0
@@ -1081,7 +1081,7 @@ For detailed information, see
10811081
added: v0.3.1
10821082
changes:
10831083
- version:
1084-
- REPLACEME
1084+
- v20.18.0
10851085
pr-url: https://github.com/nodejs/node/pull/54394
10861086
description: The `contextObject` argument now accepts `vm.constants.DONT_CONTEXTIFY`.
10871087
- version:
@@ -1350,7 +1350,7 @@ console.log(contextObject);
13501350
added: v0.3.1
13511351
changes:
13521352
- version:
1353-
- REPLACEME
1353+
- v20.18.0
13541354
pr-url: https://github.com/nodejs/node/pull/54394
13551355
description: The `contextObject` argument now accepts `vm.constants.DONT_CONTEXTIFY`.
13561356
- version:

0 commit comments

Comments
 (0)