Releases: hedzr/evendeep
Releases · hedzr/evendeep
v0.4.8
bump to v0.4.8 - fixed: check unexported field recursively now - improved some lines for better context logging in debugging - little changes
v0.4.7
bump to v0.4.7
v0.4.3
bump to v0.4.3 - v0.4.3 - fixed sometimes a ptr to new slice has not been cleaned in time
v0.4.1
bump to v0.4.1 - v0.4.1 - public `dbglog` subpackage, added Err/Wrn/Colored - added ability to disable dbglog.Log at runtime - improved internal functions (tool.Valfmt, cl.SetUnexportedFieldIfMap, ...) - improved dbglog.Log outputting - fixed bugs
v0.4.0
bump to v0.4.0 - v0.4.0 - fixed autonew when copying to nil member - improved diff on chan - better logging (verbose) with colors
v0.3.1
bump to v0.3.1 - v0.3.1 - changed: `dbglog.LogValid` is constant now - improved code style - DeepCopy: - passing nil parameters can return safely without panic any more - DeepDiff: - imp/fea: `diff.WithStripPointerAtFirst` - locate the final objects and compare them - imp/fea: `diff.WithTreatEmptyStructPtrAsNilPtr` - when comparing two pointers in struct field loop, assume nil and pointer to an empty struct is identical - imp/fea: `diff.WithCompareDifferentTypeStructs` - you can compare two struct with different type, their fields could be `diff` by its name - imp/fea: `diff.WithIgnoreUnmatchedFields` - this is default option for `diff.WithCompareDifferentTypeStructs(true)` mode, the field names unmatched couldn't take effects to comparing result - imp/fea: `diff.WithCompareDifferentSizeArrays` - `[2]string{"1","2"}` and `[3]string{"1","2",<empty>}` can be assumed as identity - By default, - they're assumed as identity: nil and zero array/map. - they're not identical: nil ptr to struct, and ptr to empty struct (can be overridden by `WithTreatEmptyStructPtrAsNilPtr`). - the slice elements' order is sensitive, except you're `diff` with `WithSliceOrderedComparison(true)`.
v0.2.56
bump to v0.2.56 - changed: `InvalidStrategy` is -1 now since we got untyped int overflow error in auto-gen code by stringer
v0.2.53
bump to v0.2.53 - improved code style, format, ... - to fore-prevent low-performance and large-memory usage when retrieve expanded fields from a very large struct, use `cms.ByOrdinal` instead default `cms.ByName` - added new strategy `cms.Flat` and field tag to identify a pointer should be shallow copy to target field, ```go package main type A struct { field1 *ComplexStruct `copy:",flat"` } ```
v0.2.51
bump to v0.2.51 - improved code style, format, ... - review most of testcases - improved/fixed edge conditions - added `duff,WithStripPointerAtFirst(b)`, `diff.WithSliceNoOrder(b)` options
v0.2.50
bump v0.2.50