v12.0.0-rc.11
📦 pnpmView on GitHub →
✨ 1 features🐛 2 fixes🔧 1 symbols
Summary
Introduces the ability to approve multiple staged packages at once with `pnpm stage approve`. Also includes improvements to symlinking behavior in isolated node linkers and more specific update notification suggestions.
✨ New Features
- `pnpm stage approve` now approves several staged packages at once. It can be run without a stage id to pick from staged versions interactively, or by passing a list of stage ids. The whole batch is approved with a single one-time password, and pnpm asks for a new one only once the registry stops accepting it. Inside a workspace, selected packages are approved in dependency order, and a package whose workspace dependency could not be approved is skipped instead of being published against a dependency that never reached the registry.
🐛 Bug Fixes
- Under `nodeLinker: isolated`, a Bit root-component member whose materialized copy carries no `package.json` now receives sibling symlinks for the dependencies its own lockfile snapshot declares, instead of a symlink to every other member of the root. The all-member fallback remains only when no snapshot exists.
- The update notification now suggests `pnpm self-update` when `PNPM_HOME` manages the pnpm in use, and the standalone install script otherwise (under Corepack, or when another package manager installed pnpm). `pnpm self-update` under Corepack also names the standalone install script.