diff --git a/CHANGELOG.md b/CHANGELOG.md index 91f85de..95ccff8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.2.0 + +States that come from a gesture or typing, and what opens above a preview. + +* `shutter shot --tap` and `--enter =` (repeatable, run in the order given), then one of `--press`, `--hover`, or `--focus`, act on every preview before the capture. A target is `key:`, `text:`, `label:` (a text field's label or hint, a button's text), or `type:`; a target that matches no widget, several, or cannot be reached makes the shot an error. Each action is followed by `--settle` milliseconds drawn in 16 ms frames; `shutter agent` suggests `--settle 700` for the state after a tap, once its ink is over, and another `--settle` for another point of an animation. +* `shutter shot --capture screen` captures the whole viewport, with the shell's surface and the menus, dialogs, bottom sheets, and tooltips the app draws above the preview; `--viewport x` sets the viewport, the preview at its top left. +* `shot` prints the run's actions and capture, `manifest.json` records them, and `diff` prints both runs' when they differ. They are not part of shot ids. +* The `shutter-visual-check` skill also covers pressed, hovered, focused, opened, and typed states. + ## 0.1.1 Documentation and package metadata; the tool behaves as in 0.1.0. diff --git a/lib/src/version.dart b/lib/src/version.dart index 0f9e651..0a9ef8e 100644 --- a/lib/src/version.dart +++ b/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '0.1.1'; +const packageVersion = '0.2.0'; diff --git a/pubspec.yaml b/pubspec.yaml index 9feab68..28c2714 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: shutter description: >- Renders a Flutter project's widget previews to PNG, reusing the ones it already has, and diffs two runs pixel by pixel into before and after images of a change. -version: 0.1.1 +version: 0.2.0 repository: https://github.com/koji-1009/shutter issue_tracker: https://github.com/koji-1009/shutter/issues topics: