PureConfig v0.8.0 Release Notes
Release Date: 2017-08-27 // over 6 years ago-
๐ New features
loadConfig
methods now allow loading any type from a config when using a namespace, and not only types represented by config objects;ConfigFieldMapping
now has awithOverrides
method that allows users to easily define exceptional cases to an existing mapping;ConfigReader
andConfigWriter
forjava.math.BigDecimal
andjava.math.BigInteger
;ConfigReader
forBoolean
s allows reading them from "yes", "no", "on" and "off" strings;ConfigReader
andConfigWriter
forshapeless.HList
;ConfigReader
for Scala tuples can now read fromConfigLists
s;- Added an experimental way to debug when a converter fails to be derived because an implicit is not found. See the documentation for more information on how to enable it.
๐ฅ Breaking changes
ConfigWriter
for tuples now writes them asConfigList
s, instead of aConfigObject
with keys_1
,_2
, and so on.
๐ Bug fixes
- A breaking change introduced in v0.7.1 where
loadConfigFromFiles
stopped allowing missing files was reverted; loadConfig
methods no longer throw an exception when passed a namespace where one of the keys is not a config object;- The
xmap
ofConfigConvert
and themap
method ofConfigReader
now wrap exceptions that the functions used to map might throw in aConfigReaderFailure
; FieldCoproductHint
now removes the disambiguating key from the config object before passing it to the reader of a coproduct option.
- A breaking change introduced in v0.7.1 where