Repository navigation
chore(deps): update pnpm to v11.29.0 - #185
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
2 times, most recently
from
August 3, 2026 18:08
a326620 to
c6c8f6e
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
from
August 9, 2026 18:06
c6c8f6e to
f7449ad
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
from
August 15, 2026 18:02
f7449ad to
12f3d84
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
from
August 23, 2026 19:02
12f3d84 to
4cfb252
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
from
August 25, 2026 20:14
4cfb252 to
b1ebdb8
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
from
September 1, 2026 02:41
b1ebdb8 to
fdb0a75
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
from
September 7, 2026 02:21
fdb0a75 to
6bc47d3
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
from
September 12, 2026 22:15
6bc47d3 to
a48e7d1
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
from
September 21, 2026 00:55
a48e7d1 to
eb88396
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
from
September 25, 2026 11:17
eb88396 to
7ea9a7c
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
from
September 28, 2026 18:44
7ea9a7c to
75f361e
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
from
October 1, 2026 04:21
75f361e to
d7ff2c4
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
from
October 3, 2026 20:55
d7ff2c4 to
fea4ed7
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
from
October 6, 2026 06:09
fea4ed7 to
7da3569
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
from
October 15, 2026 14:55
7da3569 to
e356554
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
from
October 21, 2026 17:14
e356554 to
4450e17
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
from
October 22, 2026 23:37
4450e17 to
4c55cbe
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
2 times, most recently
from
October 30, 2026 16:58
c505bb6 to
2ca7cd4
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
from
November 16, 2026 00:16
2ca7cd4 to
34aaa8a
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
from
November 18, 2026 02:11
34aaa8a to
b884a98
Compare
renovate
Bot
force-pushed
the
renovate/pnpm-11.x
branch
from
November 22, 2026 22:56
b884a98 to
b2f6b95
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
11.16.0→11.29.0Release Notes
pnpm/pnpm (pnpm)
v11.29.0: pnpm 11.29Compare Source
pnpm 11.29.0 stops reading
otpfrom config files, rejects local filesystem dependencies declared by registry packages, adds the--minimum-release-ageoption, and recreates an incompatiblenode_moduleswithout a TTY. This release carries several security fixes.Minor Changes
otpis no longer read from any config file. Pass--otpon the command line, or setPNPM_CONFIG_OTP. Apnpm-workspace.yamlor a globalconfig.yamlthat carriesotpis ignored, with a warning naming those two channels.pnpm config set otpfails withERR_PNPM_CONFIG_SET_NOT_A_FILE_SETTINGinstead 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 ownregistry:, andpnpm publishsent that environment variable to the registry the same file named, in thenpm-otpheader of its first request #13542.Patch Changes
Security
pnpm installnow rejects local filesystem dependencies (file:,link:, and path-basedworkspace:specifiers) declared by non-local packages withERR_PNPM_LOCAL_SUBDEP_NOT_ALLOWED. Relativefile:dependencies inside a package's own archive and local dependencies configured by the workspace throughoverrides,packageExtensions, or.pnpmfile.cjscontinue to work. Lockfile verification also rejects unauthorized local directory, tarball, and link entries on non-importer snapshots.pnpm installandpnpm install --frozen-lockfilenow enforceblockExoticSubdepsagainst entries inpnpm-lock.yaml. Before, pnpm accepted a lockfile with git or tarball URL subdependencies and installed those packages even withblockExoticSubdeps: 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
.npmrcandauth.iniresolve relative to the file that declares them. Project.npmrcfiles skip TLS file paths containing environment variables.pnpm config getrefuses to print protected auth settings.pnpm config listhides TLS private keys and inline proxy credentials.pnpm config set --global tokenHelperwrites toauth.ini. Setting a project-leveltokenHelperfails.Global commands (
--global,-g) no longer load.pnpmfile.cjs,pnpm-workspace.yaml, or.npmrcfrom the current working directory.pnpm why -gnow inspects globally installed packages.pnpm dlx,pnx, andpnpm createnow handle local isolation, script skipping, and non-registry package specifiers consistently:pnpmignores local.pnpmfile.cjshooks and project.npmrcproxy or TLS settings in the working directory.--ignore-scriptsorignoreScripts: trueuses a separatedlxcache key, keeping cached installs that skipped build scripts separate from normal runs../my-cliand./my-cli.tgzresolve against the caller's working directory.file:, and git URL packages run their build scripts by default unless--ignore-scriptsor a negated--allow-buildselector disables them.pnpm approve-buildsnow requires the exact selector shown bypnpm ignored-buildsfor a dependency a bare package name cannot identify (afile:, git, or tarball artifact). A bare package name only approves a plain registry version #18237.pnpm packandpnpm publishnow rejectpublishConfig.directoryvalues that use an absolute path or..segments outside the package directory.pnpm installwithpnprServernow rejects registry-keyed lockfile entries whose resolution uses a non-registry source withERR_PNPM_RESOLUTION_SHAPE_MISMATCH. Thepnprlockfile verification and resolution endpoints enforce the same check before accepting or caching a lockfile.pnpm installwithpnprServerconfigured now falls back to local resolution when the project declaresfile:,link:, or local path dependencies.pnpralso rejects local filesystem dependency specifiers on/-/pnpr/v0/resolve.Installs through a pnpr server now enforce
minimumReleaseAgeStrictand add fallback versions tominimumReleaseAgeExcludewhen strict mode is off.pnpm installnow 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
+(*)zin the workspacepackagespatterns, no longer hangs on long paths. The bundled picomatch is patched for a security advisory.Installing packages
pnpm installno longer fails without a TTY when it has to recreate an incompatiblenode_modulesdirectory, 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 settingconfirmModulesPurgetofalse.pnpm installnow installs a workspace project located in a parent directory of the workspace root, such as one matched bypackages: ['..']#10096.Fixed
ERR_PNPM_LINKING_FAILEDon filesystems without copy-on-write reflinks when an install reuses an existing global virtual store entry before staging a package build. Also fixed mergingnode_modulesdirectories during staged package imports on filesystems such as Btrfs that reportEEXISTwhen renaming onto a non-empty directory.A filtered
pnpm installthat changes the installed dependency groups, such aspnpm --filter app install --prod, no longer empties thenode_modulesdirectories of the workspace projects it skips.With
enableGlobalVirtualStoreon,require.extensionshooks run again forrequire()calls from a module compiled from a string, such as the module Next.js uses to loadnext.config.ts. A required.tsfile skipped the registered TypeScript hook. A required.jsonfile was parsed as JavaScript #18261.Fixed
nodeLinker: hoistedinstalls omitting a dependency that its parent also declares as a peer dependency whenautoInstallPeersis disabled #18193.Fixed
nodeLinker: hoistedinstalls 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 ownnode_moduleswhen the outer project holds another version.Fixed
pnpm pruneleaving 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_OPTIONSand command-line flags. It also respects Node.js's enablednode-addonsandmodule-syncconditions.Fixed package maps resolving workspace and linked packages to the wrong directory when a path contains
#,?, or%.pnpm fetchnow applies patches to packages that are only reachable through localfile:dependencies #11034.Fixed
pnpm install --lockfile-onlyfetching unchanged Git dependencies when an unrelated dependency changes andtrustLockfileis enabled #18217.When an overrides entry requests a version that does not exist on the registry,
pnpm installnow names that override entry in the error. If the entry's selector has a version range, such asfoo@^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-lockfilenow accepts a plain-range dependency of a local directory dependency thatlinkWorkspacePackages: deeplinked to a workspace project. It fails when theinjectedsetting 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-lockfilenow revalidates registry metadata when verifying a locked tarball whose version is missing from the cached package listing.pnpm cino longer reports an existing current lockfile to thepreResolutionhook whenvirtualStoreDirpoints outside the project and the lockfile is about to be removed withnode_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.yamlnow 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 asfoo: workspace:*, makes that package a dependency of every project whose declaration the override matches, even withlinkWorkspacePackagesoff.pnpm installnow runs that package's lifecycle scripts before the scripts of the projects depending on it.pnpm -r runorders the projects the same way.--filterselectors that follow dependencies now see the edge.A
[<since>]filter such as--filter "...[origin/main]"now selects a project whose dependency anoverridesentry points at a changed catalog entry. For example, withlib: catalog:localinoverrides, changinglibin thelocalcatalog selects every project that depends onlib.pnpm installnow runs the workspace root'spnpm:devPreinstallscript whensharedWorkspaceLockfileisfalse#4503.pnpm install --dry-runno longer runs it.pnpm runandpnpm execnow find the Plug'n'Play loader and experimental package map whenlockfileDiris configured. This also applies to recursive commands.pnpm runandpnpm execno 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 throughdirectories.binare also refreshed.pnpm skips unsupported command names in
directories.bin, including filenames with spaces.--resume-fromstarts at the named project when the previous run completed no tasks.A
tasksentry with no value inpnpm-workspace.yaml, such asbuild:, now fails with a hint. The hint suggests writing{}for a task with no settings, or removing the entry to keep the defaultdependsOn: ['^<task>'].pnpm --version,pnpm --help, andpnpm helpnow succeed when the project pins another package manager.Patched dependencies
Fixed several bugs in applying patches:
b/no longer deletes a different file.pnpm patch-commitnow 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 filemarker, so the patched file gained a trailing newline.pnpm patch-removenow removes the corresponding edit directory and state entry fromnode_modules/.pnpm_patches.Packing, publishing, and deploying
pnpm pack --jsonnow reports thepackage.jsonthat goes into the tarball, withpublishConfigand the other publish-time changes applied. Runpnpm pack --dry-run --jsonto preview it without writing a tarball. A dry run still runsprepackandprepare, unless--ignore-scriptsis passed.Packed workspace dependencies now use the dependency's
publishConfig.name.Fixed
pnpm deployfor projects that depend on an external directory throughlink:.pnpm deploynow installs a workspace package from its publish directory only when the package'spackage.jsonsetspublishConfig.directoryto that directory. A publish directory that only the lockfile records is ignored.pnpm stageuses 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 -rupdates explicit workspace dependency ranges that a release invalidates.pnpm versionpreserves edits that apreversionscript makes to other manifest fields.When
pnpm unpublishremoves the version taggedlatest, it prefers the highest remaining stable version.Configuration
Added the
--minimum-release-ageand--minimum-release-age-excludeoptions topnpm install,pnpm add,pnpm update, andpnpm dlx. They setminimumReleaseAgeandminimumReleaseAgeExcludefor a single run without editing a config file #11224.minimumReleaseAgemust now be a finite, non-negative number of minutes. Other values fail withERR_PNPM_INVALID_MINIMUM_RELEASE_AGE. Before, such a value turned off the release age check or crashed the install.Approving the
minimumReleaseAgeprompt no longer reprints the list of packages it just showed. pnpm now confirms with one line that says how many entries it added tominimumReleaseAgeExclude#15377.A setting in
pnpm-workspace.yamlor the globalconfig.yamlthat references an undefined environment variable without a fallback now fails withERR_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, andsideEffectsCache.excludein workspace and global configuration.noProxyaccepts strings and booleans, andnullleaves it unset.pnpm now reports
referenceTimeinpnpm-workspace.yamlas a setting of a newer pnpm version.Windows command shims preserve existing PATH entries when the
prependToPathoption is used.Other commands and help
pnpm store prunenow fails withERR_PNPM_FROZEN_STORE_WRITEwhenfrozenStoreis enabled. Before, it removed files from the store.pnpm peers checknow resolves thecatalog:peer ranges of injected workspace packages through the workspace catalogs. WithautoInstallPeers: false, such a peer was reported as unmet even when the installed version matched the catalog entry #10279.Fixed
pnpm updateandpnpm outdatedwith--include-github-actionscorrupting 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!lodashno longer matches every package dependency.pnpm outdatednow reports newer prereleases of an installed prerelease. It checks the dist-tag that points to the newest version of the installed prerelease channel, such asnextfor3.0.0-rc.0, alongsidelatest#7339.pnpm list -gwith--depthgreater than0now always reads the global install directory'snode_modulesand lockfile. Before, it could read the current project's lockfile or a custommodulesDir.pnpm list --jsonnow reports unsaved dependencies from each workspace project's own modules directory #18248.pnpm list --lockfile-only --find-bynow reads manifests from the configured store whennode_modulesis absent.pnpm why --exclude-peersnow leaves out packages that are reached only as a resolved peer dependency. Before, the flag was accepted but ignored.pnpm cat-filecan read executable files from the store.pnpm cache list,view, anddeleterecognize mixed-case package names.pnpm cleanremoves custom virtual stores with hidden directory names. In Plug'n'Play projects it also removes the generated loader on a full clean.Fixed
pnpm unlinkin CI and in workspace subprojects. It now removes matching linked dependencies from the selected manifests.Fixed
pnpm linkresolving a quoted~/path from the current directory.pnpm importrespects the symlink policy for the destination lockfile and skips Yarn patches outside the workspace.pnpm addrun from a workspace package directory that has nopackage.jsonyet now suggests creating one withpnpm init#11345.Removed the obsolete
xmascommand.pnpm helpandpnpm <command> --helpnow print the help when the system runtime does not satisfy the project'sdevEngines.runtimeorengines.runtime.pnpm clean --helpand the help of other commands a script can override now print the help, even whenpackage.jsonhas 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 -lused to fail withUnknown option: 'long', as-lis short for--long. Now it fails withUnknown option: '-l'and suggests-L(--latest).pnpm help importnow lists the output options, such as--reporter, that the command accepts #7829.The help for
pnpm config getandpnpm getnow says that the key is a property path, such ascatalog.react.Tab completion suggests project scripts when you type
pnpmfollowed by a script name #18239.Platinum Sponsors
Gold Sponsors
v11.28.13: pnpm 11.28.13Compare Source
pnpm 11.28.13 includes a security fix. After the default or a scoped registry changed,
pnpm installcould skip theminimumReleaseAgeandtrustPolicychecks against the new registry. It also fixespnpm auditdropping advisories with string ids, offline installs failing theminimumReleaseAgecheck, and peer and injected-package resolution bugs.Patch Changes
Security
pnpm installnow 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 theminimumReleaseAgeandtrustPolicychecks against the new one #18070.pnpm dlxnow keys its cache on activeoverrides,packageExtensions,minimumReleaseAge,trustPolicy,trustLockfile, andblockExoticSubdepssettings. 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 auditnow reports advisories whoseidis a string. Such advisories were dropped, andpnpm auditreported no known vulnerabilities #18184.Installs that failed
Fixed an offline install failing the
minimumReleaseAgelockfile check withERR_PNPM_NO_OFFLINE_METAafter 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 --gitline 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-lockfilefailing withERR_PNPM_OUTDATED_LOCKFILEwhen a project sets or removespublishConfig.directory,publishConfig.linkDirectory, ordependenciesMeta. Lockfile merging now preserves and reconcilespublishDirectory,linkDirectory, anddependenciesMetaon 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 installnow updates a peer that it auto-installs for a localfile:dependency when the peer'scatalog:entry changes. Before, the old peer version stayed locked.pnpm installresolves thelink: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
overridesselectors 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.nodechecks 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 indevEngines.runtimepnpm/tasks#302.Scripts and builds
pnpm --if-present start,pnpm run --if-present start, andpnpm restart --if-presentnow exit with code 0 when a project has neither astartscript nor aserver.jsfile #18073.pnpm approve-buildswithout package arguments or--allnow fails withERR_PNPM_APPROVE_BUILDS_NON_INTERACTIVEwhen packages are awaiting approval in CI or without an interactive terminal.pnpm dlxand global installs also skip automatic build-approval prompts in CI, leaving pending builds unapproved.Workspaces and lockfiles
Combining
--filterand--filter-prodwith exclusion selectors such as!pkgnow 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 fetchnow fetches each selected project's lockfile whensharedWorkspaceLockfileisfalse. Use--filterto limit which projects are fetched #18152.pnpm peersin workspaces withsharedWorkspaceLockfile: falsenow checks each selected project'spnpm-lock.yaml.pnpm cinow validates thatpnpm-lock.yamlexists and matchespackage.jsonbefore removingnode_modules.pnpm cleanandpnpm cinow honor--filter,--filter-prod, and--workspace-root.pnpm cleanandpnpm cialso clean rootnode_modulesin workspaces without a rootpackage.json.pnpm clean --lockfilenow removes per-project lockfiles and lockfiles inside a customlockfileDir.pnpm clean,pnpm purge, andpnpm cikeep files outside the project untouched whenmodulesDirpoints outside the project root. Whennode_modulesis a symlink,pnpmnow unlinks the symlink without modifying its target #18072.pnpm importnow preserves locked versions fornpm:aliased dependencies when importing frompackage-lock.json,npm-shrinkwrap.json, oryarn.lock.pnpm importalso parses Yarn Classicyarn.lockfiles that reference__metadatapackage names without treating them as Yarn Berry lockfiles.Updating, packing, and publishing
Fixed GitHub Actions support in
pnpm updateandpnpm outdated. Updating a workflow step with a major or minor version comment such as# v4or a prose comment now formats the updated version comment cleanly. Negated action selectors such as!actions/cache/savenow exclude only the targeted subpath actions. Passing only negated action selectors still updates packages. Previously, negated action selectors skipped package updates.pnpm outdatednow reports every distinct outdated version when several workflows pin the same action at different versions.pnpm update -g --latestnow upgrades global runtimes (node,deno, andbun) andnpm:-aliased global packages across major versions.pnpm update --changesetnow generates a changeset when a.changesetdirectory exists orversioningis configured inpnpm-workspace.yaml, without requiring.changeset/config.json. It also respectsversioning.ignorealongside.changeset/config.json.pnpm version -rnow runs each bumped package'spreversion,version, andpostversionscripts unless--ignore-scriptsor--dry-runis set.pnpm version -r --dry-run --jsonnow prints the planned releases as a JSON array.pnpm lane <lane> --filter <selector>now rejects partial moves of aversioning.fixedgroup withERR_PNPM_VERSIONING_CONFLICTING_CONFIGbefore writingpnpm-workspace.yaml.pnpm packnow accepts--ignore-pnpmfileand--ignore-scripts, andpnpm publishaccepts--ignore-pnpmfile. With these flags, a package can be packed without running the project's pnpmfile or lifecycle scripts #18132.pnpm packandpnpm publishin a workspace now keep the workspace's ignore rules when a package's.npmignoreis removed while pnpm lists the package's files.pnpm -r pack --outnow expands%sand%vplaceholders only in the--outtemplate. Literal%sand%vsegments in the working directory path stay unchanged.pnpm -C <dir> publish <tarball|folder>andpnpm --dir <dir> publish <tarball|folder>now resolve relative tarball and directory arguments against<dir>. Git checks duringpnpm publishalso inspect the target directory.Other commands and settings
updateConfigandafterAllResolvedhooks in.pnpmfile.cjsthat returnundefined,null, or a non-object value now fail withERR_PNPM_CONFIG_IS_UNDEFINEDandERR_PNPM_BAD_AFTER_ALL_RESOLVED_RETURN.pnpm list --parseable --longnow keeps<name>@onlink:andfile:dependencies whose path or peer suffix contains@, such aslink:../@scope/pkg. Aliased scopedfile:dependencies whose path contains@also keep<name>@inpnpm list.pnpm whyno longer merges distinct localfile:directory dependencies that share the same package name across projects with dedicated lockfiles (sharedWorkspaceLockfile: false).pnpm pkgnow reads and writes the project manifest as written on disk.pnpm pkg getno longer reports syntheticruntime:dependency entries fromdevEngines.runtimeorengines.runtime.pnpm pkg setandpnpm pkg deletenow preservedevEngines.runtime,engines.runtime, and empty dependency objects set with--json.pnpm pmnow works after CLI flags such as--dirand afterpnpm with current.pnpm with currentalso accepts subcommand boolean flags such aspnpm --bare with current initahead ofwith.pnpm envcommands (use,list, andremove) now accept Node.js version specifiers with a leadingv, including prerelease versions such asv22.0.0-rc.1.pnpm doctornow checks write access for the cache, store, and global bin directories before they have been created. Previously,pnpm doctorreportedno write accesson fresh environments.pnpm doctornow 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 installwithnodeLinker: hoistedno longer counts missing packages as removed. This fixes inflated removal counts for skipped optional dependencies #18178.pnpm outdated --jsonandpnpm outdated --format=jsonnow write reporter warnings tostderr. Warnings previously appeared onstdoutbefore the JSON output.pnpm now reports
globalPackagesConfigin the globalconfig.yamlas a setting of a newer pnpm version. It no longer suggests a similarly named setting.pnpmwarns when anupdateConfighook changesregistriesand some routes still use their configured registry. The warning names those routes and points toregistriesByScope.pnpm cat-filenow reportsERR_PNPM_INVALID_HASHwhen given an empty, malformed, or truncated digest such assha512-.Platinum Sponsors
Gold Sponsors
v11.28.12: pnpm 11.28.12Compare Source
pnpm 11.28.12 fixes many peer dependency,
pnpm deploy, frozen-lockfile, andnodeLinker: hoistedbugs. It also includes a security fix. A${VAR}placeholder in a repository's registry URL now fails the command, so pnpm no longer sends those requests to another registry. The bundlednode-gypno longer ships the undici version that security scanners flag, and remote resolution needs pnpr 0.1.0-alpha.20 or newer.Patch Changes
Upgrading and security
A
${VAR}placeholder in a registry URL inpnpm-workspace.yamlor the project.npmrcnow fails the command. pnpm does not expand environment variables in these files. Before, pnpm ignored such a URL and resolved packages from another registry, such as npmjs.org. pnpm now warns when it ignores a placeholder in a proxy,pnprServer, oruserAgentsetting inpnpm-workspace.yaml#17762.The
node-gypbundled with pnpm no longer ships undici 6, which security scanners flag for CVE-2026-84947. On Node.js 26,node-gypdownloads through a proxy or with a custom CA file no longer crash with "invalid onError method" #17941.Remote resolution and shared build caches no longer work with pnpr 0.1.0-alpha.19 or older. pnpm now reads the capabilities a pnpr server advertises under
pnpr.protocols. Installs fail when the server does not confirm the requested resolution and verification policies. Upgrade the pnpr server before upgrading pnpm.Installs that failed
pnpm install --frozen-lockfilenow succeeds when a workspace project recorded inpnpm-lock.yamlhas an empty directory, such as a git submodule that was not checked out #17712.pnpm install --frozen-lockfilenow accepts a lockfile when an injected workspace package declares afile:orlink:dependency with backslashes, such asfile:..\vendor, or with a slash after the protocol, such asfile:/./vendor. Before, the install reported the lockfile as out of dateConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.