From 7ea28c487a7fa5400e5426244e48d6046d7c8acc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Mon, 30 Sep 2024 10:57:59 +0200 Subject: [PATCH] 2024-10-03, Version 20.18.0 'Iron' (LTS) Notable changes: buffer: * optimize createFromString (Robert Nagy) https://github.com/nodejs/node/pull/54324 inspector: * (SEMVER-MINOR) support `Network.loadingFailed` event (Kohei Ueno) https://github.com/nodejs/node/pull/54246 * (SEMVER-MINOR) add initial support for network inspection (Kohei Ueno) https://github.com/nodejs/node/pull/53593 lib: * (SEMVER-MINOR) add EventSource Client (Aras Abbasi) https://github.com/nodejs/node/pull/51575 repl: * doc-deprecate instantiating `node:repl` classes without `new` (Aviv Keller) https://github.com/nodejs/node/pull/54842 src,lib: * (SEMVER-MINOR) add performance.uvMetricsInfo (Rafael Gonzaga) https://github.com/nodejs/node/pull/54413 test_runner: * (SEMVER-MINOR) support module mocking (Colin Ihrig) https://github.com/nodejs/node/pull/52848 tls: * (SEMVER-MINOR) add `allowPartialTrustChain` flag (Anna Henningsen) https://github.com/nodejs/node/pull/54790 url: * (SEMVER-MINOR) implement parse method for safer URL parsing (Ali Hassan) https://github.com/nodejs/node/pull/52280 vm: * (SEMVER-MINOR) introduce vanilla contexts via vm.constants.DONT_CONTEXTIFY (Joyee Cheung) https://github.com/nodejs/node/pull/54394 zlib: * deprecate instantiating classes without new (Yagiz Nizipli) https://github.com/nodejs/node/pull/54708 PR-URL: https://github.com/nodejs/node/pull/55170 --- CHANGELOG.md | 3 +- doc/api/cli.md | 10 +- doc/api/deprecations.md | 4 +- doc/api/globals.md | 2 +- doc/api/inspector.md | 8 +- doc/api/n-api.md | 4 +- doc/api/perf_hooks.md | 2 +- doc/api/process.md | 2 +- doc/api/test.md | 6 +- doc/api/tls.md | 2 +- doc/api/util.md | 2 +- doc/api/vm.md | 6 +- doc/changelogs/CHANGELOG_V20.md | 344 ++++++++++++++++++++++++++++++++ src/node_version.h | 6 +- 14 files changed, 373 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e99ca70d47bfd6..ff92e5dc2bfb17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,7 +35,8 @@ release. -20.17.0
+20.18.0
+20.17.0
20.16.0
20.15.1
20.15.0
diff --git a/doc/api/cli.md b/doc/api/cli.md index 86d21431cca58f..ed0a43306e8796 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -470,7 +470,7 @@ added: - v12.19.0 changes: - version: - - REPLACEME + - v20.18.0 pr-url: https://github.com/nodejs/node/pull/54209 description: The flag is no longer experimental. --> @@ -694,7 +694,7 @@ code from strings throw an exception instead. This does not affect the Node.js ### `--expose-gc` > Stability: 1 - Experimental. This flag is inherited from V8 and is subject to @@ -922,7 +922,7 @@ CommonJS. This includes the following: ### `--experimental-eventsource` Enable exposition of [EventSource Web API][] on the global scope. @@ -980,7 +980,7 @@ Enable experimental support for the `https:` protocol in `import` specifiers. > Stability: 1 - Experimental @@ -1068,7 +1068,7 @@ report is not generated. See the documentation on ### `--experimental-test-module-mocks` > Stability: 1.0 - Early development diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index cdb32c2b9dccc1..c04c15e013e7d1 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -3547,7 +3547,7 @@ and [`crypto.setEngine()`][] all depend on this functionality from OpenSSL. @@ -3562,7 +3562,7 @@ It is recommended to use the `new` qualifier instead. This applies to all Zlib c diff --git a/doc/api/globals.md b/doc/api/globals.md index 1c4f562f78dc58..d25b50d2b12942 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -454,7 +454,7 @@ A browser-compatible implementation of the `Event` class. See ## `EventSource` > Stability: 1 - Experimental. Enable this API with the [`--experimental-eventsource`][] diff --git a/doc/api/inspector.md b/doc/api/inspector.md index e2885271c8c191..c3cf925273d443 100644 --- a/doc/api/inspector.md +++ b/doc/api/inspector.md @@ -513,7 +513,7 @@ inspector.Network.requestWillBeSent({ > Stability: 1 - Experimental @@ -529,7 +529,7 @@ the application is about to send an HTTP request. > Stability: 1 - Experimental @@ -545,7 +545,7 @@ HTTP response is available. > Stability: 1 - Experimental @@ -561,7 +561,7 @@ HTTP request has finished loading. > Stability: 1 - Experimental diff --git a/doc/api/n-api.md b/doc/api/n-api.md index 5e63d8f09197a0..8de55d8c709dd8 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -3099,7 +3099,7 @@ creation methods. #### `node_api_create_property_key_latin1` > Stability: 1 - Experimental @@ -3163,7 +3163,7 @@ The JavaScript `string` type is described in #### `node_api_create_property_key_utf8` > Stability: 1 - Experimental diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index 3f5decf08d1b94..de0265d0f89f27 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -883,7 +883,7 @@ initialized. ### `performanceNodeTiming.uvMetricsInfo` * Returns: {Object} diff --git a/doc/api/process.md b/doc/api/process.md index 4a8c9fe55d9f1d..2fa78f55f516e7 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -2474,7 +2474,7 @@ console.log(memoryUsage.rss()); > Stability: 1.0 - Early development @@ -1750,7 +1750,7 @@ created via the [`MockTracker`][] APIs. ### `ctx.restore()` Resets the implementation of the mock module. @@ -1891,7 +1891,7 @@ test('spies on an object method', (t) => { ### `mock.module(specifier[, options])` > Stability: 1.0 - Early development diff --git a/doc/api/tls.md b/doc/api/tls.md index f4e06193c7e2a8..3e835fc8ed03ae 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -1813,7 +1813,7 @@ argument.