Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 ## 0.12.0 | |
| 2 | |
| 3 * 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 | |
| 5 printed. | |
| 6 | |
| 7 * `Transformer.allowedExtensions` now supports extensions containing multiple | |
| 8 periods, such as `.dart.js`. | |
| 9 | |
| 10 * Transforms now pass their primary inputs through to the next phase by default. | |
|
Bob Nystrom
2014/03/14 00:01:55
"Transforms" -> "Transformers"
nweiz
2014/03/14 00:06:52
I thought we used "transformer" to refer to the cl
Bob Nystrom
2014/03/14 00:24:17
SGTM.
| |
| 11 A transformer may still overwrite its primary input without causing a | |
| 12 collision. If a transformer doesn't overwrite its primary input, it may cause | |
| 13 it not to be passed through by calling `Transform.consumePrimary`. The primary | |
| 14 input will be consumed by default if a transformer throws an error. | |
| 15 | |
| 16 * If an input requested with `Transform.getInput`, `Transform.readInput`, or | |
| 17 `Transform.readInputAsString` cannot be found, an `AssetNotFoundException` | |
| 18 will be thrown. This was always what the documentation said, but previously a | |
| 19 `MissingInputException` was thrown instead. | |
| 20 | |
| 21 * If a transformer calls `Transform.logger.error`, the transformer will now be | |
| 22 considered to have failed after it finishes running `apply()`. This means that | |
| 23 its outputs will not be consumed by future transformers and its primary input | |
| 24 will not be passed through to the next phase. | |
| OLD | NEW |