build_barback 0.5.0+4 copy "build_barback: ^0.5.0+4" to clipboard
build_barback: ^0.5.0+4 copied to clipboard

Dart 1 only

Utilities for translating between builders and transformers.

0.5.0+4 #

  • Support package:analyzer 0.32.0.

0.5.0+3 #

  • Support the latest analyzer package.

0.5.0+2 #

  • Update to package:build version ^0.12.0.

0.5.0+1 #

  • Stop casting BuildStep to BuildStepImpl and remove src import from package:build.

0.5.0 #

  • Internally uses AnalysisOptions with the following changes:
    • Does not preserveFunctionBodies.
    • Does preserveComments (the default).
    • Uses strongMode.

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.

0.4.0+2 #

  • TransformerAssetReader#findAssets now returns a Stream<AssetId> to match the latest build package, but this isn't considered a breaking change since the api is unsupported and throws in this implementation.

0.4.0+1 #

  • Use a single ResourceManager for all calls to runBuilder in BuilderTransformer. This makes Resources be shared across all build steps for a given package and Builder.

0.4.0 #

  • Breaking: Resolver interface updated for breaking change in package:build v0.10.0

0.3.0 #

  • Breaking BuilderTransformer is now an AggregateTransformer. This should be transparent for most use cases but could have errors if an instance was assigned to a variable of type Transformer.
  • Breaking BuilderTransformer no longer accepts a Resolvers instance, instead it will create and manage Resolvers on its own.

0.2.0 #

  • Update to build 0.9.0
  • Breaking TransformerBuilder must be constructed with a buildExtension configuration. Transformers wrapped as a builder must have outputs which vary only by input extension.

0.1.2 #

  • Only use the global log from build
  • Upgrade to build 0.8.0

0.1.1 #

  • Support the global log from build

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 #

  • BuilderTransformer now supports wrapping transformers that read or write their inputs as bytes.
  • The Resolver implementation now has isLibrary to check whether an Asset is a Library and throws an exception rather than returns null on getLibrary when it isn't

Breaking Changes #

  • Stopped exporting lib/src/util/barback.dart which contains internal only utilities. Specifically, the following items are no longer public (some are deleted entirely or had breaking changes as well):
    • toBarbackAsset
    • toBarbackAssetId
    • toBarbackTransform
    • toBuildAsset
    • toBuildAssetId
    • toTransformLogger
    • BuildStepTransform

0.0.3 #

  • Prevent asset writing from escaping beyond the complete() call in BuildStepImpl

0.0.2 #

  • Fix a bug forwarding logs from a BuilderTransformer

0.0.1 #

  • Initial separate release - split off from build package.
0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

Utilities for translating between builders and transformers.

Homepage
Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

analyzer, barback, build, code_transformers, glob, graphs, logging

More

Packages that depend on build_barback