Releases: uber-go/config
Releases · uber-go/config
v1.4.0
v1.3.1
Fixed
- Fix environment variable interpolation when
WithDefault
is used. - Fix support for non-scalar keys in YAML mappings (eg:
1: car
).
v1.3.0
Added
- Add a
RawSource
option that selectively disables variable expansion.
v1.2.2
v1.1.0
- 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 unmarshaler regardless of whether expansion was performed or not. - Export
Provider
constructors that takeio.Reader
s.
v1.0.2
v1.0.1
v1.0.0
First stable release: no breaking changes will be made in the 1.x series.
- [Breaking]
ValueType
andGetType
functionality is removed in favor of using
reflect.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.
1.0.0-rc1
- [Breaking]
Provider
interface was trimmed down to 2 methods:Name
andGet