Releases: AlexanderEggers/archknife
1.1.0
1.1.0-rc02
Important change:
This release adds a backport for the breaking change introduced with 1.1.0-rc01. This backport restores the old behaviour and allows devs to keep using the current way (1.0.0). The new "breaking change" is something which devs will need to take care of at some point in the future if Kotlin decides to fully remove discover annotation processors on compile path.
Other changes in this version:
- BREAKING: Removed not needed fragment placeholder structure. The core artifact include a class called "EmptyFragment". This was removed in this version.
- FIX: Updated processor incremental type to aggregating to fix build warning.
- FIX: Fixed "Attempt to recreate a file" errors.
1.1.0-rc01
Breaking change with this release:
Kotlin deprecated the annotation processor discovery on the compile path late 2018. To avoid possible future issues when using this library, I have decided to introduce a breaking change to how the library needs to be consumed.
Here is an example how your dependencies should look like when consuming this library:
repositories {
jcenter()
}
dependencies {
def archknife_version = "1.1.0-rc01"
def dagger_version = "2.27"
implementation "org.archknife:archknife-core:$archknife_version"
kapt "org.archknife:archknife-processor:$archknife_version"
//These two annotation processor are required to be added to your Android project
kapt "com.google.dagger:dagger-compiler:$dagger_version"
kapt "com.google.dagger:dagger-android-processor:$dagger_version"
}
Other changes in this release:
- Updated library dependencies (Dagger, Gradle, AndroidX and others).
Known issue:
- Due to the latest version of Kotlin (1.3.7x), it can happen that the processor will throw several errors. Normally you can ignore these and it should not influence your project.
1.0.0
First stable release. This release is the same as 1.0.0-rc2 - no changes have been made since then.
1.0.0-rc2
- NEW: Added feature to add external modules to the dagger dependency graph. External modules means, adding module classes to the dependency graph that are not part of the project classpath. The feature is added as part of the ProvideApplication annotation (member value). (4b2c8e8)
1.0.0-rc1
- BREAKING: Added support for dagger 2.24. This dagger version requires to use the new interface "HasAndroidInjector" (former class name: HasSupportFragmentInjector) for Activites.
- BREAKING: Made ContextProvider non-object.
- NEW: Added more kotlin doc.
- FIX: Fixed incremental processor support.
This version indicates that the API for the library is stable. The library will be promote to 1.0.0 soon.
0.11.0
- FIX: Tweaking proguard usage.
- FIX: Fixed POM generation.
- MISC: Added support for Android Studio 3.4.