Skip to content

Upgrading org.jetbrains.kotlinx:kotlinx-datetime 0.3 to 0.4

Breaking0.3.3 → 0.4.1Breaking1Deprecated1New3Changed2Fixed1Other2

BreakingUpgrade verdict

1 breaking change.

  • Rename Clock.todayAt to Clock.todayIn for naming consistency.
  • Deprecate Instant and LocalDate arithmetic operations (plus and minus) taking DateTimeUnit without a number of units.
2 items need code or config changes
Breaking1
Rename Clock.todayAt to Clock.todayIn for naming consistency.
Clock.todayAtClock.todayIn
Deprecated1
Deprecate Instant and LocalDate arithmetic operations (plus and minus) taking DateTimeUnit without a number of units.
InstantLocalDateplusminusDateTimeUnit