Skip to content

Release 0.10.0 (12)

Latest
Compare
Choose a tag to compare
@chRyNaN chRyNaN released this 28 Jul 19:06
f48e6db

Warning


This release contains breaking API changes.

What's Changed

  • Fixed Back Navigation Issues + Misc Updates by @chRyNaN in #12
  • Changed the Navigation API
  • Added binary compatibility plugin
  • Updated Compose Multiplatform to version 1.5.0-beta01
  • Updated Kotlinx Coroutines to version 1.7.3
  • Added more native targets for the navigation-core module

API Changes

Fixing the back navigation issues introduced a new back operation. This change required renaming the goBack function and introducing another "goBack" function but for context changes. As these are essentially stack operations, I decided to rename the functions along the lines with expected stack functions, and change the forward navigation function names as well. The following chart breaks down the changes:

Old Name New Name
goTo push(destination)
changeContext push(context)
goBack popDestination
goBack popContext

There still exists goTo and changeContext functions, but those are deprecated. This is done to ease the transition to the new API.

Also, the Kotlin Binary Compatibility Plugin was added so that it is known when future breaking changes occur and makes it easier to limit any breaking changes. This will be helpful as this API becomes more stable and reaches a 1.0.0 release.

Full Changelog: 0.9.0...0.10.0