Kodein v3.0.0-beta2 Release Notes

Release Date: 2016-06-30 // almost 8 years ago
    • FEATURES

      • KodeinInjected can use kodein() instead of injector.kodein().
      • Android instanceForContext that works exactly like instanceForClass, but for a Context.
      • Android module, wisely named androidModule that provides a lot of factories with a Context arguments (see AndroidModule.kt).
    • BREAKING CHANGES

      • typeToken (and therefore TypeReference) will throw an exception when build with a TypeVariable type argument. This is to prevent "accidental" binding of a type with TypeVariable which will be later impossible to retrieve.
    • BETA FEATURE CHANGES

      • instanceForClass uses Java Class<*> and instanceForKClass uses Kotlin KClass<*>.