Vai al contenuto
verdict:

pnpm 11.15.0

notable

note: la sintesi e le note di rilascio sono in inglese

ok: aggiornamento sicuro

0 breaking changes4 punti chiave

Optional peer dependencies now resolve from the existing graph; no breaking changes in this release.

sintesi · solo dalle note di rilascio · claude-haiku-5-5 · prompt v7

punti chiave

release-notesgithub.com/pnpm/pnpm · 118 righe
  1. ### Minor Changes
  2. * Optional peer dependencies declared only via `peerDependenciesMeta` (for example `debug`'s `supports-color` peer) are now resolved from a satisfying version already present in the dependency graph, the same way explicitly declared optional peer dependencies are. Previously such peers were only resolved this way when the package's metadata was read back from the lockfile, so an unrelated dependency change could rewrite peer resolutions across the whole lockfile.
  3. ### Patch Changes
  4. * Updated `adm-zip` to prevent crafted ZIP archives from causing excessive memory allocation.
  5. * `pnpm version -r` no longer writes a versioning-ledger entry with no consumed intents as a bare `intents:` key, which the next run failed to read with `ERR_PNPM_INVALID_VERSIONING_LEDGER`. Empty intent lists are now written as `intents: []`, and the ledger reader accepts the bare form left by earlier releases.
  6. * Fixed pnpr workspace resolution to preserve project names and versions for `workspace:` dependencies.
  7. <!-- sponsors -->
  8. ## Platinum Sponsors
  9. <table>
  10. <tbody>
  11. <tr>
  12. <td align="center" valign="middle">
  13. <a href="https://bit.cloud/?utm_source=pnpm&utm_medium=release_notes" target="_blank" rel="noopener noreferrer"><img src="https://pnpm.io/img/users/bit.svg" width="80" alt="Bit"></a>
  14. </td>
  15. </tr>
  16. <tr>
  17. <td align="center" valign="middle">
  18. <a href="https://openai.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank" rel="noopener noreferrer">
  19. <picture>
  20. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/openai_dark.svg" />
  21. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/openai_light.svg" />
  22. <img src="https://pnpm.io/img/users/openai_dark.svg" width="160" alt="OpenAI" />
  23. </picture>
  24. </a>
  25. </td>
  26. </tr>
  27. </tbody>
  28. </table>
  29. ## Gold Sponsors
  30. <table>
  31. <tbody>
  32. <tr>
  33. <td align="center" valign="middle">
  34. <a href="https://sanity.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank" rel="noopener noreferrer">
  35. <picture>
  36. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/sanity.svg" />
  37. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/sanity_light.svg" />
  38. <img src="https://pnpm.io/img/users/sanity.svg" width="120" alt="Sanity" />
  39. </picture>
  40. </a>
  41. </td>
  42. <td align="center" valign="middle">
  43. <a href="https://discord.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank" rel="noopener noreferrer">
  44. <picture>
  45. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/discord.svg" />
  46. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/discord_light.svg" />
  47. <img src="https://pnpm.io/img/users/discord.svg" width="220" alt="Discord" />
  48. </picture>
  49. </a>
  50. </td>
  51. <td align="center" valign="middle">
  52. <a href="https://vite.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank" rel="noopener noreferrer"><img src="https://pnpm.io/img/users/vitejs.svg" width="42" alt="Vite"></a>
  53. </td>
  54. </tr>
  55. <tr>
  56. <td align="center" valign="middle">
  57. <a href="https://serpapi.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank" rel="noopener noreferrer">
  58. <picture>
  59. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/serpapi_dark.svg" />
  60. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/serpapi_light.svg" />
  61. <img src="https://pnpm.io/img/users/serpapi_dark.svg" width="160" alt="SerpApi" />
  62. </picture>
  63. </a>
  64. </td>
  65. <td align="center" valign="middle">
  66. <a href="https://coderabbit.ai/?utm_source=pnpm&utm_medium=release_notes" target="_blank" rel="noopener noreferrer">
  67. <picture>
  68. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/coderabbit.svg" />
  69. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/coderabbit_light.svg" />
  70. <img src="https://pnpm.io/img/users/coderabbit.svg" width="220" alt="CodeRabbit" />
  71. </picture>
  72. </a>
  73. </td>
  74. <td align="center" valign="middle">
  75. <a href="https://stackblitz.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank" rel="noopener noreferrer">
  76. <picture>
  77. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/stackblitz.svg" />
  78. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/stackblitz_light.svg" />
  79. <img src="https://pnpm.io/img/users/stackblitz.svg" width="190" alt="Stackblitz" />
  80. </picture>
  81. </a>
  82. </td>
  83. </tr>
  84. <tr>
  85. <td align="center" valign="middle">
  86. <a href="https://workleap.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank" rel="noopener noreferrer">
  87. <picture>
  88. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/workleap.svg" />
  89. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/workleap_light.svg" />
  90. <img src="https://pnpm.io/img/users/workleap.svg" width="190" alt="Workleap" />
  91. </picture>
  92. </a>
  93. </td>
  94. <td align="center" valign="middle">
  95. <a href="https://nx.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank" rel="noopener noreferrer">
  96. <picture>
  97. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/nx.svg" />
  98. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/nx_light.svg" />
  99. <img src="https://pnpm.io/img/users/nx.svg" width="50" alt="Nx" />
  100. </picture>
  101. </a>
  102. </td>
  103. </tr>
  104. </tbody>
  105. </table>
  106. <!-- sponsors end -->

vedi su githubimported 2026-09-28 via npm