OLD | NEW |
| (Empty) |
1 ## 0.15.2+2 | |
2 | |
3 * Fix a bug in listing all assets from a static package. | |
4 | |
5 ## 0.15.2+1 | |
6 | |
7 * Properly handle logs from a transformer that's been canceled. | |
8 | |
9 ## 0.15.2 | |
10 | |
11 * Add a `StaticPackageProvider` class to more efficiently handle immutable, | |
12 untransformed packages. | |
13 | |
14 ## 0.15.0+1 | |
15 | |
16 * Widen the version constraint on the `collection` package. | |
17 | |
18 ## 0.15.0 | |
19 | |
20 * Fully switch from `source_maps`' `Span` class to `source_span`'s `SourceSpan` | |
21 class. | |
22 | |
23 ## 0.14.2 | |
24 | |
25 * All TransformLogger methods now accept SourceSpans from the source_span | |
26 package in addition to Spans from the source_maps package. In 0.15.0, only | |
27 SourceSpans will be accepted. | |
28 | |
29 ## 0.14.1+3 | |
30 | |
31 * Add a dependency on the `pool` package. | |
32 | |
33 ## 0.14.1+2 | |
34 | |
35 * Automatically log how long it takes long-running transforms to run. | |
36 | |
37 ## 0.14.1+1 | |
38 | |
39 * Fix a bug where an event could be added to a closed stream. | |
40 | |
41 ## 0.14.1 | |
42 | |
43 * Add an `AggregateTransformer` type. Aggregate transformers transform groups of | |
44 assets for which no single asset is primary. For example, one could be used to | |
45 merge all images in a directory into a single file. | |
46 | |
47 * Add a `message` getter to `TransformerException` and `AssetLoadException`. | |
48 | |
49 * Fix a bug where transformers would occasionally emit stale output after their | |
50 inputs changed. | |
51 | |
52 ## 0.14.0+3 | |
53 | |
54 * Properly handle synchronous errors in `PackageProvider.getAsset()`. | |
55 | |
56 ## 0.14.0+2 | |
57 | |
58 * Fix a bug with the previous bug fix. | |
59 | |
60 ## 0.14.0+1 | |
61 | |
62 * Fix a bug where a transformer group preceded by another transformer group | |
63 would sometimes fail to load secondary assets. | |
64 | |
65 ## 0.14.0 | |
66 | |
67 * **Breaking change**: when an output of a lazy transformer is requested, that | |
68 transformer will run long enough to generate the output, then become lazy | |
69 again. Previously, it would become eager as soon as an asset had been | |
70 requested. | |
71 | |
72 * Only run `Transformer.isPrimary` and `Transformer.declareOutputs` once for | |
73 each asset. | |
74 | |
75 * Lazy transformers' laziness is preserved when followed by | |
76 declaring transformers, or by normal transformers for which the lazy outputs | |
77 aren't primary. | |
78 | |
79 * Fix a bug where reading the primary input using `Transform.readInputAsString` | |
80 had slightly different behavior than reading it using | |
81 `Transform.primary.readAsString`. | |
82 | |
83 * Fix a crashing bug when `Barback.getAllAssets` is called synchronously after | |
84 creating a new `Barback` instance. | |
85 | |
86 * Don't warn if a lazy or declaring transformer doesn't emit outputs that it has | |
87 declared. This is valid for transformers like dart2js that need to read their | |
88 primary input in order to determine whether they should run. | |
89 | |
90 * Allow `Transformer.isPrimary`, `Transformer.apply`, and | |
91 `DeclaringTransformer.declareOutputs` to return non-`Future` values if they | |
92 run synchronously. | |
93 | |
94 * Fix a deadlock bug when a lazy primary input to a lazy transformer became | |
95 dirty while the transformer's `apply` method was running. | |
96 | |
97 * Run declaring transformers with lazy inputs eagerly if the inputs become | |
98 available. | |
99 | |
100 ## 0.13.0 | |
101 | |
102 * `Transformer.isPrimary` now takes an `AssetId` rather than an `Asset`. | |
103 | |
104 * `DeclaringTransform` now only exposes the primary input's `AssetId`, rather | |
105 than the primary `Asset` object. | |
106 | |
107 * `DeclaringTransform` no longer supports `getInput`, `readInput`, | |
108 `readInputAsString`, or `hasInput`. | |
109 | |
110 ## 0.12.0 | |
111 | |
112 * Add a `Transform.logger.fine` function that doesn't print its messages by | |
113 default. When using Barback with pub in verbose mode, these messages will be | |
114 printed. | |
115 | |
116 * Add a `Transform.hasInput` function that returns whether or not a given | |
117 secondary input exists. | |
118 | |
119 * `Transformer.allowedExtensions` now supports extensions containing multiple | |
120 periods, such as `.dart.js`. | |
121 | |
122 * Transforms now pass their primary inputs through to the next phase by default. | |
123 A transformer may still overwrite its primary input without causing a | |
124 collision. If a transformer doesn't overwrite its primary input, it may cause | |
125 it not to be passed through by calling `Transform.consumePrimary`. The primary | |
126 input will be consumed by default if a transformer throws an error. | |
127 | |
128 * If an input requested with `Transform.getInput`, `Transform.readInput`, or | |
129 `Transform.readInputAsString` cannot be found, an `AssetNotFoundException` | |
130 will be thrown. This was always what the documentation said, but previously a | |
131 `MissingInputException` was thrown instead. | |
132 | |
133 * If a transformer calls `Transform.logger.error`, the transformer will now be | |
134 considered to have failed after it finishes running `apply()`. This means that | |
135 its outputs will not be consumed by future transformers and its primary input | |
136 will not be passed through to the next phase. | |
137 | |
138 * If a transform calls `Transform.getInput`, `Transform.readInput`, | |
139 `Transform.readInputAsString`, or `Transform.hasInput` on an input that | |
140 doesn't exist, the transform will be re-run if that input is created in the | |
141 future. | |
OLD | NEW |