Skip to content

Bump hilt from 2.54 to 2.56#77

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/gradle/hilt-2.56
Open

Bump hilt from 2.54 to 2.56#77
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/gradle/hilt-2.56

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 19, 2025

Bumps hilt from 2.54 to 2.56.
Updates com.google.dagger:hilt-android from 2.54 to 2.56

Release notes

Sourced from com.google.dagger:hilt-android's releases.

Dagger 2.56

Notable/breaking changes

  • [Jakarta support] Remove deprecated Factory create methods that take a javax.inject.Provider. This means components built with an older Dagger version but with factory dependencies from a newer Dagger version will no longer compile. If you run into this, the Dagger version compiling the component must be upgraded. (3412e6c03)
  • [Jakarta support] Disallow providing or injecting dagger.internal.Provider. Also disallow injections of raw Provider in Maps, for both javax and dagger Providers. (962bb3335)
  • [Dagger]: Usages of @Multibinds and @ElementsIntoSet in Kotlin sources must now use Set/Map from the kotlin.collections package rather than the java.util package.

Bug fixes

  • [Jakarta support] Add support for Jakarta annotations to Hilt. (9001b5503)
  • [Jakarta support] Fixed #4572. Fix issue with jakarta.inject.Provider support where in certain cases requests for a Map<K, Provider<V>> would fail to compile. (f4e80036f)
  • [Dagger] Remove private modifier from fields/methods within generated Dagger component's private implementation classes (see #4544). (79f8633e5)
  • [Hilt] Partially Fixed #4423: Fix project isolation violation when checking that Hilt libraries are applied along the Gradle plugin. (91450da6a)

Dagger 2.55

Notable/breaking changes

  • Added support for injecting jakarta.inject.Provider. This should be usable anywhere javax.inject.Provider is usable. Note that this technically comes with a breaking change to disallow providing jakarta.inject.Provider types in the same way it is disallowed for javax.inject.Provider. (caa7e178b)
  • Fixed a number of binding graph related issues. These fixes can be enabled with, -Adagger.useBindingGraphFix=ENABLED, but due to this sometimes being a breaking change we’ve set the default behavior to “disabled” for now. We will flip the default to “enabled” in a future release, and eventually remove the flag altogether. Enabling this feature can fix a number of confusing error messages. See https://dagger.dev/dev-guide/compiler-options#useBindingGraphFix for more details.

Bug fixes

  • Fixed #4549: Fixed incremental processing for LazyClassKey proguard files by adding the originating element to the writeResource call. (98a027541)
Commits
  • 016a272 2.56 release
  • b3d3443 Enable write permission to GitHub Action's "Publish Artifact" job.
  • 9001b55 Where Hilt checks for Javax annotations, add support for Jakarta annotations.
  • 2572582 Add @​NullMarked to dagger package.
  • 9852108 Restructure hilt-android-testing sources
  • edaff61 Restructure hilt-compiler sources
  • 3ae56b0 Remove maven_lint repository.
  • 3aa1553 Restructure dagger-grpc-server and dagger-grpc-server-annotations sources.
  • a023758 Restructure hilt-android sources
  • 40d08f4 Restructure dagger-grpc-server-processor sources.
  • Additional commits viewable in compare view

Updates com.google.dagger:hilt-android-compiler from 2.54 to 2.56

Release notes

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

Dagger 2.56

Notable/breaking changes

  • [Jakarta support] Remove deprecated Factory create methods that take a javax.inject.Provider. This means components built with an older Dagger version but with factory dependencies from a newer Dagger version will no longer compile. If you run into this, the Dagger version compiling the component must be upgraded. (3412e6c03)
  • [Jakarta support] Disallow providing or injecting dagger.internal.Provider. Also disallow injections of raw Provider in Maps, for both javax and dagger Providers. (962bb3335)
  • [Dagger]: Usages of @Multibinds and @ElementsIntoSet in Kotlin sources must now use Set/Map from the kotlin.collections package rather than the java.util package.

Bug fixes

  • [Jakarta support] Add support for Jakarta annotations to Hilt. (9001b5503)
  • [Jakarta support] Fixed #4572. Fix issue with jakarta.inject.Provider support where in certain cases requests for a Map<K, Provider<V>> would fail to compile. (f4e80036f)
  • [Dagger] Remove private modifier from fields/methods within generated Dagger component's private implementation classes (see #4544). (79f8633e5)
  • [Hilt] Partially Fixed #4423: Fix project isolation violation when checking that Hilt libraries are applied along the Gradle plugin. (91450da6a)

Dagger 2.55

