Node.js GitHub Bot
5576deccc3
2025-07-09, Version 24.4.0 (Current)
...
Notable changes:
crypto:
* (SEMVER-MINOR) support outputLength option in crypto.hash for XOF functions (Aditi) https://github.com/nodejs/node/pull/58121
doc:
* (SEMVER-MINOR) add all watch-mode related flags to node.1 (Dario Piotrowicz) https://github.com/nodejs/node/pull/58719
fs:
* (SEMVER-MINOR) add disposable mkdtempSync (Kevin Gibbons) https://github.com/nodejs/node/pull/58516
permission:
* (SEMVER-MINOR) propagate permission model flags on spawn (Rafael Gonzaga) https://github.com/nodejs/node/pull/58853
sqlite:
* (SEMVER-MINOR) add support for readBigInts option in db connection level (Miguel Marcondes Filho) https://github.com/nodejs/node/pull/58697
src,permission:
* (SEMVER-MINOR) add support to permission.has(addon) (Rafael Gonzaga) https://github.com/nodejs/node/pull/58951
watch:
* (SEMVER-MINOR) add `--watch-kill-signal` flag (Dario Piotrowicz) https://github.com/nodejs/node/pull/58719
PR-URL: https://github.com/nodejs/node/pull/58993
2025-07-08 10:48:24 -04:00
Aditi and Filip Skokan
22b60e8a57
crypto: support outputLength option in crypto.hash for XOF functions
...
Support `outputLength` option in crypto.hash() for XOF hash
functions to align with the behaviour of crypto.createHash()
API
closes: https://github.com/nodejs/node/issues/57312
Co-authored-by: Filip Skokan <panva.ip@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/58121
Fixes: https://github.com/nodejs/node/issues/57312
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2025-07-08 11:44:44 -03:00
Juan José
921b563999
doc: remove broken link to permission model source code
...
The permission model grew enough to be splited into multiple files, the
link in the md file is broken. And as it is not part of a single file,
the best way to fix this is just remove the link, many APIs in Node.js
does not have the source code linked, this is not bad for our docs.
Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/58972
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-07-08 11:44:43 -03:00
toyobayashi
839b25e371
lib: expose setupInstance method on WASI class
...
PR-URL: https://github.com/nodejs/node/pull/57214
Reviewed-By: Guy Bedford <guybedford@gmail.com >
2025-07-08 11:44:43 -03:00
Kevin Gibbons
87f4d078b3
fs: add disposable mkdtempSync
...
PR-URL: https://github.com/nodejs/node/pull/58516
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: LiviaMedeiros <livia@cirno.name >
2025-07-08 11:16:19 -03:00
Antoine du Hamel
ab834a8b94
doc: mark stability markers consistent in globals.md
...
PR-URL: https://github.com/nodejs/node/pull/58932
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-07-08 11:16:18 -03:00
Filip Skokan
77712ae2a1
crypto: fix SHAKE128/256 breaking change introduced with OpenSSL 3.4
...
Reverts: https://github.com/nodejs/node/pull/56160
Fixes: https://github.com/nodejs/node/issues/56159
Fixes: https://github.com/nodejs/node/issues/58913
Refs: https://github.com/nodejs/node/pull/58121
PR-URL: https://github.com/nodejs/node/pull/58942
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2025-07-08 11:16:18 -03:00
Antoine du Hamel
8d4f6a0016
doc: move "Core Promise APIs" to "Completed initiatives"
...
PR-URL: https://github.com/nodejs/node/pull/58934
Fixes: https://github.com/nodejs/TSC/issues/1094
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: LiviaMedeiros <livia@cirno.name >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2025-07-08 11:16:18 -03:00
Antoine du Hamel
94725fced5
doc: fix fetch subsections in globals.md
...
PR-URL: https://github.com/nodejs/node/pull/58933
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2025-07-08 11:16:18 -03:00
Antoine du Hamel
a7a4870014
doc: add missing Class: mentions
...
PR-URL: https://github.com/nodejs/node/pull/58931
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ilyas Shabi <ilyasshabi94@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2025-07-08 11:16:18 -03:00
Antoine du Hamel
adb950cde2
tools,doc: move more MDN links to types
...
PR-URL: https://github.com/nodejs/node/pull/58930
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Claudio Wunder <cwunder@gnome.org >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2025-07-08 11:16:17 -03:00
Michael Dawson
98f29fa2fd
doc: remove myself from security steward rotation
...
Signed-off-by: Michael Dawson <midawson@redhat.com >
PR-URL: https://github.com/nodejs/node/pull/58927
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Richard Lau <richard.lau@ibm.com >
Reviewed-By: Ruy Adorno <ruy@vlt.sh >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2025-07-08 11:16:17 -03:00
Rafael Gonzaga
9623c50b53
permission: propagate permission model flags on spawn
...
Previously, only child_process.fork propagated the exec
arguments (execvArgs) to the child process.
This commit adds support for spawn and spawnSync to
propagate permission model flags — except when they are
already provided explicitly via arguments or through
NODE_OPTIONS.
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com >
PR-URL: https://github.com/nodejs/node/pull/58853
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2025-07-03 10:55:39 +02:00
Chengzhong Wu
9ff81d21ed
doc: update vm doc links
...
Synthetic Module Record is defined in the ECMA262. Link indirect eval
calls to MDN with rich examples.
PR-URL: https://github.com/nodejs/node/pull/58885
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
2025-07-03 10:52:37 +02:00
Vas Sudanagunta
ff2efd266d
doc: fix links in test.md
...
Links explaining the various target file-related `run([options])`
pointed to the wrong section.
PR-URL: https://github.com/nodejs/node/pull/58876
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
2025-07-03 10:52:36 +02:00
ronijames008
5e854e1f61
doc: add missing comma in child_process.md
...
Adds a comma after "blocks" in a sentence explaining how subprocesses
may pause when the pipe buffer is full. This improves readability and
clarifies the meaning of the sentence, preventing misinterpretation of
"blocks waiting" as a compound phrase.
No functional code is affected.
PR-URL: https://github.com/nodejs/node/pull/58862
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-07-03 10:52:34 +02:00
James M Snell
48f5d6d686
doc: add guidelines for introduction of ERM support
...
PR-URL: https://github.com/nodejs/node/pull/58526
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: LiviaMedeiros <livia@cirno.name >
2025-07-03 10:52:34 +02:00
Dario Piotrowicz
80dec9849d
doc: add all watch-mode related flags to node.1
...
PR-URL: https://github.com/nodejs/node/pull/58719
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2025-07-03 10:52:34 +02:00
Dario Piotrowicz
fe17f5d285
watch: add --watch-kill-signal flag
...
add the new `--watch-kill-signal` to allow users to customize
what signal is sent to the process on restarts during watch mode
PR-URL: https://github.com/nodejs/node/pull/58719
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2025-07-03 10:52:33 +02:00
Chengzhong Wu
a1f4333695
vm: expose import phase on SourceTextModule.moduleRequests
...
PR-URL: https://github.com/nodejs/node/pull/58829
Refs: https://github.com/nodejs/node/issues/37648
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2025-07-03 10:52:33 +02:00
Michael Henrique
cebb93ea12
doc: add array type in http request headers
...
Document that the headers option in http.request() can be either an
object or an array of strings, similar to message.rawHeaders.
PR-URL: https://github.com/nodejs/node/pull/58049
Fixes: https://github.com/nodejs/node/issues/57986
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
2025-07-03 10:52:31 +02:00
Aviv Keller
6e6b373da1
doc: add missing colon to headers in globals.md
...
PR-URL: https://github.com/nodejs/node/pull/58825
Reviewed-By: Ryuhei Shima <shimaryuhei@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
2025-07-03 10:52:31 +02:00
Antoine du Hamel
1519b75191
doc: fix stream.md section order
...
For some reason, `stream.isErrored` and `stream.isReadable` sections
were in between `stream.Readable` static methods sections.
PR-URL: https://github.com/nodejs/node/pull/58811
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-07-03 10:52:29 +02:00
Miguel Marcondes Filho
797ec4da04
sqlite: add support for readBigInts option in db connection level
...
PR-URL: https://github.com/nodejs/node/pull/58697
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Daniel Lemire <daniel@lemire.me >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
2025-07-03 10:50:10 +02:00
RafaelGSS
7419750419
2025-06-24, Version 24.3.0 (Current)
...
Notable changes:
doc:
* add islandryu to collaborators (Shima Ryuhei) https://github.com/nodejs/node/pull/58714
fs:
* (SEMVER-MINOR) allow correct handling of burst in fs-events with AsyncIterator (Philipp Dunkel) https://github.com/nodejs/node/pull/58490
module:
* (SEMVER-MINOR) remove experimental warning from type stripping (Marco Ippolito) https://github.com/nodejs/node/pull/58643
test:
* fix test-timeout-flag after revert of auto subtest wait (Pietro Marchini) https://github.com/nodejs/node/pull/58282
test_runner:
* (SEMVER-MINOR) support object property mocking (Idan Goshen) https://github.com/nodejs/node/pull/58438
url:
* (SEMVER-MINOR) add fileURLToPathBuffer API (James M Snell) https://github.com/nodejs/node/pull/58700
PR-URL: https://github.com/nodejs/node/pull/58813
2025-06-24 15:48:53 -03:00
Romain Menke
dce1995c55
Revert "test_runner: remove promises returned by t.test()"
...
This reverts commit 1a2eb15bc6 .
PR-URL: https://github.com/nodejs/node/pull/58282
Fixes: https://github.com/nodejs/node/issues/58227
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: LiviaMedeiros <livia@cirno.name >
2025-06-23 12:22:48 -03:00
Romain Menke
8b0c5edbb6
Revert "test_runner: remove promises returned by test()"
...
This reverts commit 96718268fe .
PR-URL: https://github.com/nodejs/node/pull/58282
Fixes: https://github.com/nodejs/node/issues/58227
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: LiviaMedeiros <livia@cirno.name >
2025-06-23 12:22:48 -03:00
René
96c78d726c
fs: make Dir disposers idempotent
...
PR-URL: https://github.com/nodejs/node/pull/58692
Refs: https://github.com/nodejs/node/pull/58206
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-06-23 12:17:01 -03:00
Deokjin Kim
e2e88d4971
doc: fix wrong RFC number in http2
...
Priority signaling was deprecated in RFC 9113(not 1993).
Refs: https://github.com/nodejs/node/pull/58313
PR-URL: https://github.com/nodejs/node/pull/58753
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
2025-06-23 12:17:00 -03:00
Chengzhong Wu
be93091694
inspector: add protocol methods retrieving sent/received data
...
Add protocol method `Network.dataSent` to buffer request data. And
expose protocol methods `Network.getRequestPostData` and
`Network.getResponseBody` allowing devtool to retrieve buffered data.
PR-URL: https://github.com/nodejs/node/pull/58645
Reviewed-By: Ryuhei Shima <shimaryuhei@gmail.com >
2025-06-23 12:17:00 -03:00
Antoine du Hamel
7bb1246c8f
doc: add history entry for TS support in hooks
...
PR-URL: https://github.com/nodejs/node/pull/58732
Refs: https://github.com/nodejs/node/pull/56350
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-06-23 12:11:07 -03:00
James M Snell
ef0230abaf
url: add fileURLToPathBuffer API
...
The existing `fileURLToPath()` does not handle the case
where the input URL contains percent-encoded characters
that are not valid UTF-8 sequences. This can lead to
issues, for instance, when the URL is constructed
using file names in non-Unicode encodings (like
Shift-JIS). This commit introduces a new API,
`fileURLToPathBuffer()`, which returns a `Buffer`
representing the path, allowing for accurate
conversion of file URLs to paths without attempting
to decode the percent-encoded bytes into characters.
PR-URL: https://github.com/nodejs/node/pull/58700
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: LiviaMedeiros <livia@cirno.name >
2025-06-16 08:52:17 +02:00
Jiacai Liu
1cc77c7ee6
doc: punctuation fix for Node-API versioning clarification
...
PR-URL: https://github.com/nodejs/node/pull/58599
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-06-16 08:51:13 +02:00
Darshan Sen
b1f60d2f18
http2: add diagnostics channel 'http2.server.stream.close'
...
Signed-off-by: Darshan Sen <raisinten@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/58602
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2025-06-16 08:51:11 +02:00
Marco Ippolito
9b28f40834
module: remove experimental warning from type stripping
...
PR-URL: https://github.com/nodejs/node/pull/58643
Refs: https://github.com/nodejs/typescript/issues/24
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2025-06-16 08:51:10 +02:00
Philipp Dunkel
839964ece8
fs: allow correct handling of burst in fs-events with AsyncIterator
...
PR-URL: https://github.com/nodejs/node/pull/58490
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2025-06-16 08:51:09 +02:00
Idan Goshen
713fbad7b6
test_runner: support object property mocking
...
PR-URL: https://github.com/nodejs/node/pull/58438
Fixes: https://github.com/nodejs/node/issues/58322
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2025-06-16 08:51:07 +02:00
0hm☘️
d59680348e
doc: add path rules and validation for export targets in package.json
...
PR-URL: https://github.com/nodejs/node/pull/58604
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2025-06-16 08:51:06 +02:00
Node.js GitHub Bot
591ba692bf
2025-06-09, Version 24.2.0 (Current)
...
Notable changes:
doc:
* add Filip Skokan to TSC (Rafael Gonzaga) https://github.com/nodejs/node/pull/58499
* deprecate `util.isNativeError` in favor of `Error.isError` (Miguel Marcondes Filho) https://github.com/nodejs/node/pull/58262
* deprecate passing an empty string to `options.shell` (Antoine du Hamel) https://github.com/nodejs/node/pull/58564
* deprecate HTTP/2 priority signaling (Matteo Collina) https://github.com/nodejs/node/pull/58313
* (SEMVER-MINOR) graduate `Symbol.dispose`/`asyncDispose` from experimental (James M Snell) https://github.com/nodejs/node/pull/58467
esm:
* (SEMVER-MINOR) implement import.meta.main (Joe) https://github.com/nodejs/node/pull/57804
fs:
* (SEMVER-MINOR) add `autoClose` option to `FileHandle` `readableWebStream` (James M Snell) https://github.com/nodejs/node/pull/58548
http:
* deprecate instantiating classes without new (Yagiz Nizipli) https://github.com/nodejs/node/pull/58518
http2:
* (SEMVER-MINOR) add diagnostics channel 'http2.server.stream.finish' (Darshan Sen) https://github.com/nodejs/node/pull/58560
* (SEMVER-MAJOR) remove support for priority signaling (Matteo Collina) https://github.com/nodejs/node/pull/58293
lib:
* (SEMVER-MINOR) graduate error codes that have been around for years (James M Snell) https://github.com/nodejs/node/pull/58541
perf_hooks:
* (SEMVER-MINOR) make event loop delay histogram disposable (James M Snell) https://github.com/nodejs/node/pull/58384
src:
* (SEMVER-MINOR) support namespace options in configuration file (Pietro Marchini) https://github.com/nodejs/node/pull/58073
permission:
* implicit allow-fs-read to app entrypoint (Rafael Gonzaga) https://github.com/nodejs/node/pull/58579
test:
* (SEMVER-MINOR) add disposable histogram test (James M Snell) https://github.com/nodejs/node/pull/58384
* (SEMVER-MINOR) add test for async disposable worker thread (James M Snell) https://github.com/nodejs/node/pull/58385
util:
* (SEMVER-MINOR) add 'none' style to styleText (James M Snell) https://github.com/nodejs/node/pull/58437
worker:
* (SEMVER-MINOR) make Worker async disposable (James M Snell) https://github.com/nodejs/node/pull/58385
PR-URL: https://github.com/nodejs/node/pull/58635
2025-06-09 15:36:15 +02:00
Chengzhong Wu
d2f6c82c0f
doc,lib: update source map links to ECMA426
...
PR-URL: https://github.com/nodejs/node/pull/58597
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-06-08 19:32:15 +02:00
Miguel Marcondes Filho
984894b38c
doc: deprecate utilisNativeError in favor of ErrorisError
...
PR-URL: https://github.com/nodejs/node/pull/58262
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: LiviaMedeiros <livia@cirno.name >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
2025-06-08 19:32:15 +02:00
Matteo Collina and Antoine du Hamel
0b987e5741
http2: remove support for priority signaling
...
Signed-off-by: Matteo Collina <hello@matteocollina.com >
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
Refs: https://datatracker.ietf.org/doc/html/rfc9113#section-5.3.1
PR-URL: https://github.com/nodejs/node/pull/58293
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2025-06-07 18:07:35 +02:00
Rafael Gonzaga
d6ea36ad6c
src,permission: implicit allow-fs-read to app entrypoint
...
This commit automatically includes in the allow-fs-read
list all the app's entrypoints.
`--require` and user entry point
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com >
PR-URL: https://github.com/nodejs/node/pull/58579
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2025-06-07 18:07:18 +02:00
Pietro Marchini
8ea1fc5f3b
src: support namespace options in configuration file
...
PR-URL: https://github.com/nodejs/node/pull/58073
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Giovanni Bucci <github@puskin.it >
Reviewed-By: Daniel Lemire <daniel@lemire.me >
2025-06-07 10:24:14 +02:00
James M Snell
33a69ff9e4
doc: update metadata for _transformState deprecation
...
It seems that the deprecated `_transformState` property was removed
at some point in the past but the deprecation metadata was not
updated accordingly.
PR-URL: https://github.com/nodejs/node/pull/58530
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-06-06 07:57:39 +02:00
Carlos Fuentes
44ca874b2c
http2: add lenient flag for RFC-9113
...
PR-URL: https://github.com/nodejs/node/pull/58116
Reviewed-By: Tim Perry <pimterry@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2025-06-06 07:57:38 +02:00
Antoine du Hamel and Renegade334
d261274b0f
doc: deprecate passing an empty string to options.shell
...
Co-authored-by: Renegade334 <contact.9a5d6388@renegade334.me.uk >
PR-URL: https://github.com/nodejs/node/pull/58564
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-06-06 07:57:38 +02:00
James M Snell
6f4c9dd423
fs: add autoClose option to FileHandle readableWebStream
...
By default, the `readableWebStream` method of `FileHandle` returns
a ReadableStream that, when finished, does not close the underlying
FileHandle. This can lead to issues if the stream is consumed
without having a reference to the FileHandle to close after use.
This commit adds an `autoClose` option to the `readableWebStream`
method, which, when set to `true`, will automatically close the
FileHandle when the stream is finished or canceled.
The test modified in this commit demonstrates one of the cases where
this is necessary in that the stream is consumed by separate code than
the FileHandle which was being left to close the underlying fd when
it is garbage collected, which is a deprecated behavior.
PR-URL: https://github.com/nodejs/node/pull/58548
Reviewed-By: LiviaMedeiros <livia@cirno.name >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2025-06-06 07:57:03 +02:00
Jacob Smith
447ca11010
doc: correct formatting of example definitions for --test-shard
...
PR-URL: https://github.com/nodejs/node/pull/58571
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-06-06 07:57:03 +02:00
Darshan Sen
0234a8ef53
http2: add diagnostics channel 'http2.server.stream.finish'
...
Signed-off-by: Darshan Sen <raisinten@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/58560
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2025-06-06 07:57:02 +02:00