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
This commit is contained in:
Danielle Adams committed 2022-07-25 22:35:45 -04:00
1 parent 1f80b88da5
commit 75b68c6e4d
11 files changed
+170 -21

No files matched your search

+1 -1
View File
@@ -283,7 +283,7 @@ modifying the stack trace.
### `--experimental-global-customevent`
<!-- YAML
added: REPLACEME
added: v18.7.0
-->
Expose the [CustomEvent Web API][] on the global scope.
+2 -2
View File
@@ -3141,7 +3141,7 @@ Convert them to primitive strings.
<!-- YAML
changes:
- version: REPLACEME
- version: v18.7.0
pr-url: https://github.com/nodejs/node/pull/42714
description: Documentation-only deprecation.
-->
@@ -3159,7 +3159,7 @@ thing instead.
<!-- YAML
changes:
- version: REPLACEME
- version: v18.7.0
pr-url: https://github.com/nodejs/node/pull/43738
description: Documentation-only deprecation.
-->
+4 -4
View File
@@ -151,7 +151,7 @@ const channel = diagnostics_channel.channel('my-channel');
<!-- YAML
added:
- REPLACEME
- v18.7.0
-->
* `name` {string|symbol} The channel name
@@ -183,7 +183,7 @@ diagnostics_channel.subscribe('my-channel', (message, name) => {
<!-- YAML
added:
- REPLACEME
- v18.7.0
-->
* `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
+2 -2
View File
@@ -1990,7 +1990,7 @@ Removes the `listener` from the list of handlers for event `type`.
### Class: `CustomEvent`
<!-- YAML
added: REPLACEME
added: v18.7.0
-->
> Stability: 1 - Experimental.
@@ -2003,7 +2003,7 @@ Instances are created internally by Node.js.
#### `event.detail`
<!-- YAML
added: REPLACEME
added: v18.7.0
-->
> Stability: 1 - Experimental.
+1 -1
View File
@@ -377,7 +377,7 @@ only if the Node.js binary was compiled with including support for the
## `CustomEvent`
<!-- YAML
added: REPLACEME
added: v18.7.0
-->
> Stability: 1 - Experimental. Enable this API with the
+1 -1
View File
@@ -1407,7 +1407,7 @@ type other than {net.Socket}.
### Event: `'dropRequest'`
<!-- YAML
added: REPLACEME
added: v18.7.0
-->
* `request` {http.IncomingMessage} Arguments for the HTTP request, as it is in
+5 -5
View File
@@ -321,7 +321,7 @@ internally.
<!-- YAML
added: v18.0.0
changes:
- version: REPLACEME
- version: v18.7.0
pr-url: https://github.com/nodejs/node/pull/43505
description: Add a `timeout` option.
-->
@@ -498,7 +498,7 @@ test('top level test', (t) => {
### `context.signal`
<!-- YAML
added: REPLACEME
added: v18.7.0
-->
* <AbortSignal> Can be used to abort test subtasks when the test has been aborted.
@@ -553,7 +553,7 @@ test('top level test', (t) => {
<!-- YAML
added: v18.0.0
changes:
- version: REPLACEME
- version: v18.7.0
pr-url: https://github.com/nodejs/node/pull/43505
description: Add a `timeout` option.
-->
@@ -602,7 +602,7 @@ test('top level test', async (t) => {
## Class: `SuiteContext`
<!-- YAML
added: REPLACEME
added: v18.7.0
-->
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`
<!-- YAML
added: REPLACEME
added: v18.7.0
-->
* <AbortSignal> Can be used to abort test subtasks when the test has been aborted.
+1 -1
View File
@@ -1025,7 +1025,7 @@ equality.
<!-- YAML
added: v18.3.0
changes:
- version: REPLACEME
- version: v18.7.0
pr-url: https://github.com/nodejs/node/pull/43459
description: add support for returning detailed parse information
using `tokens` in input `config` and returned properties.