Releases: gkampitakis/go-snaps
Releases · gkampitakis/go-snaps
v0.5.10
What's Changed
- fix: handle builds with trimpath enabled by @gkampitakis in #120
Full Changelog: v0.5.9...v0.5.10
v0.5.9
What's Changed
- fix: snaps.Update should apply and on snapshot create by @gkampitakis in #119
Full Changelog: v0.5.8...v0.5.9
v0.5.8
What's Changed
- feat: implement matchYAML by @gkampitakis in #114
- feat: implement matchStandaloneJSON by @gkampitakis in #113
Full Changelog: v0.5.7...v0.5.8
v0.5.7
What's Changed
- fix: expose internal config type by @gkampitakis in #109
Full Changelog: v0.5.6...v0.5.7
v0.5.6
What's Changed
- feat: support matchStandaloneSnapshot by @gkampitakis in #102
- feat: support setting file extension by @gkampitakis in #102
Full Changelog: v0.5.5...v0.5.6
v0.5.4
v0.5.3
What's Changed
- fix: race condition when updating snapshots in parallel by @gkampitakis in #97
Full Changelog: v0.5.2...v0.5.3
v0.5.1
v0.5.0
What's Changed
- docs: improve readme code formatting and grammar by @G-Rath in #85
- docs: improve
TestMain
references by @G-Rath in #86 - chore(docs): minor improvements by @gkampitakis in #89
- chore: clean up test mocks and change getTestID param order by @gkampitakis in #92
- feat: don't create multiple snapshots when -test.count>1 by @gkampitakis in #90
Breaking changes ❗
On v0.5.0
when running tests with test.count>1
flag a call to create a snapshot will not create multiple instances of the same snapshot, but it will create the snapshot once and then subsequent execution will test against that snapshot. Look at issue #87
New Contributors
Full Changelog: v0.4.12...v0.5.0
v0.4.12
What's Changed
- chore: add example for using update config and minor docs clean up by @gkampitakis in #81
- fix: detect if running from vscode by @gkampitakis in #82
- feat: support sort snaps on clean by @gkampitakis in #80
Full Changelog: v0.4.11...v0.4.12