Hi, I was wondering if there is any information ab...
# serialization
d
Hi, I was wondering if there is any information about when a possible patch release will be done for Kotlin Serialization? We're currently facing this bug which prevents us from updating to Kotlin 1.8.20/21, which is a major blocker for us. I see that one of the devs already implemented a fix for it (very quickly!), but I have no idea when that will be released.
o
FYI: I have changed the issue title to
NullPointerException when obtaining a serializer of a sealed base class with a self-referencing property
Since the fix is in the compiler plugin, it will require a Kotlin release. This usually takes more time than just releasing a library update. (I'm just the issue reporter, I don't have information on the current release schedule.)
d
Isn't the compiler plugin part of the kotlin serialization dependency?
o
No, it's an integral part of the Kotlin compiler. Like several other compiler plugins (
allopen
,
atomicfu
, ...).
d
Ah right, then that explains why it broke with the Kotlin update. That's too bad, I guess we'll have to wait for Kotlin 1.9
Thanks for the explanation!
o
Good news: The fix is present in today's 1.9.0-Beta release, though not mentioned in the Changelog. I have created a tracking issue for that (KT-58841).
d
Nice!