Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(596)

Side by Side Diff: pkg/barback/CHANGELOG.md

Issue 196983015: Add a [Transform.hasInput] convenience method to Barback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 ## 0.12.0 1 ## 0.12.0
2 2
3 * Add a `Transform.logger.fine` function that doesn't print its messages by 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 4 default. When using Barback with pub in verbose mode, these messages will be
5 printed. 5 printed.
6 6
7 * Add a `Transform.hasInput` function that returns whether or not a given
8 secondary input exists.
9
7 * `Transformer.allowedExtensions` now supports extensions containing multiple 10 * `Transformer.allowedExtensions` now supports extensions containing multiple
8 periods, such as `.dart.js`. 11 periods, such as `.dart.js`.
9 12
10 * Transforms now pass their primary inputs through to the next phase by default. 13 * Transforms now pass their primary inputs through to the next phase by default.
11 A transformer may still overwrite its primary input without causing a 14 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 15 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 16 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. 17 input will be consumed by default if a transformer throws an error.
15 18
16 * If an input requested with `Transform.getInput`, `Transform.readInput`, or 19 * If an input requested with `Transform.getInput`, `Transform.readInput`, or
17 `Transform.readInputAsString` cannot be found, an `AssetNotFoundException` 20 `Transform.readInputAsString` cannot be found, an `AssetNotFoundException`
18 will be thrown. This was always what the documentation said, but previously a 21 will be thrown. This was always what the documentation said, but previously a
19 `MissingInputException` was thrown instead. 22 `MissingInputException` was thrown instead.
20 23
21 * If a transformer calls `Transform.logger.error`, the transformer will now be 24 * 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 25 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 26 its outputs will not be consumed by future transformers and its primary input
24 will not be passed through to the next phase. 27 will not be passed through to the next phase.
OLDNEW
« no previous file with comments | « no previous file | pkg/barback/lib/src/base_transform.dart » ('j') | pkg/barback/lib/src/base_transform.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698