Skip to content

0.6.0

Choose a tag to compare

@kevincianfarini kevincianfarini released this 27 Jun 15:26
· 37 commits to trunk since this release
ac7b27e

Changed

Updated to kotlinx-datetime 0.7.0

kotlinx-datetime 0.7.0 removes kotlinx.datetime.Instant and kotlinx.datetime.Clock in favor of their stdlib counterparts under kotlin.time. kotlinx-datetime currently offers two artifacts: a normal 0.7.0 release and a 0.7.0-0.6.x-compat release. Cardiologist chose not to take the compatibility route and instead opted to update directly to 0.7,0 and change the name references from kotlinx.datetime.[Clock | Instant] to kotlin.time.[Clock | Instant] seeing as this library is not yet stable.

APIs depending on kotlin.time.Clock and kotlin.time.Instant are now marked as ExperimentalTime

Clock and Instant in the standard library are both marked as ExperimentalTime, so Cardiologist will remain experimental until both of those types stabilize. Once that occurs and kotlinx-datetime itself makes a 1.0.0 release, this library can stabilize as well.

Removed

  • kotlinx.datetime.Clock.fixedPeriodPulse has been removed. Use kotlin.time.Clock.fixedPeriodPulse.
  • kotlinx.datetime.Clock.schedulePulse has been removed. Use kotlin.time.Clock.schedulePulse.
  • kotlinx.datetime.Clock.executeAt has been removed. Use kotlin.time.Clock.executeAt.

Full Changelog

0.5.0...0.6.0