-
Notifications
You must be signed in to change notification settings - Fork 0
fix(deps): update anvil to v2.7.0 #166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
develop
Choose a base branch
from
renovate/anvil
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
0ed253b to
0eb7ee1
Compare
0eb7ee1 to
09cd2e3
Compare
5b92d77 to
9e5856f
Compare
9e5856f to
2fd6015
Compare
2fd6015 to
9a93a21
Compare
9a93a21 to
b7f85e3
Compare
c0ce745 to
5c98f0d
Compare
5c98f0d to
559ad73
Compare
559ad73 to
ec21b8d
Compare
ec21b8d to
03bc6d9
Compare
03bc6d9 to
790ee05
Compare
790ee05 to
8a264fb
Compare
8a264fb to
b32bc0f
Compare
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.8→2.7.02.4.8→2.7.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release 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.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.