Skip to content

chore(deps): update pnpm to v12 - #988

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pnpm-12.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pnpm-12.x

Conversation

@renovate

@renovate renovate Bot commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
pnpm (source) 10.34.9 → 12.24.0 age confidence

Release Notes

pnpm/pnpm (pnpm)

v12.24.0: pnpm 12.24

Compare Source

This release adds pnpm audit deprecations and pnpm audit engines, moves install warnings into a checks footer above Done in, and lets global installs link approved agent skills. It carries a security fix: pnpm now reads every package tarball the way npm does, or refuses it. pnpm approve <pkg> also no longer grants every permission to a package that has no pending request.

Minor Changes
  • Added pnpm audit deprecations, which lists the installed packages that their registry marks as deprecated, with the projects or packages that bring each one in. It exits with code 1 if any package is deprecated. The deprecated line at the end of an install now points to this command.

  • Added pnpm audit engines, which lists the installed packages that don't support the current Node.js version or platform, with what each one wants and the projects or packages that bring it in. It exits with code 1 if any package is incompatible. The lines about unsupported Node.js versions and platforms at the end of an install now point to this command.

  • An install now ends with a checks footer above Done in. It lists deprecated packages, peer dependency issues, unsupported engines and platforms, the lifecycle scripts that ran, and the lockfile's supply-chain verdict. In a terminal, the footer is shown live below the progress while the install runs.

    Deprecated packages are listed on one line, such as ✗ 2 packages are deprecated: request@2.88.2 and uuid@3.4.0. Peer dependencies with issues are named the same way, with a hint to run pnpm peers check for details.

    Dependencies that don't support the current Node.js version or platform are grouped by what they want, such as ✗ 15 packages want Node.js ^18.18.0 || ^20.9.0 || >=21.1.0, not 12.0.0: …. When packages declare different Node.js ranges, the line shows the versions that satisfy all of them. pnpm no longer prints a warning for each of these packages.

    One line names the project scripts that ran, one the dependencies that were built, and one the dependency builds that came from the side-effects cache. A dependency that was skipped because its optional build failed is listed as a problem. While scripts run, their line shows a spinner and names the running scripts. A script that fails prints its output, as before. In CI and piped output, a script that succeeds without printing anything no longer prints any lines.

    The pnpm:install-check log event of an unsupported engine or platform now carries the error code, the pkgId, and what the package wants in wanted. An unsupported engine event also carries the current versions.

  • The install summary prints an updated dependency on one line, such as ↑ lodash 4.17.20 → 4.18.1. A downgrade is marked with ↓. The changed part of the new version is colored the way pnpm outdated colors it.

    In a workspace, the summary names the projects behind each change only when the changes were made by different projects. A change made by one project shows its package name, such as in @scope/app. A change made by several projects shows how many, such as in 5 projects.

    Dependencies with newer versions are named on one line at the end, with a hint to run pnpm outdated. Summary lines no longer mark deprecated packages or end with "(x is available)". "Already up to date" is only printed when the install changed nothing.

  • When an install finishes, its progress lines are replaced by the stats, such as Packages: +58 -2 (90% downloaded), with the share of packages downloaded or reused from the store. In the bar below it, a downloaded package is drawn as ↓ and a reused one as +.

    The Scope: line is printed only when a filter selected some of the workspace projects, not when the command ran on all of them.

  • Global installs can now link approved agent skills into skill directories under your home directory. Use pnpm approve -g to review skills and build scripts for globally installed packages pnpm/tasks#117.

  • pnpm install warns when a locally declared package permission matches no dependency during a full resolution. The permission stays saved for future installs. Set permissions.unused to ignore alongside permissions.rules to turn off the warning #​18429.

  • pnpm-workspace.yaml accepts grouped forms of the override and catalog settings. overrides.rules holds override selectors alongside overrides.unused (warn or ignore). catalog.entries holds default catalog entries alongside catalog.unused (ignore or prune). catalog.mode and catalog.defaultSaveTarget configure how pnpm add uses catalogs and where it saves new entries. The existing map forms and flat settings remain supported #​18429.

  • Package tarball downloads can use credentials over plain HTTP when the user's global settings explicitly declare the HTTP registry URL #​18427.

  • A single-package version bump now allows unstaged edits and untracked files excluded from the package. Staged changes still block the bump #​18417.

