build_modules
Builders to analyze and split Dart code into individually compilable modules based on imports.
5.1.12
65K downloads/mo
#1317 most downloaded on pub.dev
dart-lang/build
What this package is like to depend on
Last release 3 months ago
30 Apr 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 108 of 109 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
110 releases · first in 2018
15 releases in the last 12 months
see the full history below
Release timeline
110 releases · Feb 2018 to Apr 2026
2019
2020
2021
2022
2023
2024
2025
2026
Releases
latest 60 of 110-
5.1.1230 Apr 2026 -
5.1.1101 Apr 2026Release notes
Open source →- Allow Dart SDK 3.12.x and 3.13 prerelease.
- Move source to https://github.com/dart-lang/build/blob/master/builder_pkgs/build_modules.
-
5.1.1020 Mar 2026 -
5.1.910 Mar 2026 -
5.1.805 Mar 2026Release notes
Open source →- Generate synthetic
package_config.jsonin the root of its synthetic test directory. Fixes sources inweb/and related directories not obeying version constraints.
- Generate synthetic
-
5.1.726 Jan 2026 -
5.1.613 Jan 2026 -
5.1.510 Dec 2025Release notes
Open source →- Add support for DDC's Library Bundle module system, which is compatible with web hot reload. This is not yet enabled by default.
-
5.1.424 Nov 2025Release notes
Open source →- Fix module_builder reading DDC modules for non-primary dart libraries.
- Allow Dart SDK 3.11.x and 3.12 prerelease.
-
5.1.319 Nov 2025 -
5.1.218 Nov 2025 -
5.1.105 Nov 2025 -
5.1.004 Nov 2025Release notes
Open source →- Add drivers and state resources required for DDC + Frontend Server compilation.
- Add an option to disable strongly connected components for determining module boundaries.
-
5.0.1817 Sep 2025Release notes
Open source →- Remove unused dev dependency:
build_runner_core. - Allow Dart SDK 3.10.x and 3.11 prerelease.
- Remove unused dev dependency:
-
5.0.1702 Sep 2025 -
5.0.1607 Aug 2025 -
5.0.1525 Jun 2025 -
5.0.1423 Jun 2025 -
5.0.1308 Apr 2025 -
5.0.1207 Mar 2025Release notes
Open source →- Bump the min SDK to 3.7.0.
- Use
build_test3.0.0. - Use AOT snapshot for kernel_worker.
-
5.0.1117 Jan 2025 -
5.0.1016 Dec 2024 -
5.0.10-beta.008 Oct 2024 pre-release -
5.0.901 Jul 2024Release notes
Open source →- Bump the min sdk to 3.5.0-259.0.dev.
- Allow version 3.6.x of the Dart SDK.
-
5.0.826 Mar 2024 -
5.0.711 Jan 2024 -
5.0.609 Jan 2024 -
5.0.506 Oct 2023 -
5.0.427 Jul 2023 -
5.0.329 Jun 2023 -
5.0.212 Apr 2023 -
5.0.127 Mar 2023Release notes
Open source →- Delete the long deprecated
dart2JsWorkerResourceapi and associated code.- This should have landed in 5.0.0 but in practice doesn't work in Dart 3 any longer anyways, and has been officially deprecated for a long time.
- Delete the long deprecated
-
5.0.018 Jan 2023Release notes
Open source →- Require Dart 3.0.
- Drop support for unsound null safety.
- Drop support for null asserts (irrelevant with sound null safety).
- Require Dart 3.0.
-
4.0.718 Oct 2022Release notes
Open source →- Migrate off deprecated analyzer apis.
- Update min sdk constraint to 2.18.0.
- Expand pubspec description.
-
4.0.613 Sep 2022 -
4.0.6+125 Jul 2024Nothing published for this version
-
4.0.514 Apr 2022 -
4.0.417 Dec 2021 -
4.0.301 Oct 2021 -
4.0.217 Aug 2021Release notes
Open source →- Log a better and more consistent message when we encounter dart: uris in conditional imports.
-
4.0.109 Jul 2021 -
4.0.020 Apr 2021 -
3.0.612 Mar 2021 -
3.0.517 Feb 2021 -
3.0.405 Feb 2021 -
3.0.307 Jan 2021 -
3.0.208 Dec 2020 -
3.0.102 Dec 2020 -
3.0.024 Sep 2020 -
2.11.324 Sep 2020Release notes
Open source →- Reverts back to the 2.10.1 release. The updates from 2.11 will be republished as a breaking change, in version 3.0.0.
-
2.11.222 Sep 2020 -
2.11.122 Sep 2020 -
2.11.022 Sep 2020Release notes
Open source →- Add support for building null safe kernel modules to
KernelBuilder. - Allow the latest analyzer version
0.40.x. - Stop using deprecated analyzer apis.
- Stop passing the deprecated
--kernelflag to the dev compiler. - Update the package_config used in the shared compiler tmp dir to cover the non-lib dirs for the root package.
- Expose
maxWorkersPerTaskvariable.
- Add support for building null safe kernel modules to
-
2.10.101 Jun 2020Release notes
Open source →- Fix a bug where file names with spaces were not escaped before being passed to dart2js.
-
2.10.011 May 2020Release notes
Open source →- Deprecated the
experimentsargument toKernelBuilderand default it to use the value from the current zone.
- Deprecated the
-
2.9.005 Mar 2020Release notes
Open source →- Copy the
package_config.jsonfile to the scratch space directory, which allows us to respect language versions properly during compilation.- Also removes the custom
.packagesfiles that were previously created for each action.
- Also removes the custom
- Copy the
-
2.8.125 Feb 2020Release notes
Open source →- Avoid waiting for
exitCodefrom detached worker processes. In previous SDKs this wasnullbut it was changed to throw.
- Avoid waiting for
-
2.8.027 Jan 2020Release notes
Open source →- Add the ability to pass a list of experiments to enable to the KernelBuilder.
-
2.7.014 Nov 2019Release notes
Open source →- Add support for an environment variable
BUILD_DART2JS_VM_ARGSwhich can be used to supply Dart vm arguments for the dart2js processes.
- Add support for an environment variable
-
2.6.329 Oct 2019Release notes
Open source →- Keep cached deserialized module instances in more cases. This may improve performance of incremental builds in watch mode.
- Deprecated: The package specific unsupported module allow list option
provided by
computeTransitiveDependencies. The only known uses are being removed. - Allow analyzer version
0.39.x.