Packages

pnpm

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

Upgrading pnpm From 9.15.9 to 10.0.0

1 release in betweenevery note read

Other targets from 9.15.9Clears its 25 advisories10.34.5Latest12.21.0
  1. 9.15.9yours
  2. 10.0.0target
  3. 13 pre

Before you upgrade

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

Security

  • Long paths inside node_modules/.pnpm are now hashed with SHA256.

    10.0.0
  • Long peer dependency hashes in the lockfile now use SHA256 instead of MD5. (This affects very few users since these are only used for long keys.)

    10.0.0
  • The hash stored in the packageExtensionsChecksum field of pnpm-lock.yaml is now SHA256.

    10.0.0
  • The side effects cache keys now use SHA256.

    10.0.0
  • The pnpmfile checksum in the lockfile now uses SHA256 (#8530).

    10.0.0
  • The patch file checksums in the lockfile now use SHA256.

    10.0.0

Release by release

  1. 10.0.0

    Security fix7 Jan 202511 new
    • Security

      Long paths inside node_modules/.pnpm are now hashed with SHA256.

    • Security

      Long peer dependency hashes in the lockfile now use SHA256 instead of MD5. (This affects very few users since these are only used for long keys.)

    • Security

      The hash stored in the packageExtensionsChecksum field of pnpm-lock.yaml is now SHA256.

    • Security

      The side effects cache keys now use SHA256.

12 other lines we could not sort, mostly version bumps
  • In a workspace: The override is added to the root of the workspace, linking the dependency to all projects in the workspace.

    10.0.0
  • Global linking: To link a package globally, run pnpm link from the package’s directory. Previously, you needed to use pnpm link -g. Related PR

    10.0.0
  • manage-package-manager-versions: enabled by default. pnpm now manages its own version based on the packageManager field in package.json by default.

    10.0.0
  • public-hoist-pattern: nothing is hoisted by default. Packages containing eslint or prettier in their name are no longer hoisted to the root of node_modules. Related Issue

    10.0.0
  • Upgraded @yarnpkg/extensions to v2.0.3. This may alter your lockfile.

    10.0.0
  • virtual-store-dir-max-length: the default value on Windows has been reduced to 60 characters.

    10.0.0
  • Reduced environment variables for scripts: During script execution, fewer npm_package_* environment variables are set. Only name, version, bin, engines, and config remain. Related Issue

    10.0.0
  • All dependencies are now installed even if NODE_ENV=production. Related Issue

    10.0.0
  • Store version bumped to v10.

    10.0.0
  • Some registries allow identical content to be published under different package names or versions. To accommodate this, index files in the store are now stored using both the content hash and package identifier.

    10.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.