From 9e0c715518efb028fdabf43994df141fb91fa65f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Mon, 27 Nov 2023 12:19:49 +0100 Subject: [PATCH] 2023-11-29, Version 18.19.0 'Hydrogen' (LTS) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Notable changes: deps: * (SEMVER-MINOR) update uvwasi to 0.0.19 (Node.js GitHub Bot) https://github.com/nodejs/node/pull/49908 * (SEMVER-MINOR) upgrade npm to 10.2.3 (npm team) https://github.com/nodejs/node/pull/50531 doc: * move and rename loaders section (Geoffrey Booth) https://github.com/nodejs/node/pull/49261 esm: * use import attributes instead of import assertions (Antoine du Hamel) https://github.com/nodejs/node/pull/50140 * --experimental-default-type flag to flip module defaults (Geoffrey Booth) https://github.com/nodejs/node/pull/49869 * unflag import.meta.resolve (Guy Bedford) https://github.com/nodejs/node/pull/49028 * move hook execution to separate thread (Jacob Smith) https://github.com/nodejs/node/pull/44710 * leverage loaders when resolving subsequent loaders (Maël Nison) https://github.com/nodejs/node/pull/43772 lib: * (SEMVER-MINOR) add api to detect whether source-maps are enabled (翠 / green) https://github.com/nodejs/node/pull/46391 * (SEMVER-MINOR) add tracing channel to diagnostics_channel (Stephen Belanger) https://github.com/nodejs/node/pull/44943 src: * (SEMVER-MINOR) add cjs_module_lexer_version base64_version (Jithil P Ponnan) https://github.com/nodejs/node/pull/45629 stream: * use bitmap in readable state (Benjamin Gruenbaum) https://github.com/nodejs/node/pull/49745 test_runner: * (SEMVER-MINOR) accept `testOnly` in `run` (Moshe Atlow) https://github.com/nodejs/node/pull/49753 * (SEMVER-MINOR) add junit reporter (Moshe Atlow) https://github.com/nodejs/node/pull/49614 * (SEMVER-MINOR) expose location of tests (Colin Ihrig) https://github.com/nodejs/node/pull/48975 * (SEMVER-MINOR) add shards support (Raz Luvaton) https://github.com/nodejs/node/pull/48639 * (SEMVER-MINOR) add initial draft for fakeTimers (Erick Wendel) https://github.com/nodejs/node/pull/47775 test_runner, cli: * (SEMVER-MINOR) add --test-concurrency flag (Colin Ihrig) https://github.com/nodejs/node/pull/49996 tls: * (SEMVER-MINOR) add ALPNCallback server option for dynamic ALPN negotiation (Tim Perry) https://github.com/nodejs/node/pull/45190 vm: * (SEMVER-MINOR) use import attributes instead of import assertions (Antoine du Hamel) https://github.com/nodejs/node/pull/50141 PR-URL: https://github.com/nodejs/node/pull/50953 --- CHANGELOG.md | 3 +- doc/api/cli.md | 8 +- doc/api/diagnostics_channel.md | 20 +- doc/api/errors.md | 2 +- doc/api/esm.md | 10 +- doc/api/fs.md | 6 +- doc/api/module.md | 10 +- doc/api/n-api.md | 2 +- doc/api/process.md | 2 +- doc/api/stream.md | 4 +- doc/api/test.md | 10 +- doc/api/tls.md | 2 +- doc/api/vm.md | 2 +- doc/changelogs/CHANGELOG_V18.md | 461 ++++++++++++++++++++++++++++++++ src/node_version.h | 6 +- 15 files changed, 505 insertions(+), 43 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cf6101e85afcc..c3894afc8c2caf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,7 +32,8 @@ release. -18.18.2
+18.19.0
+18.18.2
18.18.1
18.18.0
18.17.1
diff --git a/doc/api/cli.md b/doc/api/cli.md index 78ec9583a313a9..e17d4c25f8bedb 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -373,7 +373,7 @@ Expose the [Web Crypto API][] on the global scope. > Stability: 1.0 - Early development @@ -406,7 +406,7 @@ added: - v13.9.0 - v12.16.2 changes: - - version: REPLACEME + - version: v18.19.0 pr-url: https://github.com/nodejs/node/pull/49028 description: synchronous import.meta.resolve made available by default, with the flag retained for enabling the experimental second argument @@ -1301,7 +1301,7 @@ for more details. ### `--test-concurrency` The maximum number of test files that the test runner CLI will execute @@ -1347,7 +1347,7 @@ option set. ### `--test-shard` Test suite shard to execute in a format of `/`, where diff --git a/doc/api/diagnostics_channel.md b/doc/api/diagnostics_channel.md index 59e147e77ee60c..2d18351c510fc1 100644 --- a/doc/api/diagnostics_channel.md +++ b/doc/api/diagnostics_channel.md @@ -231,7 +231,7 @@ diagnostics_channel.unsubscribe('my-channel', onMessage); > Stability: 1 - Experimental @@ -457,7 +457,7 @@ channel.unsubscribe(onMessage); > Stability: 1 - Experimental @@ -501,7 +501,7 @@ channel.bindStore(store, (data) => { > Stability: 1 - Experimental @@ -540,7 +540,7 @@ channel.unbindStore(store); > Stability: 1 - Experimental @@ -601,7 +601,7 @@ channel.runStores({ some: 'message' }, () => { > Stability: 1 - Experimental @@ -618,7 +618,7 @@ dynamically. > Stability: 1 - Experimental @@ -686,7 +686,7 @@ channels.subscribe({ > Stability: 1 - Experimental @@ -756,7 +756,7 @@ channels.unsubscribe({ > Stability: 1 - Experimental @@ -801,7 +801,7 @@ channels.traceSync(() => { > Stability: 1 - Experimental @@ -849,7 +849,7 @@ channels.tracePromise(async () => { > Stability: 1 - Experimental diff --git a/doc/api/errors.md b/doc/api/errors.md index ecfb20864c37d1..fee0ed89e4b844 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -1794,7 +1794,7 @@ An import attribute is not supported by this version of Node.js. ### `ERR_IMPORT_ATTRIBUTE_UNSUPPORTED` An import attribute is not supported by this version of Node.js. diff --git a/doc/api/esm.md b/doc/api/esm.md index 88d58735707123..9b629f2a2a997d 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -7,7 +7,7 @@ @@ -340,15 +340,15 @@ added: - v13.9.0 - v12.16.2 changes: - - version: REPLACEME + - version: v18.19.0 pr-url: https://github.com/nodejs/node/pull/49028 description: Unflag `import.meta.resolve``, with `parentURL` parameter still flagged. - - version: REPLACEME + - version: v18.19.0 pr-url: https://github.com/nodejs/node/pull/49038 description: This API no longer throws when targeting `file:` URLs that do not map to an existing file on the local FS. - - version: REPLACEME + - version: v18.19.0 pr-url: https://github.com/nodejs/node/pull/44710 description: This API now returns a string synchronously instead of a Promise. - version: diff --git a/doc/api/fs.md b/doc/api/fs.md index c12b8e4161828e..bc2d6b64ca2e51 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -1154,7 +1154,7 @@ makeDirectory().catch(console.error); @@ -151,7 +151,7 @@ import('node:fs').then((esmFS) => { > Stability: 1.1 - Active development @@ -456,7 +456,7 @@ register('./path-to-my-hooks.js', { > Stability: 1 - Experimental diff --git a/doc/api/process.md b/doc/api/process.md index d4080c5acfa814..0712a495b5b1c4 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -3463,7 +3463,7 @@ Using this function is mutually exclusive with using the deprecated ## `process.sourceMapsEnabled` > Stability: 1 - Experimental diff --git a/doc/api/stream.md b/doc/api/stream.md index 2c8714157e65e4..2a1d6a7df4100d 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -2009,7 +2009,7 @@ added: - v17.4.0 - v16.14.0 changes: - - version: REPLACEME + - version: v18.19.0 pr-url: https://github.com/nodejs/node/pull/49249 description: added `highWaterMark` in options. --> @@ -2062,7 +2062,7 @@ added: - v17.4.0 - v16.14.0 changes: - - version: REPLACEME + - version: v18.19.0 pr-url: https://github.com/nodejs/node/pull/49249 description: added `highWaterMark` in options. --> diff --git a/doc/api/test.md b/doc/api/test.md index 62f25689634197..7f04a11354bcae 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -1515,7 +1515,7 @@ set to `true`. > Stability: 1 - Experimental @@ -1531,7 +1531,7 @@ which is a `MockTimers` instance. Enables timer mocking for the specified timers. @@ -1574,7 +1574,7 @@ and `globalThis` will be mocked. This function restores the default behavior of all mocks that were previously @@ -1602,7 +1602,7 @@ Calls `timers.reset()`. Advances time for all mocked timers. @@ -1876,7 +1876,7 @@ test('should tick five times testing a real use case', async (context) => { Triggers all pending mocked timers immediately. diff --git a/doc/api/tls.md b/doc/api/tls.md index 9114748a923250..333cfe56ed1dff 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -2045,7 +2045,7 @@ where `secureSocket` has the same API as `pair.cleartext`.