question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hello! 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:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
zigzagocommented, Aug 16, 2020

I’m going to commit a first working version. Sadly, some minor breaking changes for kotlinx.serialization (@SerialName is 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)

1reaction
zigzagocommented, Aug 14, 2020

kotlin 1.4 is now released: https://github.com/JetBrains/kotlin/releases I will release a new version just after kbson 0.4.0 😉

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found