Patch Changes
Security and approvals
  • pnpm now reads every package tarball the way npm does, or refuses it. A tarball whose headers npm could read differently, such as one with a malformed PAX header, could install different files with pnpm than with npm. A directory entry with a nonzero size and a PAX header that sets one key twice are now read as npm reads them. pnpm now extracts contiguous file entries in a tarball, as npm does.

  • pnpm approve <pkg> no longer grants build scripts and agent skills to a package that has no pending request. It now asks which permissions to grant. In CI or without an interactive terminal, configure permissions or use pnpm approve-builds to grant build permission in advance #​18415.

  • pnpm approve now lets you approve a Git dependency across updates. Press R on the package in the interactive prompt or pass its package name and repository URL without a commit #​18375. A bare package name or Git ref that cannot match a pending Git dependency now fails with the valid selectors, and no decisions are saved #​18388.

  • Fixed exact versions with SemVer build metadata in minimumReleaseAgeExclude, trustPolicyExclude, and allowBuilds. Pruning now keeps exclusions for versions in the lockfile #​18444.

Installing packages
  • Fixed pnpm install --offline --frozen-lockfile failing the release-age check when workspace manifests are copied after pnpm fetch #​18409.

  • pnpm install now resolves a catalog: peer dependency declared by a local file: dependency. Installing such a dependency failed with ERR_PNPM_SPEC_NOT_SUPPORTED_BY_ANY_RESOLVER pnpm/tasks#310.

  • Fixed pnpm install failing or writing an incomplete lockfile key when a file: dependency path contains parentheses #​18443.

  • Fixed frozen installs rejecting a local dependency when the workspace override and lockfile use equivalent relative paths #​18381.

  • Fixed concurrent installs sharing a store occasionally copying an empty or incomplete package file #​18433.

  • Fixed repeated installs before pnpm run and pnpm exec after a scope registry changes when the command would run a frozen or filtered install #​18448.

  • Fixed pnpm deploy --prod --legacy failing on patches for packages excluded from the deployment #​18394.

Resolving and linking dependencies
  • Fixed missing commands in node_modules/.bin when a patched dependency moves to a new slot in the global virtual store #​18398.

  • Fixed packages in the global virtual store resolving an injected workspace dependency from another checkout #​18447.

  • Fixed pnpm install leaving a hidden hoist link behind when the workspace root adds the package as a direct dependency #​18362.

  • Fixed overrides accepting selectors with multiple parents when a middle package had a version range #​18445.

  • Fixed pnpm update overwriting Node.js version ranges such as >=20 <23 in engines.runtime and devEngines.runtime with an exact version #​18360.

  • Dependency changes now preserve the runtime policy declared in package.json when runtimeOnFail is set #​18376.

Platforms and the pnpm binary
  • Fixed the FreeBSD x64 build of pnpm, which failed to compile.

  • The pnpm binary is 10 to 13 MB smaller on Linux and macOS. It no longer includes the symbol names that only debuggers use.

  • On Unix, scripts started through Corepack now receive signals sent to the pnpm PID. This requires Node.js 22.15 or later on the 22.x line, or Node.js 23.11 or later #​18408.

Commands and settings
  • pnpm info and pnpm view now report a fully unpublished package with ERR_PNPM_PACKAGE_NOT_FOUND. They used to fail with a metadata decoding error, which stopped tools such as Changesets from checking the rest of a release. pnpm add --save-types now skips a @types package that was fully unpublished #​18428.

  • Fixed pnpm sbom --dev omitting optional dependencies of development dependencies #​18403.

  • Downloaded Node.js, Deno, and Bun runtimes now declare their MIT license in package.json. This lets pnpm licenses list report the runtime's declared license #​18431.

  • pnpm now treats an empty XDG_CONFIG_HOME, XDG_CACHE_HOME, XDG_DATA_HOME, or PNPM_HOME as unset and uses the default directory. An empty value made pnpm read and write its global config, auth file, and cache in a pnpm directory under the current working directory.

  • pnpm now expands a leading ~/ in cacheDir values loaded from the global config or PNPM_CONFIG_CACHE_DIR to the user's home directory, as it does for storeDir.

  • pnpm config set now writes values containing Unicode line separators (U+2028 and U+2029) to pnpm-workspace.yaml unchanged, so reading the setting back returns the value that was set.

  • When pnpm-workspace.yaml mostly uses double quotes, quoted values pnpm adds to it now use double quotes, such as the entries written by pnpm config set, pnpm approve-builds, and catalog updates. Previously only minimumReleaseAgeExclude and trustPolicyExclude entries followed the file's quote style #​18364.

  • pnpm install no longer warns about a project's own pnpm-workspace.yaml when the workspace root already sets every setting in it. A project that is also installed on its own, such as a git submodule, can keep its pnpm-workspace.yaml without the warning #​18441.

