Skip to content

Update dependency build_runner to v2.13.1#118

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/build_runner-2.x
Open

Update dependency build_runner to v2.13.1#118
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/build_runner-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Sep 30, 2024

This PR contains the following updates:

Package Type Update Change
build_runner (source) dev_dependencies minor 2.4.92.13.1

Release Notes

dart-lang/build (build_runner)

v2.13.1

Compare Source

  • Allow analyzer 11.0.0 and 12.0.0.

v2.13.0

Compare Source

  • Performance: speedup of between 1.4x for small initial builds to 4x for large
    incremental builds. See #​4405 for full
    benchmark results. Optimizations included: faster management of files for
    analysis, re-use syntax errors computation, avoid a throw/catch on "not yet
    generated" source, copy asset graph without a serialization round trip,
    re-use trigger configuration digest.
  • Add --dart-aot-perf flag for profiling on Linux. Use it with --force-aot.
    It runs the builders under the perf profiling tool which writes to
    perf.data.
  • Add --verbose-durations flag that logs durations with greater precision.
  • Improve debugging instructions in README.md.
  • Bug fix: fix line wrapping in build_runner args usage output.

v2.12.2

Compare Source

  • Bug fix: don't crash if applies_builders in build.yaml mentions an
    unknown builder.

v2.12.1

Compare Source

  • Require build_config 1.3.0.

v2.11.1

Compare Source

  • Improve logging on build script build failures, don't repeatedly log an
    identical failure.
  • Bug fix: with --workspace flag, correctly build for sources in the workspace
    root instead of failing with "tried to delete from package not in the build".

v2.11.0

Compare Source

  • Add --workspace flag. Use it with dart run build_runner build or watch
    to build or watch or all packages in the current workspace. It is currently
    experimental and subject to change based on feedback, please add feedback at
    https://redirect.github.com/dart-lang/build/discussions/4349.
  • Bug fix: fix crash in corner case with post process builder, optional builder
    and output used for --output, watch or serve.
  • Bug fix: fix crash in corner case with watch or serve when builders depend
    on generated files in the current build.

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.

v2.4.15

Compare Source

  • Update to package:web and dart:js_interop.
  • Support the latest package:shelf_web_socket.
  • Add hidden --use-experimental-resolver flag for issue #​3811 performance
    work. This flag will be removed.

v2.4.14

Compare Source

  • Write generated assets at the end of a build to avoid invalidating other
    tools with a file watcher multiple times.
  • Bump the min sdk to 3.6.0.
  • Allow analyzer version 7.x.
  • Hard code the generated build script to language version 3.6.
  • Allow dart_style version 4.0.0, require at least 2.3.7.

v2.4.13

Compare Source

  • Bump the min sdk to 3.5.0.
  • Bump the mime dependency to allow version 2.x.

v2.4.12

Compare Source

  • Bump the min sdk to 3.5.0-259.0.dev.
  • Fix watch mode for workspace repos.

v2.4.11

Compare Source

  • Explicitly pass the current isolates package config instead of assuming the
    location, to support the upcoming pub workspaces feature.

v2.4.10

