Kotlin 1.4
See original GitHub issueHello! Thank you for your project. Now Kotlin 1.4.0 Release Candidate is available and kotlin-serialization contains a lot of breaking changes.
For example, I have this issue:
java.lang.NoClassDefFoundError: kotlinx/serialization/PrimitiveKind$STRING
at com.github.jershell.kbson.ObjectIdSerializer.<clinit>(Serializers.kt:115)
at org.litote.kmongo.serialization.KMongoSerializationRepository.<clinit>(KMongoSerializationRepository.kt:102)
at org.litote.kmongo.serialization.SerializationCodec.encode(SerializationCodec.kt:59)
It’s related to kbson project and I already filed an issue, but probably kmongo contains some issues too.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
What's new in Kotlin 1.4
Kotlin 1.4 uses a new, more powerful type inference algorithm. This new algorithm was already available to try in Kotlin 1.3 by specifying...
Read more >Kotlin releases
1.4.10. Released: September 7, 2020. Release on GitHub. A bug fix release for Kotlin 1.4.0. Learn more about Kotlin 1.4.0. ; 1.4.0. Released:...
Read more >What's new in Kotlin 1.4.30
Kotlin 1.5.0 is going to deliver new language features – JVM records support, sealed interfaces, and Stable inline classes. In Kotlin 1.4.30, ...
Read more >What's new in Kotlin 1.4.20
Release date: 23 November 2020. Kotlin 1.4.20 offers a number of new experimental features and provides fixes and improvements for existing ...
Read more >Compatibility guide for Kotlin 1.4
Short summary: Kotlin 1.4 will outlaw auto operator contains coming from the implementors of java.util.Map written in Java.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’m going to commit a first working version. Sadly, some minor breaking changes for kotlinx.serialization (
@SerialNameis no longer usable by reflection at runtime because new@Retention(AnnotationRetention.BINARY)annotation on it) but everything is looking ok and I will document the workarounds.KMongo 1.4 compatible is in the snasphot. I wait for the official announcement before releasing a KMongo version (I don’t want to maintain a 1.3 version after switching to 1.4)
kotlin 1.4 is now released: https://github.com/JetBrains/kotlin/releases I will release a new version just after kbson 0.4.0 😉