- Added
NilPointersAreZero
option: causes a nil pointer to be equal to a zero value (PR #61) (@seveas) - Updated test matrix to go1.22, go1.21, and go1.20
- Add optional flags:
Equal(a, b, flags..)
andFLAG_IGNORE_SLICE_ORDER
(issue #28, PR #56) (@alenkacz)
- Fixed issue #45: Panic when comparing errors in unexported fields (PR #54) (@seveas)
- Fixed issue #46: Functions are handled differently from reflect.DeepEqual (PR #55) (@countcb)
- Updated test matrix to go1.17, go1.18, and go1.19 and moved testing to GitHub Actions
- Updated test matrix to go1.15, go1.16, and go1.17
- Added SECURITY.md and GitHub code analysis
- Fixed issue #39: Confusing diff when comparing distinct types with the same name (PR #44)
- Added
NilMapsAreEmpty
variable which causes a nil map to equal an empty map (PR #43) (@yalegko)
- Added
NilSlicesAreEmpty
variable which causes a nil slice to be equal to an empty slice (PR #27) (@Anaminus)
- Added `deep:"-"` structure field tag to ignore field (PR #38) (@flga)
- Fixed issue #31: panic on typed primitives that implement error interface
- Enabled Go module (@radeksimko)
- Changed supported and tested Go versions: 1.10, 1.11, and 1.12 (dropped 1.9)
- Changed Error equality: additional struct fields are compared too (PR #29) (@andrewmostello)
- Fixed typos and ineffassign issues (PR #25) (@tariq1890)
- Fixed diff order for nil comparison (PR #16) (@gmarik)
- Fixed slice equality when slices are extracted from the same array (PR #11) (@risteli)
- Fixed test spelling and messages (PR #19) (@sofuture)
- Fixed issue #15: panic on comparing struct with anonymous time.Time
- Fixed issue #18: Panic when comparing structs with time.Time value and CompareUnexportedFields is true
- Fixed issue #21: Set default MaxDepth = 0 (disabled) (PR #23)
- Fixed issue #12: Arrays are not properly compared (@samlitowitz)
- First release