This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
8.5.1
->8.9.2
Release Notes
pnpm/pnpm (pnpm)
v8.9.2
Compare Source
Patch Changes
preinstall
lifecycle script is present #7206.Our Gold Sponsors
Our Silver Sponsors
v8.9.1
Compare Source
Patch Changes
pnpm update --interactive
7109shared-workspace-lockfile
is set tofalse
, read the pnpm settings frompackage.json
files that are nested. This was broken in pnpm v8.9.0 #7184.node_modules
on Windows Dev Drives #7186. This is a fix to a regression that was shipped with v8.9.0.pnpm dlx
should ignore any settings that are in apackage.json
file found in the current working directory #7198.Our Gold Sponsors
Our Silver Sponsors
v8.9.0
Compare Source
Minor Changes
🚀Performance improvement: Use reflinks instead of hard links by default on macOS and Windows Dev Drives #5001.
The list of packages that are allowed to run installation scripts now may be provided in a separate configuration file. The path to the file should be specified via the
pnpm.onlyBuiltDependenciesFile
field inpackage.json
. For instance:In the example above, the list is loaded from a dependency. The JSON file with the list should contain an array of package names. For instance:
With the above list, only
esbuild
and@reflink/reflink
will be allowed to run scripts during installation.Related issue: #7137.
Add
disallow-workspace-cycles
option to error instead of warn about cyclic dependenciesAllow
env rm
to remove multiple node versions at once, and introduceenv add
for installing node versions without setting as default #7155.Patch Changes
pnpm why
when the dependencies tree is too big, the command will now prune the tree to just 10 end leafs and now supports--depth
argument #7122.neverBuiltDependencies
andonlyBuiltDependencies
from the rootpackage.json
of the workspace, whenshared-workspace-lockfile
is set tofalse
#7141.pnpm.overrides
replacingresolutions
, the two are now merged. This is intended to make it easier to migrate from Yarn by allowing one to keep usingresolutions
for Yarn, but adding additional changes just for pnpm usingpnpm.overrides
.Our Gold Sponsors
Our Silver Sponsors
v8.8.0
Compare Source
Minor Changes
--reporter-hide-prefix
option forrun
command to hide project name as prefix for lifecycle log outputs of running scripts #7061.Patch Changes
--ignore-scripts
command to install, when runningpnpm dedupe --ignore-scripts
#7102.node-linker
is set tohoisted
, thepackage.json
files of the existing dependencies insidenode_modules
will be checked to verify their actual versions. The data in thenode_modules/.modules.yaml
andnode_modules/.pnpm/lock.yaml
may not be fully reliable, as an installation may fail after changes to dependencies were made but before those state files were updated #7107.Our Gold Sponsors
Our Silver Sponsors
v8.7.6
Compare Source
Patch Changes
prepublishOnly
scripts of git-hosted dependencies #7026.use-node-version
ornode-version
isn't passed down tocheckEngine
when using pnpm workspace, resulting in an error #6981.node_modules
#6756.Our Gold Sponsors
Our Silver Sponsors
v8.7.5
Compare Source
Patch Changes
node_modules/.pnpm
#7069.Our Gold Sponsors
Our Silver Sponsors
v8.7.4
Compare Source
Patch Changes
package.json
from the content-addressable store #7051.pnpm deploy
command and "injected dependencies" #6943.Our Gold Sponsors
Our Silver Sponsors
v8.7.3
Compare Source
Patch Changes
Our Gold Sponsors
Our Silver Sponsors
v8.7.2
Compare Source
v8.7.1
Compare Source
Patch Changes
pnpm -r publish
command #6968.pnpm update --interactive
output by grouping dependencies by type. Additionally, a new column has been added with links to the documentation for outdated packages #6978.Our Gold Sponsors
Our Silver Sponsors
v8.7.0
Compare Source
Minor Changes
resolution-mode
setting is changed tohighest
. This setting was changed tolowest-direct
in v8.0.0 and some users were not happy with the change. A twitter poll concluded that most of the users want the old behaviour (resolution-mode
set tohighest
by default). This is a semi-breaking change but should not affect users that commit their lockfile #6463.Patch Changes
peerDependencies
#615.pnpm import
#6233.peerDependencies
inpnpm.overrides
#6759.pnpm patch
should write patch files with a trailing newline #6905.Our Gold Sponsors
Our Silver Sponsors
v8.6.12
Compare Source
Patch Changes
pnpm patch
should work correctly whenshared-workspace-file
is set tofalse
#6885.pnpm env use
should retry deleting the previous Node.js executable #6587.pnpm dlx
should not print an error stack when the underlying script execution fails #6698.pnpm install --frozen-lockfile --lockfile-only
should fail if the lockfile is not up to date with thepackage.json
files #6913.Our Gold Sponsors
Our Silver Sponsors