Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Aug 6, 2025

This PR contains the following updates:

Package Type Update Change
build_runner (source) dev_dependencies minor 2.4.152.10.5

Release Notes

dart-lang/build (build_runner)

v2.10.5

Compare Source

  • Add logging of builder compilation so you can tell how much time is spent
    on the JIT or AOT compile. Explicitly log restarts to recompile builders.
  • Allow analyzer 10.0.0.

v2.10.4

Compare Source

  • Allow analyzer 9.0.0.

v2.10.3

Compare Source

  • Performance: improve scalability with the number of library cycles, making
    builds much faster for some large codebases.
  • Bug fix: fix crash when you run dart run build_runner build in a
    subdirectory of a package.
  • Bug fix: in a workspace, generate for transitive dependencies of the current
    package instead of for all packages in the workspace.

v2.10.2

Compare Source

  • Bug fix: fix issue with webdev failing due to a modification during a build.
  • In "serve" and "watch" modes, retry failed compiles instead of exiting.

v2.10.1

Compare Source

  • Performance: improve findAssets scalability, making it much faster for
    prefix matches in packages with thousands of files or more. One specific use
    case that is now faster is builders that use source_gen shared parts, for
    example built_value and json_serializable.
  • Bug fix: look up triggers in the triggers section of build.yaml using the
    full name. For the case in which the builder name matched the package name,
    the abbreviated name was being used instead.
  • Bug fix: fix incorrect log with build_runner/aot on Windows with JIT.

v2.10.0

Compare Source

  • Add AOT compilation of builders. A future release will AOT compile builders
    automatically, for this release it's behind a flag. AOT compiled builders
    start up faster and have higher throughput, for faster builds overall.
    Builders that use dart:mirrors cannot be AOT compiled.
  • Add force-aot flag to AOT compile builders.
  • Add force-jit flag to force the current default of JIT compiling builders.
  • Add the --dart-jit-vm-arg option. Its values are passed to dart run when
    a build script is started in JIT mode. This allows specifying options to
    attach a debugger to builders.
  • Require analyzer 8.0.0. Remove use of deprecated analyzer members, use
    their recommended and compatible replacements.
  • Internal changes for build_test.

v2.9.0

Compare Source

  • Watch mode: handle builder code and config changes without recompiling or
    exiting.
  • Remove log output about build_runner internals.
  • Print the port that gets picked if you pass 0 for a port number, for example
    with dart run build_runner serve web:0.
  • Improve warnings when an option is specified for an unknown builder.
  • Rewrite bootstrap code to remove use of dart:mirrors.
  • Bug fix: require args 2.5.0.

v2.8.0

Compare Source

  • Make errors more prominent in log output, highlight in red.
  • Remove "deleting declared outputs" warning.
  • Bug fix: fix incorrect display of some "usage" messages.
  • Move code from build_resolvers into build_runner.
  • Move code from build_runner_core into build_runner.
  • Move code from timing into build_runner.
  • Remove unused deps: build_resolvers, build_runner_core, timing.

v2.7.2

Compare Source

  • Use build 4.0.0.

v2.7.1

Compare Source

  • Bug fix: with build_runner serve, special handling of paths containing
    /packages/ was hiding actual folders called packages. Serve the actual
    folders first, before trying the package lookup.
  • Remove undocumented / unused features: lib/build_script_generate.dart,
    bin/graph_inspector.dart, build_runner doctor and
    build_runner generate-build-script commands.
  • Remove deps on pubspec_parse and timing.
  • Use build 3.1.0.

v2.7.0

Compare Source

  • Performance: builders can choose to run only when "triggered". A builder runs
    only if triggered if the option run_only_if_triggered is true. Triggers
    are configured in new a top-level section of build.yaml called triggers.
    See the build_config docs
    for more information.
  • Remove interactive prompts for whether to delete files.
  • Ignore -d flag: always delete files as if -d was passed.
  • Remove --use-polling-watcher flag.
  • Remove build_runner serve mode $graph and $perf handlers.
  • Documentation revamp.
  • Bug fix: delete transitive generated outputs as well as direct generated
    outputs. So, a generated file now gets deleted if its input was a generated
    file that is no longer output.
  • Bug fix: fix crash creating a merged output dir with a file called lib.

v2.6.1

Compare Source

  • Use build 3.0.1.

v2.6.0

