PureConfig v0.11.0 Release Notes

Release Date: 2019-05-09 // over 2 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 to config-option). The old behavior can be retained by putting in scope an implicit def coproductHint[T] = new FieldCoproductHint[T]("type") { override def fieldValue(name: String): String = name.toLowerCase }.
    • ๐Ÿ†• New features

      • Added deriveEnumerationReader, deriveEnumerationWriter and deriveEnumerationConvert to the pureconfig.generic.semiauto package, allowing the derivation of readers and writers for enumerations encoded as sealed traits of case objects. As a consequence, the EnumCoproductHint is now deprecated in favor of these new methods;
      • CoproductHint now exposes a noOptionFound method allowing implementations to configure the failure reasons given when no option for a sealed family was able to be read.