Skip to content

2.1.0

Compare
Choose a tag to compare
@ZacSweers ZacSweers released this 14 Aug 22:30
· 64 commits to main since this release
9e726c7
  • Add @NonNull or : Any to type arguments where appropriate for better nullability contracts in generics.
  • Fix lint using "mainProject" instead of "project", meaning this now supports AGP 7.0.0.
  • Add lint support for RxKotlin extensions or your own extensions
    • See the docs for configuration details!
  • Lint is now published as a dedicated artifact for use in pure JVM projects.
    plugins {
      id "org.jetbrains.kotlin.jvm"
      id "com.android.lint"
    }
    
    dependencies {
      lintChecks "com.uber.autodispose2:autodispose-lint:<version>"
    }
  • Deprecate TestLifecycleOwner artifact + its extensions in favor of the first party androidx.lifecycle.testing.TestLifecycleOwner option.
    • See an example migration in this PR.
  • Update to RxJava 3.1.0
  • Update to Kotlin 1.5.21
  • Update to androidx.lifecycle 2.3.1
  • Update to Error-Prone 2.8.1
  • Update to kotlinx.coroutines 1.5.1
  • Update to lint 30.0.0

Note that we are no longer releasing AutoDispose 1.x versions as RxJava 2 reached End of Life in February 2021.

Thanks to @Rajin9601, @ianhanniballake, @rafaeltoledo, and @msridhar for contributing to this release!