Skip to content

Releases: pnpm/pnpm

v8.14.3

23 Jan 09:34
v8.14.3
11439d0
Compare
Choose a tag to compare

Patch Changes

  • pnpm pack should work as expected when "prepack" modifies the manifest #7558.

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors

v8.14.2

22 Jan 09:25
v8.14.2
b93bc1a
Compare
Choose a tag to compare

Patch Changes

  • Registry configuration from previous installation should not override current settings #7507.
  • pnpm dlx should not fail, when executed from package.json "scripts" 7424.
  • A git-hosted dependency should not be added to the store if it failed to be built #7407.
  • pnpm publish should pack "main" file or "bin" files defined in "publishConfig" #4195.

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors

v8.14.1

10 Jan 15:17
v8.14.1
388e1cc
Compare
Choose a tag to compare

Patch Changes

  • Resolve the current working directory to its real location before doing any operations #6524.
  • Allow using token helpers in pnpm publish #7316.
  • Handle Git repository names containing capital letters #7488.
  • When hoisted-workspace-packages is true don't hoist the root package even if it has a name. Otherwise we would create a circular symlink.

Our Gold Sponsors

Our Silver Sponsors

v9.0.0-alpha.0

08 Jan 18:31
v9.0.0-alpha.0
ad85060
Compare
Choose a tag to compare
v9.0.0-alpha.0 Pre-release
Pre-release

Major Changes

  • Node.js v16 support dropped. Use at least Node.js v18.12.
  • Support for lockfile v5 is dropped. Use pnpm v8 to convert lockfile v5 to lockfile v6 #7470.
  • The dedupe-injected-deps setting is true by default.
  • The default value of the link-workspace-packages setting changed from true to false. This means that by default, dependencies will be linked from workspace packages only when they are specified using the workspace protocol.
  • Use the same directories on macOS as on Linux. Don't use directories inside ~/Library on macOS #7321.
  • The default value of the hoist-workspace-packages is true.

Our Gold Sponsors

Our Silver Sponsors

v8.14.0

02 Jan 23:16
v8.14.0
c0182b4
Compare
Choose a tag to compare

Minor Changes

  • A new option added for hoisting packages from the workspace. When hoist-workspace-packages is set to true, packages from the workspace are symlinked to either <workspace_root>/node_modules/.pnpm/node_modules or to <workspace_root>/node_modules depending on other hoisting settings (hoist-pattern and public-hoist-pattern) #7451.
  • The pnpm dedupe command now accepts more command line options that the pnpm install command also accepts. Example: pnpm dedupe --store-dir=local-store-dir

Patch Changes

  • The package information output by cat-index should be sorted by key.
  • pnpm deploy should not touch the target directory if it already exists and isn't empty #7351.
  • pnpm add a-module-already-in-dev-deps will show a message to notice the user that the package was not moved to "dependencies" #926 and fix #7319.
  • Don't install Node.js when use-node-version is set in a WebContainer #7478.
  • Fix copy-on-write on Windows Dev Drives #7468.

Our Gold Sponsors

Our Silver Sponsors

v8.13.1

26 Dec 15:11
v8.13.1
568860d
Compare
Choose a tag to compare

Minor Changes

  • New commands added for inspecting the store:

    • pnpm cat-index: Prints the index file of a specific package in the store. The package is specified by its name and version:

      pnpm cat-index <pkg name>@<pkg version>
      
    • pnpm cat-file: Prints the contents of a file based on the hash value stored in the index file. For example:

      pnpm cat-file sha512-mvavhfVcEREI7d8dfvfvIkuBLnx7+rrkHHnPi8mpEDUlNpY4CUY+CvJ5mrrLl18iQYo1odFwBV7z/cOypG7xxQ==
      
    • (EXPERIMENTAL) pnpm find-hash: Lists the packages that include the file with the specified hash. For example:

      pnpm find-hash sha512-mvavhfVcEREI7d8dfvfvIkuBLnx7+rrkHHnPi8mpEDUlNpY4CUY+CvJ5mrrLl18iQYo1odFwBV7z/cOypG7xxQ==
      

      This command is experimental. We might change how it behaves.

    Related issue: #7413.

  • A new setting added for symlinking injected dependencies from the workspace, if their dependencies use the same peer dependencies as the dependent package. The setting is called dedupe-injected-deps #7416.

  • Use --fail-if-no-match if you want the CLI fail if no packages were matched by the command #7403.

Patch Changes

  • pnpm list --parseable should not print the same dependency multiple times #7429.
  • Fix error message texts in the pnpm env commands #7456.
  • Better support for light themed terminals by the pnpm update --interactive command #7439.
  • Fix EPERM error that occasionally happened on Windows during renames in the store #7213.
  • Fix error as in update -i -r with Git specifiers #7415.
  • Added support for boolean values in 'bundleDependencies' package.json fields when installing a dependency. Fix to properly handle 'bundledDependencies' alias #7411.

Our Gold Sponsors

Our Silver Sponsors

v8.12.1

13 Dec 10:47
v8.12.1
e71c0f1
Compare
Choose a tag to compare

Patch Changes

  • Don't report dependencies with optional dependencies as being added on repeat install. This was a bug in reporting #7384.
  • Fix a bug where --fix-lockfile crashes on tarballs #7368.
  • Do not create empty patch directory.
  • Installation should not fail if an empty node_modules directory cannot be removed #7405.

Our Gold Sponsors

Our Silver Sponsors

v8.12.0

08 Dec 22:35
v8.12.0
49f0027
Compare
Choose a tag to compare

Minor Changes

  • Add support for basic authorization header #7371.

Patch Changes

  • Fix a bug where pnpm incorrectly passes a flag to a run handler as a fallback command #7244.
  • When dedupe-direct-deps is set to true, commands of dependencies should be deduplicated #7359.

Our Gold Sponsors

Our Silver Sponsors

v8.11.0

24 Nov 16:43
v8.11.0
058edcf
Compare
Choose a tag to compare

Minor Changes

  • (IMPORTANT) When the package tarballs aren't hosted on the same domain on which the registry (the server with the package metadata) is, the dependency keys in the lockfile should only contain /<pkg_name>@<pkg_version, not <domain>/<pkg_name>@<pkg_version>.

    This change is a fix to avoid the same package from being added to node_modules/.pnpm multiple times. The change to the lockfile is backward compatible, so previous versions of pnpm will work with the fixed lockfile.

    We recommend that all team members update pnpm in order to avoid repeated changes in the lockfile.

    Related PR: #7318.

Patch Changes

  • pnpm add a-module-already-in-dev-deps will show a message to notice the user that the package was not moved to "dependencies" #926.
  • The modules directory should not be removed if the registry configuration has changed.
  • Fix missing auth tokens in registries with paths specified (e.g. //npm.pkg.github.com/pnpm). #5970 #2933

Our Gold Sponsors

Our Silver Sponsors

v8.10.5

14 Nov 12:16
v8.10.5
5e44048
Compare
Choose a tag to compare

Patch Changes

  • Don't fail on an empty pnpm-workspace.yaml file #7307.

Our Gold Sponsors

Our Silver Sponsors