We’ve just published a new version (7.12) of Kodei...
# kodein
r
We’ve just published a new version (7.12) of Kodein-DI! 🎉 What’s new? • Kotlin 1.6.21 • Multiplatform Compose 1.2.0-alpha01 • Ktor 2.0 with no impact for you (all the breaking changes happened internally) • Some improved APIs ◦ Constructor reference based binding (thanks to @rocketraman) (e.g.
bindSingleton<Dice> { new(::Dice) }
) ◦ Delegate your binding to another https://docs.kodein.org/kodein-di/7.12.0/core/bindings.html#_delegate_binding ◦ Create DI Module with delegate to avoid naming it (
val apiModule by DI.Module {}
) • Documentation fixes As always, get the full changelog here https://github.com/Kodein-Framework/Kodein-DI/releases/tag/7.12
🎉 5