- Breaking: Automatically attach
onBackPressedDispatcher
insetContentNavigable()
. Now, the only code required to attach Magellan to yourMainActivity
issetContentNavigable()
. - Make compose previews work without using interactive mode for
Journey
s and nestedStep
s - Bump target and compile SDK level from 34 to 35
- Update dependencies, including to Kotlin
2.1.0
and Compose BOM to2024.12.01
- Update dependencies, including to Kotlin
1.9.23
, Compose BOM to2024.03.00
, Compose Compiler to1.5.11
.
- Fix transitions showing when they shouldn't when
Journey
s are first shown.
- BREAKING: Add
Started
lifecycle stateStarted
replacesShown
and represents "being drawn to the screen", butShown
now represents "on top of the backstack".show()
andhide()
are now effectivelynavigatedTo()
andnavigatedFrom()
respectively.
State | On backstack | Top of backstack | View created + Activity available + Compose active |
In focus |
---|---|---|---|---|
Destroyed | ✘ | ✘ | ✘ | ✘ |
Created | ✔ (roughly) | ✘ | ✘ | ✘ |
Shown (changed) | ✔ | ✔ | ✘ | ✘ |
Started (new) | ✔ | ✔ | ✔ | ✘ |
Resumed | ✔ | ✔ | ✔ | ✔ |
- Call pause() when starting to transition away from a screen
- Expose
ComposeNavigator.currentNavigable
andcurrentNavigableFlow
- Update Kotlin to
1.9.22
and compose compiler to1.5.8
- Update Compose BOM to
2024.01.00
(Compose version1.6.0
) - Update other internal dependencies
- Fix Jitpack build
- Update Kotlin to
1.9.21
and the compose compiler to1.5.7
- Update compose BOM to
2023.10.01
- Update and/or remove other internal dependencies
- Update compose to BOM version
2022.11.00
- Update Kotlin to
1.7.10
and the compose compiler to1.3.1
- Update lots of other internal dependencies
- Removed
Context
from lifecycle events
- Fixed artifact name for
magellanx-test
- Copied code in from Stickers app