Confita Versions Save

Load configuration in cascade from multiple backends into a struct

v0.10.0

3 years ago

New features

The Vault backend now supports the Vault KV secrets engine v2. Use the new vault.NewBackendV2 to create a backend that supports it.

For some background info on Vault see https://www.vaultproject.io/docs/secrets/kv and https://www.vaultproject.io/api-docs/secret/kv.

Thanks @mopemope for the initial contribution!

v0.9.2

3 years ago

Bug fixes

  • #80 Avoiding setting values from flags backend when they aren't specified allowing confita mix environment and flags configuration.

v0.9.1

4 years ago

This fixes a downstream module dependency issue. See #83 for details.

v0.9.0

4 years ago

New feature

  • Add Amazon SSM as a backend #71

Improvements

  • Treat empty environment variables as not found (backend/env) #78
  • Use consul v1.1.0 #72
  • Add description json tags (backend/flags) #56
  • Add support of short and long flags (backend/flags) #57

v0.8.0

4 years ago

This release adds one new feature (the ability to specify alternative flag names, thanks to @ogerardin), and updates the consul dependency.

v0.7.0

4 years ago

New feature

  • Add file.NewOptionalBackend for optional file configuration #55

Bug fix

  • Now Confita stops looking for a key when it is found #64

v0.6.0

4 years ago
  • Add TOML support
  • Support Go modules
  • Bugfix to Vault backend

v0.5.1

5 years ago

Bug fix:

  • Impossible to get a variable from any backend when the flags one is specified. (#30)

v0.5.0

5 years ago
  • Load configuration from command line arguments #20
  • Support for slices #21

v0.4.0

6 years ago
  • Prefetch options to limit network round trips on etcd, Consul and Vault #10
  • Custom struct tag #18