Skip to content

Releases: square/anvil

v2.0.14

05 Feb 01:51
Compare
Choose a tag to compare
  • Anvil falsely detected provider methods inside of companion objects of interfaces as abstracted, see #187.
  • Support nullable parameters for assisted injection properly, see #189.

v2.0.13

04 Feb 21:47
Compare
Choose a tag to compare
  • Please use version 2.0.14. This release accidentally used a Kotlin preview version.

v2.0.12

03 Feb 04:08
Compare
Choose a tag to compare
  • Support Dagger's assisted injection feature and generate necessary code, see #165.
  • Throw an error if a provider method is abstract, see #183.

v2.0.11

29 Dec 03:43
Compare
Choose a tag to compare
  • Declare the Dagger Factory generation option as stable.
  • Support a mode that only generates Dagger Factories through the generateDaggerFactoriesOnly flag, see #164.
  • Suppress any deprecation warnings in generated code, see #169.

v2.0.10

21 Nov 01:23
Compare
Choose a tag to compare
  • Upgrade Kotlin to 1.4.20. Note that this version no longer works with Kotlin 1.4.10 or older, see #159.

v2.0.9

20 Nov 22:42
Compare
Choose a tag to compare
  • Upgrade Kotlin to 1.4.10. Note that this release is not compatible with Kotlin 1.4.20.
  • Remove the usage of the now deprecated KotlinGradleSubplugin class, see #30.
  • Enable Kotlin's explicit API mode in the :annotations artifact.

v2.0.8

12 Nov 20:26
Compare
Choose a tag to compare
  • Support Kotlin's explicit API mode in generated code, see #144.
  • Handle packages starting with an uppercase letter properly, see #150.
  • Use the correct import if an uppercase function is imported with the same name as the type, see #154.
  • Support properties as providers in Dagger modules, see #149.

v2.0.7

12 Nov 19:20
Compare
Choose a tag to compare
  • DO NOT USE! This version was compiled with the wrong Kotlin version.

v2.0.6

06 Oct 17:42
Compare
Choose a tag to compare
  • Support constructor injection for classes with bounded types, see #126.
  • Print a better error message for Dagger provider methods with implicit return types, see #124.
  • Fix another instance of absolute paths as task inputs, see #65.
  • Use lazy APIs in the Gradle plugin for task configuration avoidance.
  • Handle named imports correctly, see #137.

v2.0.5

18 Sep 17:53
Compare
Choose a tag to compare
  • Support type parameters for @Inject constructors, see #111.
  • Handle named imports properly, see #115.
  • Fix a bug for Gradle's experimental configuration caching feature, see #113.
  • Implement an extension for the new Kotlin IR backend. This extension will ship with Kotlin 1.4.20, see #11.
  • Build the project and run tests in CI with JDK 11.
  • Preserve variance keywords when generating factory classes, see #120.