OLD | NEW |
1 ## 0.13.1 | 1 ## 0.14.0 |
2 | 2 |
3 * Only run `Transformer.isPrimary` once for each asset. | 3 * **Breaking change**: when an output of a lazy transformer is requested, that |
| 4 transformer will run long enough to generate the output, then become lazy |
| 5 again. Previously, it would become eager as soon as an asset had been |
| 6 requested. |
| 7 |
| 8 * Only run `Transformer.isPrimary` and `Transformer.declareOutputs` once for |
| 9 each asset. |
| 10 |
| 11 * Lazy transformers' laziness is preserved when followed by |
| 12 declaring transformers, or by normal transformers for which the lazy outputs |
| 13 aren't primary. |
| 14 |
| 15 * Fix a bug where reading the primary input using `Transform.readInputAsString` |
| 16 had slightly different behavior than reading it using |
| 17 `Transform.primary.readAsString`. |
| 18 |
| 19 * Fix a crashing bug when `Barback.getAllAssets` is called synchronously after |
| 20 creating a new `Barback` instance. |
4 | 21 |
5 ## 0.13.0 | 22 ## 0.13.0 |
6 | 23 |
7 * `Transformer.isPrimary` now takes an `AssetId` rather than an `Asset`. | 24 * `Transformer.isPrimary` now takes an `AssetId` rather than an `Asset`. |
8 | 25 |
9 * `DeclaringTransform` now only exposes the primary input's `AssetId`, rather | 26 * `DeclaringTransform` now only exposes the primary input's `AssetId`, rather |
10 than the primary `Asset` object. | 27 than the primary `Asset` object. |
11 | 28 |
12 * `DeclaringTransform` no longer supports `getInput`, `readInput`, | 29 * `DeclaringTransform` no longer supports `getInput`, `readInput`, |
13 `readInputAsString`, or `hasInput`. | 30 `readInputAsString`, or `hasInput`. |
(...skipping 23 matching lines...) Expand all Loading... |
37 | 54 |
38 * If a transformer calls `Transform.logger.error`, the transformer will now be | 55 * If a transformer calls `Transform.logger.error`, the transformer will now be |
39 considered to have failed after it finishes running `apply()`. This means that | 56 considered to have failed after it finishes running `apply()`. This means that |
40 its outputs will not be consumed by future transformers and its primary input | 57 its outputs will not be consumed by future transformers and its primary input |
41 will not be passed through to the next phase. | 58 will not be passed through to the next phase. |
42 | 59 |
43 * If a transform calls `Transform.getInput`, `Transform.readInput`, | 60 * If a transform calls `Transform.getInput`, `Transform.readInput`, |
44 `Transform.readInputAsString`, or `Transform.hasInput` on an input that | 61 `Transform.readInputAsString`, or `Transform.hasInput` on an input that |
45 doesn't exist, the transform will be re-run if that input is created in the | 62 doesn't exist, the transform will be re-run if that input is created in the |
46 future. | 63 future. |
OLD | NEW |