Skip to content

2.0.0

Compare
Choose a tag to compare
@arkivanov arkivanov released this 22 Apr 15:07
· 59 commits to master since this release
e1014b8

Changes since version 2.0.0-beta02

  • Added Bundle#putSerializable and Bundle#getSerializable extension functions for kotlinx-serialization (#166)
  • Updated Kotlin to 1.9.23 and kotlinx-serialization to 1.6.3 (#168)

Earlier changes since version 1.3.0

  • Removed Parcelable support, fully migrated to kotlinx-serialization (#132)
  • Enabled wasmJs browser target (#137)
  • Added discardSavedState flag for Android StateKeeper builder function (#130)
  • Added discardSavedState argument to SavedStateRegistryOwner#stateKeeper extension function (#131)
  • Added discardRetainedInstances flag to Android InstanceKeeper (#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 in InstanceKeeper#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 in BackDispatcher (#147)
  • Added BackDispatcher#connectOnBackPressedCallback extension function (#148)
  • Added BackHandler#isRegistered method (#150)
  • Added Bundle#putSerializableContainer and Bundle#getSerializableContainer extension functions (#149)
  • Added ApplicationLifecycle for ios and tvos targets (#155)
  • Cancel/start back gesture progress on callback change (#154)
  • Removed deprecated code (#156)
  • Updated Reaktive to 2.1.0 and kotlinx-coroutines to 1.8.0, lifecycle-reaktive module now supports wasmJs 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