Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v20.18.1 proposal #55879

Open
wants to merge 121 commits into
base: v20.x
Choose a base branch
from
Open

v20.18.1 proposal #55879

wants to merge 121 commits into from

Conversation

marco-ippolito
Copy link
Member

@marco-ippolito marco-ippolito commented Nov 16, 2024

2024-11-20, Version 20.18.1 'Iron' (LTS), @marco-ippolito

Notable Changes

Commits

  • [085c3441fe] - assert: show the diff when deep comparing data with a custom message (Giovanni) #54759
  • [01f0b0e7b4] - benchmark: adjust config for deepEqual object (Rafael Gonzaga) #55254
  • [a45537269b] - benchmark: rewrite detect-esm-syntax benchmark (Joyee Cheung) #55238
  • [1a0d8ef64f] - benchmark: add no-warnings to process.has bench (Rafael Gonzaga) #55159
  • [2be5d611ce] - benchmark: create benchmark for typescript (Marco Ippolito) #54904
  • [a2aa4fa477] - benchmark: include ascii to fs/readfile (Rafael Gonzaga) #54988
  • [09849105fe] - benchmark: add dotenv benchmark (Aviv Keller) #54278
  • [6b3c24dbad] - buffer: fix out of range for toString (Jason Zhang) #54553
  • [f25a5b6dc4] - build: use rclone instead of aws CLI (Michaël Zasso) #55617
  • [0bbeb605de] - build: fix notify-on-review-wanted action (Rafael Gonzaga) #55304
  • [5b35836732] - build: include .nycrc in coverage workflows (Wuli Zuo) #55210
  • [f38d1e90e0] - build: notify via slack when review-wanted (Rafael Gonzaga) #55102
  • [0b985ec4bb] - build: remove -v flag to reduce noise (iwuliz) #55025
  • [09f75b27a1] - build: display free disk space after build in the test-macOS workflow (iwuliz) #55025
  • [f25760c4a2] - build: add the option to generate compile_commands.json in vcbuild.bat (Segev Finer) #52279
  • [746e78c4f3] - Revert "build: upgrade clang-format to v18" (Chengzhong Wu) #54994
  • [67834ee646] - build: print Running XYZ linter... for py and yml (Aviv Keller) #54386
  • [ae34e276a2] - build: pin doc workflow to Node.js 20 (Richard Lau) #55755
  • [d0e871a706] - build,win: add winget config to set up env (Hüseyin Açacak) #54729
  • [93ac799b6b] - cli: fix spacing for port range error (Aviv Keller) #54495
  • [3ba2e7bf97] - Revert "console: colorize console error and warn" (Aviv Keller) #54677
  • [2f678ea53b] - crypto: ensure invalid SubtleCrypto JWK data import results in DataError (Filip Skokan) #55041
  • [5d28d98542] - deps: update undici to 6.20.0 (Node.js GitHub Bot) #55329
  • [0c7f2fc421] - deps: update archs files for openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184
  • [da15e7edf5] - deps: upgrade openssl sources to quictls/openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184
  • [381f1f9d08] - deps: update archs files for openssl-3.0.14+quic1 (Node.js GitHub Bot) #54336
  • [48d643f78a] - deps: upgrade openssl sources to quictls/openssl-3.0.14+quic1 (Node.js GitHub Bot) #54336
  • [7b1796803b] - deps: update timezone to 2024b (Node.js GitHub Bot) #55056
  • [8f1956c588] - deps: update acorn-walk to 8.3.4 (Node.js GitHub Bot) #54950
  • [20501a7350] - deps: update corepack to 0.29.4 (Node.js GitHub Bot) #54845
  • [0f81eafecc] - doc: fix Markdown linter (Antoine du Hamel) #55344
  • [df713f0a98] - Revert "doc: update test context.assert" (Antoine du Hamel) #55344
  • [fd6fc61d2c] - doc: add pmarchini to collaborators (Pietro Marchini) #55331
  • [b963db9ee2] - doc: fix events.once() example using AbortSignal (Ivo Janssen) #55144
  • [50b13bfb12] - doc: add onboarding details for ambassador program (Marco Ippolito) #55284
  • [27564b7811] - doc: fix initial default value of autoSelectFamily (Ihor Rohovets) #55245
  • [9e7be23aa5] - doc: tweak onboarding instructions (Michael Dawson) #55212
  • [f412a029c3] - doc: update test context.assert (Pietro Marchini) #55186
  • [2f7828debb] - doc: fix unordered error anchors (Antoine du Hamel) #55242
  • [d08e4c235b] - doc: mention addons to experimental permission (Rafael Gonzaga) #55166
  • [d65c2458dc] - doc: use correct dash in stability status (Antoine du Hamel) #55200
  • [d9839c16cf] - doc: fix link in test/README.md (Livia Medeiros) #55165
  • [1ad659afa4] - doc: add esm examples to node:net (Alfredo González) #55134
  • [81ad69d50f] - doc: move the YAML changes element (sendoru) #55112
  • [7a51a161be] - doc: fix the require resolve algorithm in modules.md (chirsz) #55117
  • [80edcdf899] - doc: update style guide (Aviv Keller) #53223
  • [388c754dd2] - doc: add missing : to run()'s globPatterns (Aviv Keller) #55135
  • [94302b6a76] - doc: add abmusse to collaborators (Abdirahim Musse) #55086
  • [27ff2da964] - doc: add note about --expose-internals (Aviv Keller) #52861
  • [df6dc753b7] - doc: remove parseREPLKeyword from REPL documentation (Aviv Keller) #54749
  • [4baa5c4d10] - doc: change backporting guide with updated info (Aviv Keller) #53746
  • [9947fc112f] - doc: add missing definitions to internal-api.md (Aviv Keller) #53303
  • [a4586f0e94] - doc: update documentation for externalizing deps (Michael Dawson) #54792
  • [70504f8522] - doc: update require(ESM) history and stability status (Antoine du Hamel) #55199
  • [9d0041ac40] - doc: add release key for aduh95 (Antoine du Hamel) #55349
  • [0c1666a52a] - events: allow null/undefined eventInitDict (Matthew Aitken) #54643
  • [453df77f99] - events: return currentTarget when dispatching (Matthew Aitken) #54642
  • [0decaab9db] - fs: acknowledge signal option in filehandle.createReadStream() (Livia Medeiros) #55148
  • [00a2fc7166] - lib: move Symbol[Async]Dispose polyfills to internal/util (Antoine du Hamel) #54853
  • [8e6b606ac4] - lib: remove lib/internal/idna.js (Yagiz Nizipli) #55050
  • [c96e5cb664] - lib: the REPL should survive deletion of Array.prototype methods (Jordan Harband) #31457
  • [748ed2e559] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #55300
  • [8b8d35f015] - meta: bump mozilla-actions/sccache-action from 0.0.5 to 0.0.6 (dependabot[bot]) #55225
  • [d3441ff0c8] - meta: bump actions/checkout from 4.1.7 to 4.2.0 (dependabot[bot]) #55224
  • [1c20908558] - meta: bump actions/setup-node from 4.0.3 to 4.0.4 (dependabot[bot]) #55223
  • [8a529abd69] - meta: bump peter-evans/create-pull-request from 7.0.1 to 7.0.5 (dependabot[bot]) #55219
  • [9053d210ab] - meta: add mailmap entry for abmusse (Abdirahim Musse) #55182
  • [db2496c125] - meta: add more information about nightly releases (Aviv Keller) #55084
  • [d2ce003b2f] - meta: add linux to OS labels in collaborator guide (Aviv Keller) #54986
  • [37b0bea247] - meta: remove never-used workflow trigger (Aviv Keller) #54983
  • [ae27e2dcd7] - meta: add links to alternative issue trackers (Aviv Keller) #54401
  • [6e5d524b0f] - module: remove duplicated import (Aviv Keller) #54942
  • [3a682cca03] - path: remove repetitive conditional operator in posix.resolve (Wiyeong Seo) #54835
  • [ac1cb8dfdb] - perf_hooks: add missing type argument to getEntriesByName (Luke Taher) #54767
  • [85b3edc83b] - repl: catch \v and \r in new-line detection (Aviv Keller) #54512
  • [df1f04999e] - src: decode native error messages as UTF-8 (Joyee Cheung) #55024
  • [86d718177a] - src: update clang-tidy and focus on modernization (Yagiz Nizipli) #53757
  • [7d01b6a9c5] - src: cleanup per env handles directly without a list (Chengzhong Wu) #54993
  • [a730cdb622] - src: remove duplicate code setting AF_INET (He Yang) #54939
  • [f10d9ad283] - stream: treat null asyncIterator as undefined (Jason Zhang) #55119
  • [6027084245] - test: make test-loaders-workers-spawned less flaky (Antoine du Hamel) #55172
  • [66a87d19bd] - test: update multiple assert tests to use node:test (James M Snell) #54585
  • [5105188c47] - test: update wpt test for encoding (devstone) #55151
  • [81bcec0b82] - test: deflake test/pummel/test-timers.js (jakecastelli) #55098
  • [82c402265a] - test: deflake test-http-remove-header-stays-removed (Luigi Pinca) #55004
  • [78021701ed] - test: fix test-tls-junk-closes-server (Michael Dawson) #55089
  • [c908b8a2d8] - test: fix more tests that fail when path contains a space (Antoine du Hamel) #55088
  • [afc1628e73] - test: fix assertSnapshot when path contains a quote (Antoine du Hamel) #55087
  • [7c88739b83] - test: fix some tests when path contains % (Antoine du Hamel) #55082
  • [eb4d468671] - Revert "test: mark test-fs-watch-non-recursive flaky on Windows" (Luigi Pinca) #55079
  • [bc7b5249d4] - test: make test-runner-assert more robust (Aviv Keller) #55036
  • [6c2a1386f7] - test: update tls test to support OpenSSL32 (Michael Dawson) #55030
  • [96406610fa] - test: fix test-vm-context-dont-contextify when path contains a space (Antoine du Hamel) #55026
  • [39a80eed4f] - test: adjust tls-set-ciphers for OpenSSL32 (Michael Dawson) #55016
  • [bd8fd4fceb] - test: add util.stripVTControlCharacters test (RedYetiDev) #54865
  • [333b5a02d0] - test: improve coverage for timer promises schedular (Aviv Keller) #53370
  • [f48992f433] - test: remove unused common utilities (RedYetiDev) #54825
  • [93a098c56d] - test: deflake test-http-header-overflow (Luigi Pinca) #54978
  • [f849cf677d] - test: fix soucre to source (Aviv Keller) #55038
  • [1a007ea814] - test: add asserts to validate test assumptions (Michael Dawson) #54997
  • [6f53c096f8] - test: move test-http-max-sockets to parallel (Luigi Pinca) #54977
  • [aba9dc775e] - test: remove test-http-max-sockets flaky designation (Luigi Pinca) #54976
  • [ee5624bffe] - test: adjust key sizes to support OpenSSL32 (Michael Dawson) #54972
  • [5c11a61140] - test: update test to support OpenSSL32 (Michael Dawson) #54968
  • [62f21470e4] - test: update DOM events web platform tests (Matthew Aitken) #54642
  • [426851705c] - test_runner: assert entry is a valid object (Edigleysson Silva (Edy)) #55231
  • [b1cad519d7] - test_runner: use test: symbol on second print of parent test (RedYetiDev) #54956
  • [63c8f3d436] - test_runner: replace ansi clear with ansi reset (Pietro Marchini) #55013
  • [0b3fb344f7] - tools: add polyfilled option to prefer-primordials rule (Antoine du Hamel) #55318
  • [8981309bd9] - tools: make choco install script more readable (Aviv Keller) #54002
  • [7310abeae1] - tools: bump Rollup from 4.18.1 to 4.22.4 for lint-md (dependabot[bot]) #55093
  • [083311e8af] - tools: remove redudant code from eslint require rule (Aviv Keller) #54892
  • [ae4b2aece1] - tools: update error message for ICU in license-builder (Aviv Keller) #54742
  • [3ebd31684d] - tools: update github_reporter to 1.7.1 (Node.js GitHub Bot) #54951
  • [397be8a10e] - tty: fix links for terminal colors (Aviv Keller) #54596
  • [a3c2ef9e98] - util: update ansi regex (Aviv Keller) #54865
  • [efdccc88a2] - watch: preserve output when gracefully restarted (Théo LUDWIG) #54323
  • [226836c5ac] - worker: throw InvalidStateError in postMessage after close (devstone) #55206
  • [f39ff4d14b] - worker: handle --input-type more consistently (Antoine du Hamel) #54979
  • [30383ffb9a] - zlib: throw brotli initialization error from c++ (Yagiz Nizipli) #54698

