pnpm 10.29
· 3 minutos de lectura
pnpm 10.29 adds catalog: protocol support to pnpm dlx, allows configuring auditLevel in pnpm-workspace.yaml, supports a bare workspace: specifier, and includes several bug fixes.
Minor Changes
catalog: Protocol in pnpm dlx
The pnpm dlx / pnpx command now supports the catalog: protocol, allowing you to reference versions defined in your workspace catalogs:
pnpm dlx shx@catalog:
auditLevel Setting
auditLevel can now be configured in the pnpm-workspace.yaml file, so you don't need to pass --audit-level on every pnpm audit invocation #10540:
pnpm-workspace.yaml
auditLevel: high
Bare workspace: Protocol
A bare workspace: specifier without a version range is now supported. It is treated as workspace:* and resolves to the concrete version during publish #10436:
{
"dependencies": {
"foo": "workspace:"
}
}
Patch Changes
- Fixed an out-of-memory error in
pnpm list(andpnpm why) on large dependency graphs by replacing the recursive tree builder with a two-phase approach: a BFS dependency graph followed by cached tree materialization. Duplicate subtrees are now deduplicated in the output #10586. - Fixed
allowBuildsnot working when set via.pnpmfile.cjs#10516. - When
enableGlobalVirtualStoreis set,pnpm deploynow ignores it and always creates a localized virtual store within the deploy directory to keep it self-contained. - Fixed
minimumReleaseAgeExcludenot being respected bypnpm dlx#10338. - Fixed
pnpm list --jsonreturning incorrect paths when using global virtual store #10187. - Fixed
pnpm store pathandpnpm store statususing workspace root for path resolution whenstoreDiris relative #10290. - Fixed
catalogMode: strictwriting the literal stringcatalog:topnpm-workspace.yamlinstead of the resolved version specifier when re-adding an existing catalog dependency #10176. - Skip local
file:protocol dependencies duringpnpm fetch, fixing Docker builds when local directory dependencies are not available #10460. - Fixed
pnpm audit --jsonto respect the--audit-levelsetting for both exit code and output filtering #10540. - Updated
tarto version 7.5.7 to fix a security vulnerability (CVE-2026-24842). - Fixed
pnpm audit --fixreplacing reference overrides (e.g.$foo) with concrete versions #10325. - Fixed
shamefullyHoistset viaupdateConfigin.pnpmfile.cjsnot being converted topublicHoistPattern#10271. pnpm helpnow correctly reports if the currently running pnpm CLI is bundled with Node.js #10561.- Added a warning when the current directory contains the PATH delimiter character, which can break
node_modules/.binpath injection #10457. - Fixed the documentation URL shown in
pnpm completion --helpto point to the correct page #10281.
