Releases: kosi-libs/Kodein
Releases Β· kosi-libs/Kodein
7.17.0
- Kotlin 1.8.0
- Ktor 2.2.1
- JS: Since Legacy backend as been deprecated, Kodein will only support IR.
We should be able to re-enable it in 7.18.0 as soon as a new version of compiler plugin will be released.
7.16.0
- Compose 1.2.1 with Kotlin/JS
- New multi-binding API (see documentation http://kosi-libs.org/kodein/7.16/core/multi-binding.html)
val di = DI {
bindSet<Configuration> {
add { provider { FooConfiguration() } }
bind { singleton { BarConfiguration() } }
}
}
7.15.1
7.15.0
7.15.0-kotlin-1.7.20-RC
We should be able to re-enable it in 7.15.1 as soon as a new version of compiler plugin will be released.
7.14.0
7.13.1
7.13.0
7.12.0
-
CORE
- Kotlin
1.6.21
- Constructor reference based binding (#408 thanks to @rocketraman)
DI { bindSingleton { new(::PersonService) } }
- Delegate binding (#406)
DI { bindSingleton { Cls() } delegate<Cls>().to<Cls>() }
- Create modules with delegate (#393)
val myModule by Module { // implicitly named "myModule" bind { singleton { Cls() } } }
- Kotlin
-
KTOR
- Moved to
2.0
: This has no impact for you, all the breaking changes are internals.
- Moved to
-
COMPOSE
- Upgrade to
1.2.0-alpha01-dev683
- Upgrade to
-
EXTENSION:
-
Documentation fixes