Releases: dart-lang/build
Releases · dart-lang/build
build_runner 2.4.1
- Mention --build-filter option in the README.
- Update to build_daemon 4.0.
- Support enabling experiments in build scripts.
build_daemon 4.0.0
- Breaking: Remove methods from ChangeProvider, and extract them into
explicit AutoChangeProvider and ManualChangeProvider types.
build_web_compilers 4.0.2
- Allow the compiler to choose the default for the native null assertions option when one is not explicitly provided.
Build_resolvers 2.2.0
Add support for CompilationUnitElement to AnalysisResolver.astNodeFor()
build_runner-v1.3.5
Prepf for build_runner publish (#2228)
build_barback-v0.3.0
build_barback: prepare to release 0.3.0 (#311)
build_runner 0.3.0
Bug Fixes
- Fixed a race condition bug 175
that could cause invalid output errors.
Breaking Changes
RunnerAssetWriternow requires an additional field,onDeletewhich is a
callback that must be called synchronously withindelete.
build_test 0.4.0
Updates to work with build version 0.7.0.
New Features
- The
testBuildermethod now acceptsList<int>values for both
sourceAssetsandoutputs. - The
checkOutputsmethod is now public.
Breaking Changes
- The
testBuildermethod now requires aRecordingAssetWriterinstead of
just anAssetWriterfor thewriterparameter. - If a
Matcheris provided as a value inoutputs, then it will match against
the same value that was written. For example if your builder uses
writeAsStringthen it will match against that string. If you use
writeAsBytesthen it will match against those bytes. It will not
automatically convert to/from bytes and strings. - Deleted the
makeAssetandmakeAssetsmethods. There is no moreAsset
class so these don't really have any value any more. - The signature of
addAssetshas changed to
void addAssets(Map<AssetId, dynamic> assets, InMemoryAssetWriter writer).
Values of the map may be eitherStringorList<int>. InMemoryAssetReader#assetsandInMemoryAssetWriter#assetshave changed to
a type ofMap<AssetId, DatedValue>from a type of
Map<AssetId, DatedString>.DatedValuehas both astringValueand
bytesValuegetter.InMemoryAssetReaderandInMemoryAssetWriterhave been updated to implement
the newAssetReaderandAssetWriterinterfaces (see thebuildpackage
CHANGELOG for more details).InMemoryAssetReader#cacheAssethas been changed to two separate methods,
void cacheStringAsset(AssetId id, String contents)and
void cacheBytesAsset(AssetId id, List<int> bytes).- The
equalsAssetmatcher has been removed, since there is no moreAsset
class.
build_runner 0.2.0
Add support for the new bytes apis in build.
New Features
FileBasedAssetReaderandFileBasedAssetWriternow support reading/writing
as bytes.
build_barback 0.1.0
Updated to reflect the new support for reading/writing as bytes in the build
package, and the removal of the Asset class.
New Features
BuilderTransformernow supports wrapping transformers that read or write
their inputs as bytes.- The Resolver implementation now has
isLibraryto check whether an Asset is a
Library and throws an exception rather than returns null ongetLibrarywhen
it isn't
Breaking Changes
- Stopped exporting
lib/src/util/barback.dartwhich contains internal only
utilities. Specifically, the following items are no longer public (some are
deleted entirely or had breaking changes as well):toBarbackAssettoBarbackAssetIdtoBarbackTransformtoBuildAssettoBuildAssetIdtoTransformLoggerBuildStepTransform