Paolo Insogna
14e16db1bf
lib: add new methods and error codes
...
Signed-off-by: Paolo Insogna <paolo@cowtech.it >
PR-URL: https://github.com/nodejs/node/pull/62762
Reviewed-By: Xuguang Mei <meixuguang@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Bryan English <bryan@bryanenglish.com >
2026-04-19 18:39:01 +00:00
Joyee Cheung
a79e224eb2
debugger: add edit-free runtime expression probes to node inspect
...
Add a non-interactive probe mode to `node inspect` for inspecting
runtime values in a run-to-completion application. This allows
users to perform printf-style debugging without having to modify
the application code and clean up afterwards, it also supports
structured output to be consumed by tools.
Probe mode launches the application, sets one or more source
breakpoints, evaluates one expression at each hit, and prints a
single text or JSON report when execution ends.
Interface:
node inspect [--json] [--preview] [--timeout=<ms>] [--port=<port>]
--probe <file>:<line>[:<col>] --expr <expr> ...
[--] <script> [args...]
Example:
```js
// cli.js
let maxRSS = 0;
for (let i = 0; i < 2; i++) {
const { rss } = process.memoryUsage();
maxRSS = Math.max(maxRSS, rss);
}
```
```
$ node inspect --probe cli.js:5 --expr 'rss' cli.js
Hit 1 at cli.js:5
rss = 54935552
Hit 2 at cli.js:5
rss = 55083008
Completed
```
(Prettified JSON to fit in commit message restrictions).
```js
$ node inspect --json --probe cli.js:5 --expr 'rss' cli.js
{"v":1,"probes":[{"expr":"rss","target":["cli.js",5]}],
"results":[
{"probe":0,"event":"hit","hit":1,
"result":{"type":"number","value":55443456,
"description":"55443456"}},
{"probe":0,"event":"hit","hit":2,
"result":{"type":"number","value":55574528,
"description":"55574528"}},
{"event":"completed"}]}
```
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62713
Reviewed-By: Jan Martin <jan.krems@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-04-19 15:59:10 +00:00
Antoine du Hamel
adeb14a3fd
esm: add ERR_REQUIRE_ESM_RACE_CONDITION
...
PR-URL: https://github.com/nodejs/node/pull/62462
Fixes: https://github.com/nodejs/node/issues/62432
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
2026-04-18 21:24:31 +00:00
Aviv Keller
da92246ae9
meta: broaden stale bot
...
PR-URL: https://github.com/nodejs/node/pull/62658
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2026-04-18 14:28:03 +00:00
Moshe Atlow
31b9e60979
test_runner: add testId to test events
...
Signed-off-by: Moshe Atlow <moshe@atlow.co.il >
PR-URL: https://github.com/nodejs/node/pull/62772
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2026-04-18 10:10:56 +00:00
Paolo Insogna
0fe3949390
doc: add experimental modules lifetime policy
...
Signed-off-by: Paolo Insogna <paolo@cowtech.it >
PR-URL: https://github.com/nodejs/node/pull/62753
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2026-04-18 10:10:46 +00:00
Ben Noordhuis
c1d7150e56
node-api: add napi_create_external_sharedarraybuffer
...
Creates a SharedArrayBuffer from externally managed memory.
Fixes: https://github.com/nodejs/node/issues/62259
PR-URL: https://github.com/nodejs/node/pull/62623
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
2026-04-17 15:10:36 +00:00
Marco Ippolito
2071c44630
src: allow empty --experimental-config-file
...
PR-URL: https://github.com/nodejs/node/pull/61610
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2026-04-16 06:31:35 +00:00
Node.js GitHub Bot
0dceddde2c
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-15 18:59:05 +02:00
Fahad Khan
95dee4fd47
doc: clarify process._debugProcess() in Permission Model
...
PR-URL: https://github.com/nodejs/node/pull/62537
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-15 16:35:57 +00:00
cjihrig and Paolo Insogna
d0fa608c07
lib,src,test,doc: add node:ffi module
...
PR-URL: https://github.com/nodejs/node/pull/62072
Co-authored-by: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Bryan English <bryan@bryanenglish.com >
2026-04-14 10:44:30 +01:00
Moshe Atlow
c7d05fc0d3
test_runner: publish to TracingChannel for OTel instrumentation
...
Signed-off-by: Moshe Atlow <moshe@atlow.co.il >
PR-URL: https://github.com/nodejs/node/pull/62502
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2026-04-13 15:01:34 +03:00
Rohan Santhosh Kumar
4b7ca97c0d
doc: fix typo in devcontainer guide
...
PR-URL: https://github.com/nodejs/node/pull/62687
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
2026-04-13 12:14:11 +02:00
Tim Perry
f01905ac01
quic: add QuicEndpoint.listening & QuicStream.destroy() and tests
...
Starting to explore and cover the existing implementation, this covers
the basic endpoint & stream lifecycle and the exposed properties.
Added endpoint.listening to match net.Server and round out endpoint
properties, and stream.destroy() which is already called by
quicSession.destroy() and documented, but didn't actually exist.
Signed-off-by: Tim Perry <pimterry@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62648
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-04-13 09:59:14 +00:00
Mike McCready
0546822c31
doc: clarify Backport-PR-URL metadata added automatically
...
Signed-off-by: M McCready <66998419+MikeMcC399@users.noreply.github.com >
PR-URL: https://github.com/nodejs/node/pull/62668
Fixes: https://github.com/nodejs/node/issues/61955
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2026-04-13 04:33:03 +00:00
Robert Nagy
f2fda6013a
buffer: add end parameter
...
To limit how far into the buffer we search without allocating an
unnecessary subarray.
Signed-off-by: Robert Nagy <ronay@icloud.com >
PR-URL: https://github.com/nodejs/node/pull/62390
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-11 19:24:50 +00:00
Efe
726b22048a
watch: fix --env-file-if-exists crashing on linux if the file is missing
...
PR-URL: https://github.com/nodejs/node/pull/61870
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2026-04-10 22:06:36 +00:00
Ali Hassan
4a41a002f6
sqlite: add serialize() and deserialize()
...
Add database.serialize() and database.deserialize() methods to
DatabaseSync, wrapping the sqlite3_serialize and sqlite3_deserialize
C APIs. These allow extracting an in-memory database as a Uint8Array
and loading one back, enabling snapshots, cloning, and transfer of
databases without filesystem I/O.
Refs: https://github.com/nodejs/node/issues/62575
PR-URL: https://github.com/nodejs/node/pull/62579
Refs: https://github.com/nodejs/node/issues/62575
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
2026-04-10 20:40:01 +00:00
Rohan Santhosh Kumar
4c4c9e7a47
doc: fix spelling in release announcement guidance
...
PR-URL: https://github.com/nodejs/node/pull/62663
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-10 21:30:43 +02:00
Chengzhong Wu
ac618fc985
tools: add perfetto updater
...
PR-URL: https://github.com/nodejs/node/pull/62397
Refs: https://github.com/nodejs/diagnostics/issues/654
Refs: https://issues.chromium.org/issues/457135433
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2026-04-09 19:37:35 +00:00
Guilherme Araújo
f01f79ea7c
util: colorize text with hex colors
...
PR-URL: https://github.com/nodejs/node/pull/61556
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Claudio Wunder <cwunder@gnome.org >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2026-04-09 15:01:51 -04:00
Ilyas Shabi
f8b79a13bb
v8: add heap profile API
...
PR-URL: https://github.com/nodejs/node/pull/62273
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-04-09 14:26:14 +00:00
James M Snell
90e12f247c
quic: support multiple ALPN negotiation
...
Signed-off-by: James M Snell <jasnell@gmail.com >
Assisted-by: Opencode:Opus 4.6
PR-URL: https://github.com/nodejs/node/pull/62620
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-04-09 07:10:35 -07:00
James M Snell
6724cc65af
quic: apply multiple TLS context improvements and SNI support
...
Signed-off-by: James M Snell <jasnell@gmail.com >
Assisted-by: Opencode:Opus 4.6
PR-URL: https://github.com/nodejs/node/pull/62620
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-04-09 07:10:33 -07:00
Filip Skokan
e6ef4774c2
crypto: align key argument names in docs and error messages
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62527
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-04-09 08:10:14 +02:00
Filip Skokan
1b5dc9bbc5
crypto: accept key data in crypto.diffieHellman() and cleanup DH jobs
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62527
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-04-09 08:10:12 +02:00
Mert Can Altin
7b6a07220f
fs: add signal option to fs.stat()
...
PR-URL: https://github.com/nodejs/node/pull/57775
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Jason Zhang <xzha4350@gmail.com >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2026-04-09 04:24:41 +00:00
nabeel378
2f8063ea3c
doc: note non-monotonic clock in crypto.randomUUIDv7
...
Signed-off-by: nabeel378 <mohammadnabeeljameel@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62600
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-04-08 13:46:29 +00:00
Matteo Collina
ff08094866
doc: remove extensionless CJS exception for type:module packages
...
Remove the documented exception that extensionless files in
type: "module" packages are recognized as CommonJS when included
via require(). This exception conflicted with the ESM resolution
specification which states that extensionless files within a
package scope with an explicit type field follow the format of
the type field.
The behavior on main already matches the ESM spec since #61600 ,
this change aligns the CJS documentation accordingly.
Refs: https://github.com/nodejs/node/pull/61600
Refs: https://github.com/nodejs/node/pull/62083
PR-URL: https://github.com/nodejs/node/pull/62176
Refs: https://github.com/nodejs/node/pull/61600
Refs: https://github.com/nodejs/node/pull/62083
Refs: https://github.com/nodejs/node/issues/61971
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2026-04-08 08:50:21 +00:00
James M Snell
500c3a53e3
stream: add stream/iter to classic stream adapters
...
Signed-off-by: James M Snell <jasnell@gmail.com >
Assisted-by: Opencode/Opus 4.6
PR-URL: https://github.com/nodejs/node/pull/62469
Reviewed-By: Robert Nagy <ronagy@icloud.com >
2026-04-06 09:59:56 -07:00
nabeel378
dec597354b
crypto: implement randomUUIDv7()
...
Signed-off-by: nabeel378 <mohammadnabeeljameel@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62553
Fixes: https://github.com/nodejs/node/issues/62529
Refs: https://datatracker.ietf.org/doc/html/rfc9562#name-uuid-version-7
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
2026-04-05 10:12:21 +00:00
Tom Pereira
a3108ff65c
doc: document TransformStream transformer.cancel option
...
Add documentation for the `cancel` option of the `TransformStream`
transformer, which allows users to specify a callback that will be
called when the stream is canceled.
See: https://streams.spec.whatwg.org/#transformer-api
Fixes: https://github.com/nodejs/node/issues/62540
PR-URL: https://github.com/nodejs/node/pull/62566
Fixes: https://github.com/nodejs/node/issues/62540
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2026-04-04 20:17:43 +00:00
Akshat
bf1aebcc37
http: add req.signal to IncomingMessage
...
PR-URL: https://github.com/nodejs/node/pull/62541
Fixes: https://github.com/nodejs/node/issues/62481
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
2026-04-04 09:24:22 +00:00
James M Snell
c02bee3c61
meta: require DCO signoff in commit message guidelines
...
Apply suggestion from @jasnell
PR-URL: https://github.com/nodejs/node/pull/62510
Refs: https://github.com/nodejs/core-validate-commit/pull/141
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Ruy Adorno <ruy@vlt.sh >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2026-04-03 11:12:10 -07:00
Joyee Cheung
b411f90413
src: do not enable wasm trap handler if there's not enough vmem
...
PR-URL: https://github.com/nodejs/node/pull/62132
Refs: https://github.com/microsoft/vscode/issues/251777
Refs: https://chromium-review.googlesource.com/c/v8/v8/+/7638233
Reviewed-By: Aditi Singh <aditisingh1400@gmail.com >
2026-04-02 22:41:30 +00:00
Pietro Marchini
5ff1eab951
test_runner: support test order randomization
...
PR-URL: https://github.com/nodejs/node/pull/61747
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Aviv Keller <me@aviv.sh >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2026-04-02 16:55:11 +00:00
Antoine du Hamel
86282b56d2
2026-04-01, Version 25.9.0 (Current)
...
Notable changes:
async_hooks:
* (SEMVER-MINOR) add using scopes to `AsyncLocalStorage` (Stephen Belanger) https://github.com/nodejs/node/pull/61674
cli:
* (SEMVER-MINOR) add `--max-heap-size` option (tannal) https://github.com/nodejs/node/pull/58708
crypto:
* (SEMVER-MINOR) add TurboSHAKE and KangarooTwelve Web Cryptography algorithms (Filip Skokan) https://github.com/nodejs/node/pull/62183
repl:
* (SEMVER-MINOR) add customizable error handling (Anna Henningsen) https://github.com/nodejs/node/pull/62188
* (SEMVER-MINOR) remove dependency on `node:domain` (Matteo Collina) https://github.com/nodejs/node/pull/61227
sea:
* (SEMVER-MINOR) support code cache for ESM entrypoint in SEA (Joyee Cheung) https://github.com/nodejs/node/pull/62158
stream:
* (SEMVER-MINOR) add stream/iter Implementation (James M Snell) https://github.com/nodejs/node/pull/62066
test_runner:
* add exports option for module mocks (sangwook) https://github.com/nodejs/node/pull/61727
PR-URL: https://github.com/nodejs/node/pull/62522
2026-04-01 16:41:20 +02:00
Geoffrey Booth
0dfdec9542
module: runtime-deprecate module.register()
...
PR-URL: https://github.com/nodejs/node/pull/62401
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
2026-04-01 15:37:26 +02:00
Moshe Atlow
e0d2e1c148
doc: mention test runner retry attemp is zero based
...
PR-URL: https://github.com/nodejs/node/pull/62504
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
2026-04-01 11:29:56 +00:00
Moshe Atlow
cdc577484b
test_runner: add passed, attempt, and diagnostic to SuiteContext
...
PR-URL: https://github.com/nodejs/node/pull/62504
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
2026-04-01 11:29:56 +00:00
Moshe Atlow
c5a83ab77c
test_runner: add getTestContext()
...
PR-URL: https://github.com/nodejs/node/pull/62501
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2026-04-01 10:09:41 +00:00
Jinho Jang
f8ee196c15
fs: expose frsize field in statfs
...
Expose `f_frsize` from libuv's `uv_statfs_t` as `statfs.frsize`.
Per POSIX, `f_blocks`, `f_bfree`, and `f_bavail` are expressed in
units of `f_frsize`, not `f_bsize`. On most filesystems the two
values are typically equal, but some filesystem drivers report a
different `f_bsize`, making it impossible to compute accurate disk
usage without `frsize`.
Refs: https://github.com/libuv/libuv/issues/4983
PR-URL: https://github.com/nodejs/node/pull/62277
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day >
2026-03-31 20:51:44 +00:00
Stephen Belanger
cb78a7f484
diagnostics_channel: add BoundedChannel and scopes
...
PR-URL: https://github.com/nodejs/node/pull/61680
Reviewed-By: James M Snell <jasnell@gmail.com >
2026-03-31 19:04:24 +00:00
Geoffrey Booth
e9b5214d72
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-03-31 17:04:01 +02:00
Antoine du Hamel
f92c61fae2
doc: clarify that features cannot be both experimental and deprecated
...
PR-URL: https://github.com/nodejs/node/pull/62456
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2026-03-31 14:52:36 +00:00
lilianakatrina684-a11y
60f19bc089
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-03-31 12:34:32 +00:00
Filip Skokan
9df9b66c18
crypto: add support for Ed25519 context parameter
...
Signed-off-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/62474
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2026-03-31 08:09:36 +00:00
René
d587695292
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-03-31 00:56:55 +00:00
Filip Skokan
adac077484
crypto: runtime-deprecate DEP0203 and DEP0204
...
PR-URL: https://github.com/nodejs/node/pull/62453
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: Matteo Collina <matteo.collina@gmail.com >
2026-03-29 14:35:10 +00:00
Stephen Belanger
5b6091ce31
async_hooks: add using scopes to AsyncLocalStorage
...
Adds support for using scope = storage.withScope(data) to do
the equivalent of a storage.run(data, fn) with using syntax.
This enables avoiding unnecessary closures.
PR-URL: https://github.com/nodejs/node/pull/61674
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Bryan English <bryan@bryanenglish.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2026-03-28 20:53:57 +00:00