Kodein v7.5.0 Release Notes

Release Date: 2020-03-30 // over 1 year 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).

Previous changes from v7.4.0

    • CORE
      • Kotlin 1.4.31
      • Maven Central publication