Dagger2 v2.28.2 Release Notes
Release Date: 2020-07-15 // almost 4 years ago-
Whatβs new
Hilt
π The Hilt class
dagger.hilt.android.components.ApplicationComponent
is being renamed todagger.hilt.components.SingletonComponent
. This release adds the newSingletonComponent
class in preparation for this change without removing the existingApplicationComponent
. This rename is part of a plan to address #1908 to allow usage of Hilt in non-Android Gradle modules when installing into theSingletonComponent
. Current users can begin switching to the newSingletonComponent
name as of this release. A future release will removeApplicationComponent
.π Bug fixes
Hilt
- π Fix #1980: Added missing FIELD target to @ActivityContext qualifier. (29e080f)
- π Fix #1909: Update Dagger's JavaPoet dependency to 1.13.0 containing fixes for Dagger & Hilt related to generating code with overriding methods without annotations. (c5de4ab)
- π Fix #1955: Fixes issue with bytecode transformation in Gradle plugin to allow @AndroidEntryPoint annotations to be used with abstract classes containing abstract methods. (884fee5)
- π Fix #1947: Fixes issue with Hilt base classes that extend other Hilt base classes. (61c5c43)
- π Fix #1917: Fixes Hilt example app for Gradle users on mac. (5b3a966)