Skip to content

v2.4.1

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Jun 00:53
· 633 commits to main since this release

Changed

  • Attention: This version supports Kotlin 1.7.0 only. For Kotlin 1.6.* support please use version 2.4.1-1-6 instead. Future Anvil versions will remove support for Kotlin 1.6.

Fixed

  • Support wildcard imports for constants when resolving annotation arguments, see #592.
  • Fix dagger factory member injection not handling generics, see #486.
  • Correctly merge bindings from all scopes, if multiple @Merge* annotations are used, see #596.

Custom Code Generator

  • Change the method to get all super classes for ClassReference to return TypeReference instead.
  • Avoid a stackoverflow when querying all super types, see #587.
  • Create PropertyReference.Psi from primary constructor properties to have the same behavior as the descriptor implementation, see #609.