What’s new
Hilt
The Hilt class dagger.hilt.android.components.ApplicationComponent
is being renamed to dagger.hilt.components.SingletonComponent
. This release adds the new SingletonComponent
class in preparation for this change without removing the existing ApplicationComponent
. This rename is part of a plan to address #1908 to allow usage of Hilt in non-Android Gradle modules when installing into the SingletonComponent
. Current users can begin switching to the new SingletonComponent
name as of this release. A future release will remove ApplicationComponent
.
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)