Install output
  • The install summary of a project with no previous install lists only the dependencies the command added or changed. A fresh pnpm install of a single project no longer lists every direct dependency, which matches how workspace projects were already reported. In a workspace, the summary again lists a dependency added to a project whose previous install had no dependencies.

  • pnpm install --lockfile-only shows its progress again, counting the packages it resolves.

  • An install from a project inside a workspace with a shared lockfile no longer prefixes its progress lines with the path to the workspace root. In CI and piped output, a large download now prints one line when it finishes, without the 0.00 B line at its start.

Platinum Sponsors

Bit OpenAI Notion
CodeRabbit Cloudflare

Gold Sponsors

Sanity Discord Vite
SerpApi Stackblitz Workleap
Nx Latitude Syntax

v12.23.0: pnpm 12.23

Compare Source

This release adds pnpm edit, pnpm catalog migrate, and pnpm link --hard, and moves deprecation warnings into the install summary. Platform variants are removed, so packages that publish them need to move to optionalDependencies. It also carries security fixes: pnpm no longer reads otp from config files, and it sends registry credentials only over HTTPS.

Minor Changes
Packing and publishing
  • Removed platform variants. A package version has one archive again.

    pnpm no longer reads publishConfig.variants or the variant field of package.json. pnpm pack --variant and the --upload-variant, --variant-integrity and --no-variants options of pnpm publish are gone. pnpr no longer accepts variant archives with a version or serves them at <name>@<version>/variants/<tag>.

    To ship builds for several platforms, publish each as its own package and list them in optionalDependencies. A frozen install of a lockfile that records the variants of a registry package fails with ERR_PNPM_BROKEN_LOCKFILE. Run pnpm install to resolve the lockfile again.

  • pnpm pack and pnpm publish now fail if a package that is not private lists a private workspace package in dependencies. A private package is never published, so the published package could not be installed. devDependencies, optionalDependencies, peerDependencies, and bundled dependencies are still allowed #​2321.

  • pnpm publish now supports --new-version <version>, which sets the version in package.json before publishing. With --recursive, every selected workspace package is set to the new version #​2168.

  • pnpm pack --json now reports the package.json that goes into the tarball, with publishConfig and the other publish-time changes applied. Run pnpm pack --dry-run --json to preview it without writing a tarball. A dry run still runs prepack and prepare, unless --ignore-scripts is passed.

  • pnpm pack and pnpm publish now add a workspace-root COPYING file to a workspace package that has no license file. A COPYING file at the package root now counts as the package's license, so the workspace-root LICENSE is no longer added next to it.

  • Added the versioning.includePrivatePackages setting. Set it to false to leave private packages out of pnpm change #​13813.

Managing dependencies
  • Added the pnpm edit command to open an installed package directory in an editor.

  • Added pnpm catalog migrate, which moves dependency specifiers into the default catalog and replaces them in the workspace projects' package.json files with catalog:. A dependency moves only when every project declares it with the same specifier. The command lists the dependencies it leaves unchanged #​7072.

  • Added a --hard option to pnpm link. With --hard, pnpm saves the linked package with the file: protocol, so its files are hard linked into node_modules and its dependencies and peer dependencies resolve from your project. pnpm unlink removes these links too #​9895.

  • pnpm remove now accepts glob patterns and ! exclusions in dependency selectors, such as pnpm remove "eslint-*" "!eslint-plugin-import" #​13546.

  • When pnpm updates a package.json5, it now changes only the values that changed. Comments, quotes, number formats, and layout elsewhere in the file stay as written. New keys and strings use the quote style of the file.

  • nodeLinker accepts object settings for isolated and hoisted installs. Linker-specific hoisting options can be configured alongside the selected linker.

