Packages

pnpm

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

Upgrading pnpm From 8.15.9 to 9.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 8.15.9Clears its 26 advisories10.34.5Latest12.21.0
  1. 8.15.9yours
  2. 9.0.0target
  3. 17 pre

Before you upgrade

Tick each one off as you go
  • Breaking9.0.0
  • Breaking9.0.0
  • Breaking9.0.0
  • Breaking9.0.0
  • Breaking9.0.0
  • Breaking9.0.0-alpha.0
  • Breaking9.0.0-alpha.0
  • Breaking9.0.0-alpha.0
  • Breaking9.0.0-alpha.0
  • Breaking9.0.0-alpha.0

Security

Release by release

  1. 9.0.0

    Migration needed16 Apr 20249 new · 5 fixes
    • Breaking

      Node.js v16 and 17 support discontinued

    • Breaking

      Corepack compatiblity:

    • Breaking

      pnpm licenses list prints license information of all versions of the same package in case different versions use different licenses. The format of the pnpm licenses list --json output has been changed #7528.

    • Breaking

      A new command added for printing completion code to the console: pnpm completion [shell]. The old command that modified the user's shell dotfiles has been removed #3083.

7 other lines we could not sort, mostly version bumps
  • dedupe-injected-deps: enabled by default.

    9.0.0
  • link-workspace-packages: disabled by default. This means that by default, dependencies will be linked from workspace packages only when they are specified using the workspace protocol.

    9.0.0
  • hoist-workspace-packages: enabled by default.

    9.0.0
  • enable-pre-post-scripts: enabled by default.

    9.0.0
  • Use the same directory for state files on macOS as on Linux (~/.local/state/pnpm).

    9.0.0
  • Lockfile v9 is adopted. This new format has changes for better readability, and better resistence to Git conflicts.

    9.0.0
  • Optional peer dependencies may be resolved from any packages in the dependency graph #7830.

    9.0.0

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.