Update dependency build_runner to v2.10.1 #124

Merged
renovate merged 1 commits from renovate/build_runner-2.x into main 2025-10-27 00:38:13 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
build_runner (source) dev_dependencies minor ^2.6.1 -> 2.10.1

⚠️ Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

dart-lang/build (build_runner)

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

Configuration

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

🚦 Automerge: Enabled.

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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [build_runner](https://github.com/dart-lang/build) ([source](https://github.com/dart-lang/build/tree/HEAD/build_runner)) | dev_dependencies | minor | `^2.6.1` -> `2.10.1` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the warning logs for more information. --- ### Release Notes <details> <summary>dart-lang/build (build_runner)</summary> ### [`v2.10.1`](https://github.com/dart-lang/build/blob/HEAD/build_runner/CHANGELOG.md#2101) [Compare Source](https://github.com/dart-lang/build/compare/build_runner-v2.10.0...build_runner-v2.10.1) - 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`](https://github.com/dart-lang/build/blob/HEAD/build_runner/CHANGELOG.md#2100) [Compare Source](https://github.com/dart-lang/build/compare/build_runner-v2.9.0...build_runner-v2.10.0) - 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`](https://github.com/dart-lang/build/blob/HEAD/build_runner/CHANGELOG.md#290) [Compare Source](https://github.com/dart-lang/build/compare/build_runner-v2.8.0...build_runner-v2.9.0) - Watch mode: handle builder 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`](https://github.com/dart-lang/build/blob/HEAD/build_runner/CHANGELOG.md#280) [Compare Source](https://github.com/dart-lang/build/compare/build_runner-v2.7.2...build_runner-v2.8.0) - 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`](https://github.com/dart-lang/build/blob/HEAD/build_runner/CHANGELOG.md#272) [Compare Source](https://github.com/dart-lang/build/compare/build_runner-v2.7.1...build_runner-v2.7.2) - Use `build` 4.0.0. ### [`v2.7.1`](https://github.com/dart-lang/build/blob/HEAD/build_runner/CHANGELOG.md#271) [Compare Source](https://github.com/dart-lang/build/compare/build_runner-v2.7.0...build_runner-v2.7.1) - 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`](https://github.com/dart-lang/build/blob/HEAD/build_runner/CHANGELOG.md#270) [Compare Source](https://github.com/dart-lang/build/compare/build_runner-v2.6.1...build_runner-v2.7.0) - 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](https://pub.dev/packages/build_config#triggers) 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`. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTkuNCIsInVwZGF0ZWRJblZlciI6IjQxLjE1OS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate added 1 commit 2025-10-27 00:38:12 +00:00
Update dependency build_runner to v2.10.1
Some checks failed
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
32086ab76b
renovate scheduled this pull request to auto merge when all checks succeed 2025-10-27 00:38:12 +00:00
Author
Collaborator

⚠️ 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: moneymgr_mobile/pubspec.lock
Command failed: flutter pub upgrade build_runner
Because no versions of riverpod_generator match >2.6.5 <3.0.0 and riverpod_generator 2.6.5 depends on build ^2.0.0, riverpod_generator ^2.6.5 requires build ^2.0.0.
And because build_runner >=2.9.0 depends on build ^4.0.0, riverpod_generator ^2.6.5 is incompatible with build_runner >=2.9.0.
So, because moneymgr_mobile depends on both build_runner 2.10.1 and riverpod_generator ^2.6.5, version solving failed.


You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on build_runner: flutter pub add dev:build_runner:^2.5.4
Failed to update packages.

### ⚠️ 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: moneymgr_mobile/pubspec.lock ``` Command failed: flutter pub upgrade build_runner Because no versions of riverpod_generator match >2.6.5 <3.0.0 and riverpod_generator 2.6.5 depends on build ^2.0.0, riverpod_generator ^2.6.5 requires build ^2.0.0. And because build_runner >=2.9.0 depends on build ^4.0.0, riverpod_generator ^2.6.5 is incompatible with build_runner >=2.9.0. So, because moneymgr_mobile depends on both build_runner 2.10.1 and riverpod_generator ^2.6.5, version solving failed. You can try the following suggestion to make the pubspec resolve: * Consider downgrading your constraint on build_runner: flutter pub add dev:build_runner:^2.5.4 Failed to update packages. ```
renovate merged commit c7805991b9 into main 2025-10-27 00:38:13 +00:00
renovate deleted branch renovate/build_runner-2.x 2025-10-27 00:38:14 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pierre/MoneyMgr#124
No description provided.