Updating dependencies
  • pnpm update --latest <pkg> now moves the override that pins the named dependency #​8701. pnpm update --interactive --latest does the same for every selected dependency. An override keeps its own range shape: a pin on an exact version lands on the new exact version, and ^ stays ^. When pnpm cannot update the governing override automatically, the update prints a warning naming it.

  • pnpm update now accepts --tag <tag>. The flag updates the matched dependencies to the version behind the given dist-tag and rewrites the ranges in package.json, the way --latest updates to the latest tag. It also works with --interactive and with global updates #​3534.

  • With trustPolicy: no-downgrade, pnpm update --interactive shows a Trust column with the trust evidence of each offered registry dependency #​8889. The list also offers only versions the trust policy accepts, so it matches what the update installs.

  • pnpm update --interactive --long shows the homepage or repository URL of each package. The URL column is hidden without --long.

Release age and build settings
  • Added the referenceTime setting. minimumReleaseAge and trustPolicyIgnoreAfter count back from this RFC 3339 time, both when pnpm resolves versions and when it verifies a lockfile. Set it in pnpm-workspace.yaml or with PNPM_CONFIG_REFERENCE_TIME.

  • Added the --minimum-release-age and --minimum-release-age-exclude options to pnpm install, pnpm add, pnpm update, and pnpm dlx. They set minimumReleaseAge and minimumReleaseAgeExclude for a single run without editing a config file #​11224.

  • pnpm audit --fix accepts --no-add-release-age-exclusions, which applies the fixes without adding entries to minimumReleaseAgeExclude.

  • --allow-build now accepts a comma-separated list of packages, so pnpm add foo bar --allow-build=foo,bar is the same as passing --allow-build=foo --allow-build=bar #​9560.

Install output
  • Deprecation warnings moved into the install summary and only name the packages the install added. A deprecated dependency added by the install is marked deprecated on its summary line, with the version that is not deprecated when there is one. Deprecated subdependencies the install added are listed right after the summary. Deprecated packages that were already installed are reported as one count, such as 3 deprecated packages are still installed.

  • In a workspace, the install summary now lists the direct dependency changes of every project, not only of the project pnpm runs in. Each change is listed once, followed by the projects that made it, unless only the current project did. A project's first install lists only deprecated or outdated dependencies and the ones the command added #​6481.

  • pnpm install now warns when an entry in overrides matches no dependency, in a single line such as 2 overrides matched no dependency: foo, parent>child. Only the overrides declared in the workspace are checked. Overrides added by a config dependency or an updateConfig hook are not. Set warnUnusedOverrides: false to turn the warning off #​10315.

  • pnpm install now shows lockfile verification progress while the supply-chain check runs. The final pass or failure line reports how many entries were checked.

Setup and diagnostics
  • pnpm doctor now checks the environment that lifecycle scripts run in. It lists the node executables on PATH and warns about broken ones. It reports the shell that runs scripts. A new check runs a package's executable from a script, both in a temporary project and in the current project. If that script fails, the report includes the error and, outside Windows, a trace of the executable's shim that shows how it looked up and started node #​16308.

  • pnpm self-update, pnpm setup, and the "Install method" check of pnpm doctor now warn when another pnpm on PATH would run in place of the one pnpm installed. The warning names that copy. If pnpm recognizes how it was installed (npm, Homebrew, Corepack, Volta, or Scoop), the warning also gives the command that removes it.

  • Set PNPM_CONFIG_HOME to choose the directory containing config.yaml and auth.ini. Global configuration commands read and write files in this directory. A non-empty value takes precedence over XDG_CONFIG_HOME and the platform defaults.

  • pnpm now provides a prebuilt binary for Linux on LoongArch (loong64) with glibc.

  • A failed devEngines.runtime or engines.runtime check now reports the reason in its error code. A runtime that is not installed fails with ERR_PNPM_RUNTIME_NOT_FOUND. A runtime entry without a version range fails with ERR_PNPM_MISSING_RUNTIME_VERSION_RANGE, and one with an invalid range fails with ERR_PNPM_INVALID_RUNTIME_VERSION_RANGE. An installed version that does not satisfy the range still fails with ERR_PNPM_BAD_RUNTIME_VERSION.

  • pnpm view <pkg> now prints the registry it read the metadata from at the end of the summary #​11394.

