跳至主要內容

pnpm 11.0

· One min read
Zoltan Kochan
pnpm 的首席維護者

pnpm 11 is here! This release tightens the security defaults introduced throughout the v10 cycle, drops the npm CLI fallback for publishing in favor of a native implementation, replaces the JSON-per-package store index with a single SQLite database, and isolates global installs so they no longer interfere with each other.

It also requires Node.js 22 or newer — pnpm itself is now pure ESM.

Upgrading from v10? See the Migrating from v10 to v11 guide. Most config changes are mechanical and can be applied by the pnpm-v10-to-v11 codemod.

pnpm 10.32

· One min read
Zoltan Kochan
pnpm 的首席維護者

pnpm 10.32 adds an --all flag to pnpm approve-builds for approving all pending builds without interactive prompts.

pnpm 10.31

· One min read
Zoltan Kochan
pnpm 的首席維護者

pnpm 10.31 preserves comments and formatting when updating pnpm-workspace.yaml, and includes numerous bug fixes.

pnpm 10.30

· One min read
Zoltan Kochan
pnpm 的首席維護者

pnpm 10.30 redesigns pnpm why to show a reverse dependency tree, making it much easier to understand why a package is installed.

pnpm 10.29

· One min read
Zoltan Kochan
pnpm 的首席維護者

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.

pnpm 10.28

· One min read
Zoltan Kochan
pnpm 的首席維護者

pnpm 10.28 introduces a new beforePacking hook to customize package.json at publish time, improves filtered install performance, and includes several bug fixes.

pnpm 10.27

· One min read
Zoltan Kochan
pnpm 的首席維護者

pnpm 10.27 adds a new setting to ignore trust policy checks for older package versions, introduces a project registry for global virtual store pruning, and includes several bug fixes.

🚀 pnpm in 2025

· One min read
Zoltan Kochan
pnpm 的首席維護者

2025 has been a transformative year for pnpm. While our primary focus was redefining the security model of package management, we also delivered significant improvements in performance and developer experience.

From blocking lifecycle scripts by default to introducing a global virtual store, here is a look back at the major features shipped in 2025.

pnpm 10.26

· One min read
Zoltan Kochan
pnpm 的首席維護者

pnpm 10.26 introduces stricter security defaults for git-hosted dependencies, adds allowBuilds for granular script permissions, and includes a new setting to block exotic transitive dependencies.

pnpm 10.25

· One min read
Zoltan Kochan
pnpm 的首席維護者

pnpm 10.25 improves certificate handling, adds a bare pnpm init, and ships several quality-of-life fixes.