The Kotlin Multiplatform (KMP) ecosystem moves fast. To stay at the cutting edge, ImagePickerKMP has recently undergone a major architectural upgrade in version 1.0.42, adopting the latest stable versions of Kotlin and Compose Multiplatform.
For the latest requirements and installation guides, always refer to https://imagepickerkmp.dev/.
Major Version Upgrades
The v1.0.42 release brings significant updates to the core dependencies of the library:
| Dependency | New Version | Previous Version |
|---|---|---|
| Kotlin | 2.3.20 |
2.1.x |
| Compose Multiplatform | 1.10.3 |
1.9.x |
| Ktor | 3.4.1 |
3.0.x |
| Android Gradle Plugin | 8.13.2 |
8.x |
Warning: Kotlin 2.3.x brings breaking ABI changes. Projects using Kotlin < 2.3.x will fail to compile with an "ABI version incompatible" error when using ImagePickerKMP 1.0.42.
Why the Upgrade Matters
- Performance: Kotlin 2.3.20 includes numerous compiler optimizations that result in smaller and faster binaries for both Android and iOS.
- Stability: Compose Multiplatform 1.10.3 resolves several rendering issues on iOS and Desktop, providing a smoother user experience.
- Future-Proofing: By moving to these versions, ImagePickerKMP is ready for the upcoming features in the Kotlin roadmap.
How to Upgrade Your Project
To use the latest version of ImagePickerKMP, you must update your build.gradle.kts file:
plugins {
kotlin("multiplatform") version "2.3.20"
id("org.jetbrains.compose") version "1.10.3"
}
dependencies {
implementation("io.github.ismoy:imagepickerkmp:1.0.42")
}
If your project is not yet ready for Kotlin 2.3.x, you can continue using version 1.0.41 of the library, which maintains compatibility with older Kotlin versions.
Conclusion
Staying updated is crucial for security, performance, and developer happiness. ImagePickerKMP makes it easy to leverage the power of the latest Kotlin features while maintaining a simple, unified API for media picking.
Explore the full API reference and new features at https://imagepickerkmp.dev/.
References
[1]: ImagePickerKMP Documentation
[2]: ImagePickerKMP GitHub Repository
[3]: Kotlin 2.3.20 Release Notes
[4]: Compose Multiplatform Releases
Top comments (0)