v11.2.1
📦 pnpmView on GitHub →
✨ 2 features🐛 3 fixes🔧 3 symbols
Summary
This release introduces an experimental opt-in preview of the Rust install engine (@pnpm/pacquet) for dependency materialization. It also includes several bug fixes related to lockfile consistency and registry resolution for npm aliases.
Migration Steps
- To enable the experimental Rust install engine (pacquet), run: pnpm add @pnpm/pacquet --config. This will update pnpm-workspace.yaml and pnpm-lock.yaml.
✨ New Features
- Opt-in preview: Configuring @pnpm/pacquet in configDependencies in pnpm-workspace.yaml delegates the materialization phase of pnpm install to the pacquet binary (Rust install engine).
- Added functionality to configure pacquet via 'pnpm add @pnpm/pacquet --config'.
🐛 Bug Fixes
- Optional subdependency snapshots of config dependencies are now marked with 'optional: true' in the env lockfile for consistency.
- Fixed pickRegistryForPackage returning the wrong registry for an unscoped 'npm:' alias under a scoped local name; it now correctly uses the alias target's scope or defaults.
- Suppressed printing of "Installing config dependencies..." when no action (fetch, relink, remove) is required for config dependencies.