Skip to content

Releases: elastic/go-ucfg

v0.8.8

18 Mar 20:28
5edd2c2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.7...v0.8.8

v0.8.7

08 Mar 17:00
1f9133c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.6...v0.8.7

v0.8.6

28 Jun 12:03
3595853
Compare
Choose a tag to compare

Added

  • Added new ReplaceArrValues Option to replace arrays and merge maps. #193

Full Changelog: v0.8.5...v0.8.6

v0.8.5

11 May 18:50
afabcdb
Compare
Choose a tag to compare

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

10 Nov 15:42
Compare
Choose a tag to compare

Fixed

  • Fixed panic on zero Value while processing a collection of interfaces. #159
  • Preserve empty arrays when reifying #188

v0.8.3

20 Feb 11:48
f3ae3b2
Compare
Choose a tag to compare

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

10 Feb 14:54
ab69586
Compare
Choose a tag to compare

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

31 Jan 13:56
093a689
Compare
Choose a tag to compare

Fixed

  • Prevent Validate from being called when value is a pointer or interface and is nil. #144

v0.8.0

29 Jan 14:28
85f981a
Compare
Choose a tag to compare

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

28 Jan 11:19
0539807
Compare
Choose a tag to compare

Added

  • Add (*Config).Has. #127
  • Add (*Config).Remove. #126

Removed

  • Remove CI and support for go versions <1.10. #128