Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): bump dagger from 2.37 to 2.42 (#516)
Bumps [dagger](https://github.com/google/dagger) from 2.37 to 2.42. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/google/dagger/releases">dagger's releases</a>.</em></p> <blockquote> <h2>Dagger 2.42</h2> <h1>What’s new in Dagger</h1> <h2>Potentially breaking changes</h2> <p>As of this release, Dagger’s generated class will no longer extend the user-defined <code>@component</code> annotated class (885b16dcf). This change was done to improve build times in certain scenarios by avoiding a known javac bottleneck. However, it may also be a breaking change for some users. For example</p> <pre><code>// This will fail as of Dagger version 2.42 DaggerMyComponent component = DaggerMyComponent.create(); <p>// Do this instead: MyComponent component = DaggerMyComponent.create(); </code></pre></p> <p>For migration purposes, we’ve added a temporary javac flag that can be used to re-enable the legacy behavior (the flag is disabled by default).</p> <pre><code>-Adagger.generatedClassExtendsComponent=ENABLED </code></pre> <p>This flag will be removed in a future version of Dagger.</p> <h1>What’s new in Hilt</h1> <h2>Bug fixes</h2> <ul> <li>Fix two issues (e3d446873): <ol> <li><code>matchingFallbacks</code> being ignored work with Hilt.</li> <li>Hilt causing jetifier to execute twice.</li> </ol> </li> <li>Allow Hilt view constructor to contain non-declared types. (dc76e82c0)</li> <li>Fix <a href="https://github-redirect.dependabot.com/google/dagger/issues/3222">#3222</a>. Generated fragment code previously would cause a Lint issue around <code>LayoutInflater.from()</code>. (850fc8474)</li> <li>Fix <a href="https://github-redirect.dependabot.com/google/dagger/issues/3329">#3329</a> where modules in a package with non-standard capitalization could cause an error in the Hilt Gradle Plugin. (029fe5702 and 329915f5f)</li> </ul> <h2>Dagger 2.41</h2> <h1>What’s New In Dagger</h1> <h2>Potentially Breaking Changes</h2> <ul> <li> <p>This release fixes a recently noticed, but long-standing bug (<a href="https://github-redirect.dependabot.com/google/dagger/issues/3136">#3136</a>) where Dagger’s processors may silently miss a scope/qualifier on a binding if the scope/qualifier annotation is unresolvable (i.e. it is not on the classpath).<br /> <br /> Dagger will now prefer to fail the build if there are any unresolvable annotations present where a scope/qualifier is allowed. While Dagger does its best to avoid failing the build for non-scope/qualifier annotations, in general it’s not possible to tell if an annotation is a scope/qualifier unless its type is resolvable -- thus, Dagger may fail on non-scope/qualifier annotations as well.<br /> <br /> If these changes break your build, we recommend first trying to fix the breakage by adding the appropriate missing dependencies to your build (in most cases the error message should tell you exactly what type is missing). Although not recommended, you can revert back to the old behavior using the compiler option <code>-Adagger.strictSuperficialValidation=DISABLED</code>; however, this option will be removed in a future release. If the breakage is specifically due to the validation of transitive component dependencies, you may choose to disable that validation using <code>-Adagger.validateTransitiveComponentDependencies=DISABLED</code>. If the breakage is specifically due to <code>androidx.hilt:hilt-lifecycle-viewmodel</code> you will need to migrate to the native Hilt API (see <a href="https://github-redirect.dependabot.com/google/dagger/issues/3257#issuecomment-1042627102">google/dagger#3257</a>).</p> </li> <li> <p>This release fixes an accidental regression (introduced in Dagger version 2.39) that allowed requesting a raw <code>@Inject</code> constructor type which was previously not allowed (a61aa50c8).<br /> <br /> We expect breakages due to this issue to be relatively rare and easy to fix -- just replace the raw type with the proper parameterized type.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/google/dagger/commit/46fc0503de3b3a9866d57acc3d6ae9f352de3cad"><code>46fc050</code></a> 2.42 release</li> <li><a href="https://github.com/google/dagger/commit/c3f19446218764da8151eade71804e22d74b004b"><code>c3f1944</code></a> Update kotlin-metadata-jvm to 4.0 which support reading metadata from upcomin...</li> <li><a href="https://github.com/google/dagger/commit/b60b8e52744404a736ac6858266f46f12895144f"><code>b60b8e5</code></a> Remove usages of <code>.java()</code>, <code>toJavac()</code>, and <code>toXProcessing()</code> which were nee...</li> <li><a href="https://github.com/google/dagger/commit/e79359549ad9e2da5a6ab216d09472cf6e329d49"><code>e793595</code></a> Internal Changes.</li> <li><a href="https://github.com/google/dagger/commit/d14a3d636fddd73d5375e417548e3ed1d8017849"><code>d14a3d6</code></a> Manually pass in application instance when creating EarlySingletonComponent.</li> <li><a href="https://github.com/google/dagger/commit/b0aa9f15f6b4f8d5f8872f751e65a0f275746c2d"><code>b0aa9f1</code></a> Replace javac implementation of XProcessingEnv#isAssignable() with XProcessin...</li> <li><a href="https://github.com/google/dagger/commit/dfab36dc4a13dcc7a9a081c1417c43625c3db04d"><code>dfab36d</code></a> Improve the error message for conflicting entry points.</li> <li><a href="https://github.com/google/dagger/commit/0dfbcaaac4187fab7808274567c14d5031b51ed0"><code>0dfbcaa</code></a> [Refactor] Move CompositeBindingGraphValidator into bindinggraphvalidation pa...</li> <li><a href="https://github.com/google/dagger/commit/1a01575a6fd4e4a711f4bf0066d6a27510353bf0"><code>1a01575</code></a> Fix O(N^2) performance issue when determining declaration order.</li> <li><a href="https://github.com/google/dagger/commit/75a79c030af37ecd17e92869b3e04fcc72494186"><code>75a79c0</code></a> Update the XProcessing jar</li> <li>Additional commits viewable in <a href="https://github.com/google/dagger/compare/dagger-2.37...dagger-2.42">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.dagger:dagger&package-manager=gradle&previous-version=2.37&new-version=2.42)](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 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>
- Loading branch information