Upgrading org.jetbrains.kotlinx:kotlinx-datetime 0.3 to 0.4
Breaking0.3.3 → 0.4.1Breaking1Deprecated1New3Changed2Fixed1Other2
BreakingUpgrade verdict
1 breaking change.
In plain terms
- 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.
Must act 2 items need code or config changes
What you must change
Breaking1
Rename Clock.todayAt to Clock.todayIn for naming consistency.
Clock.todayAtClock.todayInDeprecations to plan for
Deprecated1
Deprecate Instant and LocalDate arithmetic operations (plus and minus) taking DateTimeUnit without a number of units.
InstantLocalDateplusminusDateTimeUnit