:tada: We’ve released kotlinx.rpc 0.4.0! This late...
# kotlinx-rpc
a
🎉 We’ve released kotlinx.rpc 0.4.0! This latest version brings API changes and more: •
@Rpc
annotation and
RemoteService
interface • Support for Kotlin 2.0.20 and 2.0.21 • Removal of Kotlin support prior to 2.0 Update now! 👇 https://github.com/Kotlin/kotlinx-rpc/releases/tag/0.4.0
🎉 11
kodee happy 5
K 2
d
Yes! I'm really excited, RPC is back on in my K
2.0.x
personal project - woohoo! Thanks for your hard work to bring it back @Alexander Sysoev 🙂
thank you color 1
p
Great to see RPC for Kotlin 2.0.x again! Really an exciting library to follow. @Alexander Sysoev I also enjoyed watching the recording of your interesting talk at KotlinConf 24. Maybe a typo in https://kotlin.github.io/kotlinx-rpc/0-4-0.html The mentioned link in this note 'The reasoning behind this update is that the Kotlin Compiler Plugin API has changed.' to https://youtrack.jetbrains.com/issue/KT-72654 cannot be found.
a
Hey @Paul at Avans Breda! Thank you for your feedback!
cannot be found.
huh, that's interesting, the visibility is internal for some reason, I'll check that
Should be fixed now
👍 1
a
Great work!
thank you color 1
I'm excited to try it out!
🔥 1
d
@Alexander Sysoev ⚠️ On trying this out - it seems release
0.4.0
may be broken?
At the point of invoking any service on the client side; I get a
ClassNotFoundException
on
MyRpcService$$rpcServiceStub
.
Of course I suspected my project setup first, but checking out the 'all platforms sample' from
kotlinx.rpc
repo yields the same result.
Verifed both with JVM/Desktop (error in dialog) and WASM/JS clients (error appearing in Chrome console).
Can anyone else confirm this result before I raise a bug in GitHub, to rule out any environmental quirks on my setup? I tried changing JDKs also, 17 & 21 same result.
a
That is concerning, I'll check it out later in the evening, thanks for the heads up
blob ty sign 1
@darkmoon_uk I can not reproduce it in
all-platforms-sample
Did you change anything there?
d
plus green Humble apologies @Alexander Sysoev I don't know why but after sleep, coffee and a deep clean of all caches inc. Gradle everything worked again... Sorry for the disturbance.
a
Oh, that's alright, glad everything works!