-
Notifications
You must be signed in to change notification settings - Fork 180
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
Node.js LTS rollout of minimum Corepack 0.31.0? #627
Comments
Current bundled Corepack versions for supported Node.js versions are:
|
This comment has been minimized.
This comment has been minimized.
Corepack 0.31.0 should make it's way into Node.js LTS eventually. The default general policy is for things to be in a current release (i.e. at this time Node.js 23) for two weeks before being eligible for LTS. Node.js 23.7.0 just came out last week (30 Jan), so normally we'd be looking at this being eligible for LTS releases after the end of next week. cc @nodejs/releasers |
Thank you very much for filling me in on the release processes! I know what to expect now. |
Why can't one simply update corepack itself? I can run Is there any hard link between nodejs and corepack ? |
I've been able to update Corepack on Windows 11. I suggest you open a separate issue for your problem as it probably depends on how you have installed Node.js and other environment parameters. |
While one can update corepack this breaks all installs on CI servers who use LTS, even if they use the latest version of LTS (like on github actions) until this bubbles down to being installed by default. This will be a significant amount of failures. EDIT: it does look like we're working to prevent this from happening in the future #616 I don't know if it's possible to make an exception on waiting for release as this is a large impact. |
|
Edit: This is now added to the Manual installs section of the README document. |
This resolves the same error as in PR 9597 for nodejs 20.x, updating Corepack's pinned registry public keys. Patch 1 (update corepack to 0.30.0) is included in nodejs v20.18.3 proposal and should be removed in the next nodejs update. Patch 2 (update to 0.31.0) is not included in that proposal and should be removed after two new nodejs 20.x releases. Link: nodejs/node#56699 Link: nodejs/corepack#627 Link: https://github.com/nodejs/corepack/releases/tag/v0.31.0 Link: https://github.com/nodejs/corepack/releases/tag/v0.30.0 Link: nodejs/node@f7131cf Link: nodejs/node@63c1859 Link: nodejs/node#55977 Link: nodejs/node#56795 Link: #9597 Backport-of: f7131cf178231f578f1da2aa7ff52a427c953b98 Backport-of: 64ee8a025815553af30d9d273e2f2d07a5eb83ea Reviewed-by: xtex <xtex@aosc.io> Signed-off-by: xtex <xtex@aosc.io>
This resolves the same error as in PR 9597 for nodejs 20.x, updating Corepack's pinned registry public keys. Patch 1 (update corepack to 0.30.0) is included in nodejs v20.18.3 proposal and should be removed in the next nodejs update. Patch 2 (update to 0.31.0) is not included in that proposal and should be removed after two new nodejs 20.x releases. Link: nodejs/node#56699 Link: nodejs/corepack#627 Link: https://github.com/nodejs/corepack/releases/tag/v0.31.0 Link: https://github.com/nodejs/corepack/releases/tag/v0.30.0 Link: nodejs/node@f7131cf Link: nodejs/node@63c1859 Link: nodejs/node#55977 Link: nodejs/node#56795 Link: #9597 Backport-of: f7131cf178231f578f1da2aa7ff52a427c953b98 Backport-of: 64ee8a025815553af30d9d273e2f2d07a5eb83ea Reviewed-by: xtex <xtex@aosc.io> Signed-off-by: xtex <xtex@aosc.io>
Corepack Download stats give some indication of the impact that the currently bundled versions of Corepack are having. There is a ten-fold increase in downloads at this time. |
Issue
New releases of pnpm and npm signed with the new npm
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
published to https://registry.npmjs.org/-/npm/v1/keys cannot be installed with the version of Corepack currently distributed with Node.js LTS versions without using workarounds.For instance,
executed using Node.js 22.13.1 Active LTS (with bundled corepack@0.30.0) on Ubuntu
24.04.1
LTS results in the error "Cannot find matching keyid":The same problem can be expected to affect any new releases of Yarn Modern aka berry. Yarn v1 Classic is frozen, but could also be affected if security fixes are released.
Request
Please clarify if minimum corepack@0.31.0 will be rolled out to Node.js Maintenance and Active LTS status versions
18.x
,20.x
and22.x
.Note: corepack@0.31.0 is already rolled out in the Current Node.js 23.7.0 version.
Related
Workaround
In some situations it is possible to follow the README > Manual Installs section and execute the following to pull in a corrected version of Corepack with updated keys from https://registry.npmjs.org/-/npm/v1/keys:
The text was updated successfully, but these errors were encountered: