PureConfig v0.7.1 Release Notes
Release Date: 2017-05-28 // almost 7 years ago-
- ๐ New features
ConfigReader
,ConfigWriter
andConfigConvert
now have combinators such asmap
,flatMap
andcontramap
, making them easier to compose;- New mechanism to read and write value classes. The readers and writers of the inner type are used instead of the ones for products;
- New
EnumCoproductHint
for sealed families of case objects where objects are written and read as strings with their type names; ConfigReader
andConfigWriter
instances forPattern
andRegex
;ConfigReader
andConfigWriter
instances forjava.time.Duration
;ConfigReader
andConfigWriter
forjava.io.File
;ConfigReader
andConfigWriter
for arbitrary Javaenum
s;- Improved error messages when a failure occurs reading a config;
- ๐ Bug fixes
Duration.Undefined
is correctly handled when reading and writing configurations [#184];loadConfig
method now handles properly cases where a requested config file cannot be read and when a provided namespace doesn't exist.
- ๐ New features