Skip to content

Commit

Permalink
2023-09-14, Version 18.18.0 'Hydrogen' (LTS)
Browse files Browse the repository at this point in the history
Notable changes:

crypto:
  * update root certificates to NSS 3.90 (Node.js GitHub Bot) #48416
doc:
  * add vmoroz to collaborators (Vladimir Morozov) #48527
  * add kvakil to collaborators (Keyhan Vakil) #48449
esm:
  * (SEMVER-MINOR) add `--import` flag (Moshe Atlow) #43942
events:
  * (SEMVER-MINOR) allow safely adding listener to abortSignal (Chemi Atlow) #48596
net:
  * add autoSelectFamily global getter and setter (Paolo Insogna) #45777
url:
  * (SEMVER-MINOR) add value argument to has and delete methods (Sankalp Shubham) #47885

PR-URL: #49220
  • Loading branch information
ruyadorno committed Sep 11, 2023
1 parent 404f3ab commit 1186fdb
Show file tree
Hide file tree
Showing 13 changed files with 185 additions and 21 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.17.1">18.17.1</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.18.0">18.18.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.17.1">18.17.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.17.0">18.17.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.16.1">18.16.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.16.0">18.16.0</a><br/>
Expand Down
2 changes: 1 addition & 1 deletion doc/api/child_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1405,7 +1405,7 @@ setTimeout(() => {
### `subprocess[Symbol.dispose]()`

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

> Stability: 1 - Experimental
Expand Down
4 changes: 2 additions & 2 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ against FIPS-compatible OpenSSL.)
### `--enable-network-family-autoselection`

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

Enables the family autoselection algorithm unless connection options explicitly
Expand Down Expand Up @@ -683,7 +683,7 @@ Specify ICU data load path. (Overrides `NODE_ICU_DATA`.)
### `--import=module`

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

> Stability: 1 - Experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/dgram.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ provided, it is added as a listener for the [`'close'`][] event.
### `socket[Symbol.asyncDispose]()`

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

> Stability: 1 - Experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -1802,7 +1802,7 @@ setMaxListeners(5, target, emitter);
## `events.addAbortListener(signal, resource)`

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

> Stability: 1 - Experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -1655,7 +1655,7 @@ affects new connections to the server, not any existing connections.
### `server[Symbol.asyncDispose]()`

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

> Stability: 1 - Experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2073,7 +2073,7 @@ closed, although the server has already stopped allowing new sessions. See
#### `server[Symbol.asyncDispose]()`

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

> Stability: 1 - Experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/https.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ See [`server.close()`][] in the `node:http` module.
### `server[Symbol.asyncDispose]()`

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

> Stability: 1 - Experimental
Expand Down
4 changes: 2 additions & 2 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2890,7 +2890,7 @@ The JavaScript `string` type is described in
#### `node_api_create_external_string_latin1`

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

> Stability: 1 - Experimental
Expand Down Expand Up @@ -2968,7 +2968,7 @@ The JavaScript `string` type is described in
#### `node_api_create_external_string_utf16`

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

> Stability: 1 - Experimental
Expand Down
10 changes: 5 additions & 5 deletions doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ was not open when it was closed.
### `server[Symbol.asyncDispose]()`

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

> Stability: 1 - Experimental
Expand Down Expand Up @@ -792,7 +792,7 @@ socket as reported by the operating system:
### `socket.autoSelectFamilyAttemptedAddresses`

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

* {string\[]}
Expand Down Expand Up @@ -879,7 +879,7 @@ behavior.
<!-- YAML
added: v0.1.90
changes:
- version: REPLACEME
- version: v18.18.0
pr-url: https://github.com/nodejs/node/pull/45777

Check warning on line 883 in doc/api/net.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: The default value for autoSelectFamily option can be changed
at runtime using `setDefaultAutoSelectFamily` or via the
Expand Down Expand Up @@ -1654,7 +1654,7 @@ Sets the default value of the `autoSelectFamily` option of [`socket.connect(opt
## `net.getDefaultAutoSelectFamilyAttemptTimeout()`

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

Gets the current default value of the `autoSelectFamilyAttemptTimeout` option of [`socket.connect(options)`][].
Expand All @@ -1664,7 +1664,7 @@ Gets the current default value of the `autoSelectFamilyAttemptTimeout` option o
## `net.setDefaultAutoSelectFamilyAttemptTimeout(value)`

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

Sets the default value of the `autoSelectFamilyAttemptTimeout` option of [`socket.connect(options)`][].
Expand Down
4 changes: 2 additions & 2 deletions doc/api/url.md
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ Append a new name-value pair to the query string.

<!-- YAML
changes:
- version: REPLACEME
- version: v18.18.0
pr-url: https://github.com/nodejs/node/pull/47885

Check warning on line 867 in doc/api/url.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Add support for optional `value` argument.
-->
Expand Down Expand Up @@ -933,7 +933,7 @@ no such pairs, an empty array is returned.

<!-- YAML
changes:
- version: REPLACEME
- version: v18.18.0
pr-url: https://github.com/nodejs/node/pull/47885

Check warning on line 937 in doc/api/url.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Add support for optional `value` argument.
-->
Expand Down
163 changes: 163 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 17
#define NODE_PATCH_VERSION 2
#define NODE_MINOR_VERSION 18
#define NODE_PATCH_VERSION 0

#define NODE_VERSION_IS_LTS 1
#define NODE_VERSION_LTS_CODENAME "Hydrogen"

#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 1186fdb

Please sign in to comment.