287 Commits
Author SHA1 Message Date
Antoine du Hamel f9d4e07faf doc: remove version from maintaining-dependencies.md
Those create unreasonable maintenance burden as updating one dependency
will conflict with another one. It's unclear we get much value out from
duplicating this information in this document, so this commit removes it

PR-URL: https://github.com/nodejs/node/pull/51195
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
2024-01-02 15:05:23 -03:00
Gabriel Schulhof b2135ae7dc node-api: segregate nogc APIs from rest via type system
We define a new type called `node_api_nogc_env` as the `const` version
of `napi_env` and `node_api_nogc_finalize` as a variant of
`napi_finalize` that accepts a `node_api_nogc_env` as its first
argument.

We then modify those APIs which do not affect GC state as accepting a
`node_api_nogc_env`. APIs accepting finalizer callbacks are modified to
accept `node_api_nogc_finalize` callbacks. Thus, the only way to attach
a `napi_finalize` callback, wherein Node-APIs affecting GC state may be
called is to call `node_api_post_finalizer` from a
`node_api_nogc_finalize` callback.

In keeping with the process of introducing new Node-APIs, this feature
is guarded by `NAPI_EXPERIMENTAL`. Since this feature modifies APIs
already marked as stable, it is additionally guared by
`NODE_API_EXPERIMENTAL_NOGC_ENV`, so as to provide a further buffer to
adoption. Nevertheless, both guards must be removed upon releasing a
new version of Node-API.

PR-URL: https://github.com/nodejs/node/pull/50060
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
2024-01-02 15:05:23 -03:00
Marco Ippolito 2c227b0d64 doc: fix simdjson wrong link
PR-URL: https://github.com/nodejs/node/pull/51177
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2024-01-02 15:05:22 -03:00
Node.js GitHub Bot e2f8d741c8 deps: update zlib to 1.3.0.1-motley-dd5fc13
PR-URL: https://github.com/nodejs/node/pull/51105
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
2024-01-02 15:05:22 -03:00
Gabriel Schulhof 5f95dca638 node-api: introduce experimental feature flags
Add a flag for each experimental feature to indicate its presence.
That way, if we compile with `NAPI_EXPERIMENTAL` turned on, we'll be
able to distinguish between what `NAPI_EXPERIMENTAL` used to mean on an
old version of the headers when compiling against such an old version,
and what it means on a new version of Node.js.

PR-URL: https://github.com/nodejs/node/pull/50991
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2023-12-15 15:26:22 -03:00
Yagiz Nizipli 429fbb37c1 deps: update simdjson to v3.6.2
PR-URL: https://github.com/nodejs/node/pull/50986
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
2023-12-15 15:26:22 -03:00
Node.js GitHub Bot 9950103253 deps: update zlib to 1.3-22124f5
PR-URL: https://github.com/nodejs/node/pull/50910
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
2023-12-15 15:26:22 -03:00
Node.js GitHub Bot 0b61823e8b deps: update undici to 5.28.2
PR-URL: https://github.com/nodejs/node/pull/51024
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2023-12-15 15:26:21 -03:00
Node.js GitHub Bot 06038a489e deps: update libuv to 1.47.0
deps: update libuv to 1.47.0
PR-URL: https://github.com/nodejs/node/pull/50650
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2023-12-15 15:26:21 -03:00
Yagiz Nizipli 0dd53da722 deps: add simdjson
PR-URL: https://github.com/nodejs/node/pull/50322
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
2023-12-15 15:26:18 -03:00
Node.js GitHub Bot d7c562ae38 deps: update googletest to 76bb2af
PR-URL: https://github.com/nodejs/node/pull/50555
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
2023-12-04 11:15:06 +01:00
Node.js GitHub Bot 59a45ddbef deps: update googletest to b10fad3
PR-URL: https://github.com/nodejs/node/pull/50555
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
2023-12-04 11:15:06 +01:00
Node.js GitHub Bot 099ebdb781 deps: update undici to 5.28.1
PR-URL: https://github.com/nodejs/node/pull/50975
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
2023-12-04 11:15:05 +01:00
Rafael Gonzaga b7036f2028 doc: add procedure when CVEs don't get published
This was the workaround provided by HackerOne team

