Skip to content

Conversation

@ovitrif
Copy link

@ovitrif ovitrif commented Jan 25, 2026

Summary

Upgrade Kotlin and related dependencies to 2.x for compatibility with consuming apps. Add serialization support to JVM bindings for parity with Android.

Changes

Dependency Before After
Kotlin 1.9.20 2.2.0
kotlinx-serialization-json 1.6.0 1.9.0
kotlinx-coroutines-core 1.6.4 1.10.2
atomicfu 0.23.1 0.27.0
Gradle (JVM) 7.6 8.0

JVM Bindings

  • Added uniffi-jvm.toml with generate_serializable_types = true
  • Updated bindgen script to use gobley-uniffi-bindgen
  • Added serialization dependencies to build.gradle.kts
  • Fixed version property on lib submodule for JitPack POM generation

Release

@ovitrif ovitrif force-pushed the feat/kotlin-serialization-update branch from 3b1dc8e to c5f5e10 Compare January 26, 2026 00:07
@ovitrif ovitrif changed the title fix: kotlinx-serialization version mismatch fix: kotlinx-serialization version mismatch & jvm bindings Jan 26, 2026
@ovitrif ovitrif changed the title fix: kotlinx-serialization version mismatch & jvm bindings fix: kotlinx-serialization version & jvm bindings Jan 26, 2026
@ovitrif ovitrif changed the title fix: kotlinx-serialization version & jvm bindings fix: kotlinx-serialization version + jvm bindings Jan 26, 2026
@ovitrif ovitrif changed the title fix: kotlinx-serialization version + jvm bindings fix: kotlin serialization version and jvm bindings Jan 26, 2026
@ovitrif ovitrif force-pushed the feat/kotlin-serialization-update branch from 20faf67 to 5fa909a Compare January 26, 2026 12:17
@ovitrif
Copy link
Author

ovitrif commented Jan 26, 2026

@ben-kaufman Tested serialization and jvm in bitkit-android, can be merged

@ben-kaufman
Copy link

Should version be rc.16 or rc.17? I see last release says rc.17

Base automatically changed from feat/jitpack-jvm to main January 26, 2026 15:19
@ovitrif
Copy link
Author

ovitrif commented Jan 26, 2026

Should version be rc.16 or rc.17? I see last release says rc.17

17, this was on top of the old one. Tested in android using 17 👍🏻

@ovitrif ovitrif merged commit 7b89bda into main Jan 26, 2026
@ovitrif ovitrif deleted the feat/kotlin-serialization-update branch January 26, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants