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

Releases: AlexanderEggers/archknife

1.1.0

15 May 06:38
Compare
Choose a tag to compare

Changes since 1.1.0-rc02:

  • Updated auto-service to the latest version to improve annotation processor support.

1.1.0-rc02

03 May 08:18
Compare
Choose a tag to compare
1.1.0-rc02 Pre-release
Pre-release

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

02 May 09:50
Compare
Choose a tag to compare
1.1.0-rc01 Pre-release
Pre-release

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

27 Oct 04:11
Compare
Choose a tag to compare

First stable release. This release is the same as 1.0.0-rc2 - no changes have been made since then.

1.0.0-rc2

06 Oct 09:14
f852c9d
Compare
Choose a tag to compare
1.0.0-rc2 Pre-release
Pre-release
  • 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

28 Sep 16:38
b58e4de
Compare
Choose a tag to compare
1.0.0-rc1 Pre-release
Pre-release
  • 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

03 May 06:31
aaf463f
Compare
Choose a tag to compare
0.11.0 Pre-release
Pre-release
  • FIX: Tweaking proguard usage.
  • FIX: Fixed POM generation.
  • MISC: Added support for Android Studio 3.4.

0.10.0

24 Mar 04:51
Compare
Choose a tag to compare
0.10.0 Pre-release
Pre-release
  • BREAKING: Switched to AndroidX. (d88dd19)

0.9.2

20 Jan 00:30
Compare
Choose a tag to compare
0.9.2 Pre-release
Pre-release
  • NEW: Added support for dagger 2.21 (31dbe1b)

0.9.1

12 Dec 10:09
Compare
Choose a tag to compare
0.9.1 Pre-release
Pre-release
  • NEW: Added interface for the ContextProvider to simplify testing with this singleton object (ff9340f)