@yarnpkg/pnpify
4.1.7 · 29 Jul 2026BSD-2-Clause32.8k / weekRepositorynpmAtom feed
Upgrading @yarnpkg/pnpify From 2.1.0 to 4.1.7
28 releases in betweennotes for 8
Reading releases, release notes and advisories…
- 14+
- changes to make
- 0
- advisories fixed
- 7+
- new
- 43+
- fixes
Counted from 8 of 28 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking3.0.0
- Breaking3.0.0
- Breaking3.0.0
- Breaking3.0.0
- Breaking3.0.0
- Breaking3.0.0
- Breaking3.0.0
- Breaking3.0.0
- Breaking3.0.0
- Breaking3.0.0
Release by release
3.1.1 – 4.1.718 releases, nothing new or fixed; 17 without a note
- New
Workspaces can now be referred to using
workspace:^andworkspace:~. When published, those markers will turn into the actual version (just like what used to happen withworkspace:*), except that they'll be prefixed with the relevant semver prefix (respectively^and~). - New
A new
npmAuditRegistrysetting will let you define which registry to use when running audits. If unset, we'll fallback to the currently configured publish registry (we'll likely change this behavior in Yarn 4 to rather use the fetch registry). - Fixed
Direct portal dependencies for
node_modulesinstalls will now be given priority during hoisting, preventing cases when indirect regular dependencies would block the way for direct portal dependencies. - Fixed
The
pnpifybinary can now be used from inside directories containing spaces.
- New
- Fixed
Fixes an edge case with the PnP loader when calling
readdirwithnullas second parameter (instead ofundefined).
- Fixed
- Breaking
Node 10 isn't supported anymore.
- Breaking
Plugins can't access
yupanymore (we migrated to Typanion as part of Clipanion v3). - Breaking
The
enableImmutableInstallswill now default totrueon CI (we still recommend to explicitly use--immutableon the CLI). - Breaking
The
initVersionandinitLicenseconfiguration options have been removed.initFieldsshould be used instead.
- Breaking
2.3.1 – 2.4.04 releases, nothing new or fixed; 2 without a note
- New
Added support for
$$and$PPID - New
Added a few builtin extensions to improve compatibility with packages that weren't correctly listing their dependencies.
- Fixed
Fixed some pathological cases around peer dependencies. In particular, workspaces' peer dependencies will now be resolved against their closest workspace ancestor (according to the directory hierarchy) rather than be ignored. Note that peer dependencies are inherently problematic with workspaces when using the
node-moduleslinker, and that the strictly correct behavior can only be obtained by using the default Plug'n'Play linker. - Fixed
Fixes some pathological globbing problems.
- New
2.2.1no release note
- Fixed
Requests won't timeout anymore as long as the server is still sending data.
- Fixed
yarn packwill properly include main/module/bin files, even when not explicitly referenced through thefilesfield. - Fixed
Local git repositories can now be fetched via the
git+file:protocol. - Fixed
The progress bars will be properly styled when using the new Windows terminal on certain days.
- Fixed
103 other lines we could not sort, mostly version bumps
- 3.1.1
Updates the PnP compatibility layer for TypeScript 4.5
- 3.1.0
The
yarn workspaces listandyarn workspaces foreachcommands now both support a new--sinceoption that lets you filter the workspace list by changes (only workspaces that changed since the specified commit will be iterated on). This feature is still a little experimental, especially when used with-R,--recursive. - 3.1.0
The
yarn workspaces foreachcommand now handles the fact that a script containing:only becomes global if it exists in exactly one workspace. - 3.1.0
The
yarn workspaces foreachcommand now supports--jobs 1and--jobs unlimited. - 3.1.0
The
yarn init -2command will now add thepackageManagerfield to your project manifest. - 3.1.0
The
patternmatcher fromlogFilterswill now match any part of the log entry. - 3.1.0
A new
nodeLinker: pnpmmode will let you install packages using the pnpm install strategy, where packages are stored flat and referenced by each others through symlinks. This mode is still a little experimental, so please send our way bugs you might find. - 3.1.0
Yarn won't install anymore packages that don't match the current OS. Should you need to (for example if you check-in your cache), use the
supportedArchitecturesfield to manually enforce the presence of specific architectures. - 3.1.0
The
nmMode: hardlinks-globalsetting will now be automatically downgraded tonmMode: hardlinks-localwhen global caches and install folders are kept on different devices, thus letting the install continue normally. A warning will still be produced explaining this behaviour. - 3.1.0
The
node_moduleslinker maximizes chances to end-up with only one top-level node_modules in the case of using workspaces
6 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.