Packages

pnpm

12.21.0 · 13 Nov 2026MIT358.4M / weekRepositoryHomepagenpmAtom feed

Upgrading pnpm From 11.20.0 to 11.21.0

1 release in betweenevery note read

Other targets from 11.20.0Newest 11.x11.29.0Latest12.21.0
  1. 11.20.0yours
  2. 11.21.0target
0
changes to make
0
advisories fixed
3
new
27
fixes

Release by release

  1. 11.21.0

    9 Aug 20263 new · 27 fixes
    • New

      Added interactive group selection to pnpm update --global --interactive.

    • New

      Running pnpm setup, pnpm self-update, or a command that modifies the global installation (such as pnpm add --global) through sudo now prints a warning. pnpm keeps global packages and configuration in the invoking user's home directory, so running these commands as root silently operates on the root user's home directory instead of yours. They will fail with ERR_PNPM_SUDO_NOT_SUPPORTED in pnpm v12. Read-only global commands (such as pnpm bin --global) are unaffected.

    • New

      Speed up installs after adding ignoredOptionalDependencies patterns by removing newly ignored optional dependencies and pruning packages that are no longer reachable without resolving the dependency graph again.

    • Fixed

      Fixed pnpm failing to start under asynchronous Node.js module loaders when no .pnpmfile.mjs exists pnpm/pnpm#11701.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.