Releases: arkivanov/Essenty
Releases · arkivanov/Essenty
2.4.0
2.3.0
2.2.1
2.2.0
Changes since version 2.2.0-beta01
- Save unconsumed state in
DefaultStateKeeperDispatcher
(#179) - Promoted
InstanceKeeper#retainedInstance
to stable (#180)
Earlier changes since version 2.1.0
- Force
jvmTarget
11 for all non-Android JVM targets (#176) - Added
PersistableBundle
extensions for Android (#174) - Added
StateKeeper.saveable
andInstanceKeeper.retainedInstance
extensions (#171, #172) - Updated Kotlin to
2.0.20
(#178)
Versions and dependencies
Kotlin: 2.0.20
kotlinx-serialization: 1.6.3
Module lifecycle-coroutines
kotlinx-coroutines: 1.8.1
Module lifecycle-reaktive
Reaktive: 2.1.0
2.2.0-beta01
- Updated Kotlin to
2.0.20
(#178)
Versions and dependencies
Kotlin: 2.0.20
kotlinx-serialization: 1.6.3
Module lifecycle-coroutines
kotlinx-coroutines: 1.8.1
Module lifecycle-reaktive
Reaktive: 2.1.0
2.2.0-alpha04
- Force
jvmTarget
11 for all non-Android JVM targets (#176)
The previous 2.2.0-alpha03 release has all non-Android JVM targets published with the target Java version 17. This release fixes the issue, all non-Android JVM targets now have target Java version 11 instead.
Versions and dependencies
Kotlin: 2.0.10
kotlinx-serialization: 1.6.3
Module lifecycle-coroutines
kotlinx-coroutines: 1.8.1
Module lifecycle-reaktive
Reaktive: 2.1.0
2.2.0-alpha03
2.2.0-alpha02
The new extensions for StateKeeper and InstanceKeeper
This release adds some handy extensions for StateKeeper
and InstanceKeeper
(experimental).
StateKeeper.saveable(...)
andStateKeeperOwner.saveable(...)
InstanceKeeperOwner.retainedInstance { ... }
Please see the updated README file.
Versions and dependencies
Kotlin: 2.0.0
kotlinx-serialization: 1.6.3
Module lifecycle-coroutines
kotlinx-coroutines: 1.8.1
Module lifecycle-reaktive
Reaktive: 2.1.0
2.1.0
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