Tags give the ability to mark specific points in history as being important
Improve diff of http.Responses by omitting synthetic headers `Connection: close` and `Content-Length: 0` which are added automatically in some cases.
Deprecate some ill-concieved functions: `Error`, `StatusError`, `ErrorRE`, and `StatusErrorRE`. Use `ErrorMatches` or `ErrorMatchesRE` instead. And do status checking directly.
Custom implementation of dir copy, to avoid third-party dependency.
Read UPDATE_TESTY variable once on startup
- Allow calling RestoreEnv()'s returned function more than once - Update dependencies - Drop Go 1.16 and earlier support
- Allow enabling update mode with the environment variable `UPDATE_TESTY=true` - Drop Go 1.13 support - Add Go 1.18 to the test suite
Breaking change: `-update` flag renamed to `-update-testy` flag, to reduce chance of collision with other packages that use the `-update` flag.
More consistent JSON output for smaller diffs
Fix handling of replacements in `DiffAsJSON`
- Fix `ErrorMatchesRE` to treat an empty string as a non-error - Remove support for Go versions 1.12 and earlier
Remove some test dependencies, for easier installation, particularly with Go 1.11 and 1.12.
- Update linter - Update Go targets (adds 1.17, drops 1.11 and 1.12). - Adds output explaining how to update snapshots when a diff fails