NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Maven Central · #682 by repository stars
A fast dependency injector for Android and Java.
Last release 3 months ago
06 Jul 2026
Release timing varies
gaps range from 1 weeks to 4 months
Rarely documented
notes for 11 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
89 releases · first in 2017
Fixes #5203 : Fixes regression in Dagger 2.60 where the Hilt compiler options (like fastInit) failed to propagate to the Hilt aggregation compilation
Fixes #5165 : Support nullable type annotations when using the flag -Adagger.nullableTypeAnnotations=enabled . For more details see https://dagger.dev
-Adagger.nullableTypeAnnotations=enabled.-Pdagger.hilt.fastInit=false. For more details see https://dagger.dev/hilt/flags#fast-init. (0f7642b)@Binds methods to explicitly bind @Inject constructors. For more details see https://dagger.dev/dev-guide/#parameterless-binds. (4c81e94)-Adagger.mapMultibindingDuplicateDetectionFix=ENABLED. This option is DISABLED by default to maintain backward compatibility. See Compiler Options for more details. (504397e)One column per quarter.
Fixed #5116 , #5099 : Replaced Hilt's "android-classes" transform with attribute rules
Fixed #5099 : Fixes compilation error with jetifierEnabled=true in AGP 9
(If you do not use Hilt or the Hilt Gradle plugin, this change does not affect you.)
(If you do not use Hilt or the Hilt Gradle plugin, this change does not affect you.)
This release adds AGP 9 support for the Hilt Gradle plugin. This means that if you use the Hilt Gradle Plugin, AGP 9 is now a requirement along with AGP 9’s own requirements like Gradle 9.1+ (https://developer.android.com/build/releases/agp-9-0-0-release-notes).
Note: AGP 9 also seems to cause issues with enableJetifier=true (see #5099). This will be fixed in a follow-up release.
Fixes #3601 . No longer adds a deprecation warning for unused dependencies on setters on the component builder.
Note: AGP 9 support was held back from this release (0a5b42c) because it forces users onto AGP 9. It will be available in the next Dagger release (e92e3f3).
dagger.useBindingGraphFix to enabled (d41e836).@Provides so that it is installed into the correct component (e.g. the ActivityComponent instead of SingletonComponent). You can also set dagger.useBindingGraphFix=disabled but note that this flag is only temporary and will eventually be removed.abstract var in components is now banned in super types.abstract var property creates both a getter and a setter on the component which is almost always unintentional.abstract val foo: Foo if you need a getter or abstract fun inject(foo: Foo) if you need an inject method. Note that abstract var is already banned if it is declared directly on the @Component class/interface, but this change fixes the check so that it’s banned even if it’s inherited from a super type.Fixed #4847 : Fixed an issue with the Hilt Gradle Plugin registered transforms on projects using Gradle 9.0.0
Fixes #4734 : Updated Hilt's Gradle Plugin detection of AGP to maximize compatibility and avoid the confusing 'The Hilt Android Gradle plugin can only
The generated Factory / MembersInjector constructors have changed from public to private. This shouldn’t affect most users since these classes are onl
The generated Factory/MembersInjector constructors have changed from public to private. This shouldn’t affect most users since these classes are only meant to be called by Dagger’s other generated code. If you do happen to be broken by this change, you should avoid calling Dagger’s generated Factory/MembersInjector classes directly. For a temporary solution, you can also switch to using the public static methods to create an instance. (165cf20)
Fixes #4779. Unshades the Kotlinx Metadata to support Kotlin 2.2.0 (bfa88b9)
[Dagger] Fixes #4676 : Fixes IndexOutOfBoundException when returning suspend from @Provides method.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Compare
Compare
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →