Skip to content

Commit 9d87f0b

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

15 files changed

+504
-42
lines changed

graal-nodejs/CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ release.
3232
</tr>
3333
<tr>
3434
<td valign="top">
35-
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.18.2">18.18.2</a></b><br/>
35+
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.19.0">18.19.0</a></b><br/>
36+
<a href="doc/changelogs/CHANGELOG_V18.md#18.18.2">18.18.2</a><br/>
3637
<a href="doc/changelogs/CHANGELOG_V18.md#18.18.1">18.18.1</a><br/>
3738
<a href="doc/changelogs/CHANGELOG_V18.md#18.18.0">18.18.0</a><br/>
3839
<a href="doc/changelogs/CHANGELOG_V18.md#18.17.1">18.17.1</a><br/>

graal-nodejs/doc/api/cli.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ Expose the [Web Crypto API][] on the global scope.
373373

374374
<!-- YAML
375375
added:
376-
- REPLACEME
376+
- v18.19.0
377377
-->
378378

379379
> Stability: 1.0 - Early development
@@ -406,7 +406,7 @@ added:
406406
- v13.9.0
407407
- v12.16.2
408408
changes:
409-
- version: REPLACEME
409+
- version: v18.19.0
410410
pr-url: https://github.com/nodejs/node/pull/49028
411411
description: synchronous import.meta.resolve made available by default, with
412412
the flag retained for enabling the experimental second argument
@@ -1301,7 +1301,7 @@ for more details.
13011301
### `--test-concurrency`
13021302

13031303
<!-- YAML
1304-
added: REPLACEME
1304+
added: v18.19.0
13051305
-->
13061306

13071307
The maximum number of test files that the test runner CLI will execute
@@ -1347,7 +1347,7 @@ option set.
13471347
### `--test-shard`
13481348

13491349
<!-- YAML
1350-
added: REPLACEME
1350+
added: v18.19.0
13511351
-->
13521352

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

graal-nodejs/doc/api/diagnostics_channel.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ diagnostics_channel.unsubscribe('my-channel', onMessage);
231231

232232
<!-- YAML
233233
added:
234-
- REPLACEME
234+
- v18.19.0
235235
-->
236236

237237
> Stability: 1 - Experimental
@@ -457,7 +457,7 @@ channel.unsubscribe(onMessage);
457457

458458
<!-- YAML
459459
added:
460-
- REPLACEME
460+
- v18.19.0
461461
-->
462462

