Skip to content

Commit 6fde40c

Browse files
nodejs-github-botaduh95
authored andcommitted
2025-06-09, Version 24.2.0 (Current)
Notable changes: doc: * deprecate `util.isNativeError` in favor of `Error.isError` (Miguel Marcondes Filho) #58262 * deprecate passing an empty string to `options.shell` (Antoine du Hamel) #58564 * deprecate HTTP/2 priority signaling (Matteo Collina) #58313 * (SEMVER-MINOR) graduate `Symbol.dispose`/`asyncDispose` from experimental (James M Snell) #58467 esm: * (SEMVER-MINOR) implement import.meta.main (Joe) #57804 fs: * (SEMVER-MINOR) add `autoClose` option to `FileHandle` `readableWebStream` (James M Snell) #58548 http: * deprecate instantiating classes without new (Yagiz Nizipli) #58518 http2: * (SEMVER-MINOR) add diagnostics channel 'http2.server.stream.finish' (Darshan Sen) #58560 * (SEMVER-MAJOR) remove support for priority signaling (Matteo Collina) #58293 lib: * (SEMVER-MINOR) graduate error codes that have been around for years (James M Snell) #58541 perf_hooks: * (SEMVER-MINOR) make event loop delay histogram disposable (James M Snell) #58384 src: * (SEMVER-MINOR) support namespace options in configuration file (Pietro Marchini) #58073 test: * (SEMVER-MINOR) add disposable histogram test (James M Snell) #58384 * (SEMVER-MINOR) add test for async disposable worker thread (James M Snell) #58385 util: * (SEMVER-MINOR) add 'none' style to styleText (James M Snell) #58437 worker: * (SEMVER-MINOR) make Worker async disposable (James M Snell) #58385 PR-URL: #58635
1 parent 9ccdf4f commit 6fde40c

21 files changed

+254
-40
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ release.
4040
</tr>
4141
<tr>
4242
<td valign="top">
43-
<b><a href="doc/changelogs/CHANGELOG_V24.md#24.1.0">24.1.0</a></b><br/>
43+
<b><a href="doc/changelogs/CHANGELOG_V24.md#24.2.0">24.2.0</a></b><br/>
44+
<a href="doc/changelogs/CHANGELOG_V24.md#24.1.0">24.1.0</a><br/>
4445
<a href="doc/changelogs/CHANGELOG_V24.md#24.0.2">24.0.2</a><br/>
4546
<a href="doc/changelogs/CHANGELOG_V24.md#24.0.1">24.0.1</a><br/>
4647
<a href="doc/changelogs/CHANGELOG_V24.md#24.0.0">24.0.0</a><br/>

doc/api/child_process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1774,7 +1774,7 @@ added:
17741774
- v20.5.0
17751775
- v18.18.0
17761776
changes:
1777-
- version: REPLACEME
1777+
- version: v24.2.0
17781778
pr-url: https://github.com/nodejs/node/pull/58467
17791779
description: No longer experimental.
17801780
-->

doc/api/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ process.
194194
<!-- YAML
195195
added: v20.0.0
196196
changes:
197-
- version: REPLACEME
197+
- version: v24.2.0
198198
pr-url: https://github.com/nodejs/node/pull/58579
199199
description: Entrypoints of your application are allowed to be read implicitly.
200200
- version:

doc/api/deprecations.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3904,7 +3904,7 @@ upon `require('node:module').builtinModules`.
39043904

39053905
<!-- YAML
39063906
changes:
3907-
- version: REPLACEME
3907+
- version: v24.2.0
39083908
pr-url: https://github.com/nodejs/node/pull/57643
39093909
description: Documentation-only deprecation.
39103910
-->
@@ -3918,7 +3918,7 @@ an internal nodejs implementation rather than a public facing API, use `node:tls
39183918

39193919
<!-- YAML
39203920
changes:
3921-
- version: REPLACEME
3921+
- version: v24.2.0
39223922
pr-url: https://github.com/nodejs/node/pull/58337
39233923
description: Documentation-only deprecation.
39243924
-->
@@ -3933,10 +3933,10 @@ an internal nodejs implementation rather than a public facing API, use `node:str
39333933

39343934
<!-- YAML
39353935
changes:
3936-
- version: REPLACEME
3936+
- version: v24.2.0
39373937
pr-url: https://github.com/nodejs/node/pull/58293
39383938
description: End-of-Life.
3939-
- version: REPLACEME
3939+
- version: v24.2.0
39403940
pr-url: https://github.com/nodejs/node/pull/58313
39413941
description: Documentation-only deprecation.
39423942
-->
@@ -3949,7 +3949,7 @@ The support for priority signaling has been removed following its deprecation in
39493949

