Skip to content

v4.0.0-RC12

Compare
Choose a tag to compare
@afsalthaj afsalthaj released this 08 Mar 11:29
· 64 commits to series/4.x since this release

Updates

  • Fix issue in reading boolean values from HOCON
  • Simplify defining custom DeriveConfig instance, by adding mapAttempt into DeriveConfig in both scala2 and scala3

Example:

implicit val zonedDateTimeParse: DeriveConfig[ZonedDateTime] = DeriveConfig[String].mapAttempt(ZonedDateTime.parse)

// instead of
implicit val zonedDateTimeParse: DeriveConfig[ZonedDateTime] = DeriveConfig(deriveConfig[String].mapAttempt(ZonedDateTime.parse))
  • Update documentations