Releases: badoo/Decompose
Releases · badoo/Decompose
0.1.9
- Update Jetpack Compose to
1.0.0-beta01
and JetBrains Compose to0.4.0-build168
(#77) - Ensure
Router
is never frozen in Kotlin Native (#72) - Introduce
rememberRootComponent
functions, deprecaterootComponent
functions (#73) - Mark
extensions-android
module as experimental (#75) - Fixed a bug with recursive navigation (#70)
0.1.8
0.1.7
- Deprecated
ComponentContext.child(...)
extension, introducedComponentContext.childContext()
extension (#51) - Updated Jetpack Compose to
1.0.0-alpha11
and JetBrains Compose to0.3.0-build146
(#53)
Known issues:
- Compose
Crossfade
may not properly preserve UI state: https://issuetracker.google.com/u/1/issues/178729296
0.1.6
- Changed Android
minSdkVersion
from 23 to 21 andtargetSdkVersion
from 29 to 30 (#30 by @MasterBin) ParcelableContainer
is now an interface (#35)- Extracted
Navigator
interface fromRouter
(#39) - Added
Navigator.popWhile(...)
andNavigator.replaceCurrent(...)
extension functions (#40) - Updated Jetpack Compose version to
1.0.0-alpha10
(#41) - Updated JetBrains Compose version to
0.3.0-build140
(#45) - Removed all deprecated code (#44)
- Removed Jetpack Compose duplicate
Children(..)
function workaround (#46)
Breaking changes
ParcelableContainer
is now an interface, please create new instances using top-levelParcelableContainer()
builder function (#35)Router.pop()
andRouter.push(...)
methods are nowNavigator
extension functions:Navigator.pop()
andNavigator.push(...)
(#39)- Removed all deprecated code, please migrate to replacements (#44)
- Removed duplicated Jetpack Compose
Children(routerState, content)
function with two arguments, please useChildren(routerState, animation, content)
with three arguments and defaultanimation
argument value (#46)
0.1.5
0.1.4
0.1.3
- Updated Kotlin to
1.4.20
, Jetpack Compose to1.0.0-alpha08
, JetBrains Compose0.3.0-build133
(b182d48) - Deprecated composable
RouterState.children {}
extension, introducedChildren {}
composable function (#14) - Migrated to
kotlin-parcelize
plugin (05e98f9) - Deprecated composable
Value.observe {}
extensions (498d06f) - Fixed
Value.map
returns old value when not subscribed (784db86)
0.1.2
0.1.1
- Added
extensions-compose-jetbrains
module with extensions for JetBrains Compose (2e6a48d) - Renamed
extensions-compose
module toextensions-compose-jetpack
(2e6a48d) - Updated Jetpack Compose version to
1.0.0-alpha07
(f7b1ea2) Router
now supports initial back stack (4961754)StateKeeperDispatcher.save()
now returns nullable type (387e757)- Added
OnBackPressedDispatcher.toBackPressedDispatched()
extension withoutLifecycle
argument, deprecated old extension (1c51e5f)
0.1.0
- Added
extensions-android
module for Android Views, updated the Counter sample (b57ec44) - Updated Jetpack Compose to
1.0.0-alpha06
(#5 by @steelahhh) Value
now emits the current value when subscribed (758868f)- Deprecated
operator fun Value.invoke {}
, introducedValue.observe {}
(7099082) - Introduced lifecycle-aware
Value.observe(Lifecycle, ObserveLifecycleMode) {}
(b16e2f7) - Fixed nested RouterState.children crash (8b8ae16)