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.50 to 2.51 #60

Merged
merged 1 commit into from
Mar 5, 2024
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 4, 2024

Bumps hilt from 2.50 to 2.51.
Updates com.google.dagger:hilt-android from 2.50 to 2.51

Release notes

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

Dagger 2.51

New Dagger Features

  • Added a @LazyClassKey annotation that supports using class names as a map key. Unlike the existing @ClassKey, the map generated by @LazyClassKey won’t eagerly load all of the classes for the keys. This can be useful in situations or environments where classloading can be expensive, such as on Android. For more information, see https://dagger.dev/dev-guide/multibindings

Potential breaking changes

  • Protected fields using @Inject are now banned in Kotlin classes. This is because Kotlin protected fields are not accessible by code in the same package, unlike Java. This has been working up to this point because Dagger generates Java code, but that is unintentional and would break if Dagger switched to generate Kotlin code.(408431a3b)

New Hilt Features

  • Fixed #3197: Used the new @LazyClassKey Dagger feature to remove the keep rule for @HiltViewModel class names. This allows obfuscation of @HiltViewModel annotated ViewModel class names with R8. (0786d0af5)
  • Added @SkipTestInjection which can be used for skipping test injection in Hilt Android tests, which may be useful if building separate custom test infrastructure to inject the test class from another Hilt component. (c40811e71)

Dagger bug fixes

  • Improve Dagger MissingBinding error messages to give more information and be more consistent. (c8722386a)
  • Fixed #4201: Suppress warning for casting in Dagger generated code. (813ffced8)
  • Fixed #4203: Removes @Deprecated annotation causing warnings (3cbc94ad3)
  • Fixed #4199: Support member injections from type aliased superclass (662d82359)
  • Complete Ksp support for Dagger Android: Added a Ksp Processor for Dagger Android ProguardProcessor that was previously missed. The ProguardProcessor is a Dagger Android implementation detail that makes sure the AndroidInjector works correctly when shrinking tools obfuscate @ContributesAndroidInjector annotated injector class names. (e71de27a1)
Commits
  • c6c0b8a 2.51 release
  • 0786d0a Allow obfuscating @​HiltViewModel annotated ViewModel name with r8.
  • c5075df Remove kitkat-specific test.
  • c40811e Add a SkipTestInjection annotation to disable injecting the test class. This ...
  • 02d62d6 Replace processingEnv.requireTypeElement() with `DaggerSuperficialValidatio...
  • c872238 Improve Dagger error messages to give more information and be more consistent.
  • 7ac1dcc Internal changes
  • 09e5ac2 Include proguard rules in dagger core artifact so that LazyClassKeyMap's stri...
  • 348bd75 Rename proguard_specs attribute for gen_maven_artifact to reflect how it will...
  • d7a55be Migrate usages of Truth8.assertThat to equivalent usages of `Truth.assertTh...
  • Additional commits viewable in compare view

Updates com.google.dagger:hilt-compiler from 2.50 to 2.51

Release notes

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

Dagger 2.51

New Dagger Features

  • Added a @LazyClassKey annotation that supports using class names as a map key. Unlike the existing @ClassKey, the map generated by @LazyClassKey won’t eagerly load all of the classes for the keys. This can be useful in situations or environments where classloading can be expensive, such as on Android. For more information, see https://dagger.dev/dev-guide/multibindings

Potential breaking changes

  • Protected fields using @Inject are now banned in Kotlin classes. This is because Kotlin protected fields are not accessible by code in the same package, unlike Java. This has been working up to this point because Dagger generates Java code, but that is unintentional and would break if Dagger switched to generate Kotlin code.(408431a3b)

New Hilt Features

  • Fixed #3197: Used the new @LazyClassKey Dagger feature to remove the keep rule for @HiltViewModel class names. This allows obfuscation of @HiltViewModel annotated ViewModel class names with R8. (0786d0af5)
  • Added @SkipTestInjection which can be used for skipping test injection in Hilt Android tests, which may be useful if building separate custom test infrastructure to inject the test class from another Hilt component. (c40811e71)

Dagger bug fixes

  • Improve Dagger MissingBinding error messages to give more information and be more consistent. (c8722386a)
  • Fixed #4201: Suppress warning for casting in Dagger generated code. (813ffced8)
  • Fixed #4203: Removes @Deprecated annotation causing warnings (3cbc94ad3)
  • Fixed #4199: Support member injections from type aliased superclass (662d82359)
  • Complete Ksp support for Dagger Android: Added a Ksp Processor for Dagger Android ProguardProcessor that was previously missed. The ProguardProcessor is a Dagger Android implementation detail that makes sure the AndroidInjector works correctly when shrinking tools obfuscate @ContributesAndroidInjector annotated injector class names. (e71de27a1)
