Open
Conversation
8fc68e9 to
f1f7ca5
Compare
f1f7ca5 to
ef63216
Compare
ef63216 to
1d8a3f2
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.1->2.4.62.4.1->2.4.62.4.1->2.4.6⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
square/anvil
v2.4.6Changed
1.13.0and fix bug uncovered by new TypeName#equals/hashCode changes, see #699.1.8.21.v2.4.5Changed
compileOnlydependency, allowing the plugin to defer to whatever version the user already has. If you were accidentally depending on KGP through Anvil, you'll need to explicitly add the plugin yourself now.Removed
Fixed
Anyas bound type when using@ContributesBindingor@ContributesMultibinding, see #680.Custom Code Generator
AnvilCompilationclass, see #682.v2.4.4Added
Changed
Removed
Custom Code Generator
projectFiles.topLevelFunctionReferences(module)andprojectFiles.topLevelPropertyReferences(module). This allows you write code generators reacting to top-level functions and properties and not only classes, see #644.FunctionReferencetype has been renamed toMemberFunctionReferenceand a new super typeFunctionReferencehas been introduced forTopLevelFunctionReferenceandMemberFunctionReference.PropertyReferencetype has been renamed toMemberPropertyReferenceand a new super typePropertyReferencehas been introduced forTopLevelPropertyReferenceandMemberPropertyReference.Other Notes
2.4.3 - 2022-12-16
Added
@Bindsmethods are now validated for correctness when generating Dagger factories, see #649.Changed
1.7.20and Gradle to7.5.1, see #643.1.8.xreleases, we now use a fork ofkotlin-compile-testing:dev.zacsweers.kctfork:core:0.1.0-1.8.0-Beta01.2.4.3-1-8-0-RCif you want to test Kotlin1.8.0-RC. Until Anvil has fully adopted Kotlin1.8we'll publish additional versions that are required due to compiler API incompatibilities.Fixed
2.4.2 - 2022-08-23
Removed
Fixed
FqNames check the inner class hierarchy for the right reference, see #617.AnyasboundType, see #619.DisableIncrementalCompilationTask, if there are multiple Kotlin compilation tasks for the same module, see #602.TypeReference, see #611.2.4.1 - 2022-06-09
Changed
1.7.0only. For Kotlin1.6.*support please use version2.4.1-1-6instead. Future Anvil versions will remove support for Kotlin 1.6.Fixed
@Merge*annotations are used, see #596.Custom Code Generator
ClassReferenceto returnTypeReferenceinstead.PropertyReference.Psifrom primary constructor properties to have the same behavior as the descriptor implementation, see #609.2.4.0 - 2022-03-28
Added
mainbranch.Changed
compiler-utilsartifact have changed. Some highlights:ClassReferenceAPI.ClassReferenceis a sealed class and either implemented with PSI or Descriptors, so it's easy to fallback to a specific API and add your own extensions.classesAndInnerClass(module), useclassAndInnerClassReferences()instead.Removed
1.5.AnvilExtensionin the gradle plugin.Fixed
@ContributedSubcomponentwhen the trigger is created AFTER the contribution, see #478.FqNameif the type reference is an inner class, see #479.2.4.0-M2 - 2022-03-015
Added
Fixed
2.4.0-M1 - 2022-03-03
Added
mainbranch.Removed
1.5.AnvilExtensionin the gradle plugin.Fixed
@ContributedSubcomponents when the trigger is created AFTER the contribution, see #478.FqNameif the type reference is an inner class, see #479.2.3.11 - 2022-01-28
Changed
@ContributesSubcomponentto stable, see #474.2.3.11-1-6-10if you use Kotlin1.6.10. Until Anvil hasn't adopted Kotlin1.6I'll publish additional versions that are required due to compiler API incompatibilities.Added
@ContributesSubcomponentthrough a newreplacesattribute, see #466.CodeGenerators forAnvilCompilation. This makes it easier to unit-test specific scenarios, see #470.CodeGenerators), see #467.Fixed
@ContributesSubcomponentuses a factory and is used in multiple parent components, see #459.2.3.10 - 2021-11-24
Changed
@ContributesSubcomponentto delay merging contributions until the parent component is created, see #160.@MergeInterfacesand@MergeModulesto another scope with@ContributesTo.2.3.10-1-6-0if you want to test Kotlin1.6.0. Until Anvil hasn't adopted Kotlin1.6I'll publish additional versions that are required due to compiler API incompatibilities.2.3.9 - 2021-11-08
Changed
syncGeneratedSources, see #413.2.3.9-1-6-0-RC2if you want to test Kotlin1.6.0-RC2. Until Anvil hasn't adopted Kotlin1.6I'll publish additional versions that are required due to compiler API incompatibilities.2.3.9-1-6-0if you want to test Kotlin1.6.0. Until Anvil hasn't adopted Kotlin1.6I'll publish additional versions that are required due to compiler API incompatibilities.2.3.8 - 2021-11-04
Changed
syncGeneratedSourcesto sync generated sources in the IDE, see #412.BindingModuleGenerator, see #310. (this allows you generated@ContributesBindingannotations in custom code generators)TypeNamesfor assisted lambda arguments between descriptors and PSI, see #400. (regression in previous release)2.3.8-1-6-0-RC2if you want to test Kotlin1.6.0-RC2. Until Anvil hasn't adopted Kotlin1.6I'll publish additional versions that are required due to compiler API incompatibilities.2.3.7 - 2021-10-19
Changed
KotlinCompilationwhen using the utilities to test custom code generators, see #386.2.3.7-1-6-0-RCif you want to test Kotlin1.6.0-RC. Until Anvil hasn't adopted Kotlin1.6I'll publish additional versions that are required due to compiler API incompatibilities.2.3.6 - 2021-10-12
2.3.6-1-6-0-RCif you want to test Kotlin1.6.0-RC. Until Anvil hasn't adopted Kotlin1.6I'll publish additional versions that are required due to compiler API incompatibilities.2.3.5 - 2021-10-06
1.5.31.Provider<Lazy<Type>>properly for member injection, see #365.anvilMainextendsanvilso that code generators are picked up, see #368.2.3.4 - 2021-08-27
Changed
1.5.21.Provider<Lazy<Type>>properly, see #344.2.3.3 - 2021-06-23
Changed
2.3.2 - 2021-06-15
Changed
2.3.1 - 2021-06-09
Changed
generateDaggerFactories,generateDaggerFactoriesOnlyanddisableComponentMergingthrough the variant filter, see #100.2.3.0 - 2021-06-02
Changed
CodeGenerator, see here and #265.1.5.10. The old legacy compiler backend is still supported and the IR backend not required yet.2.2.3 - 2021-05-25
Changed
2.2.2 - 2021-05-16
Changed
2.2.1 - 2021-04-09
Changed
2.2.0 - 2021-03-17
Changed
@ContributesBindingsupports qualifiers now, see the README and documentation for examples.@ContributesMultibindingnow, see the README and documentation for examples, see #152.2.32. Generating factories for assisted injection is no longer compatible with older Dagger versions due to the behavior change in Dagger itself. Make sure to use Dagger version2.32or newer in your project, too.@ContributesBindinghas a priority field now for cases where you don't have access to replaced bindings at compile time, see #161.2.1.0 - 2021-02-05
Changed
1.4.30. Older Kotlin version are no longer supported moving forward.2.0.14 - 2021-02-04
Changed
2.0.13 - 2021-02-04
Changed
2.0.12 - 2021-02-02
Changed
2.0.11 - 2020-12-28
Changed
generateDaggerFactoriesOnlyflag, see #164.2.0.10 - 2020-11-20
Changed
1.4.20. Note that this version no longer works with Kotlin1.4.10or older, see #159.2.0.9 - 2020-11-20
Changed
1.4.10. Note that this release is not compatible with Kotlin1.4.20.KotlinGradleSubpluginclass, see #30.:annotationsartifact.2.0.8 - 2020-11-12
Changed
2.0.7 - 2020-11-12 [YANKED]
Changed
2.0.6 - 2020-10-06
Changed
2.0.5 - 2020-09-18
Changed
2.0.4 - 2020-09-18 [YANKED]
Changed
2.0.3 - 2020-09-08
Changed
@MergeModulesis used and a Kotlin object uses@ContributesBindingin the dependency graph.2.0.2 - 2020-09-01
Changed
@ContributesBindingfor objects and generate a@Providesrather than a@Bindsfunction.@Subcomponent, see #74.@Generatedannotation. This leads to issues on Android where this annotation doesn't exist, see #75.2.0.1 - 2020-08-27
Changed
@ContributesBindingannotation binds a generic type.2.0.0 - 2020-08-07
Changed
replacesattribute from a single class to an array. This gives the API more flexibility and avoids redundant classes. E.g. one Dagger module with several binding and provider methods may wish to replace multiple other Dagger modules.@ContributesBindingannotation. This annotation allows you to contribute binding methods without actually writing a Dagger module.1.0.6 - 2020-07-29
Changed
implementationdependency instead ofapi#40.1.3.72and1.4.0-rc. The bug that required special builds for the 1.4 milestone releases was fixed.1.0.5-1.4-M3 - 2020-07-24
Changed
1.0.5, only built with Kotlin 1.4-M3.1.0.5 - 2020-07-24
Changed
1.0.4-1.4-M3 - 2020-07-24
Changed
1.0.4, only built with Kotlin 1.4-M3.1.0.4 - 2020-07-24
Changed
1.0.3-1.4-M3 - 2020-07-17
Changed
1.0.3, only built with Kotlin 1.4-M3.1.0.3 - 2020-07-17
Changed
1.0.2 - 2020-07-17 [YANKED]
Changed
1.0.1 - 2020-07-09
Changed
1.4and1.4.2.1.0.1-1.4-M3to use Hephaestus in projects with Kotlin 1.4-M3.1.0.0 - 2020-06-16
v2.4.3Added
@Bindsmethods are now validated for correctness when generating Dagger factories, see #649.Changed
1.7.20and Gradle to7.5.1, see #643.1.8.xreleases, we now use a fork ofkotlin-compile-testing:dev.zacsweers.kctfork:core:0.1.0-1.8.0-Beta01.2.4.3-1-8-0-RCif you want to test Kotlin1.8.0-RC. Until Anvil has fully adopted Kotlin1.8we'll publish additional versions that are required due to compiler API incompatibilities.Fixed
v2.4.2Removed
Fixed
FqNames check the inner class hierarchy for the right reference, see #617.AnyasboundType, see #619.DisableIncrementalCompilationTask, if there are multiple Kotlin compilation tasks for the same module, see #602.TypeReference, see #611.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 becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.