koin v1.0.0-beta3 Release Notes

  • Scripts

    • ⚡️ [UPDATED] - rework all gradle structure and scripts - #126
    • [ADDED] - asciidoc integration - #127
    • 👷 [ADDED] - CI integration with CircleCI

    Core

    • ⚡️ [UPDATED] - compilation with Kotlin 1.2.50
    • ⚡️ [UPDATED] - Update DSL keywords: module & single (replaces applicationContext, context & bean) - #131
    • 🛠 [FIXED] - Fixed Scope API, aka module visibility resolution
    • [ADDED] - SLF4J Logger implementation (koin-logger-slf4j), used by koin-spark & koin-ktor - #130
    • 🛠 [FIXED] - Resolution & error check/catch for display - #110
    • 🛠 [FIXED] - BeanDefinition equals()
    • 🛠 [FIXED] - Instance creation error display - #124
    • ⚡️ [UPDATED] - logging tree resolution (with debug data if needed)
    • ⚡️ [ADDED] - asciidoc doc updated - #121 - #100 - #102 - #103
    • ⚡️ [UPDATED] - Injection parameter API with destructured declaration - #133
    • [ADDED] - Preload instances with createAtStart - #141
    • ⚡️ [UPDATED] - Explicit bean/module override - #123
    • 🛠 [FIXED] - bind operator check assignable types

    Test

    • [ADDED] - asciidoc doc
    • 🔧 [ADDED] - check() feature to check all configuration (does not create instances like dryRun)
    • 🤡 [ADDED] - declare mock or other definition out of the box with declareMock & declare- #151 - #119

    Android

    • 📦 [BREAKING] - Package & project renaming -> koin-android,koin-android-scope & koin-android-viewmodel - #144
    • 🚚 [REMOVED] - bindString(), bindBool() & bindInt()
    • [ADDED] - asciidoc doc
    • 📦 [ADDED] - support AndroidX packages with koin-androidx-scope & koin-androidx-viewmodel - #138 - #122 - #154
    • [ADDED] - scoping feature with Android lifecycle with koin-android-scope - #142
    • ⚡️ [UPDATED]- Open startKoin() for other Android context & use Context instead of Application - #156
    • 🛠 [FIXED] - ViewModel factory instance creation bugfix - #145
    • 🛠 [FIXED] - ViewModel factory injection params leak - #149
    • ⚡️ [UPDATED]- androix version to 2.0.0-beta01

    Ktor

    • [ADDED] - asciidoc doc
    • [ADDED] - use koin-logger-slf4j
    • ⚡️ [UPDATED] - ktor 0.9.2
    • [ADDED]- add Route & Routing class extensions - #128

    Spark

    • [ADDED] - asciidoc doc
    • [ADDED] - use koin-logger-slf4j
    • ⚡️ [UPDATED] - controller keyword now need your class to extend SparkController

    Java

    • [ADDED] - add koin-java project - #106
    • [ADDED] - asciidoc doc

    Reflect

    • [ADDED] - add koin-reflect project
    • 🏗 [ADDED] - add build() DSL function to allow smarter way of building definition
    • [ADDED] - asciidoc doc

    Website

    • [ADDED] - Doc integration
    • [ADDED] - Getting started integration
    • 🛠 [FIXED] - Kotlin slack URL - #125

    Samples

    • [ADDED] - Added examples folder, gathering examples application
    • [ADDED] - Thermosiphon example - #116