Aquesta és una versió anterior. La versió actual és la 12.15.0. pnpm 12.15.0 · Data de publicació:
8.0.0 forma part de la branca 8, que va arribar al final de vida el 30 d’abril del 2025. Ja no rep correccions de seguretat. endoflife.date
Fitxers d’instal·lació 8.0.0
| Arquitectura | Tipus | Àmbit | Mida del fitxer | Baixa | SHA256 |
|---|---|---|---|---|---|
| 64 bits | Portable | — | — | github.com | VirusTotal |
L’enllaç i l’SHA256 provenen del manifest comunitari del Gestor de paquets del Windows. Convé comparar el hash del fitxer baixat abans d’executar-lo.
Notes de la versió
Configuration Updates
- auto-install-peers: enabled by default.
- dedupe-peer-dependents: enabled by default.
- resolve-peers-from-workspace-root: enabled by default.
- save-workspace-protocol: set to rolling by default.
- resolution-mode: set to lowest-direct by default.
- publishConfig.linkDirectory: enabled by default.
Lockfile Modifications
- Lockfile v6 is adopted.
This new format improves the readability of the lockfile by removing hashes from package IDs.
It also has some rearrangement of fields in the importers section.
The new pnpm-lock.yaml file is more resistant to git merge conflicts!
- The registry field is removed from the resolution object in pnpm-lock.yaml.
- A lockfile is generated even for projects with no dependencies.
Other Changes
- When there's a files field in the package.json, only the files that are listed in it will be deployed.
The same logic is applied when injecting packages.
This behaviour can be changed by setting the deploy-all-files setting to true (Related issue #5911).
- Direct dependencies are deduped.
If a dependency is present in both a project and the workspace root, it will only be linked to the workspace root.