Change8

v11.15.0

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

Summary

This release enhances the resolution of optional peer dependencies and fixes several bugs related to ZIP archive handling, versioning ledgers, and workspace dependency resolution.

✨ New Features

  • Optional peer dependencies declared only via `peerDependenciesMeta` are now resolved from a satisfying version already present in the dependency graph, similar to explicitly declared optional peer dependencies.

🐛 Bug Fixes

  • Updated `adm-zip` to prevent crafted ZIP archives from causing excessive memory allocation.
  • `pnpm version -r` no longer writes an invalid versioning-ledger entry with an empty `intents:` key; empty intent lists are now written as `intents: []`.
  • Fixed pnpm workspace resolution to preserve project names and versions for `workspace:` dependencies.

Affected Symbols