aduh95 and others added 4 commits October 11, 2024 10:20
PR-URL: #55349
Refs: nodejs/Release#999
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
To save time, the `.github/workflows/doc.yml` workflow runs
with a pre-built Node.js. The switch of `lts/*` to Node.js 22 has
broken this workflow for Node.js 20 and 18 due to a mismatch
in globals. Pin the version of Node.js back to 20.

PR-URL: #55755
Fixes: #55754
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Co-authored-by: Michaël Zasso <[email protected]>
PR-URL: #54553
Backport-PR-URL: #55213
Fixes: #52298
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Jake Yuesong Li <[email protected]>
Refs: #54553
PR-URL: #55199
Backport-PR-URL: #55265
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Guy Bedford <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/actions
  • @nodejs/security-wg
  • @nodejs/tsc

@nodejs-github-bot nodejs-github-bot added meta Issues and PRs related to the general management of the project. v20.x v20.x Issues that can be reproduced on v20.x or PRs targeting the v20.x-staging branch. labels Nov 16, 2024
@marco-ippolito marco-ippolito added release Issues and PRs related to Node.js releases. and removed meta Issues and PRs related to the general management of the project. labels Nov 16, 2024
@marco-ippolito marco-ippolito marked this pull request as ready for review November 16, 2024 13:34
@marco-ippolito marco-ippolito added needs-ci PRs that need a full CI run. request-ci Add this label to start a Jenkins CI on a PR. labels Nov 16, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 16, 2024
@nodejs-github-bot
Copy link
Collaborator

