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 1f80b88 commit 4494954
Show file tree
Hide file tree
Showing 11 changed files with 170 additions and 21 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 @@ -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.
-->
Expand All @@ -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.
-->
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 @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
-->
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
-->
Expand Down Expand Up @@ -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
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
148 changes: 148 additions & 0 deletions doc/changelogs/CHANGELOG_V18.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/node_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
#define SRC_NODE_VERSION_H_

#define NODE_MAJOR_VERSION 18
#define NODE_MINOR_VERSION 6
#define NODE_PATCH_VERSION 1
#define NODE_MINOR_VERSION 7
#define NODE_PATCH_VERSION 0

#define NODE_VERSION_IS_LTS 0
#define NODE_VERSION_LTS_CODENAME ""

#define NODE_VERSION_IS_RELEASE 0
#define NODE_VERSION_IS_RELEASE 1

#ifndef NODE_STRINGIFY
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
Expand Down

0 comments on commit 4494954

Please sign in to comment.