Skip to content

Update dependency build to v3 #29

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jul 27, 2025

This PR contains the following updates:

Package Type Update Change
build (source) dependencies major ^1.2.2 -> ^3.0.0

Release Notes

dart-lang/build (build)

v3.0.0

Compare Source

v2.5.4

Compare Source

  • Use build_runner_core 9.1.2.

v2.5.3

Compare Source

  • Use build_runner_core 9.1.1.

v2.5.2

Compare Source

  • Use build_runner_core 9.1.0.

v2.5.1

Compare Source

  • Use build_runner_core 9.0.1.

v2.5.0

Compare Source

User-visible changes:

  • Improved performance for large builds. More performance improvements
    will follow, if your workflow is affected by slow build_runner performance
    then please consider sharing details at
    https://github.com/dart-lang/build/discussions.
  • Improved logging: show what builders are running and, for long-running
    builders, where the time is spent.
  • AssetNotFoundException now also reports the missing path.

Versions:

  • Bump the min sdk to 3.7.0.
  • Use build_test 3.0.0.
  • Use build_runner_core 9.0.0.

Internal changes:

  • Add package:build/src/internal.dart for use by build_resolvers,
    build_runner_core and build_test.
  • Refactor PathProvidingAssetReader to AssetPathProvider.
  • Refactor MultiPackageAssetReader to internal AssetFinder.
  • Add internal Filesystem that backs AssetReader and AssetWriter
    implementations.
  • Refactor CachingAssetReader to FilesystemCache.
  • Refactor BuildCacheReader to BuildCacheAssetPathProvider.
  • Refactor FileBasedAssetReader and FileBasedAssetWriter to ReaderWriter.
  • Move BuildStepImpl to build_runner_core, use SingleStepReader directly.
  • Add LibraryCycleGraphLoader for loading transitive deps for analysis.
  • Track resolver dependencies as library cycle graphs.
  • Ignore deprecated analyzer API usages.

v2.4.2

Compare Source

  • Bump the min sdk to 3.6.0.
  • Remove some unnecessary casts and non-null assertions now that we have private
    field promotion.
  • Require analyzer ^6.9.0, allow <8.0.0.
  • Fix analyzer deprecations.

v2.4.1

Compare Source

  • Allow the latest analyzer (6.x.x).

v2.4.0

Compare Source

  • Add BuildStep.packageConfig getter to resolve a package config of all
    packages involved in the current build.

v2.3.1

Compare Source

  • Allow the latest package:analyzer.
  • Bump min sdk to 2.17.0.

v2.3.0

Compare Source

  • Support ^ in build extensions that don't use capture groups, which results
    in full path matching instead of suffix matching.

v2.2.2

Compare Source

  • Allow analyzer version 4.x.

v2.2.1

  • Fix a bug where builders were allowed to write to the same asset multiple
    times.

v2.2.0

  • Allow reusing the values held by Resources when the resource has a dispose
    method. Previously the instances were discarded and recreated for every build
    even if they had tried to clean up their own state.
  • Allow the latest analyzer.

v2.1.1

Compare Source

  • Throw an ArgumentError if an expected output matches the input.
  • Bump min sdk to 2.14.0.

v2.1.0

Compare Source

  • Expand the expressiveness of buildExtensions include capture groups,
    enabling directory moves. For more information on this feature, see
    capture groups
  • Add an allowedOutputs getter to BuildStep. It returns assets that may be
    written in that step.

v2.0.3

Compare Source

  • Allow analyzer version 2.x.x.

v2.0.2

Compare Source

  • Handle failed resolvers in buildStep.complete.

v2.0.1

Compare Source

  • Require package:async version 2.5.0 and package:collection version 1.15.0.

v2.0.0

Compare Source

  • Migrate to null-safety
  • Breaking: Remove the deprecated rootPackage argument to runBuilder
  • Breaking: Change the first argument to AssetId.resolve from a String
    (which previously was required to be a valid URI) to a Uri instance. Call
    sites which have static errors can wrap the argument with Uri.parse().

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 by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants