What’s the motivation that datetime 0.3.3 now targ...
# kotlinx-datetime
p
What’s the motivation that datetime 0.3.3 now targets a beta kotlin release? This causes bugs from the kotlin beta preventing us from updating kotlinx date time
Copy code
> Task :uniqueId:linkDebugTestIosSimulatorArm64 FAILED
e: Compilation failed: Unexpected IrType kind: KIND_NOT_SET

 * Source files: 
 * Compiler version info: Konan: 1.6.21 / Kotlin: 1.6.21
 * Output kind: STATIC_CACHE

e: java.lang.IllegalStateException: Unexpected IrType kind: KIND_NOT_SET
👀 1
🤷‍♂️ 1
i
There was an incompatible change in the experimental part of kotlin.time package in the 1.7.0 stdlib and kotlinx-datetime used that part of API. In order to provide a version of kotlinx-datetime compatible with 1.7.0-Beta we have released a new version 0.3.3. If you have Kotlin 1.6.x in your project, you should use the version 0.3.2 of the library.
p
But there are more changes with LocalTime etc
i
These are not released yet
p
Imo the correct approach would be to release a 0.3.2 with stable kotlin and 0.3.2-kotlin-betax
4
Just like ksp does