Update dependency com.squareup.anvil to v2.7.0#193
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
6d98658 to
929a759
Compare
929a759 to
6c41095
Compare
6c41095 to
e2514d3
Compare
e2514d3 to
141226e
Compare
141226e to
3900c4c
Compare
3900c4c to
9cf8f5e
Compare
9cf8f5e to
30d6b19
Compare
30d6b19 to
b856442
Compare
b856442 to
800d49d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.4.6→2.7.0Release Notes
square/anvil (com.squareup.anvil)
v2.7.0Changed
2.2.202.57.2Factorys andMembersInjectors are now private to match changes in Dagger 2.57. This is a breaking change if you relied on the generated constructors and can instead call their staticcreatemethods.Deprecated
AndroidVariantFilter.androidVariantis now nullable and deprecated. We're no longer guaranteed that the variant will be available when creating the filter, and the base type is slated to be removed in a future release of AGP.v2.6.1Changed
2.2.0v2.6.0Changed
2.1.212.1.21. This will remain in sync with the Kotlin version for all future releases.2.2.02.56.22.54+for using thedagger.internal.Providertype, which helps prepare for jakarta support. This applies if you use Anvil'sgenerateDaggerFactoriesorgenerateDaggerFactoriesOnlyoptions and is expected to be a breaking change if you have any@Components built using older Dagger versions.v2.5.1Added
Changed
com.squareup.anvil.trackSourceFiles=falsein yourgradle.propertiesfile. Note that this property will be removed in a future version.Dependencies
2.0.21(#1059). Note that while this release targets Kotlin 2.0, the K2 compiler is not yet supported (see the roadmap for more details).v2.5.0Anvil now experimentally supports incremental compilation and Gradle's build caching,
as of v2.5.0.
This feature is disabled by default.
It can be enabled via a Gradle property or the Gradle DSL:
Gradle Properties
Gradle DSL
Added
Changed
anvil.hintpackage, which simplifies hint lookups and better future-proofs future KSP work. Note that this is a user-invisible change, but it will require a one-time recompilation of any Anvil-generated hints. (#975)@ContributesBindingand@ContributesMultibindinghave been completely reworked to a new implementation that generates one binding dagger module for each contributed binding. While not an ABI-breaking change, this does change the generated code and requires users to re-run Anvil's code gen over any projects contributing bindings in order to be merged with the new implementation.Deprecated
ClassReference.functionshas been deprecated in favor ofClassReference.memberFunctionsandClassReference.declaredMemberFunctionsClassReference.propertieshas been deprecated in favor ofClassReference.memberPropertiesandClassReference.declaredMemberPropertiesClassName.generateClassName()andClassReference.generateClassName()have been renamed to__.joinSimpleNames()for the sake of clarity. TheClassNameversion has also moved packages, so its new fully qualified name iscom.squareup.anvil.compiler.internal.joinSimpleNames.ClassName.generateClassNameString()has been renamed/moved tocom.squareup.anvil.compiler.internal.generateHintFileName().ContributesBinding.priorityhas been deprecated in favor of the int-value-basedContributesBinding.rank. This allows for more granular prioritization, rather than just the three enum entries thatContributesBinding.Priorityoffered.Removed
Fixed
ir-merges.txt(#1045)KaptGenerateStubsTasktasks to be configured eagerly (#1043)ignoreQualifierarguments when checking for duplicate bindings (#1033)CodeGeneratorimplementations (#956)rank, restore the enum topriority(#957)constarguments in propagated annotation arguments (#940)@ContributesSubcomponentgeneration until the last analysis rounds (#946)@Contributes___annotation in a dependency module is now correctly deleted when there is a relevant change in the dependency module.@Binds-annotated function binds a generic type (#885)projectDirorbinaryFileas part ofGeneratedFileCache(#883)Dependencies
1.9.24(#891)Custom Code Generator
GeneratedFileresult type has been deprecated in favor ofGeneratedFileWithSources. This new type allows for precise tracking of the generated files, which in turn drastically improves incremental compilation performance (#693).Other Notes & Contributions
Full Changelog: square/anvil@v2.4.9...v2.5.0
v2.4.9Changed
1.9.20Fixed
Other Notes & Contributions
2.4.9-1-8if your project is using Kotlin1.8.x. This is also the last planned release with Kotlin1.8.xsupport.v2.4.8Added
annotations-optionalartifact for non-required annotations that we've found to be helpful with managing larger dependency graphs, including@SingleInand@ForScope(#692).Fixed
Other Notes & Contributions
2.4.8-1-8if your project is using Kotlin1.8.x.v2.4.7Changed
1.9.0as the primary supported version1.8.22for dual-release artifacts. Use Anvil version2.4.7-1-8if your project is using Kotlin1.8.x.2.46.10.6.2Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.