All Versions
11
Latest Version
Avg Release Cycle
61 days
Latest Release
15 days ago

Changelog History
Page 1

  • v1.2.92

    January 03, 2020

    ⚡️ Update kotlin version to 1.3.61
    🆕 new functions

    • bingTag(tag: String) - bind instance only with tag
    • unbindTag(tag: String) - unbind instance only with tag

    KODIAndroidX version 1.0.3
    KodiReflect version 1.1.3

  • v1.2.9

    November 16, 2019

    ♻️ Some code refactoring

  • v1.2.8

    November 06, 2019

    The major changes are:

    keyword for binding with now is inline infix fun <reified T : KodiHolder> KodiTagWrapper.with(instance: T) and you need to reimport your modules or bindings

    🚀 infix fun IKodiModule.withScope(scopeWrapper: KodiScopeWrapper) Deprecate and will be removed in future releases, please use IKodiModule.withScope(scopeName: String)

    🚀 fun IKodi.unbindScope(scopeTagWrapper: KodiScopeWrapper): Boolean Deprecated and will be removed in future releases, please use fun IKodi.unbindScope(scopeName: String): Boolean

    You can check if any tag or instance of the class is in your module by calling inline <reified T : Any> IKodiModule.hasInstance(tag: String? = null): Boolean

    ✂ Remove all instances from module and graph by calling kodiModuleInstance.remove()

    Dynamically add or get an instance to/from dependency graph by
    instanceWith(clazz: Class<T>, initKodiHolder: KodiHolder? = null)
    instanceWith(tag: String, initKodiHolder: KodiHolder? = null)
    Example:
    val dynamicInstance = instanceWith(MyInstanceClass::class.java, single { MyInstanceClass() })

    🆕 New features:
    getScope(tag: String? = null): String? - get scope of class or tag
    hasScope(tag: String? = null): Boolean - does class or tag in the scope?
    hasModule(tag: String? = null): Boolean - does class or tag in the module?
    isKodiInstance(tag: String? = null): Boolean - does class or tag in the dependency graph?

    ♻️ Code Refactoring

    ⚡️ Updated KodiAndroidX modules to 1.0.2. It now has separated modules for every android version

    Many more will come. Stay Tuned

  • v1.2.7

    September 24, 2019

    ➕ added new function
    inline fun <reified T : Any, reified R : T> IKodi.bindType(tag: String?= null): KodiTagWrapper
    for typed binding
    👀 see example project for more information

  • v1.2.6

    September 23, 2019

    ➕ Added tag: String? = null to immutableInstance
    ➕ Added extension function instanceWith

  • v1.2.3

    September 09, 2019
    • ➕ Added 'com.rasalexman.kodiandroidx:kodiandroidx:1.0.0' package for AndroidX module import with useful services and cached directories
    • immutableGetter and mutableGetter now inline function
    • ➕ Added some documentation
  • v1.2.2

    August 26, 2019

    ♻️ Fully refactoring of KODI. Now it's not depending of kotlin reflection library. Reflection library now moved to KodiReflect module. Sinse version 1.2.2 there is much difference in core module. See example to know more.

    👍 KodiReflection is no longer supported.

  • v1.1.2

    October 16, 2019

    ➕ Added documentation
    ✂ removed val from ImmutableLazy.kt constructor

  • v0.2.0

    July 31, 2019

    ⚡️ Update kotlin version to 1.3.41
    ⚡️ Update docs
    🔄 change fun initKODI to inline function

  • v0.1.9

    October 09, 2018
    • 🐛 Bug fixes
    • 📄 Docs

    🆕 New functionality:

    • singleProvider
    • singleMutableLazy
    • instanceMutableLazy
    • providerMutableLazy