Skip to content

Releases: pnpm/pnpm

v9.3.0

10 Jun 12:32
v9.3.0
d24d797
Compare
Choose a tag to compare

Minor Changes

  • Semi-breaking. Dependency key names in the lockfile are shortened if they are longer than 1000 characters. We don't expect this change to affect many users. Affected users most probably can't run install successfully at the moment. This change is required to fix some edge cases in which installation fails with an out-of-memory error or "Invalid string length (RangeError: Invalid string length)" error. The max allowed length of the dependency key can be controlled with the peers-suffix-max-length setting #8177.

Patch Changes

  • Set reporter-hide-prefix to true by default for pnpm exec. In order to show prefix, the user now has to explicitly set reporter-hide-prefix=false #8174.

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors

v9.2.0

05 Jun 13:16
v9.2.0
1e5985a
Compare
Choose a tag to compare

Minor Changes

  • If package-manager-strict-version is set to true, pnpm will fail if its version doesn't exactly match the version in the "packageManager" field of package.json.

Patch Changes

  • Update @yarnpkg/pnp to the latest version, fixing issue with node: imports #8161.
  • Deduplicate bin names to prevent race condition and corrupted bin scripts #7833.
  • pnpm doesn't fail if its version doesn't match the one specified in the "packageManager" field of package.json #8087.
  • exec now also streams prefixed output when --recursive or --parallel is specified just as run does #8065.

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors

v9.1.4

30 May 11:45
v9.1.4
13518c9
Compare
Choose a tag to compare

Patch Changes

  • Improved the performance of the resolution stage by changing how missing peer dependencies are detected #8144.

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors

v9.1.3

27 May 08:53
v9.1.3
1e209e0
Compare
Choose a tag to compare

Patch Changes

  • Fix a bug in which a dependency that is both optional for one package but non-optional for another is omitted when optional=false #8066.
  • Clear resolution cache before starting peer dependencies resolution #8109.
  • Reduce memory usage by peer dependencies resolution #8072.

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors

v9.1.2

20 May 22:18
v9.1.2
6bab1eb
Compare
Choose a tag to compare

Patch Changes

  • Reduced memory usage during peer dependencies resolution #8084.
  • Details in the pnpm licenses output are not misplaced anymore #8071.

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors

v9.1.1

12 May 22:04
v9.1.1
ccb62e0
Compare
Choose a tag to compare

Patch Changes

  • Improve the performance of the peers resolution stage by utilizing more cache #8058.
  • Overrides with link: now preserve absolute path #8053.
  • Fix incorrect path when resolving relative file: overrides for workspace package #8053.
  • Print a better error message when resolution-mode is set to time-based and the registry fails to return the "time" field in the package's metadata.
  • Fix shell completion on MinGW-w64 environment.

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors

v9.1.0

06 May 10:12
v9.1.0
01a4566
Compare
Choose a tag to compare

Minor Changes

  • New setting called virtual-store-dir-max-length added to modify the maximum allowed length of the directories inside node_modules/.pnpm. The default length is set to 120 characters. This setting is particularly useful on Windows, where there is a limit to the maximum length of a file path #7355.

Patch Changes

  • A dependency is hoisted to resolve an optional peer dependency only if it satisfies the range provided for the optional peer dependency #8028.
  • Details in the pnpm outdated output are wrapped correctly #8037.
  • Fix Cannot read properties of undefined (reading 'missingPeersOfChildren') exception that happens on install #8041.
  • Explicitly throw an error when user attempts to run publish or pack when bundledDependencies is set but node-linker isn't hoisted.
  • pnpm update should not fail when there's an aliased local workspace dependency #7975.

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors

v9.1.0-0

29 Apr 14:14
v9.1.0-0
7e69321
Compare
Choose a tag to compare
v9.1.0-0 Pre-release
Pre-release

Minor Changes

  • New setting called virtual-store-dir-max-length added to modify the maximum allowed length of the directories inside node_modules/.pnpm. The default length is set to 120 characters. This setting is particularly useful on Windows, where there is a limit to the maximum length of a file path #7355.

Patch Changes

  • A dependency is hoisted to resolve an optional peer dependency only if it satisfies the range provided for the optional peer dependency #8028.

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors

v8.15.8

29 Apr 23:58
v8.15.8
4a05b6a
Compare
Choose a tag to compare

Patch Changes

  • Upgrade tar to v6.2.1 in the dependences #7939.
  • If the script-shell option is configured to a .bat/.cmd file on Windows, pnpm will now error with ERR_PNPM_INVALID_SCRIPT_SHELL_WINDOWS. Newer versions of Node.js released in April 2024 do not support executing these files directly without behavior differences. If the script-shell option is necessary for your use-case, please set a .exe file instead.

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors

v9.0.6

24 Apr 13:39
v9.0.6
88f53d4
Compare
Choose a tag to compare

Patch Changes

  • Lockfiles that have git-hosted dependencies specified should be correctly converted to the new lockfile format #7990.
  • Don't upgrade the lockfile format on pnpm install --frozen-lockfile #7991.

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors