Does it matter which version of the runtime librar...
# serialization
u
Does it matter which version of the runtime library is used (e.g. kotlinx-serialization-json) with a specific version of the Kotlin Compiler? I know the plugin version is supposed to match the Kotlin version, but does the runtime library also require this? that is should I be using kotlinx-serialization-json:1.4.0 with Kotlin 1.7.10?
v
1.4.1 is the latest available version, now guess. 😄
u
Right, but does it matter which version of the runtime is used? or is it just the plugin that needs to match? Perhaps I’m getting things confused, but at one point I thought that I had seen a list of known stable/compatible versions of the libraries for each version of Kotlin.
And yes, the library must be running on a supported Kotlin version like with any other library, but the versions do not have to match exactly, they have separate release cycles.
Look at the docs or release notes of the library what is supported. But I think 1.4 should run fine on 1.7
u
Ah, so I’m not going crazy, it was indeed a thing, but since has gone away. Ok, yes, it looks like 1.4.0 is using 1.7.10 by default, so should be compatible.