Zum Inhalt springen
verdict:

pnpm 11.0.6

digest

note: die Zusammenfassung und die Release Notes sind auf Englisch

note: keine Zusammenfassung für dieses digest-Release

digest-Releases werden ohne Zusammenfassung gelistet. Die originalen Release Notes dieser Version stehen hier unten.

release-notesgithub.com/pnpm/pnpm · 108 Zeilen
  1. ## Patch Changes
  2. * Fix `pnpm_config_npmrc_auth_file` and `pnpm_config_userconfig` env vars not actually loading the custom `.npmrc`. The env vars were parsed and assigned to the resolved config, but only after `loadNpmrcConfig` had already read the default `~/.npmrc` — so the custom file path was set but never read. The relevant env vars are now consulted before the user-level `.npmrc` is loaded [#11465](https://github.com/pnpm/pnpm/issues/11465).
  3. * Preserve the original key order in `pnpm-workspace.yaml` when updating it. Existing keys keep their position, and new keys are inserted in alphabetical position when the existing keys are already sorted (with a leading `packages` key allowed) or appended at the end otherwise.
  4. * Fixed `pnpm self-update` on installations originally set up by pnpm v10. v10 added `PNPM_HOME` directly to PATH and wrote a `pnpm` bootstrap shim there. v11 setup writes shims under `PNPM_HOME/bin` instead, so when a v10 user upgrades to v11 the legacy shim at `PNPM_HOME` keeps pointing into the old `.tools/<version>` install — `pnpm --version` continues to report the pre-update version even though the new version was installed under `global/v11`. Self-update now detects this layout, refreshes the legacy shims so the upgrade actually takes effect, and prints a hint suggesting `pnpm setup` to migrate PATH to the v11 layout. [#11464](https://github.com/pnpm/pnpm/issues/11464).
  5. * Print a warning when settings that are not allowed in the global config file (e.g. `nodeLinker`, `hoistPattern`) are present in `config.yaml` and silently ignored. Previously these settings were dropped without any feedback, leaving users unsure why their global configuration had no effect. The warning suggests moving those settings to a project-level `pnpm-workspace.yaml`, or sharing them across projects via [config dependencies](https://pnpm.io/11.x/config-dependencies).
  6. * Throw a pnpm error when `overrides` has an invalid shape or contains a non-string value.
  7. * Validate all `readPackage` dependency map fields, including `devDependencies`, and reject falsy non-object invalid values instead of silently accepting them.
  8. * Prevent crashes during `pnpm config`, `pnpm set`, and `pnpm get` by tolerating `configDependencies` install failures. For these commands, a failure to install `configDependencies` (for example because the registry auth token has not been written yet) is now logged at debug level and the command proceeds. All other commands still surface the install error [#10684](https://github.com/pnpm/pnpm/issues/10684).
  9. * Treat `allowBuilds` as an install-state input and clear previously ignored builds when they are explicitly disallowed.
  10. * Fixes #10594, catalogs not being read from the workspace when using the `catalog:` protocol with the `pnpm dlx` / `pnpx` command, resulting in a catalog entry not found error.
  11. * Accept `PNPM_CONFIG_*` (uppercase) environment variables in addition to `pnpm_config_*`. Previously, only the lowercase form was honored, so env vars renamed per the v11 migration guide (e.g. `PNPM_CONFIG_USERCONFIG`) silently had no effect on case-sensitive systems like macOS and Linux [#11465](https://github.com/pnpm/pnpm/issues/11465).
  12. <!-- sponsors -->
  13. ## Platinum Sponsors
  14. <table>
  15. <tbody>
  16. <tr>
  17. <td align="center" valign="middle">
  18. <a href="https://bit.cloud/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80" alt="Bit"></a>
  19. </td>
  20. </tr>
  21. </tbody>
  22. </table>
  23. ## Gold Sponsors
  24. <table>
  25. <tbody>
  26. <tr>
  27. <td align="center" valign="middle">
  28. <a href="https://sanity.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
  29. <picture>
  30. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/sanity.svg" />
  31. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/sanity_light.svg" />
  32. <img src="https://pnpm.io/img/users/sanity.svg" width="120" alt="Sanity" />
  33. </picture>
  34. </a>
  35. </td>
  36. <td align="center" valign="middle">
  37. <a href="https://discord.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
  38. <picture>
  39. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/discord.svg" />
  40. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/discord_light.svg" />
  41. <img src="https://pnpm.io/img/users/discord.svg" width="220" alt="Discord" />
  42. </picture>
  43. </a>
  44. </td>
  45. <td align="center" valign="middle">
  46. <a href="https://vite.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/vitejs.svg" width="42" alt="Vite"></a>
  47. </td>
  48. </tr>
  49. <tr>
  50. <td align="center" valign="middle">
  51. <a href="https://serpapi.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/serpapi_dark.svg" />
  54. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/serpapi_light.svg" />
  55. <img src="https://pnpm.io/img/users/serpapi_dark.svg" width="160" alt="SerpApi" />
  56. </picture>
  57. </a>
  58. </td>
  59. <td align="center" valign="middle">
  60. <a href="https://coderabbit.ai/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
  61. <picture>
  62. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/coderabbit.svg" />
  63. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/coderabbit_light.svg" />
  64. <img src="https://pnpm.io/img/users/coderabbit.svg" width="220" alt="CodeRabbit" />
  65. </picture>
  66. </a>
  67. </td>
  68. <td align="center" valign="middle">
  69. <a href="https://stackblitz.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
  70. <picture>
  71. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/stackblitz.svg" />
  72. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/stackblitz_light.svg" />
  73. <img src="https://pnpm.io/img/users/stackblitz.svg" width="190" alt="Stackblitz" />
  74. </picture>
  75. </a>
  76. </td>
  77. </tr>
  78. <tr>
  79. <td align="center" valign="middle">
  80. <a href="https://workleap.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
  81. <picture>
  82. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/workleap.svg" />
  83. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/workleap_light.svg" />
  84. <img src="https://pnpm.io/img/users/workleap.svg" width="190" alt="Workleap" />
  85. </picture>
  86. </a>
  87. </td>
  88. <td align="center" valign="middle">
  89. <a href="https://nx.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
  90. <picture>
  91. <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/nx.svg" />
  92. <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/nx_light.svg" />
  93. <img src="https://pnpm.io/img/users/nx.svg" width="50" alt="Nx" />
  94. </picture>
  95. </a>
  96. </td>
  97. </tr>
  98. </tbody>
  99. </table>
  100. <!-- sponsors end -->

auf github ansehenimported 2026-09-28 über npm