| OLD | NEW |
| 1 ## 0.14.0+2 | |
| 2 | |
| 3 * Fix a bug with the previous bug fix. | |
| 4 | |
| 5 ## 0.14.0+1 | |
| 6 | |
| 7 * Fix a bug where a transformer group preceded by another transformer group | |
| 8 would sometimes fail to load secondary assets. | |
| 9 | |
| 10 ## 0.14.0 | |
| 11 | |
| 12 * **Breaking change**: when an output of a lazy transformer is requested, that | |
| 13 transformer will run long enough to generate the output, then become lazy | |
| 14 again. Previously, it would become eager as soon as an asset had been | |
| 15 requested. | |
| 16 | |
| 17 * Only run `Transformer.isPrimary` and `Transformer.declareOutputs` once for | |
| 18 each asset. | |
| 19 | |
| 20 * Lazy transformers' laziness is preserved when followed by | |
| 21 declaring transformers, or by normal transformers for which the lazy outputs | |
| 22 aren't primary. | |
| 23 | |
| 24 * Fix a bug where reading the primary input using `Transform.readInputAsString` | |
| 25 had slightly different behavior than reading it using | |
| 26 `Transform.primary.readAsString`. | |
| 27 | |
| 28 * Fix a crashing bug when `Barback.getAllAssets` is called synchronously after | |
| 29 creating a new `Barback` instance. | |
| 30 | |
| 31 * Don't warn if a lazy or declaring transformer doesn't emit outputs that it has | |
| 32 declared. This is valid for transformers like dart2js that need to read their | |
| 33 primary input in order to determine whether they should run. | |
| 34 | |
| 35 * Allow `Transformer.isPrimary`, `Transformer.apply`, and | |
| 36 `DeclaringTransformer.declareOutputs` to return non-`Future` values if they | |
| 37 run synchronously. | |
| 38 | |
| 39 * Fix a deadlock bug when a lazy primary input to a lazy transformer became | |
| 40 dirty while the transformer's `apply` method was running. | |
| 41 | |
| 42 * Run declaring transformers with lazy inputs eagerly if the inputs become | |
| 43 available. | |
| 44 | |
| 45 ## 0.13.0 | 1 ## 0.13.0 |
| 46 | 2 |
| 47 * `Transformer.isPrimary` now takes an `AssetId` rather than an `Asset`. | 3 * `Transformer.isPrimary` now takes an `AssetId` rather than an `Asset`. |
| 48 | 4 |
| 49 * `DeclaringTransform` now only exposes the primary input's `AssetId`, rather | 5 * `DeclaringTransform` now only exposes the primary input's `AssetId`, rather |
| 50 than the primary `Asset` object. | 6 than the primary `Asset` object. |
| 51 | 7 |
| 52 * `DeclaringTransform` no longer supports `getInput`, `readInput`, | 8 * `DeclaringTransform` no longer supports `getInput`, `readInput`, |
| 53 `readInputAsString`, or `hasInput`. | 9 `readInputAsString`, or `hasInput`. |
| 54 | 10 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 77 | 33 |
| 78 * If a transformer calls `Transform.logger.error`, the transformer will now be | 34 * If a transformer calls `Transform.logger.error`, the transformer will now be |
| 79 considered to have failed after it finishes running `apply()`. This means that | 35 considered to have failed after it finishes running `apply()`. This means that |
| 80 its outputs will not be consumed by future transformers and its primary input | 36 its outputs will not be consumed by future transformers and its primary input |
| 81 will not be passed through to the next phase. | 37 will not be passed through to the next phase. |
| 82 | 38 |
| 83 * If a transform calls `Transform.getInput`, `Transform.readInput`, | 39 * If a transform calls `Transform.getInput`, `Transform.readInput`, |
| 84 `Transform.readInputAsString`, or `Transform.hasInput` on an input that | 40 `Transform.readInputAsString`, or `Transform.hasInput` on an input that |
| 85 doesn't exist, the transform will be re-run if that input is created in the | 41 doesn't exist, the transform will be re-run if that input is created in the |
| 86 future. | 42 future. |
| OLD | NEW |