Skip to content

Commit 8787acb

Browse files
committed
2023-11-29, Version 18.19.0 'Hydrogen' (LTS)
Notable changes: deps: * (SEMVER-MINOR) update uvwasi to 0.0.19 (Node.js GitHub Bot) #49908 * (SEMVER-MINOR) upgrade npm to 10.2.3 (npm team) #50531 doc: * move and rename loaders section (Geoffrey Booth) #49261 esm: * use import attributes instead of import assertions (Antoine du Hamel) #50140 * --experimental-default-type flag to flip module defaults (Geoffrey Booth) #49869 * unflag import.meta.resolve (Guy Bedford) #49028 * move hook execution to separate thread (Jacob Smith) #44710 * leverage loaders when resolving subsequent loaders (Maël Nison) #43772 lib: * (SEMVER-MINOR) add api to detect whether source-maps are enabled (翠 / green) #46391 * (SEMVER-MINOR) add tracing channel to diagnostics_channel (Stephen Belanger) #44943 src: * (SEMVER-MINOR) add cjs_module_lexer_version base64_version (Jithil P Ponnan) #45629 stream: * use bitmap in readable state (Benjamin Gruenbaum) #49745 test_runner: * (SEMVER-MINOR) accept `testOnly` in `run` (Moshe Atlow) #49753 * (SEMVER-MINOR) add junit reporter (Moshe Atlow) #49614 * (SEMVER-MINOR) expose location of tests (Colin Ihrig) #48975 * (SEMVER-MINOR) add shards support (Raz Luvaton) #48639 * (SEMVER-MINOR) add initial draft for fakeTimers (Erick Wendel) #47775 test_runner, cli: * (SEMVER-MINOR) add --test-concurrency flag (Colin Ihrig) #49996 tls: * (SEMVER-MINOR) add ALPNCallback server option for dynamic ALPN negotiation (Tim Perry) #45190 vm: * (SEMVER-MINOR) use import attributes instead of import assertions (Antoine du Hamel) #50141 PR-URL: #50953
1 parent fe98734 commit 8787acb

14 files changed

+536
-18
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ release.
5858
<a href="doc/changelogs/CHANGELOG_V20.md#20.0.0">20.0.0</a><br/>
5959
</td>
6060
<td valign="top">
61-
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.18.2">18.18.2</a></b><br/>
61+
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.19.0">18.19.0</a></b><br/>
62+
<a href="doc/changelogs/CHANGELOG_V18.md#18.18.2">18.18.2</a><br/>
6263
<a href="doc/changelogs/CHANGELOG_V18.md#18.18.1">18.18.1</a><br/>
6364
<a href="doc/changelogs/CHANGELOG_V18.md#18.18.0">18.18.0</a><br/>
6465
<a href="doc/changelogs/CHANGELOG_V18.md#18.17.1">18.17.1</a><br/>

doc/api/cli.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,7 @@ and `"` are usable.
647647
added:
648648
- v21.0.0
649649
- v20.10.0
650+
- v18.19.0
650651
-->
651652

652653
> Stability: 1.0 - Early development
@@ -706,7 +707,9 @@ added:
706707
- v13.9.0
707708
- v12.16.2
708709
changes:
709-
- version: v20.6.0
710+
- version:
711+
- v20.6.0
712+
- v18.19.0
710713
pr-url: https://github.com/nodejs/node/pull/49028
711714
description: synchronous import.meta.resolve made available by default, with
712715
the flag retained for enabling the experimental second argument
@@ -1753,6 +1756,7 @@ for more details.
17531756
added:
17541757
- v21.0.0
17551758
- v20.10.0
1759+
- v18.19.0
17561760
-->
17571761

17581762
The maximum number of test files that the test runner CLI will execute
@@ -1820,7 +1824,9 @@ The destination for the corresponding test reporter. See the documentation on
18201824
### `--test-shard`
18211825

18221826
<!-- YAML
1823-
added: v20.5.0
1827+
added:
1828+
- v20.5.0
1829+
- v18.19.0
18241830
-->
18251831

18261832
Test suite shard to execute in a format of `<index>/<total>`, where

doc/api/diagnostics_channel.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ diagnostics_channel.unsubscribe('my-channel', onMessage);
236236
<!-- YAML
237237
added:
238238
- v19.9.0
239+
- v18.19.0
239240
-->
240241

241242
> Stability: 1 - Experimental
@@ -466,6 +467,7 @@ channel.unsubscribe(onMessage);
466467
<!-- YAML
467468
added:
468469
- v19.9.0
470+
- v18.19.0
469471
-->
470472

