Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(deps): update yarn to v4#11162

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
renovate wants to merge1 commit intomainfromrenovate/major-yarn-monorepo

Conversation

renovate[bot]
Copy link
Contributor

@renovaterenovatebot commentedMay 5, 2025

This PR contains the following updates:

PackageChangeAgeAdoptionPassingConfidence
yarn (source)3.8.2 ->4.9.1ageadoptionpassingconfidence

Release Notes

yarnpkg/berry (yarn)

v4.9.1

Compare Source

v4.9.0

Compare Source

v4.8.1

Compare Source

v4.8.0

Compare Source

v4.7.0

Compare Source

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 name

  • Fixesnode-modules linkerlink: dependencies mistreatment as inner workspaces, when they point to a parent folder of a workspace

  • Fixes spurious "No candidates found" errors

  • Fixes missing executable permissions when usingnodeLinker: pnpm

  • Fixes packages being incorrectly flagged as optional

  • Fixes cache key corruptions due to uncontrolled git merges

  • Fixesyarn version apply --all --dry-run making unexpected changes

  • Fixesyarn npm login when the remote registry is Verdaccio

v4.0.2

Compare Source

v4.0.1

Compare Source

  • Fixes creation of symlinks fornode-modules linker when inner workspace depends on outer workspace
  • Fixes progress bars when the terminal is too large
  • Fixes crashes while running Yarn within Docker within GitHub Actions
  • Fixesyarn npm audit --ignore NUM which didn't apply to deprecations
  • Fixesyarn npm audit --json which didn't print the right output format
  • Fixes an incorrect type export in@yarnpkg/core
  • Implements back theyarn explain peer-requirements command

v4.0.0

Compare Source

Major Changes
  • With Node.js 16'snow being End of Life'd, we dropped support for Node.js versions lower than 18.12.

  • Some important defaults have changed:

    • yarn init andyarn set version will prefer usingpackageManager rather thanyarnPath when possible (when they detectCOREPACK_ROOT in your environment variables).

    • 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.

      • As a result,enableGlobalCache now defaults totrue. If your project uses Zero-Installs, the firstyarn install you run after migrating to 4.0 will automatically setenableGlobalCache: false in your local.yarnrc.yml.
    • 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.

    • compressionLevel now defaults to0 rather thanmixed. It's been proved significantly faster on installs, and the size impact was reasonable enough to change the default. Note that it benefits youeven if you use Zero-Installs: as per our tests, a zero-compression is actually easier to handle for Git (you can see by yourself with those examples usingcompressionLevel: 0 vscompressionLevel: mixed).

      • To avoid making the upgrade too disruptive, Yarn will check whether Zero-Installs are enabled the first time you runyarn install after migrating from 3.6 to 4.0. If you do, it will automatically set the old default (compressionLevel: mixed) in your.yarnrc.yml file. You can then remove it whenever you feel ready to actually change the compression settings.
  • All official Yarn plugins are now included by default in the bundle we provide. You no longer need to runyarn plugin import forofficial plugins (you still need to do it for third-party plugins, of course).

    • This doesn't change anything to the plugin API we provide, which will keep being maintained.
    • Yarn still has a modular architecture and uses the exact same APIs as contrib plugins; all that changes is how we distribute our own features.
  • Yarn's UI during installs has been greatly improved:

    • Packages added and removed from the lockfile are now explicitly reported.
    • Fluctuations in the project cache size are now reported as a single line.
    • Unactionable warnings (node-gyp and transitive peer dependency errors) have been removed.
    • Skipped builds are now only reported during initial installs and manualyarn rebuild calls.
    • The Yarn version is now displayed on installs to help us investigate issueswhen reported as screenshots.
    • Deprecation checks have been moved toyarn 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 newPnP 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.
  • Theyarn npm audit command has been reimplemented:

    • The audit registry must now implement the/-/npm/v1/security/advisories/bulk endpoint.
    • ThenpmAuditRegistry can be used to temporarily route audit queries to the npm registry.
    • Deprecations are now returned by default. To silence them, useyarn npm audit ! --no-deprecations.
  • Some legacy layers have been sunset:

    • Plugins cannot access the Clipanion 2 APIs anymore (upgrade toClipanion 3)
    • Plugins cannot access the internal copy of Yup anymore (useTypanion instead)
    • Yarn will no longer remove the old Yarn 2.x.pnp.js file when migrating.
    • The--assume-fresh-project flag ofyarn init has been removed.