Compare Source

  • Support version 1.x and 2.x of shelf_web_socket and 2.x and 3.x
  • of web_socket_channel.
  • Bump the min sdk to 3.4.0.

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 renovate bot added the dependencies Pull requests that update a dependency file label Sep 30, 2024
@renovate renovate bot requested a review from hoc081098 September 30, 2024 21:37
@renovate renovate bot changed the title Update dependency build_runner to v2.4.13 Update dependency build_runner to v2.4.14 Dec 17, 2024
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 0196ff5 to df77133 Compare December 17, 2024 02:30
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from df77133 to fc86160 Compare February 11, 2025 20:58
@renovate renovate bot changed the title Update dependency build_runner to v2.4.14 Update dependency build_runner to v2.4.15 Feb 11, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from fc86160 to f31b293 Compare June 16, 2025 16:00
@renovate renovate bot changed the title Update dependency build_runner to v2.4.15 Update dependency build_runner to v2.5.0 Jun 16, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from f31b293 to 0ccacfa Compare June 17, 2025 15:05
@renovate renovate bot changed the title Update dependency build_runner to v2.5.0 Update dependency build_runner to v2.5.1 Jun 17, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 0ccacfa to 4c486fd Compare June 18, 2025 18:33
@renovate renovate bot changed the title Update dependency build_runner to v2.5.1 Update dependency build_runner to v2.5.2 Jun 18, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 4c486fd to 6c21fbb Compare June 20, 2025 09:28
@renovate renovate bot changed the title Update dependency build_runner to v2.5.2 Update dependency build_runner to v2.5.3 Jun 20, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 6c21fbb to 1c48269 Compare June 23, 2025 18:24
@renovate renovate bot changed the title Update dependency build_runner to v2.5.3 Update dependency build_runner to v2.5.4 Jun 23, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 1c48269 to b64441f Compare July 17, 2025 15:27
@renovate renovate bot changed the title Update dependency build_runner to v2.5.4 Update dependency build_runner to v2.6.0 Jul 17, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from b64441f to 2c2ab64 Compare August 7, 2025 15:04
@renovate renovate bot changed the title Update dependency build_runner to v2.6.0 Update dependency build_runner to v2.6.1 Aug 7, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 2c2ab64 to f41daf8 Compare August 15, 2025 14:46
@renovate renovate bot changed the title Update dependency build_runner to v2.6.1 Update dependency build_runner to v2.7.0 Aug 15, 2025
@renovate renovate bot changed the title Update dependency build_runner to v2.7.0 Update dependency build_runner to v2.7.2 Sep 2, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from f41daf8 to 59d6f8d Compare September 2, 2025 13:40
@renovate renovate bot changed the title Update dependency build_runner to v2.7.2 Update dependency build_runner to v2.8.0 Sep 5, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 59d6f8d to 7deaaa5 Compare September 5, 2025 14:11
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 7deaaa5 to 29446d1 Compare October 1, 2025 21:36
@renovate renovate bot changed the title Update dependency build_runner to v2.8.0 Update dependency build_runner to v2.9.0 Oct 1, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 29446d1 to f843c96 Compare October 20, 2025 15:40
@renovate renovate bot changed the title Update dependency build_runner to v2.9.0 Update dependency build_runner to v2.10.0 Oct 20, 2025
@renovate renovate bot changed the title Update dependency build_runner to v2.10.0 Update dependency build_runner to v2.10.1 Oct 24, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from f843c96 to b81c1f1 Compare October 24, 2025 17:14
@renovate renovate bot changed the title Update dependency build_runner to v2.10.1 Update dependency build_runner to v2.10.2 Nov 11, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from b81c1f1 to 2b465d7 Compare November 11, 2025 08:46
@renovate renovate bot changed the title Update dependency build_runner to v2.10.2 Update dependency build_runner to v2.10.3 Nov 14, 2025
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 2b465d7 to eec2563 Compare November 14, 2025 14:00
@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 eec2563 to 0d2e804 Compare November 19, 2025 13:07
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 0d2e804 to 423ade3 Compare January 13, 2026 10: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
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 423ade3 to ec8afe7 Compare February 5, 2026 08:37
@renovate renovate bot changed the title Update dependency build_runner to v2.10.5 Update dependency build_runner to v2.11.0 Feb 5, 2026
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from ec8afe7 to e8d35ae Compare February 11, 2026 13:57
@renovate renovate bot changed the title Update dependency build_runner to v2.11.0 Update dependency build_runner to v2.11.1 Feb 11, 2026
@renovate renovate bot changed the title Update dependency build_runner to v2.11.1 Update dependency build_runner to v2.12.1 Mar 4, 2026
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch 2 times, most recently from 6a11751 to 9995b83 Compare March 5, 2026 10:39
@renovate renovate bot changed the title Update dependency build_runner to v2.12.1 Update dependency build_runner to v2.12.2 Mar 5, 2026
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 9995b83 to 72afc65 Compare March 17, 2026 16:39
@renovate renovate bot changed the title Update dependency build_runner to v2.12.2 Update dependency build_runner to v2.13.0 Mar 17, 2026
| datasource | package      | from  | to     |
| ---------- | ------------ | ----- | ------ |
| dart       | build_runner | 2.4.9 | 2.13.1 |
@renovate renovate bot force-pushed the renovate/build_runner-2.x branch from 72afc65 to 8f29211 Compare March 20, 2026 21:37
@renovate renovate bot changed the title Update dependency build_runner to v2.13.0 Update dependency build_runner to v2.13.1 Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant