From 4494954be44af9328318bbb2ea1b5e79f69d2671 Mon Sep 17 00:00:00 2001 From: Danielle Adams Date: Mon, 25 Jul 2022 22:32:16 -0400 Subject: [PATCH] 2022-07-26, Version 18.7.0 (Current) Notable changes: * doc: * add F3n67u to collaborators (Feng Yu)https://github.com/nodejs/node/pull/43953 * deprecate coercion to integer in process.exit (Daeyeon Jeong) https://github.com/nodejs/node/pull/43738 * (SEMVER-MINOR) deprecate diagnostics_channel object subscribe method (Stephen Belanger) https://github.com/nodejs/node/pull/42714 * events: * (SEMVER-MINOR) expose CustomEvent on global with CLI flag (Daeyeon Jeong) https://github.com/nodejs/node/pull/43885 * (SEMVER-MINOR) add `CustomEvent` (Daeyeon Jeong) https://github.com/nodejs/node/pull/43514 * http: * (SEMVER-MINOR) add drop request event for http server (theanarkh) https://github.com/nodejs/node/pull/43806 * lib: * (SEMVER-MINOR) improved diagnostics_channel subscribe/unsubscribe (Stephen Belanger) https://github.com/nodejs/node/pull/42714 * util: * (SEMVER-MINOR) add tokens to parseArgs (John Gee) https://github.com/nodejs/node/pull/43459 PR-URL: https://github.com/nodejs/node/pull/43993 --- CHANGELOG.md | 3 +- doc/api/cli.md | 2 +- doc/api/deprecations.md | 4 +- doc/api/diagnostics_channel.md | 8 +- doc/api/events.md | 4 +- doc/api/globals.md | 2 +- doc/api/http.md | 2 +- doc/api/test.md | 10 +-- doc/api/util.md | 2 +- doc/changelogs/CHANGELOG_V18.md | 148 ++++++++++++++++++++++++++++++++ src/node_version.h | 6 +- 11 files changed, 170 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9227ff1cb0149d..fc3487ce620ffb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,7 +35,8 @@ release. -18.6.0
+18.7.0
+18.6.0
18.5.0
18.4.0
18.3.0
diff --git a/doc/api/cli.md b/doc/api/cli.md index 0565aa601a2f1a..2b63cc3366c204 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -283,7 +283,7 @@ modifying the stack trace. ### `--experimental-global-customevent` Expose the [CustomEvent Web API][] on the global scope. diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 0653cbe273f206..b3d969c8851f4f 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -3141,7 +3141,7 @@ Convert them to primitive strings. @@ -3159,7 +3159,7 @@ thing instead. diff --git a/doc/api/diagnostics_channel.md b/doc/api/diagnostics_channel.md index 04a602195848a3..3bcf6b7966a21b 100644 --- a/doc/api/diagnostics_channel.md +++ b/doc/api/diagnostics_channel.md @@ -151,7 +151,7 @@ const channel = diagnostics_channel.channel('my-channel'); * `name` {string|symbol} The channel name @@ -183,7 +183,7 @@ diagnostics_channel.subscribe('my-channel', (message, name) => { * `name` {string|symbol} The channel name @@ -308,7 +308,7 @@ channel.publish({ added: - v15.1.0 - v14.17.0 -deprecated: REPLACEME +deprecated: v18.7.0 --> > Stability: 0 - Deprecated: Use [`diagnostics_channel.subscribe(name, onMessage)`][] @@ -347,7 +347,7 @@ channel.subscribe((message, name) => { added: - v15.1.0 - v14.17.0 -deprecated: REPLACEME +deprecated: v18.7.0 changes: - version: - v17.1.0 diff --git a/doc/api/events.md b/doc/api/events.md index 873739ad57ecde..28b6b31fa04c9a 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -1990,7 +1990,7 @@ Removes the `listener` from the list of handlers for event `type`. ### Class: `CustomEvent` > Stability: 1 - Experimental. @@ -2003,7 +2003,7 @@ Instances are created internally by Node.js. #### `event.detail` > Stability: 1 - Experimental. diff --git a/doc/api/globals.md b/doc/api/globals.md index 251a550aead73d..1669083176f41e 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -377,7 +377,7 @@ only if the Node.js binary was compiled with including support for the ## `CustomEvent` > Stability: 1 - Experimental. Enable this API with the diff --git a/doc/api/http.md b/doc/api/http.md index f79aa7cbd0ccae..1b85a79e9771ca 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -1407,7 +1407,7 @@ type other than {net.Socket}. ### Event: `'dropRequest'` * `request` {http.IncomingMessage} Arguments for the HTTP request, as it is in diff --git a/doc/api/test.md b/doc/api/test.md index c7a042b5efe19c..bef97c4b1917a7 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -321,7 +321,7 @@ internally. @@ -498,7 +498,7 @@ test('top level test', (t) => { ### `context.signal` * Can be used to abort test subtasks when the test has been aborted. @@ -553,7 +553,7 @@ test('top level test', (t) => { @@ -602,7 +602,7 @@ test('top level test', async (t) => { ## Class: `SuiteContext` An instance of `SuiteContext` is passed to each suite function in order to @@ -612,7 +612,7 @@ exposed as part of the API. ### `context.signal` * Can be used to abort test subtasks when the test has been aborted. diff --git a/doc/api/util.md b/doc/api/util.md index c5894b1dc3c03a..655f76b7ce2e8b 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -1025,7 +1025,7 @@ equality.