
missing kotlinx/datetime/Instant
j10a1n15 opened this issue ยท 6 comments
Latest release stopped including Instant (and likely more classes)
According to https://github.com/Kotlin/kotlinx-datetime/releases/tag/v0.7.0 this is expected....
Remove kotlinx.datetime.Instant and kotlinx.datetime.Clock in favor of kotlin.time.Instant
Im not really too sure how we should handle this, I dont think there is much we can do.
There is a 0.7.1-0.6.x-compat
version we could maybe use, my worry with this is its not a long term solution and will just cause the same problem in a few months. Ideally the compat would have been a seperate artifact we could include for the forseeable future.
How many mods does this affect, are they all able to update?
I have marked the new version as a beta to reduce the number of players that will download it.
According to Kotlin/kotlinx-datetime@
v0.7.0
(release) this is expected....Remove kotlinx.datetime.Instant and kotlinx.datetime.Clock in favor of kotlin.time.Instant
oh i see, ill update my mods to not use them anymore
After discussion on discord we wont be doing anything to maintain backwards compatibility with these experimental koltin libraries. We proboably shouldn't have added them in the first place, but its too late to remove them.
I will keep this version as a beta for a few weeks to allow time for mods to update. If you do use these alpha libraries it may be best to set a depedency on the specific minor version you are using.