| OLD | NEW |
| 1 ## 0.13.0 |
| 2 |
| 3 * `Transform.isPrimary` now takes an `AssetId` rather than an `Asset`. |
| 4 |
| 5 * `DeclaringTransform` now only exposes the primary input's `AssetId`, rather |
| 6 than the primary `Asset` object. |
| 7 |
| 8 * `DeclaringTransform` no longer supports `getInput`, `readInput`, |
| 9 `readInputAsString`, or `hasInput`. |
| 10 |
| 1 ## 0.12.0 | 11 ## 0.12.0 |
| 2 | 12 |
| 3 * Add a `Transform.logger.fine` function that doesn't print its messages by | 13 * 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 | 14 default. When using Barback with pub in verbose mode, these messages will be |
| 5 printed. | 15 printed. |
| 6 | 16 |
| 7 * Add a `Transform.hasInput` function that returns whether or not a given | 17 * Add a `Transform.hasInput` function that returns whether or not a given |
| 8 secondary input exists. | 18 secondary input exists. |
| 9 | 19 |
| 10 * `Transformer.allowedExtensions` now supports extensions containing multiple | 20 * `Transformer.allowedExtensions` now supports extensions containing multiple |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 33 |
| 24 * 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 |
| 25 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 |
| 26 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 |
| 27 will not be passed through to the next phase. | 37 will not be passed through to the next phase. |
| 28 | 38 |
| 29 * If a transform calls `Transform.getInput`, `Transform.readInput`, | 39 * If a transform calls `Transform.getInput`, `Transform.readInput`, |
| 30 `Transform.readInputAsString`, or `Transform.hasInput` on an input that | 40 `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 | 41 doesn't exist, the transform will be re-run if that input is created in the |
| 32 future. | 42 future. |
| OLD | NEW |