Releases: elastic/go-ucfg
Releases · elastic/go-ucfg
v0.8.6
Added
- Added new ReplaceArrValues Option to replace arrays and merge maps. #193
Full Changelog: v0.8.5...v0.8.6
v0.8.5
Added
- Added new parse.Config flag to disable using commas to imply arrays. #192
Changed
- The parse.NoopConfig disables using commas to imply arrays by default. #192
Full Changelog: v0.8.4...v0.8.5
v0.8.4
Fixed
- Fixed panic on zero Value while processing a collection of interfaces. #159
- Preserve empty arrays when reifying #188
v0.8.3
Added
- Added ability to adjust merging behavior based on field names in configuration. Using
ucfg.FieldMergeValues
, ucfg.FieldReplaceValues
, ucfg.FieldAppendValues
, and ucfg.FieldPrependValues
. #151
v0.8.2
Fixed
- Fixed nonzero validator to not fail on nil array or slice. #147
- Fixed nonzero validator to validate maps.
- Fixed required validator to validate maps.
v0.8.1
Fixed
- Prevent Validate from being called when value is a pointer or interface and is nil. #144
v0.8.0
Added
- Add support for HJSON. #131
- Add new parse.Config to adjust parsing of varibles returned by a Resolve. #139
- Add call to InitDefaults when map, primitives, or structs implement Initializer interface during Unpack. #104
Changed
- Moved internal/parse to parse module. #139
- Add parse.Config to resolvers return. #139
Fixed
- Call Validate on custom slice types. #133
- Call Validate on custom map types. #136
- Disabled object parsing of environment variables. #139
- Apply validation to defaults passed into Unpack when Config doesn't contain a value. #42
v0.7.0
Added
- Add (*Config).Has. #127
- Add (*Config).Remove. #126
Removed
- Remove CI and support for go versions <1.10. #128