PR-URL: https://github.com/nodejs/node/pull/50945
Refs: https://github.com/nodejs/security-wg/issues/1058
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2023-12-04 11:15:03 +01:00
Node.js GitHub Bot 4b1bed04f7 deps: update undici to 5.28.0
PR-URL: https://github.com/nodejs/node/pull/50915
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2023-12-04 11:15:03 +01:00
Dima Demakov 2f13db475e doc: make theme consistent across api and other docs
Since website based on 2 different repos, there was an inconsistency
in theme selection, so we had 2 independant theme props.
Now only one stored in local storage is a single source of truth

PR-URL: https://github.com/nodejs/node/pull/50877
Reviewed-By: Claudio Wunder <cwunder@gnome.org>
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
2023-11-29 09:46:37 -03:00
Antoine du Hamel 8c4976b732 doc: add a section regarding instanceof in primordials.md
PR-URL: https://github.com/nodejs/node/pull/50874
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2023-11-29 09:46:36 -03:00
Node.js GitHub Bot 8d3a1d8911 deps: update zlib to 1.2.13.1-motley-5daffc7
PR-URL: https://github.com/nodejs/node/pull/50803
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2023-11-29 09:46:36 -03:00
Node.js GitHub Bot c31ad5ceaa deps: update icu to 74.1
PR-URL: https://github.com/nodejs/node/pull/50515
Reviewed-By: Steven R Loomis <srl295@gmail.com>
Reviewed-By: LiviaMedeiros <livia@cirno.name>
2023-11-29 09:46:34 -03:00
Node.js GitHub Bot 3ff2bda34e deps: update ada to 2.7.4
PR-URL: https://github.com/nodejs/node/pull/50815
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
2023-11-29 09:46:34 -03:00
Node.js GitHub Bot 221f02df6d deps: update undici to 5.27.2
PR-URL: https://github.com/nodejs/node/pull/50813
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2023-11-29 09:46:33 -03:00
Node.js GitHub Bot a0c01b23b4 deps: update simdutf to 4.0.4
PR-URL: https://github.com/nodejs/node/pull/50772
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2023-11-29 09:46:29 -03:00
Node.js GitHub Bot 5073a3e16d deps: update base64 to 0.5.1
PR-URL: https://github.com/nodejs/node/pull/50629
Fixes: https://github.com/nodejs/node/issues/50561
Fixes: https://github.com/nodejs/node/pull/45091
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
2023-11-14 09:18:03 +01:00
Node.js GitHub Bot 189e5e5326 deps: update nghttp2 to 1.58.0
PR-URL: https://github.com/nodejs/node/pull/50441
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2023-11-14 09:17:51 +01:00
Node.js GitHub Bot 57bfe53095 deps: update zlib to 1.2.13.1-motley-dfc48fc
PR-URL: https://github.com/nodejs/node/pull/50456
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2023-11-14 09:17:50 +01:00
Node.js GitHub Bot 28453ff966 deps: update acorn to 8.11.2
PR-URL: https://github.com/nodejs/node/pull/50460
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2023-11-14 09:17:48 +01:00
Node.js GitHub Bot 0a793a2566 deps: update undici to 5.27.0
PR-URL: https://github.com/nodejs/node/pull/50463
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2023-11-14 09:17:48 +01:00
Bryce Seefieldt d9f92bc042 doc: fix TOC in releases.md
Fixes: https://github.com/nodejs/node/issues/50368
PR-URL: https://github.com/nodejs/node/pull/50372
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2023-11-11 20:38:21 +01:00
Node.js GitHub Bot 62515e118c deps: update llhttp to 9.1.3
PR-URL: https://github.com/nodejs/node/pull/50080
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
2023-11-11 20:37:44 +01:00
Node.js GitHub Bot d6f49c7bdc deps: update googletest to 116b7e5
PR-URL: https://github.com/nodejs/node/pull/50324
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2023-11-11 20:37:43 +01:00
Node.js GitHub Bot 269e268c38 deps: update ada to 2.7.2
PR-URL: https://github.com/nodejs/node/pull/50338
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
2023-10-24 09:41:06 +02:00
Node.js GitHub Bot 000531781b deps: update undici to 5.26.4
PR-URL: https://github.com/nodejs/node/pull/50274
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2023-10-23 08:19:45 +02:00
Richard Lau 1c21a1880b doc: update release process LTS step
A recent refactor of `nodejs-latest-linker` has moved the mapping
between Node.js versions and codenames to a different file.