@aduh95
Copy link
Contributor

aduh95 commented Nov 16, 2024

I think #55170 (comment) is still going to be an issue.

@marco-ippolito
Copy link
Member Author

Should I just drop the npm update?

mhdawson and others added 12 commits November 17, 2024 11:51
Refs: #54646

- Add instructions to update how process.versions is reported
  as I missed that in a recent addition.

Signed-off-by: Michael Dawson <[email protected]>
PR-URL: #54792
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Akhil Marsonya <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: Ulises Gascón <[email protected]>
PR-URL: #54951
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
PR-URL: #54845
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Specifically, `delete Array.prototype.lastIndexOf` immediately crashes
the REPL, as does deletion of a few other Array prototype methods.

PR-URL: #31457
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
PR-URL: #54278
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
PR-URL: #54401
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
PR-URL: #53303
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
PR-URL: #53746
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
PR-URL: #54495
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
`AF_INET` has been repeatedly set three times in the code. this should
be redundant. removed the last two times.

PR-URL: #54939
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
PR-URL: #54835
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: James M Snell <[email protected]>
RafaelGSS and others added 12 commits November 17, 2024 11:51
PR-URL: #55304
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: LiviaMedeiros <[email protected]>
PR-URL: #55284
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Paolo Insogna <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Ulises Gascón <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
PR-URL: #55300
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Ulises Gascón <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
PR-URL: #55144
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Jake Yuesong Li <[email protected]>
Syntax detection has been unflagged so it's no longer meaningful
to toggle the detection based on CLI flags. It was also previously
benchmarking cached module imports which isn't very meaningful
for subsequent loads. This patch updates the benchmark to toggle
the detection based on the presence of type field in the package.json,
and generates fixtures to benchmark fresh module loads.

