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

v16.20.0 proposal #47272

Merged
merged 23 commits into from
Mar 29, 2023
Merged

v16.20.0 proposal #47272

merged 23 commits into from
Mar 29, 2023

Conversation

BethGriggs
Copy link
Member

2023-03-29, Version 16.20.0 'Gallium' (LTS), @BethGriggs

Notable Changes

  • deps:
    • update undici to 5.20.0 (Node.js GitHub Bot) #46711
    • update c-ares to 1.19.0 (Michaël Zasso) #46415
    • upgrade npm to 8.19.4 (npm team) #46677
    • update corepack to 0.17.0 (Node.js GitHub Bot) #46842
  • (SEMVER-MINOR) src: add support for externally shared js builtins (Michael Dawson) #44376

Commits

  • [de6dd67790] - crypto: avoid hang when no algorithm available (Richard Lau) #46237
  • [4617512788] - crypto: ensure auth tag set for chacha20-poly1305 (Ben Noordhuis) #46185
  • [24972164fc] - deps: update undici to 5.20.0 (Node.js GitHub Bot) #46711
  • [85f88c6a8d] - deps: V8: cherry-pick 90be99fab31c (Michaël Zasso) #46646
  • [b4ebe6d47b] - deps: update c-ares to 1.19.0 (Michaël Zasso) #46415
  • [56cbc7fdda] - deps: V8: cherry-pick c2792e58035f (Jiawen Geng) #44961
  • [7af9bdb31e] - deps: upgrade npm to 8.19.4 (npm team) #46677
  • [962a7471b5] - deps: update corepack to 0.17.0 (Node.js GitHub Bot) #46842
  • [748bc96e35] - deps: update corepack to 0.16.0 (Node.js GitHub Bot) #46710
  • [a467782499] - deps: update corepack to 0.15.3 (Node.js GitHub Bot) #46037
  • [1913b6763d] - deps: update corepack to 0.15.2 (Node.js GitHub Bot) #45635
  • [809371a15f] - module: require.resolve.paths returns null with node schema (MURAKAMI Masahiko) #45147
  • [086bb2f8d4] - Revert "src: let http2 streams end after session close" (Rich Trott) #46721
  • [6a01d39120] - (SEMVER-MINOR) src: add support for externally shared js builtins (Michael Dawson) #44376
  • [d081032a60] - test: fix test-net-connect-reset-until-connected (Vita Batrla) #46781
  • [efe1be47ec] - test: skip test depending on overlapped-checker when not available (Antoine du Hamel) #45015
  • [fc47d58abe] - test: remove cjs loader from stack traces (Geoffrey Booth) #44197
  • [cf76d0790d] - test: fix WPT title when no META title is present (Filip Skokan) #46804
  • [0d1485b924] - test: fix default WPT titles (Filip Skokan) #46778
  • [088e9cde3d] - test: add WPTRunner support for variants and generating WPT reports (Filip Skokan) #46498
  • [908c4dff44] - test: mark test-crypto-key-objects flaky on Linux (Richard Lau) #46684
  • [768e56227e] - tools: make utils.SearchFiles deterministic (Bruno Pitrus) #44496

richardlau and others added 22 commits February 18, 2023 21:46
PR-URL: #46684
Refs: #46683
Reviewed-By: Filip Skokan <[email protected]>
Reviewed-By: Beth Griggs <[email protected]>
PR-URL: #45635
Backport-PR-URL: #45644
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #46037
Backport-PR-URL: #45644
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Juan José Arboleda <[email protected]>
PR-URL: #46710
Backport-PR-URL: #45644
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
PR-URL: #46842
Backport-PR-URL: #45644
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
Refs: #44000

- add infra to support externally shared js builtins in
  support of distos that want to externalize deps that
  include JS/WASM instead of native code
- add support for externalizing
  - cjs_module_lexer/lexer
  - cjs_module_lexer/dist/lexer
  - undici/undici

Signed-off-by: Michael Dawson <[email protected]>

