Kodein v7.5.0 Release Notes

Release Date: 2020-03-30 // almost 4 years ago
    • CORE
      • Direct binding by adding bind(tag: Any?, overrides: Boolean?, createBinding: () -> DIBinding)
        • bind { singleton { Person("Romain") } } is equivalent to bind() from singleton { Person("Romain") }
        • bind<IPerson> { singleton { Person("Romain") } } is equivalent to bind<IPerson>() with singleton { Person("Romain") }
        • bind { scoped(SessionScope).singleton { Person("Romain") } } is equivalent to bind() with scoped(SessionScope).singleton { Person("Romain") }
        • etc.
      • Simplified binding APIs
        • bindFactory / bindProvider / bindSingleton / bindMultiton / bindInstance / bindConstant
        • bindSingleton { Person("Romain") } is equivalent to bind() from singleton { Person("Romain") }
        • bindSingleton<IPerson> { Person("Romain") } is equivalent to bind<IPerson>() with singleton { Person("Romain") }
        • etc.
      • Documentation
    • FRAMEWORK
      • Adding Compose support for both Android (Jetpack) and Desktop (JetBrains).