build_modules 0.3.1+1
build_modules: ^0.3.1+1 copied to clipboard
Builders for Dart modules
0.3.1+1 #
- Support
package:json_annotationv1.
0.3.1 #
- Change the default module strategy for the root package to
coarse.
0.3.0 #
Improvements #
- Updated dart2js support so that it can do multiple builds concurrently and will restart workers periodically to mitigate the effects of dart-lang/sdk#33708.
- Increased the upper bound for the sdk to
<3.0.0.
Breaking Changes #
- Removed the
kernelSummaryExtension, and renamed theKernelSummaryBuildertoKernelBuilder. The new builder can be used to create summaries or full kernel files, and requires users to give it a custom sdk. - Changed
metaModuleCleanBuilderto read.module.libraryfiles which are produced by themoduleLibrayBuilder. Clients using the automatically generated build script will get this automatically. Clients which have manually written build scripts will need to add it.
0.2.3 #
- Update to the latest
package:scratch_spaceand don't manually clear it out between builds. This provides significant speed improvements for large projects.
0.2.2+6 #
- Support the latest
package:build_config.
0.2.2+5 #
- Updated the missing modules message to highlight that the error is likely due to a missing dependency.
0.2.2+4 #
- Support
package:analyzer0.32.0.
0.2.2+3 #
- Fix a race condition where we could fail to find the modules for some dependencies.
0.2.2+1 #
- Fix an issue with new files causing subsequent build failures #1358.
- Expose
MetaModuleCleanBuilderandmetaModuleCleanExtensionpublicly for usage in tests and manual build scripts.
0.2.2 #
-
Clean up
.moduleand summary files from the output and server. -
Add new
ModuleBuilderstrategies. By default thecoarsestrategy 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, thefinestrategy will be used which creates a module for each strongly connected component. You can override this behavior by providingcoarseto thestrategyoption.Example configuration:
targets: $default: builders: build_modules|modules: options: strategy: coarse
0.2.1 #
- Give a guaranteed reverse dependency order for
Module.computeTransitiveDependencies
0.2.0+2 #
- Fix use of
whereTypeinMissingModulesException, https://github.com/dart-lang/build/issues/1123.
0.2.0+1 #
- Fix null pointer error in
MissingModulesException, https://github.com/dart-lang/build/issues/1092.
0.2.0 #
computeTransitiveDependenciesnow throws aMissingModulesExceptioninstead of logging a warning if it discovers a missing module.
0.1.0+2 #
- 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 test environments.
0.1.0+1 #
- Fix a bug with imports to libraries that have names starting with
dart.
0.1.0 #
- Split from
build_web_compilers.