Upgrading org.jetbrains.kotlinx:kotlinx-datetime 0.5 to 0.6
Breaking0.5.0 → 0.6.2Breaking3Deprecated2New6Changed2Fixed6Other7
BreakingUpgrade verdict
3 breaking changes.
In plain terms
- 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.
Must act 5 items need code or config changes
What you must change
Breaking3
Remove stat usages to comply with Apple's new publishing requirements.
statBreaking change: forbid parsing Instant values without the second-of-minute component on the JVM and JS, fixing inconsistency with Native.
InstantBreaking change: use the fully qualified name of classes in the JSON serializers.
Deprecations to plan for
Deprecated2
Deprecate DatePeriod.plus and DateTimePeriod.plus with a warning.
DatePeriod.plusDateTimePeriod.plusDeprecate Clock.asTimeSource with a warning.
Clock.asTimeSource