PureConfig v0.11.0 Release Notes
Release Date: 2019-05-09 // almost 5 years ago-
๐ Support for Scala 2.13 (RC1) was introduced.
๐ฅ Breaking changes
- The default transformation in
FieldCoproductHint
changed from converting class names to lower case to converting them to kebab case (e.g.ConfigOption
is converted toconfig-option
). The old behavior can be retained by putting in scope animplicit def coproductHint[T] = new FieldCoproductHint[T]("type") { override def fieldValue(name: String): String = name.toLowerCase }
.
- The default transformation in
๐ New features
- Added
deriveEnumerationReader
,deriveEnumerationWriter
andderiveEnumerationConvert
to thepureconfig.generic.semiauto
package, allowing the derivation of readers and writers for enumerations encoded as sealed traits of case objects. As a consequence, theEnumCoproductHint
is now deprecated in favor of these new methods; CoproductHint
now exposes anoOptionFound
method allowing implementations to configure the failure reasons given when no option for a sealed family was able to be read.
- Added