Skip to content

Releases: nil-go/konf

v0.9.1

10 Mar 16:47
a5e2bb3
Compare
Choose a tag to compare

Fixed

  • flag and pflag always add the default value even the key already exists
    since konf.Exists uses empty delimiter for empty Config (#228).

v0.9.0

10 Mar 15:36
2da490f
Compare
Choose a tag to compare

Added

  • Add konf.WithCaseSensitive to support case-sensitive path match (#205).
  • Add GCP Cloud Storage Loader (#210).
  • Add AWS S3 Loader (#214).
  • Add Azure Blob Storage Loader (#217).

v0.8.1

07 Mar 00:21
752dbc8
Compare
Choose a tag to compare

Fixed

  • Config uses default tag name of decode hooks even only one of them is set (#204).

v0.8.0

06 Mar 20:37
4602798
Compare
Choose a tag to compare

Added

  • Statuser interface for providers report status of configuration loading/watching (#199).

Changed

  • [Breaking] Replace mapstructure with simpler built-in converter (#198).

Removed

  • [Breaking] Remove WithLogHandler in providers in favor of Statuser interface (#199).

v0.7.0

01 Mar 05:53
08b2240
Compare
Choose a tag to compare

Changed

  • [Breaking] Use pointer receiver for konf.Config to make empty Config useful (#187).

Removed

  • [Breaking] Remove konf.Default() to disallow loading configuration into the default Config (#180).
  • [Breaking] Remove ExplainOption from Config.Explain for always blurring sensitive information (#180).
  • [Breaking] Remove LoadOption from Config.Load (#184).

v0.6.3

23 Feb 23:27
33d2e87
Compare
Choose a tag to compare

Fixed

  • The changed values in watch may not update values in config (#171).

v0.6.2

22 Feb 03:17
212d08c
Compare
Choose a tag to compare

Fixed

  • Add ContinueOnError so watcher can continue watching even the loader fails to load the configuration (#161).

v0.6.1

22 Feb 02:02
3145592
Compare
Choose a tag to compare

Changed

  • merge loader into providers even it fails the loading. Developers can ignore the loading error
    and wait for the watching to get latest configuration (#159).

v0.6.0

20 Feb 00:26
8f28d11
Compare
Choose a tag to compare

Changed

  • [BREAKING] Change signature of valueFormatter for config.Explain (#146).

Removed

  • Remove deprecated env.WithDelimiter/flag.WithDelimiter/pflag.WithDelimiter in favor of WithNameSplitter (#137).

v0.5.0

17 Feb 02:02
de7acdf
Compare
Choose a tag to compare

Added

  • Add env.WithNameSplitter/flag.WithNameSplitter/pflag.WithNameSplitter to split the name of the flag/env (#110).
  • Add Azure App Configuration Loader (#121).
  • Add GCP Secret Manager Loader (#128).

Changed

  • Use CredentialFormatter to blur sensitive information in config.Explain (#113).

Deprecated

  • Deprecate env.WithDelimiter/flag.WithDelimiter/pflag.WithDelimiter in favor of WithNameSplitter (#110).