Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Warnings about duplicate library name with AtomicFU are no longer present with kotlinx.coroutines 1.7.1 and AtomicFU 0.20.2, so
-Werror
can be turned on again.Using typealiases for overriding the default
Instant
serializer wasn't possible in #605 because of Kotlin/kotlinx.serialization#1895. Since this Bug was fixed in Kotlin 1.8.21, the typealiasesdev.kord.common.serialization.InstantInEpochMilliseconds
anddev.kord.common.serialization.InstantInEpochSeconds
can now be used.The changes in the public API are probably because of changes in the serialization and AtomicFU plugins with Kotlin 1.8.21. However, they are unlikely to affect anyone since only generated symbols that aren't supposed to be accessed directly were touched.