PR-URL: #55238
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Fixes: #55053
PR-URL: #55331
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
This reverts commit 7ddbfe8.

PR-URL: #55344
Reviewed-By: Jake Yuesong Li <[email protected]>
Reviewed-By: Chemi Atlow <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
PR-URL: #55344
Reviewed-By: Jake Yuesong Li <[email protected]>
Reviewed-By: Chemi Atlow <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
PR-URL: #55329
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Matthew Aitken <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
This should make easier to read on benchmark/compare
and when generating graphs

PR-URL: #55254
Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
Use rclone to upload assets to Cloudflare as it is more reliable.

Refs: nodejs/build#3508
PR-URL: #55617
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
marco-ippolito added a commit that referenced this pull request Nov 17, 2024
Notable changes:

doc:
  * add abmusse to collaborators (Abdirahim Musse) #55086

PR-URL: #55879
@marco-ippolito
Copy link
Member Author

npm updates dropped

@marco-ippolito marco-ippolito added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 17, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 17, 2024
@nodejs-github-bot

This comment was marked as outdated.

aduh95 and others added 3 commits November 18, 2024 10:15
PR-URL: #54853
Backport-PR-URL: #55264
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: James M Snell <[email protected]>
PR-URL: #55318
Backport-PR-URL: #55264
Reviewed-By: Michaël Zasso <[email protected]>
Notable changes:

doc:
  * add abmusse to collaborators (Abdirahim Musse) #55086

PR-URL: #55879
@marco-ippolito marco-ippolito added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 18, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 18, 2024
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Nov 19, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-ci PRs that need a full CI run. release Issues and PRs related to Node.js releases. v20.x v20.x Issues that can be reproduced on v20.x or PRs targeting the v20.x-staging branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.