Skip to content

Add support for V2 JSON snapshots and enhance snapshot handling#5

Open
Elmo33 wants to merge 1 commit intotestflows:mainfrom
Elmo33:main
Open

Add support for V2 JSON snapshots and enhance snapshot handling#5
Elmo33 wants to merge 1 commit intotestflows:mainfrom
Elmo33:main

Conversation

@Elmo33
Copy link

@Elmo33 Elmo33 commented Mar 12, 2026

Adds V2 snapshot support using JSON-backed snapshot files.
Introduces a new v2 snapshot implementation with stable JSON serialization, named entries in a single file, custom filename support, and improved JSON diffs for mismatches.
Updates snapshot path resolution and test helpers to handle V1/V2 correctly, and adds comprehensive V2 test coverage for store/check flows, mismatches, multiple entries, custom filenames, missing snapshots, supported types, and encoder behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant