@yarnpkg/cli/4.9.3
📦 yarnView on GitHub →
✨ 4 features🐛 5 fixes⚡ 1 deprecations🔧 8 symbols
Summary
Yarn Berry 4.9.3 introduces provenance support, a new GIT_AUTHOR_NAME test env variable, and dry‑run/json flags for npm publish, while fixing several platform detection and TypeScript issues and deprecating the `-v` flag for `yarn config`.
Migration Steps
- Remove any usage of the deprecated `-v` flag for `yarn config`.
✨ New Features
- Add provenance support to @yarnpkg/cli-dist.
- Introduce `GIT_AUTHOR_NAME` environment variable for test environments.
- Add `--dry-run` and `--json` flags to `yarn npm publish`.
- CI: use React with Vite in Storybook end‑to‑end tests.
🐛 Bug Fixes
- Fix libc detection on various platforms.
- Increase hash length in core.
- Mark `fetchFromNetwork` as private in plugin‑npm to resolve a TypeScript issue.
- Allow EBUSY errors when deleting node_modules in pnpm.
- Fix test failures by specifying the initial branch name in `git init`.
🔧 Affected Symbols
cliDist.provenanceprocess.env.GIT_AUTHOR_NAMEcore.detectLibccore.hashLengthpluginNpm.fetchFromNetworkpnpm.removeNodeModulespublish.dryRunpublish.json⚡ Deprecations
- The `-v` flag for `yarn config` is deprecated and references to it have been removed.