Zum Inhalt springen
verdict:

pnpm 10.27.0

notable

note: die Zusammenfassung und die Release Notes sind auf Englisch

note: keine Zusammenfassung für dieses ältere Release

Wir fassen die neueren Releases zusammen. Die originalen Release Notes dieser Version stehen hier unten.

release-notesgithub.com/pnpm/pnpm · 92 Zeilen
  1. ## Minor Changes
  2. * Adding `trustPolicyIgnoreAfter` allows you to ignore trust policy checks for packages published more than a specified time ago[#10352](https://github.com/pnpm/pnpm/issues/10352).
  3. * Added project registry for global virtual store prune support.
  4. Projects using the store are now registered via symlinks in `{storeDir}/v10/projects/`. This enables `pnpm store prune` to track which packages are still in use by active projects and safely remove unused packages from the global virtual store.
  5. * **Semi-breaking.** Changed the location of unscoped packages in the virtual global store. They will now be stored under a directory named `@` to maintain a uniform 4-level directory depth.
  6. * Added mark-and-sweep garbage collection for global virtual store.
  7. `pnpm store prune` now removes unused packages from the global virtual store's `links/` directory. The algorithm:
  8. 1. Scans all registered projects for symlinks pointing to the store
  9. 2. Walks transitive dependencies to mark reachable packages
  10. 3. Removes any package directories not marked as reachable
  11. This includes support for workspace monorepos - all `node_modules` directories within a project (including those in workspace packages) are scanned.
  12. ## Patch Changes
  13. * Throw an error if the value of the `tokenHelper` or `<url>:tokenHelper` setting contains an environment variable.
  14. * Git dependencies with build scripts should respect the `dangerouslyAllowAllBuilds` settings [#10376](https://github.com/pnpm/pnpm/issues/10376).
  15. * Skip the package manager check when running with --global and a project packageManager is configured, and warn that the check is skipped.
  16. * `pnpm store prune` should not fail if the dlx cache directory has files, not only directories [#10384](https://github.com/pnpm/pnpm/pull/10384)
  17. * Fixed a bug ([#9759](https://github.com/pnpm/pnpm/issues/9759)) where `pnpm add` would incorrectly modify a catalog entry in `pnpm-workspace.yaml` to its exact version.
  18. ## Platinum Sponsors
  19. <table>
  20. <tbody>
  21. <tr>
  22. <td align="center" valign="middle">
  23. <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80" alt="Bit"></a>
  24. </td>
  25. </tr>
  26. </tbody>
  27. </table>
  28. ## Gold Sponsors
  29. <table>
  30. <tbody>
  31. <tr>
  32. <td align="center" valign="middle">
  33. <a href="https://discord.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
  34. <picture>
  35. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/discord.svg" />
  36. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/discord_light.svg" />
  37. <img src="https://pnpm.io/img/users/discord.svg" width="220" alt="Discord" />
  38. </picture>
  39. </a>
  40. </td>
  41. <td align="center" valign="middle">
  42. <a href="https://coderabbit.ai/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
  43. <picture>
  44. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/coderabbit.svg" />
  45. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/coderabbit_light.svg" />
  46. <img src="https://pnpm.io/img/users/coderabbit.svg" width="220" alt="CodeRabbit" />
  47. </picture>
  48. </a>
  49. </td>
  50. <td align="center" valign="middle">
  51. <a href="https://workleap.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
  52. <picture>
  53. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/workleap.svg" />
  54. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/workleap_light.svg" />
  55. <img src="https://pnpm.io/img/users/workleap.svg" width="190" alt="Workleap" />
  56. </picture>
  57. </a>
  58. </td>
  59. </tr>
  60. <tr>
  61. <td align="center" valign="middle">
  62. <a href="https://stackblitz.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
  63. <picture>
  64. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/stackblitz.svg" />
  65. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/stackblitz_light.svg" />
  66. <img src="https://pnpm.io/img/users/stackblitz.svg" width="190" alt="Stackblitz" />
  67. </picture>
  68. </a>
  69. </td>
  70. <td align="center" valign="middle">
  71. <a href="https://vite.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
  72. <img src="https://pnpm.io/img/users/vitejs.svg" width="42" alt="Vite">
  73. </a>
  74. </td>
  75. </tr>
  76. </tbody>
  77. </table>

auf github ansehenimported 2026-09-28 über npm