Releases: uber-go/config
Releases · uber-go/config
v1.4.0
v1.3.1
Fixed
- Fix environment variable interpolation when
WithDefaultis used. - Fix support for non-scalar keys in YAML mappings (eg:
1: car).
v1.3.0
Added
- Add a
RawSourceoption 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.Valuetypes will now have the types determined by the YAML unmarshaler regardless of whether expansion was performed or not. - Export
Providerconstructors that takeio.Readers.
v1.0.2
v1.0.1
v1.0.0
First stable release: no breaking changes will be made in the 1.x series.
- [Breaking]
ValueTypeandGetTypefunctionality is removed in favor of using
reflect.Kind. - Skip populating function and value types instead of reporting errors.
- [Breaking]
Value.Timestampis private, use Value.LastUpdated instead. - [Breaking] Use semantic version paths for yaml and validator packages.
- Let user to skip loading command line provider via
commandLineparameter. - [Breaking] Most of the
Providerconstructors return an error instead of panics. - [Breaking]
Value.WithDefaultreturns 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.IsDefaultmethod. - [Breaking] Removed Load* functions.
- [Breaking] Unexport NewYAMLProviderFromReader* functions.
- [Breaking]
NewProviderGroupreturns an error.
1.0.0-rc1
- [Breaking]
Providerinterface was trimmed down to 2 methods:NameandGet