PackageTrack
Sign in Get early access

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 2025
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 17
  1. 1.3.0 08 Oct 2025
    Release notes

    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_analysis 10.0.0
    • Infrastructure: Migrated from Melos workspace to Dart workspace
      configuration
    • CI/CD: Migrated from subosito/flutter-action to
      jdx/mise-action
    • Version Management: Added .mise.toml for Flutter 3.35.5
    • Code Quality: Refactored code to use pattern matching instead of
      runtimeType switch (playbook_snapshot, playbook_ui)

    Test Instructions

    1. Verify CHANGELOG.md files contain accurate v1.3.0 release notes for
      all packages
    2. Confirm all pubspec.yaml files show version 1.3.0
    3. Verify README.md shows correct minimum requirements (Dart 3.9.0+,
      Flutter 3.35.0+)
    4. Run dart pub get to ensure workspace resolution works correctly
    5. Run melos analyze to verify no analysis issues
    6. Run melos test to ensure all tests pass

    References

    • Related to recent workspace configuration updates (#153)
    • Follows semantic versioning for minor release
    Open source →
    Release notes

    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_analysis from ^9.0.0 to ^10.0.0

    Infrastructure

    • Migrated from Melos workspace to Dart workspace configuration
    • Migrated from subosito/flutter-action to jdx/mise-action in review workflow
    • Added .mise.toml for Flutter 3.35.5 version management
    • Removed melos.yaml and pubspec_overrides.yaml files
    • Added resolution: workspace to package pubspec
    Open source →
  2. 1.2.0 03 Oct 2025
    Release notes

    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.dart to element.dart
    • Updated element access patterns (ClassFragmentClassElement,
      TopLevelFunctionFragmentExecutableElement)
    • Replaced deprecated APIs (librarySource.uriuri,
      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
    • Bumped version from 1.1.0 to 1.2.0

    Test Instructions

    1. Run melos bootstrap to update all package dependencies
    2. Run melos analyze to verify no analysis issues
    3. Run melos test to ensure all tests pass
    4. Test code generation with playbook_generator

    References

    • Based on #150 (dependencies and analyzer 8.x migration)
    • Based on #151 (workspace configuration)
    Open source →
    Release notes

    Improvements

    • Updated SDK constraint to ^3.8.0
    Open source →
  3. 1.0.2 18 Sep 2024
    Release notes

    chore(release): publish packages

    Open source →
    Release notes
    • FIX: can use scenarioWidgetBuilder when snapshot #93
    Open source →
  4. 1.0.1 01 Jul 2024
    Release notes
    • FIX: Device size for vertical layout fill.
    Open source →
  5. 1.0.0 06 May 2024
    Release notes
    • BREAKING CHANGE: an instance of SnapshotDevice is passed when playbook is run.
    • FEAT: SnapshotDevice now supports textScaler, pixelRatio and safeAreaInsets. If you don't want the SafeArea, set SafeAreaInsets() to safeAreaInsets.
    • FEAT: ScenarioWidget shows Checkered background. If you don't want to show the background, set null to checkeredColor.
    • FEAT: can change whether to use Material widgets as a base when taking snapshots.
    • FIX: deprecate directoryPath and snapshotDir, use snapshotDir and subDir instead.
    Open source →
  6. 0.3.0 13 Feb 2024
    Release notes
    • FEAT: can load assets that are included in dependencies.
    • BREAKING CHANGE: upgrade sdk and flutter.
    Open source →
  7. 0.3.0+1 13 Feb 2024
    Release notes
    • CHORE: fix playbook version.
    Open source →
  8. 0.2.1 07 Feb 2024
    Release notes
    • FIX: Support Scrollables have no ScrollController.
    Open source →
  9. 0.2.0 04 Jan 2024
    Release notes
    • FEAT: Added support for defining fonts for playbook_snapshot in pubspec.yaml.
    Open source →
  10. 0.1.4 09 Mar 2023
    Release notes
    • FIX: load multiple fonts (#58).
    Open source →
  11. 0.1.3 08 Sep 2022
    Release notes
    • BREAKING CHANGE: SnapshotDevice change from enum to normal class.
    Open source →
  12. 0.1.2 23 May 2022
    Release notes
    • FIX: find by the scenario widget to take snapshots.
    Open source →
  13. 0.1.1 16 Feb 2022
    Release notes
    • FIX: reset app for each test.
    Open source →
  14. 0.1.0 16 Feb 2022
    Release notes
    • BREAKING CHANGE: TestTool needs WidgetTester instance which is created on testWidget. And testWidgets only 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.
      });
    }
    
    
    Open source →
  15. 0.0.3 15 Feb 2022
    Release notes
    • FEAT: can be stop resizing Scrollable.
    Open source →
  16. 0.0.2 02 Dec 2021
    Release notes
    • BUILD: bump deps.
    Open source →
  17. 0.0.1 30 Nov 2021
    Release notes
    • initial release.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive