Skip to content

Commit 78ab0ee

Browse files
committed
2023-09-18, Version 18.18.0 'Hydrogen' (LTS)
Notable changes: build: * sync libuv header change (Jiawen Geng) #48078 crypto: * update root certificates to NSS 3.93 (Node.js GitHub Bot) #49341 * update root certificates to NSS 3.90 (Node.js GitHub Bot) #48416 deps: * add missing thread-common.c in uv.gyp (Santiago Gimeno) #48078 * upgrade to libuv 1.46.0 (Santiago Gimeno) #48078 * upgrade to libuv 1.45.0 (Santiago Gimeno) #48078 doc: * add atlowChemi to collaborators (atlowChemi) #48757 * 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 fs, stream: * initial `Symbol.dispose` and `Symbol.asyncDispose` support (Moshe Atlow) #48518 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
1 parent 9322bcd commit 78ab0ee

12 files changed

+250
-18
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ release.
4747
<a href="doc/changelogs/CHANGELOG_V20.md#20.0.0">20.0.0</a><br/>
4848
</td>
4949
<td valign="top">
50-
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.17.1">18.17.1</a></b><br/>
50+
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.18.0">18.18.0</a></b><br/>
51+
<a href="doc/changelogs/CHANGELOG_V18.md#18.17.1">18.17.1</a><br/>
5152
<a href="doc/changelogs/CHANGELOG_V18.md#18.17.0">18.17.0</a><br/>
5253
<a href="doc/changelogs/CHANGELOG_V18.md#18.16.1">18.16.1</a><br/>
5354
<a href="doc/changelogs/CHANGELOG_V18.md#18.16.0">18.16.0</a><br/>

doc/api/child_process.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,9 @@ setTimeout(() => {
14051405
### `subprocess[Symbol.dispose]()`
14061406

14071407
<!-- YAML
1408-
added: v20.5.0
1408+
added:
1409+
- v20.5.0
1410+
- v18.18.0
14091411
-->
14101412

14111413
> Stability: 1 - Experimental

doc/api/cli.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,15 @@ added: v6.0.0
492492
Enable FIPS-compliant crypto at startup. (Requires Node.js to be built
493493
against FIPS-compatible OpenSSL.)
494494

495+
### `--enable-network-family-autoselection`
496+
497+
<!-- YAML
498+
added: v18.18.0
499+
-->
500+
501+
Enables the family autoselection algorithm unless connection options explicitly
502+
disables it.
503+
495504
### `--enable-source-maps`
496505

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

926935
<!-- YAML
927-
added: v19.0.0
936+
added:
937+
- v19.0.0
938+
- v18.18.0
928939
-->
929940

930941
> Stability: 1 - Experimental

doc/api/dgram.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,9 @@ provided, it is added as a listener for the [`'close'`][] event.
375375
### `socket[Symbol.asyncDispose]()`
376376

377377
<!-- YAML
378-
added: v20.5.0
378+
added:
379+
- v20.5.0
380+
- v18.18.0
379381
-->
380382

381383
> Stability: 1 - Experimental

doc/api/events.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1806,7 +1806,9 @@ setMaxListeners(5, target, emitter);
18061806
## `events.addAbortListener(signal, listener)`
18071807

18081808
<!-- YAML
1809-
added: v20.5.0
1809+
added:
1810+
- v20.5.0
1811+
- v18.18.0
18101812
-->
18111813

18121814
> Stability: 1 - Experimental

doc/api/fs.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,9 @@ the end of the file.
823823
#### `filehandle[Symbol.asyncDispose]()`
824824
825825
<!-- YAML
826-
added: v20.4.0
826+
added:
827+
- v20.4.0
828+
- v18.18.0
827829
-->
828830
829831
> Stability: 1 - Experimental

doc/api/n-api.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -2843,7 +2843,9 @@ The JavaScript `string` type is described in
28432843
#### `node_api_create_external_string_latin1`
28442844

28452845
<!-- YAML
2846-
added: v20.4.0
2846+
added:
2847+
- v20.4.0
2848+
- v18.18.0
28472849
-->
28482850

28492851
> Stability: 1 - Experimental
@@ -2921,7 +2923,9 @@ The JavaScript `string` type is described in
29212923
#### `node_api_create_external_string_utf16`
29222924

29232925
<!-- YAML
2924-
added: v20.4.0
2926+
added:
2927+
- v20.4.0
2928+
- v18.18.0
29252929
-->
29262930

29272931
> Stability: 1 - Experimental

doc/api/net.md

+15-5
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,9 @@ was not open when it was closed.
360360
### `server[Symbol.asyncDispose]()`
361361

362362
<!-- YAML
363-
added: v20.5.0
363+
added:
364+
- v20.5.0
365+
- v18.18.0
364366
-->
365367

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

801803
<!-- YAML
802-
added: v19.4.0
804+
added:
805+
- v19.4.0
806+
- v18.18.0
803807
-->
804808

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

16811687
<!-- YAML
1682-
added: v19.8.0
1688+
added:
1689+
- v19.8.0
1690+
- v18.18.0
16831691
-->
16841692

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

16921700
<!-- YAML
1693-
added: v19.8.0
1701+
added:
1702+
- v19.8.0
1703+
- v18.18.0
16941704
-->
16951705

16961706
Sets the default value of the `autoSelectFamilyAttemptTimeout` option of [`socket.connect(options)`][].

doc/api/stream.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1907,7 +1907,9 @@ has less then 64 KiB of data because no `highWaterMark` option is provided to
19071907
##### `readable[Symbol.asyncDispose]()`
19081908

19091909
<!-- YAML
1910-
added: v20.4.0
1910+
added:
1911+
- v20.4.0
1912+
- v18.18.0
19111913
-->
19121914

19131915
> Stability: 1 - Experimental

doc/api/timers.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ invoked. Calling `immediate.unref()` multiple times will have no effect.
6666
### `immediate[Symbol.dispose]()`
6767

6868
<!-- YAML
69-
added: v20.5.0
69+
added:
70+
- v20.5.0
71+
- v18.18.0
7072
-->
7173

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

172174
<!-- YAML
173-
added: v20.5.0
175+
added:
176+
- v20.5.0
177+
- v18.18.0
174178
-->
175179

176180
> Stability: 1 - Experimental

doc/api/url.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,9 @@ Append a new name-value pair to the query string.
867867

868868
<!-- YAML
869869
changes:
870-
- version: v20.2.0
870+
- version:
871+
- v20.2.0
872+
- v18.18.0
871873
pr-url: https://github.com/nodejs/node/pull/47885
872874
description: Add support for optional `value` argument.
873875
-->
@@ -937,7 +939,9 @@ no such pairs, an empty array is returned.
937939

938940
<!-- YAML
939941
changes:
940-
- version: v20.2.0
942+
- version:
943+
- v20.2.0
944+
- v18.18.0
941945
pr-url: https://github.com/nodejs/node/pull/47885
942946
description: Add support for optional `value` argument.
943947
-->

0 commit comments

Comments
 (0)