Skip to content

Releases: uber-go/config

v1.4.0

20 Nov 19:58
c917157
Compare
Choose a tag to compare

Changed

  • Migrate to Go modules.

v1.3.1

22 Oct 17:51
c9c3d11
Compare
Choose a tag to compare

Fixed

  • Fix environment variable interpolation when WithDefault is used.
  • Fix support for non-scalar keys in YAML mappings (eg: 1: car).

v1.3.0

29 Aug 20:45
c37f2f8
Compare
Choose a tag to compare

Added

  • Add a RawSource option that selectively disables variable expansion.

v1.2.2

12 Jul 18:43
Compare
Choose a tag to compare

Changed

  • Undo deprecation of NewProviderGroup.

Fixed

  • Handle empty sources correctly in NewProviderGroup.

v1.1.0

28 Sep 23:22
Compare
Choose a tag to compare
  • 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 take io.Readers.

v1.0.2

17 Aug 18:19
Compare
Choose a tag to compare

Fixed populate panic for a nil pointer.

v1.0.1

04 Aug 23:19
Compare
Choose a tag to compare

Fixed unmarshal text on missing value.

v1.0.0

31 Jul 20:13
Compare
Choose a tag to compare

First stable release: no breaking changes will be made in the 1.x series.

  • [Breaking] ValueType and GetType 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

26 Jun 18:13
Compare
Choose a tag to compare
1.0.0-rc1 Pre-release
Pre-release
  • [Breaking] Provider interface was trimmed down to 2 methods: Name and Get

v0.1.0

22 Jun 17:58
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

First beta release