File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -422,6 +422,8 @@ Here is the recommended procedure for migrating from `kotlinx-datetime` version
422
422
for ` kotlinx.datetime.Instant ` or ` kotlinx.datetime.Clock ` , or maybe even fail to compile.
423
423
In that case, please check if the affected libraries you have as dependencies have already published a new release
424
424
adapted to use ` Instant ` and ` Clock ` from ` kotlin.time ` .
425
+ * If you use ` kotlinx-serialization ` to serialize the ` Instant ` type, update that dependency to use
426
+ [ 1.9.0] ( https://github.com/Kotlin/kotlinx.serialization/releases/tag/v1.9.0 ) or a newer version.
425
427
* If all else fails, use the * compatibility release* of ` kotlinx-datetime ` .
426
428
Instead of the version ` 0.7.0 ` , use ` 0.7.0-0.6.x-compat ` .
427
429
This artifact still contains ` kotlinx.datetime.Instant ` and ` kotlinx.datetime.Clock ` ,
You can’t perform that action at this time.
0 commit comments