Node.js GitHub Bot
8484306795
2026-04-15, Version 24.15.0 'Krypton' (LTS)
...
Notable changes:
cli:
* (SEMVER-MINOR) add --max-heap-size option (tannal) https://github.com/nodejs/node/pull/58708
* add --require-module/--no-require-module (Joyee Cheung) https://github.com/nodejs/node/pull/60959
crypto:
* (SEMVER-MINOR) add raw key formats support to the KeyObject APIs (Filip Skokan) https://github.com/nodejs/node/pull/62240
fs:
* (SEMVER-MINOR) add `throwIfNoEntry` option for fs.stat and fs.promises.stat (Juan José) https://github.com/nodejs/node/pull/61178
http2:
* (SEMVER-MINOR) add http1Options for HTTP/1 fallback configuration (Amol Yadav) https://github.com/nodejs/node/pull/61713
module:
* mark require(esm) as stable (Joyee Cheung) https://github.com/nodejs/node/pull/60959
* mark module compile cache as stable (Joyee Cheung) https://github.com/nodejs/node/pull/60971
net:
* (SEMVER-MINOR) add `setTOS` and `getTOS` to `Socket` (Amol Yadav) https://github.com/nodejs/node/pull/61503
sqlite:
* (SEMVER-MINOR) add limits property to DatabaseSync (Mert Can Altin) https://github.com/nodejs/node/pull/61298
* mark as release candidate (Matteo Collina) https://github.com/nodejs/node/pull/61262
src:
* (SEMVER-MINOR) add C++ support for diagnostics channels (RafaelGSS) https://github.com/nodejs/node/pull/61869
stream:
* (SEMVER-MINOR) rename `Duplex.toWeb()` type option to `readableType` (René) https://github.com/nodejs/node/pull/61632
test_runner:
* add exports option for module mocks (sangwook) https://github.com/nodejs/node/pull/61727
* (SEMVER-MINOR) expose worker ID for concurrent test execution (Ali Hassan) https://github.com/nodejs/node/pull/61394
* (SEMVER-MINOR) show interrupted test on SIGINT (Matteo Collina) https://github.com/nodejs/node/pull/61676
PR-URL: https://github.com/nodejs/node/pull/62681
2026-04-10 16:55:10 -04:00
Kit Dallege
a072411b03
doc: remove spawn with shell example from bat/cmd section
...
Remove the suggestion to use child_process.spawn() with the shell
option set for running .bat and .cmd files on Windows. Passing
arguments through spawn with shell: true is deprecated (DEP0190)
due to shell injection risks. Keep the exec() and direct cmd.exe
spawn alternatives.
Fixes: https://github.com/nodejs/node/issues/58735
PR-URL: https://github.com/nodejs/node/pull/62243
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com >
2026-04-10 16:18:35 +02:00
Dmytro Semchuk
0b152449af
doc: fix typo in --disable-wasm-trap-handler description
...
PR-URL: https://github.com/nodejs/node/pull/61820
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 15:54:18 +02:00
Geoffrey Booth
7f234add8e
doc: deprecate module.register() (DEP0205)
...
PR-URL: https://github.com/nodejs/node/pull/62395
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-10 14:52:30 +02:00
lilianakatrina684-a11y
1ecc5962a2
doc: fix 'transfered' typo in quic.md
...
PR-URL: https://github.com/nodejs/node/pull/62492
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2026-04-10 14:52:30 +02:00
René
56741a1303
doc: move sqlite type conversion section to correct level
...
PR-URL: https://github.com/nodejs/node/pull/62482
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:29 +02:00
Filip Skokan
4c206ecb31
quic: remove CryptoKey support from session keys option
...
PR-URL: https://github.com/nodejs/node/pull/62335
Refs: https://github.com/nodejs/node/issues/55293
Refs: https://github.com/nodejs/node/pull/62321
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2026-04-10 14:52:27 +02:00
sangwook
f5f21d36a6
test_runner: add exports option for module mocks
...
Add options.exports support in mock.module() and normalize option
shapes through a shared exports path.
Keep defaultExport and namedExports as aliases, emit runtime
deprecation warnings for legacy options, and update docs and tests,
including output fixtures and coverage snapshots.
Refs: https://github.com/nodejs/node/issues/58443
PR-URL: https://github.com/nodejs/node/pull/61727
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2026-04-10 14:52:27 +02:00
Kit Dallege and Claude Opus 4.6
c4567e4a8d
doc: fix overstated Date header requirement in response.sendDate
...
The docs stated "HTTP requires the Date header in responses" which
oversimplifies the actual requirement. Per RFC 9110 Section 6.6.1,
the Date header is required only in most responses (2xx/3xx/4xx from
servers with a clock), not all. Reference the specific RFC section.
Fixes: https://github.com/nodejs/node/issues/42619
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
PR-URL: https://github.com/nodejs/node/pull/62206
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:26 +02:00
Filip Skokan
dc034a4ac9
crypto: reject ML-KEM/ML-DSA PKCS#8 import without seed in SubtleCrypto
...
Reject importing ML-KEM and ML-DSA PKCS#8 private keys that do not
include a seed, throwing NotSupportedError.
Also add tests for importing PKCS#8 keys with a mismatched expanded key.
Refs: https://redirect.github.com/WICG/webcrypto-modern-algos/pull/34
PR-URL: https://github.com/nodejs/node/pull/62218
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Mattias Buelens <mattias@buelens.com >
2026-04-10 14:52:26 +02:00
Mowafak Almahaini
384a41047f
doc: enhance clarification about the main field
...
removed "this" to enhance sentence flow.
PR-URL: https://github.com/nodejs/node/pull/62302
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:26 +02:00
Jeff Matson
93d19b1a1c
doc: minor typo fix
...
PR-URL: https://github.com/nodejs/node/pull/62358
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2026-04-10 14:52:26 +02:00
Filip Skokan
57b105c9d5
doc: deprecate CryptoKey use in node:crypto
...
Refs: https://github.com/nodejs/node/issues/55293
PR-URL: https://github.com/nodejs/node/pull/62321
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:26 +02:00
chris
490168c993
doc: fix small environment_variables typo
...
PR-URL: https://github.com/nodejs/node/pull/62279
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-04-10 14:52:25 +02:00
Kit Dallege and Claude Opus 4.6
ba0a82a1e1
doc: clarify fs.ReadStream and fs.WriteStream are not constructable
...
Add explicit wording that fs.ReadStream and fs.WriteStream should not
be constructed directly, matching the existing pattern used by fs.Stats
("not to be created directly using the new keyword"). The factory
functions fs.createReadStream() and fs.createWriteStream() are the
supported API.
Fixes: https://github.com/nodejs/node/issues/40546
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
PR-URL: https://github.com/nodejs/node/pull/62208
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-04-10 14:52:24 +02:00
kovan and jorge guerrero
a035bd5235
doc,test: clarify --eval syntax for leading '-' scripts
...
If the script passed to --eval starts with a hyphen, the CLI parser
treats it as another option flag. Document the --eval=<script> form
as the workaround and add tests for --eval=-42, --eval=-0, and the
-e -p missing-argument error.
Co-authored-by: jorge guerrero <grrr.jrg@gmail.com >
Refs: https://github.com/nodejs/node/issues/43397
Refs: https://github.com/nodejs/node/pull/61962
PR-URL: https://github.com/nodejs/node/pull/62244
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-04-10 14:52:24 +02:00
Antoine du Hamel
125bdbf504
doc: clarify that any truthy value of shell is part of DEP0190
...
PR-URL: https://github.com/nodejs/node/pull/62249
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:23 +02:00
Ilyas Shabi
ace802e59b
diagnostics_channel: add diagnostics channels for web locks
...
PR-URL: https://github.com/nodejs/node/pull/62123
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-04-10 14:52:23 +02:00
Guy Bedford
f7a408d6f7
wasm: support js string constant esm import
...
Extends the Wasm ESM Integration for importing WebAssembly
modules in either the source phase or instance phase to support
importing static JS string constants from the special
import name `wasm:js/string-constants`.
PR-URL: https://github.com/nodejs/node/pull/62198
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-04-10 14:52:23 +02:00
Kit Dallege and Claude Opus 4.6
a141ad0aeb
doc: remove outdated Chrome 66 and ndb references from debugger
...
Remove the Chrome 66.0.3345.0 version check (Chrome 66 shipped in
2018), the claim that Chrome DevTools doesn't support debugging worker
threads (which uses time-tied language), and the recommendation to use
ndb (which has been archived since July 2023).
Fixes: https://github.com/nodejs/node/issues/54078
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
PR-URL: https://github.com/nodejs/node/pull/62202
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2026-04-10 14:52:22 +02:00
Jacob Smith
44bde8e573
doc: add note (and caveat) for mock.module about customization hooks
...
PR-URL: https://github.com/nodejs/node/pull/62075
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
2026-04-10 14:52:22 +02:00
tannal
3d87ecacbc
cli: add --max-heap-size option
...
PR-URL: https://github.com/nodejs/node/pull/58708
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-04-10 14:52:21 +02:00
Antoine du Hamel
8c46a1ca1a
doc: copyedit addons.md
...
* Make the intro less C++-centric
* Give a GYP-less build example
* Remove the duplicate Node-API documentation
* Add an ESM example
PR-URL: https://github.com/nodejs/node/pull/62071
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2026-04-10 14:52:20 +02:00
René
7f989f02f7
doc: correct util.convertProcessSignalToExitCode validation behavior
...
PR-URL: https://github.com/nodejs/node/pull/62134
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-04-10 14:52:20 +02:00
Jacob Smith
db516eca3a
doc: fix markdown for expectFailure values
...
PR-URL: https://github.com/nodejs/node/pull/62100
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
2026-04-10 14:52:18 +02:00
Huáng Jùnliàng
59ad1e4503
tools: bump eslint to v10, babel to v8.0.0-rc.2
...
PR-URL: https://github.com/nodejs/node/pull/61905
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-10 14:52:17 +02:00
Joyee Cheung
42057c84e2
doc,module: add missing doc for syncHooks.deregister()
...
PR-URL: https://github.com/nodejs/node/pull/61959
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-04-10 14:52:17 +02:00
Mike McCready
ad97045125
doc: include url.resolve() in DEP0169 application deprecation
...
Mark url.resolve() as deprecated
Update also DEP0116 with cross-reference to DEP0169
PR-URL: https://github.com/nodejs/node/pull/62002
Fixes: https://github.com/nodejs/node/issues/61816
Refs: https://github.com/nodejs/node/pull/61780
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-04-10 14:52:16 +02:00
René
dbb3551b7b
doc: separate in-types and out-types in SQLite conversion docs
...
PR-URL: https://github.com/nodejs/node/pull/62034
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com >
2026-04-10 14:52:16 +02:00
René
191c433db8
doc: fix small logic error in DETECT_MODULE_SYNTAX
...
PR-URL: https://github.com/nodejs/node/pull/62025
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2026-04-10 14:52:15 +02:00
René
8511b1c784
doc: fix module.stripTypeScriptTypes indentation
...
PR-URL: https://github.com/nodejs/node/pull/61992
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Harshitha K P <harshitha014@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 14:52:15 +02:00
Mike McCready
dd1139f52c
doc: update DEP0040 (punycode) to application type deprecation
...
PR-URL: https://github.com/nodejs/node/pull/61916
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-04-10 14:52:15 +02:00
Mert Can Altin
6ac4304c87
sqlite: add limits property to DatabaseSync
...
PR-URL: https://github.com/nodejs/node/pull/61298
Fixes: https://github.com/nodejs/node/issues/61268
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-04-10 14:52:14 +02:00
sangwook
8287ca749e
test_runner: expose expectFailure message
...
This change exposes the expectFailure message in the test runner and
adds edge cases for expectFailure ambiguity.
PR-URL: https://github.com/nodejs/node/pull/61563
Fixes: https://github.com/nodejs/node/issues/61570
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Jacob Smith <jacob@frende.me >
2026-04-10 14:52:13 +02:00
Marco
10b2bb5fa6
child_process: add tracing channel for spawn
...
Signed-off-by: marcopiraccini <marco.piraccini@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/61836
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2026-04-10 14:52:12 +02:00
Ali Hassan
1f2025fd1e
test_runner: expose worker ID for concurrent test execution
...
This adds support for identifying which worker is running a test file
when tests execute concurrently, similar to JEST_WORKER_ID in Jest,
VITEST_POOL_ID in Vitest, and MOCHA_WORKER_ID in Mocha.
When running with --test-isolation=process (default), each test file
runs in a separate child process and receives a unique worker ID from
1 to N. When running with --test-isolation=none, all tests run in the
same process and the worker ID is always 1.
This enables users to allocate separate resources (databases, ports,
etc.) for each test worker to avoid conflicts during concurrent
execution.
Changes:
- Add WorkerIdPool class to manage worker ID allocation and reuse
- Set NODE_TEST_WORKER_ID environment variable for child processes
- Add context.workerId getter to TestContext class
- Add tests for worker ID functionality
- Add documentation for context.workerId
Fixes: https://github.com/nodejs/node/issues/55842
PR-URL: https://github.com/nodejs/node/pull/61394
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
2026-04-10 14:52:12 +02:00
René
d8204d3cdb
doc: rename invalid function parameter
...
PR-URL: https://github.com/nodejs/node/pull/61942
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
2026-04-08 23:53:09 +02:00
Alfredo González
bd0688feb6
doc: add esm and cjs examples to node:vm
...
PR-URL: https://github.com/nodejs/node/pull/61498
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2026-04-08 23:53:08 +02:00
Tim Perry
38e9c66e0f
http2: add strictSingleValueFields option to relax header validation
...
Previously it was impossible to send multiple values for any header
or trailer defined officially as supporting only a single value.
This is a good default, but in practice many of these headers are used
in weird & wonderful ways where this can be problematic. This new
option allows for relaxing this restriction to support those cases
where required.
This option defaults to true so validation will still be applied
as before, rejecting multiple single-value fields, unless explicitly
disabled.
PR-URL: https://github.com/nodejs/node/pull/59917
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2026-04-08 23:53:08 +02:00
Matteo Collina
aaf9af1672
sqlite: mark as release candidate
...
PR-URL: REPLACEME
PR-URL: https://github.com/nodejs/node/pull/61262
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
2026-04-08 23:53:07 +02:00
Rob Palmer
5dd48e3456
doc: remove incorrect mention of module in typescript.md
...
Node.js/Armaro has never supported `module`-keyword namespaces. Even
with `transform-types` on.
This removes the incorrect mention.
PR-URL: https://github.com/nodejs/node/pull/61839
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
2026-04-08 23:53:05 +02:00
Chemi Atlow
9502c22055
doc: simplify addAbortListener example
...
The example was written before v8 supported the using keyword
and hence explicitly called Symbol.dispose
Since now the keyword is supported, the example can be simplified
PR-URL: https://github.com/nodejs/node/pull/61842
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-08 23:53:05 +02:00
René
6fec397828
doc: clean up globals.md
...
PR-URL: https://github.com/nodejs/node/pull/61822
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2026-04-08 23:53:05 +02:00
René
460f41233d
test: check stability block position in API markdown
...
PR-URL: https://github.com/nodejs/node/pull/58590
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-04-08 23:53:05 +02:00
Matteo Collina
1ca20fc33d
test_runner: show interrupted test on SIGINT
...
When the test runner process is killed with SIGINT (Ctrl+C), display
which test was running at the time of interruption. This makes it
easier to identify tests that hang or take too long.
- Add `test:interrupted` event emitted when SIGINT is received
- Add `interrupted()` method to TestsStream
- Handle the event in both TAP and spec reporters
- TAP outputs: `# Interrupted while running: <test>`
- Spec outputs with yellow header and warning symbol
- Use setImmediate to allow reporter stream to flush before exit
With process isolation (default), shows the file path since the
parent runner only knows about file-level tests.
With --test-isolation=none, shows the actual test name.
PR-URL: https://github.com/nodejs/node/pull/61676
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2026-04-08 23:53:05 +02:00
Amol Yadav
5cdcba17cc
http2: add http1Options for HTTP/1 fallback configuration
...
PR-URL: https://github.com/nodejs/node/pull/61713
Fixes: https://github.com/nodejs/node/issues/59783
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-04-08 23:53:04 +02:00
René
a810f5ccef
doc: clarify async caveats for events.once()
...
PR-URL: https://github.com/nodejs/node/pull/61572
Refs: https://github.com/nodejs/node/pull/34220
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-08 23:53:03 +02:00
Juan José
f4a3edc47a
fs: add throwIfNoEntry option for fs.stat and fs.promises.stat
...
Fixes: https://github.com/nodejs/node/issues/61116
Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/61178
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-04-08 23:53:03 +02:00
René
6834ca13bb
stream: rename Duplex.toWeb() type option to readableType
...
PR-URL: https://github.com/nodejs/node/pull/61632
Refs: https://github.com/nodejs/node/pull/58664
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Mattias Buelens <mattias@buelens.com >
2026-04-08 23:53:02 +02:00
Antoine du Hamel
0312db948d
doc: fix methods being documented as properties in process.md
...
PR-URL: https://github.com/nodejs/node/pull/61765
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-08 23:53:02 +02:00