Notable/breaking changes

  • Added support for injecting jakarta.inject.Provider. This should be usable anywhere javax.inject.Provider is usable. Note that this technically comes with a breaking change to disallow providing jakarta.inject.Provider types in the same way it is disallowed for javax.inject.Provider. (caa7e178b)
  • Fixed a number of binding graph related issues. These fixes can be enabled with, -Adagger.useBindingGraphFix=ENABLED, but due to this sometimes being a breaking change we’ve set the default behavior to “disabled” for now. We will flip the default to “enabled” in a future release, and eventually remove the flag altogether. Enabling this feature can fix a number of confusing error messages. See https://dagger.dev/dev-guide/compiler-options#useBindingGraphFix for more details.

Bug fixes

  • Fixed #4549: Fixed incremental processing for LazyClassKey proguard files by adding the originating element to the writeResource call. (98a027541)
Commits
  • 016a272 2.56 release
  • b3d3443 Enable write permission to GitHub Action's "Publish Artifact" job.
  • 9001b55 Where Hilt checks for Javax annotations, add support for Jakarta annotations.
  • 2572582 Add @​NullMarked to dagger package.
  • 9852108 Restructure hilt-android-testing sources
  • edaff61 Restructure hilt-compiler sources
  • 3ae56b0 Remove maven_lint repository.
  • 3aa1553 Restructure dagger-grpc-server and dagger-grpc-server-annotations sources.
  • a023758 Restructure hilt-android sources
  • 40d08f4 Restructure dagger-grpc-server-processor sources.
  • Additional commits viewable in compare view

Updates com.google.dagger.hilt.android from 2.54 to 2.56

Release notes

Sourced from com.google.dagger.hilt.android's releases.

Dagger 2.56

Notable/breaking changes

  • [Jakarta support] Remove deprecated Factory create methods that take a javax.inject.Provider. This means components built with an older Dagger version but with factory dependencies from a newer Dagger version will no longer compile. If you run into this, the Dagger version compiling the component must be upgraded. (3412e6c03)
  • [Jakarta support] Disallow providing or injecting dagger.internal.Provider. Also disallow injections of raw Provider in Maps, for both javax and dagger Providers. (962bb3335)
  • [Dagger]: Usages of @Multibinds and @ElementsIntoSet in Kotlin sources must now use Set/Map from the kotlin.collections package rather than the java.util package.

Bug fixes

  • [Jakarta support] Add support for Jakarta annotations to Hilt. (9001b5503)
  • [Jakarta support] Fixed #4572. Fix issue with jakarta.inject.Provider support where in certain cases requests for a Map<K, Provider<V>> would fail to compile. (f4e80036f)
  • [Dagger] Remove private modifier from fields/methods within generated Dagger component's private implementation classes (see #4544). (79f8633e5)
  • [Hilt] Partially Fixed #4423: Fix project isolation violation when checking that Hilt libraries are applied along the Gradle plugin. (91450da6a)

Dagger 2.55

Notable/breaking changes

  • Added support for injecting jakarta.inject.Provider. This should be usable anywhere javax.inject.Provider is usable. Note that this technically comes with a breaking change to disallow providing jakarta.inject.Provider types in the same way it is disallowed for javax.inject.Provider. (caa7e178b)
  • Fixed a number of binding graph related issues. These fixes can be enabled with, -Adagger.useBindingGraphFix=ENABLED, but due to this sometimes being a breaking change we’ve set the default behavior to “disabled” for now. We will flip the default to “enabled” in a future release, and eventually remove the flag altogether. Enabling this feature can fix a number of confusing error messages. See https://dagger.dev/dev-guide/compiler-options#useBindingGraphFix for more details.

Bug fixes

  • Fixed #4549: Fixed incremental processing for LazyClassKey proguard files by adding the originating element to the writeResource call. (98a027541)
Commits
  • 016a272 2.56 release
  • b3d3443 Enable write permission to GitHub Action's "Publish Artifact" job.
  • 9001b55 Where Hilt checks for Javax annotations, add support for Jakarta annotations.
  • 2572582 Add @​NullMarked to dagger package.
  • 9852108 Restructure hilt-android-testing sources
  • edaff61 Restructure hilt-compiler sources
  • 3ae56b0 Remove maven_lint repository.
  • 3aa1553 Restructure dagger-grpc-server and dagger-grpc-server-annotations sources.
  • a023758 Restructure hilt-android sources
  • 40d08f4 Restructure dagger-grpc-server-processor sources.
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps `hilt` from 2.54 to 2.56.

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

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants