Skip to content

1.4.0

Latest
Compare
Choose a tag to compare
@ansman ansman released this 21 Sep 20:15
7027409

New features

Kotlin 2.0

auto-dagger now uses 2.0.20 and KSP 2.0.20-1.0.25.
K2/KSP2 is however not supported yet due to Dagger not supporting K2/KSP2.

Min SDK 21

The AndroidX libraries now require a minimum SDK version of 21. This matches what AndroidX now requires.

@Generated annotation

All generated types now add the @Generated annotation. This means that you must target Java 9 or higher to use auto-dagger.

Bug fixes

Fix a bug with room processing

If your Room database class contained anything except Daos, auto-dagger would incorrectly generate providers for them and if the return type was generic, then the class would fail to process. This has been fixed and only Daos will be provided.

Details

Full Changelog: 1.3.0...1.4.0