Skip to content

Releases: kosi-libs/Kodein

7.10.0

19 Dec 08:33
Compare
Choose a tag to compare
  • Core
    • Kotlin 1.6.10
  • Compose
    • JB Compose 1.0.1-rc2
    • Compose for the Web

7.9.0

24 Oct 13:31
Compare
Choose a tag to compare
  • Core
    • Gradle 7.2
    • AGP 7
    • Kotlin 1.5.31
    • Apple Silicon support
  • Compose
    • JB Compose beta1
    • Android : remember ViewModel helper

7.8.0

10 Sep 20:04
Compare
Choose a tag to compare
  • Kotlin 1.5.30

7.7.0

12 Aug 19:00
Compare
Choose a tag to compare
  • CORE
    • Kotlin 1.5.21
  • ANDROID
    • 2 new modules have been created to support ViewModel retrieval with ease (thanks to @carltonwhitehead for his contribution).
      • kodein-di-framework-android-x-viewmodel : Injection and retrieval of plain View Models with by viewModel() delegate.
      • kodein-di-framework-android-x-viewmodel-savedstate : Injection and retrieval of View Models with SavedStateHandle with by viewModelWithSavedStateHandle() delegate.
      • See documentation here.
  • COMPOSE: kodein-di-framework-compose module is now align with the stable version of Compose compiler (compatible with Kotlin 1.5.21)

7.5.1

03 Jun 09:03
Compare
Choose a tag to compare
  • Add Compose 1.0.0-beta07 compatibility (with Kotlin 1.4.32)

7.6.0

21 May 04:50
Compare
Choose a tag to compare

7.5.0

30 Mar 12:34
Compare
Choose a tag to compare
  • 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

7.4.0

27 Feb 13:51
Compare
Choose a tag to compare
  • Kotlin 1.4.31
  • Maven Central publication

7.3.1

08 Feb 07:58
Compare
Choose a tag to compare

Enable new JS IR backend

7.3.0

05 Feb 15:43
Compare
Choose a tag to compare
  • CORE
    • Kotlin 1.4.30
    • Documentation