You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/golden_toolkit/CHANGELOG.md
+26-3Lines changed: 26 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,25 @@
2
2
3
3
## 0.5.0
4
4
5
+
### More intelligent behavior for loading assets
6
+
7
+
A new mechanism has been added for ensuring that images have been decoded before capturing goldens. The old implementation worked most of the time, but was non-deterministic and hacky. The new implementation inspects the widget tree to identify images that need to be loaded. It should display images more consistently in goldens.
8
+
9
+
This may be a breaking change for some consumers. If you run into issues, you can revert to the old behavior, by applying the following configuration:
If you run into issues, please submit issues so we can expand on the default behavior. We expect that it is likely missing some cases.
23
+
5
24
### New API for configuring the toolkit
6
25
7
26
Reworked the configuration API introduced in 0.4.0. The prior method relied on global state and could be error prone. The old implementation still functions, but has been marked as deprecated and will be removed in a future release.
@@ -37,16 +56,20 @@ Added the following extensions. These can be used with any vanilla golden assert
37
56
38
57
```dart
39
58
// configures the simulated device to mirror the supplied device configuration (dimensions, pixel density, safe area, etc)
0 commit comments