Skip to content

Releases: takahirom/Rin

0.1.0

26 Apr 00:48
5bc5fb2
Compare
Choose a tag to compare

Fixes

Use more stable versions.
Previously, we used 0.0.0-SNAPSHOT for lifecycle-viewmodel and 1.6.10-dev1557 for compose-multiplatform as they were recently created.
Now, we have upgraded to lifecycle-viewmodel 2.8.0-alpha01 and Compose Multiplatform 1.6.10-beta02.

What's Changed

Full Changelog: 0.0.2...0.1.0

0.0.2

13 Apr 07:19
81a655d
Compare
Choose a tag to compare

First Experimental Release

I believe we currently have basic APIs. However, if there are any additional APIs you think we need, please let me know.

fun <T : Any> rememberRetained(
    key: String? = null,
    block: @DisallowComposableCalls () -> T,
): T
fun <T> produceRetainedState(
    initialValue: T,
    producer: suspend ProduceStateScope<T>.() -> Unit,
): State<T> 
fun <T : R, R> Flow<T>.collectAsRetainedState(
    initial: R,
    context: CoroutineContext = EmptyCoroutineContext,
): State<R>
fun <T> StateFlow<T>.collectAsRetainedState(
    context: CoroutineContext = EmptyCoroutineContext
): State<T> 

Changes from 0.0.1

Set minimum sdk version to 21