-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update yarn to v4 #173
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/major-yarn-monorepo
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
2 times, most recently
from
April 7, 2023 21:13
e299251
to
3cd42a0
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
2 times, most recently
from
April 14, 2023 21:10
489a1ed
to
64bdd13
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
3 times, most recently
from
April 23, 2023 20:09
df77509
to
ebd24d1
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
3 times, most recently
from
May 1, 2023 22:16
03cf9bf
to
97159f4
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
3 times, most recently
from
May 12, 2023 19:47
34c63cf
to
5c8445e
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
5 times, most recently
from
May 21, 2023 17:31
afdee92
to
57f4d12
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
3 times, most recently
from
June 2, 2023 19:48
90d4457
to
c6bb05f
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
3 times, most recently
from
June 9, 2023 18:48
23137c9
to
76ee681
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
3 times, most recently
from
June 18, 2023 18:49
f615718
to
7509eb8
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
3 times, most recently
from
June 25, 2023 19:52
64db1ff
to
6a6923a
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
2 times, most recently
from
September 14, 2024 15:16
14f3193
to
0fb3b0e
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
2 times, most recently
from
September 20, 2024 20:00
856e775
to
33f47ff
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
3 times, most recently
from
September 29, 2024 19:35
f287aab
to
dff9c16
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
2 times, most recently
from
October 6, 2024 19:40
74e8939
to
dab997c
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
3 times, most recently
from
October 18, 2024 21:08
9a57099
to
a869da6
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
2 times, most recently
from
October 27, 2024 18:29
18f1b79
to
5f5e8e2
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
from
November 3, 2024 19:03
5f5e8e2
to
7704e03
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
2 times, most recently
from
November 17, 2024 18:38
0e4cabe
to
8750258
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
3 times, most recently
from
November 25, 2024 16:59
2ca5b1e
to
6fa24b6
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
from
November 29, 2024 19:59
6fa24b6
to
fe91352
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
2 times, most recently
from
December 9, 2024 23:59
054f82c
to
ee6f82d
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
2 times, most recently
from
December 20, 2024 23:38
b332cee
to
e6c075b
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
2 times, most recently
from
December 29, 2024 16:29
51bc3bc
to
ad0565f
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
from
December 29, 2024 18:59
ad0565f
to
5689853
Compare
renovate
bot
force-pushed
the
renovate/major-yarn-monorepo
branch
from
January 5, 2025 20:11
5689853
to
4f93a69
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.8.7
->4.6.0
Release Notes
yarnpkg/berry (yarn)
v4.6.0
Compare Source
v4.5.3
Compare Source
v4.5.2
Compare Source
v4.5.1
Compare Source
v4.5.0
Compare Source
v4.4.1
Compare Source
v4.4.0
Compare Source
v4.3.1
Compare Source
v4.3.0
Compare Source
v4.2.2
Compare Source
v4.2.1
Compare Source
v4.2.0
Compare Source
v4.1.1
Compare Source
v4.1.0
Compare Source
Tweaks
-,--verbose
inyarn workspaces foreach
;-v
will now only print the prefixes,-vv
will be necessary to also print the timings.Adds a new
--json
option toyarn run
when called without script nameFixes
node-modules
linkerlink:
dependencies mistreatment as inner workspaces, when they point to a parent folder of a workspaceFixes spurious "No candidates found" errors
Fixes missing executable permissions when using
nodeLinker: pnpm
Fixes packages being incorrectly flagged as optional
Fixes cache key corruptions due to uncontrolled git merges
Fixes
yarn version apply --all --dry-run
making unexpected changesFixes
yarn npm login
when the remote registry is Verdacciov4.0.2
Compare Source
v4.0.1
Compare Source
v4.0.0
Compare Source
Major Changes
With Node.js 16's now being End of Life'd, we dropped support for Node.js versions lower than 18.12.
Some important defaults have changed:
yarn set version
will prefer usingpackageManager
rather thanyarnPath
when possible.yarn init
will no longer use zero-install by default. You still can enable it, but it should make it easier to start one-of projects without having to rewrite the configuration afterwards.yarn workspaces foreach
now requires one of--all
,--recursive
,--since
, or--worktree
to be explicitly specified; the previous default was--worktree
, but it was rarely what users expected.All official Yarn plugins are now included by default in the bundle we provide. You no longer need to run
yarn plugin import
for official plugins (you still need to do it for third-party plugins, of course).Yarn's UI during installs has been greatly improved:
node-gyp
and transitive peer dependency errors) have been removed.yarn rebuild
calls.yarn npm audit
.Some settings were renamed or removed:
caFilePath
is nowhttpsCaFilePath
preferAggregateCacheInfo
has been removed (it's now always on)pnpDataPath
has been removed to adhere to our new PnP specification. For consistency, all PnP files will now be hardcoded to a single value so that third-party tools can implement the PnP specification without relying on the Yarn configuration.The
yarn npm audit
command has been reimplemented:/-/npm/v1/security/advisories/bulk
endpoint.npmAuditRegistry
can be used to temporarily route audit queries to the npm registry.yarn npm audit ! --no-deprecations
.Some legacy layers have been sunset:
.pnp.js
file when migrating.--assume-fresh-project
flag ofyarn init
has been removed.API Changes
The following changes only affect people writing Yarn plugins:
The
ZipFS
andZipOpenFS
classes have been moved from@yarnpkg/fslib
to@yarnpkg/libzip
. They no longer need or accept thelibzip
parameter.open
,ZIP_CREATE
, andZIP_TRUNCATE
bindings are no longer needed forZipFS
and have also been removed.The
dependencies
field sent returned byResolver#resolve
must now be the result of aConfiguration#normalizeDependencyMap
call. This change is prompted by a refactoring of how default protocols (ienpm:
) are injected into descriptors. The previous implementation caused various descriptors to never be normalized, which made it difficult to know what were the descriptors each function should expect.Similarly, the descriptors returned by
Resolve#getResolutionDependencies
are now expected to be the result ofConfiguration#normalizeDependency
calls.Note that this only applies to the
dependencies
field; thepeerDependencies
field is unchanged, as it must only contains semver ranges without any protocol (with an exception forworkspace:
, but that's not relevant here).The
Resolve#getResolutionDependencies
function must now return an object of arbitrary string keys and descriptor values (instead of a map withDescriptorHash
keys). Those descriptors will be resolved and assigned to the same keys as the initial object. This change allows resolvers to wrap resolution dependencies from other resolvers, which wasn't possible before since it'd have caused the key to change.The
generateLoader
function in@yarnpkg/pnp
no longer generates the$$SETUP_STATE
function, it now needs to be present in theloader
passed to the function.The
getCustomDataKey
function inInstaller
from@yarnpkg/core
has been moved toLinker
.renderForm
'soptions
argument is now required to enforce that custom streams are always specified.npmConfigUtils.getAuditRegistry
no longer takes aManifest
as its first argument.The
FetchOptions.skipIntegrityCheck
option has been removed. UseFetchOptions.cacheOptions.skipIntegrityCheck
instead.MapConfigurationValue
has been removed. UsemiscUtils.ToMapValue
instead.Manifest.isManifestFieldCompatible
andManifest.prototype.isCompatibleWith{OS,CPU}
have been removed. UseManifest.prototype.getConditions
andstructUtils.isPackageCompatible
instead.versionUtils.{fetchBase,fetchRoot,fetchChangedFiles}
have been moved from@yarnpkg/plugin-version
to@yarnpkg/plugin-git
. UsegitUtils.{fetchBase,fetchRoot,fetchChangedFiles}
instead.For consistency reasons:
Link{Resolver,Fetcher}
have been renamed toPortal{Resolver,Fetcher}
RawLink{Resolver,Fetcher}
have been renamed toLink{Resolver,Fetcher}
FakeFS
classes are now required to implementlutimes{Sync,Promise}
.workspace.dependencies
has been removed. Useworkspace.anchoredPackage.dependencies
instead.The
Installer
class must now returnBuildRequest
structures instead ofBuildDirective[]
. This lets you mark that the build must be skipped, and the reason why.startCacheReport
has been removed, and is now part of the output generated byfetchEverything
.forgettableNames
&forgettableBufferSize
have been removed (the only messages using them have been removed, making the forgettable logs implementation obsolete).workspace.locator
has been removed. You can instead use:workspace.anchoredLocator
to get the locator that's used throughout the dependency tree.workspace.manifest.version
to get the workspace version.configuration.{packageExtensions,refreshPackageExtensions}
have been removed. Useconfiguration.getPackageExtensions
instead.configuration.normalizePackage
now requires apackageExtensions
option.ProjectLookup
has been removed. BothConfiguration.find
andConfiguration.findProjectCwd
now always do a lockfile lookup.Installs
pnpm
linker avoids creating symlinks that lead to loops on the file system, by moving them higher up in the directory structure.pnpm
linker no longer reports duplicate "incompatible virtual" warnings.Features
enableOfflineMode
is a new setting that, when set, will instruct Yarn to only use the metadata and archives already stored on the local machine rather than download them from the registry. This can be useful when performing local development under network-constrained environments (trains, planes, ...).yarn run bin
now injects the environment variables defined in.env.yarn
when spawning a process. This can be configured using theinjectEnvironmentFiles
variable.yarn workspaces foreach
now automatically enables theyarn workspaces foreach ! --verbose
flag in interactive terminals.Bugfixes
yarn dlx
will no longer report false-positiveUNUSED_PACKAGE_EXTENSION
warningsyarn workspace
will now set$INIT_CWD
to the CLI working directory rather than the workspace root.Shell
Compatibility
FileHandle.readLines
.Configuration
📅 Schedule: Branch creation - "before 10am on Saturday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.