playbook_snapshot
Playbook Snapshot package.
1.3.0
3.7K downloads/mo
#4316 most downloaded on pub.dev
playbook-ui/playbook-flutter
What this package is like to depend on
Last release 10 months ago
08 Oct 2025
Release timing varies
gaps range from 5 weeks to 13 months
Nearly every release is documented
notes for 17 of 17 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
17 releases · first in 2021
2 releases in the last 12 months
see the full history below
Release timeline
17 releases · Nov 2021 to Oct 2025Releases
latest 17-
1.3.008 Oct 2025Release notes
Open source →Overview
This PR prepares the release of version 1.3.0 for all packages, updating
CHANGELOGs and package versions to reflect the changes made since
v1.2.0.Changes
- Updated CHANGELOG.md for all packages (playbook, playbook_generator,
playbook_snapshot, playbook_ui) to include v1.3.0 release notes - Bumped package versions from 1.2.0 to 1.3.0 in all pubspec.yaml files
- Updated README.md requirements section to reflect minimum Dart 3.9.0+
and Flutter 3.35.0+
Release Notes Summary
- SDK Updates: Dart constraint updated to
^3.9.0, Flutter
constraint to>=3.35.0 - Analysis: Migrated to
very_good_analysis10.0.0 - Infrastructure: Migrated from Melos workspace to Dart workspace
configuration - CI/CD: Migrated from
subosito/flutter-actionto
jdx/mise-action - Version Management: Added
.mise.tomlfor Flutter 3.35.5 - Code Quality: Refactored code to use pattern matching instead of
runtimeType switch (playbook_snapshot, playbook_ui)
Test Instructions
- Verify CHANGELOG.md files contain accurate v1.3.0 release notes for
all packages - Confirm all pubspec.yaml files show version 1.3.0
- Verify README.md shows correct minimum requirements (Dart 3.9.0+,
Flutter 3.35.0+) - Run
dart pub getto ensure workspace resolution works correctly - Run
melos analyzeto verify no analysis issues - Run
melos testto ensure all tests pass
References
- Related to recent workspace configuration updates (#153)
- Follows semantic versioning for minor release
Release notes
Open source →Improvements
- Updated SDK constraint to
^3.9.0 - Updated Flutter constraint to
>=3.35.0 - Updated analysis options to use
very_good_analysis/analysis_options.10.0.0.yaml - Refactored snapshot support code to use pattern matching instead of runtimeType switch
Dependencies
- Updated
very_good_analysisfrom^9.0.0to^10.0.0
Infrastructure
- Migrated from Melos workspace to Dart workspace configuration
- Migrated from
subosito/flutter-actiontojdx/mise-actionin review workflow - Added
.mise.tomlfor Flutter 3.35.5 version management - Removed
melos.yamlandpubspec_overrides.yamlfiles - Added
resolution: workspaceto package pubspec
- Updated CHANGELOG.md for all packages (playbook, playbook_generator,
-
1.2.003 Oct 2025Release notes
Open source →Overview
Release version 1.2.0 for all packages with SDK constraint updates and
analyzer 8.x migration.Changes
All Packages (playbook, playbook_ui, playbook_snapshot)
- Updated SDK constraint to
^3.8.0 - Bumped version from 1.1.0 to 1.2.0
playbook_generator
- Analyzer 8.x migration:
- Migrated from
element2.darttoelement.dart
- Migrated from
- Updated element access patterns (
ClassFragment→ClassElement,
TopLevelFunctionFragment→ExecutableElement) - Replaced deprecated APIs (
librarySource.uri→uri,
topLevelElements→ specific getters) - Dependencies:
- analyzer:
^7.4.5→^8.0.0 - build:
^2.4.1→^4.0.0 - source_gen:
^2.0.0→^4.0.0
- analyzer:
- Bumped version from 1.1.0 to 1.2.0
Test Instructions
- Run
melos bootstrapto update all package dependencies - Run
melos analyzeto verify no analysis issues - Run
melos testto ensure all tests pass - Test code generation with playbook_generator
References
- Updated SDK constraint to
-
1.0.218 Sep 2024 -
1.0.101 Jul 2024 -
1.0.006 May 2024Release notes
Open source →- BREAKING CHANGE: an instance of
SnapshotDeviceis passed whenplaybookis run. - FEAT:
SnapshotDevicenow supportstextScaler,pixelRatioandsafeAreaInsets. If you don't want theSafeArea, setSafeAreaInsets()tosafeAreaInsets. - FEAT:
ScenarioWidgetshowsCheckeredbackground. If you don't want to show the background, setnulltocheckeredColor. - FEAT: can change whether to use
Materialwidgets as a base when taking snapshots. - FIX: deprecate
directoryPathandsnapshotDir, usesnapshotDirandsubDirinstead.
- BREAKING CHANGE: an instance of
-
0.3.013 Feb 2024Release notes
Open source →- FEAT: can load assets that are included in dependencies.
- BREAKING CHANGE: upgrade sdk and flutter.
-
0.3.0+113 Feb 2024 -
0.2.107 Feb 2024 -
0.2.004 Jan 2024Release notes
Open source →- FEAT: Added support for defining fonts for
playbook_snapshotinpubspec.yaml.
- FEAT: Added support for defining fonts for
-
0.1.409 Mar 2023 -
0.1.308 Sep 2022 -
0.1.223 May 2022 -
0.1.116 Feb 2022 -
0.1.016 Feb 2022Release notes
Open source →- BREAKING CHANGE:
TestToolneedsWidgetTesterinstance which is created ontestWidget. AndtestWidgetsonly needs to be called once.
Future<void> main() async { testWidgets('Take snapshots', (tester) async { await Playbook( stories: [], ).run( Snapshot( directoryPath: 'screenshots', devices: [], ), tester, // Pass in the `WidgetTester` created by the `testWidget`. (widget) { return MaterialApp( home: Material(child: widget), ); }, ); // If you want to run `TestTool` multiple times, run it inside the` testWidgets` closure. }); } - BREAKING CHANGE:
-
0.0.315 Feb 2022 -
0.0.202 Dec 2021 -
0.0.130 Nov 2021