Patch Changes
Security
  • otp is no longer read from any config file. Pass --otp on the command line, or set PNPM_CONFIG_OTP. A pnpm-workspace.yaml or a global config.yaml that carries otp is ignored, with a warning naming those two channels. pnpm config set otp fails with ERR_PNPM_CONFIG_SET_NOT_A_FILE_SETTING.

    This closes a way to leak a secret. A repository could write otp: ${NPM_TOKEN} beside its own registry:, and pnpm publish sent that environment variable to the registry the same file named, in the npm-otp header of its first request #​13542.

  • pnpm now sends registry credentials only over HTTPS or loopback HTTP, both for tarball downloads and for requests to pnprServer. Tarball and package metadata requests respect registry credential paths on redirects. A failed tarball request can no longer pin its redirect destination in the lockfile.

  • pnpm install now rejects local filesystem dependencies (file:, link:, and path-based workspace: specifiers) declared by non-local packages with ERR_PNPM_LOCAL_SUBDEP_NOT_ALLOWED. Relative file: dependencies inside a package's own archive and local dependencies configured by the workspace through overrides, packageExtensions, or .pnpmfile.cjs continue to work. Lockfile verification also rejects unauthorized local directory, tarball, and link entries on non-importer snapshots.

  • pnpm install and pnpm install --frozen-lockfile now enforce blockExoticSubdeps against entries in pnpm-lock.yaml. Before, pnpm accepted a lockfile with git or tarball URL subdependencies and installed those packages even with blockExoticSubdeps: true.

  • pnpm install with pnprServer now rejects registry-keyed lockfile entries whose resolution uses a non-registry source with ERR_PNPM_RESOLUTION_SHAPE_MISMATCH. The pnpr lockfile verification and resolution endpoints enforce the same check before accepting or caching a lockfile.

  • pnpm dlx, pnx, and pnpm create now ignore local configuration in the working directory. This covers .pnpmfile.cjs hooks, proxy and TLS settings in the project .npmrc, and execution, layout, and resolution settings in a local pnpm-workspace.yaml, including pnpmfile, globalPnpmfile, configDependencies, scriptShell, cacheDir, storeDir, and ignoreScripts. Settings from the user's global config.yaml, such as blockExoticSubdeps, cacheDir, and storeDir, remain active.

  • Global commands (--global, -g) no longer load .pnpmfile.cjs, pnpm-workspace.yaml, or .npmrc from the current working directory. pnpm why -g now inspects globally installed packages.

  • pnpm config get refuses to print protected auth settings. pnpm config list hides TLS private keys and inline proxy credentials. pnpm config set --global tokenHelper writes to auth.ini, and setting a project-level tokenHelper fails.

    TLS file paths in .npmrc and auth.ini resolve relative to the file that declares them. Project .npmrc files skip TLS file paths containing environment variables.

  • When the pnpm package downloads its native binary on first run, it now handles registry credentials the way pnpm does:

    • Credentials configured for a registry path, such as //registry.example.com/org-a/npm/:_authToken, are sent only to that path. They were sent to any path on the same host.
    • It reads the registry and credentials from the global auth.ini, where pnpm login writes them, and from the _auth setting of the global config.yaml.
    • A ${NPM_TOKEN?} placeholder in .npmrc expands to the variable. It expanded to an empty value, so the download was sent without credentials.
  • Matching a glob that repeats a wildcard, such as +(*)z in the workspace packages patterns, no longer hangs on long paths. The bundled picomatch is patched for a security advisory.

  • pnpm pack and pnpm publish now reject publishConfig.directory values that use an absolute path or .. segments outside the package directory.

  • The pnpm binary no longer depends on chrono, which RustSec reports as unmaintained in RUSTSEC-2026-0543.

