Skip to content

upgrade: update dependency build_test to v3 - autoclosed #696

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

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 16, 2025

This PR contains the following updates:

Package Type Update Change Pending
build_test (source) dev_dependencies major ^2.0.0 -> ^3.0.0 3.2.1 (+3)

Release Notes

dart-lang/build (build_test)

v3.0.0

Compare Source

Breaking changes:

  • Breaking change: removed tearDown parameter to resolveSources for
    keeping resolvers across multiple tests.
  • Breaking change: tests must use new TestReaderWriter instead of
    InMemoryAssetReader and InMemoryAssetWriter.
  • Breaking change: testBuilder no longer accepts a reader and a writer.
    Instead it returns a TestBuilderResult with the TestReaderWriter
    that was used.
  • Breaking change: resolveSources no longer automatically reads non-input
    files from the filesystem; specify explicitly which non-input files the
    test should read in nonInputsToReadFromFilesystem.
  • Breaking change: remove MultiAssetReader. Load the source into one
    TestReaderWriter instead.
  • Breaking change: TestReaderWriter.assetsRead does not take into account
    details of the build, it's just what was actually read. Use
    TestReaderWriter.inputsTracked for what was recorded as an input. Note that
    resolver entrypoints are now tracked separately from inputs, see
    TestReaderWriter.resolverEntrypointsTracked.
  • Breaking change: Remove StubAssetReader. Use TestReaderWriter instead.

Other user-visible changes:

  • resolveSources and testBuilder now do a full build_runner build, with
    configuration as much as possible based on the some parameters.
  • Add testBuilders to run a test build with multiple builders.
  • Add optionalBuilders to testBuilders to have some builders be optional.
  • Add visibleOutputBuilders to testBuilders to have some builders write
    their output next to their inputs.
  • Add testingBuilderConfig to testBuilders to control builder config
    override.
  • Add resolvers parameter to testBuild and testBuilders.
  • Add readerWriter and enableLowResourceMode parameters to testBuild
    and testBuilders.
  • TestReaderWriter writes and deletes are notified to FakeWatcher.
  • TestReaderWriter tracks assetsWritten.
  • Support checks on reader state after a build action in resolveSources.

Versions:

  • Bump the min SDK to 3.7.0.
  • Use build_runner_core 9.0.0.

Internal changes:

  • Start using package:build/src/internal.dart.
  • Refactor BuildCacheReader to BuildCacheAssetPathProvider.
  • Refactor FileBasedAssetReader and FileBasedAssetWriter to ReaderWriter.

Configuration

📅 Schedule: Branch creation - Only on Wednesday ( * * * * 3 ) 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.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested review from wasabeef, AlexV525 and lcdsmao as code owners July 16, 2025 11:01
Copy link

codecov bot commented Jul 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.62%. Comparing base (675eb2e) to head (87c420b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #696   +/-   ##
=======================================
  Coverage   96.62%   96.62%           
=======================================
  Files          22       22           
  Lines         858      858           
=======================================
  Hits          829      829           
  Misses         29       29           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the upgrade-renovate-build_test-3.x branch from e59580c to 87c420b Compare July 16, 2025 11:15
@renovate renovate bot changed the title upgrade: update dependency build_test to v3 upgrade: update dependency build_test to v3 - autoclosed Jul 16, 2025
@renovate renovate bot closed this Jul 16, 2025
@renovate renovate bot deleted the upgrade-renovate-build_test-3.x branch July 16, 2025 15:40
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