build_barback
Utilities for translating between builders and transformers.
0.5.0
3.5K downloads/mo
#4383 most downloaded on pub.dev
dart-lang/build
What this package is like to depend on
Last release 8 years ago
no release in 18 months
Release timing varies
gaps range from 9 days to 3 months
Nearly every release is documented
notes for 16 of 17 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
17 releases · first in 2016
0 releases in the last 12 months
see the full history below
Release timeline
17 releases · Nov 2016 to May 2018Releases
latest 17-
0.5.007 Dec 2017Release notes
Open source →- Internally uses
AnalysisOptionswith the following changes:- Does not
preserveFunctionBodies. - Does
preserveComments(the default). - Uses
strongMode.
- Does not
This makes the resolver implementation identical to the experience using the bazel_codegen, but it is technically a breaking change if you relied on the current behavior.
- Internally uses
-
0.5.0+102 Jan 2018Release notes
Open source →- Stop casting
BuildSteptoBuildStepImpland removesrcimport from package:build.
- Stop casting
-
0.5.0+218 Jan 2018 -
0.5.0+303 Feb 2018 -
0.5.0+414 May 2018 -
0.4.014 Aug 2017Release notes
Open source →- Breaking: Resolver interface updated for breaking change in
package:buildv0.10.0
- Breaking: Resolver interface updated for breaking change in
-
0.4.0+121 Sep 2017Release notes
Open source →- Use a single
ResourceManagerfor all calls torunBuilderinBuilderTransformer. This makesResources be shared across all build steps for a given package and Builder.
- Use a single
-
0.4.0+202 Nov 2017Release notes
Open source →TransformerAssetReader#findAssetsnow returns aStream<AssetId>to match the latestbuildpackage, but this isn't considered a breaking change since the api is unsupported and throws in this implementation.
-
0.3.018 Jul 2017Release notes
Open source →- Breaking
BuilderTransformeris now anAggregateTransformer. This should be transparent for most use cases but could have errors if an instance was assigned to a variable of typeTransformer. - Breaking
BuilderTransformerno longer accepts aResolversinstance, instead it will create and manage Resolvers on its own.
- Breaking
-
0.2.204 May 2017Nothing published for this version
-
0.2.025 Apr 2017Release notes
Open source →- Update to build 0.9.0
- Breaking
TransformerBuildermust be constructed with abuildExtensionconfiguration. Transformers wrapped as a builder must have outputs which vary only by input extension.
-
0.1.213 Apr 2017 -
0.1.111 Feb 2017 -
0.1.027 Jan 2017Release notes
Open source →Updated to reflect the new support for reading/writing as bytes in the
buildpackage, and the removal of theAssetclass.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
-
0.0.309 Dec 2016Release notes
Open source →- Prevent asset writing from escaping beyond the
complete()call in BuildStepImpl
- Prevent asset writing from escaping beyond the
-
0.0.202 Dec 2016 -
0.0.128 Nov 2016