github zio/zio-config v4.0.0-RC12

latest releases: v4.0.2, v4.0.1, v4.0.0...
20 months ago

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

Don't miss a new zio-config release

NewReleases is sending notifications on new releases.