Change8

v10.8.0

📦 pnpmView on GitHub →
2 features🐛 3 fixes🔧 4 symbols

Summary

This release adds an experimental configuration hook and a new --config flag for pnpm add, and includes several bug fixes around workspace globs, audit overrides, and link behavior.

✨ New Features

  • Experimental hook for updating configuration settings via .pnpmfile.cjs (e.g., updateConfig hook).
  • Support for pnpm add command with the --config flag to install configurational dependencies.

🐛 Bug Fixes

  • Fixed indefinite hang when a glob starting with '!/' is present in pnpm-workspace.yaml (regression from #9169).
  • pnpm audit --fix now correctly updates overrides in pnpm-workspace.yaml.
  • pnpm link now updates overrides in pnpm-workspace.yaml instead of package.json (fixes #9365).

🔧 Affected Symbols

pnpm addpnpm auditpnpm link.pnpmfile.cjs