All Versions
31
Latest Version
Avg Release Cycle
63 days
Latest Release
306 days ago

Changelog History
Page 1

  • v20.0.0

    March 29, 2019
  • v20.0.0-RC

    March 29, 2019
  • v2.1.0

    alpha-10

    Core

    • ⚡️ [UPDATED] - updated + oprator for modules
    • [ADDED] - Scope Links, to link scope to another and help resolve shared instances

    alpha-8

    📄 Docs

    • ⚡️ [UPDATED] - updated koin-core Scope section
    • [ADDED] - inject on a setter property with inject()

    Android-Scope

    • ⚡️ [UPDATED] - updated currentScope to use lifecycleScope instead
    • 🛠 [FIXED] - ScopeCompat for Java compat function

    AndroidX-Scope

    • ⚡️ [UPDATED] - updated currentScope to use lifecycleScope instead
    • 🛠 [FIXED] - ScopeCompat for Java compat function

    AndroidX-Factory

    • 🛠 [FIXED] - Fragment declaration in a scope

    Core

    • [ADDED] - DSL declare a scope with type directly with scope<MyType> { ... }
    • 👍 [ADDED] - smarter better API to use scope from an object instance (getOrCreateScope ...)
    • [ADDED] - scope property to any instance, to get tied declared scope
    • [ADDED] - inject on a setter property with inject()

    Core-Ext

    • [ADDED] - inject all setter property with inject() on an instance

    alpha-7

    Android-ViewModel

    • ⚡️ [UPDATED] - updated ViewModelParameter API around to help integrate it more easily with 3rd party access

    AndroidX-ViewModel

    • ⚡️ [UPDATED] - updated ViewModelParameter API around to help integrate it more easily with 3rd party access

    AndroidX-Factory

    • [ADDED] - KoinFragmentFactory API to setup Fragment injection

    Core

    • ⚡️ [UPDATED] - Reworked all resolution engine to use immutable BeanDefinition & base the resolution on Scope & ScopeDefinition
    • ⚡️ [UPDATED] - Locking Strategy to avoid usage of ConcurrentHashMap
    • ⚡️ [UPDATED] - Replace BeanRegistry with InstanceRegistry & ScopeRegistry
    • ⚡️ [UPDATED] - added closed status to Scope
    • 🛠 [FIXED] - Fixed bugs related to closed scopes
    • 🛠 [FIXED] - Can now allow to resolve different types with same Qualifer
    • [ADDED] - Module loaded property in order to allow later "reloading"
    • [ADDED] - Java helpers are now part of the koin-core project
    • [ADDED] - bind() oeprator on a definition, that use reified Type
    • [ADDED] - q() operator to declare a String or a Type

    Java

    • 🚚 [REMOVED] - project is now part of koin-core

    Test

    • ⚡️ [UPDATED] - Check modules with checkModules { } that open an KoinApplication declaration
    • 🤡 [ADDED] - MockProviderRule & MockProvider to manually provide mocking capacity, absed of the desired mocing framework
    • 🚚 [REMOVED] - Link to Mockito library

    📚 Documentation

    • 📚 [UPDATED] - New documentation system based on docisfy, to help deploy easily markdown doc. Documentation is now in /docs folder
  • v2.1.0-alpha

    December 16, 2019
  • v2.0.1

    May 29, 2019

    Android-ViewModel

    • 🌲 [ADDED] - debug logging for VM provider

    AndroidX-ViewModel

    • 🌲 [ADDED] - debug logging for VM provider

    Core

    • 🐎 [FIXED] - performances update - modules list loading & class naming
    • 🐎 [BREAKING] - modules(vararg modules: Module) in KoinApplication has been removed for performance reasons. Please use modules(modules: List<Module>)
    • 🐎 [BREAKING] - modules(modules: Iterable<Module>) in KoinApplication has been removed for performance reasons. Please use modules(modules: List<Module>)
    • 🐎 [BREAKING] - loadKoinModules(vararg modules: Module) in GlobalContext has been removed for performance reasons. Please use loadKoinModules(module: Module) or loadKoinModules(modules: List<Module>)
    • 🐎 [BREAKING] - unloadKoinModules(vararg modules: Module) in GlobalContext has been removed for performance reasons. Please use unloadKoinModules(module: Module)
  • v2.0.0

    May 27, 2019

    Android

    • ⚡️ [UPDATED] - rework startking DSL to add extension in startKoin (androidContext, androidLogger)

    Android-Scope

    • ⚡️ [UPDATED] - rework according to new Scope API (manage compelte Scope Lifecycle)
    • [ADDED] - currentScope property scope tied to current Activity or Fragment
    • [ADDED] - currentScope is aware of any KoinComponent & currentScope override
    • ⚡️ [UPDATED] - ScopeID generation

    Android-ViewModel

    • 👍 [ADDED] - support for new Scope API
    • 🏗 [REMOVED] - removed koin-ext builder API
    • ⚡️ [UPDATED] - make the API open to Koin instance isolation
    • 🛠 [FIXED] - https://github.com/InsertKoinIO/koin/issues/452 - Named qualifier does not work with view models - Now take qualifier as ViewModel's Tag
    • 🛠 [FIXED] - by viewModel & getViewModel with clazz version
    • 🛠 [FIXED] - ViewModel definition in scope

    AndroidX-Scope

    • ⚡️ [UPDATED] - update API regarding the changes in koin-android-scope
    • ⚡️ [UPDATED] - ScopeID generation

    AndroidX-ViewModel

    • ⚡️ [UPDATED] - update API regarding the changes in koin-android-viewmodel
    • 🛠 [FIXED] - https://github.com/InsertKoinIO/koin/issues/452 - Named qualifier does not work with view models - Now take qualifier as ViewModel's Tag
    • 🛠 [FIXED] - by viewModel & getViewModel with clazz version
    • 🛠 [FIXED] - ViewModel definition in scope

    Core

    • ⚡️ [UPDATED] - startKoin replaced with startKoin DSL and koin in global context
    • 🐎 [UPDATED] - complete internals rewritten for performances optimisation (startup & injection)
    • ⚡️ [UPDATED] - KoinComponent now can override getKoin() to target a custom Koin instance & currentScope() to target a Scope that is used for all injections
    • [ADDED] - koinApplication function to help declare an instance for a local context, in ordoer to help isolated Koin instances
    • 🚀 [UPDATED] - rework Scope API (multiple instances definitions, properties, release, callback ...)
    • ⚡️ [UPDATED] - rework Scope DSL (scope/scoped) & lock single/factory
    • ⚡️ [UPDATED] - rework internals to use root Scope & separate Scope instances, with different bean registry
    • 🚀 [ADDED] - onClose, onRelease DSL on single/factory/scoped to execute code when releasing instance or stopping container
    • 0️⃣ [ADDED] - getProperty with default value
    • ⚡️ [UPDATED] - Kotlin 1.3.21
    • [ADDED] - Qualifiers with named() function to replace old string names. Allow to use Types
    • [ADDED] - getOrNull() and injectOrNull() to safely resolve potential components and get null of not present
    • ⚡️ [UPDATED] - additional binding API, with getAll<S>() & bind<P,S>() operator to look for instances regarding secondary type definition
    • [ADDED] - declare() on Koin & Scope, to help declare an instance on the fly
    • 🛠 [FIXED] - Factory declaration in scope

    Test

    • ⚡️ [UPDATED] - rework testing API, codebase detached from internal core tests
    • ⚡️ [UPDATED] - checkModules now rely on pure Kotlin & with create parameters DSL

    Java

    • ⚡️ [UPDATED] - updated KoinJavaComponent for the new API
    • 🛠 [FIXED] - https://github.com/InsertKoinIO/koin/issues/451 - No longer possible to get objects from a scope in Java code - scope parameter to allow resolve a dependency from this scope instance
    • 🛠 [FIXED] - Get access to scope instance

    Ktor

    • ⚡️ [UPDATED] - rework startking DSL to add extension in startKoin
    • [ADDED] - Koin as a Ktor feature

    Spark

    • 🚚 [REMOVED] project non ported to Koin 2.0
  • v2.0.0-RC

    March 29, 2019

    2019-03-21

  • v2.0.0-GA

    May 05, 2019
  • v2.0.0-beta

    March 17, 2019
  • v2.0.0-alpha

    January 02, 2019