Antoine du Hamel
9ad070e43b
2025-04-01, Version 23.11.0 (Current)
...
Notable changes:
assert:
* (SEMVER-MINOR) implement partial error comparison (Ruben Bridgewater) https://github.com/nodejs/node/pull/57370
crypto:
* (SEMVER-MINOR) add optional callback to `crypto.diffieHellman` (Filip Skokan) https://github.com/nodejs/node/pull/57274
process:
* (SEMVER-MINOR) add `execve` (Paolo Insogna) https://github.com/nodejs/node/pull/56496
sqlite:
* (SEMVER-MINOR) add `StatementSync.prototype.columns()` (Colin Ihrig) https://github.com/nodejs/node/pull/57490
util:
* (SEMVER-MINOR) expose diff function used by the assertion errors (Giovanni Bucci) https://github.com/nodejs/node/pull/57462
PR-URL: https://github.com/nodejs/node/pull/57694
2025-04-01 11:25:03 +02:00
Michael Dawson
4ed1a098f5
doc: clarify behaviour of node-api adjust function
...
Refs: https://github.com/nodejs/node/pull/57351
- based on recent request to update one of the tests
Signed-off-by: Michael Dawson <midawson@redhat.com >
PR-URL: https://github.com/nodejs/node/pull/57463
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com >
2025-03-28 20:00:21 +01:00
Antoine du Hamel
921041b284
doc: remove Corepack documentation
...
PR-URL: https://github.com/nodejs/node/pull/57635
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-03-28 20:00:21 +01:00
Huáng Jùnliàng
99dbd8b391
doc: remove mention of --require not supporting ES modules
...
PR-URL: https://github.com/nodejs/node/pull/57620
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2025-03-28 20:00:21 +01:00
Antoine du Hamel
717c44dead
doc: make stability labels more consistent
...
PR-URL: https://github.com/nodejs/node/pull/57516
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2025-03-25 17:33:30 +01:00
Jonas
b4576a6f57
doc: remove cryptoStream API reference
...
PR-URL: https://github.com/nodejs/node/pull/57579
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2025-03-25 17:30:03 +01:00
Marcel Laverdet
2c4f894036
doc: module resolution pseudocode corrections
...
PR-URL: https://github.com/nodejs/node/pull/57080
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Guy Bedford <guybedford@gmail.com >
2025-03-23 11:42:43 +01:00
Colin Ihrig
e8d4a31d4b
sqlite: add support for unknown named parameters
...
This commit adds a method for toggling support for unknown named
parameters in prepared statements.
Fixes: https://github.com/nodejs/node/issues/55533
PR-URL: https://github.com/nodejs/node/pull/57552
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-03-23 11:42:43 +01:00
Paolo Insogna
f8aff90235
process: add execve
...
PR-URL: https://github.com/nodejs/node/pull/56496
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Bryan English <bryan@bryanenglish.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-03-23 11:42:43 +01:00
Antoine du Hamel
c45894f90c
doc: add history entry for DEP0190 in child_process.md
...
PR-URL: https://github.com/nodejs/node/pull/57544
Refs: https://github.com/nodejs/node/pull/57389
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2025-03-23 11:42:43 +01:00
Antoine du Hamel and =
c21068b696
doc: remove deprecated pattern in child_process.md
...
Co-authored-by: = <daniel.venable@proton.me >
PR-URL: https://github.com/nodejs/node/pull/57568
Refs: https://github.com/nodejs/node/pull/57389
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2025-03-23 11:42:43 +01:00
James M Snell
87e0dda352
doc: mark multiple experimental APIS as stable
...
* AsyncLocalStorage snapshot and bind APIs
* multiple web streams apis
* MIMEType API
* Transferable AbortSignal/Controller
PR-URL: https://github.com/nodejs/node/pull/57510
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2025-03-23 11:42:42 +01:00
Giovanni Bucci
1b8d1d3a3a
util: expose diff function used by the assertion errors
...
fix: https://github.com/nodejs/node/issues/51740
PR-URL: https://github.com/nodejs/node/pull/57462
Fixes: https://github.com/nodejs/node/issues/51740
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2025-03-23 11:07:43 +01:00
Colin Ihrig
5652da642d
sqlite: add DatabaseSync.prototype.isOpen
...
This commit adds a getter to indicate whether or not the database
is currently open.
Fixes: https://github.com/nodejs/node/issues/57521
PR-URL: https://github.com/nodejs/node/pull/57522
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2025-03-23 11:07:43 +01:00
Antoine du Hamel
176d951bd0
doc: deprecate passing args to spawn and execFile
...
PR-URL: https://github.com/nodejs/node/pull/57389
Refs: https://github.com/nodejs/node/pull/57199
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Jason Zhang <xzha4350@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-03-23 11:07:43 +01:00
Antoine du Hamel
5c05ba119b
doc: remove some inconsistencies in deprecations.md
...
PR-URL: https://github.com/nodejs/node/pull/57512
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Xuguang Mei <meixuguang@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2025-03-23 11:07:43 +01:00
Dario Piotrowicz
e28c723f24
doc: add node.js streams references to Web Streams doc
...
PR-URL: https://github.com/nodejs/node/pull/57393
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2025-03-23 11:07:42 +01:00
Colin Ihrig
5c976f16cd
sqlite: add DatabaseSync.prototype[Symbol.dispose]()
...
This commit adds support for the explicit resource management
proposal to the sqlite module.
Refs: https://github.com/nodejs/node/pull/53752#discussion_r1667750387
PR-URL: https://github.com/nodejs/node/pull/57506
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2025-03-23 11:07:42 +01:00
Colin Ihrig
4b04c92d7d
sqlite: add StatementSync.prototype.columns()
...
This commit adds a method for retrieving column metadata from
a prepared statement.
Fixes: https://github.com/nodejs/node/issues/57457
PR-URL: https://github.com/nodejs/node/pull/57490
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
2025-03-23 11:07:42 +01:00
Colin Ihrig
47296492ba
doc: replace NOTEs that do not render properly
...
This commit removes two NOTEs that render properly in the GitHub
web interface, but not on the Node.js docs website.
PR-URL: https://github.com/nodejs/node/pull/57484
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Xuguang Mei <meixuguang@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-03-23 11:07:42 +01:00
Eugenio Ceschia
52cd0954f9
cli: clarify --cpu-prof-name allowed values
...
Refs: https://github.com/nodejs/node/issues/57418
PR-URL: https://github.com/nodejs/node/pull/57433
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2025-03-22 23:23:24 +01:00
Filip Skokan
053cef70e0
crypto: add optional callback to crypto.diffieHellman
...
PR-URL: https://github.com/nodejs/node/pull/57274
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2025-03-18 11:16:12 +01:00
Allon Murienik and Lawlight
2a5fcb2172
doc: fix typo in url.md
...
"objg" -> "obj" in `URLPattern` constructor documentation.
Fixes: https://github.com/nodejs/node/issues/57464
PR-URL: https://github.com/nodejs/node/pull/57467
Co-authored-by: Lawlight <lawlight02@protonmail.com >
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com >
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2025-03-18 11:16:12 +01:00
Darshan Sen
17ccf9282f
doc: add history info for --use-system-ca
...
These are the PRs for --use-system-ca:
- initial implementation of the option with just macOS support
https://github.com/nodejs/node/pull/56599 landed in v23.8.0.
- Windows support https://github.com/nodejs/node/pull/56833
landed in v23.8.0
- non-Windows and non-macOS support
https://github.com/nodejs/node/pull/57009 landed in v23.9.0
This change documents the history info.
Signed-off-by: Darshan Sen <raisinten@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/57432
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2025-03-18 11:16:12 +01:00
Darshan Sen
9adaaeb965
doc: remove typo YAML snippet from tls.getCACertificates doc
...
Noticed it while going through
https://github.com/nodejs/node/pull/57107/files#diff-6114e55c49ec9bc0edc33830f7770a335a46373a84b8372957c387d88a23b7deR2399 ,
so thought of removing it.
Signed-off-by: Darshan Sen <raisinten@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/57459
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-03-18 11:16:12 +01:00
Tobias Nießen
ee4e855f8e
doc: fix typo in sqlite.md
...
PR-URL: https://github.com/nodejs/node/pull/57473
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-03-18 11:16:11 +01:00
Yukihiro Hasegawa
ca67145d60
doc: add missing deprecated badges in fs.md
...
PR-URL: https://github.com/nodejs/node/pull/57384
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-03-18 11:16:10 +01:00
Felix Rieseberg
3687390510
doc: fix small typo in process.md
...
PR-URL: https://github.com/nodejs/node/pull/57333
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-03-18 11:16:10 +01:00
Ruben Bridgewater
f694d7de0e
assert: improve partialDeepStrictEqual
...
This significantly improves the assert.partialDeepStrictEqual
implementation by reusing the already existing algorithm.
It is significantly faster and handles edge cases like symbols
identical as the deepStrictEqual algorithm. This is crucial to
remove the experimental status from the implementation.
PR-URL: https://github.com/nodejs/node/pull/57370
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
2025-03-18 11:14:10 +01:00
Aditi
3cff7f80bb
src: suggest --use-system-ca when a certificate error occurs
...
PR-URL: https://github.com/nodejs/node/pull/57362
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2025-03-18 11:14:10 +01:00
Node.js GitHub Bot
39e295dca5
2025-03-13, Version 23.10.0 (Current)
...
Notable changes:
config:
* (SEMVER-MINOR) add config file support (Marco Ippolito) https://github.com/nodejs/node/pull/57016
* (SEMVER-MINOR) set default config as `node.config.json` (Marco Ippolito) https://github.com/nodejs/node/pull/57171
crypto:
* update root certificates to NSS 3.108 (Node.js GitHub Bot) https://github.com/nodejs/node/pull/57381
doc:
* add geeksilva97 to collaborators (Edy Silva) https://github.com/nodejs/node/pull/57241
src:
* (SEMVER-MINOR) create `THROW_ERR_OPTIONS_BEFORE_BOOTSTRAPPING` (Marco Ippolito) https://github.com/nodejs/node/pull/57016
test_runner:
* (SEMVER-MINOR) change ts default glob (Marco Ippolito) https://github.com/nodejs/node/pull/57359
tls:
* (SEMVER-MINOR) implement `tls.getCACertificates()` (Joyee Cheung) https://github.com/nodejs/node/pull/57107
v8:
* (SEMVER-MINOR) add `v8.getCppHeapStatistics()` method (Aditi) https://github.com/nodejs/node/pull/57146
PR-URL: https://github.com/nodejs/node/pull/57424
2025-03-13 11:04:09 +01:00
Deokjin Kim
1c271b162b
doc: make first parameter optional in util.getCallSites
...
`frameCount` is optional because its default value is 10.
And change parameter name from `frameCountOrOptions` to
`frameCount` because it's described as `frameCount` in
below description.
PR-URL: https://github.com/nodejs/node/pull/57387
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Jason Zhang <xzha4350@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com >
2025-03-11 19:42:08 +01:00
Timo Kössler
77668fffec
doc: fix usage of module.registerSync in comment
...
PR-URL: https://github.com/nodejs/node/pull/57328
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-03-11 19:42:07 +01:00
Filip Skokan
d44ccb319c
doc: revise webcrypto.md types, interfaces, and added versions
...
PR-URL: https://github.com/nodejs/node/pull/57376
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2025-03-11 19:42:06 +01:00
Marco Ippolito
5054fc7941
test_runner: change ts default glob
...
PR-URL: https://github.com/nodejs/node/pull/57359
Fixes: https://github.com/nodejs/node/issues/56546
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2025-03-11 19:40:08 +01:00
Steven
792ef16921
doc: revise tsconfig.json note
...
PR-URL: https://github.com/nodejs/node/pull/57353
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
2025-03-11 19:40:07 +01:00
Dario Piotrowicz
5e51c62569
src: fix process exit listeners not receiving unsettled tla codes
...
fix listeners registered via `process.on('exit', ...` not receiving
error code 13 when an unsettled top-level-await is encountered in
the code
PR-URL: https://github.com/nodejs/node/pull/56872
Fixes: https://github.com/nodejs/node/issues/53551
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-03-11 19:40:07 +01:00
Marco Ippolito
274c18a365
src: set default config as node.config.json
...
PR-URL: https://github.com/nodejs/node/pull/57171
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2025-03-11 19:38:12 +01:00
Marco Ippolito
433657de8c
src: namespace config file flags
...
PR-URL: https://github.com/nodejs/node/pull/57170
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
2025-03-11 19:37:42 +01:00
Marco Ippolito
d8937f1742
src: create THROW_ERR_OPTIONS_BEFORE_BOOTSTRAPPING
...
PR-URL: https://github.com/nodejs/node/pull/57016
Refs: https://github.com/nodejs/node/issues/53787
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Tierney Cyren <hello@bnb.im >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
2025-03-11 19:32:46 +01:00
Marco Ippolito
9fd217daa9
src: add config file support
...
PR-URL: https://github.com/nodejs/node/pull/57016
Refs: https://github.com/nodejs/node/issues/53787
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Tierney Cyren <hello@bnb.im >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
2025-03-11 19:31:38 +01:00
ikuma-t
4e438c3fa3
doc: use more clear name in getSystemErrorMessage's example
...
In the previous example, `name` actually points to the `message`.
So I changed this name to fit the context of the example.
Fixes: https://github.com/nodejs/node/issues/57305
PR-URL: https://github.com/nodejs/node/pull/57310
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
2025-03-09 11:38:43 +01:00
Steven
5c9f1a40e4
doc: recommend setting noEmit: true in tsconfig.json
...
PR-URL: https://github.com/nodejs/node/pull/57320
Fixes: https://github.com/nodejs/node/issues/57294
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2025-03-09 11:38:43 +01:00
Joyee Cheung
75f11ae1cc
tls: implement tls.getCACertificates()
...
To accompany --use-system-ca, this adds a new API that allows
querying various kinds of CA certificates.
- If the first argument `type` is `"default"` or undefined,
it returns the CA certificates that will be used by Node.js
TLS clients by default, which includes the Mozilla CA
if --use-bundled-ca is enabled or --use-openssl-ca is not
enabled, and the system certificates if --use-system-ca
is enabled, and the extra certificates if NODE_EXTRA_CA_CERTS
is used.
- If `type` is `"system"` this returns the system certificates,
regardless of whether --use-system-ca is enabeld or not.
- If `type` is `"bundled"` this is the same as `tls.rootCertificates`
and returns the Mozilla CA certificates.
- If `type` is `"extra"` this returns the certificates parsed
from the path specified by NODE_EXTRA_CA_CERTS.
Drive-by: remove the inaccurate description in `tls.rootCertificates`
about including system certificates, since it in fact does not include
them, and also it is contradicting the previous description about
`tls.rootCertificates` always returning the Mozilla CA store and
staying the same across platforms.
PR-URL: https://github.com/nodejs/node/pull/57107
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-03-09 11:38:42 +01:00
Chengzhong Wu
3fe8eac0ba
doc: update node-api version matrix
...
PR-URL: https://github.com/nodejs/node/pull/57287
Fixes: https://github.com/nodejs/node/issues/57284
Refs: https://github.com/nodejs/node/pull/55676
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2025-03-09 11:38:41 +01:00
Antoine du Hamel
984f7ef5bd
readline: add support for Symbol.dispose
...
PR-URL: https://github.com/nodejs/node/pull/57276
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com >
2025-03-09 11:38:41 +01:00
Aditi
a22c21ceb8
v8: add v8.getCppHeapStatistics() method
...
Expose `CppHeap` data via
`cppgc::CppHeap::CollectStatistics()` in the v8 module.
PR-URL: https://github.com/nodejs/node/pull/57146
Fixes: https://github.com/nodejs/node/issues/56533
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-03-09 11:38:40 +01:00
Rob Palmer
d2f49e7fcf
doc: recommend erasableSyntaxOnly in ts docs
...
TypeScript 5.8 is now released which adds a new tsconfig flag that
aligns with Node's default behavior.
https://www.typescriptlang.org/tsconfig/#erasableSyntaxOnly
Two weeks ago this options was added to the recommended TSConfig for
Node which resides in the tsconfig/bases project.
https://github.com/tsconfig/bases/blob/main/bases/node-ts.json
PR-URL: https://github.com/nodejs/node/pull/57271
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Qingyu Deng <i@ayase-lab.com >
2025-03-09 11:38:40 +01:00
Eric Fortis
03844d99f8
doc: clarify path.isAbsolute is not path traversal mitigation
...
PR-URL: https://github.com/nodejs/node/pull/57073
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2025-03-09 11:38:38 +01:00
David Sanders
0f8cd32986
doc: fix rendering of DEP0174 description
...
PR-URL: https://github.com/nodejs/node/pull/56835
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-03-09 10:58:49 +01:00