Painless Kotlin Dependency Injection
val di = DI {
bindSet<Configuration> {
add { provider { FooConfiguration() } }
bind { singleton { BarConfiguration() } }
}
}
Enable Compose Multiplatform 1.2.0.
⚠️ Compose Multiplatform 1.2.0 is not compatible with Kotlin/JS 1.7.20, but you can use it with Kotlin 1.7.10.
⚠️ Compose capabilities are disable as the compiler plugin has not been released yet. We should be able to re-enable it in 7.15.1 as soon as a new version of compiler plugin will be released.
⚠️ Compose capabilities are disable as the compiler plugin has not been released yet. We should be able to re-enable it in 7.15.1 as soon as a new version of compiler plugin will be released.
Compose Multiplatform 1.2.0-alpha01-dev745
with Kotlin 1.7 compatibility
CORE: - Kotlin 1.7.0 - Deprecation cycle
⚠️ Compose capabilities are disable as the compiler plugin has not been released yet. We will re-enable it in 7.13.1 as soon as a new version of compiler plugin will be released.
CORE
1.6.21
DI {
bindSingleton { new(::PersonService) }
}
DI {
bindSingleton { Cls() }
delegate<Cls>().to<Cls>()
}
val myModule by Module { // implicitly named "myModule"
bind { singleton { Cls() } }
}
KTOR
2.0
: This has no impact for you, all the breaking changes are internals.COMPOSE
1.2.0-alpha01-dev683
EXTENSION:
ConfigurableDI
(#395 & #396)Documentation fixes
rememberDI
Composable functionrememberX
functions` behavior