39503950
<!-- YAML
39513951
changes:
3952-
- version: REPLACEME
3952+
- version: v24.2.0
39533953
pr-url: https://github.com/nodejs/node/pull/58518
39543954
description: Documentation-only deprecation.
39553955
-->
@@ -3964,7 +3964,7 @@ It is recommended to use the `new` qualifier instead. This applies to all http c
39643964

39653965
<!-- YAML
39663966
changes:
3967-
- version: REPLACEME
3967+
- version: v24.2.0
39683968
pr-url: https://github.com/nodejs/node/pull/58564
39693969
description: Documentation-only deprecation.
39703970
-->
@@ -3988,7 +3988,7 @@ a shell, use [`child_process.execFile`][] instead.
39883988
<!-- YAML
39893989
changes:
39903990
- version:
3991-
- REPLACEME
3991+
- v24.2.0
39923992
pr-url: https://github.com/nodejs/node/pull/58262
39933993
description: Documentation-only deprecation.
39943994
-->

doc/api/dgram.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ added:
381381
- v20.5.0
382382
- v18.18.0
383383
changes:
384-
- version: REPLACEME
384+
- version: v24.2.0
385385
pr-url: https://github.com/nodejs/node/pull/58467
386386
description: No longer experimental.
387387
-->

doc/api/esm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ const buffer = readFileSync(new URL('./data.proto', import.meta.url));
400400
401401
<!-- YAML
402402
added:
403-
- REPLACEME
403+
- v24.2.0
404404
-->
405405
406406
> Stability: 1.0 - Early development

doc/api/fs.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ number of bytes read is zero.
481481
<!-- YAML
482482
added: v17.0.0
483483
changes:
484-
- version: REPLACEME
484+
- version: v24.2.0
485485
pr-url: https://github.com/nodejs/node/pull/58548
486486
description: Added the `autoClose` option.
487487
- version: v24.0.0
@@ -866,7 +866,7 @@ added:
866866
- v20.4.0
867867
- v18.18.0
868868
changes:
869-
- version: REPLACEME
869+
- version: v24.2.0
870870
pr-url: https://github.com/nodejs/node/pull/58467
871871
description: No longer experimental.
872872
-->
@@ -6759,7 +6759,7 @@ included in the iteration results.
67596759
<!-- YAML
67606760
added: v24.1.0
67616761
changes:
6762-
- version: REPLACEME
6762+
- version: v24.2.0
67636763
pr-url: https://github.com/nodejs/node/pull/58467
67646764
description: No longer experimental.
67656765
-->
@@ -6772,7 +6772,7 @@ dir is closed.
67726772
<!-- YAML
67736773
added: v24.1.0
67746774
changes:
6775-
- version: REPLACEME
6775+
- version: v24.2.0
67766776
pr-url: https://github.com/nodejs/node/pull/58467
67776777
description: No longer experimental.
67786778
-->

doc/api/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1937,7 +1937,7 @@ affects new connections to the server, not any existing connections.
19371937
<!-- YAML
19381938
added: v20.4.0
19391939
changes:
1940-
- version: REPLACEME
1940+
- version: v24.2.0
19411941
pr-url: https://github.com/nodejs/node/pull/58467
19421942
description: No longer experimental.
19431943
-->

doc/api/http2.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,11 +1072,11 @@ The `'origin'` event is only emitted when using a secure TLS connection.
10721072
<!-- YAML
10731073
added: v8.4.0
10741074
changes:
1075-
- version: REPLACEME
1075+
- version: v24.2.0
10761076
pr-url: https://github.com/nodejs/node/pull/58293
10771077
description: The `weight` option is now ignored, setting it will trigger a
10781078
runtime warning.
1079-
- version: REPLACEME
1079+
- version: v24.2.0
10801080
pr-url: https://github.com/nodejs/node/pull/58313
10811081
description: Following the deprecation of priority signaling as of RFC 1993,
10821082
`weight` option is deprecated.
@@ -1463,9 +1463,9 @@ numeric stream identifier.
14631463

14641464
<!-- YAML
14651465
added: v8.4.0
1466-
deprecated: REPLACEME
1466+
deprecated: v24.2.0
14671467
changes:
1468-
- version: REPLACEME
1468+
- version: v24.2.0
14691469
pr-url: https://github.com/nodejs/node/pull/58293
14701470
description: This method no longer sets the priority of the stream. Using it
14711471
now triggers a runtime warning.
@@ -1571,11 +1571,11 @@ req.setTimeout(5000, () => req.close(NGHTTP2_CANCEL));
15711571
<!-- YAML
15721572
added: v8.4.0
15731573
changes:
1574-
- version: REPLACEME
1574+
- version: v24.2.0
15751575
pr-url: https://github.com/nodejs/node/pull/58293
15761576
description: The `state.weight` property is now always set to 16 and
15771577
`sumDependencyWeight` is always set to 0.
1578-
- version: REPLACEME
1578+
- version: v24.2.0
15791579
pr-url: https://github.com/nodejs/node/pull/58313
15801580
description: Following the deprecation of priority signaling as of RFC 1993,
15811581
`weight` and `sumDependencyWeight` options are deprecated.
@@ -2431,7 +2431,7 @@ closed, although the server has already stopped allowing new sessions. See
24312431
<!-- YAML
24322432
added: v20.4.0
24332433
changes:
2434-
- version: REPLACEME
2434+
- version: v24.2.0
24352435
pr-url: https://github.com/nodejs/node/pull/58467
24362436
description: No longer experimental.
24372437
-->

