2.0.0
Changes since version 2.0.0-beta02
- Added
Bundle#putSerializable
andBundle#getSerializable
extension functions forkotlinx-serialization
(#166) - Updated Kotlin to
1.9.23
andkotlinx-serialization
to1.6.3
(#168)
Earlier changes since version 1.3.0
- Removed
Parcelable
support, fully migrated tokotlinx-serialization
(#132) - Enabled
wasmJs
browser target (#137) - Added
discardSavedState
flag for AndroidStateKeeper
builder function (#130) - Added
discardSavedState
argument toSavedStateRegistryOwner#stateKeeper
extension function (#131) - Added
discardRetainedInstances
flag to AndroidInstanceKeeper
(#135) - Don't throw if
InstanceKeeper
is already destroyed (#129) - Disabled debug artifact publications for Android (#134)
- Use Base64 for byte array encoding in
SerializableContainer
(significantly reduces the size) (#138) - Fixed a crash when serializing nullable
SerializableContainer
(#141) - Don't use
reified T
inInstanceKeeper#getOrCreate
(#140) - Fixed possible
ZipException
crash during state restoration on some Android devices (#143, see #142) - Added enabled changed listeners to
BackDispatcher
(#146) - Replaced
PredictiveBackDispatcher
with normal methods inBackDispatcher
(#147) - Added
BackDispatcher#connectOnBackPressedCallback
extension function (#148) - Added
BackHandler#isRegistered
method (#150) - Added
Bundle#putSerializableContainer
andBundle#getSerializableContainer
extension functions (#149) - Added
ApplicationLifecycle
forios
andtvos
targets (#155) - Cancel/start back gesture progress on callback change (#154)
- Removed deprecated code (#156)
- Updated Reaktive to
2.1.0
and kotlinx-coroutines to1.8.0
,lifecycle-reaktive
module now supportswasmJs
target (#162) - Added
ApplicationLifecycle#destroy
method (#163)
Versions and dependencies
Kotlin: 1.9.23
kotlinx-serialization: 1.6.3
Module lifecycle-coroutines
kotlinx-coroutines: 1.8.0
Module lifecycle-reaktive
Reaktive: 2.1.0