Compare Source

  • Remove unused deps: analyzer, build_resolvers, collection, http,
    js, meta, package_config, pool, web, yaml.
  • Remove unused dev_deps: http, package_config, web.
  • Testing: read build configs using AssetReader so they're easier to test.
  • Use build 3.0.0.
  • Use build_resolvers 3.0.0.

v2.5.4

Compare Source

  • Bug fix: fix incremental build when previous build had package: import of
    a missing dep or a missing file.

v2.5.3

Compare Source

  • Bug fix: fix corner case with checked in generated output that could cause
    a crash.
  • Bug fix: during initial build cleanup, really delete files that correspond
    to hidden generated files.

v2.5.2

Compare Source

  • Simplify warnings for outdated analyzer.

v2.5.1

Compare Source

  • Don't log stack traces for subclasses of Exception.
  • Bug fix: don't run builders with multiple outputs once per output.

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.

Versions:

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

Internal changes:

  • Start using `package:build/src/internal.dart'.
  • Refactor MultiPackageAssetReader to internal AssetFinder.
  • FinalizedReader no longer implements AssetReader.
  • Refactor CachingAssetReader to FilesystemCache.
  • Refactor FileBasedAssetReader and FileBasedAssetWriter to ReaderWriter.
  • Remove OnDeleteWriter, add functionality to ReaderWriter.
  • Add NodeType to AssetNode, remove subtypes. Make mutations explicit.
  • Use built_value for AssetNode and related types.
  • Add details of what changed and what is built to --verbose logging.
  • Compute outputs as needed instead of storing them in the asset graph.
  • Refactor invalidation to track current build progress in Build instead of
    in the asset graph.
  • Remove completeBuild from RunnerAssetWriter as it's no longer needed.

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.

@renovate
Copy link
Author

renovate bot commented Aug 6, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pubspec.lock
Command failed: flutter pub upgrade build_runner
Because freezed 2.5.7 depends on build ^2.3.1 and build_runner >=2.9.0 depends on build ^4.0.0, freezed 2.5.7 is incompatible with build_runner >=2.9.0.
So, because fire_scribe depends on both build_runner 2.10.5 and freezed 2.5.7, version solving failed.
Failed to update packages.

@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 4c337c6 to de1a1ad Compare August 8, 2025 07:00
@renovate renovate bot changed the title Update dependency build_runner to v2.6.0 Update dependency build_runner to v2.6.1 Aug 8, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from de1a1ad to 1714ab2 Compare August 16, 2025 03:25
@renovate renovate bot changed the title Update dependency build_runner to v2.6.1 Update dependency build_runner to v2.7.0 Aug 16, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 1714ab2 to 84b8176 Compare September 3, 2025 12:00
@renovate renovate bot changed the title Update dependency build_runner to v2.7.0 Update dependency build_runner to v2.7.2 Sep 3, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 84b8176 to 95b1b32 Compare September 6, 2025 10:03
@renovate renovate bot changed the title Update dependency build_runner to v2.7.2 Update dependency build_runner to v2.8.0 Sep 6, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 95b1b32 to 9a87133 Compare October 2, 2025 02:53
@renovate renovate bot changed the title Update dependency build_runner to v2.8.0 Update dependency build_runner to v2.9.0 Oct 2, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 9a87133 to 8389ccf Compare October 21, 2025 07:02
@renovate renovate bot changed the title Update dependency build_runner to v2.9.0 Update dependency build_runner to v2.10.0 Oct 21, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 8389ccf to 6be3c0e Compare October 25, 2025 11:52
@renovate renovate bot changed the title Update dependency build_runner to v2.10.0 Update dependency build_runner to v2.10.1 Oct 25, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 6be3c0e to 52fccb0 Compare November 16, 2025 12:08
@renovate renovate bot changed the title Update dependency build_runner to v2.10.1 Update dependency build_runner to v2.10.3 Nov 16, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 52fccb0 to c4aa628 Compare November 19, 2025 19:58
@renovate renovate bot changed the title Update dependency build_runner to v2.10.3 Update dependency build_runner to v2.10.4 Nov 19, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from c4aa628 to fa8de37 Compare January 13, 2026 23:02
@renovate renovate bot changed the title Update dependency build_runner to v2.10.4 Update dependency build_runner to v2.10.5 Jan 13, 2026
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