API Changes

The following changes only affect people writing Yarn plugins:

  • TheZipFS andZipOpenFS classes have been moved from@yarnpkg/fslib to@yarnpkg/libzip. They no longer need or accept thelibzip parameter.

    • Reading the zip archives is now done on the Node.js side for performance; as a result, theopen,ZIP_CREATE, andZIP_TRUNCATE bindings are no longer needed forZipFS and have also been removed.
  • Thedependencies 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 byResolve#getResolutionDependencies are now expected to be the result ofConfiguration#normalizeDependency calls.

    • Note that this only applies to thedependencies 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).

  • TheResolve#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.

  • ThegenerateLoader function in@yarnpkg/pnp no longer generates the$$SETUP_STATE function, it now needs to be present in theloader passed to the function.

  • ThegetCustomDataKey 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.

  • TheFetchOptions.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.

  • TheInstaller 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
  • Yarn now caches npm version metadata, leading to faster resolution steps and decreased network data usage.
  • Thepnpm linker avoids creating symlinks that lead to loops on the file system, by moving them higher up in the directory structure.
  • Thepnpm 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.
  • Constraints can now be written in JavaScript. See therevamped documentation for more information.
Bugfixes
  • yarn dlx will no longer report false-positiveUNUSED_PACKAGE_EXTENSION warnings
  • yarn workspace will now set$INIT_CWD to the CLI working directory rather than the workspace root.
Shell
  • The builtin shell now supports whitespace-only commands.
Compatibility
  • The patched filesystem now supportsFileHandle.readLines.
  • PnP now reports missing files when in watch mode.

v3.8.7

Compare Source

v3.8.6

Compare Source

v3.8.5

Compare Source

v3.8.4

Compare Source

v3.8.3

Compare Source


Configuration

📅Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated byMend Renovate. View therepository job log.

@renovaterenovatebot added dependenciesIssue about dependencies of the package javascriptPull requests that update Javascript code labelsMay 5, 2025
@typescript-eslint
Copy link
Contributor

Thanks for the PR,@renovate[bot]!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently onhttps://opencollective.com/typescript-eslint.

@nx-cloudNx Cloud
Copy link

nx-cloudbot commentedMay 5, 2025
edited
Loading

View yourCI Pipeline Execution ↗ for commitbe25f64.

CommandStatusDurationResult
nx typecheck ast-spec✅ Succeeded3sView ↗
nx run-many --target=build --exclude website --...✅ Succeeded49sView ↗
nx run-many --target=clean✅ Succeeded11sView ↗

☁️Nx Cloud last updated this comment at2025-05-05 17:44:56 UTC

@renovaterenovatebotforce-pushed therenovate/major-yarn-monorepo branch from1636dd4 to73b841aCompareMay 5, 2025 17:23
@netlifyNetlify
Copy link

netlifybot commentedMay 5, 2025
edited
Loading

Deploy Preview fortypescript-eslint failed.

NameLink
🔨 Latest commitd7cfb6e
🔍 Latest deploy loghttps://app.netlify.com/sites/typescript-eslint/deploys/6818fc60736b7b000897b832

@renovaterenovatebotforce-pushed therenovate/major-yarn-monorepo branch 6 times, most recently fromd7a2730 to377de43CompareMay 5, 2025 17:53
@kirkwaiblinger
Copy link
Member

Per#10380 it was decided not to do this

JoshuaKGoldberg reacted with thumbs up emoji

@renovaterenovatebotforce-pushed therenovate/major-yarn-monorepo branch from377de43 to94ba579CompareMay 5, 2025 17:56
@renovaterenovatebotforce-pushed therenovate/major-yarn-monorepo branch from94ba579 tod7cfb6eCompareMay 5, 2025 17:58
@renovateRenovate
Copy link
ContributorAuthor

renovatebot commentedMay 5, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs forany future4.x releases. But if you manually upgrade to4.x then Renovate will re-enableminor andpatch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsMay 13, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
dependenciesIssue about dependencies of the packagejavascriptPull requests that update Javascript code
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@kirkwaiblinger@JoshuaKGoldberg

[8]ページ先頭

©2009-2025 Movatter.jp