- Expand functions transform a special sequence $$ to literal $.
- The underlying objects encapsulated by config.Value types will now have the types determined by the YAML unmarshaller regardless of whether expansion was performed or not.
- Fixed populate panic for a nil pointer.
- Fixed unmarshal text on missing value.
First stable release: no breaking changes will be made in the 1.x series.
- [Breaking]
ValueType
andGetType
functionality is removed in favor of usingreflect.Kind
. - Skip populating function and value types instead of reporting errors.
- [Breaking]
Value.Timestamp
is private, use Value.LastUpdated instead. - [Breaking] Use semantic version paths for yaml and validator packages.
- Let user to skip loading command line provider via
commandLine
parameter. - [Breaking] Most of the
Provider
constructors return an error instead of panics. - [Breaking]
Value.WithDefault
returns an error when a default can't be used. - [Breaking] Try and As conversion helpers are removed in favor of using other cast libraries.
- [Breaking] Removed
Value.IsDefault
method. - [Breaking] Removed Load* functions.
- [Breaking] Unexport NewYAMLProviderFromReader* functions.
- [Breaking]
NewProviderGroup
returns an error.
- [Breaking]
Provider
interface was trimmed down to 2 methods:Name
andGet