NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #1448 most downloaded on pub.dev
Builders to analyze and split Dart code into individually compilable modules based on imports.
Last release 5 months ago
30 Apr 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
110 releases · first in 2018
Republish of 2.6.0 with the proper min sdk contraint.
Republish of 2.6.0 with the proper min sdk contraint.
Ignore the trackUnusedInputs option that was added in 2.6.0.
Ignore the trackUnusedInputs option that was added in 2.6.0.
This option will be respected again in the next release which will have the proper minimum sdk constraint.
Add support for dependency pruning to the KernelBuilder. This should greatly improve the invalidation semantics for builds, meaning that less code wil
One column per quarter.
Add support for dependency pruning to the KernelBuilder. This should greatly
improve the invalidation semantics for builds, meaning that less code will be
recompiled for each edit you make.
This is not enabled by default but can be enabled by passing
trackUnusedInputs: true to the KernelBuilder constructor.
Add an option to skip the unsupported module check for modules in specified packages.
- Allow analyzer version 0.38.0.
Support the latest release of package:json_annotation.
package:json_annotation.Require non-empty output from kernel build steps.
Allow overriding the target name passed to the kernel worker.
- Allow analyzer version 0.37.0.
Add a hasMain boolean to the ModuleLibrary class.
hasMain boolean to the ModuleLibrary class.
isEntrypoint for determining whether or not
to copy module files for application discovery.computeTransitiveDeps to do error checking for the root module as well
as transitive modules.Make the librariesPath in the KernelBuilder configurable.
librariesPath in the KernelBuilder configurable.Skip compiling modules with kernel when the primary source isn't the primary input (only shows up in non-lazy builds - essentially just tests).
Output additional .module files for all entrypoints to ease discovery of modules for compilers.
.module files for all entrypoints to ease discovery of
modules for compilers.- Allow build_config 0.4.x.
build_config 0.4.x.Make using the incremental compiler in the KernelBuilder configurable.
KernelBuilder configurable.Remove the merge method from Module and replace with a static Module.merge. Module instances are now immutable.
merge method from Module and replace with a static
Module.merge. Module instances are now immutable.jsId, and jsSourceMapId from Module.DartPlatform no longer has hard coded platforms, and its constructor is now
public. Anybody is now free to create their own platform.builders.dart file.
UnlinkedSummaryBuilder and
LinkedSummaryBuilder.
KernelBuilder instead.--reuse-compiler-result and --use-incremental-compiler.package:analyzer to <0.37.0.- Allow build_config 0.4.x.
Fix a performance issue in the kernel_builder, especially for larger projects.
Allow configuring the platform SDK directory in the KernelBuilder builder.
KernelBuilder builder.Don't follow dart.library.isolate conditional imports for the DDC platform.
dart.library.isolate conditional imports for the DDC
platform.Fix broken release by updating dart2js worker and restricting sdk version.
dart2js worker and restricting sdk version.Update dart2js snapshot arguments for upcoming SDK.
dart2js snapshot arguments for upcoming SDK.Explicitly skip dart-ext uris during module creation.
detachedWithStdio if no terminal is connected.Improved the time tracking for kernel and analyzer actions by not reporting time spent waiting for a worker to be available.
Increased the upper bound for package:analyzer to <0.36.0.
package:analyzer to <0.36.0.Update to package:graphs version 0.2.0.
package:graphs version 0.2.0.dartdevc --kernel instead of dartdevk.Increased the upper bound for package:analyzer to <0.35.0.
package:analyzer to <0.35.0.Support the latest package:json_annotation.
package:json_annotation.Increased the upper bound for package:analyzer to '<0.34.0'.
package:analyzer to '<0.34.0'.The Module constructor has an additional required parameter isSupported, which indicates if a module is supported on that module's platform.
Module constructor has an additional required parameter isSupported,
which indicates if a module is supported on that module's platform.Modules are now platform specific, and config specific imports using dart.library.* constants are supported.
dart.library.* constants are supported.build_modules|modules builder, you now need to
configure the builder for each specific platform:targets:
$default:
build_modules|dartdevc:
options:
strategy: fine
The supported platforms are currently dart2js, dartdevc, flutter, and
vm.
platform argument.Module strategies are now respected for all packages instead of just the root package.
Support package:json_annotation v1.
package:json_annotation v1.Change the default module strategy for the root package to coarse.
coarse.Updated dart2js support so that it can do multiple builds concurrently and will restart workers periodically to mitigate the effects of dart-lang/sdk#
<3.0.0.kernelSummaryExtension, and renamed the KernelSummaryBuilder
to KernelBuilder. The new builder can be used to create summaries or full
kernel files, and requires users to give it a custom sdk.metaModuleCleanBuilder to read .module.library files which are
produced by the moduleLibrayBuilder. Clients using the automatically
generated build script will get this automatically. Clients which have
manually written build scripts will need to add it.Update to the latest package:scratch_space and don't manually clear it out between builds. This provides significant speed improvements for large proj
package:scratch_space and don't manually clear it out
between builds. This provides significant speed improvements for large
projects.Fix an issue with new files causing subsequent build failures #1358.
MetaModuleCleanBuilder and metaModuleCleanExtension publicly for
usage in tests and manual build scripts.Fix an issue where modules were unnecessarily being built with DDC. #1375.
Fix a race condition where we could fail to find the modules for some dependencies.
Support package:analyzer 0.32.0.
package:analyzer 0.32.0.Updated the missing modules message to highlight that the error is likely due to a missing dependency.
Support the latest package:build_config.
package:build_config.Clean up .module and summary files from the output and server.
Clean up .module and summary files from the output and server.
Add new ModuleBuilder strategies. By default the coarse strategy is used
for all non-root packages and will create a minimum number of modules. This
strategy can not be overridden. However, for the root package, the fine
strategy will be used which creates a module for each strongly
connected component. You can override this behavior by providing coarse
to the strategy option.
Example configuration:
targets:
$default:
builders:
build_modules|modules:
options:
strategy: coarse
Give a guaranteed reverse dependency order for Module.computeTransitiveDependencies
Module.computeTransitiveDependenciesFix null pointer error in MissingModulesException, https://github.com/dart-lang/build/issues/1092.
MissingModulesException,
https://github.com/dart-lang/build/issues/1092.Fix use of whereType in MissingModulesException, https://github.com/dart-lang/build/issues/1123.
whereType in MissingModulesException,
https://github.com/dart-lang/build/issues/1123.computeTransitiveDependencies now throws a MissingModulesException instead of logging a warning if it discovers a missing module.
computeTransitiveDependencies now throws a MissingModulesException instead
of logging a warning if it discovers a missing module.Fix a bug with imports to libraries that have names starting with dart.
dart.Fix a bug with the dart2js workers where the worker could hang if you try to re-use it after calling terminateWorkers. This only really surfaces in te
terminateWorkers. This only really surfaces in test
environments.Split from build_web_compilers.
build_web_compilers.Your coding agent can read these notes before it upgrades. Set up the MCP server →