PR-URL: #44376
Backport-PR-URL: #45867
Reviewed-By: Gireesh Punathil <[email protected]>
PR-URL: #46677
Reviewed-By: Luke Karrys <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Beth Griggs <[email protected]>
PR-URL: #46498
Backport-PR-URL: #46768
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
PR-URL: #46778
Backport-PR-URL: #46768
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
PR-URL: #46804
Backport-PR-URL: #46768
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
PR-URL: #44197
Backport-PR-URL: #46535
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Original commit message:

    [base] Fix build with gcc-13

    See https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes.

    Also see Gentoo Linux bug report: https://bugs.gentoo.org/865981

    Change-Id: I421f396b02ba37e12ee70048ee33e034f8113566
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3934140
    Reviewed-by: Clemens Backes <[email protected]>
    Reviewed-by: Simon Zünd <[email protected]>
    Commit-Queue: Clemens Backes <[email protected]>
    Cr-Commit-Position: refs/heads/main@{#83587}

Refs: v8/v8@c2792e5
PR-URL: #44961
Fixes: #43642
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
`glob.glob` on Linux returns files in the order returned by the
filesystem driver, and the output from this function is stuffed by
the Electron build process straight into the `config.gypi` header,
causing non-reproducible builds.

See this log for an example of the nondeterminism:
https://rb.zq1.de/compare.factory-20220901/diffs/nodejs-electron-compare.out

PR-URL: #44496
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Stewart X Addison <[email protected]>
PR-URL: #45015
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
require.resolve.paths should returns null with builtin module.
when builtin module without `node:` schema, `paths` returns null.
But, it don't return null when builtin module with `node:` schema.

Fixes: #45001
PR-URL: #45147
Reviewed-By: Geoffrey Booth <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Because OpenSSL v1.x doesn't do that by itself (OpenSSL v3.x does.)

Fixes: #45874
PR-URL: #46185
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Filip Skokan <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Avoid an endless loop if no algorithm is available to seed the
cryptographically secure pseudorandom number generator (CSPRNG).

Co-authored-by: Anna Henningsen <[email protected]>
PR-URL: #46237
Fixes: #46200
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Refs: https://c-ares.org/changelog.html#1_19_0
PR-URL: #46415
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Original commit message:

    [intl] Revert date formatting behavior change from ICU 72

    Replace U+202F with U+0020 after formatting date. This lets websites
    continue to work without any changes.

    This matches Firefox behavior, according to
    https://bugzilla.mozilla.org/show_bug.cgi?id=1806042#c17.

    Bug: chromium:1414292, chromium:1401829, chromium:1392814
    Change-Id: I7c2b58414d0890f8705e737f903403dc54e5fe57
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4237675
    Commit-Queue: Adam Klein <[email protected]>
    Reviewed-by: Shu-yu Guo <[email protected]>
    Cr-Commit-Position: refs/heads/main@{#85757}

Refs: v8/v8@90be99f
PR-URL: #46646
Refs: #46123
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
PR-URL: #46711
Reviewed-By: Filip Skokan <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
This reverts commit dee882e.
Moved the test that demonstrated what this commit was fixing to the
`known_issues` folder.

Fixes: #46234
PR-URL: #46721
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Debadree Chatterjee <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Fixes: #43446
PR-URL: #46781
Reviewed-By: theanarkh <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/net

Notable changes:

- deps:
  - update undici to 5.20.0 (Node.js GitHub Bot)
    #46711
  - update c-ares to 1.19.0 (Michaël Zasso)
    #46415
  - upgrade npm to 8.19.4 (npm team)
    #46677
  - update corepack to 0.17.0 (Node.js GitHub Bot)
    #46842
- (SEMVER-MINOR) src: add support for externally shared js builtins
  (Michael Dawson) [#44376]

PR-URL: #47272
@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. cares Issues and PRs related to the c-ares dependency or the cares_wrap binding. dependencies Pull requests that update a dependency file. doc Issues and PRs related to the documentations. meta Issues and PRs related to the general management of the project. needs-ci PRs that need a full CI run. labels Mar 27, 2023
@BethGriggs BethGriggs marked this pull request as ready for review March 27, 2023 19:59
@nodejs-github-bot

This comment was marked as outdated.

@VoltrexKeyva VoltrexKeyva added release Issues and PRs related to Node.js releases. and removed doc Issues and PRs related to the documentations. build Issues and PRs related to build files or the CI. meta Issues and PRs related to the general management of the project. cares Issues and PRs related to the c-ares dependency or the cares_wrap binding. dependencies Pull requests that update a dependency file. labels Mar 27, 2023
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Mar 28, 2023

@targos
Copy link
Member

targos commented Mar 28, 2023

Maybe we should include #47256

@richardlau
Copy link
Member

Maybe we should include #47256

We'd either need to manually patch the timezone db for ICU 71.1 or update Node.js 16 to ICU 72.1 (which I'm a little hesitant about because we had issues raised about ICU 72.1 around the change to Unicode spaces -- although I think there was a V8 patch to revert (which we'd also then need to avoid breakage)).

@richardlau
Copy link
Member

Maybe we should include #47256

Even more reason not to rush, 2023b is now invalidated due to Lebanon withdrawing the change it was created to address, and users are recommended to either stick with 2023a (which we never landed in Node.js) or wait for 2023c.

Refs: https://mm.icann.org/pipermail/tz/2023-March/032829.html
Refs: https://mm.icann.org/pipermail/tz/2023-March/032833.html

@BethGriggs
Copy link
Member Author

BethGriggs commented Mar 29, 2023

@richardlau
Copy link
Member

Maybe we should include #47256

We'd either need to manually patch the timezone db for ICU 71.1 or update Node.js 16 to ICU 72.1 (which I'm a little hesitant about because we had issues raised about ICU 72.1 around the change to Unicode spaces -- although I think there was a V8 patch to revert (which we'd also then need to avoid breakage)).

I've just noticed that the aforementioned V8 patch is included in this proposal:

For the timezone updates though we'd still either need a PR explicitly for v16.x-staging against ICU 71.1 or another PR to main either downgrading to tz 2023a, or waiting and then updating to 2023c (unicode-org/icu-data#36) and landing ICU 72.1 and the tz update together. I don't think we should delay this release for either of those options.

If anyone reads this and needs updated timezone information, a workaround is to locally download the updated *.res files and point to them via ICU's ICU_TIMEZONE_FILES_DIR environment variable: nodejs/Release#773 (comment).

@BethGriggs BethGriggs merged commit 6fd13be into v16.x Mar 29, 2023
BethGriggs added a commit that referenced this pull request Mar 29, 2023
@BethGriggs BethGriggs deleted the v16.20.0-proposal branch March 29, 2023 17:56
BethGriggs added a commit that referenced this pull request Mar 29, 2023
Notable changes:

- deps:
  - update undici to 5.20.0 (Node.js GitHub Bot)
    #46711
  - update c-ares to 1.19.0 (Michaël Zasso)
    #46415
  - upgrade npm to 8.19.4 (npm team)
    #46677
  - update corepack to 0.17.0 (Node.js GitHub Bot)
    #46842
- (SEMVER-MINOR) src: add support for externally shared js builtins
  (Michael Dawson) [#44376]

PR-URL: #47272
BethGriggs added a commit to BethGriggs/nodejs.org that referenced this pull request Mar 29, 2023
BethGriggs added a commit to nodejs/nodejs.org that referenced this pull request Mar 29, 2023
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.