go-cmp v0.4.0 Release Notes
Release Date: 2020-01-07 // over 2 years ago-
โ Added features:
- (#85) The comparison logic now has cycle detection and can now handle graphs.
- (#176) The
cmp.Exporter
option provides finer-grained control over exactly what types to permit unexported field access on. - (#158)
cmpopts.EquateApproxTime
provides the ability to compare timestamps with looser precision. - (#178)
cmpopts.EquateErrors
provides the ability to compare error values using the newerrors.Is
semantics from Go 1.13.
๐ Bug fixes:
- ๐ (#169) Use of
unsafe.Pointer
has been fixed to comply with stricter pointer rules for Go 1.14.