Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

Releases: cheonjaeung/savedstate-ktx

1.2.0

24 Jan 11:46
Compare
Choose a tag to compare

io.woong.savedstate:savedstate-ktx:1.2.0 is released. Version 1.2.0 contains these commits.

New Feature

  • Add SavedStateHandle.getOrDefault and SavedStateHandle.getOrElse that is similar feature to Map.getOrDefault and Map.getOrElse. (#13)

Dependency Update

  • Update dependency from org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.3 to org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4. (#14)

1.1.0

07 Jan 05:06
Compare
Choose a tag to compare

io.woong.savedstate:savedstate-ktx:1.1.0 is released. Version 1.1.0 contains these commits.

New Features

  • New experimental feature, SavedStateHandle.mutableStateFlow was added. (#12)

Dependency Updates

  • Now depends on org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.3 (#11)

1.0.0

24 Dec 05:50
916bad6
Compare
Choose a tag to compare

1.0.0 is the first stable version. 🎉 Version 1.0.0 contains these commits.

New Features

  • Add new extension function SavedStateHandle.nullable() and SavedStateHandle.notNull() for delegated property. (#1, #2)
  • Add new extension function SavedStateHandle.liveData() for delegate MutableLiveData. (#5)
  • Add new extension function SavedStateHandle.stateFlow() for delegate StateFlow. (#8)

1.0.0-beta1

17 Dec 06:50
Compare
Choose a tag to compare
1.0.0-beta1 Pre-release
Pre-release

New Features

  • Add new extension function SavedStateHandle.liveData() for delegate MutableLiveData. (#5)
  • Add new extension function SavedStateHandle.stateFlow() for delegate StateFlow. (#8)

Bug Fixes

  • SavedStateHandle.notNull is no longer available for nullable property. (#6)

Dependency Updates

  • This library is now depends on org.jetbrains.kotlinx:kotlinx-coroutines-core version 1.4.1. (#7)
  • This library is now exposing org.jetbrains.kotlinx:kotlinx-coroutines-core and androidx.lifecycle:lifecycle-viewmodel-savedstate dependencies.
    This library will add dependencies to your project even though your project is not depends on these libraries explicitly. (#7)

Included Commits

1.0.0-alpha1...1.0.0-beta1

1.0.0-alpha1

08 Dec 10:42
a423008
Compare
Choose a tag to compare
1.0.0-alpha1 Pre-release
Pre-release

New Features

  • Add new delegates for property that can used like val foo: Int? by savedStateHandle (#1)
  • Add new extension functions SavedStateHandle.nullable() and SavedStateHandle.notNull() for properties with initial value. (#2)