All Versions
11
Latest Version
Avg Release Cycle
42 days
Latest Release
1656 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v0.23.0 Changes
October 12, 2020Major Features and Improvements
- ๐ feature: support to load keys as little camel case by default
- ๐ feature: support empty YAML/JSON files
- ๐ feature: support to interpolate Byte/Short/Int/Long/BigInteger/Char
- ๐ feature: support to merge sources with different features
- ๐ feature: support to aggregate sources from different layers
- ๐ fix: support for non-map based StdSerializer
- ๐ fix: discover all official providers automatically
๐ฅ Breaking Changes
- All keys in sources are loaded as little camel case by default, e.g.,
tcpPort
andtcp_port
in the source are treated as the same key. You can useconfig.disable(Feature.LOAD_KEYS_AS_LITTLE_CAMEL_CASE)
to disable this change.
๐ Deprecated
- ๐
fromXXX
APIs on providers are removed use the new shorter APIs instead. E.g., you can usefile
instead offromFile
.
-
v0.22.1
December 24, 2019 -
v0.22.0 Changes
December 22, 2019๐ feature: support flatten env source (#41)
If you have the following environment variables:
DATABASE=foo.example.com DATABASE\_USER=john DATABASE\_PASS=doe
You can load them without any name conversion by using
config.from.env(nested=false)
:object Root : ConfigSpec("") { val DATABASE by required\<String\>() val DATABASE\_USER by required\<String\>() val DATABASE\_PASS by required\<String\>() }Config { addSpec(Root) }.from.env(nested=false)
๐ fix: support numeric keys in source
Now you can use numeric keys in source (use YAML as example):
tree: 1: myVal: true
-
v0.21.0 Changes
November 25, 2019โฌ๏ธ A serious configuration error in Gradle has been fixed in this version. This bug will cause compilation error when using
konf
without simultaneously declaring dependency tokonf-core
since v0.15. Please upgrade to this version if you are using v0.15~v0.20.0. -
v0.20.0 Changes
September 15, 2019- ๐ feature: support to cast config to value with
config.toValue<T>()
- ๐ fix:
watchFile
throws exception when using relative path - ๐ fix: parsing of environment variables is stricter now
- ๐ feature: support to cast config to value with
-
v0.19.0 Changes
September 09, 2019Major Features and Improvements
- ๐ feature: support default providers API
- ๐ feature: support substituted source
- ๐ feature: all sources are substituted before loaded into config by default
๐ฅ Breaking Changes
- Since all sources are substituted before loaded into config by default, all path variables will be substituted now. You can use
config.disable(Feature.SUBSTITUTE_SOURCE_BEFORE_LOADED)
to disable this change.
๐ Deprecated
- ๐
fromXXX
APIs on providers are deprecated now, use the new shorter APIs instead. E.g., you can usefile
instead offromFile
.
-
v0.18.0 Changes
September 07, 2019- ๐ feature: migrate to tree-based config
-
v0.17.1 Changes
September 05, 2019- ๐ fix:
Loader#watchFile
doesn't work on macOS - โก๏ธ build: update dependencies
- ๐ build: support Github Actions
- ๐ build: disable Aliyun Maven repository by default
- ๐ fix:
-
v0.17.0 Changes
September 03, 2019Major Features and Improvements
- ๐ feature: migrate to tree-based source APIs
- ๐ feature: support merge operation for sources
- ๐ feature: support
withFallback
API for config spec - ๐ fix: fix formatting bug in toml4j's writer when map is in nested list
- ๐ fix: filter invalid variables in environment
- ๐จ refactor: unify info and context in Source API
๐ฅ Breaking Changes
๐ After migrated to tree-based source APIs, many deprecated APIs are removed, including:
Source
: allisXXX
andtoXXX
APIsConfig
:layer
,addSource
andwithSourceFrom
-
v0.16.0 Changes
August 26, 2019๐ feature: support JavaScript source using GraalVM JavaScript