Skip to content

Releases: codedabble-dev/java-snapshot-testing

4.0.1

Choose a tag to compare

@github-actions github-actions released this 26 Nov 10:40
cee4af4
#patch:  Restrict characters in snapshot name

Fixes #122 
Make '=', '[' and ']' characters illegal in snapshot name and scenario fields

4.0.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 05:04
4710144
#major: 4.0.0

Breaking changes for Serializers, Comparators & Reporters
- Now accept a Snapshot class as the argument
- Still have access to everything they had before via the getters
- Exposed lots more information for the serializer to customise the snapshot as desired

Snapshot Headers
- Users can now use custom headers via expect.header("A", "B").toMatchSnapshot(obj)
- These headers are serialized into the snapshot as a JSON Object
- Certain headers may be added as default in future versions

REGEX matching
- The Snapshot object is now parsed as a regular expression and key pieces of information are extracted

No more varargs
- Removed varargs param for `.toMatchSnapshot`.  It now only supports a single argument.

Remove onSaveSnapshotFile() hook
- This made the file difficult to parse via a REGEX

3.4.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 04:04
08f207e
#minor: Make Jackson Plugin unique in order to support Java9 modules …

3.3.9

Choose a tag to compare

@github-actions github-actions released this 27 Oct 10:29
f2ffc12
#patch: #108 Remove module.info.class imported by shadowJar (#109)

3.3.8

Choose a tag to compare

@github-actions github-actions released this 25 Oct 09:51
  • no changes

3.3.5

Choose a tag to compare

@github-actions github-actions released this 29 Oct 08:15
  • no changes