OLD | NEW |
| 1 ## 0.13.1 |
| 2 |
| 3 * Only run `Transformer.isPrimary` once for each asset. |
| 4 |
| 5 ## 0.13.0 |
| 6 |
| 7 * `Transformer.isPrimary` now takes an `AssetId` rather than an `Asset`. |
| 8 |
| 9 * `DeclaringTransform` now only exposes the primary input's `AssetId`, rather |
| 10 than the primary `Asset` object. |
| 11 |
| 12 * `DeclaringTransform` no longer supports `getInput`, `readInput`, |
| 13 `readInputAsString`, or `hasInput`. |
| 14 |
1 ## 0.12.0 | 15 ## 0.12.0 |
2 | 16 |
3 * Add a `Transform.logger.fine` function that doesn't print its messages by | 17 * Add a `Transform.logger.fine` function that doesn't print its messages by |
4 default. When using Barback with pub in verbose mode, these messages will be | 18 default. When using Barback with pub in verbose mode, these messages will be |
5 printed. | 19 printed. |
6 | 20 |
7 * Add a `Transform.hasInput` function that returns whether or not a given | 21 * Add a `Transform.hasInput` function that returns whether or not a given |
8 secondary input exists. | 22 secondary input exists. |
9 | 23 |
10 * `Transformer.allowedExtensions` now supports extensions containing multiple | 24 * `Transformer.allowedExtensions` now supports extensions containing multiple |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 37 |
24 * If a transformer calls `Transform.logger.error`, the transformer will now be | 38 * If a transformer calls `Transform.logger.error`, the transformer will now be |
25 considered to have failed after it finishes running `apply()`. This means that | 39 considered to have failed after it finishes running `apply()`. This means that |
26 its outputs will not be consumed by future transformers and its primary input | 40 its outputs will not be consumed by future transformers and its primary input |
27 will not be passed through to the next phase. | 41 will not be passed through to the next phase. |
28 | 42 |
29 * If a transform calls `Transform.getInput`, `Transform.readInput`, | 43 * If a transform calls `Transform.getInput`, `Transform.readInput`, |
30 `Transform.readInputAsString`, or `Transform.hasInput` on an input that | 44 `Transform.readInputAsString`, or `Transform.hasInput` on an input that |
31 doesn't exist, the transform will be re-run if that input is created in the | 45 doesn't exist, the transform will be re-run if that input is created in the |
32 future. | 46 future. |
OLD | NEW |