Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump hilt from 2.55 to 2.56 #3812

Merged
merged 1 commit into from
Mar 24, 2025
Merged

Bump hilt from 2.55 to 2.56 #3812

merged 1 commit into from
Mar 24, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 24, 2025

Bumps hilt from 2.55 to 2.56.
Updates com.google.dagger:hilt-android from 2.55 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)
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-compiler from 2.55 to 2.56

Release notes

Sourced from com.google.dagger:hilt-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)
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-core from 2.55 to 2.56

Release notes

Sourced from com.google.dagger:hilt-core'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)
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.55 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)
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

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 `hilt` from 2.55 to 2.56.

Updates `com.google.dagger:hilt-android` from 2.55 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.55...dagger-2.56)

Updates `com.google.dagger:hilt-compiler` from 2.55 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.55...dagger-2.56)

Updates `com.google.dagger:hilt-core` from 2.55 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.55...dagger-2.56)

Updates `com.google.dagger.hilt.android` from 2.55 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.55...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-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:hilt-core
  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] <[email protected]>
@dependabot dependabot bot added [Area] Dependencies Pull requests that update a dependency file [Type] Tech Debt Involving upgrades or refactoring to maintain or enhance the codebase. labels Mar 24, 2025
@dependabot dependabot bot requested a review from a team as a code owner March 24, 2025 06:21
@dependabot dependabot bot requested review from mebarbosa and removed request for a team March 24, 2025 06:21
@dangermattic
Copy link
Collaborator

1 Warning
⚠️ PR is not assigned to a milestone.

Generated by 🚫 Danger

@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Mar 24, 2025

📲 You can test the changes from this Pull Request in 📱 Mobile by scanning the QR code below to install the corresponding build.
App Name 📱 Mobile
Build TypedebugProd
Commit3db9a6c
Direct Downloadpocketcasts-app-prototype-build-pr3812-3db9a6c.apk
📲 You can test the changes from this Pull Request in 🚗 Automotive by scanning the QR code below to install the corresponding build.
App Name 🚗 Automotive
Build TypedebugProd
Commit3db9a6c
Direct Downloadpocketcasts-automotive-prototype-build-pr3812-3db9a6c.apk
📲 You can test the changes from this Pull Request in ⌚ Wear by scanning the QR code below to install the corresponding build.
App Name ⌚ Wear
Build TypedebugProd
Commit3db9a6c
Direct Downloadpocketcasts-wear-prototype-build-pr3812-3db9a6c.apk

@wpmobilebot
Copy link
Collaborator

Project dependencies changes

list
! Upgraded Dependencies
com.google.dagger:dagger:2.56, (changed from 2.55)
com.google.dagger:dagger-lint-aar:2.56, (changed from 2.55)
com.google.dagger:hilt-android:2.56, (changed from 2.55)
com.google.dagger:hilt-core:2.56, (changed from 2.55)
tree
-+--- com.google.dagger:hilt-android:2.55
-|    +--- com.google.dagger:dagger:2.55
-|    |    +--- jakarta.inject:jakarta.inject-api:2.0.1
-|    |    +--- javax.inject:javax.inject:1
-|    |    \--- org.jspecify:jspecify:1.0.0
-|    +--- com.google.dagger:dagger-lint-aar:2.55
-|    +--- com.google.dagger:hilt-core:2.55
-|    |    +--- com.google.dagger:dagger:2.55 (*)
-|    |    +--- com.google.code.findbugs:jsr305:3.0.2
-|    |    \--- javax.inject:javax.inject:1
-|    +--- com.google.code.findbugs:jsr305:3.0.2
-|    +--- androidx.activity:activity:1.5.1 -> 1.9.3 (*)
-|    +--- androidx.annotation:annotation:1.3.0 -> 1.9.1 (*)
-|    +--- androidx.annotation:annotation-experimental:1.3.1 -> 1.4.1 (*)
-|    +--- androidx.fragment:fragment:1.5.1 -> 1.8.6 (*)
-|    +--- androidx.lifecycle:lifecycle-common:2.5.1 -> 2.8.7 (*)
-|    +--- androidx.lifecycle:lifecycle-viewmodel:2.5.1 -> 2.8.7 (*)
-|    +--- androidx.lifecycle:lifecycle-viewmodel-savedstate:2.5.1 -> 2.8.7 (*)
-|    +--- androidx.savedstate:savedstate:1.2.0 -> 1.2.1 (*)
-|    +--- javax.inject:javax.inject:1
-|    \--- org.jetbrains.kotlin:kotlin-stdlib:2.0.21 -> 2.1.10 (*)
++--- com.google.dagger:hilt-android:2.56
+|    +--- com.google.dagger:dagger:2.56
+|    |    +--- jakarta.inject:jakarta.inject-api:2.0.1
+|    |    +--- javax.inject:javax.inject:1
+|    |    \--- org.jspecify:jspecify:1.0.0
+|    +--- com.google.dagger:dagger-lint-aar:2.56
+|    +--- com.google.dagger:hilt-core:2.56
+|    |    +--- com.google.dagger:dagger:2.56 (*)
+|    |    +--- com.google.code.findbugs:jsr305:3.0.2
+|    |    \--- javax.inject:javax.inject:1
+|    +--- com.google.code.findbugs:jsr305:3.0.2
+|    +--- androidx.activity:activity:1.5.1 -> 1.9.3 (*)
+|    +--- androidx.annotation:annotation:1.7.0-beta01 -> 1.9.1 (*)
+|    +--- androidx.annotation:annotation-experimental:1.3.1 -> 1.4.1 (*)
+|    +--- androidx.annotation:annotation-jvm:1.7.0-beta01 -> 1.9.1 (*)
+|    +--- androidx.fragment:fragment:1.5.1 -> 1.8.6 (*)
+|    +--- androidx.lifecycle:lifecycle-common:2.5.1 -> 2.8.7 (*)
+|    +--- androidx.lifecycle:lifecycle-viewmodel:2.5.1 -> 2.8.7 (*)
+|    +--- androidx.lifecycle:lifecycle-viewmodel-savedstate:2.5.1 -> 2.8.7 (*)
+|    +--- androidx.savedstate:savedstate:1.2.0 -> 1.2.1 (*)
+|    +--- javax.inject:javax.inject:1
+|    \--- org.jetbrains.kotlin:kotlin-stdlib:2.1.10 (*)
-+--- com.google.dagger:hilt-core:2.55 (*)
++--- com.google.dagger:hilt-core:2.56 (*)
 +--- androidx.hilt:hilt-work:1.2.0
 |    +--- androidx.hilt:hilt-common:1.2.0
