barback
A DEPRECATED asset build system for Dart. Given a set of input files and a set of transformations (think compilers, preprocessors and the like), will automatically apply the appropriate transforms and generate output files. When inputs are modified, automatically runs the transforms that are affected. Runs transforms asynchronously and in parallel when possible to maximize responsiveness.
0.15.2
26K downloads/mo
#1954 most downloaded on pub.dev
dart-lang/barback
What this package is like to depend on
Last release 8 years ago
no release in 18 months
Ships fairly regularly
a new release about every 3 months
Some releases are documented
notes for 30 of 81 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
81 releases · first in 2013
0 releases in the last 12 months
see the full history below
Release timeline
81 releases · Jun 2013 to Apr 2018Releases
latest 60 of 81-
0.15.211 Sep 2014Release notes
Open source →- Add a
StaticPackageProviderclass to more efficiently handle immutable, untransformed packages.
- Add a
-
0.15.2+111 Sep 2014 -
0.15.2+224 Sep 2014 -
0.15.2+310 Feb 2015 -
0.15.2+411 Feb 2015 -
0.15.2+520 Jul 2015Release notes
Open source →- If a transformer requests a non-existent asset from another package, it will now be re-run if that asset is later created.
-
0.15.2+627 Jul 2015Release notes
Open source →- Fix a deadlock that occurred occasionally when a declaring transformer was
followed by a lazy transformer (most commonly
$dart2js).
- Fix a deadlock that occurred occasionally when a declaring transformer was
followed by a lazy transformer (most commonly
-
0.15.2+718 Sep 2015 -
0.15.2+817 May 2016 -
0.15.2+908 Aug 2016 -
0.15.2+1023 Mar 2017Release notes
Open source →- Update
CancelableFutureto match the newFuture.thentype signature. TheonValueparameter now has a return type ofFutureOr<S>instead ofS.
- Update
-
0.15.2+1103 May 2017Release notes
Open source →Update AssetNode.whenAvailable to be a generic method to fix a new strong mode error.
Release notes
Open source →- Update
AssetNode.whenAvailableto be a generic method to fix a new strong mode error.
- Update
-
0.15.2+1222 Sep 2017 -
0.15.2+1305 Oct 2017Release notes
Open source →- Enforce ordering of Futures with
Future.microtaskrather than async and await to account for upcoming behavior changes with async methods.
- Enforce ordering of Futures with
-
0.15.2+1408 Jan 2018 -
0.15.2+1522 Mar 2018 -
0.15.2+1623 Apr 2018 -
0.15.030 Jul 2014Release notes
Open source →- Fully switch from
source_maps'Spanclass tosource_span'sSourceSpanclass.
- Fully switch from
-
0.15.0+126 Aug 2014 -
0.14.229 Jul 2014Release notes
Open source →- All TransformLogger methods now accept SourceSpans from the source_span package in addition to Spans from the source_maps package. In 0.15.0, only SourceSpans will be accepted.
-
0.14.110 Jun 2014Release notes
Open source →-
Add an
AggregateTransformertype. Aggregate transformers transform groups of assets for which no single asset is primary. For example, one could be used to merge all images in a directory into a single file. -
Add a
messagegetter toTransformerExceptionandAssetLoadException. -
Fix a bug where transformers would occasionally emit stale output after their inputs changed.
-
-
0.14.1+119 Jun 2014 -
0.14.1+201 Jul 2014 -
0.14.1+302 Jul 2014 -
0.14.022 Apr 2014Release notes
Open source →-
Breaking change: when an output of a lazy transformer is requested, that transformer will run long enough to generate the output, then become lazy again. Previously, it would become eager as soon as an asset had been requested.
-
Only run
Transformer.isPrimaryandTransformer.declareOutputsonce for each asset. -
Lazy transformers' laziness is preserved when followed by declaring transformers, or by normal transformers for which the lazy outputs aren't primary.
-
Fix a bug where reading the primary input using
Transform.readInputAsStringhad slightly different behavior than reading it usingTransform.primary.readAsString. -
Fix a crashing bug when
Barback.getAllAssetsis called synchronously after creating a newBarbackinstance. -
Don't warn if a lazy or declaring transformer doesn't emit outputs that it has declared. This is valid for transformers like dart2js that need to read their primary input in order to determine whether they should run.
-
Allow
Transformer.isPrimary,Transformer.apply, andDeclaringTransformer.declareOutputsto return non-Futurevalues if they run synchronously. -
Fix a deadlock bug when a lazy primary input to a lazy transformer became dirty while the transformer's
applymethod was running. -
Run declaring transformers with lazy inputs eagerly if the inputs become available.
-
-
0.14.0+120 May 2014Release notes
Open source →- Fix a bug where a transformer group preceded by another transformer group would sometimes fail to load secondary assets.
-
0.14.0+220 May 2014 -
0.14.0+328 May 2014 -
0.13.008 Apr 2014Release notes
Open source →-
Transformer.isPrimarynow takes anAssetIdrather than anAsset. -
DeclaringTransformnow only exposes the primary input'sAssetId, rather than the primaryAssetobject. -
DeclaringTransformno longer supportsgetInput,readInput,readInputAsString, orhasInput.
-
-
0.12.026 Mar 2014Release notes
Open source →-
Add a
Transform.logger.finefunction that doesn't print its messages by default. When using Barback with pub in verbose mode, these messages will be printed. -
Add a
Transform.hasInputfunction that returns whether or not a given secondary input exists. -
Transformer.allowedExtensionsnow supports extensions containing multiple periods, such as.dart.js. -
Transforms now pass their primary inputs through to the next phase by default. A transformer may still overwrite its primary input without causing a collision. If a transformer doesn't overwrite its primary input, it may cause it not to be passed through by calling
Transform.consumePrimary. The primary input will be consumed by default if a transformer throws an error. -
If an input requested with
Transform.getInput,Transform.readInput, orTransform.readInputAsStringcannot be found, anAssetNotFoundExceptionwill be thrown. This was always what the documentation said, but previously aMissingInputExceptionwas thrown instead. -
If a transformer calls
Transform.logger.error, the transformer will now be considered to have failed after it finishes runningapply(). This means that its outputs will not be consumed by future transformers and its primary input will not be passed through to the next phase. -
If a transform calls
Transform.getInput,Transform.readInput,Transform.readInputAsString, orTransform.hasInputon an input that doesn't exist, the transform will be re-run if that input is created in the future.
-
-
0.11.125 Feb 2014Nothing published for this version
-
0.11.013 Dec 2013Nothing published for this version
-
0.11.0+109 Jan 2014Nothing published for this version
-
0.11.0+228 Jan 2014Nothing published for this version
-
0.11.0+329 Jan 2014Nothing published for this version
-
0.10.410 Dec 2013Nothing published for this version
-
0.10.309 Dec 2013Nothing published for this version
-
0.10.2+104 Dec 2013Nothing published for this version
-
0.10.1+326 Nov 2013Nothing published for this version
-
0.9.006 Nov 2013Nothing published for this version
-
0.8.1001 Nov 2013Nothing published for this version
-
0.8.10+304 Nov 2013Nothing published for this version
-
0.8.10+405 Nov 2013Nothing published for this version
-
0.8.931 Oct 2013Nothing published for this version
-
0.8.830 Oct 2013Nothing published for this version
-
0.8.728 Oct 2013Nothing published for this version
-
0.8.624 Oct 2013Nothing published for this version
-
0.8.521 Oct 2013Nothing published for this version
-
0.8.419 Oct 2013Nothing published for this version
-
0.8.317 Oct 2013Nothing published for this version
-
0.8.214 Oct 2013Nothing published for this version
-
0.8.104 Oct 2013Nothing published for this version
-
0.8.003 Oct 2013Nothing published for this version
-
0.7.627 Sep 2013Nothing published for this version
-
0.7.6+401 Oct 2013Nothing published for this version
-
0.7.520 Sep 2013Nothing published for this version
-
0.7.418 Sep 2013Nothing published for this version
-
0.7.3+116 Sep 2013Nothing published for this version
-
0.7.206 Sep 2013Nothing published for this version
-
0.7.2+108 Sep 2013Nothing published for this version