Releases: actforgood/xconf
Releases · actforgood/xconf
v1.9.0
Upgraded linter, github actions, dependencies.
Full Changelog: v1.8.0...v1.9.0
v1.8.0
What's Changed
- Upgraded dependencies, github workflow go1.21, linter
Full Changelog: v1.6.0...v1.8.0
v1.7.0
What's Changed
- Bump github.com/pelletier/go-toml/v2 from 2.0.5 to 2.0.6 by @dependabot in #14
- Upgraded dependencies, github workflow go1.20
Full Changelog: v1.6.0...v1.7.0
v1.6.0
What's Changed
- 3rd party packages upgrades
- go version bump from 1.17 to 1.18!
- documentation enhancements
Full Changelog: v1.5.0...v1.6.0
v1.5.0
- Added Go
FlagSet
support throughFlagSetLoader
- Added TLS support for
Etcd
throughEtcdLoaderWithTLS
Full Changelog: v1.4.0...v1.5.0
v1.4.0
- Added TOML support
Full Changelog: v1.3.0...v1.4.0
v1.3.0
- Added
FileLoader
- factory for<JSON|YAML|Ini|DotEnv|Properties>FileLoader
s based on file extension - Deprecated
IniFileLoaderWithSectionKeyFunc
Full Changelog: v1.2.0...v1.3.0
v1.2.0
This release does not contain functionality changes.
- Changed license copyright
- Documentation enhancements
- Supported min go version is now 1.17, not 1.16.
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
- Bump google.golang.org/grpc from 1.48.0 to 1.49.0 by @dependabot in #3
- Bump github.com/actforgood/xlog from 1.0.0 to 1.1.0 by @dependabot in #1
- Bump gopkg.in/ini.v1 from 1.66.6 to 1.67.0 by @dependabot in #2
New Contributors
- @dependabot made their first contribution in #3
Full Changelog: v1.0.0...v1.1.0
v1.0.0
Initial release.
Loader
contractEnvLoader
- loads environment variablesDotEnvFileLoader
- loads configuration from a .env fileJSONFileLoader
- loads json configuration from a fileJSONReaderLoader
- loads json configuration from a io.ReaderYAMLFileLoader
- loads yaml configuration from a fileYAMLReaderLoader
- loads yaml configuration from a io.ReaderIniFileLoader
- loads ini configuration from a filePropertiesFileLoader
- loads java style properties configuration from a filePropertiesBytesLoader
- loads java style properties configuration from a bytes sliceConsulLoader
- loads json/yaml/plain configuration from a remote Consul KV StoreEtcdLoader
- loads json/yaml/plain configuration from a remote Etcd KV StorePlainLoader
- explicit configuration providerMultiLoader
- loads (and merges, if configured) configuration from multiple loadersFilterKVLoader
- filters other loader's configurations (based on keys and / or their values)AlterValueLoader
- changes the value for a configuration keyIgnoreErrorLoader
- ignores the error returned by another loaderFileCacheLoader
- caches configuration from a[X]FileLoader
FlattenLoader
- creates easy to access nested configuration leaf keys symlinksAliasLoader
- creates aliases for other keys.
Config
contractDefaultConfig
- uses a
Loader
to retrieve configurations - can be enabled to reload configurations interval based, and observers can be notified of changes
- uses a
MockConfig
for UTNopConfig
- no-operation config
LogLevelProvider
- adapter for getting log level for axlog
logger from aConfig