-|    |    \--- com.google.dagger:hilt-core:2.49 -> 2.55 (*)
+|    |    \--- com.google.dagger:hilt-core:2.49 -> 2.56 (*)
-|    \--- com.google.dagger:hilt-android:2.49 -> 2.55 (*)
+|    \--- com.google.dagger:hilt-android:2.49 -> 2.56 (*)
 +--- project :modules:features:account
-|    +--- com.google.dagger:hilt-android:2.55 (*)
+|    +--- com.google.dagger:hilt-android:2.56 (*)
 |    +--- project :modules:features:search
-|    |    +--- com.google.dagger:hilt-android:2.55 (*)
+|    |    +--- com.google.dagger:hilt-android:2.56 (*)
 |    |    +--- project :modules:services:analytics
-|    |    |    +--- com.google.dagger:hilt-android:2.55 (*)
+|    |    |    +--- com.google.dagger:hilt-android:2.56 (*)
 |    |    |    +--- project :modules:services:model
 |    |    |    |    +--- project :modules:services:utils
-|    |    |    |    |    \--- com.google.dagger:hilt-android:2.55 (*)
+|    |    |    |    |    \--- com.google.dagger:hilt-android:2.56 (*)
-|    |    |    |    \--- com.google.dagger:hilt-core:2.55 (*)
+|    |    |    |    \--- com.google.dagger:hilt-core:2.56 (*)
 |    |    |    +--- project :modules:services:preferences
-|    |    |    |    \--- com.google.dagger:hilt-android:2.55 (*)
+|    |    |    |    \--- com.google.dagger:hilt-android:2.56 (*)
 |    |    |    \--- project :modules:services:servers
-|    |    |         \--- com.google.dagger:hilt-android:2.55 (*)
+|    |    |         \--- com.google.dagger:hilt-android:2.56 (*)
 |    |    +--- project :modules:services:repositories
-|    |    |    +--- com.google.dagger:hilt-android:2.55 (*)
+|    |    |    +--- com.google.dagger:hilt-android:2.56 (*)
 |    |    |    \--- project :modules:services:crashlogging
-|    |    |         \--- com.google.dagger:hilt-android:2.55 (*)
+|    |    |         \--- com.google.dagger:hilt-android:2.56 (*)
 |    |    +--- project :modules:services:ui
-|    |    |    \--- com.google.dagger:hilt-android:2.55 (*)
+|    |    |    \--- com.google.dagger:hilt-android:2.56 (*)
 |    |    \--- project :modules:services:views
