Skip to content

chore(gradle): bump dagger from 2.56.2 to 2.59#7602

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/gradle/dagger-2.59
Open

chore(gradle): bump dagger from 2.56.2 to 2.59#7602
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/gradle/dagger-2.59

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 26, 2026

Bumps dagger from 2.56.2 to 2.59.
Updates com.google.dagger:dagger from 2.56.2 to 2.59

Release notes

Sourced from com.google.dagger:dagger's releases.

Dagger 2.59

Breaking changes:

Bug fixes/features:

  • Fixed #4944, #4979: Support AGP 9 in HiltGradlePlugin (6afd7ea5a0fb84a38f2d23c990ddbd95e728a39d)

Dagger 2.58

Note: AGP 9 support was held back from this release (google/dagger#5061) because it forces users onto AGP 9. It will be available in the next Dagger release (e92e3f392).

Potential breaking changes:

  • Flipped default for dagger.useBindingGraphFix to enabled (d41e8362b). 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. (7f981a4c3)
  • Fixes #3601. No longer adds a deprecation warning for unused dependencies on setters on the component builder. (1cf9dfc96)
  • Fixes #4982:
    • Added validation to prevent using Java keywords in Dagger-generated code (72e21a828)
    • Added error for binding elements names that are Java keywords. (38071c5ae)
    • Java keyword validation is now performed earlier during the superficial validation stage. (7f6f7bda7)

Dagger 2.57.2

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. (85c470ca4)
  • Fixes #4937: Fixed the incorrectly declared version of the Kotlin stdlib dependency in the Hilt Gradle Plugin. (deefd9a2d)
  • Updated ASM dependency to 9.8 (365bc499d)

Dagger 2.57.1

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. (20adecbf5)
  • Fixes #4848: Set coreLibrariesVersion for the Kotlin compilation of the Hilt Gradle Plugin to further improve backwards compatibility. (00c7fc203)
  • 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. (58e499243)
  • Fixes #4780: Add support for the Jakarta Singleton annotation in Hilt. (ec7f76fa3)
  • Fixes #4917: Removes the explicit dependency to androidx.annotation:annotation-jvm and to a beta version of it. (092a85af0)
  • Limit number of similar bindings shown in error messages to 20 (59ac2f981)
  • Update wording for @​AssistedInject error to be more specific. (1702e79e0)

Dagger 2.57

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. (165cf20ee)

... (truncated)

Commits
  • bd412c6 2.59 release
  • 507a226 Fix upload_to_sonatype script.
  • 6afd7ea Reenable AGP 9 in HiltGradlePlugin.
  • 6eb10d1 Bump minimum emulator to API Level 23.
  • beb47ae Update Dagger yml and README with new latest version number.
  • dba58d2 Upgrade Bazel version to 8.5.0
  • a54bac9 Add a test to check on framework requests on delegate chains.
  • be5dbc9 Internal change
  • 925e514 Internal changes
  • ad02c11 Internal Changes
  • Additional commits viewable in compare view

Updates com.google.dagger:dagger-compiler from 2.56.2 to 2.59

Release notes

Sourced from com.google.dagger:dagger-compiler's releases.

Dagger 2.59

Breaking changes:

Bug fixes/features:

  • Fixed #4944, #4979: Support AGP 9 in HiltGradlePlugin (6afd7ea5a0fb84a38f2d23c990ddbd95e728a39d)

Dagger 2.58

Note: AGP 9 support was held back from this release (google/dagger#5061) because it forces users onto AGP 9. It will be available in the next Dagger release (e92e3f392).

Potential breaking changes:

  • Flipped default for dagger.useBindingGraphFix to enabled (d41e8362b). 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. (7f981a4c3)
  • Fixes #3601. No longer adds a deprecation warning for unused dependencies on setters on the component builder. (1cf9dfc96)
  • Fixes #4982:
    • Added validation to prevent using Java keywords in Dagger-generated code (72e21a828)
    • Added error for binding elements names that are Java keywords. (38071c5ae)
    • Java keyword validation is now performed earlier during the superficial validation stage. (7f6f7bda7)

Dagger 2.57.2

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. (85c470ca4)
  • Fixes #4937: Fixed the incorrectly declared version of the Kotlin stdlib dependency in the Hilt Gradle Plugin. (deefd9a2d)
  • Updated ASM dependency to 9.8 (365bc499d)

Dagger 2.57.1

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. (20adecbf5)
  • Fixes #4848: Set coreLibrariesVersion for the Kotlin compilation of the Hilt Gradle Plugin to further improve backwards compatibility. (00c7fc203)
  • 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. (58e499243)
  • Fixes #4780: Add support for the Jakarta Singleton annotation in Hilt. (ec7f76fa3)
  • Fixes #4917: Removes the explicit dependency to androidx.annotation:annotation-jvm and to a beta version of it. (092a85af0)
  • Limit number of similar bindings shown in error messages to 20 (59ac2f981)
  • Update wording for @​AssistedInject error to be more specific. (1702e79e0)

Dagger 2.57

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. (165cf20ee)

... (truncated)

Commits
  • bd412c6 2.59 release
  • 507a226 Fix upload_to_sonatype script.
  • 6afd7ea Reenable AGP 9 in HiltGradlePlugin.
  • 6eb10d1 Bump minimum emulator to API Level 23.
  • beb47ae Update Dagger yml and README with new latest version number.
  • dba58d2 Upgrade Bazel version to 8.5.0
  • a54bac9 Add a test to check on framework requests on delegate chains.
  • be5dbc9 Internal change
  • 925e514 Internal changes
  • ad02c11 Internal Changes
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps `dagger` from 2.56.2 to 2.59.

Updates `com.google.dagger:dagger` from 2.56.2 to 2.59
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](google/dagger@dagger-2.56.2...dagger-2.59)

Updates `com.google.dagger:dagger-compiler` from 2.56.2 to 2.59
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](google/dagger@dagger-2.56.2...dagger-2.59)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  dependency-version: '2.59'
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-compiler
  dependency-version: '2.59'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@github-actions
Copy link
Contributor

No docs changes detected for 2e4241d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants