PureConfig v0.14.0 Release Notes

Release Date: 2020-09-21 // 4 months ago
    • ๐Ÿ’ฅ Breaking changes
      • Cursors are now backed up by Option[ConfigValue] instead of ConfigValue. Code accessing the value of a cursor should use valueOpt instead (with None replacing null in undefined values).

Previous changes from v0.13.0

    • ๐Ÿ’ฅ Breaking changes

      • ConfigOrigin is now used in place of ConfigValueLocation to represent the origin of ConfigValues;
      • The ProductHint and CoproductHint API was changed to allow better customization of how generic derivations are performed.
    • ๐Ÿ†• New features

      • ConfigReader and ConfigWriter instances for Byte;
      • Errors are now accumulated in readers derived using the pureconfig-magnolia module;
      • The error message displayed when using FirstSuccessCoproductHint and no valid coproduct option is found now shows the errors raised when attempting to derive each option;
      • ConfigReader and ConfigWriter instances for ConfigMemorySize;
      • ConfigConvert now has a more natural constructor;
      • ConfigConvert now has the xemap combinator to transform values read and written, where the reader function may specify custom failure reasons (similar to the emap of ConfigReader).
    • ๐Ÿ› Bug fixes

      • Key names are no longer built using Symbol#toString, making them compatible with Scala 2.13.3.