-|    |         \--- com.google.dagger:hilt-android:2.55 (*)
+|    |         \--- com.google.dagger:hilt-android:2.56 (*)
 |    \--- project :modules:features:settings
-|         +--- com.google.dagger:hilt-android:2.55 (*)
+|         +--- com.google.dagger:hilt-android:2.56 (*)
 |         \--- androidx.hilt:hilt-navigation-compose:1.2.0
 |              \--- androidx.hilt:hilt-navigation:1.2.0
-|                   \--- com.google.dagger:hilt-android:2.49 -> 2.55 (*)
+|                   \--- com.google.dagger:hilt-android:2.49 -> 2.56 (*)
 +--- project :modules:features:discover
-|    +--- com.google.dagger:hilt-android:2.55 (*)
+|    +--- com.google.dagger:hilt-android:2.56 (*)
 |    \--- project :modules:features:podcasts
-|         +--- com.google.dagger:hilt-android:2.55 (*)
+|         +--- com.google.dagger:hilt-android:2.56 (*)
 |         \--- project :modules:features:player
-|              +--- com.google.dagger:hilt-android:2.55 (*)
+|              +--- com.google.dagger:hilt-android:2.56 (*)
 |              \--- project :modules:features:reimagine
-|                   +--- com.google.dagger:hilt-android:2.55 (*)
+|                   +--- com.google.dagger:hilt-android:2.56 (*)
 |                   \--- project :modules:services:sharing
-|                        \--- com.google.dagger:hilt-android:2.55 (*)
+|                        \--- com.google.dagger:hilt-android:2.56 (*)
 +--- project :modules:features:engage
-|    \--- com.google.dagger:hilt-android:2.55 (*)
+|    \--- com.google.dagger:hilt-android:2.56 (*)
 +--- project :modules:features:endofyear
-|    \--- com.google.dagger:hilt-android:2.55 (*)
+|    \--- com.google.dagger:hilt-android:2.56 (*)
 +--- project :modules:features:filters
-|    \--- com.google.dagger:hilt-android:2.55 (*)
+|    \--- com.google.dagger:hilt-android:2.56 (*)
 +--- project :modules:features:profile
-|    +--- com.google.dagger:hilt-android:2.55 (*)
+|    +--- com.google.dagger:hilt-android:2.56 (*)
 |    \--- project :modules:features:referrals
-|         \--- com.google.dagger:hilt-android:2.55 (*)
+|         \--- com.google.dagger:hilt-android:2.56 (*)
 +--- project :modules:features:shared
-|    \--- com.google.dagger:hilt-android:2.55 (*)
+|    \--- com.google.dagger:hilt-android:2.56 (*)
 +--- project :modules:features:taskerplugin
-|    \--- com.google.dagger:hilt-android:2.55 (*)
+|    \--- com.google.dagger:hilt-android:2.56 (*)
 +--- project :modules:features:widgets
-|    \--- com.google.dagger:hilt-android:2.55 (*)
+|    \--- com.google.dagger:hilt-android:2.56 (*)
 \--- project :modules:services:media-noop
-     \--- com.google.dagger:hilt-android:2.55 (*)
+     \--- com.google.dagger:hilt-android:2.56 (*)

Build environment changes

list
! Upgraded Dependencies
com.google.dagger.hilt.android:com.google.dagger.hilt.android.gradle.plugin:2.56, (changed from 2.55)
com.google.dagger:hilt-android-gradle-plugin:2.56, (changed from 2.55)
tree
-\--- com.google.dagger.hilt.android:com.google.dagger.hilt.android.gradle.plugin:2.55
-     \--- com.google.dagger:hilt-android-gradle-plugin:2.55
-          +--- org.jetbrains.kotlin:kotlin-stdlib:2.0.21 (*)
-          +--- org.ow2.asm:asm:9.6 -> 9.7
-          \--- com.squareup:javapoet:1.13.0
+\--- com.google.dagger.hilt.android:com.google.dagger.hilt.android.gradle.plugin:2.56
+     \--- com.google.dagger:hilt-android-gradle-plugin:2.56
+          +--- org.jetbrains.kotlin:kotlin-stdlib:2.0.21 (*)
+          +--- org.ow2.asm:asm:9.6 -> 9.7
+          \--- com.squareup:javapoet:1.13.0

@mebarbosa mebarbosa merged commit 7884f75 into main Mar 24, 2025
20 of 21 checks passed
@mebarbosa mebarbosa deleted the dependabot/gradle/hilt-2.56 branch March 24, 2025 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Area] Dependencies Pull requests that update a dependency file [Type] Tech Debt Involving upgrades or refactoring to maintain or enhance the codebase.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants