Fixed an issue where a scoped @Binds used in a cycle would cause an NPE on component creation in fastInit mode. (fae46c713)
Fixed #3677. Added a better error message for when @Multibinds types incorrectly used framework types like Provider. (f5ad2b29b)
Fixed an issue where when giving a missing binding error, an available matching binding in another component would not be suggested if the matching binding was otherwise unused. (00d84ba85)
What’s new in Hilt
Bug Fixes
Fixed #3546. Filtered the compiler args passed to hiltJavaCompile in the Hilt Gradle plugin to avoid overlapping outputs and cache misses. (b7c0d3e07)
Improved the error message when @HiltAndroidApp is not used in an app module (ffaa7a6ff)
Dagger 2.44.2
What’s new in Dagger
Bug fixes
Fixes #3633: Updated shading rules to include newly added classes in androidx.room.compiler to prevent class version conflicts with user dependency on Room.
Dagger 2.44.1
What’s new in Dagger
Bug fixes
Fixes #3619: Upgrades XProcessing jars to get upstream fix for enums in annotations (which were missing fully qualified name or import in generated code).
Dagger 2.44
What’s new In Dagger
Potentially breaking changes
Fixes #3531: Removed formatting from dagger.android generated source could be a breaking change for anyone relying on golden files for Dagger’s generated code. (d123efdf0)
Bug Fixes
Fixes #3522: Avoids pre-validating the nearest enclosing type in the InjectProcessingStep. (1d74d1fd3)
What’s new in Hilt
Potentially breaking changes
Added ViewModelLifecycle. This can be injected in the ViewModelComponent and used to register listeners for when ViewModel#onCleared() is called. This change also includes a breaking change for anyone who implemented the ActivityRetainedLifecycle interface themselves. This should be rare though as this interface was not meant to be implemented by users. (55aa4c60a)
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 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 com.google.dagger:hilt-android-testing from 2.43 to 2.45.
Release notes
Sourced from com.google.dagger:hilt-android-testing's releases.
... (truncated)
Commits
22705fb
2.45 release47abf56
Includes invalid annotation name in debug message with KSP.f347c8a
Fix Java code containing illegal extra semicolons in import lists027b02c
Clean-up: Remove unused methods and references to JavaFileObject.fae46c7
Fix an issue where a scoped@Binds
used in a cycle would cause an NPE on comp...85a2cb2
Migrate Dagger's javatests/dagger/functional/nullables/ tests to Kotlin sources.9c1fd05
Cleanup dagger/functional/nullables tests.757d709
Add better error message for@Module
-annotated Kotlinobject
with invalid...ebf8e9e
Cleanup: Move dagger.android validation into its own method in ModuleValidator.6a1e5bd
[Clean-up]: Use multiline strings in hasErrorContaining(String).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 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)