Releases: yarnpkg/berry
Releases Β· yarnpkg/berry
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
[email protected]
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...