Skip to content

Commit

Permalink
2024-10-03, Version 20.18.0 'Iron' (LTS)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
targos committed Oct 2, 2024
1 parent 47be236 commit 2c147ec
Show file tree
Hide file tree
Showing 14 changed files with 372 additions and 28 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.17.0">20.17.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.18.0">20.18.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.17.0">20.17.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.16.0">20.16.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.15.1">20.15.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.15.0">20.15.0</a><br/>
Expand Down
10 changes: 5 additions & 5 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ added:
- v12.19.0
changes:
- version:
- REPLACEME
- v20.18.0
pr-url: https://github.com/nodejs/node/pull/54209

Check warning on line 474 in doc/api/cli.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: The flag is no longer experimental.
-->
Expand Down Expand Up @@ -694,7 +694,7 @@ code from strings throw an exception instead. This does not affect the Node.js
### `--expose-gc`

<!-- YAML
added: REPLACEME
added: v20.18.0
-->

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

<!-- YAML
added: REPLACEME
added: v20.18.0
-->

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

<!-- YAML
added:
- REPLACEME
- v20.18.0
-->

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

<!-- YAML
added: REPLACEME
added: v20.18.0
-->

> Stability: 1.0 - Early development
Expand Down
4 changes: 2 additions & 2 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -3547,7 +3547,7 @@ and [`crypto.setEngine()`][] all depend on this functionality from OpenSSL.

<!-- YAML
changes:
- version: REPLACEME
- version: v20.18.0
pr-url: https://github.com/nodejs/node/pull/54708

Check warning on line 3551 in doc/api/deprecations.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Documentation-only deprecation.
-->
Expand All @@ -3562,7 +3562,7 @@ It is recommended to use the `new` qualifier instead. This applies to all Zlib c

<!-- YAML
changes:
- version: REPLACEME
- version: v20.18.0
pr-url: https://github.com/nodejs/node/pull/54842

Check warning on line 3566 in doc/api/deprecations.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Documentation-only deprecation.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ A browser-compatible implementation of the `Event` class. See
## `EventSource`

<!-- YAML
added: REPLACEME
added: v20.18.0
-->

> Stability: 1 - Experimental. Enable this API with the [`--experimental-eventsource`][]
Expand Down
8 changes: 4 additions & 4 deletions doc/api/inspector.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ inspector.Network.requestWillBeSent({

<!-- YAML
added:
- REPLACEME
- v20.18.0
-->

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

<!-- YAML
added:
- REPLACEME
- v20.18.0
-->

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

<!-- YAML
added:
- REPLACEME
- v20.18.0
-->

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

<!-- YAML
added:
- REPLACEME
- v20.18.0
-->

> Stability: 1 - Experimental
Expand Down
4 changes: 2 additions & 2 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3099,7 +3099,7 @@ creation methods.
#### `node_api_create_property_key_latin1`

<!-- YAML
added: REPLACEME
added: v20.18.0
-->

> Stability: 1 - Experimental
Expand Down Expand Up @@ -3163,7 +3163,7 @@ The JavaScript `string` type is described in
#### `node_api_create_property_key_utf8`

<!-- YAML
added: REPLACEME
added: v20.18.0
-->

> Stability: 1 - Experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/perf_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ initialized.
### `performanceNodeTiming.uvMetricsInfo`

<!-- YAML
added: REPLACEME
added: v20.18.0
-->

* Returns: {Object}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -2474,7 +2474,7 @@ console.log(memoryUsage.rss());
<!-- YAML
added: v0.1.26
changes:
- version: REPLACEME
- version: v20.18.0
pr-url: https://github.com/nodejs/node/pull/51280

Check warning on line 2478 in doc/api/process.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Changed stability to Legacy.
- version: v18.0.0
Expand Down
6 changes: 3 additions & 3 deletions doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -1739,7 +1739,7 @@ mock can still be used after calling this function.
## Class: `MockModuleContext`

<!-- YAML
added: REPLACEME
added: v20.18.0
-->

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

<!-- YAML
added: REPLACEME
added: v20.18.0
-->

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

<!-- YAML
added: REPLACEME
added: v20.18.0
-->

> Stability: 1.0 - Early development
Expand Down
2 changes: 1 addition & 1 deletion doc/api/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -1813,7 +1813,7 @@ argument.
<!-- YAML
added: v0.11.13
changes:
- version: REPLACEME
- version: v20.18.0
pr-url: https://github.com/nodejs/node/pull/54790

Check warning on line 1817 in doc/api/tls.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: The `allowPartialTrustChain` option has been added.
- version: v20.16.0
Expand Down
2 changes: 1 addition & 1 deletion doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -1805,7 +1805,7 @@ console.log(util.stripVTControlCharacters('\u001B[4mvalue\u001B[0m'));
<!-- YAML
added: v20.12.0
changes:
- version: REPLACEME
- version: v20.18.0
pr-url: https://github.com/nodejs/node/pull/54389

Check warning on line 1809 in doc/api/util.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Respect isTTY and environment variables
such as NO_COLORS, NODE_DISABLE_COLORS, and FORCE_COLOR.
Expand Down
6 changes: 3 additions & 3 deletions doc/api/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ overhead.
<!-- YAML
added: v0.3.1
changes:
- version: REPLACEME
- version: v20.18.0
pr-url: https://github.com/nodejs/node/pull/54394

Check warning on line 232 in doc/api/vm.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: The `contextObject` argument now accepts `vm.constants.DONT_CONTEXTIFY`.
- version: v14.6.0
Expand Down Expand Up @@ -1081,7 +1081,7 @@ For detailed information, see
added: v0.3.1
changes:
- version:
- REPLACEME
- v20.18.0
pr-url: https://github.com/nodejs/node/pull/54394

Check warning on line 1085 in doc/api/vm.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: The `contextObject` argument now accepts `vm.constants.DONT_CONTEXTIFY`.
- version:
Expand Down Expand Up @@ -1350,7 +1350,7 @@ console.log(contextObject);
added: v0.3.1
changes:
- version:
- REPLACEME
- v20.18.0
pr-url: https://github.com/nodejs/node/pull/54394

Check warning on line 1354 in doc/api/vm.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: The `contextObject` argument now accepts `vm.constants.DONT_CONTEXTIFY`.
- version:
Expand Down
Loading

0 comments on commit 2c147ec

Please sign in to comment.