mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
build(deps): Bump com.google.dagger:hilt-android from 2.44.1 to 2.48.1 in /kotlin/android/app (#2398)
[//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps [com.google.dagger:hilt-android](https://github.com/google/dagger) from 2.44.1 to 2.48.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/google/dagger/releases">com.google.dagger:hilt-android's releases</a>.</em></p> <blockquote> <h2>Dagger 2.48.1</h2> <h2>Bug Fixes</h2> <p>Fixes <a href="https://redirect.github.com/google/dagger/issues/4063">#4063</a>, <a href="https://redirect.github.com/google/dagger/issues/4054">#4054</a>: [KSP]: Fixes some incremental processing issues with KSP (c8a568956) Fixes <a href="https://redirect.github.com/google/dagger/issues/4046">#4046</a>: [KSP] Fixes "Unexpected element" in XProcessing library (<a href="bdc1bb06d4</a>) Fixes <a href="https://redirect.github.com/google/dagger/issues/4059">#4059</a>: [KSP] Align behavior of generic inline types in KSP with KAPT in XProcessing library (<a href="b0fa9cf493</a>) Fixes <a href="https://redirect.github.com/google/dagger/issues/3980">#3980</a>: Fixes Lint crash with AGP 8.1.0. (e651294c2) Fixes <a href="https://redirect.github.com/google/dagger/issues/4055">#4055</a>: Fixes issue with using generic types in Dagger's ClassKey (9852b4237)</p> <h1>Dagger 2.48</h1> <h2>Dagger/Hilt KSP support</h2> <p>Dagger 2.48 includes the alpha release of the Dagger and Hilt KSP processors.</p> <p>Instructions for using the Dagger/Hilt KSP processors can be found at <a href="https://dagger.dev/dev-guide/ksp">https://dagger.dev/dev-guide/ksp</a>.</p> <p>In order to use Dagger’s KSP processor you will need to:</p> <ul> <li>Follow the basic setup to migrate Dagger’s processors from <code>kapt</code> to <code>ksp</code> (see <a href="https://dagger.dev/dev-guide/ksp#setup">https://dagger.dev/dev-guide/ksp#setup</a>).</li> <li>Migrate any <a href="https://dagger.dev/dev-guide/spi">Dagger SPI plugins</a> to the new Dagger SPI plugins API (with KSP support) (see <a href="https://dagger.dev/dev-guide/ksp#new-dagger-spi-plugin-with-ksp-support">https://dagger.dev/dev-guide/ksp#new-dagger-spi-plugin-with-ksp-support</a>).</li> <li>Ensure that there are no <code>kapt</code> processors that generate classes that need to interact with Dagger (see <a href="https://dagger.dev/dev-guide/ksp#interaction-with-javackapt-processors">https://dagger.dev/dev-guide/ksp#interaction-with-javackapt-processors</a>).</li> </ul> <p>If you depend on <code>androidx.hilt:hilt-common</code> or <code>androidx.hilt:hilt-work</code> they will need to be updated to at least <a href="https://developer.android.com/jetpack/androidx/releases/hilt#hilt-common_hilt-compiler_hilt-work_version_11_2">1.1.0-alpha01</a>.</p> <p>Also note that Dagger’s KSP processors are still in the alpha stage. So far we’ve focused mainly on trying to ensure correctness rather than optimize performance. Please apply due diligence when enabling <code>ksp</code> and report any bugs or performance issues at <a href="https://github.com/google/dagger/issues">https://github.com/google/dagger/issues</a>. The current list of known issues can be found <a href="https://github.com/google/dagger/issues?q=is%3Aissue+is%3Aopen+label%3A%22area%3A+ksp%22+label%3A%22type%3A+bug%22">here</a>.</p> <p>There are also a few potentially breaking changes included with this release. These changes were made to better support Dagger usage with Kotlin sources, and make the migration from KAPT to KSP more seamless. We don’t expect these changes to affect most users. Please see below for more details.</p> <h2>Breaking changes</h2> <h3>The <code>dagger.ignoreProvisionKeyWildcards</code> is now enabled by default</h3> <p>This may break apps that are providing the same binding with different wildcards, e.g. <code>Foo<Bar></code> and <code>Foo<? extends Bar></code>.</p> <p>Fix: See <a href="https://dagger.dev/dev-guide/compiler-options#ignore-provision-key-wildcards">https://dagger.dev/dev-guide/compiler-options#ignore-provision-key-wildcards</a> for suggestions on how to fix this. If fixing is not an immediate option, you can still disable the flag with <code>dagger.ignoreProvisionKeyWildcards=DISABLED</code>.</p> <h3><code>@Binds</code> assignability check</h3> <p>Unlike KAPT, KSP takes nullability into account when checking if a type is assignable to another type. This changes the behavior of Dagger’s <code>@Binds</code> usage validation such that a type that was assignable in KAPT may no longer be assignable in KSP. For example:</p> <pre lang="kotlin"><code>// Incorrect: this compiles successfully in KAPT but the compilation fails in KSP @Binds fun bind(impl: FooImpl<Bar?>): Foo<Bar> </code></pre> <p>Fix: To fix this breakage, users should update the parameter or return type in the method such that they are actually assignable when taking nullability into account. For example:</p> <pre lang="kotlin"><code>// Correct: this compiles successfully in KAPT and KSP </tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="2d9ba60724"><code>2d9ba60</code></a> 2.48.1 release</li> <li><a href="378535e5a4"><code>378535e</code></a> Refactor ResolvedBindings and LegacyBindingGraph to include the ComponentPath.</li> <li><a href="fd907cb956"><code>fd907cb</code></a> Allow sharding for Dagger compiler tests.</li> <li><a href="558cc51334"><code>558cc51</code></a> Fix Dagger's incremental processing for KSP.</li> <li><a href="5cc209ce61"><code>5cc209c</code></a> [Refactor]: This CL refactors a few things in <code>ComponentDescriptor</code>.</li> <li><a href="e8f5f2b8c4"><code>e8f5f2b</code></a> Drop latest XProcessing jars into Dagger.</li> <li><a href="7412301439"><code>7412301</code></a> Internal changes</li> <li><a href="76bde06981"><code>76bde06</code></a> Rollback of "[Refactor] Remove duplicated logic in <code>BindingGraphFactory</code>"</li> <li><a href="e651294c2e"><code>e651294</code></a> Fix Lint crash with AGP 8.1.0. See <a href="https://redirect.github.com/google/dagger/pull/4023">google/dagger#4023</a>...</li> <li><a href="47953aaecf"><code>47953aa</code></a> [Refactor] Remove duplicated logic in <code>BindingGraphFactory</code>.</li> <li>Additional commits viewable in <a href="https://github.com/google/dagger/compare/dagger-2.44.1...dagger-2.48.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
@@ -166,7 +166,7 @@ dependencies {
|
||||
implementation("androidx.navigation:navigation-ui-ktx:2.5.3")
|
||||
|
||||
// Hilt
|
||||
implementation("com.google.dagger:hilt-android:2.44.1")
|
||||
implementation("com.google.dagger:hilt-android:2.48.1")
|
||||
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
|
||||
implementation("androidx.core:core-ktx:$coreVersion")
|
||||
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1")
|
||||
|
||||
Reference in New Issue
Block a user