463463
> Stability: 1 - Experimental
@@ -501,7 +501,7 @@ channel.bindStore(store, (data) => {
501501

502502
<!-- YAML
503503
added:
504-
- REPLACEME
504+
- v18.19.0
505505
-->
506506

507507
> Stability: 1 - Experimental
@@ -540,7 +540,7 @@ channel.unbindStore(store);
540540

541541
<!-- YAML
542542
added:
543-
- REPLACEME
543+
- v18.19.0
544544
-->
545545

546546
> Stability: 1 - Experimental
@@ -601,7 +601,7 @@ channel.runStores({ some: 'message' }, () => {
601601

602602
<!-- YAML
603603
added:
604-
- REPLACEME
604+
- v18.19.0
605605
-->
606606

607607
> Stability: 1 - Experimental
@@ -618,7 +618,7 @@ dynamically.
618618

619619
<!-- YAML
620620
added:
621-
- REPLACEME
621+
- v18.19.0
622622
-->
623623

624624
> Stability: 1 - Experimental
@@ -686,7 +686,7 @@ channels.subscribe({
686686

687687
<!-- YAML
688688
added:
689-
- REPLACEME
689+
- v18.19.0
690690
-->
691691

692692
> Stability: 1 - Experimental
@@ -756,7 +756,7 @@ channels.unsubscribe({
756756

757757
<!-- YAML
758758
added:
759-
- REPLACEME
759+
- v18.19.0
760760
-->
761761

762762
> Stability: 1 - Experimental
@@ -801,7 +801,7 @@ channels.traceSync(() => {
801801

802802
<!-- YAML
803803
added:
804-
- REPLACEME
804+
- v18.19.0
805805
-->
806806

807807
> Stability: 1 - Experimental
@@ -849,7 +849,7 @@ channels.tracePromise(async () => {
849849

850850
<!-- YAML
851851
added:
852-
- REPLACEME
852+
- v18.19.0
853853
-->
854854

855855
> Stability: 1 - Experimental

graal-nodejs/doc/api/errors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1794,7 +1794,7 @@ An import attribute is not supported by this version of Node.js.
17941794
### `ERR_IMPORT_ATTRIBUTE_UNSUPPORTED`
17951795

17961796
<!-- YAML
1797-
added: REPLACEME
1797+
added: v18.19.0
17981798
-->
17991799

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

graal-nodejs/doc/api/esm.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<!-- YAML
88
added: v8.5.0
99
changes:
10-
- version: REPLACEME
10+
- version: v18.19.0
1111
pr-url: https://github.com/nodejs/node/pull/44710
1212
description: Module customization hooks are executed off the main thread.
1313
- version:
@@ -243,7 +243,7 @@ added:
243243
- v17.1.0
244244
- v16.14.0
245245
changes:
246-
- version: REPLACEME
246+
- version: v18.19.0
247247
pr-url: https://github.com/nodejs/node/pull/50140
248248
description: Switch from Import Assertions to Import Attributes.
249249
-->
@@ -340,15 +340,15 @@ added:
340340
- v13.9.0
341341
- v12.16.2
342342
changes:
343-
- version: REPLACEME
343+
- version: v18.19.0
344344
pr-url: https://github.com/nodejs/node/pull/49028
345345
description: Unflag `import.meta.resolve``, with `parentURL` parameter still
346346
flagged.
347-
- version: REPLACEME
347+
- version: v18.19.0
348348
pr-url: https://github.com/nodejs/node/pull/49038
349349
description: This API no longer throws when targeting `file:` URLs that do
350350
not map to an existing file on the local FS.
351-
- version: REPLACEME
351+
- version: v18.19.0
352352
pr-url: https://github.com/nodejs/node/pull/44710
353353
description: This API now returns a string synchronously instead of a Promise.
354354
- version:

graal-nodejs/doc/api/fs.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,7 @@ makeDirectory().catch(console.error);
11541154
<!-- YAML
11551155
added: v10.0.0
11561156
changes:
1157-
- version: REPLACEME
1157+
- version: v18.19.0
11581158
pr-url: https://github.com/nodejs/node/pull/48828
11591159
description: The `prefix` parameter now accepts buffers and URL.
11601160
- version:
@@ -3230,7 +3230,7 @@ See the POSIX mkdir(2) documentation for more details.
32303230
<!-- YAML
32313231
added: v5.10.0
32323232
changes:
3233-
- version: REPLACEME
3233+
- version: v18.19.0
32343234
pr-url: https://github.com/nodejs/node/pull/48828
32353235
description: The `prefix` parameter now accepts buffers and URL.
32363236
- version: v18.0.0
@@ -5487,7 +5487,7 @@ See the POSIX mkdir(2) documentation for more details.
54875487
<!-- YAML
54885488
added: v5.10.0
54895489
changes:
5490-
- version: REPLACEME
5490+
- version: v18.19.0
54915491
pr-url: https://github.com/nodejs/node/pull/48828
54925492
description: The `prefix` parameter now accepts buffers and URL.
54935493
- version:

graal-nodejs/doc/api/module.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ isBuiltin('wss'); // false
8181
### `module.register(specifier[, parentURL][, options])`
8282
8383
<!-- YAML
84-
added: REPLACEME
84+
added: v18.19.0
8585
changes:
86-
- version: REPLACEME
86+
- version: v18.19.0
8787
pr-url: https://github.com/nodejs/node/pull/49655
8888
description: Add support for WHATWG URL instances.
8989
-->
@@ -151,7 +151,7 @@ import('node:fs').then((esmFS) => {
151151
<!-- YAML
152152
added: v8.8.0
153153
changes:
154-
- version: REPLACEME
154+
- version: v18.19.0
155155
pr-url: https://github.com/nodejs/node/pull/48842
156156
description: Added `initialize` hook to replace `globalPreload`.
157157
- version:
@@ -381,7 +381,7 @@ asynchronous operations (like `console.log`) to complete.
381381
#### `initialize()`
382382
383383
<!-- YAML
384-
added: REPLACEME
384+
added: v18.19.0
385385
-->
386386
387387
> Stability: 1.1 - Active development
@@ -456,7 +456,7 @@ register('./path-to-my-hooks.js', {
456456
457457
<!-- YAML
458458
changes:
459-
- version: REPLACEME
459+
- version: v18.19.0
460460
pr-url: https://github.com/nodejs/node/pull/50140
461461
description: The property `context.importAssertions` is replaced with
462462
`context.importAttributes`. Using the old name is still

graal-nodejs/doc/api/n-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5423,7 +5423,7 @@ required in order to enable correct disposal of the reference.
54235423
#### `node_api_post_finalizer`
54245424

54255425
<!-- YAML
5426-
added: REPLACEME
5426+
added: v18.19.0
54275427
-->
54285428

54295429
> Stability: 1 - Experimental

graal-nodejs/doc/api/process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3463,7 +3463,7 @@ Using this function is mutually exclusive with using the deprecated
34633463
## `process.sourceMapsEnabled`
34643464
34653465
<!-- YAML
3466-
added: REPLACEME
3466+
added: v18.19.0
34673467
-->
34683468
34693469
> Stability: 1 - Experimental

graal-nodejs/doc/api/stream.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2009,7 +2009,7 @@ added:
20092009
- v17.4.0
20102010
- v16.14.0
20112011
changes:
2012-
- version: REPLACEME
2012+
- version: v18.19.0
20132013
pr-url: https://github.com/nodejs/node/pull/49249
20142014
description: added `highWaterMark` in options.
20152015
-->
@@ -2062,7 +2062,7 @@ added:
20622062
- v17.4.0
20632063
- v16.14.0
20642064
changes:
2065-
- version: REPLACEME
2065+
- version: v18.19.0
20662066
pr-url: https://github.com/nodejs/node/pull/49249
20672067
description: added `highWaterMark` in options.
20682068
-->

graal-nodejs/doc/api/test.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,7 @@ set to `true`.
15151515

15161516
<!-- YAML
15171517
added:
1518-
- REPLACEME
1518+
- v18.19.0
15191519
-->
15201520

15211521
> Stability: 1 - Experimental
@@ -1531,7 +1531,7 @@ which is a `MockTimers` instance.
15311531

15321532
<!-- YAML
15331533
added:
1534-
- REPLACEME
1534+
- v18.19.0
15351535
-->
15361536

15371537
Enables timer mocking for the specified timers.
@@ -1574,7 +1574,7 @@ and `globalThis` will be mocked.
15741574

15751575
<!-- YAML
15761576
added:
1577-
- REPLACEME
1577+
- v18.19.0
15781578
-->
15791579

15801580
This function restores the default behavior of all mocks that were previously
@@ -1602,7 +1602,7 @@ Calls `timers.reset()`.
16021602

16031603
<!-- YAML
16041604
added:
1605-
- REPLACEME
1605+
- v18.19.0
16061606
-->
16071607

16081608
Advances time for all mocked timers.
@@ -1876,7 +1876,7 @@ test('should tick five times testing a real use case', async (context) => {
18761876

18771877
<!-- YAML
18781878
added:
1879-
- REPLACEME
1879+
- v18.19.0
18801880
-->
18811881

18821882
Triggers all pending mocked timers immediately.

graal-nodejs/doc/api/tls.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2045,7 +2045,7 @@ where `secureSocket` has the same API as `pair.cleartext`.
20452045
<!-- YAML
20462046
added: v0.3.2
20472047
changes:
2048-
- version: REPLACEME
2048+
- version: v18.19.0
20492049
pr-url: https://github.com/nodejs/node/pull/45190
20502050
description: The `options` parameter can now include `ALPNCallback`.
20512051
- version: v12.3.0

graal-nodejs/doc/api/vm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ The identifier of the current module, as set in the constructor.
615615

616616
<!-- YAML
617617
changes:
618-
- version: REPLACEME
618+
- version: v18.19.0
619619
pr-url: https://github.com/nodejs/node/pull/50141
620620
description: The option `extra.assert` is renamed to `extra.attributes`. The
621621
former name is still provided for backward compatibility.

0 commit comments

Comments
 (0)