Skip to content

Releases: ansman/auto-dagger

2.2.0

Choose a tag to compare

@ansman ansman released this 12 Jun 01:34
b33c00d

Changes

Generated module constructor visibility

I accordance with Hilt's requirements, generated modules no longer has private constructors.

Android 36

The project is now compiled against API 36.

Details

Full Changelog: 2.1.0...2.2.0

2.1.0

Choose a tag to compare

@ansman ansman released this 02 Oct 01:43
8b88fce

Changes

Fix for bindings and providers with qualifiers

Thank you @wbonnefond for finding, and fixing, an issue with qualifiers in some cases.

Min SDK 23

To keep parity with AndroidX, the minimum supported Android version is now 23.

Details

New Contributors

Full Changelog: 2.0.0...2.1.0

2.0.0

Choose a tag to compare

@ansman ansman released this 27 Apr 11:49
6ed045c

Changes

Removal of KAPT support

Supporting both KSP and KAPT is becoming increasingly more time consuming and the usage of KAPT is very low so starting with version 2.0.0, only KSP will be supported going forward.

Details

Full Changelog: 1.5.0...2.0.0

1.5.0

Choose a tag to compare

@ansman ansman released this 30 Nov 15:43
630d94a

Changes

Support for Kotlin 2.1.0

The biggest change in this release is support for Kotlin 2.1.0. As of Hilt 1.2.0, Kotlin 2.1.0 is not supported (see issue) so to upgrade set the language version to 2.1.

Details

Full Changelog: 1.4.0...1.5.0

1.4.0

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

1.3.0

Choose a tag to compare

@ansman ansman released this 20 Aug 00:48
c609f2e

What's Changed

OptionallyProvided

A new annotation, @OptionallyProvided, has been added. This new annotation generated @BindsOptionalOf bindings.

See the docs for more info.

Details

New Contributors

Full Changelog: 1.2.1...1.3.0

1.2.1

Choose a tag to compare

@ansman ansman released this 08 May 17:47
7daf8e8

Changes

Fix for invalid manifest for android-api

The android-api module accidentally included the startup provider which would lead to issues.

Details

  • Remove the AndroidManifest from the android-api module by @ansman in #164

Full Changelog: 1.2.0...1.2.1

1.2.0

Choose a tag to compare

@ansman ansman released this 08 May 15:25
09d0c53

Changes

Kotlin 1.9.24

The library has now been tested with Kotlin 1.9.24

Adding the android-api artifact

The android artifact pulls in AndroidX startup which can cause issues for android tests in feature modules. A new artifact, android-api, has been introduced that can be added to Android library modules.

Details

  • Bump de.jensklingenberg.ktorfit:ktorfit-lib from 1.12.0 to 1.13.0 by @dependabot in #155
  • Bump com.willowtreeapps.assertk:assertk-jvm from 0.28.0 to 0.28.1 by @dependabot in #157
  • Bump com.android.tools.build:gradle from 8.3.2 to 8.4.0 by @dependabot in #158
  • Bump ru.vyarus.mkdocs from 3.0.0 to 4.0.1 by @dependabot in #154
  • Bump de.jensklingenberg.ktorfit:ktorfit-lib from 1.13.0 to 1.14.0 by @dependabot in #156
  • Split the Android module into api and impl by @ansman in #163
  • Update to Kotlin 1.9.24 by @ansman in #162

Full Changelog: 1.1.0...1.2.0

1.1.0

Choose a tag to compare

@ansman ansman released this 15 Apr 13:05
399dac6

What's new

Ktorfit support

Ktorfit, a multiplatform version of Retrofit, is now supported.

Check out the docs for info on how to get started.

Min SDK 19

Just like AndroidX, the min SDK required is now 19.

Dagger 2.51 support

auto-dagger has now been tested with Dagger 2.51.

Kotlin 1.9.23

Using auto-dagger now requires Kotlin 1.9.23 or later.

Details

New Contributors

Full Changelog: 1.0.0...1.1.0

1.0.0

Choose a tag to compare

@ansman ansman released this 31 Dec 16:23
46c9c88

This is the first API stable release of auto dagger πŸŽ‰

Changes since 0.11.0

Kotlin 1.9.22

Auto dagger has now been compiled and tested with Kotlin 1.9.22 and KSP 1.9.22-1.0.16

Dagger 2.50

Auto dagger has now been tested with 2.50

Details

Full Changelog: 0.11.0...1.0.0