Ir al contenido
verdict:

pnpm 10.21.0

notable

note: la síntesis y las notas de la versión están en inglés

note: sin síntesis para esta release más antigua

Sintetizamos las releases recientes. Las notas de la versión originales de esta versión están aquí abajo.

release-notesgithub.com/pnpm/pnpm · 101 líneas
  1. ## Minor Changes
  2. * **Node.js Runtime Installation for Dependencies.** Added support for automatic Node.js runtime installation for dependencies. pnpm will now install the Node.js version required by a dependency if that dependency declares a Node.js runtime in the "engines" field. For example:
  3. ```json
  4. {
  5. "engines": {
  6. "runtime": {
  7. "name": "node",
  8. "version": "^24.11.0",
  9. "onFail": "download"
  10. }
  11. }
  12. }
  13. ```
  14. If the package with the Node.js runtime dependency is a CLI app, pnpm will bind the CLI app to the required Node.js version. This ensures that, regardless of the globally installed Node.js instance, the CLI will use the compatible version of Node.js.
  15. If the package has a `postinstall` script, that script will be executed using the specified Node.js version.
  16. Related PR: [#10141](https://github.com/pnpm/pnpm/pull/10141)
  17. * Added a new setting: `trustPolicy`.
  18. When set to `no-downgrade`, pnpm will fail installation if a package’s trust level has decreased compared to previous releases — for example, if it was previously published by a trusted publisher but now only has provenance or no trust evidence.
  19. This helps prevent installing potentially compromised versions of a package.
  20. Related issue: [#8889](https://github.com/pnpm/pnpm/issues/8889).
  21. * Added support for `pnpm config get globalconfig` to retrieve the global config file path [#9977](https://github.com/pnpm/pnpm/issues/9977).
  22. ## Patch Changes
  23. * When a user runs `pnpm update` on a dependency that is not directly listed in `package.json`, none of the direct dependencies should be updated [#10155](https://github.com/pnpm/pnpm/pull/10155).
  24. * Don't crash when two processes of pnpm are hardlinking the contents of a directory to the same destination simultaneously [#10160](https://github.com/pnpm/pnpm/pull/10160).
  25. * Setting `gitBranchLockfile` and related settings via `pnpm-workspace.yaml` should work [#9651](https://github.com/pnpm/pnpm/issues/9651).
  26. ## Platinum Sponsors
  27. <table>
  28. <tbody>
  29. <tr>
  30. <td align="center" valign="middle">
  31. <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>
  32. </td>
  33. </tr>
  34. </tbody>
  35. </table>
  36. ## Gold Sponsors
  37. <table>
  38. <tbody>
  39. <tr>
  40. <td align="center" valign="middle">
  41. <a href="https://discord.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
  42. <picture>
  43. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/discord.svg" />
  44. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/discord_light.svg" />
  45. <img src="https://pnpm.io/img/users/discord.svg" width="220" alt="Discord" />
  46. </picture>
  47. </a>
  48. </td>
  49. <td align="center" valign="middle">
  50. <a href="https://coderabbit.ai/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
  51. <picture>
  52. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/coderabbit.svg" />
  53. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/coderabbit_light.svg" />
  54. <img src="https://pnpm.io/img/users/coderabbit.svg" width="220" alt="CodeRabbit" />
  55. </picture>
  56. </a>
  57. </td>
  58. <td align="center" valign="middle">
  59. <a href="https://workleap.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
  60. <picture>
  61. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/workleap.svg" />
  62. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/workleap_light.svg" />
  63. <img src="https://pnpm.io/img/users/workleap.svg" width="190" alt="Workleap" />
  64. </picture>
  65. </a>
  66. </td>
  67. </tr>
  68. <tr>
  69. <td align="center" valign="middle">
  70. <a href="https://stackblitz.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
  71. <picture>
  72. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/stackblitz.svg" />
  73. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/stackblitz_light.svg" />
  74. <img src="https://pnpm.io/img/users/stackblitz.svg" width="190" alt="Stackblitz" />
  75. </picture>
  76. </a>
  77. </td>
  78. <td align="center" valign="middle">
  79. <a href="https://vite.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
  80. <img src="https://pnpm.io/img/users/vitejs.svg" width="42" alt="Vite">
  81. </a>
  82. </td>
  83. </tr>
  84. </tbody>
  85. </table>

ver en githubimported 2026-09-28 vía npm