v4.0.0-RC12
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
intoDeriveConfig
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