Skip to content

Conversation

@dependabot-preview
Copy link

Bumps dagger-compiler from 2.21 to 2.32.

Release notes

Sourced from dagger-compiler's releases.

Dagger 2.32

What’s New

Dagger

  • Parameters in @AssistedFactory classes that have the same type now require a name to be set via @Assisted("foo") to disambiguate between arguments. Previously, order of parameters was used. Fixes #2281. (44d4f4b85)

Bug fixes

  • Fix #2359: Fixes self-loop when a generated implementation of an @AssistedFactory method calls a generated component method with the same name. (e2c9a9a21)
  • Fix @AssistedFactory to allow for creating a parameterized Foo with type parameters specified by the factory. (552f430d2)
  • Issue #2279: Adds a better error message when trying to use a type parameter with an @AssistedFactory creator method. (9a9015190)
  • Fix #2309: Fix a type inference issue with generated assisted factories in Java 7. (cda6e32f1)

Hilt

  • A new delayComponentReady() method on HiltAndroidRule allows deferring component initialization in tests until after test execution has started. This allows modifying @BindValue field values in the case that default component initialization would have otherwise requested them before an @Before or @Test method. (315b1fa30)
  • HiltAndroidRule now enforces that inject() is only called at most once per test case. (5dfd484bf)
  • Removes the deprecated ApplicationComponent. Note that this will now require upgrading any Androidx Hilt Worker dependencies to version 1.0.0-alpha03. (6592b06b2)
  • Fix #2337: Fix an incompatibility issue between the Hilt Gradle Plugin and AGP 4.2.0-beta04. Note that this fix makes it so that earlier versions of AGP 4.2.0 are incompatible with Hilt's Plugin. (9da5114b0)

Bug fixes

  • Fix #2306: Fix an issue where internal Kotlin classes where not accessible with enableExperimentalClasspathAggregation turned ON. (53ceb9167, 98c73c619)
  • Fix an issue where an @InstallIn module referencing a component without a component builder would fail (132d9eab8)

Dagger 2.31.2

Bug fixes

  • Issue #2300: Reverts an unintentional change to Hilt and dagger-android-support that depended on RC versions of AndroidX (850274b76)
  • Issue #2291: Reverts Hilt internal entry points back to public to avoid triggering an existing r8 optimization bug. (7a3d6fb3b)

Dagger 2.31.1

Bug fixes

  • Adds back the deprecated ApplicationComponent since the latest androidx.hilt:hilt-work release still uses it. (b9325a45c)
  • Generated assisted factory classes are now final (6c11a603f)
  • @AssistedInject types can now be used as @Assisted parameters (c4d829d61)

Dagger 2.31

What’s New

Dagger

Assisted Injection

Dagger now supports assisted injection. See the docs at https://dagger.dev/dev-guide/assisted-injection (daf0c6613)

Hilt

@TestInstallIn

... (truncated)

Commits
  • 7951d5e 2.32 release
  • 53ceb91 Filter out the configuring project from the artifact view in the Hilt Gradle ...
  • 606c89b Internal changes
  • e2c9a9a Fixes self-loop when generated implementation of an assisted factory method c...
  • 6592b06 Remove the deprecated ApplicationComponent.
  • 44d4f4b Add string qualifier to @Assisted annotation to disambiguate duplicate assist...
  • 132d9ea Fix an issue where a module referencing a component without a builder would f...
  • 5dfd484 Uncomment precondition check enforcing that HiltAndroidRule#inject() is not c...
  • 477ddd6 Internal refactor
  • de8ff2b Reset DelayComponentState between gradle test runs. Adds a new gradle test th...
  • Additional commits viewable in compare view

Dependabot compatibility score

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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [dagger-compiler](https://github.com/google/dagger) from 2.21 to 2.32.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](google/dagger@dagger-2.21...dagger-2.32)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Feb 9, 2021
@dependabot-preview
Copy link
Author

Superseded by #21.

@dependabot-preview dependabot-preview bot deleted the dependabot/maven/com.google.dagger-dagger-compiler-2.32 branch February 26, 2021 08:46
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