Releases: ansel1/vespucci
Releases · ansel1/vespucci
Release 2.1.0
Altered the behavior of Contains, Merge, Get, and Conflicts to more aggressively resort to deep normalization and JSON marshaling. Leads to less surprising behavior.
Changed behavior of Empty to return true if the value is empty, nil, or the zero value.
Release 2.0.0
Removed GetWithOptions, and made Get using marshaling by default, which is least surprising.
Release 1.0.2
- Fixed a bug in Contains with maps. Would return false positives
- Added Trace option to Contains, which returns information about where the containment wasn't met.
Release 1.0.1
When normalizing values using marshaling, if a value is encountered which is a slice or map, vespucci would always convert the value by copying it into a []interface{} or map[string]interface{}.
Now, it first checks whether the type implements json.Marshaler, and prefers marshaling in that case. This is mainly to support json.RawMessage values.
Release 1.0.0
- Using semantic versioning.
- Added options to Contains()
- StringContains() causes Contains() to use strings.Contains() on string values
- EmptyMapValuesMatchAny() causes Contains() to allow values in maps to match if the value is nil or the zero value of the matching type.