Installing packages
  • pnpm install now adds a new workspace package that has no dependencies to the importers of pnpm-lock.yaml #​18189.

  • With enableGlobalVirtualStore on, require.extensions hooks run again for require() calls from a module compiled from a string, such as the module Next.js uses to load next.config.ts. A required .ts file skipped the registered TypeScript hook. A required .json file was parsed as JavaScript #​18261.

  • On Windows, when the project is on a network share, pnpm install now links dependencies in node_modules with the kind of link that can be opened on that share. It tries a junction first and a symlink second. If neither can be opened, the install fails with advice.

  • On Windows, concurrent installs that link the same dependency no longer leave an .ignored_<name> entry next to the link in the global virtual store.

  • pnpm install now fails with ERR_PNPM_UNSUPPORTED_PROTOCOL when a file: dependency that is not a workspace project uses a catalog: specifier. Injected workspace projects still resolve their catalog: dependencies.

  • A link: or relative-path dependency of a local directory dependency now resolves from that directory. In any other package, such as a local tarball, it resolves from the lockfile directory. Both used to resolve from the importing project's directory pnpm/tasks#319.

    Two workspace projects that declare the same injected relative-path dependency, such as ../child, no longer share the directory the first one resolved.

  • pnpm install now links a workspace package for a workspace: range that combines ^, ~, or * with other ranges, such as workspace:^ || ^2.0.0.

  • Fixed pnpm install keeping a runtime binary for the previous platform after a change to supportedArchitectures with the global virtual store disabled.

  • The nodeVersion setting no longer changes the global virtual store directory names or the side-effects cache keys. These follow the Node.js runtime that pnpm installs for the project, then the node on PATH. pnpm licenses and pnpm store status now find packages that an install with nodeVersion placed in the global virtual store.

  • Fixed package maps resolving workspace and linked packages to the wrong directory when a path contains #, ?, or %.

  • pnpm install and pnpm peers check no longer report a catalog: peer of an injected workspace package as unmet when the installed version matches the catalog entry #​10279.

  • The peer dependency check now reads the version of an injected workspace package from its package.json. pnpm install with strictPeerDependencies: true and pnpm peers check no longer report such a peer as unmet with a file: version.

  • With sharedWorkspaceLockfile: false, pnpm install now reports missing peers of linked workspace packages, as pnpm peers check does.

  • peerDependencyRules.allowedVersions now accepts a parent version range that contains >, such as "foo@>=1.0.0>bar": "1".

  • Fixed nodeLinker: hoisted installs in a workspace where the directory of one project is inside the directory of another. A dependency of the inner project could resolve to the version in the outer project's node_modules. pnpm now keeps the inner project's dependency in its own node_modules when the outer project holds another version.

  • With nodeLinker: hoisted, pnpm now finds the agent skills of a dependency whose directory is shared with another peer variant of the same package version.

  • pnpm install with pnprServer set now handles more workspace settings:

    • It applies injectWorkspacePackages, dedupeInjectedDeps, ignoredOptionalDependencies, and dependenciesMeta. Projects that use them no longer fail with ERR_PNPM_OUTDATED_LOCKFILE or ERR_PNPM_LOCKFILE_CONFIG_MISMATCH.
    • pnpm install --update-checksums refreshes the integrity checksums in the lockfile.
    • It enforces minimumReleaseAgeStrict and adds fallback versions to minimumReleaseAgeExclude when strict mode is off.
    • It resolves locally when the project declares file:, link:, or local path dependencies, or when blockExoticSubdeps is false. pnpr also rejects local filesystem dependency specifiers on /-/pnpr/v0/resolve.
  • When an overrides entry requests a version that does not exist on the registry, pnpm install now names that override entry in the error. If the entry's selector has a version range, such as foo@^1, the error also shows the latest published version in that range.

  • pnpm add run from a workspace package directory that has no package.json yet now suggests creating one with pnpm init #​11345.

  • The install summary now shows "(X is available)" after a direct dependency whose latest version on the registry is newer than the one installed. The note appears when the install resolved that dependency against registry metadata.

  • Approving the minimumReleaseAge prompt no longer reprints the list of packages it just showed. pnpm now confirms with one line that says how many entries it added to minimumReleaseAgeExclude #​15377.

  • pnpm now prints a warning that explains why it has to remove and recreate a modules directory.

  • pnpm install with nodeLinker: hoisted no longer hangs or runs out of memory in large workspaces whose packages are installed with many different sets of peer dependencies.

  • Sped up pnpm install on macOS for packages installed with several sets of peer dependencies. pnpm now clones every peer variant of a package from one cached copy of its files.

  • Sped up linking bins in large workspaces. pnpm now reuses a workspace package's package.json across the projects that depend on it when linking their bins.

  • pnpm install --frozen-lockfile no longer waits for a Node.js version check it does not use before it exits. With Homebrew's Node.js, a frozen install with nothing to do can be about 3x faster.

  • Resolving a remote tarball uses the download response directly, saving a request.

  • pnpm in StackBlitz WebContainers sends HTTP response bodies and subprocess output to its engine as raw bytes. A 64 KiB chunk no longer becomes a 234 KB message pnpm/tasks#63.

