Releases: hydronica/trial
Releases · hydronica/trial
Release list
0.8.0
What's Changed
New Features
- IgnoreFieldsOf - Ignore fields on specific struct types, useful for embedded structs where IgnoreFields cannot infer the correct type
- Pointer[T] - Generic helper to create pointers to values inline
Improvements
- Added documentation and guidance for AI agent usage
- Updated go-cmp dependency from v0.5.5 to v0.6.0
- CI now tests against Go 1.18 through 1.24
Full Changelog: v0.7.2...v0.8.0
0.7.2
What's Changed
- Bug fixes findAllStructs (IgnoreAllUnexports, AllowAllunexports) by @jbsmith7741 in #16
- added example in readme for EqualOpt by @zJeremiah in #15
New Contributors
- @zJeremiah made their first contribution in #15
Full Changelog: v0.7.1...v0.7.2
0.7.1
What's Changed
- Bug fix for struct recursion using maps by @jbsmith7741 in #14
Full Changelog: v0.7.0...v0.7.1
0.7.0
What's Changed
- Convert Trial to generics by @jbsmith7741 in #12
Note: This is a breaking changesee wiki for guide and more details
Full Changelog: v0.6.3...v0.7.0
0.6.3
What's Changed
- bug fix for SubTest to show correct code line on error case by @jbsmith7741 in #11
Full Changelog: v0.6.2...v0.6.3
0.6.2
Bug Fix:
- IgnoreField option now works with pointers and slices.
0.6.1
Bug Fix:
- Remove panic when using
Equalfunction- Caused by go-cmp when using a private (unexported) map who's Value field is a struct with private (unexported) members
0.6.0
- Update go-cmp library to latest version
- Add EqualOpt compare function which supports customizing equal
0.5.0
Add optionally timeout for tests that tend to lockup
0.4.1
- Update go-cmp library to 0.4.1 to fix unsafe pointer error in go 1.14