Skip to content

7.5.0

Compare
Choose a tag to compare
@romainbsl romainbsl released this 30 Mar 12:34
  • 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).
  • Android
    • Deprecate functions di() in favor of closestDI() to avoid import conflicts
  • Ktor
    • Deprecate functions di() in favor of closestDI() to avoid import conflicts