Lockfile
  • Fixed pnpm install failing with ERR_PNPM_NEXT_LOCKFILE_NOT_REPRESENTABLE under lockfile.format: v13 when a peer dependency is provided by an aliased package and another alias installs the package that has the peer's name #​18198.

  • Fixed writing v13 lockfiles when a package has an ordinary npm alias of one of its direct or transitive peers #​18274.

  • Fixed conversion to the v13 lockfile format when a hashed peer suffix includes a workspace link and the package installs its own copy of another declared peer #​18288.

  • pnpm install now converts an existing lockfile when you change lockfile.format, even when all dependencies are already installed. With lockfile.format: v13, an install that updates a v9 lockfile without resolving, for example after a dependency is removed, now writes the v13 format.

  • A lockfile in the experimental v13 format now always records autoDedupe, dedupeInjectedDeps, dedupePeerDependents and linkWorkspacePackages, as lockfile.includeResolutionSettings does for the v9 format. After pnpm install --frozen-lockfile with autoDedupe, pnpm run no longer starts another install. Run pnpm install once to record the settings in a v13 lockfile written by an earlier version, since pnpm install --frozen-lockfile fails on it #​16583.

  • pnpm install --frozen-lockfile now checks the dependencies of local directory dependencies against the lockfile more closely. It fails when the injected setting of such a dependency no longer matches the lockfile pnpm/tasks#319. It accepts a plain-range dependency that linkWorkspacePackages: deep linked to a workspace project.

  • Frozen installs now detect changes to catalog entries used only by peer dependencies of local directory packages.

  • Frozen installs now restore links declared through catalogs when excludeLinksFromLockfile is enabled.

  • pnpm install --frozen-lockfile now revalidates registry metadata when verifying a locked tarball whose version is missing from the cached package listing.

  • During dependency filtering in commands such as pnpm install --prod --frozen-lockfile, pnpm now recovers hashed peers in v9 lockfiles only when a binding can affect which dependencies are kept #​18276.

  • Fixed pnpm install --lockfile-only fetching a locked transitive Git dependency when an unrelated dependency changes #​18217.

  • Fixed pnpm fetch failing when a Docker build copies the lockfile before the workspace configuration or pnpmfile.

  • pnpm-lock.yaml now quotes strings that look like numbers, such as +.5, so they are read back as strings.

Build approvals
  • pnpm approve-builds --all and pnpm approve --all no longer approve a package whose build is denied with false in pnpm-workspace.yaml.

  • A <pkg>@<version>: false entry in allowBuilds or permissions now also blocks <pkg>@<version> from a named registry, including when dangerouslyAllowAllBuilds is set.

  • pnpm add --allow-build now records its decision under permissions when pnpm-workspace.yaml has a permissions setting. Before, a --allow-build=!<pkg> denial went to allowBuilds and was overridden by an existing permissions.<pkg>.build: true.

  • pnpm approve-builds now requires the exact selector shown by pnpm ignored-builds for a dependency a bare package name cannot identify (a file:, git, or tarball artifact). A bare package name only approves a plain registry version #​18237.

  • pnpm approve-builds, pnpm approve, and pnpm add --allow-build now refuse to edit a package's permissions entry written as an inline mapping that spans several lines. Before, they added a second key for the package to pnpm-workspace.yaml.

  • Install now reports packages awaiting build and skill approval in one notice. Approval prompts and notices show a package from a named registry by its name. They no longer label it as a tarball.

