Skip to content

Releases: approvals/go-approval-tests

v1.1.1 Introducing core interfaces

06 Feb 18:44
Compare
Choose a tag to compare

Breaking Changes

Note: we are not doing a major version bump as this creates a lot of weirdness in how you import packages in golang

Everything in here is a refactoring for extensibility but it moves classes that if you are customizing will cause breakage

  • move logs to internal/logs
  • introduce core.ApprovalNamer interface
  • introduce core.ApprovalNamerCreator
  • introduce standalone core.Compare standalone
  • add options.ForFile().WithNamer

v1.1.0

30 Jan 19:08
Compare
Choose a tag to compare

Log Approved Files

This release will now log all the approved files that were verified in the last run under ./.approval_tests_temp/.approved_files.log

Remember to add this to your .gitignore file.

v1.0.0

30 Jan 18:32
Compare
Choose a tag to compare

Bump to go 1.16+

We plan to continue to tag releases going forward.