Skip to content

Releases: sczerwinski/android-lifecycle

v1.5.0

18 Apr 20:14
Compare
Choose a tag to compare

Changed

  • Upgrade Gradle to 8.0.2
  • Use Java 17
  • Change target SDK to 33
  • Library dependencies:
    • Upgrade Kotlin to 1.8.20
    • Upgrade Android Gradle Plugin to 8.0.0
    • Upgrade lifecycle-livedata-ktx to 2.6.1
    • Upgrade kotlinx-coroutines-test to 1.6.4
    • Upgrade core-testing to 2.2.0
  • Test dependencies:
    • Upgrade JUnit to 5.9.2
    • Upgrade de.mannodermaus.gradle.plugins:android-junit5 to 1.8.2.1
  • Build dependencies:
    • Upgrade io.gitlab.arturbosch.detekt to 1.22.0
    • Upgrade org.jetbrains.changelog to 2.0.0
    • Upgrade Dokka to 1.8.10

Fixed

  • Prevent adding the same source to MediatorLiveData multiple times

v1.4.0

09 Apr 19:01
Compare
Choose a tag to compare

Added

  • TestCoroutineDispatcherRule and TestCoroutineDispatcherExtension provide TestCoroutineScheduler to the tests

Changed

  • Replace usages of TestCoroutineDispatcher with UnconfinedTestDispatcher
  • Upgrade Gradle to 7.4.2
  • Dependencies:
    • Upgrade Kotlin to 1.6.20
    • Upgrade Android Gradle Plugin to 7.1.3
    • Upgrade lifecycle-livedata-ktx to 2.4.1
    • Upgrade org.jetbrains.changelog to 1.3.1
    • Upgrade JUnit to 5.8.2
    • Upgrade android-junit5 to 1.8.2.0
    • Upgrade kotlinx-coroutines-test to 1.6.1-native-mt
    • Upgrade io.gitlab.arturbosch.detekt to 1.19.0
    • Upgrade Dokka to 1.6.10

v1.3.0

16 Jul 20:16
Compare
Choose a tag to compare

Added

  • TestObserver.assertLatestValue() (#72)

Changed

  • Dependencies:
    • Upgrade Kotlin to 1.5.21
    • Upgrade Android Gradle Plugin to 4.2.2
    • Upgrade org.jetbrains.kotlinx:kotlinx-coroutines-test to 1.5.1-native-mt
    • Upgrade org.jetbrains.changelog to 1.2.0

Fixed

  • Incorrect failure on TestObserver.assertValueSet() after observing duplicate values (#71)

v1.2.0

13 Jun 21:36
Compare
Choose a tag to compare

Added

  • intervalLiveData factory method

Changed

  • Upgrade Gradle to 6.9
  • Dependencies:
    • Upgrade Kotlin to 1.5.10
    • Upgrade Android Gradle Plugin to 4.2.1
    • Upgrade io.gitlab.arturbosch.detekt to 1.17.1
    • Upgrade org.jetbrains.kotlinx:kotlinx-coroutines-test to 1.5.0-native-mt
    • Upgrade lifecycle-livedata-ktx to 2.3.1
    • Upgrade JUnit to 5.7.2
    • Upgrade Dokka to 1.4.32

v1.1.0

13 Feb 13:06
Compare
Choose a tag to compare

Changed

  • Upgrade Gradle to 6.8.2
  • Dependencies:
    • Upgrade android-junit5 to 1.7.1.1
    • Upgrade lifecycle-livedata-ktx to 2.3.0

v1.1.0-RC1

03 Feb 18:41
Compare
Choose a tag to compare
v1.1.0-RC1 Pre-release
Pre-release

Changed

  • Upgrade Gradle to 6.8
  • Dependencies:
    • Upgrade Kotlin to 1.4.30
    • Upgrade Android Gradle Plugin to 4.1.2

v1.1.0-BETA1

18 Jan 19:37
Compare
Choose a tag to compare
v1.1.0-BETA1 Pre-release
Pre-release

No changes since 1.1.0-ALPHA1

v1.1.0-ALPHA1

14 Jan 19:47
Compare
Choose a tag to compare
v1.1.0-ALPHA1 Pre-release
Pre-release

Added

  • TestObserver with assertions for observed values emitted by LiveData

Changed

  • Dependencies:
    • Upgrade org.jetbrains.changelog to 1.0.1

Removed

  • Remove io.mockk:mockk test dependency

v1.0.0

27 Dec 16:10
Compare
Choose a tag to compare

No changes since 1.0.0-RC1

v1.0.0-RC1

22 Dec 20:20
Compare
Choose a tag to compare
v1.0.0-RC1 Pre-release
Pre-release

Added

  • JUnit4 rules for testing LiveData:
    • TestCoroutineDispatcherRule

Changed

  • Dependencies:
    • Upgrade io.gitlab.arturbosch.detekt to 1.15.0
    • Upgrade org.jetbrains.kotlinx:kotlinx-coroutines-test to 1.4.2-native-mt
    • Upgrade io.mockk:mockk to 1.10.3-jdk8