Running scripts and tasks
  • Fixed pnpm run hanging after an interrupt:

    • A script may leave behind a process that ignores the interrupt. pnpm now waits thirty seconds for the script's processes to stop and then exits, leaving any that are still running.
    • An interrupt that arrives while a script is starting now reaches that script. pnpm no longer waits for it for as long as it runs, or ends without it.
    • When pnpm cancels a script, it now waits up to ten seconds for the system's process list. A process that a cancelled script started is no longer left running on a machine that answers more slowly than half a second.
  • pnpm run and pnpm exec no longer trigger a reinstall solely because the last install used --trust-lockfile #​18218.

  • The workspace project graph now follows overrides. An override that points a dependency at a workspace package, such as foo: workspace:*, makes that package a dependency of every project whose declaration the override matches, even with linkWorkspacePackages off. pnpm install now runs that package's lifecycle scripts before the scripts of the projects depending on it. pnpm -r run orders the projects the same way. --filter selectors that follow dependencies now see the edge.

  • A [<since>] filter such as --filter "...[origin/main]" now selects a project whose dependency an overrides entry points at a changed catalog entry. For example, with lib: catalog:local in overrides, changing lib in the local catalog selects every project that depends on lib.

  • When sharedWorkspaceLockfile is false, pnpm install now runs the workspace root's pnpm:devPreinstall script once, before any project is installed, including when a filter excludes the root. Workspace members no longer run theirs #​4503.

  • Recursive runs honor --sequential with --parallel, and changed-file ignore patterns support negation. pnpm list -r --no-sort --reverse reverses the selected project order. pnpm clean forwards positional arguments to a project's clean script.

  • --resume-from starts at the named project when the previous run completed no tasks.

  • pnpm pipeline fixes:

    • Cached results are invalidated when values supplied by --env-file, extraEnv, or NODE_OPTIONS change, or when the script shell settings change.
    • Declared outputs of sibling tasks no longer invalidate the default inputs, and output globs support ! exclusions.
    • It respects --filter and --filter-prod, includes untracked files when selecting affected projects, and runs the prerequisites of tasks matched by regex selectors.
    • It no longer deletes files from a build script's output directory when it restores a shared Cargo build cache, such as a fingerprint or .fingerprint directory in a nested Cargo build.
  • With shellEmulator: true, parameter expansions such as ${MODE:-dev} now see assignments made earlier in the script.

  • Plug'n'Play fixes:

    • It respects package exports and require.resolve() lookup paths.
    • It combines custom export conditions from NODE_OPTIONS and command-line flags, and respects Node.js's enabled node-addons and module-sync conditions.
    • pnpm run and pnpm exec, including recursive runs, find the loader and the experi

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (in timezone Europe/Oslo)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

@renovate renovate Bot added auto-merge Renovate auto-merges dependencies Updates one or more dependencies labels Sep 5, 2026
@renovate
renovate Bot enabled auto-merge (squash) September 5, 2026 18:06
@renovate
renovate Bot force-pushed the renovate/pnpm-12.x branch 2 times, most recently from 60de760 to 8d7f899 Compare September 15, 2026 12:00
@renovate
renovate Bot force-pushed the renovate/pnpm-12.x branch 2 times, most recently from 1d570b2 to d293be2 Compare September 24, 2026 02:13
@renovate
renovate Bot force-pushed the renovate/pnpm-12.x branch 2 times, most recently from 34c6ec5 to b9589c0 Compare October 3, 2026 21:45
@renovate
renovate Bot force-pushed the renovate/pnpm-12.x branch 2 times, most recently from 4df02d9 to 04fa384 Compare October 10, 2026 18:02
@renovate
renovate Bot force-pushed the renovate/pnpm-12.x branch 7 times, most recently from dd90ed1 to 1ba8b2f Compare October 23, 2026 16:02
@renovate
renovate Bot force-pushed the renovate/pnpm-12.x branch 7 times, most recently from 6226ad5 to ca7a7de Compare October 30, 2026 17:02
@renovate
renovate Bot force-pushed the renovate/pnpm-12.x branch 4 times, most recently from 67218b7 to 6186e04 Compare November 12, 2026 03:10
@renovate
renovate Bot force-pushed the renovate/pnpm-12.x branch 3 times, most recently from 72371c2 to 3a78002 Compare November 16, 2026 23:18
@renovate
renovate Bot force-pushed the renovate/pnpm-12.x branch 2 times, most recently from 985310a to 5900d28 Compare November 25, 2026 21:08
@renovate
renovate Bot force-pushed the renovate/pnpm-12.x branch from 5900d28 to dd0e34b Compare December 1, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge Renovate auto-merges dependencies Updates one or more dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant