Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Releases: rewe-digital/katana

1.6.0

29 Mar 07:59
c1cdc44
Compare
Choose a tag to compare
  • createModule() and createComponent() have been deprecated. Use constructors of Module and Component instead.

1.5.1

28 Mar 14:38
94a0b48
Compare
Choose a tag to compare
  • Fix initialization of transitive eager singletons

1.5.0

26 Mar 10:23
8bdae80
Compare
Choose a tag to compare
  • Allow Any references for dependency names.
    Now String constants, Kotlin objects, enum classes and custom (data) classes representing a unique identity / equality can be used for names.
  • Modules may include other modules during declaration via includes attribute.

1.4.0

18 Mar 07:39
c2eaabd
Compare
Choose a tag to compare

Add AndroidX ViewModel support via new katana-androidx-viewmodel artifact.

Thanks to @inshiro for idea & initial code :)

1.3.0

08 Feb 08:46
d3b76ab
Compare
Choose a tag to compare
  • Add a new, compact DSL for module declarations.
    Imports must be updated! Either use org.rewedigital.katana.dsl.classic or the new
    org.rewedigital.katana.dsl.compact:
    createModule {
      factory { MyDependencyA() }
      singleton { MyDependencyB() }  
    }
  • Update Kotlin version to 1.3.21

1.2.8

06 Feb 11:32
f7cc06c
Compare
Choose a tag to compare

Add KatanaFragmentDelegate and KatanaFragment classes to Android artifact for simplifying usage of Katana with Fragments.

1.2.7

04 Feb 07:18
84eb964
Compare
Choose a tag to compare
  • Implement + operator for Component, allowing different syntax for creating child components:
    val childComponent = component + childModule
    // or
    val childComponent = component + listOf(childModule1, childModule2)
    // or
    val childComponent = listOf(component1, component2) + childModule

1.2.6

25 Jan 07:02
25f58c6
Compare
Choose a tag to compare
  • Update Kotlin version to 1.3.20

1.2.5

21 Jan 09:58
e9dea34
Compare
Choose a tag to compare
  • First version deployed on JCenter
  • No code changes

1.2.4

09 Jan 10:20
47e4d4c
Compare
Choose a tag to compare
  • Fix wrong OverrideException for internal module declarations
  • Permit null values of (eager) singletons