Skip to content

Commit d421af4

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

20 files changed

+253
-37
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ release.
3939
</tr>
4040
<tr>
4141
<td valign="top">
42-
<b><a href="doc/changelogs/CHANGELOG_V24.md#24.1.0">24.1.0</a></b><br/>
42+
<b><a href="doc/changelogs/CHANGELOG_V24.md#24.2.0">24.2.0</a></b><br/>
43+
<a href="doc/changelogs/CHANGELOG_V24.md#24.1.0">24.1.0</a><br/>
4344
<a href="doc/changelogs/CHANGELOG_V24.md#24.0.2">24.0.2</a><br/>
4445
<a href="doc/changelogs/CHANGELOG_V24.md#24.0.1">24.0.1</a><br/>
4546
<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
@@ -3946,7 +3946,7 @@ upon `require('node:module').builtinModules`.
39463946

39473947
<!-- YAML
39483948
changes:
3949-
- version: REPLACEME
3949+
- version: v24.2.0
39503950
pr-url: https://github.com/nodejs/node/pull/57643
39513951
description: Runtime deprecation.
39523952
-->
@@ -3960,7 +3960,7 @@ an internal nodejs implementation rather than a public facing API, use `node:tls
39603960

39613961
<!-- YAML
39623962
changes:
3963-
- version: REPLACEME
3963+
- version: v24.2.0
39643964
pr-url: https://github.com/nodejs/node/pull/58337
39653965
description: Runtime deprecation.
39663966
-->
@@ -3975,10 +3975,10 @@ an internal nodejs implementation rather than a public facing API, use `node:str
39753975

39763976
<!-- YAML
39773977
changes:
3978-
- version: REPLACEME
3978+
- version: v24.2.0
39793979
pr-url: https://github.com/nodejs/node/pull/58293
39803980
description: End-of-Life.
3981-
- version: REPLACEME
3981+
- version: v24.2.0
39823982
pr-url: https://github.com/nodejs/node/pull/58313
39833983
description: Documentation-only deprecation.
39843984
-->
@@ -3991,7 +3991,7 @@ The support for priority signaling has been removed following its deprecation in
39913991

39923992
<!-- YAML
39933993
changes:
3994-
- version: REPLACEME
3994+
- version: v24.2.0
39953995
pr-url: https://github.com/nodejs/node/pull/58518
39963996
description: Documentation-only deprecation.
39973997
-->
@@ -4006,7 +4006,7 @@ It is recommended to use the `new` qualifier instead. This applies to all http c
40064006

40074007
<!-- YAML
40084008
changes:
4009-
- version: REPLACEME
4009+
- version: v24.2.0
40104010
pr-url: https://github.com/nodejs/node/pull/58564
40114011
description: Documentation-only deprecation.
40124012
-->
@@ -4030,7 +4030,7 @@ a shell, use [`child_process.execFile`][] instead.
40304030
<!-- YAML
40314031
changes:
40324032
- version:
4033-
- REPLACEME
4033+
- v24.2.0
40344034
pr-url: https://github.com/nodejs/node/pull/58262
40354035
description: Documentation-only deprecation.
40364036
-->

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
@@ -404,7 +404,7 @@ const buffer = readFileSync(new URL('./data.proto', import.meta.url));
404404
405405
<!-- YAML
406406
added:
407-
- REPLACEME
407+
- v24.2.0
408408
-->
409409
410410
> 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
-->
@@ -6763,7 +6763,7 @@ included in the iteration results.
67636763
<!-- YAML
67646764
added: v24.1.0
67656765
changes:
6766-
- version: REPLACEME
6766+
- version: v24.2.0
67676767
pr-url: https://github.com/nodejs/node/pull/58467
67686768
description: No longer experimental.
67696769
-->
@@ -6776,7 +6776,7 @@ dir is closed.
67766776
<!-- YAML
67776777
added: v24.1.0
67786778
changes:
6779-
- version: REPLACEME
6779+
- version: v24.2.0
67806780
pr-url: https://github.com/nodejs/node/pull/58467
67816781
description: No longer experimental.
67826782
-->

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
@@ -425,7 +425,7 @@ added:
425425
- v23.11.0
426426
- v22.15.0
427427
changes:
428-
- version: REPLACEME
428+
- version: v24.2.0
429429
pr-url: https://github.com/nodejs/node/pull/58467
430430
description: No longer experimental.
431431
-->

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:
@@ -3328,7 +3328,7 @@ util.types.isModuleNamespaceObject(ns); // Returns true
33283328
33293329
<!-- YAML
33303330
added: v10.0.0
3331-
deprecated: REPLACEME
3331+
deprecated: v24.2.0
33323332
-->
33333333
33343334
> 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
@@ -1866,7 +1866,7 @@ active handle in the event system. If the worker is already `unref()`ed calling
18661866
### `worker[Symbol.asyncDispose]()`
18671867

18681868
<!-- YAML
1869-
added: REPLACEME
1869+
added: v24.2.0
18701870
-->
18711871

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

0 commit comments

Comments
 (0)