Fix #2997, #3032: Fixed issue with @BindsInstance parameters when bound types are from compiled dependencies. (ec1a98c).
Hilt New features
Add convenient overloads for Kotlin users of EntryPointAccessors (6e1f0ea2c)
@AliasOf now accepts multiple scope annotations. (aa92b9e4c)
Hilt Bug Fixes
Fix #3006:Sort dependencies in ComponentTreeDeps manually to give consistent output when doing incremental processing. (93f04ae1d)
Dagger 2.40.1
Bug Fixes
Fix an AGP 7.2 incompatibility issue in the Hilt Gradle Plugin due to AGP breaking their API when cleaning up a deprecated type. (ed677ba1c)
Fix #2986 - An issue in the Dagger processor where it would crash due to a bad initialization. (608bcba38)
Dagger 2.40
What’s New in Hilt
New Changes
Flip the runtime flag default so that the fix is off and remove the compiler option for the Fragment.getContext() fix to make it easier to roll out the fix. This does not change the current default behavior of having the fix be off. (1c24b9718, e61ff7239)
Turn ON enableAggregatingTask by default in Hilt (90ea6a604)
Bug fixes
EarlyEntryPoints#get() will now throw if there are no @EarlyEntryPoint annotated interfaces. (b5ef01c04)
Avoid using UAST implementation classes in Lint checkers. (44e1f056e)
Fix an issue where @OptionalInject activity/fragment classes could not be used with non-Hilt ViewModels. (8ef08fa07)
Dagger 2.39.1
Hilt bug fixes
Fix #2834: Hilt processor now checks the correct "names" property when getting values from Kotlin @Suppress annotations. (db21d3fd1)
Fix #2904: Change toImmutableSet to use DaggerStreams rather than Guava. (43a7fe1ba)
Dagger 2.39
What’s new in Hilt
New breaking changes
The compiler flag shareTestComponents now defaults to true. This may significantly improve test compilation time for large projects, but is a breaking change for some tests due to changed visibility requirements. See Hilt’s flags documentation for details. (7e09cee32)
Hilt compiler flags are now strictly verified. Invalid flags will no longer compile. (742ba95e4)
Bug fixes
Fix #2779: Dagger no longer requires the additional google repository mentioned in the Dagger 2.28 release notes. (01cf47b26)
Fix #2997, #3032: Fixed issue with @BindsInstance parameters when bound types are from compiled dependencies. (ec1a98c).
Hilt New features
Add convenient overloads for Kotlin users of EntryPointAccessors (6e1f0ea2c)
@AliasOf now accepts multiple scope annotations. (aa92b9e4c)
Hilt Bug Fixes
Fix #3006:Sort dependencies in ComponentTreeDeps manually to give consistent output when doing incremental processing. (93f04ae1d)
Dagger 2.40.1
Bug Fixes
Fix an AGP 7.2 incompatibility issue in the Hilt Gradle Plugin due to AGP breaking their API when cleaning up a deprecated type. (ed677ba1c)
Fix #2986 - An issue in the Dagger processor where it would crash due to a bad initialization. (608bcba38)
Dagger 2.40
What’s New in Hilt
New Changes
Flip the runtime flag default so that the fix is off and remove the compiler option for the Fragment.getContext() fix to make it easier to roll out the fix. This does not change the current default behavior of having the fix be off. (1c24b9718, e61ff7239)
Turn ON enableAggregatingTask by default in Hilt (90ea6a604)
Bug fixes
EarlyEntryPoints#get() will now throw if there are no @EarlyEntryPoint annotated interfaces. (b5ef01c04)
Avoid using UAST implementation classes in Lint checkers. (44e1f056e)
Fix an issue where @OptionalInject activity/fragment classes could not be used with non-Hilt ViewModels. (8ef08fa07)
Dagger 2.39.1
Hilt bug fixes
Fix #2834: Hilt processor now checks the correct "names" property when getting values from Kotlin @Suppress annotations. (db21d3fd1)
Fix #2904: Change toImmutableSet to use DaggerStreams rather than Guava. (43a7fe1ba)
Dagger 2.39
What’s new in Hilt
New breaking changes
The compiler flag shareTestComponents now defaults to true. This may significantly improve test compilation time for large projects, but is a breaking change for some tests due to changed visibility requirements. See Hilt’s flags documentation for details. (7e09cee32)
Hilt compiler flags are now strictly verified. Invalid flags will no longer compile. (742ba95e4)
Bug fixes
Fix #2779: Dagger no longer requires the additional google repository mentioned in the Dagger 2.28 release notes. (01cf47b26)
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
daggerVersion
from 2.38.1 to 2.40.2. Updatesdagger
from 2.38.1 to 2.40.2Release notes
Sourced from dagger's releases.
... (truncated)
Commits
70d3602
2.40.2 release39d6e4d
Merge 203f84c6b63decb2c46f752ec02ee0bf6d39a0db into 93f04ae1d5b9b3ff221743a8c...203f84c
Checkout gh-pages from actions/checkout to ensure correct credentials when co...93f04ae
Sort dependencies in ComponentTreeDeps manually to give consistent output.9b44b19
Do not turn on fast init mode when experimental mode is on.e32f9c6
Migrate ComponentRequirements to XProcessing.ec1a98c
Use the javac element to get the@BindsInstance
parameter name.0c52e85
Internal cleanup5486fce
Internal change8184387
Add GitHub Actions workflow for pushing Dagger releases.Updates
dagger-compiler
from 2.38.1 to 2.40.2Release notes
Sourced from dagger-compiler's releases.
... (truncated)
Commits
70d3602
2.40.2 release39d6e4d
Merge 203f84c6b63decb2c46f752ec02ee0bf6d39a0db into 93f04ae1d5b9b3ff221743a8c...203f84c
Checkout gh-pages from actions/checkout to ensure correct credentials when co...93f04ae
Sort dependencies in ComponentTreeDeps manually to give consistent output.9b44b19
Do not turn on fast init mode when experimental mode is on.e32f9c6
Migrate ComponentRequirements to XProcessing.ec1a98c
Use the javac element to get the@BindsInstance
parameter name.0c52e85
Internal cleanup5486fce
Internal change8184387
Add GitHub Actions workflow for pushing Dagger releases.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)