Skip to content

Commit

Permalink
2022-07-26, Version 18.7.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

* doc:
  * add F3n67u to collaborators (Feng Yu) #43953
  * deprecate coercion to integer in process.exit (Daeyeon Jeong)
  #43738
  * (SEMVER-MINOR) deprecate diagnostics_channel object subscribe method
  (Stephen Belanger) #42714
* events:
  * (SEMVER-MINOR) expose CustomEvent on global with CLI flag (Daeyeon
  Jeong) #43885
  * (SEMVER-MINOR) add `CustomEvent` (Daeyeon Jeong) #43514
* http:
  * (SEMVER-MINOR) add drop request event for http server (theanarkh)
  #43806
* lib:
  * (SEMVER-MINOR) improved diagnostics_channel subscribe/unsubscribe
  (Stephen Belanger) #42714
* util:
  * (SEMVER-MINOR) add tokens to parseArgs (John Gee) #43459

PR-URL: #43993
  • Loading branch information
danielleadams committed Jul 26, 2022
1 parent a506aa7 commit 09c8df0
Show file tree
Hide file tree
Showing 10 changed files with 171 additions and 22 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_V18.md#18.6.0">18.6.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.7.0">18.7.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.6.0">18.6.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.5.0">18.5.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.4.0">18.4.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.3.0">18.3.0</a><br/>
Expand Down
2 changes: 1 addition & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -3149,7 +3149,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.
-->
Expand All @@ -3167,7 +3167,7 @@ thing instead.

<!-- YAML
changes:
- version: REPLACEME
- version: v18.7.0
pr-url: https://github.com/nodejs/node/pull/43738
description: Documentation-only deprecation.
-->
Expand Down
8 changes: 4 additions & 4 deletions doc/api/diagnostics_channel.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ const channel = diagnostics_channel.channel('my-channel');

<!-- YAML
added:
- REPLACEME
- v18.7.0
-->

* `name` {string|symbol} The channel name
Expand Down Expand Up @@ -183,7 +183,7 @@ diagnostics_channel.subscribe('my-channel', (message, name) => {

<!-- YAML
added:
- REPLACEME
- v18.7.0
-->

* `name` {string|symbol} The channel name
Expand Down Expand Up @@ -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)`][]
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -2003,7 +2003,7 @@ Instances are created internally by Node.js.
#### `event.detail`

<!-- YAML
added: REPLACEME
added: v18.7.0
-->

> Stability: 1 - Experimental.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,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
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -1409,7 +1409,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
Expand Down
18 changes: 9 additions & 9 deletions doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,12 +321,12 @@ internally.
<!-- YAML
added: v18.0.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/43505
description: Add a `timeout` option.
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/43554
description: Add a `signal` option.
- version: v18.7.0
pr-url: https://github.com/nodejs/node/pull/43505
description: Add a `timeout` option.
-->

* `name` {string} The name of the test, which is displayed when reporting test
Expand Down Expand Up @@ -501,7 +501,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
Expand Down Expand Up @@ -557,12 +557,12 @@ test('top level test', (t) => {
<!-- YAML
added: v18.0.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/43505
description: Add a `timeout` option.
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/43554
description: Add a `signal` option.
- version: v18.7.0
pr-url: https://github.com/nodejs/node/pull/43505
description: Add a `timeout` option.
-->

* `name` {string} The name of the subtest, which is displayed when reporting
Expand Down Expand Up @@ -610,7 +610,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
Expand All @@ -620,7 +620,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
Expand Down
2 changes: 1 addition & 1 deletion doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,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.
Expand Down
Loading

0 comments on commit 09c8df0

Please sign in to comment.