Releases: yarnpkg/berry
Releases Β· yarnpkg/berry
v3.8.0
v4.1.0
What's Changed
- Add API Reference to website by @clemyan in #5922
- fix(plugin-npm-cli): fix login with Verdaccio by @demurgos in #5983
- fix(version) stop --dry-run from changing anything by @bgotink in #6015
- docs: correct default globalFolder in docs by @blimmer in #6003
- test: update Node.js range for extensionless files by @merceyz in #6035
- Add second level of --verbose to
workspaces foreach
to permit specifying less logging. by @seansfkelley in #6034 - Fix site navigation being somewhat jumbled at certain viewport widths by @strogonoff in #6022
- ci: use Node.js current release for e2e tests and benchmarks by @merceyz in #6082
- docs: fix links in zero-installs explanation by @bitjson in #6075
- fix(pnp): ensure
URL
is imported on Node.js < 20 by @merceyz in #6060 - ci(e2e): use Node.js v20 for angular pnp test by @merceyz in #6085
- ci(e2e): remove gatsby development server test by @merceyz in #6084
- Deprecates implicit cache keys by @arcanis in #6083
- feat: yarn run --json by @jplukas in #5988
- fix(nm): Fixes nm linker
link:
dependencies mistreatment as inner workspaces by @larixer in #6058 and @joshhunt in #6089 - chore(extensions): update list by @merceyz in #6095
- Fixes the optional check depending on the order the tree is traversed by @arcanis in #5840
- Fix #5165 - missing executable perms when installing with pnpm linker by @fancyfractal in #6066
- fix(npm): stale metadata cache issue by @arcanis in #6101
- Upgrades TypeScript by @arcanis in #6108
- fix(compat): update patch for
typescript@5.4.0-beta
by @merceyz in #6110
New Contributors
- @demurgos made their first contribution in #5983
- @blimmer made their first contribution in #6003
- @strogonoff made their first contribution in #6022
- @bitjson made their first contribution in #6075
- @jplukas made their first contribution in #5988
- @fancyfractal made their first contribution in #6066
Full Changelog: https://github.com/yarnpkg/berry/compare/@yarnpkg/cli/4.0.2...@yarnpkg/cli/4.1.0
v4.0.2
What's Changed
- ci: add
vitest
e2e tests by @wojtekmaj in #5896 - docs: navigate Plugins path link general reference lexicon See also section by @guspan-tanadi in #5894
- Update CHANGELOG.md by @arcanis in #5900
- Fix grammar in benefits.md by @pwbriggs in #5903
- fix(core): handle self referencing workspaces field by @merceyz in #5917
- docs: fix package bundled TS type check by @clemyan in #5867
- fix(yarnpkg-nm): Fixes creation of symlinks when inner workspace depends on outer workspace by @larixer in #5913
- ci: use latest actions/setup-node version by @wojtekmaj in #5901
- fix: remove unused --save option for set resolution command by @akwodkiewicz in #5868
- Various minor tweaks for website by @clemyan in #5863
- Reverts the INIT_CWD change by @arcanis in #5930
- Fixes missing
--json
output onyarn install
by @arcanis in #5933 - Stops reporting identical objects as being different by @arcanis in #5934
- Adds extensionless url support by @arcanis in #5931
- Update CHANGELOG.md by @arcanis in #5940
- Fix type for postinstall documentation by @RahulReddy75 in #5955
- Documentation improvements by @arcanis in #5968
- fix(compat): update patch for
typescript@5.3.1-rc
by @merceyz in #5916 - fix(set version) - fix build workflow for windows by @x318 in #5966
- Injects the PnP runtime in the process before requiring the user config by @arcanis in #5954
- Update Svelte Language Server PnP Configuration by @DavidArchibald in #5953
- Adds a warning when the hardened mode is enabled by @arcanis in #5969
- Improves the check for the libc presence by @arcanis in #5971
- fix(pnp) esm - support loaders importing named exports from commonjs by @merceyz in #5961
New Contributors
- @guspan-tanadi made their first contribution in #5894
- @pwbriggs made their first contribution in #5903
- @akwodkiewicz made their first contribution in #5868
- @RahulReddy75 made their first contribution in #5955
- @x318 made their first contribution in #5966
- @DavidArchibald made their first contribution in #5953
Full Changelog: https://github.com/yarnpkg/berry/compare/@yarnpkg/cli/4.0.1...@yarnpkg/cli/4.0.2
v3.7.0
v4.0.1
What's Changed
- Adds a blog section by @arcanis in #5784
- Fixes the progress bar max width by @arcanis in #5836
- Fixes bugs in yarn npm audit by @arcanis in #5833
- Reimplements yarn explain peer-requirements by @arcanis in #5834
- Adds
injectEnvironmentFiles
to the documentation by @arcanis in #5838 - Prevent crash while reading non-existent file on GITHUB_EVENT_PATH by @Brooooooklyn in #5835
- docs(yarnrc): set default compressionLevel to '0' by @trivikr in #5844
- docs(yarnrc): move compressionLevel 'mixed' enum value to the end by @trivikr in #5846
- docs: fix link to the portal protocol by @thorn0 in #5852
- chore(plugin-pnp): add 'pnpm' option in nodeLinker config description by @trivikr in #5850
- docs(yarnrc): create list item for cacheMigrationMode 'always' option by @trivikr in #5855
- docs(yarnrc): remove invalid 'auto' option for cacheMigrationMode by @trivikr in #5857
- fix: Update link to plugin tutorial by @antonbauhofer in #5862
- fix : Update link to difference between link and portal by @Shreyas0410 in #5870
- Waits for the manifests to be written before running the second loops by @arcanis in #5871
- Adds tests for the pack list generation by @arcanis in #5873
- chore(core): fix typo in Project.ts by @eltociear in #5876
- Runs more tests by @arcanis in #5875
- fix typos in blogs by @shresthasurav in #5877
- Update README.md by @Shivam250702 in #5887
New Contributors
- @Brooooooklyn made their first contribution in #5835
- @thorn0 made their first contribution in #5852
- @antonbauhofer made their first contribution in #5862
- @Shreyas0410 made their first contribution in #5870
- @shresthasurav made their first contribution in #5877
- @Shivam250702 made their first contribution in #5887
Full Changelog: https://github.com/yarnpkg/berry/compare/@yarnpkg/cli/4.0.0...@yarnpkg/cli/4.0.1
v4.0.0
Blog post: https://yarnpkg.com/blog/release/4.0
What's Changed
- perf(core): skip unnecessary stat call in
tgzUtils.convertToZip
by @merceyz in #4166 - chore(core): use const for pkg variable in getCandidates by @trivikr in #4161
- refactor(nm): return object with linkType and target by @trivikr in #4143
- add extension for '@cypress/snapshot' dependency on 'debug' by @devrelm in #4193
- docs: Add Ukraine support banner to Yarn website by @larixer in #4190
- docs: Add
yarn-plugin-publishconfig
to Contrib plugins by @alizeait in #4188 - docs: add
yarn-plugin-http-proxy
contrib plugin by @arontsang in #4180 - refactor(git): use const for protocol/request by @trivikr in #4183
- docs: Updates the link to support Ukraine by @larixer in #4198
- chore: remove unused dependencies by @merceyz in #4186
- chore: informations => information by @francisu in #4082
- chore(nm): use for loop in buildTree fn by @trivikr in #4200
- Don't run the tests anymore on Node 12 by @arcanis in #4196
- refactor: move and document getNpmAuthenticationHeader by @paul-soporan in #3888
- fix(esbuild): make
foo/bar
external if packagefoo
is external by @bgotink in #4209 - fix(esbuild): resolve to ESM when requested by @bgotink in #4220
- fix(nm): Support portals to external interdependent workspaces by @larixer in #4207
- fix(pnpm): pnpm linker no longer removes node_modules when nm linker is active by @larixer in #4206
- fix(nm): apply hoisting algorithm on aliased dependencies by @larixer in #4237
- feat(patch)!: Improves patches by @arcanis in #4218
- chore: remove leftover test code by @merceyz in #4246
- docs: fix a typo s/then/them by @jameskerr in #4230
- perf(libzip): migrate to zlib-ng by @merceyz in #4247
- test: disable flaky tests by @merceyz in #4248
- fix(docs): move Ukrainain banner to the home page only to not disrupt docs UX by @larixer in #4251
- refactor(parsers): use const for vars
data
andsort
by @trivikr in #4202 - fix(nm): Reinstall removed module directories by @larixer in #3467
- Make the local cache opt-in (rather than opt-out) by @arcanis in #4252
- fix(nm): takes into account scoped packages during syncing tree with disk by @larixer in #4266
- docs: add reference to
libc
key insupportedArchitectures
documentation by @julienfouilhe in #4264 - chore(git): remove redundant variable match by @trivikr in #4255
- Removes the compatibility layer for Clipanion 2 by @arcanis in #4262
- Improves boot time by @arcanis in #4261
- test(nm): Adds a unit test which checks that two-branch circular graphs handled properly by @larixer in #4272
- fix(nm): improves external soft links hoisting by @larixer in #4269
- chore(file): use const for path in getCandidates by @trivikr in #4281
- fix(plugin-pnp): wait for unplugging to finish before finalizing by @merceyz in #4278
- fix(parsers): correctly stringify keys longer than 1024 chars by @elado in #4275
- test: don't use git repositories we don't control by @merceyz in #4276
- feat: support auth in proxy url by @Leksat in #4243
- Enables all official plugins by default by @arcanis in #4253
- Prefer using exclusively Corepack when possible by @arcanis in #4254
- Soften CI coverage by @arcanis in #4286
- chore: cleanup root dependencies by @merceyz in #4273
- fix(pnp): esm - handle symlinked extensionless entrypoints by @merceyz in #4289
- ci: don't continue running when cancelled by @merceyz in #4290
- Fixes {} parsing inside shell scripts by @arcanis in #4288
- feat(pack): support
publishConfig.type
by @cometkim in #4204 - chore(compat): lock
@apollographql/apollo-tools
range by @trevor-scheer in #4293 - fix(parsers): correctly indent keys longer than 1024 chars by @elado in #4294
- Resolves tags before storing them in the manifest by @arcanis in #4291
- Normalizes dependencies by @arcanis in #4305
- Implements
--check-resolutions
by @arcanis in #4302 - Implements
--refresh-lockfile
by @arcanis in #4299 - Implements enableHardenedMode by @arcanis in #4307
- perf(pnp): hoist data string by @merceyz in #4320
- feat(libzip): add function types by @merceyz in #4318
- fix(essentials): correct typo in prompt by @GauBen in #4324
- fix(pack): handle excluding from included parent directory by @merceyz in #4317
- fix(sdks): update for VSCode 1.66 by @merceyz in #4330
- perf: reduce bundle size by @merceyz in #4315
- Repairs
yarn set version from sources
from 3 to 4 by @arcanis in #4331 - Fixes
yarn version apply
by @arcanis in #4336 - feat(essentials): add
preferReuse
setting by @marionebl in #4221 - fix(pnp): suppress experimental ESM loader warning by @merceyz in #4338
- chore(compat): add extension for 'auto-relay' peerDependency on 'reflect-metadata' by @Justkant in #4312
- fix(compat): update patch for
typescript@4.7.0-beta
by @merceyz in #4339 - fix(plugin-nm): handle
supportedArchitectures
by @merceyz in #4343 - docs: Fix plugin author name by @oliversalzburg in #4361
- perf(core): skip unnecessary
access
call infetchPackageFromCache
by @merceyz in #4352 - Yarn npm audit json exitcode by @hughdavenport in #4358
- Updates benchmark dependencies by @arcanis in #4374
- feat(essentials): support forwarding
--require
inyarn run
by @juan-fernandez in #4376 - fix(compat): update
vue-loader
entry by @merceyz in #4389 - fix(git): respect
GIT_SSH_COMMAND
andGIT_SSH
by @cwstra in #4381 - Fixes the "yarn up" command when the dependency doesnt need upgrades by @arcanis in #4378
- Fixes e2e tests by @arcanis in #4377
- fix(dlx): preserve tags by @merceyz in #4395
- fix(compat):
react-scripts
by @merceyz in #4346 - Fixes the Parcel E2E test by @arcanis in #4400
- fix(essentials): different error when importing built-in plugins by @merceyz in #4401
- chore: add lint rule for
semver.validRange
andsemver.Range
by @merceyz in #4407 - fix(core): skip cache cleanup when enableGlobalCache is true by @stevenxu-db in #4402
- fix(fslib): fix return shape of promisified
fs.write
by @mhassan1 in #4411 - docs: fix incorrect grammar in README by @osBins in #4422
- Use cygpath for MINGW (Git Bash) by @dahlbyk in #4409
- ci: update pnpm store location by @merceyz in #4440
- fix(core): ensure proper install for git dependency using Yarn classic and npm by @colincasey in #4403
- feat: move compat database to separate package by @zkochan in #4436
- fix(cli): correct the cli's dev version to match semver spec by @edvardchen in #4458
- fix(extensions): allow
consolidate@<0.16.0
to usemustache@^3.0.0
by @andreyfel in #4465 - feat(fslib): add `ftrunca...