Commits
  • c6c0b8a 2.51 release
  • 0786d0a Allow obfuscating @​HiltViewModel annotated ViewModel name with r8.
  • c5075df Remove kitkat-specific test.
  • c40811e Add a SkipTestInjection annotation to disable injecting the test class. This ...
  • 02d62d6 Replace processingEnv.requireTypeElement() with `DaggerSuperficialValidatio...
  • c872238 Improve Dagger error messages to give more information and be more consistent.
  • 7ac1dcc Internal changes
  • 09e5ac2 Include proguard rules in dagger core artifact so that LazyClassKeyMap's stri...
  • 348bd75 Rename proguard_specs attribute for gen_maven_artifact to reflect how it will...
  • d7a55be Migrate usages of Truth8.assertThat to equivalent usages of `Truth.assertTh...
  • Additional commits viewable in compare view

Updates com.google.dagger:hilt-android-compiler from 2.50 to 2.51

Release notes

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

Dagger 2.51

New Dagger Features

  • Added a @LazyClassKey annotation that supports using class names as a map key. Unlike the existing @ClassKey, the map generated by @LazyClassKey won’t eagerly load all of the classes for the keys. This can be useful in situations or environments where classloading can be expensive, such as on Android. For more information, see https://dagger.dev/dev-guide/multibindings

Potential breaking changes

  • Protected fields using @Inject are now banned in Kotlin classes. This is because Kotlin protected fields are not accessible by code in the same package, unlike Java. This has been working up to this point because Dagger generates Java code, but that is unintentional and would break if Dagger switched to generate Kotlin code.(408431a3b)

New Hilt Features

  • Fixed #3197: Used the new @LazyClassKey Dagger feature to remove the keep rule for @HiltViewModel class names. This allows obfuscation of @HiltViewModel annotated ViewModel class names with R8. (0786d0af5)
  • Added @SkipTestInjection which can be used for skipping test injection in Hilt Android tests, which may be useful if building separate custom test infrastructure to inject the test class from another Hilt component. (c40811e71)

Dagger bug fixes

  • Improve Dagger MissingBinding error messages to give more information and be more consistent. (c8722386a)
  • Fixed #4201: Suppress warning for casting in Dagger generated code. (813ffced8)
  • Fixed #4203: Removes @Deprecated annotation causing warnings (3cbc94ad3)
  • Fixed #4199: Support member injections from type aliased superclass (662d82359)
  • Complete Ksp support for Dagger Android: Added a Ksp Processor for Dagger Android ProguardProcessor that was previously missed. The ProguardProcessor is a Dagger Android implementation detail that makes sure the AndroidInjector works correctly when shrinking tools obfuscate @ContributesAndroidInjector annotated injector class names. (e71de27a1)
Commits
  • c6c0b8a 2.51 release
  • 0786d0a Allow obfuscating @​HiltViewModel annotated ViewModel name with r8.
  • c5075df Remove kitkat-specific test.
  • c40811e Add a SkipTestInjection annotation to disable injecting the test class. This ...
  • 02d62d6 Replace processingEnv.requireTypeElement() with `DaggerSuperficialValidatio...
  • c872238 Improve Dagger error messages to give more information and be more consistent.
  • 7ac1dcc Internal changes
  • 09e5ac2 Include proguard rules in dagger core artifact so that LazyClassKeyMap's stri...
  • 348bd75 Rename proguard_specs attribute for gen_maven_artifact to reflect how it will...
  • d7a55be Migrate usages of Truth8.assertThat to equivalent usages of `Truth.assertTh...
  • Additional commits viewable in compare view

Updates com.google.dagger:hilt-android-testing from 2.50 to 2.51

Release notes

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

Dagger 2.51

New Dagger Features

  • Added a @LazyClassKey annotation that supports using class names as a map key. Unlike the existing @ClassKey, the map generated by @LazyClassKey won’t eagerly load all of the classes for the keys. This can be useful in situations or environments where classloading can be expensive, such as on Android. For more information, see https://dagger.dev/dev-guide/multibindings

Potential breaking changes

  • Protected fields using @Inject are now banned in Kotlin classes. This is because Kotlin protected fields are not accessible by code in the same package, unlike Java. This has been working up to this point because Dagger generates Java code, but that is unintentional and would break if Dagger switched to generate Kotlin code.(408431a3b)

New Hilt Features

  • Fixed #3197: Used the new @LazyClassKey Dagger feature to remove the keep rule for @HiltViewModel class names. This allows obfuscation of @HiltViewModel annotated ViewModel class names with R8. (0786d0af5)
  • Added @SkipTestInjection which can be used for skipping test injection in Hilt Android tests, which may be useful if building separate custom test infrastructure to inject the test class from another Hilt component. (c40811e71)

