PackageTrack
Sign in Get early access

com.google.dagger:hilt-core

2.60.1 #545 most downloaded on Maven Central google/dagger

What this package is like to depend on

Last release 1 months ago

06 Jul 2026

Release timing varies

gaps range from 1 weeks to 4 months

Rarely documented

notes for 10 of 49 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

60 releases · first in 2020

7 releases in the last 12 months

see the full history below

Release timeline

60 releases · Sep 2020 to Jul 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60
  1. 2.60.1 06 Jul 2026
    Release notes

    Bug fixes:

    • Fixes #5203: Fixes regression in Dagger 2.60 where the Hilt compiler options (like fastInit) failed to propagate to the Hilt aggregation compilation tasks. (e181a0d)
    • Fixes #5204: Fixes @CanIgnoreReturnValue import error by removing the annotation from ActivityRetainedComponentBuilder (3f2dd8f)
    Open source →
  2. 2.60 25 Jun 2026
    Release notes

    New features:

    Potential breaking changes:

    • When using the Hilt Gradle plugin, an error is now reported if a user sets a plugin-controlled flag (previously the plugin just ignored the user’s input). (a119ba6)
    • Multidex support is removed. minSDK for Hilt is now 23, matching AndroidX
      (https://issuetracker.google.com/380448311) (1990bd1)

    Bug fixes:

    • Fixes #1290: Enabled Guava BetaApi checks (5b8b2bd)
    • Fixes #5190, #5180, #5177: Updated Kotlin version ton 2.3.21 (7daaec5)
    • Fixes #5160: Deferred ViewModelMetadata processing on error types or missing @AssistedFactory (59827c6)
    • Fixes missing originating element attachments in a few Hilt processors to ensure correct incremental compilation tracking. (2930ca8)
    • Fixes Dagger multibinding duplicate masking across Map components (compile-time validation)
      Adds strict compile-time detection for duplicate map multibinding keys across component boundaries. This is enabled via the -Adagger.mapMultibindingDuplicateDetectionFix=ENABLED. This option is DISABLED by default to maintain backward compatibility. See Compiler Options for more details. (504397e)
    Open source →
  3. 2.59.2 20 Feb 2026
    Release notes

    Bug fixes:

    • Fixed #5116,#5099: Replaced Hilt's "android-classes" transform with attribute rules (f7e31b8)
    • Fixed #5122: Fixed issue with slow incremental builds introduced by HiltSyncTask in AGP 9 support (1be5765)
    Open source →
  4. 2.59.1 02 Feb 2026
    Release notes

    Bug fixes:

    • Fixed #5099: Fixes compilation error with jetifierEnabled=true in AGP 9 (8dcce87)
    • Fixed #5098: Updated minimum required AGP version to 9.0.0 to make it clearer this is a requirement when using the Hilt Gradle plugin. (141e594)
    Open source →
  5. 2.59 21 Jan 2026
    Release notes

    Breaking changes:

    (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.

    Bug fixes/features:

    Open source →
  6. 2.58 15 Jan 2026
    Release notes

    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).

    Potential breaking changes:

    • Flipped default for dagger.useBindingGraphFix to enabled (d41e836).
      See https://dagger.dev/dev-guide/compiler-options#useBindingGraphFix.
      Fix: If this change breaks you it’s likely due to providing a binding in an incorrect module, (e.g. the binding requests an Activity but is installed in the SingletonComponent). The fix is to move the @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.
    • The use of abstract var in components is now banned in super types.
      The reason for this change is that an abstract var property creates both a getter and a setter on the component which is almost always unintentional.
      Fix: If this change breaks you, use either an 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.

    Bug fixes/features:

    • Fixes #1116, #1630, Supported Map<K, Lazy<V>> as a multibinding request type. (7f981a4)
    • Fixes #3601. No longer adds a deprecation warning for unused dependencies on setters on the component builder. (1cf9dfc)
    • Fixes #4982:
      • Added validation to prevent using Java keywords in Dagger-generated code (72e21a8)
      • Added error for binding elements names that are Java keywords. (38071c5)
      • Java keyword validation is now performed earlier during the superficial validation stage. (7f6f7bd)
    Open source →
  7. 2.57.2 23 Sep 2025
    Release notes

    Bug fixes

    • Fixed #4847: Fixed an issue with the Hilt Gradle Plugin registered transforms on projects using Gradle 9.0.0 (ea570e7)
    • Fixes #4898: Fixed an issue with backwards compatibility handling for libraries that export Hilt roots. (85c470c)
    • Fixes #4937: Fixed the incorrectly declared version of the Kotlin stdlib dependency in the Hilt Gradle Plugin. (deefd9a)
    • Updated ASM dependency to 9.8 (365bc49)
    Open source →
  8. 2.57.1 20 Aug 2025
    Release notes

    Bug fixes

    • Fixes #4734: Updated Hilt's Gradle Plugin detection of AGP to maximize compatibility and avoid the confusing 'The Hilt Android Gradle plugin can only be applied to an Android project.' error when the plugin is on an Android project. (20adecb)
    • Fixes #4848: Set coreLibrariesVersion for the Kotlin compilation of the Hilt Gradle Plugin to further improve backwards compatibility. (00c7fc2)
    • Fixes #4848: Use api / language versions for the Kotlin compilation of the Hilt Gradle Plugin to not force projects to update to Kotlin 2.2.0, the current version used by the plugin. (58e4992)
    • Fixes #4780: Add support for the Jakarta Singleton annotation in Hilt. (ec7f76f)
    • Fixes #4917: Removes the explicit dependency to androidx.annotation:annotation-jvm and to a beta version of it. (092a85a)
    • Limit number of similar bindings shown in error messages to 20 (59ac2f9)
    • Update wording for @AssistedInject error to be more specific. (1702e79)
    Open source →
  9. 2.57 16 Jul 2025
    Release notes

    Potential breaking changes

    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)

    Bug fixes

    Fixes #4779. Unshades the Kotlinx Metadata to support Kotlin 2.2.0 (bfa88b9)

    Open source →
  10. 2.56.2 16 Apr 2025
    Release notes

    Bug fixes

    • [Dagger] Fixes #4676: Fixes IndexOutOfBoundException when returning suspend from @Provides method. (5d59aed)
    • [Dagger] Fixes #4658: Fixes NoSuchMethodError due to incorrect Guava runtime (Dagger’s Guava version is now temporarily pinned to 33.0.0 to avoid the issue). (9fc3df4)
    Open source →
  11. 2.56.1 25 Mar 2025

    Nothing published for this version

  12. 2.56 19 Mar 2025

    Nothing published for this version

  13. 2.55 09 Jan 2025

    Nothing published for this version

  14. 2.54 20 Dec 2024

    Nothing published for this version

  15. 2.53.1 09 Dec 2024

    Nothing published for this version

  16. 2.53 02 Dec 2024

    Nothing published for this version

  17. 2.52 05 Aug 2024

    Nothing published for this version

  18. 2.51.1 29 Mar 2024

    Nothing published for this version

  19. 2.51 27 Feb 2024

    Nothing published for this version

  20. 2.50 19 Dec 2023

    Nothing published for this version

  21. 2.49 01 Dec 2023

    Nothing published for this version

  22. 2.48.1 03 Oct 2023

    Nothing published for this version

  23. 2.48 30 Aug 2023

    Nothing published for this version

  24. 2.47 13 Jul 2023

    Nothing published for this version

  25. 2.46.1 12 May 2023

    Nothing published for this version

  26. 2.46 28 Apr 2023

    Nothing published for this version

  27. 2.45 09 Feb 2023

    Nothing published for this version

  28. 2.44.2 14 Nov 2022

    Nothing published for this version

  29. 2.44.1 11 Nov 2022

    Nothing published for this version

  30. 2.44 21 Sep 2022

    Nothing published for this version

  31. 2.43.2 03 Aug 2022

    Nothing published for this version

  32. 2.43.1 29 Jul 2022

    Nothing published for this version

  33. 2.43 20 Jul 2022

    Nothing published for this version

  34. 2.42 09 May 2022

    Nothing published for this version

  35. 2.41 16 Feb 2022

    Nothing published for this version

  36. 2.40.5 06 Dec 2021

    Nothing published for this version

  37. 2.40.4 02 Dec 2021

    Nothing published for this version

  38. 2.40.3 29 Nov 2021

    Nothing published for this version

  39. 2.40.2 24 Nov 2021

    Nothing published for this version

  40. 2.40.1 11 Nov 2021

    Nothing published for this version

  41. 2.40 27 Oct 2021

    Nothing published for this version

  42. 2.39.1 01 Oct 2021

    Nothing published for this version

  43. 2.39 29 Sep 2021

    Nothing published for this version

  44. 2.38.1 27 Jul 2021

    Nothing published for this version

  45. 2.38 19 Jul 2021

    Nothing published for this version

  46. 2.37 10 Jun 2021

    Nothing published for this version

  47. 2.36 25 May 2021

    Nothing published for this version

  48. 2.35.1 27 Apr 2021

    Nothing published for this version

  49. 2.35 22 Apr 2021

    Nothing published for this version

  50. 2.34.1-beta 13 Apr 2021 pre-release

    Nothing published for this version

  51. 2.34-beta 07 Apr 2021 pre-release

    Nothing published for this version

  52. 2.33-beta 25 Feb 2021 pre-release

    Nothing published for this version

  53. 2.32-alpha 08 Feb 2021 pre-release

    Nothing published for this version

  54. 2.31.2-alpha 21 Jan 2021 pre-release

    Nothing published for this version

  55. 2.31.1-alpha 20 Jan 2021 pre-release

    Nothing published for this version

  56. 2.31-alpha 13 Jan 2021 pre-release

    Nothing published for this version

  57. 2.30.1-alpha 24 Nov 2020 pre-release

    Nothing published for this version

  58. 2.30-alpha 20 Nov 2020 pre-release

    Nothing published for this version

  59. 2.29.1-alpha 10 Sep 2020 pre-release

    Nothing published for this version

  60. 2.29-alpha 09 Sep 2020 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive