v3.0.0 - 2023-04-29
- Added
LoadError
to be returned when loading fails. #17 - Added
PostLoadError
to be returned when a config struct'sPostLoad
hook fails. #17 - Added
SerializeError
to be returned when value serialization into a config struct field fails. #17
Config.PostLoad
was removed from the public API. #17
- Config struct
PostLoad
hooks are now automatically called byConfig.Load
. #17
v2.0.1 - 2022-10-10
- Added
WithConfig
andFromContext
. #15
v2.0.0 - 2021-05-31
- Added
Describe
method toConfig
interface. #8 - Added
WithLogger
andWithMaskedKeys
to replaceNewLoggingConfig
. #11
- Split
Load
method in theConfig
interface intoLoad
andPostLoad
methods. #7 - The
Config
interface is now a struct with the same name and set of methods. #12
v1.2.1 - 2020-09-30
- Removed dependency on aphistic/sweet by rewriting tests to use testify. #5
v1.2.0 - 2020-04-01
- Added
FlagSourcer
that reads configuration values from the command line. #3 - Added
Init
method toConfig
andSourcer
. #4
v1.1.0 - 2019-09-05
- Added options to supply a filesystem adapter to glob, file, and directory sourcers. #2
v1.0.0 - 2019-06-17
- Migrated from efritz/zubrin.