Dagger bug fixes

  • Improve Dagger MissingBinding error messages to give more information and be more consistent. (c8722386a)
  • Fixed #4201: Suppress warning for casting in Dagger generated code. (813ffced8)
  • Fixed #4203: Removes @Deprecated annotation causing warnings (3cbc94ad3)
  • Fixed #4199: Support member injections from type aliased superclass (662d82359)
  • Complete Ksp support for Dagger Android: Added a Ksp Processor for Dagger Android ProguardProcessor that was previously missed. The ProguardProcessor is a Dagger Android implementation detail that makes sure the AndroidInjector works correctly when shrinking tools obfuscate @ContributesAndroidInjector annotated injector class names. (e71de27a1)
Commits
  • c6c0b8a 2.51 release
  • 0786d0a Allow obfuscating @​HiltViewModel annotated ViewModel name with r8.
  • c5075df Remove kitkat-specific test.
  • c40811e Add a SkipTestInjection annotation to disable injecting the test class. This ...
  • 02d62d6 Replace processingEnv.requireTypeElement() with `DaggerSuperficialValidatio...
  • c872238 Improve Dagger error messages to give more information and be more consistent.
  • 7ac1dcc Internal changes
  • 09e5ac2 Include proguard rules in dagger core artifact so that LazyClassKeyMap's stri...
  • 348bd75 Rename proguard_specs attribute for gen_maven_artifact to reflect how it will...
  • d7a55be Migrate usages of Truth8.assertThat to equivalent usages of `Truth.assertTh...
  • Additional commits viewable in compare view

Updates com.google.dagger.hilt.android from 2.50 to 2.51

Release notes

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

Dagger 2.51

New Dagger Features

  • Added a @LazyClassKey annotation that supports using class names as a map key. Unlike the existing @ClassKey, the map generated by @LazyClassKey won’t eagerly load all of the classes for the keys. This can be useful in situations or environments where classloading can be expensive, such as on Android. For more information, see https://dagger.dev/dev-guide/multibindings

Potential breaking changes

  • Protected fields using @Inject are now banned in Kotlin classes. This is because Kotlin protected fields are not accessible by code in the same package, unlike Java. This has been working up to this point because Dagger generates Java code, but that is unintentional and would break if Dagger switched to generate Kotlin code.(408431a3b)

New Hilt Features

  • Fixed #3197: Used the new @LazyClassKey Dagger feature to remove the keep rule for @HiltViewModel class names. This allows obfuscation of @HiltViewModel annotated ViewModel class names with R8. (0786d0af5)
  • Added @SkipTestInjection which can be used for skipping test injection in Hilt Android tests, which may be useful if building separate custom test infrastructure to inject the test class from another Hilt component. (c40811e71)

Dagger bug fixes

  • Improve Dagger MissingBinding error messages to give more information and be more consistent. (c8722386a)
  • Fixed #4201: Suppress warning for casting in Dagger generated code. (813ffced8)
  • Fixed #4203: Removes @Deprecated annotation causing warnings (3cbc94ad3)
  • Fixed #4199: Support member injections from type aliased superclass (662d82359)
  • Complete Ksp support for Dagger Android: Added a Ksp Processor for Dagger Android ProguardProcessor that was previously missed. The ProguardProcessor is a Dagger Android implementation detail that makes sure the AndroidInjector works correctly when shrinking tools obfuscate @ContributesAndroidInjector annotated injector class names. (e71de27a1)
Commits
  • c6c0b8a 2.51 release
  • 0786d0a Allow obfuscating @​HiltViewModel annotated ViewModel name with r8.
  • c5075df Remove kitkat-specific test.
  • c40811e Add a SkipTestInjection annotation to disable injecting the test class. This ...
  • 02d62d6 Replace processingEnv.requireTypeElement() with `DaggerSuperficialValidatio...
  • c872238 Improve Dagger error messages to give more information and be more consistent.
  • 7ac1dcc Internal changes
  • 09e5ac2 Include proguard rules in dagger core artifact so that LazyClassKeyMap's stri...
  • 348bd75 Rename proguard_specs attribute for gen_maven_artifact to reflect how it will...
  • d7a55be Migrate usages of Truth8.assertThat to equivalent usages of `Truth.assertTh...
  • 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.50 to 2.51.

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

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

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

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

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

---
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-android-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:hilt-android-testing
  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 the dependencies Pull requests that update a dependency file label Mar 4, 2024
@sebaslogen sebaslogen merged commit 407b7d8 into main Mar 5, 2024
3 checks passed
@dependabot dependabot bot deleted the dependabot/gradle/hilt-2.51 branch March 5, 2024 06:25
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant