Read more" />

πŸŽ‰ Koin 4.0 β€” Official Release πŸŽ‰

Koin 4.0 has rolled out with a series of technical enhancements aimed at refining the framework across Kotlin, Android, Compose, and multiplatform APIs. Built on Kotlin 2.0, this release introduces important updates:

πŸ”Έ UUID Generation: Ensures unique, platform-independent UUIDs across all environments with Kotlin’s kotlin.uuid.Uuid API.

πŸ”Έ Internal Optimizations: Includes enhanced context passing for dynamic resolution, improved thread-safe collections, and migration to Kotlin’s Time API for internal timings.

πŸ”Έ ViewModel API: Expanded to a full multiplatform approach, centralizing ViewModel APIs for broader reuse across platforms.

πŸ”Έ AndroidX Startup: Optimizes application loading times significantly with up to 40% faster startup through the new koin-androidx-startup package.

πŸ”Έ Activity & Fragment Scope Fixes: Ensures robust scope management and lifecycle consistency in Android applications.

πŸ”Έ Compose API Improvements: Extends support for multiplatform features, stabilizes Wasm integration, and enhances lifecycle handling within Compose.

πŸ”Έ Testing API Enhancements: Introduces parameter injection for dynamic parts verification and automatic code proposals to fix missing definitions during testing.

πŸ”Έ Ktor API Updates: Aligns with the latest Ktor versions, enhances scope management, and prepares for upcoming Ktor 3 integrations.

Deprecations and API cleanup are part of this update, streamlining Koin for future advancements and removing outdated elements. πŸ”„πŸ—‘οΈ

For detailed guides and more on what to expect, check this link! πŸ“„πŸ”—


#Kotlin #Koin4 #AndroidDev #KMP #KotlinM

Call today

+34 634 548 126

You've found the person you were looking for. Let's talk.

Let's get you started