doc/api/https.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ See [`server.close()`][] in the `node:http` module.
138138
<!-- YAML
139139
added: v20.4.0
140140
changes:
141-
- version: REPLACEME
141+
- version: v24.2.0
142142
pr-url: https://github.com/nodejs/node/pull/58467
143143
description: No longer experimental.
144144
-->

doc/api/inspector.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ inspector.Network.requestWillBeSent({
514514
### `inspector.Network.dataReceived([params])`
515515

516516
<!-- YAML
517-
added: REPLACEME
517+
added: v24.2.0
518518
-->
519519

520520
* `params` {Object}

doc/api/net.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ added:
403403
- v20.5.0
404404
- v18.18.0
405405
changes:
406-
- version: REPLACEME
406+
- version: v24.2.0
407407
pr-url: https://github.com/nodejs/node/pull/58467
408408
description: No longer experimental.
409409
-->

doc/api/perf_hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1976,7 +1976,7 @@ started, `false` if it was already started.
19761976
### `histogram[Symbol.dispose]()`
19771977

19781978
<!-- YAML
1979-
added: REPLACEME
1979+
added: v24.2.0
19801980
-->
19811981

19821982
Disables the update interval timer when the histogram is disposed.

doc/api/repl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ called from within the action function for commands registered using the
650650
<!-- YAML
651651
added: v11.10.0
652652
changes:
653-
- version: REPLACEME
653+
- version: v24.2.0
654654
pr-url: https://github.com/nodejs/node/pull/58225
655655
description: Updated the `historyConfig` parameter to accept an object
656656
with `filePath`, `size`, `removeHistoryDuplicates` and

doc/api/sqlite.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ added:
417417
- v23.11.0
418418
- v22.15.0
419419
changes:
420-
- version: REPLACEME
420+
- version: v24.2.0
421421
pr-url: https://github.com/nodejs/node/pull/58467
422422
description: No longer experimental.
423423
-->

doc/api/stream.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ added:
984984
- v22.4.0
985985
- v20.16.0
986986
changes:
987-
- version: REPLACEME
987+
- version: v24.2.0
988988
pr-url: https://github.com/nodejs/node/pull/58467
989989
description: No longer experimental.
990990
-->
@@ -1999,7 +1999,7 @@ added:
19991999
- v20.4.0
20002000
- v18.18.0
20012001
changes:
2002-
- version: REPLACEME
2002+
- version: v24.2.0
20032003
pr-url: https://github.com/nodejs/node/pull/58467
20042004
description: No longer experimental.
20052005
-->

doc/api/timers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ added:
7070
- v20.5.0
7171
- v18.18.0
7272
changes:
73-
- version: REPLACEME
73+
- version: v24.2.0
7474
pr-url: https://github.com/nodejs/node/pull/58467
7575
description: No longer experimental.
7676
-->
@@ -178,7 +178,7 @@ added:
178178
- v20.5.0
179179
- v18.18.0
180180
changes:
181-
- version: REPLACEME
181+
- version: v24.2.0
182182
pr-url: https://github.com/nodejs/node/pull/58467
183183
description: No longer experimental.
184184
-->

doc/api/util.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2408,7 +2408,7 @@ added:
24082408
- v21.7.0
24092409
- v20.12.0
24102410
changes:
2411-
- version: REPLACEME
2411+
- version: v24.2.0
24122412
pr-url: https://github.com/nodejs/node/pull/58437
24132413
description: Added the `'none'` format as a non-op format.
24142414
- version:
@@ -3324,7 +3324,7 @@ util.types.isModuleNamespaceObject(ns); // Returns true
33243324
33253325
<!-- YAML
33263326
added: v10.0.0
3327-
deprecated: REPLACEME
3327+
deprecated: v24.2.0
33283328
-->
33293329
33303330
> Stability: 0 - Deprecated: Use [`Error.isError`][] instead.

doc/api/worker_threads.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1864,7 +1864,7 @@ active handle in the event system. If the worker is already `unref()`ed calling
18641864
### `worker[Symbol.asyncDispose]()`
18651865

18661866
<!-- YAML
1867-
added: REPLACEME
1867+
added: v24.2.0
18681868
-->
18691869

18701870
Calls [`worker.terminate()`][] when the dispose scope is exited.

0 commit comments

Comments
 (0)