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
Vampire
02/16/2023, 6:07 PM
1.4.1 is the latest available version, now guess. 😄
u
undermark5
02/16/2023, 6:10 PM
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.
Vampire
02/16/2023, 6:16 PM
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
undermark5
02/16/2023, 6:33 PM
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.