-
Notifications
You must be signed in to change notification settings - Fork 15.7k
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
chore: bump node 18.16.1 (26-x-y) #39066
Conversation
* chore: bump node in DEPS to v18.16.1 * chore: update patches * deps: update c-ares to 1.19.1 nodejs/node#48115 * chore: fix -Wunreachable-code,-Werror FTBFS in c-ares * chore: disable x509 bssl test new test added in bf3e2c892 * fixup! chore: fix -Wunreachable-code,-Werror FTBFS in c-ares also fix related -Werror,-Wunused-function FTBFS * fixup! chore: fix -Wunreachable-code,-Werror FTBFS in c-ares also fix another related -Werror,-Wunused-function FTBFS * fixup! chore: disable x509 bssl test fix yet another -Werror,-Wunused-function FTBFS --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
💖 Thanks for opening this pull request! 💖 We use semantic commit messages to streamline the release process. Before your pull request can be merged, you should update your pull request title to start with a semantic prefix. Examples of commit messages with semantic prefixes:
Things that will help get your PR across the finish line:
We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can. |
The build failures seem to be failing with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@baparham as a rule, we don't update Node.js versions in existing stable releases. Are there specific security fixes you're interested in?
Thanks for the reply and explanation, I appreciate the time you are taking to provide guidance.
Are the beta releases considered a stable channel? I wouldn't expect us to jump to node 20 for example, or perhaps even a new minor version of node after being promoted to Beta, but a patch version update to node with the benefit of non-trivial security fixes seems like a reasonable risk/reward ratio as a user.
The c-ares fixes are mostly what I'm interested in. I believe the openssl fixes with the update to 3.0.9 are irrelevant, since we use boringssl, so the CVEs worth including are in c-ares and node.js directly: This version of node.js updated c-ares to 1.19.1 which included these CVE fixes: There are also 3 high and 7 medium node.js specific security fixes that were outlined in the release blog I posted in the description too. I do not know if any have been patched in to Electron, but I assume none or very few would have been patched in as standalone fixes based on the changes in 327af3b not hinting that any patches were no longer required by Electron |
hey @baparham - as an update, this isn't off the table. We're discussing policy for this right now and seeing if we can adjust to allow for patch updates during the beta phase. |
✅ Approved on behalf of Releases WG. As @codebytere mentioned above, the Releases WG has decided that as a policy, we'll approve patch bumps for Node by default if the alpha/beta is more than 2 weeks out from stable release, and will vote on minor bumps on a case-by-case basis. This PR is approved for beta - it now just needs a code review, and we can merge. Thanks for submitting this PR! |
Who should review this? @codebytere requested changes, but presumably they were related to the policy, which has been resolved. What's left that I can help with? (also, thank you to whoever reran the failure in CI 🙏) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM post-policy change
Congrats on merging your first pull request! 🎉🎉🎉 |
Release Notes Persisted
|
For future reference, I am linking the policy changes here: electron/governance#546, #39163 |
Description of Change
Updating Node.js to v18.16.1.
See all changes in v18.16.0..v18.16.1
This would be great to backport into electron 26, since that stream is still in beta and node released many security updates in this version (src: https://nodejs.org/en/blog/vulnerability/june-2023-security-releases)
Please consider including this in the 26 stream 🙏
Cherry picked from main 327af3b
Backport of #38869
cc @ckerr @codebytere @jkleinsc
Checklist
Release Notes
Notes: Updated Node.js to v18.16.1 to address security fixes.