Major Changes
- Installing a Node.js runtime via
node@runtime:<version>(includingpnpm env useandpnpm runtime set node) no longer extracts the bundlednpm,npx, andcorepackfrom the Node.js archive. This cuts roughly half of the files pnpm has to hash, write to the CAS, and link during installation, making runtime installs noticeably faster. Users who still neednpmcan install it as a separate package.
Minor Changes
-
pnpm pack-app: replaced the--node-versionflag with--runtime, which takes a<name>@<version>spec (e.g.--runtime node@22.0.0). The correspondingpnpm.app.nodeVersionkey in package.json was renamed topnpm.app.runtimewith the same syntax. Onlynodeis supported today; the prefix leaves room for future runtimes (bun,deno).The previous
--node-versionflag silently inherited from pnpm's globalnode-versionrc setting (which controls which Node runs user scripts), causing the wrong Node build to be embedded in SEAs for users who had that rc key set.
Patch Changes
- Restored the legacy
@pnpm/{macos,win,linux,linuxstatic}-{x64,arm64}npm names for the platform-specific optional dependencies of@pnpm/exe, reverting the scope-nested@pnpm/exe.<platform>-<arch>[-musl]rename from #11316 on the published package names only — the workspace directory layout (pnpm/artifacts/<platform>-<arch>[-musl]/) and the GitHub release asset filenames stay on the new scheme. The rename brokepnpm self-updatefrom v10, which looks up the platform child by its legacy name.linkExePlatformBinarynow checks for both schemes so a later rename can ship without a v10-compatibility hazard.
Platinum Sponsors
|
|
Gold Sponsors
|
|
|
|
|
|
|
|
|
|
|