NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #271 most downloaded on pub.dev
Core tools to organize the structure of a build and run Builders.
Last release 1 years ago
02 Sep 2025
Release timing varies
gaps range from 8 days to 6 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
98 releases · first in 2018
- Use build 4.0.0.
build 4.0.0.Move runBuilder to here from package:build. Please note that all of build_runner_core is intended to be internal to build_runner: the supported ways t
runBuilder to here from package:build. Please note that all of
build_runner_core is intended to be internal to build_runner: the
supported ways to run builders are build_runner on the command line and
build_test in tests. If you need ongoing support for a different way to run
builders please get in touch at
https://github.com/dart-lang/build/discussions.runPostProcessBuilder to here from package:build.build 3.1.0.build_runner 2.7.1.overrideGeneratedOutputDirectory, pubBinary.One column per quarter.
Add support for build.yaml triggers. See build_runner 2.7.0 for usage.
triggers. See build_runner 2.7.0 for usage.-d flag: always delete files as if -d was passed.lib.- Use build 3.0.1. - Allow analyzer 8.0.0.
build 3.0.1.analyzer 8.0.0.Removed unused dev_deps: test_process.
test_process.AssetReader so they're easier to test.build 3.0.0.build_resolvers 3.0.0.Removed unused dev_deps: test_process.
test_process.AssetReader so they're easier to test.Use build_resolvers 3.0.0-dev.1.
build 3.0.0-dev.1.build_resolvers 3.0.0-dev.1.Bug fix: fix incremental build when previous build had package: import of a missing dep or a missing file.
package: import of
a missing dep or a missing file.Bug fix: fix corner case with checked in generated output that could cause a crash.
More detailed tracking of reads for the benefit of build_test.
build_test.Don't log stack traces for subclasses of Exception.
Exception.Breaking: add deleteDirectory to RunnerAssetWriter, make delete return Future , remove deprecated OnDelete.
build_runner performance
then please consider sharing details at
https://github.com/dart-lang/build/discussions.Breaking changes:
OverridableEnvironment and IOEnvironment into
BuildEnvironmentdeleteDirectory to RunnerAssetWriter, make delete
return Future<void>, remove deprecated OnDelete.Versions:
build_test 3.0.0.Internal changes:
PathProvidingAssetReader to AssetPathProvider.MultiPackageAssetReader to internal AssetFinder.FinalizedReader no longer implements AssetReader.Filesystem that backs AssetReader and AssetWriter
implementations.CachingAssetReader to FilesystemCache.BuildCacheReader to GeneratedAssetHider.FileBasedAssetReader and FileBasedAssetWriter to ReaderWriter.BuildStepImpl to build_runner_core, use SingleStepReader directly.BuildCacheWriter, functionality is handled by AssetPathProvider.SingleStepReader to SingleStepReaderWriter, incorporating
AssetWriterSpy functionality.NodeType to AssetNode, remove subtypes. Make mutations explicit.built_value for AssetNode and related types, and for serialization.--verbose logging.reportUnusedAssetsForInput to BuildOptions, to listen for when
a builder notifies that an asset is unused.LibraryCycleGraphLoader to load transitive deps for analysis.postProcessAnchor nodes.Build instead of
in the asset graph.__Breaking__: Add completeBuild to RunnerAssetWriter, a method expected to be called by the build system at the end of a completed build.
completeBuild to RunnerAssetWriter, a method expected
to be called by the build system at the end of a completed build.wrapInBatch to obtain a reader/writer pair that will batch writes
before flushing them at the end of a build.Migrate deprecates uses of whereNotNull() to nonNulls.
whereNotNull() to nonNulls.Support the upcoming pub workspaces feature.
Add integration_test as a default top level directory for sources.
integration_test as a default top level directory for sources.Add better error messages for incomplete package configs when creating a package graph.
Fix build script invalidation check for custom build scripts from other packages.
Fix compatibility with package:logging version 1.2.0.
package:logging version 1.2.0.Raise the minimum SDK constraint to 2.18.
BuildStep.packageConfigHandle generation of hidden assets in a way consistent with the definition of public assets used in other parts of the build system.
Backport the fix for package:logging version 1.2.0.
Add supported platforms to pubspec.
- Expand pubspec description.
Fix a bug when manually deleting outputs of multiple output builders.
- Allow the latest analyzer.
Fix a bug compilation bug on the 2.14 sdk.
Drop package:pedantic dependency and replace it with package:lints.
Support capture groups, a feature introduced in build: 2.1.0.
build: 2.1.0.- Allow analyzer version 2.x.x.
Add an early error if any output extensions overlap with any input extensions to avoid infinite loops.
- Allow build_config 0.4.7
0.4.7- Update to graphs 1.x. - Update to build 2.x. - Update to build_resolvers 2.x.
1.x.2.x.2.x.Don't count packages in dependency_overrides as immediate dependencies when building package graphs. This allows you to override transitive builder de
- Allow the latest build_config.
build_config.- Update glob to 2.x.
2.x.Allow the null safe pre-release of package_config and watcher.
package_config and watcher.Allow the null safe pre-releases of all migrated deps.
- Allow build version 1.6.x.
1.6.x.Allow build_config version '>=0.4.1 <0.4.6'.
'>=0.4.1 <0.4.6'.'>=2.1.11 <4.0.0'.Allow package:json_annotation v4.x.
package:json_annotation v4.x.Support the latest package:build_config.
package:build_config.Fix a bug where canRead would throw if the package was unknown, instead of returning false.
canRead would throw if the package was unknown, instead
of returning false.Require the latest build version (1.5.1).
additional_public_assets option in build configurations.Fix https://github.com/dart-lang/build/issues/1804.
Require the latest build version (1.5.x).
Add back the overrideGeneratedOutputDirectory method.
overrideGeneratedOutputDirectory method.Remove some constants and utilities which are implementation details.
Dart language experiments are now tracked on the asset graph and will invalidate the build if they change.
withEnabledExperiments
function from package:build/experiments.dart.Add a warning if a package is missing some required placholder files, including $package$ and lib/$lib$.
$package$ and lib/$lib$.package_config.json.PackageGraph.forPath and PackageGraph.forThisPackage are now static methods which return a Future instead of constructors.
PackageGraph.forPath and PackageGraph.forThisPackage are now static
methods which return a Future<PackageGraph> instead of constructors.PackageNode now requires a LanguageVersion.package_resolver.Don't throw a BuildScriptInvalidated exception on package_config.json updates unless running from snapshot.
BuildScriptInvalidated exception on package_config.json
updates unless running from snapshot.Don't assume the existence of a .dart_tool/package_config.json file when creating output directories.
Don't fail if there is no .dart_tool/package_config.json file.
Add the package_config.json file as an internal source, and invalidate builds when it changes.
package_config.json file as an internal source, and invalidate
builds when it changes.AssetId paths as URIs.Support the auto_apply_builders target configuration added in build_config version 0.4.2.
auto_apply_builders target configuration added in
build_config version 0.4.2.Add the $package$ synthetic placeholder file and update the docs to prefer using only that or lib/$lib$.
$package$ synthetic placeholder file and update the docs to prefer
using only that or lib/$lib$.assets directory and $package$ placeholders to the default
sources allow list.Bug fix: Changing the root package name will no longer cause subsequent builds to fail (Issue #2566).
Allow reading assets created previously by the same BuildStep.
BuildStep.Add support for trimming builds based on BuildStep.reportUnusedAssets calls. See the build package for more details.
BuildStep.reportUnusedAssets
calls. See the build package for more details.node/** in the default set of sources (when there is no target
defined) for the root package.Your coding agent can read these notes before it upgrades. Set up the MCP server →