Skip to content

Commit

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

build:
  * sync libuv header change (Jiawen Geng) nodejs#48078
crypto:
  * update root certificates to NSS 3.93 (Node.js GitHub Bot) nodejs#49341
  * update root certificates to NSS 3.90 (Node.js GitHub Bot) nodejs#48416
deps:
  * add missing thread-common.c in uv.gyp (Santiago Gimeno) nodejs#48078
  * upgrade to libuv 1.46.0 (Santiago Gimeno) nodejs#48078
  * upgrade to libuv 1.45.0 (Santiago Gimeno) nodejs#48078
doc:
  * add atlowChemi to collaborators (atlowChemi) nodejs#48757
  * add vmoroz to collaborators (Vladimir Morozov) nodejs#48527
  * add kvakil to collaborators (Keyhan Vakil) nodejs#48449
esm:
  * (SEMVER-MINOR) add `--import` flag (Moshe Atlow) nodejs#43942
events:
  * (SEMVER-MINOR) allow safely adding listener to abortSignal (Chemi Atlow) nodejs#48596
fs, stream:
  * initial `Symbol.dispose` and `Symbol.asyncDispose` support (Moshe Atlow) nodejs#48518
net:
  * add autoSelectFamily global getter and setter (Paolo Insogna) nodejs#45777
url:
  * (SEMVER-MINOR) add value argument to has and delete methods (Sankalp Shubham) nodejs#47885

PR-URL: nodejs#49220
  • Loading branch information
ruyadorno authored and alexfernandez committed Nov 1, 2023
1 parent cd99710 commit 714f228
Show file tree
Hide file tree
Showing 12 changed files with 250 additions and 18 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ release.
<a href="doc/changelogs/CHANGELOG_V20.md#20.0.0">20.0.0</a><br/>
</td>
<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
4 changes: 3 additions & 1 deletion doc/api/child_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1405,7 +1405,9 @@ setTimeout(() => {
### `subprocess[Symbol.dispose]()`

<!-- YAML
added: v20.5.0
added:
- v20.5.0
- v18.18.0
-->

> Stability: 1 - Experimental
Expand Down
13 changes: 12 additions & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,15 @@ added: v6.0.0
Enable FIPS-compliant crypto at startup. (Requires Node.js to be built
against FIPS-compatible OpenSSL.)

### `--enable-network-family-autoselection`

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

Enables the family autoselection algorithm unless connection options explicitly
disables it.

### `--enable-source-maps`

<!-- YAML
Expand Down Expand Up @@ -924,7 +933,9 @@ Specify ICU data load path. (Overrides `NODE_ICU_DATA`.)
### `--import=module`

<!-- YAML
added: v19.0.0
added:
- v19.0.0
- v18.18.0
-->

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

<!-- YAML
added: v20.5.0
added:
- v20.5.0
- v18.18.0
-->

> Stability: 1 - Experimental
Expand Down
4 changes: 3 additions & 1 deletion doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -1806,7 +1806,9 @@ setMaxListeners(5, target, emitter);
## `events.addAbortListener(signal, listener)`

<!-- YAML
added: v20.5.0
added:
- v20.5.0
- v18.18.0
-->

> Stability: 1 - Experimental
Expand Down
4 changes: 3 additions & 1 deletion doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,9 @@ the end of the file.
#### `filehandle[Symbol.asyncDispose]()`
<!-- YAML
added: v20.4.0
added:
- v20.4.0
- v18.18.0
-->
> Stability: 1 - Experimental
Expand Down
8 changes: 6 additions & 2 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2843,7 +2843,9 @@ The JavaScript `string` type is described in
#### `node_api_create_external_string_latin1`

<!-- YAML
added: v20.4.0
added:
- v20.4.0
- v18.18.0
-->

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

<!-- YAML
added: v20.4.0
added:
- v20.4.0
- v18.18.0
-->

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

<!-- YAML
added: v20.5.0
added:
- v20.5.0
- v18.18.0
-->

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

<!-- YAML
added: v19.4.0
added:
- v19.4.0
- v18.18.0
-->

* {string\[]}
Expand Down Expand Up @@ -886,7 +890,9 @@ behavior.
<!-- YAML
added: v0.1.90
changes:
- version: v20.0.0
- version:
- v20.0.0
- v18.18.0
pr-url: https://github.com/nodejs/node/pull/46790
description: The default value for the autoSelectFamily option is now true.
The `--enable-network-family-autoselection` CLI flag has been renamed
Expand Down Expand Up @@ -1679,7 +1685,9 @@ Sets the default value of the `autoSelectFamily` option of [`socket.connect(opt
## `net.getDefaultAutoSelectFamilyAttemptTimeout()`

<!-- YAML
added: v19.8.0
added:
- v19.8.0
- v18.18.0
-->

Gets the current default value of the `autoSelectFamilyAttemptTimeout` option of [`socket.connect(options)`][].
Expand All @@ -1690,7 +1698,9 @@ The initial default value is `250`.
## `net.setDefaultAutoSelectFamilyAttemptTimeout(value)`

<!-- YAML
added: v19.8.0
added:
- v19.8.0
- v18.18.0
-->

Sets the default value of the `autoSelectFamilyAttemptTimeout` option of [`socket.connect(options)`][].
Expand Down
4 changes: 3 additions & 1 deletion doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -1907,7 +1907,9 @@ has less then 64 KiB of data because no `highWaterMark` option is provided to
##### `readable[Symbol.asyncDispose]()`

<!-- YAML
added: v20.4.0
added:
- v20.4.0
- v18.18.0
-->

> Stability: 1 - Experimental
Expand Down
8 changes: 6 additions & 2 deletions doc/api/timers.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ invoked. Calling `immediate.unref()` multiple times will have no effect.
### `immediate[Symbol.dispose]()`

<!-- YAML
added: v20.5.0
added:
- v20.5.0
- v18.18.0
-->

> Stability: 1 - Experimental
Expand Down Expand Up @@ -170,7 +172,9 @@ thread. This allows enhanced compatibility with browser
### `timeout[Symbol.dispose]()`

<!-- YAML
added: v20.5.0
added:
- v20.5.0
- v18.18.0
-->

> Stability: 1 - Experimental
Expand Down
8 changes: 6 additions & 2 deletions doc/api/url.md
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,9 @@ Append a new name-value pair to the query string.

<!-- YAML
changes:
- version: v20.2.0
- version:
- v20.2.0
- v18.18.0
pr-url: https://github.com/nodejs/node/pull/47885
description: Add support for optional `value` argument.
-->
Expand Down Expand Up @@ -937,7 +939,9 @@ no such pairs, an empty array is returned.

<!-- YAML
changes:
- version: v20.2.0
- version:
- v20.2.0
- v18.18.0
pr-url: https://github.com/nodejs/node/pull/47885
description: Add support for optional `value` argument.
-->
Expand Down
Loading

0 comments on commit 714f228

Please sign in to comment.