@yarnpkg/plugin-version
4.3.0 · 29 Jul 2026BSD-2-Clause114.9k / weekRepositorynpmAtom feed
Upgrading @yarnpkg/plugin-version From 2.1.0 to 2.2.1
3 releases in betweennotes for 2
Reading releases, release notes and advisories…
- ?
- changes to make
- 0
- advisories fixed
- ?
- new
- 14+
- fixes
Counted from 2 of 3 release notes. Advisories are counted from the advisory database, in full.
Release by release
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
- Fixed
Fixed hyperlink rendering on iTerm
- Fixed
7 other lines we could not sort, mostly version bumps
- 2.2.0
Packages can now use the
publishConfig.executableFilesfield in their manifests to indicate which files should keep the executable flag once packed in the archive. This is important as for portability reasons Yarn strips the executable flag from all files during packing (otherwiseyarn packwould yield different outputs when run on Posix vs Windows). Files listed in thebinfield are assumed executable by default, so you don't need to explicitly list them inexecutableFiles. - 2.2.0
Yarn will now report an error when run through an incompatible Node version.
- 2.2.0
yarn addandyarn upwill now respect thepreferInteractiveconfiguration option. - 2.2.0
yarn config setnow supports the-H,--homeflag, which causes it to update the home configuration instead of the project configuration. - 2.2.0
The settings found in the home configuration file won't cause exceptions when consumed by older Yarn versions. Unsupported options will simply be silently ignored. This should improve the user experience when working with multiple projects configured with different Yarn versions.
- 2.2.0
A new
immutablePathssetting allow you to specify paths that must not change when running Yarn with the--immutableflag set. You can use it to detect unforeseen changes to your install artifacts, be it.pnp.jsornode_modulesfiles. - 2.2.0
The PnP hook will now display clearer error message when requiring Node builtins from contexts that can't access them out of the box (for example when accessing the
fsmodule from within a Webpack browser bundle).
4 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.