This repository has been archived by the owner on Jan 13, 2022. It is now read-only.
Releases: rewe-digital/katana
Releases · rewe-digital/katana
1.6.0
createModule()
andcreateComponent()
have been deprecated. Use constructors ofModule
andComponent
instead.
1.5.1
- Fix initialization of transitive eager singletons
1.5.0
- Allow
Any
references for dependency names.
Now String constants, Kotlinobject
s, 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
Add AndroidX ViewModel support via new katana-androidx-viewmodel artifact.
Thanks to @inshiro for idea & initial code :)
1.3.0
- Add a new, compact DSL for module declarations.
Imports must be updated! Either useorg.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
Add KatanaFragmentDelegate
and KatanaFragment
classes to Android artifact for simplifying usage of Katana with Fragments.
1.2.7
- Implement
+
operator forComponent
, 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
- Update Kotlin version to 1.3.20
1.2.5
1.2.4
- Fix wrong
OverrideException
for internal module declarations - Permit
null
values of (eager) singletons