471473
> Stability: 1 - Experimental
@@ -510,6 +512,7 @@ channel.bindStore(store, (data) => {
510512
<!-- YAML
511513
added:
512514
- v19.9.0
515+
- v18.19.0
513516
-->
514517

515518
> Stability: 1 - Experimental
@@ -549,6 +552,7 @@ channel.unbindStore(store);
549552
<!-- YAML
550553
added:
551554
- v19.9.0
555+
- v18.19.0
552556
-->
553557

554558
> Stability: 1 - Experimental
@@ -610,6 +614,7 @@ channel.runStores({ some: 'message' }, () => {
610614
<!-- YAML
611615
added:
612616
- v19.9.0
617+
- v18.19.0
613618
-->
614619

615620
> Stability: 1 - Experimental
@@ -627,6 +632,7 @@ dynamically.
627632
<!-- YAML
628633
added:
629634
- v19.9.0
635+
- v18.19.0
630636
-->
631637

632638
> Stability: 1 - Experimental
@@ -695,6 +701,7 @@ channels.subscribe({
695701
<!-- YAML
696702
added:
697703
- v19.9.0
704+
- v18.19.0
698705
-->
699706

700707
> Stability: 1 - Experimental
@@ -765,6 +772,7 @@ channels.unsubscribe({
765772
<!-- YAML
766773
added:
767774
- v19.9.0
775+
- v18.19.0
768776
-->
769777

770778
> Stability: 1 - Experimental
@@ -810,6 +818,7 @@ channels.traceSync(() => {
810818
<!-- YAML
811819
added:
812820
- v19.9.0
821+
- v18.19.0
813822
-->
814823

815824
> Stability: 1 - Experimental
@@ -858,6 +867,7 @@ channels.tracePromise(async () => {
858867
<!-- YAML
859868
added:
860869
- v19.9.0
870+
- v18.19.0
861871
-->
862872

863873
> Stability: 1 - Experimental

doc/api/errors.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1780,6 +1780,7 @@ An import attribute is missing, preventing the specified module to be imported.
17801780
added:
17811781
- v21.0.0
17821782
- v20.10.0
1783+
- v18.19.0
17831784
-->
17841785

17851786
An import attribute is not supported by this version of Node.js.

doc/api/esm.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ changes:
1212
- v20.10.0
1313
pr-url: https://github.com/nodejs/node/pull/50140
1414
description: Add experimental support for import attributes.
15-
- version: v20.0.0
15+
- version:
16+
- v20.0.0
17+
- v18.19.0
1618
pr-url: https://github.com/nodejs/node/pull/44710
1719
description: Module customization hooks are executed off the main thread.
1820
- version:
@@ -262,6 +264,7 @@ changes:
262264
- version:
263265
- v21.0.0
264266
- v20.10.0
267+
- v18.19.0
265268
pr-url: https://github.com/nodejs/node/pull/50140
266269
description: Switch from Import Assertions to Import Attributes.
267270
-->
@@ -386,15 +389,21 @@ added:
386389
- v13.9.0
387390
- v12.16.2
388391
changes:
389-
- version: v20.6.0
392+
- version:
393+
- v20.6.0
394+
- v18.19.0
390395
pr-url: https://github.com/nodejs/node/pull/49028
391396
description: Unflag `import.meta.resolve``, with `parentURL` parameter still
392397
flagged.
393-
- version: v20.6.0
398+
- version:
399+
- v20.6.0
400+
- v18.19.0
394401
pr-url: https://github.com/nodejs/node/pull/49038
395402
description: This API no longer throws when targeting `file:` URLs that do
396403
not map to an existing file on the local FS.
397-
- version: v20.0.0
404+
- version:
405+
- v20.0.0
406+
- v18.19.0
398407
pr-url: https://github.com/nodejs/node/pull/44710
399408
description: This API now returns a string synchronously instead of a Promise.
400409
- version:

doc/api/fs.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,9 @@ makeDirectory().catch(console.error);
12041204
<!-- YAML
12051205
added: v10.0.0
12061206
changes:
1207-
- version: v20.6.0
1207+
- version:
1208+
- v20.6.0
1209+
- v18.19.0
12081210
pr-url: https://github.com/nodejs/node/pull/48828
12091211
description: The `prefix` parameter now accepts buffers and URL.
12101212
- version:
@@ -3328,7 +3330,9 @@ See the POSIX mkdir(2) documentation for more details.
33283330
<!-- YAML
33293331
added: v5.10.0
33303332
changes:
3331-
- version: v20.6.0
3333+
- version:
3334+
- v20.6.0
3335+
- v18.19.0
33323336
pr-url: https://github.com/nodejs/node/pull/48828
33333337
description: The `prefix` parameter now accepts buffers and URL.
33343338
- version: v18.0.0
@@ -5661,7 +5665,9 @@ See the POSIX mkdir(2) documentation for more details.
56615665
<!-- YAML
56625666
added: v5.10.0
56635667
changes:
5664-
- version: v20.6.0
5668+
- version:
5669+
- v20.6.0
5670+
- v18.19.0
56655671
pr-url: https://github.com/nodejs/node/pull/48828
56665672
description: The `prefix` parameter now accepts buffers and URL.
56675673
- version:

doc/api/module.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,13 @@ isBuiltin('wss'); // false
8383
### `module.register(specifier[, parentURL][, options])`
8484
8585
<!-- YAML
86-
added: v20.6.0
86+
added:
87+
- v20.6.0
88+
- v18.19.0
8789
changes:
88-
- version: v20.8.0
90+
- version:
91+
- v20.8.0
92+
- v18.19.0
8993
pr-url: https://github.com/nodejs/node/pull/49655
9094
description: Add support for WHATWG URL instances.
9195
-->
@@ -153,7 +157,9 @@ import('node:fs').then((esmFS) => {
153157
<!-- YAML
154158
added: v8.8.0
155159
changes:
156-
- version: v20.6.0
160+
- version:
161+
- v20.6.0
162+
- v18.19.0
157163
pr-url: https://github.com/nodejs/node/pull/48842
158164
description: Added `initialize` hook to replace `globalPreload`.
159165
- version:
@@ -383,7 +389,9 @@ asynchronous operations (like `console.log`) to complete.
383389
#### `initialize()`
384390
385391
<!-- YAML
386-
added: v20.6.0
392+
added:
393+
- v20.6.0
394+
- v18.19.0
387395
-->
388396
389397
> Stability: 1.2 - Release candidate
@@ -461,6 +469,7 @@ changes:
461469
- version:
462470
- v21.0.0
463471
- v20.10.0
472+
- v18.19.0
464473
pr-url: https://github.com/nodejs/node/pull/50140
465474
description: The property `context.importAssertions` is replaced with
466475
`context.importAttributes`. Using the old name is still

doc/api/n-api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5455,6 +5455,7 @@ required in order to enable correct disposal of the reference.
54555455
added:
54565456
- v21.0.0
54575457
- v20.10.0
5458+
- v18.19.0
54585459
-->
54595460

54605461
> Stability: 1 - Experimental

doc/api/process.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3523,7 +3523,9 @@ Using this function is mutually exclusive with using the deprecated
35233523
## `process.sourceMapsEnabled`
35243524
35253525
<!-- YAML
3526-
added: v20.7.0
3526+
added:
3527+
- v20.7.0
3528+
- v18.19.0
35273529
-->
35283530
35293531
> Stability: 1 - Experimental

doc/api/stream.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2015,7 +2015,9 @@ added:
20152015
- v17.4.0
20162016
- v16.14.0
20172017
changes:
2018-
- version: v20.7.0
2018+
- version:
2019+
- v20.7.0
2020+
- v18.19.0
20192021
pr-url: https://github.com/nodejs/node/pull/49249
20202022
description: added `highWaterMark` in options.
20212023
-->
@@ -2068,7 +2070,9 @@ added:
20682070
- v17.4.0
20692071
- v16.14.0
20702072
changes:
2071-
- version: v20.7.0
2073+
- version:
2074+
- v20.7.0
2075+
- v18.19.0
20722076
pr-url: https://github.com/nodejs/node/pull/49249
20732077
description: added `highWaterMark` in options.
20742078
-->

doc/api/test.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1803,6 +1803,7 @@ set to `true`.
18031803
<!-- YAML
18041804
added:
18051805
- v20.4.0
1806+
- v18.19.0
18061807
-->
18071808

18081809
> Stability: 1 - Experimental
@@ -1821,6 +1822,7 @@ which is a `MockTimers` instance.
18211822
<!-- YAML
18221823
added:
18231824
- v20.4.0
1825+
- v18.19.0
18241826
changes:
18251827
- version: v21.2.0
18261828
pr-url: https://github.com/nodejs/node/pull/48638
@@ -1901,6 +1903,7 @@ and `globalThis` will be mocked. As well as the global `Date` object.
19011903
<!-- YAML
19021904
added:
19031905
- v20.4.0
1906+
- v18.19.0
19041907
-->
19051908

19061909
This function restores the default behavior of all mocks that were previously
@@ -1929,6 +1932,7 @@ Calls `timers.reset()`.
19291932
<!-- YAML
19301933
added:
19311934
- v20.4.0
1935+
- v18.19.0
19321936
-->
19331937

19341938
Advances time for all mocked timers.
@@ -2245,6 +2249,7 @@ test('should tick five times testing a real use case', async (context) => {
22452249
<!-- YAML
22462250
added:
22472251
- v20.4.0
2252+
- v18.19.0
22482253
-->
22492254

22502255
Triggers all pending mocked timers immediately. If the `Date` object is also

doc/api/tls.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2047,7 +2047,9 @@ where `secureSocket` has the same API as `pair.cleartext`.
20472047
<!-- YAML
20482048
added: v0.3.2
20492049
changes:
2050-
- version: v20.4.0
2050+
- version:
2051+
- v20.4.0
2052+
- v18.19.0
20512053
pr-url: https://github.com/nodejs/node/pull/45190
20522054
description: The `options` parameter can now include `ALPNCallback`.
20532055
- version: v19.0.0

doc/api/vm.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,7 @@ changes:
622622
- version:
623623
- v21.1.0
624624
- v20.10.0
625+
- v18.19.0
625626
pr-url: https://github.com/nodejs/node/pull/50141
626627
description: The option `extra.assert` is renamed to `extra.attributes`. The
627628
former name is still provided for backward compatibility.

0 commit comments

Comments
 (0)