Releases: square/anvil
Releases · square/anvil
v2.1.0
This release upgrades Anvil to Kotlin 1.4.30
. Older Kotlin versions are no longer supported moving forward.
The IR extension is enabled by default. Anvil is compatible with the new IR and old compiler backend.
v2.0.14
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
Please use version 2.0.14
. This release accidentally used a Kotlin preview version.
v2.0.12
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
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
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
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
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
DO NOT USE! This version was compiled with the wrong Kotlin version.
v2.0.6
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 .
You can’t perform that action at this time.