Kodein DI Versions Save

Painless Kotlin Dependency Injection

7.16.0

1 year ago
val di = DI {
    bindSet<Configuration> {
        add { provider { FooConfiguration() } }
        bind { singleton { BarConfiguration() } }
    }
}

7.15.1

1 year ago

Enable Compose Multiplatform 1.2.0.

⚠️ Compose Multiplatform 1.2.0 is not compatible with Kotlin/JS 1.7.20, but you can use it with Kotlin 1.7.10.

7.15.0

1 year ago
  • Kotlin 1.7.20

⚠️ Compose capabilities are disable as the compiler plugin has not been released yet. We should be able to re-enable it in 7.15.1 as soon as a new version of compiler plugin will be released.

7.15.0-kotlin-1.7.20-RC

1 year ago

⚠️ Compose capabilities are disable as the compiler plugin has not been released yet. We should be able to re-enable it in 7.15.1 as soon as a new version of compiler plugin will be released.

7.14.0

1 year ago
  • Gradle 7.5
  • Kotlin 1.7.10
  • Enable compatibility with non-hierarchical projects

7.13.1

1 year ago

Compose Multiplatform 1.2.0-alpha01-dev745 with Kotlin 1.7 compatibility

7.13.0

1 year ago

CORE: - Kotlin 1.7.0 - Deprecation cycle

⚠️ Compose capabilities are disable as the compiler plugin has not been released yet. We will re-enable it in 7.13.1 as soon as a new version of compiler plugin will be released.

7.12

1 year ago
  • CORE

    • Kotlin 1.6.21
    • Constructor reference based binding (#408 thanks to @rocketraman)
    DI {
        bindSingleton { new(::PersonService) }
    }
    
    • Delegate binding (#406)
    DI {
        bindSingleton { Cls() }
        delegate<Cls>().to<Cls>()
    }
    
    • Create modules with delegate (#393)
    val myModule by Module { // implicitly named "myModule"
        bind { singleton { Cls() } }
    }
    
  • KTOR

    • Moved to 2.0: This has no impact for you, all the breaking changes are internals.
  • COMPOSE

    • Upgrade to 1.2.0-alpha01-dev683
  • EXTENSION:

    • Improve ConfigurableDI (#395 & #396)
  • Documentation fixes

7.11

2 years ago
  • CORE
    • Documentation improvements (thanks to the contributors!).
    • Deprecation cycle
  • COMPOSE
    • JB Compose 1.1.0 Alpha5
    • Introduce rememberDI Composable function
    • Fix rememberX functions` behavior
    • Update documentation

7.10.0

2 years ago
  • Core
    • Kotlin 1.6.10
  • Compose
    • JB Compose 1.0.1-rc2
    • Compose for the Web