Refs: https://github.com/nodejs/nodejs-latest-linker/pull/12
PR-URL: https://github.com/nodejs/node/pull/50299
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2023-10-23 08:19:44 +02:00
Node.js GitHub Bot f050668c14 deps: update c-ares to 1.20.1
PR-URL: https://github.com/nodejs/node/pull/50082
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
2023-10-23 08:19:42 +02:00
Node.js GitHub BotandRichard Lau ba258b682b deps: update c-ares to 1.20.0
Co-authored-by: Richard Lau <rlau@redhat.com>
PR-URL: https://github.com/nodejs/node/pull/50082
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
2023-10-23 08:19:42 +02:00
Richard Lau 2473aa3672 doc: fix release process table of contents
The table of contents for the release process still references a
deleted section. Remove that reference, and renumber the following
table of contents entries so that they link through to the correct
sections.

PR-URL: https://github.com/nodejs/node/pull/50216
Refs: https://github.com/nodejs/node/pull/45858
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
2023-10-23 08:19:39 +02:00
Vinicius Lourenço dacee4d9b5 doc: add ReflectConstruct to known perf issues
PR-URL: https://github.com/nodejs/node/pull/50111
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2023-10-23 08:19:37 +02:00
Rafael Gonzaga bac872cbd0 doc: update release-stewards with last sec-release
PR-URL: https://github.com/nodejs/node/pull/50179
Refs: https://github.com/nodejs-private/node-private/issues/485
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
2023-10-23 08:19:31 +02:00
Rafael Gonzaga 06b7724f14 doc: add command to keep major branch sync
PR-URL: https://github.com/nodejs/node/pull/50102
Reviewed-By: Richard Lau <rlau@redhat.com>
2023-10-23 08:19:31 +02:00
Michael Dawson 1f40ca1b91 doc: update security release process
- update security release process to reflect current way to
  ask for tweet to amplify security release blog posts.

Signed-off-by: Michael Dawson <midawson@redhat.com>

PR-URL: https://github.com/nodejs/node/pull/50166
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
2023-10-23 08:19:31 +02:00
Matteo Collina 7ed50e5af6 deps: update undici to v5.26.3
Signed-off-by: Matteo Collina <hello@matteocollina.com>
PR-URL: https://github.com/nodejs/node/pull/50153
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
2023-10-12 09:42:04 +00:00
James M Snell dc1c50b6e5 deps: update nghttp2 to 1.57.0
PR-URL: https://github.com/nodejs/node/pull/50121
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2023-10-11 17:00:54 +00:00
Node.js GitHub Bot ceedb3a509 deps: update simdutf to 3.2.18
PR-URL: https://github.com/nodejs/node/pull/50091
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2023-10-10 19:34:32 +00:00
Michaël Zasso 17a74ddd3d deps: update V8 to 11.8.172.13
PR-URL: https://github.com/nodejs/node/pull/49639
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2023-10-10 08:25:41 +02:00
Node.js GitHub Bot 0522ac086c deps: update zlib to 1.2.13.1-motley-fef5869
PR-URL: https://github.com/nodejs/node/pull/50085
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2023-10-10 05:23:08 +00:00
Node.js GitHub Bot 4f8c5829da deps: update googletest to 2dd1c13
PR-URL: https://github.com/nodejs/node/pull/50081
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2023-10-10 00:45:45 +00:00
Rafael Gonzaga 3c430212c3 doc: add command to get patch minors and majors
PR-URL: https://github.com/nodejs/node/pull/50067
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2023-10-08 21:36:47 +00:00
Node.js GitHub Bot 588784ea30 deps: update undici to 5.25.4
PR-URL: https://github.com/nodejs/node/pull/50025
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2023-10-08 06:39:07 +00:00
Node.js GitHub Bot c9eef0c3c4 deps: update googletest to e47544a
PR-URL: https://github.com/nodejs/node/pull/49982
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2023-10-03 13:08:19 +00:00
Node.js GitHub Bot 23cb478398 deps: update ada to 2.6.10
PR-URL: https://github.com/nodejs/node/pull/49984
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2023-10-03 00:48:08 +00:00