Skip to content

Upgrading org.jetbrains.kotlinx:kotlinx-datetime 0.5 to 0.6

Breaking0.5.0 → 0.6.2Breaking3Deprecated2New6Changed2Fixed6Other7

BreakingUpgrade verdict

3 breaking changes.

  • Remove stat usages to comply with Apple's new publishing requirements.
  • Breaking change: forbid parsing Instant values without the second-of-minute component on the JVM and JS, fixing inconsistency with Native.
  • Breaking change: use the fully qualified name of classes in the JSON serializers.
  • Deprecate DatePeriod.plus and DateTimePeriod.plus with a warning.
5 items need code or config changes
Breaking3
Remove stat usages to comply with Apple's new publishing requirements.
stat
Breaking change: forbid parsing Instant values without the second-of-minute component on the JVM and JS, fixing inconsistency with Native.
Instant
Breaking change: use the fully qualified name of classes in the JSON serializers.
Deprecated2
Deprecate DatePeriod.plus and DateTimePeriod.plus with a warning.
DatePeriod.plusDateTimePeriod.plus
Deprecate Clock.asTimeSource with a warning.
Clock.asTimeSource