pnpm Release Notes

Follow

20 release notes curated from 12 sources by the Releasebot Team. Last updated: Nov 28, 2026

Get this feed:
  • Nov 26, 2026
    • Date parsed from source:
      Nov 26, 2026
    • First seen by Releasebot:
      Nov 28, 2026
    pnpm logo

    pnpm

    pnpm 12.24.0

    pnpm releases a broad update with new deprecation and engine audits, clearer install checks and summaries, and global linking for approved agent skills. It also strengthens package tarball security, improves permission approvals, and fixes issues across installs, dependency resolution, commands, and platforms.

    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: [email protected] and [email protected]. 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 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. • 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. • Package tarball downloads can use credentials over plain HTTP when the user's global settings explicitly declare the HTTP registry URL. • A single-package version bump now allows unstaged edits and untracked files excluded from the package. Staged changes still block the bump. 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. • 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. 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. • Fixed exact versions with SemVer build metadata in minimumReleaseAgeExclude, trustPolicyExclude, and allowBuilds. Pruning now keeps exclusions for versions in the lockfile. Installing packages • Fixed pnpm install --offline --frozen-lockfile failing the release-age check when workspace manifests are copied after pnpm fetch. • 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. • Fixed pnpm install failing or writing an incomplete lockfile key when a file: dependency path contains parentheses. • Fixed frozen installs rejecting a local dependency when the workspace override and lockfile use equivalent relative paths. • Fixed concurrent installs sharing a store occasionally copying an empty or incomplete package file. • Fixed repeated installs before pnpm run and pnpm exec after a scope registry changes when the command would run a frozen or filtered install. • Fixed pnpm deploy --prod --legacy failing on patches for packages excluded from the deployment. 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. • Fixed packages in the global virtual store resolving an injected workspace dependency from another checkout. • Fixed pnpm install leaving a hidden hoist link behind when the workspace root adds the package as a direct dependency. • Fixed overrides accepting selectors with multiple parents when a middle package had a version range. • Fixed pnpm update overwriting Node.js version ranges such as >=20 <23 in engines.runtime and devEngines.runtime with an exact version. • Dependency changes now preserve the runtime policy declared in package.json when runtimeOnFail is set. 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. 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. • Fixed pnpm sbom --dev omitting optional dependencies of development dependencies. • 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. • 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. • 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. 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.

    Original source
  • Nov 26, 2026
    • Date parsed from source:
      Nov 26, 2026
    • First seen by Releasebot:
      Nov 28, 2026
    pnpm logo

    pnpm

    pnpm 12.24

    pnpm releases new audit commands for deprecated and incompatible packages, clearer install checks and summaries, and global agent-skill approvals. It also strengthens tarball security and fixes issues across installs, dependency resolution, commands, and platform support.

    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 &lt;pkg&gt; 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: [email protected] and [email protected]. 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 || &gt;=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 &lt;pkg&gt; 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 &gt;=20 &lt;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 Gold Sponsors

    Original source
  • All of your release notes in one feed

    Join Releasebot and get updates from pnpm and hundreds of other software products.

    Create account
  • Nov 22, 2026
    • Date parsed from source:
      Nov 22, 2026
    • First seen by Releasebot:
      Nov 28, 2026
    pnpm logo

    pnpm

    pnpm 12.23.0

    pnpm releases a major update with new dependency management commands, richer install and workspace reporting, and broad improvements to publishing, performance, and cross-platform support. It also strengthens supply-chain security, including safer credential handling and stricter checks on dependencies and lockfiles.

    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. 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. 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. 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. 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. pnpm remove now accepts glob patterns and ! exclusions in dependency selectors, such as pnpm remove "eslint-*" "!eslint-plugin-import". 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. 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. With trustPolicy: no-downgrade, pnpm update --interactive shows a Trust column with the trust evidence of each offered registry dependency. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. Fixed writing v13 lockfiles when a package has an ordinary npm alias of one of its direct or transitive peers. 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. 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. 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. 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. Fixed pnpm install --lockfile-only fetching a locked transitive Git dependency when an unrelated dependency changes. 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. 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. 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. 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 experimental package map when lockfileDir is configured. pnpm install recreates a deleted .pnp.cjs loader, and a full pnpm clean removes the generated loader. After a workspace script runs, pnpm links commands from scoped injected packages into the containing modules directory's .bin. Commands declared through directories.bin are also refreshed. Refreshing injected dependencies preserves the install's NODE_PATH settings in command shims and respects workspace package exclusions. pnpm recognizes uppercase file extensions when choosing the interpreter for commands without a shebang. It skips hidden files and directories when linking commands from directories.bin. pnpm dlx, pnx, and pnpm create now handle script skipping and non-registry package specifiers consistently: Running with --ignore-scripts or ignoreScripts: true uses a separate dlx cache key, keeping cached installs that skipped build scripts separate from normal runs. Relative local directory and tarball specifiers such as ./my-cli and ./my-cli.tgz resolve against the caller's working directory. Explicitly requested tarball URL, file:, and git URL packages run their build scripts by default unless --ignore-scripts or a negated --allow-build selector disables them. A tasks entry with no value in pnpm-workspace.yaml, such as build:, now fails with a hint. The hint suggests writing {} for a task with no settings, or removing the entry to keep the default dependsOn: ['^<task>']. Python and Cargo pnpm install now locks Cargo path dependencies outside the workspace, as Cargo does. It failed with workspace dependency <name> is not a workspace member. pnpm install --frozen-lockfile now also fails when Cargo.lock misses a path dependency or locks a git dependency at another branch, tag, or revision. pnpm outdated and pnpm update now include Cargo dependencies declared under [target.<cfg>.dependencies]. pnpm update --prod no longer fails on a crate that is also a dev-dependency. pnpm add crate: fails in a virtual Cargo workspace root, as cargo add does. It added a [dependencies] table that Cargo rejects there. pnpm remove accepts Python and Cargo package specifiers. Recursive and filtered updates include standalone Python and Cargo workspace members. pnpm update and pnpm outdated match normalized Python names and Cargo aliases. pnpm install now skips a Python project that has only a requirements.txt when its directory has a .venv that pnpm did not create, and prints a warning. The install failed for the whole workspace before. Fixed Python wheel installs with legacy metadata, whitespace around entry point targets, and interpreter options in script shebangs. Python dependency groups now match normalized names. Adding a development dependency reports when the project excludes the dev group. Comments ending in a backslash in requirements.txt no longer hide the next requirement. pnpm exec finds the environment of requirements-only projects under a tool-only pyproject.toml. Fixed pnpm add and pnpm update in shared Python workspaces that contain a requirements-only member. Fixed pnpm update failing with a TOML parse error when pyproject.toml declares [project.optional-dependencies]. pnpm store prune no longer removes files of the wheels that an installed Python project uses, so pnpm install --offline can recreate its environment. Pruning now also removes the store index entries of Python and Cargo archives whose files it deleted. Updating, auditing, and publishing pnpm audit now checks tarball, git, and named-registry dependencies against security advisories. pnpm audit signatures now verifies packages installed from named registries and skips non-registry dependencies. pnpm audit now checks patched versions correctly when registry metadata includes an unpublished entry in its time field. pnpm audit --fix=true now applies the default override fix method, like a bare pnpm audit --fix. pnpm outdated now reports newer prereleases of an installed prerelease. It checks the dist-tag that points to the newest version of the installed prerelease channel, such as next for 3.0.0-rc.0, alongside latest. Fixed pnpm update and pnpm outdated matching every dependency of an ecosystem when a positive selector is combined with a negated package selector such as !lodash. This applied to Cargo, Python, npm, and --include-github-actions selectors. Fixed pnpm update and pnpm outdated with --include-github-actions corrupting workflow YAML or skipping actions referenced through YAML anchors, aliases, or merge keys. pnpm add and pnpm update now keep the range operator of a specifier that has both a prerelease and a build suffix, such as ^1.0.0-next.0+build.1. pnpm dedupe --check no longer requests the registry metadata of locked versions that the cache already holds. pnpm dedupe skips those requests too when lockfile.format is v13, which records no deprecated notices. Both were slow against a registry that sends no ETag or Last-Modified, such as Azure Artifacts, where each request downloaded the full package metadata. pnpm publish now reads access and tag from pnpm-workspace.yaml, the global config.yaml, and PNPM_CONFIG_ACCESS/PNPM_CONFIG_TAG. The --access and --tag flags still win when set. A configured access outranks publishConfig.access. An empty publishBranch now allows master and main. pnpm pack and pnpm publish fixes: Packed workspace dependencies use the dependency's publishConfig.name. Relative workspace dependencies with a package.yaml or package.json5 manifest are packed correctly, and these packages include their parked changelog. The manifest returned by beforePacking is validated and normalized. pnpm version fixes: It rejects a version argument that is not valid semver, such as 1.2.3foo or 01.2.3. It used to set a normalized version that differed from the argument. It rejects invalid prerelease identifiers passed to --preid. pnpm version -r updates explicit workspace dependency ranges that a release invalidates. It preserves edits that a preversion script makes to other manifest fields. When pnpm unpublish removes the version tagged latest, it prefers the highest remaining stable version. pnpm stage uses the current package's publish registry when listing, viewing, approving, rejecting, or downloading staged versions. To use a one-time password at a non-default registry selected by the package, pass --registry. Fixed several bugs in patching dependencies: A patch that only changes a file's mode no longer corrupts a binary file. A patch with CRLF line endings now applies when a blank context line has lost its leading space. A unified diff without diff --git lines now applies. A patch that creates a symlink now fails with ERR_PNPM_INVALID_PATCH. Before, pnpm wrote the symlink as a regular file. pnpm patch-commit --patches-dir ../outside now fails with ERR_PNPM_PATCHES_DIR_OUTSIDE_PROJECT. Before, pnpm wrote the patch to outside inside the project. pnpm patch-commit keeps a file without a final newline unterminated when that file comes last in the patch. Before, the patched file gained a trailing newline. pnpm patch-commit keeps the peers a patched package is bound to in the lockfile. It no longer fails with ERR_PNPM_NEXT_LOCKFILE_NOT_REPRESENTABLE when the package has an optional peer and lockfile.format is v13. A name-only patchedDependencies entry now records its patch hash on a file: directory dependency or an injected workspace package. pnpm install --frozen-lockfile no longer fails with ERR_PNPM_INCONSISTENT_PATCH_HASH on the lockfile that pnpm install wrote. pnpm patch and pnpm patch-commit find a package installed from a namedRegistries alias by its version. For example, pnpm patch [email protected] patches a dependency declared as work:1.0.0. pnpm patch-remove removes the corresponding edit directory and state entry from node_modules/.pnpm_patches. Other commands Global packages fixes: pnpm add -g with several space-separated packages lists every installed package in its summary. Only the packages of the first one were listed. pnpm list -g with --depth greater than 0 always reads the global install directory's node_modules and lockfile. It could read the current project's lockfile or a custom modulesDir. pnpm add -g, pnpm update -g, and pnpm outdated -g use the _auth and npmrcAuthFile settings under globalPackagesConfig in the global config.yaml. Commands that act on global packages honor dangerouslyAllowAllBuilds set at the top level of the global config.yaml. pnpm ignored it for global packages unless it was set under globalPackagesConfig. Fixed pnpm deploy for projects that depend on an external directory through link:. pnpm deploy now also resolves relative file: overrides from the source workspace. Fixed pnpm link for target manifests without a name. The command uses the directory name and normalizes relative paths written to the manifest. It also resolves a quoted ~/ path from the home directory. Fixed pnpm prune leaving extraneous package links in hoisted installations, and pruneDirectDependencies skipping cleanup when the lockfile was already up to date. pnpm import fixes: It writes each project's lockfile when sharedWorkspaceLockfile is disabled and lockfileDir is unset. It respects disallowWorkspaceCycles and the symlink policy for the destination lockfile. It normalizes workspace-relative Yarn patch paths, skips Yarn patches outside the workspace, and accepts Yarn Classic entries identified by a URL or file path. pnpm store add now fails if it cannot write a package to the store index, for example when another process holds the index locked. It also indexes tarball URLs that have no integrity value. pnpm store prune now fails with ERR_PNPM_FROZEN_STORE_WRITE when frozenStore is enabled. It used to remove files from the store. Store and cache inspection fixes: pnpm cache list, view, and delete search across registries by default and recognize mixed-case package names. Pass --registry to restrict them to one registry. pnpm cat-file can read executable files from the store. pnpm find-hash reports an unknown hash when the store is empty. Inspection commands with --json write errors to stdout. pnpm clean removes custom virtual stores with hidden directory names. pnpm list --lockfile-only --find-by now reads manifests from the configured store when node_modules is absent, and pnpm licenses list reads cached package metadata and license files. pnpm list --json now reports unsaved dependencies from each workspace project's own modules directory. pnpm why --exclude-peers now leaves out packages that are reached only as a resolved peer dependency. The flag was accepted but ignored. pnpm sbom now assigns workspace dependency relationships consistently across runs. pnpm now fails with ERR_PNPM_CONFIG_UNRESOLVED_ENV_VAR when a setting in pnpm-workspace.yaml or the global config.yaml references an unset or empty environment variable without a fallback. A string setting used to get an empty string in its place. --config.<name> options now validate their values. --config.storeDir and --config.stateDir work like --store-dir and --state-dir. An empty --state-dir= resets to the default state directory, as --store-dir= does. noProxy in pnpm-workspace.yaml or the global config.yaml now fails validation unless it is a string or a boolean. null leaves the setting unset. pnpm doctor checks the resolved global bin directory on PATH. pnpm --version now succeeds when the project pins another package manager. Fixed pnpm dropping Ctrl+C just before launching its native binary through Corepack or Node.js on Unix. The pnpm npm package provides bundled node-gyp to lifecycle scripts even when pnpm's own install scripts were skipped. The pnpm binary is about 16% smaller on Linux and macOS. Tab completion suggests project scripts when you type pnpm followed by a script name. Shell completion uses the cursor position when editing an existing command. The help for pnpm config get and pnpm get now says that the key is a property path, such as catalog.react. Removed the obsolete xmas command.

    Original source
  • Nov 22, 2026
    • Date parsed from source:
      Nov 22, 2026
    • First seen by Releasebot:
      Nov 28, 2026
    pnpm logo

    pnpm

    pnpm 11.29.0

    pnpm releases 11.29.0 with security fixes, safer handling of registry credentials and local dependencies, and new minimum-release-age controls. It also improves installs in non-interactive environments and brings broad fixes across workspaces, publishing, configuration, and package management.

    pnpm 11.29.0 stops reading otp from config files, rejects local filesystem dependencies declared by registry packages, adds the --minimum-release-age option, and recreates an incompatible node_modules without a TTY. This release carries several security fixes. Minor Changes 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 instead of writing an entry no loader reads back. 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. Patch Changes Security 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. Tarball downloads send registry credentials only over HTTPS or loopback HTTP. 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. Tarball URL preflight requests use the configured credentials and fetch retry settings. 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. 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. Setting a project-level tokenHelper fails. 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 dlx, pnx, and pnpm create now handle local isolation, script skipping, and non-registry package specifiers consistently: pnpm ignores local .pnpmfile.cjs hooks and project .npmrc proxy or TLS settings in the working directory. Running with --ignore-scripts or ignoreScripts: true uses a separate dlx cache key, keeping cached installs that skipped build scripts separate from normal runs. Relative local directory and tarball specifiers such as ./my-cli and ./my-cli.tgz resolve against the caller's working directory. Explicitly requested tarball URL, file:, and git URL packages run their build scripts by default unless --ignore-scripts or a negated --allow-build selector disables them. 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 pack and pnpm publish now reject publishConfig.directory values that use an absolute path or .. segments outside the package directory. 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 install with pnprServer configured now falls back to local resolution when the project declares file:, link:, or local path dependencies. pnpr also rejects local filesystem dependency specifiers on /-/pnpr/v0/resolve. Installs through a pnpr server now enforce minimumReleaseAgeStrict and add fallback versions to minimumReleaseAgeExclude when strict mode is off. pnpm install now records the supply-chain verification of the lockfile it writes by the lockfile's content. Before, a lockfile that another process put in its place right after the write could reuse that verification on the next install. 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. Installing packages pnpm install no longer fails without a TTY when it has to recreate an incompatible node_modules directory, such as in a Docker build or with piped stdin #6778, #9166, #8654, #8085. It now recreates the directory and prints a warning that explains why. A custom or symlinked modules directory still requires setting confirmModulesPurge to false. pnpm install now installs a workspace project located in a parent directory of the workspace root, such as one matched by packages: ['..'] #10096. Fixed ERR_PNPM_LINKING_FAILED on filesystems without copy-on-write reflinks when an install reuses an existing global virtual store entry before staging a package build. Also fixed merging node_modules directories during staged package imports on filesystems such as Btrfs that report EEXIST when renaming onto a non-empty directory. A filtered pnpm install that changes the installed dependency groups, such as pnpm --filter app install --prod, no longer empties the node_modules directories of the workspace projects it skips. 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. Fixed nodeLinker: hoisted installs omitting a dependency that its parent also declares as a peer dependency when autoInstallPeers is disabled #18193. Fixed nodeLinker: hoisted installs placing a package where one of its dependencies resolves to another version than the lockfile records. It could happen in a workspace whose projects depend on different versions of the same packages. In a workspace where one project's directory is inside another's, pnpm now keeps the inner project's dependency in its own node_modules when the outer project holds another version. Fixed pnpm prune leaving extraneous package links in hoisted installations. Fixed Plug'n'Play installs with local file: directory dependencies. Root projects can resolve their dependencies, and workspace projects with duplicate names retain their own dependencies. Plug'n'Play now combines custom export conditions from NODE_OPTIONS and command-line flags. It also respects Node.js's enabled node-addons and module-sync conditions. Fixed package maps resolving workspace and linked packages to the wrong directory when a path contains #, ?, or %. pnpm fetch now applies patches to packages that are only reachable through local file: dependencies #11034. Fixed pnpm install --lockfile-only fetching unchanged Git dependencies when an unrelated dependency changes and trustLockfile is enabled #18217. 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. When an install is delegated to the Rust engine, pnpm now renders the lockfile verification progress that the engine reports. The pass and failure lines show how many entries were checked. Lockfile and frozen installs pnpm install --frozen-lockfile now accepts a plain-range dependency of a local directory dependency that linkWorkspacePackages: deep linked to a workspace project. It fails when the injected setting of a dependency of a local directory dependency no longer matches the lockfile pnpm/tasks#319. Frozen installs now detect changes to catalog entries used only by peer dependencies of local directory packages. pnpm install --frozen-lockfile now revalidates registry metadata when verifying a locked tarball whose version is missing from the cached package listing. pnpm ci no longer reports an existing current lockfile to the preResolution hook when virtualStoreDir points outside the project and the lockfile is about to be removed with node_modules. pnpm can read lockfiles with large YAML merge mappings or ordered maps without the excessive parsing time seen in some cases #18246. pnpm-lock.yaml now quotes strings that look like numbers, such as +.5, so they are read back as strings. Workspaces and scripts 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. pnpm install now runs the workspace root's pnpm:devPreinstall script when sharedWorkspaceLockfile is false #4503. pnpm install --dry-run no longer runs it. pnpm run and pnpm exec now find the Plug'n'Play loader and experimental package map when lockfileDir is configured. This also applies to recursive commands. pnpm run and pnpm exec no longer trigger a reinstall solely because the last install used --trust-lockfile #18218. After a workspace script runs, pnpm links commands from scoped injected packages into the containing modules directory's .bin. Commands declared through directories.bin are also refreshed. pnpm skips unsupported command names in directories.bin, including filenames with spaces. --resume-from starts at the named project when the previous run completed no tasks. A tasks entry with no value in pnpm-workspace.yaml, such as build:, now fails with a hint. The hint suggests writing {} for a task with no settings, or removing the entry to keep the default dependsOn: ['^<task>']. pnpm --version, pnpm --help, and pnpm help now succeed when the project pins another package manager. Patched dependencies Fixed several bugs in applying patches: Deleting a file whose path contains b/ no longer deletes a different file. A hunk without context lines now inserts its lines after the line its header names. A patch that creates a file no longer overwrites an existing file with different content. pnpm reports the patch as failed. pnpm patch-commit now keeps a file without a final newline unterminated when that file comes last in the patch. Before, the patch dropped the final \ No newline at end of file marker, so the patched file gained a trailing newline. pnpm patch-remove now removes the corresponding edit directory and state entry from node_modules/.pnpm_patches. Packing, publishing, and deploying 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. Packed workspace dependencies now use the dependency's publishConfig.name. Fixed pnpm deploy for projects that depend on an external directory through link:. pnpm deploy now installs a workspace package from its publish directory only when the package's package.json sets publishConfig.directory to that directory. A publish directory that only the lockfile records is ignored. pnpm stage uses the current package's publish registry when listing, viewing, approving, rejecting, or downloading staged versions. To use a one-time password at a non-default registry selected by the package, pass --registry. pnpm version -r updates explicit workspace dependency ranges that a release invalidates. pnpm version preserves edits that a preversion script makes to other manifest fields. When pnpm unpublish removes the version tagged latest, it prefers the highest remaining stable version. Configuration 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. minimumReleaseAge must now be a finite, non-negative number of minutes. Other values fail with ERR_PNPM_INVALID_MINIMUM_RELEASE_AGE. Before, such a value turned off the release age check or crashed the install. 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. A setting in pnpm-workspace.yaml or the global config.yaml that references an undefined environment variable without a fallback now fails with ERR_PNPM_CONFIG_UNRESOLVED_ENV_VAR. Before, pnpm failed with an error that had no code #10963. Empty or whitespace-only numeric pnpm_config_* environment variables no longer override configured values or defaults. pnpm now validates noProxy, strictSsl, localAddress, and sideEffectsCache.exclude in workspace and global configuration. noProxy accepts strings and booleans, and null leaves it unset. pnpm now reports referenceTime in pnpm-workspace.yaml as a setting of a newer pnpm version. Windows command shims preserve existing PATH entries when the prependToPath option is used. Other commands and help pnpm store prune now fails with ERR_PNPM_FROZEN_STORE_WRITE when frozenStore is enabled. Before, it removed files from the store. pnpm peers check now resolves the catalog: peer ranges of injected workspace packages through the workspace catalogs. With autoInstallPeers: false, such a peer was reported as unmet even when the installed version matched the catalog entry #10279. Fixed pnpm update and pnpm outdated with --include-github-actions corrupting workflow YAML or skipping actions referenced through YAML anchors, aliases, or merge keys. Combining a GitHub Action selector with a negated package selector such as !lodash no longer matches every package dependency. pnpm outdated now reports newer prereleases of an installed prerelease. It checks the dist-tag that points to the newest version of the installed prerelease channel, such as next for 3.0.0-rc.0, alongside latest #7339. pnpm list -g with --depth greater than 0 now always reads the global install directory's node_modules and lockfile. Before, it could read the current project's lockfile or a custom modulesDir. pnpm list --json now reports unsaved dependencies from each workspace project's own modules directory #18248. pnpm list --lockfile-only --find-by now reads manifests from the configured store when node_modules is absent. pnpm why --exclude-peers now leaves out packages that are reached only as a resolved peer dependency. Before, the flag was accepted but ignored. pnpm cat-file can read executable files from the store. pnpm cache list, view, and delete recognize mixed-case package names. pnpm clean removes custom virtual stores with hidden directory names. In Plug'n'Play projects it also removes the generated loader on a full clean. Fixed pnpm unlink in CI and in workspace subprojects. It now removes matching linked dependencies from the selected manifests. Fixed pnpm link resolving a quoted ~/ path from the current directory. pnpm import respects the symlink policy for the destination lockfile and skips Yarn patches outside the workspace. pnpm add run from a workspace package directory that has no package.json yet now suggests creating one with pnpm init #11345. Removed the obsolete xmas command. pnpm help and pnpm <command> --help now print the help when the system runtime does not satisfy the project's devEngines.runtime or engines.runtime. pnpm clean --help and the help of other commands a script can override now print the help, even when package.json has a script with the same name. An unknown option passed via a shorthand is now reported as typed, and the shorthand of the other case is suggested when the command supports it. For instance, pnpm update -l used to fail with Unknown option: 'long', as -l is short for --long. Now it fails with Unknown option: '-l' and suggests -L (--latest). pnpm help import now lists the output options, such as --reporter, that the command accepts #7829. The help for pnpm config get and pnpm get now says that the key is a property path, such as catalog.react. Tab completion suggests project scripts when you type pnpm followed by a script name #18239.

    Original source
  • Nov 22, 2026
    • Date parsed from source:
      Nov 22, 2026
    • First seen by Releasebot:
      Nov 28, 2026
    pnpm logo

    pnpm

    pnpm 12.23

    pnpm releases a major update with new dependency-management commands, clearer install summaries, expanded workspace and package tooling, and broad performance and compatibility fixes. It also strengthens supply-chain security by tightening credential handling, lockfile checks, and build approvals, while removing platform variants.

    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 &lt;name&gt;@&lt;version&gt;/variants/&lt;tag&gt;. 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 &lt;version&gt;, 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 &lt;pkg&gt; 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 &lt;tag&gt;. 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&gt;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 &lt;pkg&gt; 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_&lt;name&gt; 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 &gt;, such as "foo@&gt;=1.0.0&gt;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 &lt;pkg&gt;@&lt;version&gt;: false entry in allowBuilds or permissions now also blocks &lt;pkg&gt;@&lt;version&gt; 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=!&lt;pkg&gt; denial went to allowBuilds and was overridden by an existing permissions.&lt;pkg&gt;.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 [&lt;since&gt;] 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 experimental package map when lockfileDir is configured. pnpm install recreates a deleted .pnp.cjs loader, and a full pnpm clean removes the generated loader. After a workspace script runs, pnpm links commands from scoped injected packages into the containing modules directory's .bin. Commands declared through directories.bin are also refreshed. Refreshing injected dependencies preserves the install's NODE_PATH settings in command shims and respects workspace package exclusions. pnpm recognizes uppercase file extensions when choosing the interpreter for commands without a shebang. It skips hidden files and directories when linking commands from directories.bin. pnpm dlx, pnx, and pnpm create now handle script skipping and non-registry package specifiers consistently: Running with --ignore-scripts or ignoreScripts: true uses a separate dlx cache key, keeping cached installs that skipped build scripts separate from normal runs. Relative local directory and tarball specifiers such as ./my-cli and ./my-cli.tgz resolve against the caller's working directory. Explicitly requested tarball URL, file:, and git URL packages run their build scripts by default unless --ignore-scripts or a negated --allow-build selector disables them. A tasks entry with no value in pnpm-workspace.yaml, such as build:, now fails with a hint. The hint suggests writing {} for a task with no settings, or removing the entry to keep the default dependsOn: ['^&lt;task&gt;']. Python and Cargo pnpm install now locks Cargo path dependencies outside the workspace, as Cargo does. It failed with workspace dependency &lt;name&gt; is not a workspace member. pnpm install --frozen-lockfile now also fails when Cargo.lock misses a path dependency or locks a git dependency at another branch, tag, or revision. pnpm outdated and pnpm update now include Cargo dependencies declared under [target.&lt;cfg&gt;.dependencies]. pnpm update --prod no longer fails on a crate that is also a dev-dependency. pnpm add crate: fails in a virtual Cargo workspace root, as cargo add does. It added a [dependencies] table that Cargo rejects there. pnpm remove accepts Python and Cargo package specifiers. Recursive and filtered updates include standalone Python and Cargo workspace members. pnpm update and pnpm outdated match normalized Python names and Cargo aliases. pnpm install now skips a Python project that has only a requirements.txt when its directory has a .venv that pnpm did not create, and prints a warning. The install failed for the whole workspace before. Fixed Python wheel installs with legacy metadata, whitespace around entry point targets, and interpreter options in script shebangs. Python dependency groups now match normalized names. Adding a development dependency reports when the project excludes the dev group. Comments ending in a backslash in requirements.txt no longer hide the next requirement. pnpm exec finds the environment of requirements-only projects under a tool-only pyproject.toml. Fixed pnpm add and pnpm update in shared Python workspaces that contain a requirements-only member. Fixed pnpm update failing with a TOML parse error when pyproject.toml declares [project.optional-dependencies]. pnpm store prune no longer removes files of the wheels that an installed Python project uses, so pnpm install --offline can recreate its environment. Pruning now also removes the store index entries of Python and Cargo archives whose files it deleted. Updating, auditing, and publishing pnpm audit now checks tarball, git, and named-registry dependencies against security advisories. pnpm audit signatures now verifies packages installed from named registries and skips non-registry dependencies. pnpm audit now checks patched versions correctly when registry metadata includes an unpublished entry in its time field #18209. pnpm audit --fix=true now applies the default override fix method, like a bare pnpm audit --fix #13261. pnpm outdated now reports newer prereleases of an installed prerelease. It checks the dist-tag that points to the newest version of the installed prerelease channel, such as next for 3.0.0-rc.0, alongside latest #7339. Fixed pnpm update and pnpm outdated matching every dependency of an ecosystem when a positive selector is combined with a negated package selector such as !lodash. This applied to Cargo, Python, npm, and --include-github-actions selectors. Fixed pnpm update and pnpm outdated with --include-github-actions corrupting workflow YAML or skipping actions referenced through YAML anchors, aliases, or merge keys. pnpm add and pnpm update now keep the range operator of a specifier that has both a prerelease and a build suffix, such as ^1.0.0-next.0+build.1. pnpm dedupe --check no longer requests the registry metadata of locked versions that the cache already holds. pnpm dedupe skips those requests too when lockfile.format is v13, which records no deprecated notices. Both were slow against a registry that sends no ETag or Last-Modified, such as Azure Artifacts, where each request downloaded the full package metadata #17758. pnpm publish now reads access and tag from pnpm-workspace.yaml, the global config.yaml, and PNPM_CONFIG_ACCESS / PNPM_CONFIG_TAG. The --access and --tag flags still win when set. A configured access outranks publishConfig.access. An empty publishBranch now allows master and main #13542. pnpm pack and pnpm publish fixes: Packed workspace dependencies use the dependency's publishConfig.name. Relative workspace dependencies with a package.yaml or package.json5 manifest are packed correctly, and these packages include their parked changelog. The manifest returned by beforePacking is validated and normalized. pnpm version fixes: It rejects a version argument that is not valid semver, such as 1.2.3foo or 01.2.3. It used to set a normalized version that differed from the argument. It rejects invalid prerelease identifiers passed to --preid. pnpm version -r updates explicit workspace dependency ranges that a release invalidates. It preserves edits that a preversion script makes to other manifest fields. When pnpm unpublish removes the version tagged latest, it prefers the highest remaining stable version. pnpm stage uses the current package's publish registry when listing, viewing, approving, rejecting, or downloading staged versions. To use a one-time password at a non-default registry selected by the package, pass --registry. Fixed several bugs in patching dependencies: A patch that only changes a file's mode no longer corrupts a binary file. A patch with CRLF line endings now applies when a blank context line has lost its leading space. A unified diff without diff --git lines now applies. A patch that creates a symlink now fails with ERR_PNPM_INVALID_PATCH. Before, pnpm wrote the symlink as a regular file. pnpm patch-commit --patches-dir ../outside now fails with ERR_PNPM_PATCHES_DIR_OUTSIDE_PROJECT. Before, pnpm wrote the patch to outside inside the project. pnpm patch-commit keeps a file without a final newline unterminated when that file comes last in the patch. Before, the patched file gained a trailing newline. pnpm patch-commit keeps the peers a patched package is bound to in the lockfile. It no longer fails with ERR_PNPM_NEXT_LOCKFILE_NOT_REPRESENTABLE when the package has an optional peer and lockfile.format is v13. A name-only patchedDependencies entry now records its patch hash on a file: directory dependency or an injected workspace package. pnpm install --frozen-lockfile no longer fails with ERR_PNPM_INCONSISTENT_PATCH_HASH on the lockfile that pnpm install wrote. pnpm patch and pnpm patch-commit find a package installed from a namedRegistries alias by its version. For example, pnpm patch [email protected] patches a dependency declared as work:1.0.0. pnpm patch-remove removes the corresponding edit directory and state entry from node_modules/.pnpm_patches. Other commands Global packages fixes: pnpm add -g with several space-separated packages lists every installed package in its summary. Only the packages of the first one were listed. pnpm list -g with --depth greater than 0 always reads the global install directory's node_modules and lockfile. It could read the current project's lockfile or a custom modulesDir. pnpm add -g, pnpm update -g, and pnpm outdated -g use the _auth and npmrcAuthFile settings under globalPackagesConfig in the global config.yaml. Commands that act on global packages honor dangerouslyAllowAllBuilds set at the top level of the global config.yaml. pnpm ignored it for global packages unless it was set under globalPackagesConfig. Fixed pnpm deploy for projects that depend on an external directory through link:. pnpm deploy now also resolves relative file: overrides from the source workspace #18191. Fixed pnpm link for target manifests without a name. The command uses the directory name and normalizes relative paths written to the manifest. It also resolves a quoted ~/ path from the home directory. Fixed pnpm prune leaving extraneous package links in hoisted installations, and pruneDirectDependencies skipping cleanup when the lockfile was already up to date. pnpm import fixes: It writes each project's lockfile when sharedWorkspaceLockfile is disabled and lockfileDir is unset. It respects disallowWorkspaceCycles and the symlink policy for the destination lockfile. It normalizes workspace-relative Yarn patch paths, skips Yarn patches outside the workspace, and accepts Yarn Classic entries identified by a URL or file path. pnpm store add now fails if it cannot write a package to the store index, for example when another process holds the index locked. It also indexes tarball URLs that have no integrity value #18194. pnpm store prune now fails with ERR_PNPM_FROZEN_STORE_WRITE when frozenStore is enabled. It used to remove files from the store. Store and cache inspection fixes: pnpm cache list, view, and delete search across registries by default and recognize mixed-case package names. Pass --registry to restrict them to one registry. pnpm cat-file can read executable files from the store. pnpm find-hash reports an unknown hash when the store is empty. Inspection commands with --json write errors to stdout. pnpm clean removes custom virtual stores with hidden directory names. pnpm list --lockfile-only --find-by now reads manifests from the configured store when node_modules is absent, and pnpm licenses list reads cached package metadata and license files. pnpm list --json now reports unsaved dependencies from each workspace project's own modules directory #18248. pnpm why --exclude-peers now leaves out packages that are reached only as a resolved peer dependency. The flag was accepted but ignored. pnpm sbom now assigns workspace dependency relationships consistently across runs. pnpm now fails with ERR_PNPM_CONFIG_UNRESOLVED_ENV_VAR when a setting in pnpm-workspace.yaml or the global config.yaml references an unset or empty environment variable without a fallback. A string setting used to get an empty string in its place #10963. --config.&lt;name&gt; options now validate their values. --config.storeDir and --config.stateDir work like --store-dir and --state-dir. An empty --state-dir= resets to the default state directory, as --store-dir= does. noProxy in pnpm-workspace.yaml or the global config.yaml now fails validation unless it is a string or a boolean. null leaves the setting unset. pnpm doctor checks the resolved global bin directory on PATH. pnpm --version now succeeds when the project pins another package manager. Fixed pnpm dropping Ctrl+C just before launching its native binary through Corepack or Node.js on Unix #18222. The pnpm npm package provides bundled node-gyp to lifecycle scripts even when pnpm's own install scripts were skipped #18227. The pnpm binary is about 16% smaller on Linux and macOS. Tab completion suggests project scripts when you type pnpm followed by a script name #18239. Shell completion uses the cursor position when editing an existing command. The help for pnpm config get and pnpm get now says that the key is a property path, such as catalog.react. Removed the obsolete xmas command. Platinum Sponsors Gold Sponsors

    Original source
  • Similar to pnpm with recent updates:

  • Nov 22, 2026
    • Date parsed from source:
      Nov 22, 2026
    • First seen by Releasebot:
      Nov 28, 2026
    pnpm logo

    pnpm

    pnpm 11.29

    pnpm releases a security-focused update that protects registry credentials, blocks unsafe local dependencies from registry packages, and adds minimum release age controls. It also improves installs without a TTY and fixes issues across workspaces, lockfiles, publishing, and package management commands.

    pnpm 11.29.0 stops reading otp from config files, rejects local filesystem dependencies declared by registry packages, adds the --minimum-release-age option, and recreates an incompatible node_modules without a TTY. This release carries several security fixes. Minor Changes 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 instead of writing an entry no loader reads back. 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. Patch Changes Security 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. Tarball downloads send registry credentials only over HTTPS or loopback HTTP. 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. Tarball URL preflight requests use the configured credentials and fetch retry settings. 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. 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. Setting a project-level tokenHelper fails. 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 dlx, pnx, and pnpm create now handle local isolation, script skipping, and non-registry package specifiers consistently: pnpm ignores local .pnpmfile.cjs hooks and project .npmrc proxy or TLS settings in the working directory. Running with --ignore-scripts or ignoreScripts: true uses a separate dlx cache key, keeping cached installs that skipped build scripts separate from normal runs. Relative local directory and tarball specifiers such as ./my-cli and ./my-cli.tgz resolve against the caller's working directory. Explicitly requested tarball URL, file:, and git URL packages run their build scripts by default unless --ignore-scripts or a negated --allow-build selector disables them. 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 pack and pnpm publish now reject publishConfig.directory values that use an absolute path or .. segments outside the package directory. 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 install with pnprServer configured now falls back to local resolution when the project declares file:, link:, or local path dependencies. pnpr also rejects local filesystem dependency specifiers on /-/pnpr/v0/resolve. Installs through a pnpr server now enforce minimumReleaseAgeStrict and add fallback versions to minimumReleaseAgeExclude when strict mode is off. pnpm install now records the supply-chain verification of the lockfile it writes by the lockfile's content. Before, a lockfile that another process put in its place right after the write could reuse that verification on the next install. 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. Installing packages pnpm install no longer fails without a TTY when it has to recreate an incompatible node_modules directory, such as in a Docker build or with piped stdin #6778, #9166, #8654, #8085. It now recreates the directory and prints a warning that explains why. A custom or symlinked modules directory still requires setting confirmModulesPurge to false. pnpm install now installs a workspace project located in a parent directory of the workspace root, such as one matched by packages: ['..'] #10096. Fixed ERR_PNPM_LINKING_FAILED on filesystems without copy-on-write reflinks when an install reuses an existing global virtual store entry before staging a package build. Also fixed merging node_modules directories during staged package imports on filesystems such as Btrfs that report EEXIST when renaming onto a non-empty directory. A filtered pnpm install that changes the installed dependency groups, such as pnpm --filter app install --prod, no longer empties the node_modules directories of the workspace projects it skips. 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. Fixed nodeLinker: hoisted installs omitting a dependency that its parent also declares as a peer dependency when autoInstallPeers is disabled #18193. Fixed nodeLinker: hoisted installs placing a package where one of its dependencies resolves to another version than the lockfile records. It could happen in a workspace whose projects depend on different versions of the same packages. In a workspace where one project's directory is inside another's, pnpm now keeps the inner project's dependency in its own node_modules when the outer project holds another version. Fixed pnpm prune leaving extraneous package links in hoisted installations. Fixed Plug'n'Play installs with local file: directory dependencies. Root projects can resolve their dependencies, and workspace projects with duplicate names retain their own dependencies. Plug'n'Play now combines custom export conditions from NODE_OPTIONS and command-line flags. It also respects Node.js's enabled node-addons and module-sync conditions. Fixed package maps resolving workspace and linked packages to the wrong directory when a path contains #, ?, or %. pnpm fetch now applies patches to packages that are only reachable through local file: dependencies #11034. Fixed pnpm install --lockfile-only fetching unchanged Git dependencies when an unrelated dependency changes and trustLockfile is enabled #18217. 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. When an install is delegated to the Rust engine, pnpm now renders the lockfile verification progress that the engine reports. The pass and failure lines show how many entries were checked. Lockfile and frozen installs pnpm install --frozen-lockfile now accepts a plain-range dependency of a local directory dependency that linkWorkspacePackages: deep linked to a workspace project. It fails when the injected setting of a dependency of a local directory dependency no longer matches the lockfile pnpm/tasks#319. Frozen installs now detect changes to catalog entries used only by peer dependencies of local directory packages. pnpm install --frozen-lockfile now revalidates registry metadata when verifying a locked tarball whose version is missing from the cached package listing. pnpm ci no longer reports an existing current lockfile to the preResolution hook when virtualStoreDir points outside the project and the lockfile is about to be removed with node_modules. pnpm can read lockfiles with large YAML merge mappings or ordered maps without the excessive parsing time seen in some cases #18246. pnpm-lock.yaml now quotes strings that look like numbers, such as +.5, so they are read back as strings. Workspaces and scripts 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 [&lt;since&gt;] 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. pnpm install now runs the workspace root's pnpm:devPreinstall script when sharedWorkspaceLockfile is false #4503. pnpm install --dry-run no longer runs it. pnpm run and pnpm exec now find the Plug'n'Play loader and experimental package map when lockfileDir is configured. This also applies to recursive commands. pnpm run and pnpm exec no longer trigger a reinstall solely because the last install used --trust-lockfile #18218. After a workspace script runs, pnpm links commands from scoped injected packages into the containing modules directory's .bin. Commands declared through directories.bin are also refreshed. pnpm skips unsupported command names in directories.bin, including filenames with spaces. --resume-from starts at the named project when the previous run completed no tasks. A tasks entry with no value in pnpm-workspace.yaml, such as build:, now fails with a hint. The hint suggests writing {} for a task with no settings, or removing the entry to keep the default dependsOn: ['^&lt;task&gt;']. pnpm --version, pnpm --help, and pnpm help now succeed when the project pins another package manager. Patched dependencies Fixed several bugs in applying patches: Deleting a file whose path contains b/ no longer deletes a different file. A hunk without context lines now inserts its lines after the line its header names. A patch that creates a file no longer overwrites an existing file with different content. pnpm reports the patch as failed. pnpm patch-commit now keeps a file without a final newline unterminated when that file comes last in the patch. Before, the patch dropped the final \ No newline at end of file marker, so the patched file gained a trailing newline. pnpm patch-remove now removes the corresponding edit directory and state entry from node_modules/.pnpm_patches. Packing, publishing, and deploying 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. Packed workspace dependencies now use the dependency's publishConfig.name. Fixed pnpm deploy for projects that depend on an external directory through link:. pnpm deploy now installs a workspace package from its publish directory only when the package's package.json sets publishConfig.directory to that directory. A publish directory that only the lockfile records is ignored. pnpm stage uses the current package's publish registry when listing, viewing, approving, rejecting, or downloading staged versions. To use a one-time password at a non-default registry selected by the package, pass --registry. pnpm version -r updates explicit workspace dependency ranges that a release invalidates. pnpm version preserves edits that a preversion script makes to other manifest fields. When pnpm unpublish removes the version tagged latest, it prefers the highest remaining stable version. Configuration 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. minimumReleaseAge must now be a finite, non-negative number of minutes. Other values fail with ERR_PNPM_INVALID_MINIMUM_RELEASE_AGE. Before, such a value turned off the release age check or crashed the install. 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. A setting in pnpm-workspace.yaml or the global config.yaml that references an undefined environment variable without a fallback now fails with ERR_PNPM_CONFIG_UNRESOLVED_ENV_VAR. Before, pnpm failed with an error that had no code #10963. Empty or whitespace-only numeric pnpm_config_* environment variables no longer override configured values or defaults. pnpm now validates noProxy, strictSsl, localAddress, and sideEffectsCache.exclude in workspace and global configuration. noProxy accepts strings and booleans, and null leaves it unset. pnpm now reports referenceTime in pnpm-workspace.yaml as a setting of a newer pnpm version. Windows command shims preserve existing PATH entries when the prependToPath option is used. Other commands and help pnpm store prune now fails with ERR_PNPM_FROZEN_STORE_WRITE when frozenStore is enabled. Before, it removed files from the store. pnpm peers check now resolves the catalog: peer ranges of injected workspace packages through the workspace catalogs. With autoInstallPeers: false, such a peer was reported as unmet even when the installed version matched the catalog entry #10279. Fixed pnpm update and pnpm outdated with --include-github-actions corrupting workflow YAML or skipping actions referenced through YAML anchors, aliases, or merge keys. Combining a GitHub Action selector with a negated package selector such as !lodash no longer matches every package dependency. pnpm outdated now reports newer prereleases of an installed prerelease. It checks the dist-tag that points to the newest version of the installed prerelease channel, such as next for 3.0.0-rc.0, alongside latest #7339. pnpm list -g with --depth greater than 0 now always reads the global install directory's node_modules and lockfile. Before, it could read the current project's lockfile or a custom modulesDir. pnpm list --json now reports unsaved dependencies from each workspace project's own modules directory #18248. pnpm list --lockfile-only --find-by now reads manifests from the configured store when node_modules is absent. pnpm why --exclude-peers now leaves out packages that are reached only as a resolved peer dependency. Before, the flag was accepted but ignored. pnpm cat-file can read executable files from the store. pnpm cache list, view, and delete recognize mixed-case package names. pnpm clean removes custom virtual stores with hidden directory names. In Plug'n'Play projects it also removes the generated loader on a full clean. Fixed pnpm unlink in CI and in workspace subprojects. It now removes matching linked dependencies from the selected manifests. Fixed pnpm link resolving a quoted ~/ path from the current directory. pnpm import respects the symlink policy for the destination lockfile and skips Yarn patches outside the workspace. pnpm add run from a workspace package directory that has no package.json yet now suggests creating one with pnpm init #11345. Removed the obsolete xmas command. pnpm help and pnpm &lt;command&gt; --help now print the help when the system runtime does not satisfy the project's devEngines.runtime or engines.runtime. pnpm clean --help and the help of other commands a script can override now print the help, even when package.json has a script with the same name. An unknown option passed via a shorthand is now reported as typed, and the shorthand of the other case is suggested when the command supports it. For instance, pnpm update -l used to fail with Unknown option: 'long', as -l is short for --long. Now it fails with Unknown option: '-l' and suggests -L (--latest). pnpm help import now lists the output options, such as --reporter, that the command accepts #7829. The help for pnpm config get and pnpm get now says that the key is a property path, such as catalog.react. Tab completion suggests project scripts when you type pnpm followed by a script name #18239. Platinum Sponsors Gold Sponsors

    Original source
  • Nov 22, 2026
    • Date parsed from source:
      Nov 22, 2026
    • First seen by Releasebot:
      Nov 28, 2026
    pnpm logo

    pnpm

    pnpr 0.1.0-alpha.22

    pnpm ships a pnpr update that removes platform variants, strengthens package permissions and lockfile checks, and improves publishing, audits, caching, and memory use. The release also adds support for hosted package ownership and stars while making registry behavior more secure and reliable.

    pnpr 0.1.0-alpha.22 removes platform variants, enforces package grants on owner changes, upload sessions, and cached lockfile verdicts, and returns freed memory to the operating system. Minor Changes 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 &lt;name&gt;@&lt;version&gt;/variants/&lt;tag&gt;. 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. Patch Changes Access control pnpr now uses the caller's registry permissions when resolving packages from its own Cargo and PyPI indexes. OCI blob upload continuation requests on /v2/&lt;name&gt;/blobs/uploads/&lt;id&gt; now check current repository publish permissions and require the caller who started the upload session. Owner changes for Cargo, PyPI, and OCI now require an annotate grant. Transparency log reads honor read grants for the packages the registry claims, including for administrators. pnpr rejects Cargo and Python uploads with ambiguous archive paths. Python ZIP uploads now have the same 512 MiB decompressed size limit as compressed tar uploads. Restoring an earlier registry revision with POST /-/pnpr/v0/admin/registry-revisions/{version}/restore no longer creates default grants for registries that a later revision removed. A restored registry with no grant now serves nobody until an admin adds a grant for it. POST /-/pnpr/v0/verify-lockfile and POST /-/pnpr/v0/resolve now enforce caller read permissions for every private route recorded in a cached lockfile verdict. Updating grants through the admin API now invalidates cached resolutions and lockfile verdicts immediately. A running server applies a pnpr grants import within about 10 seconds. 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 install with pnprServer configured now falls back to local resolution when the project declares file:, link:, or local path dependencies. pnpr also rejects local filesystem dependency specifiers on /-/pnpr/v0/resolve. Importing a registry with credentials requires HTTPS or loopback HTTP, including IPv4-mapped loopback addresses. Resolving and installing Cargo resolution now locks the path dependencies outside the workspace that a client sends. Installs through a pnpr server now enforce minimumReleaseAgeStrict and add fallback versions to minimumReleaseAgeExclude when strict mode is off. The resolve endpoint now accepts injectWorkspacePackages, dedupeInjectedDeps, ignoredOptionalDependencies, updateChecksums, and a dependenciesMeta for each project. POST /-/pnpr/v0/resolve and POST /-/pnpr/v0/verify-lockfile now route tarballs from split-domain private upstream registries through their /~&lt;name&gt;/ registry endpoints across resolved lockfiles and frozen prefetch frames. Previously, packuments that placed dist.tarball on a separate CDN host left raw CDN URLs and presigned query parameters in the returned lockfile. pnpr now fetches the package document when an upstream answers a version manifest request with HTTP 501. Scoped version manifests and attestations use an encoded package name. Package resolution and lockfile verification now send custom upstream headers on npm, Cargo, and Python package metadata requests. pnpr now honors Cache-Control: no-cache on upstream package metadata requests. A failed refresh for an unlisted version returns the upstream error and can be retried immediately. Publishing and package metadata Fixed a shared build artifact publication failing with a broken pipe after pnpr refused one of its blob uploads before reading it. When the version tagged latest is removed, pnpr now restores the most recent former latest that is still published. If none remains, pnpr prefers the highest remaining stable release. Moving latest also updates the package README. pnpr rejects npm publish documents with no versions. Fetching package metadata with ?write=true returns the current revision. Deprecation updates check that revision on every request, reject non-string messages, and clear the annotation for an empty message. pnpr rejects stale revisions on requests to unpublish a package or replace its maintainers. Hosted packages now support pnpm owner add, pnpm owner rm, pnpm star, pnpm unstar, and pnpm stars. npm team ls now displays team and member names. Hosted registries serving tar archives now return the release record bytes covered by their transparency log. Version manifest requests now resolve dist-tags and exact upstream versions ending in +r&lt;N&gt;. Approving a staged version now publishes its release notes. When different authenticated accounts stage and approve the version, pnpr records the approver and reports stagedPublish trust. Downloading a staged version with provenance returns the package tarball. Audits and search POST /-/npm/v1/security/advisories/bulk now preserves explicit OSV versions alongside semver ranges, skips Git ranges, and applies limit bounds. It also derives severities from CVSS vectors and links non-GHSA advisories to valid URLs. Router registries now partition npm security audit requests by package route, keeping hosted packages local and sending each upstream only the packages routed to it. The audit endpoints now accept Content-Encoding: gzip requests such as those sent by npm audit. POST /-/npm/v1/security/audits and POST /-/npm/v1/security/audits/quick now also evaluate advisories from the local OSV database when --osv is enabled. Fixed OCI referrer filters and registry paths that contain a literal plus sign. npm and Cargo searches now decode UTF-8 search terms correctly. Memory, disk, and size pnpr now returns freed memory to the operating system. On Linux, its resident memory grew to several GB while serving many large packuments at once and stayed there after the requests finished. pnpr also keeps more rendered packuments in its cache, so repeated reads of large packages need less memory and time #18206. pnpr cache-gc, server startup, and background cache eviction now retain cached Cargo, Python, and OCI upstream files while their upstream registries remain configured. Before, orphan pruning deleted cached crate archives, Python wheels, source distributions, PEP 658 metadata, and OCI manifests and blobs even when their upstream registry was active. The pnpr binary is smaller. On macOS on Apple silicon, it is about 6 MB smaller.

    Original source
  • Nov 22, 2026
    • Date parsed from source:
      Nov 22, 2026
    • First seen by Releasebot:
      Nov 28, 2026
    • Modified by Releasebot:
      Nov 28, 2026
    pnpm logo

    pnpm

    pnpm releases get-pnpm 0.1.0, marking a new version of the package.

  • Nov 17, 2026
    • Date parsed from source:
      Nov 17, 2026
    • First seen by Releasebot:
      Nov 28, 2026
    pnpm logo

    pnpm

    pnpm 12.22.0

    pnpm releases a broad update with global-only package settings, richer dependency inspection, and dependency-ordered workspace listings. It also strengthens registry security checks and fixes install, workflow, and cross-ecosystem issues, delivering a more reliable package management experience.

    pnpm 12.22.0 adds a globalPackagesConfig section to the global config.yaml for settings that apply only to global packages, adds pnpm why --ranges, and lists workspace projects in dependency order in pnpm list --recursive. It also includes a security fix. After the default or a scoped registry changed, pnpm install could skip the minimumReleaseAge and trustPolicy checks against the new registry. Minor Changes • Settings under globalPackagesConfig in the global config.yaml now apply only to commands that act on global packages, such as pnpm add -g and pnpm update -g. For example, globalPackagesConfig.trustPolicyExclude excludes a package from the trust policy for global installs only #18130. pnpm approve-builds -g and pnpm add -g --allow-build now save build decisions under globalPackagesConfig.permissions. pnpm still applies build settings from the pnpm-workspace.yaml of the global packages directory, with a deprecation warning. The next approval moves them to config.yaml. • Added pnpm why --ranges, which lists the version range that each direct dependent declares for the package. pnpm why --json now includes the declared range of each dependent in a requires field #18121. • pnpm list --recursive now lists workspace projects in dependency order. Use --no-sort to retain workspace order #7716. • A file: dependency on a local directory now resolves catalog: specifiers in that directory's package.json against the workspace catalogs, as an injected workspace package does. Before, the install failed with ERR_PNPM_SPEC_NOT_SUPPORTED_BY_ANY_RESOLVER. A file: dependency on the publishConfig.directory of a project is now described by that project's package.json, as an injected workspace package is. A package.json that a build writes into that directory no longer changes the resolution. • The experimental v13 lockfile format records a local directory package's declared specifiers in its dependencies and optionalDependencies, beside the versions they resolved to. A dependency marked injected in dependenciesMeta has injected: true. The format no longer has a dependenciesMeta field. Run pnpm install to rewrite a v13 lockfile that an earlier pnpm wrote. Patch Changes Security • pnpm install now re-verifies lockfile resolutions when the default registry or a scoped registry changes. Before, it reused the result cached for the previous registry and skipped the minimumReleaseAge and trustPolicy checks against the new one #18070. For a registry with serverType: pnpr, pnpm install also verifies locked package revisions against the registry when no cached result applies. • pnpm dlx no longer reuses a cached install made under looser overrides, packageExtensions, minimumReleaseAge, trustPolicy, trustLockfile, or blockExoticSubdeps settings. It also no longer applies overrides, packageExtensions, or blockExoticSubdeps from a local pnpm-workspace.yaml #18075. pnpm dlx --allow-build=!<pkg> now denies build scripts for <pkg>, including the executed package itself. Denied packages also skip interactive build approval. • pnpm audit now reports advisories whose id is a string. Such advisories were dropped, and pnpm audit reported no known vulnerabilities #18184. Installs that failed • When the pnpm package downloads its native binary on first run, it now reads a global config.yaml that holds only blank lines or comments as no settings. Such a file made every command fail with "expected a document, but the input is empty" #18172. • When the pnpm package downloads its native binary on first run, it now works with registries that serve no per-version package documents, such as Azure Artifacts. If such a registry also removed npm's signatures, pnpm fetches them from registry.npmjs.org. The binary still comes from the configured registry and is checked against npm's signature. • Fixed an offline install failing the minimumReleaseAge lockfile check with ERR_PNPM_NO_OFFLINE_META after an online install resolved the same packages with the same cache directory. The check now reads publish times from the metadata that the resolution cached #18063. • pnpm install no longer runs git ls-remote for a git dependency whose specifier is unchanged and whose commit the lockfile already records. Installs that update the lockfile, such as Renovate's, no longer fail without git credentials when the project has a private git dependency with peer dependencies #18104. • npm:<pkg>@<range> and named-registry package aliases with space-separated comparators, such as npm:bar@>=1.0.0 <2.0.0, now resolve the target package #18169. • pnpm install with lockfile.format: v13 no longer fails with ERR_PNPM_NEXT_LOCKFILE_NOT_REPRESENTABLE when it converts a v9 lockfile in which a package with many peers has a hashed peer suffix and is in a dependency cycle with one of its peers #18148. • pnpm deploy --prod now succeeds with lockfile.format: v13 when a production package's optional peer is provided only by development dependencies. The excluded provider stays out of the deployed project #18117. • pnpm deploy now preserves lockfile.format and lockfileIncludeTarballUrl in the deployed pnpm-workspace.yaml. Previously, commands such as pnpm dedupe --check in a deployed project using lockfile.format: v13 treated the lockfile as v9 and reported changes. • Fixed pnpm install --merge-git-branch-lockfiles --frozen-lockfile failing with ERR_PNPM_OUTDATED_LOCKFILE when a project sets or removes publishConfig.directory, publishConfig.linkDirectory, or dependenciesMeta. Lockfile merging now preserves and reconciles publishDirectory, linkDirectory, and dependenciesMeta on importers. • Frozen installs accept injected workspace packages whose child dependencies use link: or a bare relative path pnpm/tasks#274. • Installing an injected local package no longer fails with a "no such file or directory" error when another process renames or removes files in that package while pnpm lists them. This happened most often on macOS in workspaces with sharedWorkspaceLockfile: false, where the install of the package itself writes its lockfile at the same time. • Fixed a crash when pnpm-lock.yaml or a dependency selector contains a package name that starts with a multi-byte UTF-8 character. • Tarball URLs that reject HEAD requests with 405 Method Not Allowed now fall back to a GET request during resolution. Resolving and linking dependencies • With autoInstallPeers, an optional peer is no longer bound to a version outside its range that only another dependency's subtree brings in. Before, adding an unrelated dependency could flip that binding and rewrite the peer suffixes of other projects in the lockfile #18162. • Fixed duplicate packages with nodeLinker: hoisted and autoInstallPeers: false when identical transitive peer bindings appeared under parents with conflicting dependencies. • When multiple overrides selectors match a dependency, pnpm now picks the selector with the narrower version range regardless of the order in which the overrides are declared #18071. • Patches that add lines to the end of a file without a final newline now install the whole file. pnpm dropped the last added line when the patch also marked it with \ No newline at end of file #18156. • Project engines.node checks now use the Node.js runtime that pnpm links for the dependency groups being installed. If the lockfile records that runtime, the check uses its resolved version. Production installs ignore a runtime declared only in devEngines.runtime pnpm/tasks#302. • pnpm install and pnpm approve now discover, link, and prune agent skills from workspace:*, link:, and local directory file: direct dependencies. Cargo and Python • pnpm add crate: and targeted pnpm update crate: commands keep compatible versions from Cargo.lock for other crates pnpm/tasks#257. • pnpm add crate:<pkg> no longer corrupts multiline arrays in Cargo.toml. Saving an explicit version with pnpm add crate:<pkg>@<version> now replaces workspace = true on existing dependency entries. Inherited workspace settings such as features, default-features, and package stay on the updated entry. pnpm install now accepts unversioned path dependencies on prerelease Cargo workspace members. Cargo workspace inheritance now resolves package renames. • pnpm add for pypi: dependencies now preserves existing entries in pyproject.toml whose PEP 508 environment markers differ from the added requirement. pnpm add also accepts PEP 508 direct URL requirements such as pypi:pkg @ https://.... pnpm update at a shared-environment workspace root without a root [project] table now updates matching member manifests and the shared pylock.toml. • An invalid entry in a Python registry's packages list now names the patterns a Python registry accepts: an exact name, a prefix such as company-*, or **. The error used to suggest @scope/*, which a Python registry rejects. It also quotes the entry as written. A rejected prefix such as -a* used to appear as -ax. Running scripts • verifyDepsBeforeRun no longer reports the dependencies as out of date when runtimeOnFail stops pnpm from installing the runtime that devEngines.runtime or engines.runtime declares #18155. Commands that install a single project of a workspace, such as pnpm add -w, now apply runtimeOnFail to the other workspace projects too. They no longer install a runtime that runtimeOnFail excludes. • pnpm --if-present start, pnpm run --if-present start, and pnpm restart --if-present now exit with code 0 when a project has neither a start script nor a server.js file #18073. • pnpm test, pnpm t, and pnpm tst in a single-package project now fail with ERR_PNPM_NO_SCRIPT when the test script is missing unless --if-present is passed #18073. • shellEmulator now handles escaped backslashes (\\) and unquoted escaped single quotes (\') according to POSIX quoting rules. Previously, scripts containing "a\\" or \' failed to parse or misquoted later ${...} parameter expansions. • pnpm create now forwards --env-file and other CLI flags placed after the starter template name to the starter command. • pnpm pipeline now hashes no input files when inputs: [] is configured. +-prefixed input globs include gitignored files and workspace files outside the project directory. !-prefixed input globs exclude matching files. Tasks that depend on an uncacheable task now bypass cached output restoration and re-run after that dependency executes. Read-only cached output files restore without permission errors. Task keys now hash each project's wanted lockfile across per-project lockfiles, custom lockfileDir, and branch lockfiles. Build approvals • pnpm approve-builds and pnpm approve without package arguments or --all now fail with ERR_PNPM_APPROVE_BUILDS_NON_INTERACTIVE and ERR_PNPM_APPROVE_NON_INTERACTIVE when packages are awaiting approval in CI or without an interactive terminal. pnpm dlx and global installs also skip automatic build-approval prompts in CI, leaving pending builds unapproved. • pnpm approve-builds and pnpm add --allow-build no longer corrupt a pnpm-workspace.yaml whose last line has no line break. Workspaces and lockfiles • Combining --filter and --filter-prod with exclusion selectors such as !pkg now evaluates all selectors together in command-line order. An exclusion passed on one flag while inclusions were passed on the other no longer selects every workspace project. • pnpm -r fetch now fetches each selected project's lockfile when sharedWorkspaceLockfile is false. Use --filter to limit which projects are fetched #18152. • pnpm peers in workspaces with sharedWorkspaceLockfile: false now checks each selected project's pnpm-lock.yaml. • pnpm ci now validates that pnpm-lock.yaml exists and matches package.json before removing node_modules. pnpm clean and pnpm ci now honor --filter, --filter-prod, and --workspace-root. pnpm clean and pnpm ci also clean root node_modules in workspaces without a root package.json. pnpm clean --lockfile now removes per-project lockfiles and lockfiles inside a custom lockfileDir. • pnpm clean, pnpm purge, and pnpm ci keep files outside the project untouched when modulesDir points outside the project root. When node_modules is a symlink, pnpm now unlinks the symlink without modifying its target #18072. • pnpm import now preserves locked versions for npm: aliased dependencies when importing from package-lock.json, npm-shrinkwrap.json, or yarn.lock. pnpm import also parses Yarn Classic yarn.lock files that reference __metadata package names without treating them as Yarn Berry lockfiles. Updating, publishing, and versioning • pnpm update now moves an engines.pnpm range along with the pnpm version in packageManager or devEngines.packageManager #18142. • Fixed GitHub Actions support in pnpm update and pnpm outdated. Updating a workflow step with a major or minor version comment such as # v4 or a prose comment now formats the updated version comment cleanly. Negated action selectors such as !actions/cache/save now exclude only the targeted subpath actions. Passing only negated action selectors still updates packages. Previously, negated action selectors skipped package updates. pnpm outdated now reports every distinct outdated version when several workflows pin the same action at different versions. • Fixed pnpm update skipping package updates when a Package URL selector such as pkg:npm/foo is combined with --include-github-actions. • pnpm update -g --latest now upgrades global runtimes (node, deno, and bun) and npm:-aliased global packages across major versions. • pnpm update --changeset now generates a changeset when a .changeset directory exists or versioning is configured in pnpm-workspace.yaml, without requiring .changeset/config.json. It also respects versioning.ignore alongside .changeset/config.json. • pnpm version -r now runs each bumped package's preversion, version, and postversion scripts unless --ignore-scripts or --dry-run is set. pnpm version -r --dry-run --json now prints the planned releases as a JSON array. • pnpm lane <lane> --filter <selector> now rejects partial moves of a versioning.fixed group with ERR_PNPM_VERSIONING_CONFLICTING_CONFIG before writing pnpm-workspace.yaml. • pnpm -C <dir> publish <tarball|folder> and pnpm --dir <dir> publish <tarball|folder> now resolve relative tarball and directory arguments against <dir>. Git checks during pnpm publish also inspect the target directory. • pnpm -r publish now skips workspace manifests whose name or version field is an empty string. • pnpm -r pack --out now expands %s and %v placeholders only in the --out template. Literal %s and %v segments in the working directory path stay unchanged. Other commands and settings • pnpm config set --global --json tools now writes tools to the global config.yaml and validates its structure before saving. pnpm config set --global also accepts pm-on-fail and runtime-on-fail. blockExoticSubdeps and excludeLinksFromLockfile set in the global config.yaml now take effect during installs and appear in pnpm config get --global. pnpm now ignores workspace-only settings in the global config.yaml and prints a warning, matching pnpm config set --global. • ${VAR} placeholders in pnpm-workspace.yaml written with YAML flow syntax now fail on registry URLs with ERR_PNPM_REGISTRY_ENV_NOT_EXPANDED. Placeholders in flow-style proxy, pnprServer, and userAgent settings are now ignored with a warning #18074. • updateConfig and afterAllResolved hooks in .pnpmfile.cjs that return undefined, null, or a non-object value now fail with ERR_PNPM_CONFIG_IS_UNDEFINED and ERR_PNPM_BAD_AFTER_ALL_RESOLVED_RETURN. • finders in .pnpmfile.cjs that return an empty string no longer match packages in pnpm list --find-by or pnpm why --find-by. • pnpm list no longer adds an npm: prefix to aliased local file: directory dependencies, and pnpm list --json preserves <name>@file:<path> in their version field. • pnpm list --parseable --long now keeps <name>@ on link: and file: dependencies whose path or peer suffix contains @, such as link:../@scope/pkg. Aliased scoped file: dependencies whose path contains @ also keep <name>@ in pnpm list. • pnpm why no longer merges distinct local file: directory dependencies that share the same package name across projects with dedicated lockfiles (sharedWorkspaceLockfile: false). • pnpm sbom and pnpm licenses list now resolve namedRegistries version prefixes in lockfile entries. pnpm sbom emits bare component versions with a sanitized repository_url PURL qualifier. pnpm sbom derives tarball download URLs from the named registry. pnpm licenses list reports packages from named registries as separate entries with bare versions and registryName. • pnpm pkg now reads and writes the project manifest as written on disk. pnpm pkg get no longer reports synthetic runtime: dependency entries from devEngines.runtime or engines.runtime. pnpm pkg set and pnpm pkg delete now preserve devEngines.runtime, engines.runtime, and empty dependency objects set with --json. • pnpm pm now works after CLI flags such as --dir and after pnpm with current. pnpm with current also accepts subcommand boolean flags such as pnpm --bare with current init ahead of with. • pnpm env commands (use, list, and remove) now accept Node.js version specifiers with a leading v, including prerelease versions such as v22.0.0-rc.1. • pnpm doctor now checks write access for the cache, store, and global bin directories before they have been created. Previously, pnpm doctor reported no write access on fresh environments. pnpm doctor now probes whether reflinks or hardlinks work from the store into the project's link target and warns when neither does. Output and error messages • An error from a failed dependency resolution, such as an unreachable registry or a throwing pnpmfile resolver, now prints its cause once #18077. • pnpm no longer wraps error messages at the output width, so URLs and paths in them stay intact when stderr is not a terminal #18078. • pnpm install with nodeLinker: hoisted no longer counts missing packages as removed. This fixes inflated removal counts for skipped optional dependencies #18178. • pnpm outdated --json and pnpm outdated --format=json now write reporter warnings to stderr. Warnings previously appeared on stdout before the JSON output. • pnpm stage with --json now keeps stdout valid JSON during dry runs, empty workspace runs, and errors. pnpm pipeline --dry-run --json and pnpm -r run --dry-run --json now write reporter warnings and scope lines to stderr. • pnpm warns when an updateConfig hook changes registries and some routes still use their configured registry. The warning names those routes and points to registriesByScope. • pnpm cat-file now reports ERR_PNPM_INVALID_HASH when given an empty, malformed, or truncated digest such as sha512-.

    Original source
  • Nov 17, 2026
    • Date parsed from source:
      Nov 17, 2026
    • First seen by Releasebot:
      Nov 28, 2026
    pnpm logo

    pnpm

    pnpm 11.28.13

    pnpm releases a security-focused update that rechecks registry policies and prevents cached installs from bypassing stricter settings. It also fixes audit reporting, offline installs, dependency resolution, workspace and lockfile handling, and many command-line behaviors for more reliable package management.

    pnpm 11.28.13 includes a security fix. After the default or a scoped registry changed, pnpm install could skip the minimumReleaseAge and trustPolicy checks against the new registry. It also fixes pnpm audit dropping advisories with string ids, offline installs failing the minimumReleaseAge check, and peer and injected-package resolution bugs. Patch Changes Security • pnpm install now re-verifies lockfile resolutions when the default registry or a scoped registry changes. Before, it reused the result cached for the previous registry and skipped the minimumReleaseAge and trustPolicy checks against the new one #18070. • pnpm dlx now keys its cache on active overrides, packageExtensions, minimumReleaseAge, trustPolicy, trustLockfile, and blockExoticSubdeps settings. Cached installs created under looser settings are no longer reused when stricter policies apply #18075. pnpm dlx --allow-build=!<pkg> now denies build scripts for <pkg>, including the executed package itself. Denied packages also skip interactive build approval. • pnpm audit now reports advisories whose id is a string. Such advisories were dropped, and pnpm audit reported no known vulnerabilities #18184. Installs that failed • Fixed an offline install failing the minimumReleaseAge lockfile check with ERR_PNPM_NO_OFFLINE_META after an online install resolved the same packages with the same cache directory. The check now reads publish times from the metadata that the resolution cached #18063. • pnpm no longer stalls on a patch file whose diff --git line contains a long run of spaces. • Installing an injected local package no longer fails with a "no such file or directory" error when another process renames or removes files in that package while pnpm lists them. This happened most often on macOS in workspaces with sharedWorkspaceLockfile: false, where the install of the package itself writes its lockfile at the same time. • Fixed pnpm install --merge-git-branch-lockfiles --frozen-lockfile failing with ERR_PNPM_OUTDATED_LOCKFILE when a project sets or removes publishConfig.directory, publishConfig.linkDirectory, or dependenciesMeta. Lockfile merging now preserves and reconciles publishDirectory, linkDirectory, and dependenciesMeta on importers. • Tarball URLs that reject HEAD requests with 405 Method Not Allowed now fall back to a GET request during resolution. Resolving and linking dependencies • With autoInstallPeers, an optional peer is no longer bound to a version outside its range that only another dependency's subtree brings in. Before, adding an unrelated dependency could flip that binding and rewrite the peer suffixes of other projects in the lockfile #18162. • pnpm install now updates a peer that it auto-installs for a local file: dependency when the peer's catalog: entry changes. Before, the old peer version stayed locked. • pnpm install resolves the link: and bare relative path dependencies of an injected workspace package from that package's directory. They were resolved from the lockfile directory, so the installed link could point outside the workspace. Frozen installs now accept such dependencies pnpm/tasks#274. • When multiple overrides selectors match a dependency, pnpm now picks the selector with the narrower version range regardless of the order in which the overrides are declared #18071. • Patches that add lines to the end of a file without a final newline now install the whole file. pnpm dropped the last added line when the patch also marked it with \ No newline at end of file #18156. • Project engines.node checks now use the Node.js runtime that pnpm links for the dependency groups being installed. If the lockfile records that runtime, the check uses its resolved version. Production installs ignore a runtime declared only in devEngines.runtime pnpm/tasks#302. Scripts and builds • pnpm --if-present start, pnpm run --if-present start, and pnpm restart --if-present now exit with code 0 when a project has neither a start script nor a server.js file #18073. • pnpm approve-builds without package arguments or --all now fails with ERR_PNPM_APPROVE_BUILDS_NON_INTERACTIVE when packages are awaiting approval in CI or without an interactive terminal. pnpm dlx and global installs also skip automatic build-approval prompts in CI, leaving pending builds unapproved. Workspaces and lockfiles • Combining --filter and --filter-prod with exclusion selectors such as !pkg now evaluates all selectors together in command-line order. An exclusion passed on one flag while inclusions were passed on the other no longer selects every workspace project. • pnpm -r fetch now fetches each selected project's lockfile when sharedWorkspaceLockfile is false. Use --filter to limit which projects are fetched #18152. • pnpm peers in workspaces with sharedWorkspaceLockfile: false now checks each selected project's pnpm-lock.yaml. • pnpm ci now validates that pnpm-lock.yaml exists and matches package.json before removing node_modules. pnpm clean and pnpm ci now honor --filter, --filter-prod, and --workspace-root. pnpm clean and pnpm ci also clean root node_modules in workspaces without a root package.json. pnpm clean --lockfile now removes per-project lockfiles and lockfiles inside a custom lockfileDir. • pnpm clean, pnpm purge, and pnpm ci keep files outside the project untouched when modulesDir points outside the project root. When node_modules is a symlink, pnpm now unlinks the symlink without modifying its target #18072. • pnpm import now preserves locked versions for npm:-aliased dependencies when importing from package-lock.json, npm-shrinkwrap.json, or yarn.lock. pnpm import also parses Yarn Classic yarn.lock files that reference __metadata package names without treating them as Yarn Berry lockfiles. Updating, packing, and publishing • Fixed GitHub Actions support in pnpm update and pnpm outdated. Updating a workflow step with a major or minor version comment such as # v4 or a prose comment now formats the updated version comment cleanly. Negated action selectors such as !actions/cache/save now exclude only the targeted subpath actions. Passing only negated action selectors still updates packages. Previously, negated action selectors skipped package updates. pnpm outdated now reports every distinct outdated version when several workflows pin the same action at different versions. • pnpm update -g --latest now upgrades global runtimes (node, deno, and bun) and npm:-aliased global packages across major versions. • pnpm update --changeset now generates a changeset when a .changeset directory exists or versioning is configured in pnpm-workspace.yaml, without requiring .changeset/config.json. It also respects versioning.ignore alongside .changeset/config.json. • pnpm version -r now runs each bumped package's preversion, version, and postversion scripts unless --ignore-scripts or --dry-run is set. pnpm version -r --dry-run --json now prints the planned releases as a JSON array. • pnpm lane <lane> --filter <selector> now rejects partial moves of a versioning.fixed group with ERR_PNPM_VERSIONING_CONFLICTING_CONFIG before writing pnpm-workspace.yaml. • pnpm pack now accepts --ignore-pnpmfile and --ignore-scripts, and pnpm publish accepts --ignore-pnpmfile. With these flags, a package can be packed without running the project's pnpmfile or lifecycle scripts #18132. • pnpm pack and pnpm publish in a workspace now keep the workspace's ignore rules when a package's .npmignore is removed while pnpm lists the package's files. • pnpm -r pack --out now expands %s and %v placeholders only in the --out template. Literal %s and %v segments in the working directory path stay unchanged. • pnpm -C <dir> publish <tarball|folder> and pnpm --dir <dir> publish <tarball|folder> now resolve relative tarball and directory arguments against <dir>. Git checks during pnpm publish also inspect the target directory. Other commands and settings • updateConfig and afterAllResolved hooks in .pnpmfile.cjs that return undefined, null, or a non-object value now fail with ERR_PNPM_CONFIG_IS_UNDEFINED and ERR_PNPM_BAD_AFTER_ALL_RESOLVED_RETURN. • pnpm list --parseable --long now keeps <name>@ on link: and file: dependencies whose path or peer suffix contains @, such as link:../@scope/pkg. Aliased scoped file: dependencies whose path contains @ also keep <name>@ in pnpm list. • pnpm why no longer merges distinct local file: directory dependencies that share the same package name across projects with dedicated lockfiles (sharedWorkspaceLockfile: false). • pnpm pkg now reads and writes the project manifest as written on disk. pnpm pkg get no longer reports synthetic runtime: dependency entries from devEngines.runtime or engines.runtime. pnpm pkg set and pnpm pkg delete now preserve devEngines.runtime, engines.runtime, and empty dependency objects set with --json. • pnpm pm now works after CLI flags such as --dir and after pnpm with current. pnpm with current also accepts subcommand boolean flags such as pnpm --bare with current init ahead of with. • pnpm env commands (use, list, and remove) now accept Node.js version specifiers with a leading v, including prerelease versions such as v22.0.0-rc.1. • pnpm doctor now checks write access for the cache, store, and global bin directories before they have been created. Previously, pnpm doctor reported no write access on fresh environments. pnpm doctor now probes whether reflinks or hardlinks work from the store into the project's link target and warns when neither does. Output and error messages • pnpm install with nodeLinker: hoisted no longer counts missing packages as removed. This fixes inflated removal counts for skipped optional dependencies #18178. • pnpm outdated --json and pnpm outdated --format=json now write reporter warnings to stderr. Warnings previously appeared on stdout before the JSON output. • pnpm now reports globalPackagesConfig in the global config.yaml as a setting of a newer pnpm version. It no longer suggests a similarly named setting. • pnpm warns when an updateConfig hook changes registries and some routes still use their configured registry. The warning names those routes and points to registriesByScope. • pnpm cat-file now reports ERR_PNPM_INVALID_HASH when given an empty, malformed, or truncated digest such as sha512-.

    Original source
  • Nov 17, 2026
    • Date parsed from source:
      Nov 17, 2026
    • First seen by Releasebot:
      Nov 28, 2026
    pnpm logo

    pnpm

    pnpm 12.22.0

    pnpm releases an update with global-only package settings, richer dependency insights, and workspace listings in dependency order. It also strengthens registry security checks and fixes issues across installs, builds, publishing, and other workflows.

    pnpm 12.22.0 adds a globalPackagesConfig section to the global config.yaml for settings that apply only to global packages, adds pnpm why --ranges, and lists workspace projects in dependency order in pnpm list --recursive. It also includes a security fix. After the default or a scoped registry changed, pnpm install could skip the minimumReleaseAge and trustPolicy checks against the new registry. Minor Changes Settings under globalPackagesConfig in the global config.yaml now apply only to commands that act on global packages, such as pnpm add -g and pnpm update -g. For example, globalPackagesConfig.trustPolicyExclude excludes a package from the trust policy for global installs only #18130. pnpm approve-builds -g and pnpm add -g --allow-build now save build decisions under globalPackagesConfig.permissions. pnpm still applies build settings from the pnpm-workspace.yaml of the global packages directory, with a deprecation warning. The next approval moves them to config.yaml. Added pnpm why --ranges, which lists the version range that each direct dependent declares for the package. pnpm why --json now includes the declared range of each dependent in a requires field #18121. pnpm list --recursive now lists workspace projects in dependency order. Use --no-sort to retain workspace order #7716. A file: dependency on a local directory now resolves catalog: specifiers in that directory's package.json against the workspace catalogs, as an injected workspace package does. Before, the install failed with ERR_PNPM_SPEC_NOT_SUPPORTED_BY_ANY_RESOLVER. A file: dependency on the publishConfig.directory of a project is now described by that project's package.json, as an injected workspace package is. A package.json that a build writes into that directory no longer changes the resolution. The experimental v13 lockfile format records a local directory package's declared specifiers in its dependencies and optionalDependencies, beside the versions they resolved to. A dependency marked injected in dependenciesMeta has injected: true. The format no longer has a dependenciesMeta field. Run pnpm install to rewrite a v13 lockfile that an earlier pnpm wrote. Patch Changes Security pnpm install now re-verifies lockfile resolutions when the default registry or a scoped registry changes. Before, it reused the result cached for the previous registry and skipped the minimumReleaseAge and trustPolicy checks against the new one #18070. For a registry with serverType: pnpr, pnpm install also verifies locked package revisions against the registry when no cached result applies. pnpm dlx no longer reuses a cached install made under looser overrides, packageExtensions, minimumReleaseAge, trustPolicy, trustLockfile, or blockExoticSubdeps settings. It also no longer applies overrides, packageExtensions, or blockExoticSubdeps from a local pnpm-workspace.yaml #18075. pnpm dlx --allow-build=!&lt;pkg&gt; now denies build scripts for &lt;pkg&gt;, including the executed package itself. Denied packages also skip interactive build approval. pnpm audit now reports advisories whose id is a string. Such advisories were dropped, and pnpm audit reported no known vulnerabilities #18184. Installs that failed When the pnpm package downloads its native binary on first run, it now reads a global config.yaml that holds only blank lines or comments as no settings. Such a file made every command fail with "expected a document, but the input is empty" #18172. When the pnpm package downloads its native binary on first run, it now works with registries that serve no per-version package documents, such as Azure Artifacts. If such a registry also removed npm's signatures, pnpm fetches them from registry.npmjs.org. The binary still comes from the configured registry and is checked against npm's signature. Fixed an offline install failing the minimumReleaseAge lockfile check with ERR_PNPM_NO_OFFLINE_META after an online install resolved the same packages with the same cache directory. The check now reads publish times from the metadata that the resolution cached #18063. pnpm install no longer runs git ls-remote for a git dependency whose specifier is unchanged and whose commit the lockfile already records. Installs that update the lockfile, such as Renovate's, no longer fail without git credentials when the project has a private git dependency with peer dependencies #18104. npm:&lt;pkg&gt;@&lt;range&gt; and named-registry package aliases with space-separated comparators, such as npm:bar@&gt;=1.0.0 &lt;2.0.0, now resolve the target package #18169. pnpm install with lockfile.format: v13 no longer fails with ERR_PNPM_NEXT_LOCKFILE_NOT_REPRESENTABLE when it converts a v9 lockfile in which a package with many peers has a hashed peer suffix and is in a dependency cycle with one of its peers #18148. pnpm deploy --prod now succeeds with lockfile.format: v13 when a production package's optional peer is provided only by development dependencies. The excluded provider stays out of the deployed project #18117. pnpm deploy now preserves lockfile.format and lockfileIncludeTarballUrl in the deployed pnpm-workspace.yaml. Previously, commands such as pnpm dedupe --check in a deployed project using lockfile.format: v13 treated the lockfile as v9 and reported changes. Fixed pnpm install --merge-git-branch-lockfiles --frozen-lockfile failing with ERR_PNPM_OUTDATED_LOCKFILE when a project sets or removes publishConfig.directory, publishConfig.linkDirectory, or dependenciesMeta. Lockfile merging now preserves and reconciles publishDirectory, linkDirectory, and dependenciesMeta on importers. Frozen installs accept injected workspace packages whose child dependencies use link: or a bare relative path pnpm/tasks#274. Installing an injected local package no longer fails with a "no such file or directory" error when another process renames or removes files in that package while pnpm lists them. This happened most often on macOS in workspaces with sharedWorkspaceLockfile: false, where the install of the package itself writes its lockfile at the same time. Fixed a crash when pnpm-lock.yaml or a dependency selector contains a package name that starts with a multi-byte UTF-8 character. Tarball URLs that reject HEAD requests with 405 Method Not Allowed now fall back to a GET request during resolution. Resolving and linking dependencies With autoInstallPeers, an optional peer is no longer bound to a version outside its range that only another dependency's subtree brings in. Before, adding an unrelated dependency could flip that binding and rewrite the peer suffixes of other projects in the lockfile #18162. Fixed duplicate packages with nodeLinker: hoisted and autoInstallPeers: false when identical transitive peer bindings appeared under parents with conflicting dependencies. When multiple overrides selectors match a dependency, pnpm now picks the selector with the narrower version range regardless of the order in which the overrides are declared #18071. Patches that add lines to the end of a file without a final newline now install the whole file. pnpm dropped the last added line when the patch also marked it with \ No newline at end of file #18156. Project engines.node checks now use the Node.js runtime that pnpm links for the dependency groups being installed. If the lockfile records that runtime, the check uses its resolved version. Production installs ignore a runtime declared only in devEngines.runtime pnpm/tasks#302. pnpm install and pnpm approve now discover, link, and prune agent skills from workspace:*, link:, and local directory file: direct dependencies. Cargo and Python pnpm add crate: and targeted pnpm update crate: commands keep compatible versions from Cargo.lock for other crates pnpm/tasks#257. pnpm add crate:&lt;pkg&gt; no longer corrupts multiline arrays in Cargo.toml. Saving an explicit version with pnpm add crate:&lt;pkg&gt;@&lt;version&gt; now replaces workspace = true on existing dependency entries. Inherited workspace settings such as features, default-features, and package stay on the updated entry. pnpm install now accepts unversioned path dependencies on prerelease Cargo workspace members. Cargo workspace inheritance now resolves package renames. pnpm add for pypi: dependencies now preserves existing entries in pyproject.toml whose PEP 508 environment markers differ from the added requirement. pnpm add also accepts PEP 508 direct URL requirements such as pypi:pkg @ https://.... pnpm update at a shared-environment workspace root without a root [project] table now updates matching member manifests and the shared pylock.toml. An invalid entry in a Python registry's packages list now names the patterns a Python registry accepts: an exact name, a prefix such as company-*, or **. The error used to suggest @scope/*, which a Python registry rejects. It also quotes the entry as written. A rejected prefix such as -a* used to appear as -ax. Running scripts verifyDepsBeforeRun no longer reports the dependencies as out of date when runtimeOnFail stops pnpm from installing the runtime that devEngines.runtime or engines.runtime declares #18155. Commands that install a single project of a workspace, such as pnpm add -w, now apply runtimeOnFail to the other workspace projects too. They no longer install a runtime that runtimeOnFail excludes. pnpm --if-present start, pnpm run --if-present start, and pnpm restart --if-present now exit with code 0 when a project has neither a start script nor a server.js file #18073. pnpm test, pnpm t, and pnpm tst in a single-package project now fail with ERR_PNPM_NO_SCRIPT when the test script is missing unless --if-present is passed #18073. shellEmulator now handles escaped backslashes (\\) and unquoted escaped single quotes (\') according to POSIX quoting rules. Previously, scripts containing "a\\" or \' failed to parse or misquoted later ${...} parameter expansions. pnpm create now forwards --env-file and other CLI flags placed after the starter template name to the starter command. pnpm pipeline now hashes no input files when inputs: [] is configured. +-prefixed input globs include gitignored files and workspace files outside the project directory. !-prefixed input globs exclude matching files. Tasks that depend on an uncacheable task now bypass cached output restoration and re-run after that dependency executes. Read-only cached output files restore without permission errors. Task keys now hash each project's wanted lockfile across per-project lockfiles, custom lockfileDir, and branch lockfiles. Build approvals pnpm approve-builds and pnpm approve without package arguments or --all now fail with ERR_PNPM_APPROVE_BUILDS_NON_INTERACTIVE and ERR_PNPM_APPROVE_NON_INTERACTIVE when packages are awaiting approval in CI or without an interactive terminal. pnpm dlx and global installs also skip automatic build-approval prompts in CI, leaving pending builds unapproved. pnpm approve-builds and pnpm add --allow-build no longer corrupt a pnpm-workspace.yaml whose last line has no line break. Workspaces and lockfiles Combining --filter and --filter-prod with exclusion selectors such as !pkg now evaluates all selectors together in command-line order. An exclusion passed on one flag while inclusions were passed on the other no longer selects every workspace project. pnpm -r fetch now fetches each selected project's lockfile when sharedWorkspaceLockfile is false. Use --filter to limit which projects are fetched #18152. pnpm peers in workspaces with sharedWorkspaceLockfile: false now checks each selected project's pnpm-lock.yaml. pnpm ci now validates that pnpm-lock.yaml exists and matches package.json before removing node_modules. pnpm clean and pnpm ci now honor --filter, --filter-prod, and --workspace-root. pnpm clean and pnpm ci also clean root node_modules in workspaces without a root package.json. pnpm clean --lockfile now removes per-project lockfiles and lockfiles inside a custom lockfileDir. pnpm clean, pnpm purge, and pnpm ci keep files outside the project untouched when modulesDir points outside the project root. When node_modules is a symlink, pnpm now unlinks the symlink without modifying its target #18072. pnpm import now preserves locked versions for npm: aliased dependencies when importing from package-lock.json, npm-shrinkwrap.json, or yarn.lock. pnpm import also parses Yarn Classic yarn.lock files that reference __metadata package names without treating them as Yarn Berry lockfiles. Updating, publishing, and versioning pnpm update now moves an engines.pnpm range along with the pnpm version in packageManager or devEngines.packageManager #18142. Fixed GitHub Actions support in pnpm update and pnpm outdated. Updating a workflow step with a major or minor version comment such as # v4 or a prose comment now formats the updated version comment cleanly. Negated action selectors such as !actions/cache/save now exclude only the targeted subpath actions. Passing only negated action selectors still updates packages. Previously, negated action selectors skipped package updates. pnpm outdated now reports every distinct outdated version when several workflows pin the same action at different versions. Fixed pnpm update skipping package updates when a Package URL selector such as pkg:npm/foo is combined with --include-github-actions. pnpm update -g --latest now upgrades global runtimes (node, deno, and bun) and npm:-aliased global packages across major versions. pnpm update --changeset now generates a changeset when a .changeset directory exists or versioning is configured in pnpm-workspace.yaml, without requiring .changeset/config.json. It also respects versioning.ignore alongside .changeset/config.json. pnpm version -r now runs each bumped package's preversion, version, and postversion scripts unless --ignore-scripts or --dry-run is set. pnpm version -r --dry-run --json now prints the planned releases as a JSON array. pnpm lane &lt;lane&gt; --filter &lt;selector&gt; now rejects partial moves of a versioning.fixed group with ERR_PNPM_VERSIONING_CONFLICTING_CONFIG before writing pnpm-workspace.yaml. pnpm -C &lt;dir&gt; publish &lt;tarball|folder&gt; and pnpm --dir &lt;dir&gt; publish &lt;tarball|folder&gt; now resolve relative tarball and directory arguments against &lt;dir&gt;. Git checks during pnpm publish also inspect the target directory. pnpm -r publish now skips workspace manifests whose name or version field is an empty string. pnpm -r pack --out now expands %s and %v placeholders only in the --out template. Literal %s and %v segments in the working directory path stay unchanged. Other commands and settings pnpm config set --global --json tools now writes tools to the global config.yaml and validates its structure before saving. pnpm config set --global also accepts pm-on-fail and runtime-on-fail. blockExoticSubdeps and excludeLinksFromLockfile set in the global config.yaml now take effect during installs and appear in pnpm config get --global. pnpm now ignores workspace-only settings in the global config.yaml and prints a warning, matching pnpm config set --global. ${VAR} placeholders in pnpm-workspace.yaml written with YAML flow syntax now fail on registry URLs with ERR_PNPM_REGISTRY_ENV_NOT_EXPANDED. Placeholders in flow-style proxy, pnprServer, and userAgent settings are now ignored with a warning #18074. updateConfig and afterAllResolved hooks in .pnpmfile.cjs that return undefined, null, or a non-object value now fail with ERR_PNPM_CONFIG_IS_UNDEFINED and ERR_PNPM_BAD_AFTER_ALL_RESOLVED_RETURN. finders in .pnpmfile.cjs that return an empty string no longer match packages in pnpm list --find-by or pnpm why --find-by. pnpm list no longer adds an npm: prefix to aliased local file: directory dependencies, and pnpm list --json preserves &lt;name&gt;@file:&lt;path&gt; in their version field. pnpm list --parseable --long now keeps &lt;name&gt;@ on link: and file: dependencies whose path or peer suffix contains @, such as link:../@scope/pkg. Aliased scoped file: dependencies whose path contains @ also keep &lt;name&gt;@ in pnpm list. pnpm why no longer merges distinct local file: directory dependencies that share the same package name across projects with dedicated lockfiles (sharedWorkspaceLockfile: false). pnpm sbom and pnpm licenses list now resolve namedRegistries version prefixes in lockfile entries. pnpm sbom emits bare component versions with a sanitized repository_url PURL qualifier. pnpm sbom derives tarball download URLs from the named registry. pnpm licenses list reports packages from named registries as separate entries with bare versions and registryName. pnpm pkg now reads and writes the project manifest as written on disk. pnpm pkg get no longer reports synthetic runtime: dependency entries from devEngines.runtime or engines.runtime. pnpm pkg set and pnpm pkg delete now preserve devEngines.runtime, engines.runtime, and empty dependency objects set with --json. pnpm pm now works after CLI flags such as --dir and after pnpm with current. pnpm with current also accepts subcommand boolean flags such as pnpm --bare with current init ahead of with. pnpm env commands (use, list, and remove) now accept Node.js version specifiers with a leading v, including prerelease versions such as v22.0.0-rc.1. pnpm doctor now checks write access for the cache, store, and global bin directories before they have been created. Previously, pnpm doctor reported no write access on fresh environments. pnpm doctor now probes whether reflinks or hardlinks work from the store into the project's link target and warns when neither does. Output and error messages An error from a failed dependency resolution, such as an unreachable registry or a throwing pnpmfile resolver, now prints its cause once #18077. pnpm no longer wraps error messages at the output width, so URLs and paths in them stay intact when stderr is not a terminal #18078. pnpm install with nodeLinker: hoisted no longer counts missing packages as removed. This fixes inflated removal counts for skipped optional dependencies #18178. pnpm outdated --json and pnpm outdated --format=json now write reporter warnings to stderr. Warnings previously appeared on stdout before the JSON output. pnpm stage with --json now keeps stdout valid JSON during dry runs, empty workspace runs, and errors. pnpm pipeline --dry-run --json and pnpm -r run --dry-run --json now write reporter warnings and scope lines to stderr. pnpm warns when an updateConfig hook changes registries and some routes still use their configured registry. The warning names those routes and points to registriesByScope. pnpm cat-file now reports ERR_PNPM_INVALID_HASH when given an empty, malformed, or truncated digest such as sha512-. Platinum Sponsors Gold Sponsors

    Original source
  • Nov 17, 2026
    • Date parsed from source:
      Nov 17, 2026
    • First seen by Releasebot:
      Nov 28, 2026
    pnpm logo

    pnpm

    pnpm 11.28.13

    pnpm releases a security-focused update that strengthens registry and build-policy checks while improving installs, dependency resolution, workspace and lockfile handling, and publishing. It also fixes audit reporting, offline installs, and a wide range of command-line issues.

    pnpm 11.28.13 includes a security fix. After the default or a scoped registry changed, pnpm install could skip the minimumReleaseAge and trustPolicy checks against the new registry. It also fixes pnpm audit dropping advisories with string ids, offline installs failing the minimumReleaseAge check, and peer and injected-package resolution bugs. Patch Changes Security pnpm install now re-verifies lockfile resolutions when the default registry or a scoped registry changes. Before, it reused the result cached for the previous registry and skipped the minimumReleaseAge and trustPolicy checks against the new one #18070. pnpm dlx now keys its cache on active overrides, packageExtensions, minimumReleaseAge, trustPolicy, trustLockfile, and blockExoticSubdeps settings. Cached installs created under looser settings are no longer reused when stricter policies apply #18075. pnpm dlx --allow-build=!&lt;pkg&gt; now denies build scripts for &lt;pkg&gt;, including the executed package itself. Denied packages also skip interactive build approval. pnpm audit now reports advisories whose id is a string. Such advisories were dropped, and pnpm audit reported no known vulnerabilities #18184. Installs that failed Fixed an offline install failing the minimumReleaseAge lockfile check with ERR_PNPM_NO_OFFLINE_META after an online install resolved the same packages with the same cache directory. The check now reads publish times from the metadata that the resolution cached #18063. pnpm no longer stalls on a patch file whose diff --git line contains a long run of spaces. Installing an injected local package no longer fails with a "no such file or directory" error when another process renames or removes files in that package while pnpm lists them. This happened most often on macOS in workspaces with sharedWorkspaceLockfile: false, where the install of the package itself writes its lockfile at the same time. Fixed pnpm install --merge-git-branch-lockfiles --frozen-lockfile failing with ERR_PNPM_OUTDATED_LOCKFILE when a project sets or removes publishConfig.directory, publishConfig.linkDirectory, or dependenciesMeta. Lockfile merging now preserves and reconciles publishDirectory, linkDirectory, and dependenciesMeta on importers. Tarball URLs that reject HEAD requests with 405 Method Not Allowed now fall back to a GET request during resolution. Resolving and linking dependencies With autoInstallPeers, an optional peer is no longer bound to a version outside its range that only another dependency's subtree brings in. Before, adding an unrelated dependency could flip that binding and rewrite the peer suffixes of other projects in the lockfile #18162. pnpm install now updates a peer that it auto-installs for a local file: dependency when the peer's catalog: entry changes. Before, the old peer version stayed locked. pnpm install resolves the link: and bare relative path dependencies of an injected workspace package from that package's directory. They were resolved from the lockfile directory, so the installed link could point outside the workspace. Frozen installs now accept such dependencies pnpm/tasks#274. When multiple overrides selectors match a dependency, pnpm now picks the selector with the narrower version range regardless of the order in which the overrides are declared #18071. Patches that add lines to the end of a file without a final newline now install the whole file. pnpm dropped the last added line when the patch also marked it with \ No newline at end of file #18156. Project engines.node checks now use the Node.js runtime that pnpm links for the dependency groups being installed. If the lockfile records that runtime, the check uses its resolved version. Production installs ignore a runtime declared only in devEngines.runtime pnpm/tasks#302. Scripts and builds pnpm --if-present start, pnpm run --if-present start, and pnpm restart --if-present now exit with code 0 when a project has neither a start script nor a server.js file #18073. pnpm approve-builds without package arguments or --all now fails with ERR_PNPM_APPROVE_BUILDS_NON_INTERACTIVE when packages are awaiting approval in CI or without an interactive terminal. pnpm dlx and global installs also skip automatic build-approval prompts in CI, leaving pending builds unapproved. Workspaces and lockfiles Combining --filter and --filter-prod with exclusion selectors such as !pkg now evaluates all selectors together in command-line order. An exclusion passed on one flag while inclusions were passed on the other no longer selects every workspace project. pnpm -r fetch now fetches each selected project's lockfile when sharedWorkspaceLockfile is false. Use --filter to limit which projects are fetched #18152. pnpm peers in workspaces with sharedWorkspaceLockfile: false now checks each selected project's pnpm-lock.yaml. pnpm ci now validates that pnpm-lock.yaml exists and matches package.json before removing node_modules. pnpm clean and pnpm ci now honor --filter, --filter-prod, and --workspace-root. pnpm clean and pnpm ci also clean root node_modules in workspaces without a root package.json. pnpm clean --lockfile now removes per-project lockfiles and lockfiles inside a custom lockfileDir. pnpm clean, pnpm purge, and pnpm ci keep files outside the project untouched when modulesDir points outside the project root. When node_modules is a symlink, pnpm now unlinks the symlink without modifying its target #18072. pnpm import now preserves locked versions for npm: aliased dependencies when importing from package-lock.json, npm-shrinkwrap.json, or yarn.lock. pnpm import also parses Yarn Classic yarn.lock files that reference __metadata package names without treating them as Yarn Berry lockfiles. Updating, packing, and publishing Fixed GitHub Actions support in pnpm update and pnpm outdated. Updating a workflow step with a major or minor version comment such as # v4 or a prose comment now formats the updated version comment cleanly. Negated action selectors such as !actions/cache/save now exclude only the targeted subpath actions. Passing only negated action selectors still updates packages. Previously, negated action selectors skipped package updates. pnpm outdated now reports every distinct outdated version when several workflows pin the same action at different versions. pnpm update -g --latest now upgrades global runtimes (node, deno, and bun) and npm:-aliased global packages across major versions. pnpm update --changeset now generates a changeset when a .changeset directory exists or versioning is configured in pnpm-workspace.yaml, without requiring .changeset/config.json. It also respects versioning.ignore alongside .changeset/config.json. pnpm version -r now runs each bumped package's preversion, version, and postversion scripts unless --ignore-scripts or --dry-run is set. pnpm version -r --dry-run --json now prints the planned releases as a JSON array. pnpm lane &lt;lane&gt; --filter &lt;selector&gt; now rejects partial moves of a versioning.fixed group with ERR_PNPM_VERSIONING_CONFLICTING_CONFIG before writing pnpm-workspace.yaml. pnpm pack now accepts --ignore-pnpmfile and --ignore-scripts, and pnpm publish accepts --ignore-pnpmfile. With these flags, a package can be packed without running the project's pnpmfile or lifecycle scripts #18132. pnpm pack and pnpm publish in a workspace now keep the workspace's ignore rules when a package's .npmignore is removed while pnpm lists the package's files. pnpm -r pack --out now expands %s and %v placeholders only in the --out template. Literal %s and %v segments in the working directory path stay unchanged. pnpm -C &lt;dir&gt; publish &lt;tarball|folder&gt; and pnpm --dir &lt;dir&gt; publish &lt;tarball|folder&gt; now resolve relative tarball and directory arguments against &lt;dir&gt;. Git checks during pnpm publish also inspect the target directory. Other commands and settings updateConfig and afterAllResolved hooks in .pnpmfile.cjs that return undefined, null, or a non-object value now fail with ERR_PNPM_CONFIG_IS_UNDEFINED and ERR_PNPM_BAD_AFTER_ALL_RESOLVED_RETURN. pnpm list --parseable --long now keeps &lt;name&gt;@ on link: and file: dependencies whose path or peer suffix contains @, such as link:../@scope/pkg. Aliased scoped file: dependencies whose path contains @ also keep &lt;name&gt;@ in pnpm list. pnpm why no longer merges distinct local file: directory dependencies that share the same package name across projects with dedicated lockfiles (sharedWorkspaceLockfile: false). pnpm pkg now reads and writes the project manifest as written on disk. pnpm pkg get no longer reports synthetic runtime: dependency entries from devEngines.runtime or engines.runtime. pnpm pkg set and pnpm pkg delete now preserve devEngines.runtime, engines.runtime, and empty dependency objects set with --json. pnpm pm now works after CLI flags such as --dir and after pnpm with current. pnpm with current also accepts subcommand boolean flags such as pnpm --bare with current init ahead of with. pnpm env commands (use, list, and remove) now accept Node.js version specifiers with a leading v, including prerelease versions such as v22.0.0-rc.1. pnpm doctor now checks write access for the cache, store, and global bin directories before they have been created. Previously, pnpm doctor reported no write access on fresh environments. pnpm doctor now probes whether reflinks or hardlinks work from the store into the project's link target and warns when neither does. Output and error messages pnpm install with nodeLinker: hoisted no longer counts missing packages as removed. This fixes inflated removal counts for skipped optional dependencies #18178. pnpm outdated --json and pnpm outdated --format=json now write reporter warnings to stderr. Warnings previously appeared on stdout before the JSON output. pnpm now reports globalPackagesConfig in the global config.yaml as a setting of a newer pnpm version. It no longer suggests a similarly named setting. pnpm warns when an updateConfig hook changes registries and some routes still use their configured registry. The warning names those routes and points to registriesByScope. pnpm cat-file now reports ERR_PNPM_INVALID_HASH when given an empty, malformed, or truncated digest such as sha512-. Platinum Sponsors Gold Sponsors

    Original source
  • Nov 17, 2026
    • Date parsed from source:
      Nov 17, 2026
    • First seen by Releasebot:
      Nov 28, 2026
    pnpm logo

    pnpm

    pnpr 0.1.0-alpha.21

    pnpm’s pnpr 0.1.0-alpha.21 introduces database-backed access grants and instance-wide teams, improves upstream package caching, and fixes PostgreSQL write timeouts. The release also requires resetting databases from earlier alpha versions.

    pnpr 0.1.0-alpha.21 decides access with grants stored in the database and makes teams instance-wide. It cannot open a database from an earlier alpha release, so existing deployments must be reset. Minor Changes pnpr refuses a database created by an earlier alpha release. Drop its pnpr tables together with the hosted store, and pnpr creates them afresh. On PostgreSQL, pnpr sorts and compares package names, versions, and other keys by bytes, as it does on SQLite and MySQL. Patch Changes pnpr now decides who may do what with grants. A grant gives accounts, teams or built-in groups a set of actions on the packages of one or more registries. The actions are read, cache, publish, annotate, delete and manage. Grants are kept in the database apart from the registries, so restoring an earlier revision of the registries does not change them. The access key of a registry and the access, publish and unpublish lists under its packages keys are removed. Adding a registry creates a default grant for it. The /-/pnpr/v0/admin/rules endpoints are replaced by /-/pnpr/v0/admin/grants, and the new pnpr grants export and pnpr grants import commands read and write the grants as a YAML file. Changing a dist-tag, a deprecation, a note or the maintainers now takes annotate. Reading through an upstream takes read, and a caller without cache gets only what the cache already holds. pnpr teams now belong to the instance, not to one registry. A grant on any registry can name a team as team:&lt;id&gt;. pnpm team edits one set of teams, whichever scope it is given. A signed-in caller who is not an admin sees the teams they are in. The teams key of a registry and the registry key of an OIDC group grant are removed. Removing an account removes it from every team. An artifacts.owners list can name a team. pnpr now serves a version published upstream after it cached the package's packument. A request for a version, its tarball, or its manifest that the cached packument does not list refetches the packument, at most once a minute per package. Before, pnpr answered 404 until packumentTtl expired #18180. Fixed writes on PostgreSQL waiting until they timed out when more than one pnpr instance wrote through PgBouncer or another connection pool in transaction mode. A registry pattern that is not a valid package name now gets an error that names the patterns its ecosystem accepts. The error used to suggest @scope/* for every ecosystem, but only npm registries accept it.

    Original source
  • Nov 17, 2026
    • Date parsed from source:
      Nov 17, 2026
    • First seen by Releasebot:
      Nov 28, 2026
    • Modified by Releasebot:
      Nov 28, 2026
    pnpm logo

    pnpm

    pnpm releases get-pnpm 0.0.13, with no further product changes detailed.

  • Nov 15, 2026
    • Date parsed from source:
      Nov 15, 2026
    • First seen by Releasebot:
      Nov 28, 2026
    • Modified by Releasebot:
      Nov 28, 2026
    pnpm logo

    pnpm

    pnpm lists get-pnpm version 0.0.12, with no release details provided.

Releasebot

Curated by the Releasebot team

Releasebot is an aggregator of official release notes from hundreds of software vendors and thousands of sources.

Our editorial process involves the manual review and audit of release notes procured with the help of automated systems.