Releases: adrielcafe/voyager
Releases · adrielcafe/voyager
1.0.0-rc08
What's Changed
- Use
Dispatchers.Main.immediate
instead ofDispatchers.Main
for ScreenModel's scope by @mr3y-the-programmer (#216) - Update Kotlin to 1.9.10 and Compose Multiplatform to 1.5.1 (#220) by @DevNatan
- Bottom sheet not being replaced internally on outside click (#224) by @DevNatan
- Rename ScreenModel's
coroutineScope
toscreenModelScope
(0c05218) (#227) by @DevSrSouza, suggested by @SebastianAigner - Propagate lifecycle events to AndroidScreenLifecycleOwner (#230) by @DevSrSouza
- Make BottomSheetNavigator's constructor @InternalVoyagerApi (#236) by @osrl
- Decoupled the ScreenModel disposing from the Navigator by using ScreenLifecycleStore instead (#231) by @DevSrSouza
New APIs:
- ScreenModel scoped at Navigator Lifecycle (#233) by @DevSrSouza
Full Changelog: 1.0.0-rc07...1.0.0-rc08
1.0.0-rc07
- Add Compose Multiplatform support to
voyager-koin
(#159) by @geworfener - Update Hilt version to fix library issue (#162) by @aftabahmadTW
- Update Compose Multiplatform to 1.5 and Kotlin to 1.9 (#195) by @Syer10
1.0.0-rc06
Voyager now has InternalVoyagerApi
and ExperimentalVoyagerApi
for APIs
New APIs:
- ScreenLifecycleStore now support multiples ScreenLifecycleOwner per Screen, the new way of registering is the function
register
, the functionget
was marked as Deprecated. (5deb781) - EXPERIMENTAL: NavigatorScreenLifecycleProvider, now, is possible to provide a list of ScreenLifecycleOwner for all Screens. (33e28d2)
- EXPERIMENTAL: TabDisposable by @Syer10 (#97)
- Navigator now has a unique
key
. (df87d6e) - Navigator dispose now is public under
InternalVoyagerApi
annotation. (94bf561) - Navigator constructor is now public under
InternalVoyagerApi
annotation for usage in the Customizable NavigatorSaver (ef603b2) - EXPERIMENTAL: Kodein ScreenLifecycleScope, a Kodein scoped that holds a dependency until the Screen is the stack. (d747f16)
New Behavior:
- By default, all Voyager Screen will support Android Lifecycle properly, now is not required anymore
AndroidScreen
for that. This was added with theDefault NavigatorScreenLifecycleProvider
for Android target. You can disable it by providing an emptyNavigatorScreenLifecycleProvider
. (33e28d2)
1.0.0-rc05
- Update Compose Multiplatform to 1.4.0
- Update Kotlin to 1.8.20
- Support Kodein Compose Multiplatform by @williankl (#138)
- Fix state restauration Screen already registred by using UUID for Unique Ids by @Syer10 (#115)
- New API: Customizable NavigatorSaver
Now is possible to customize the NavigatorSaver for example for enforcing Screens being Parcelable by usingparcelableNavigatorSaver
. - Added
skipHalfExpanded
support for BottomSheetNavigator by @Kashif-E (#123)
1.0.0-rc04
Fully Compose Multiplatform is here 🥳, now with iOS, Web and MacOS Native support, special thanks to @Syer10 to help us finish the iOS and MacOS from early 2022.
- Fixes SavedStateHandle support (#96) by @Syer10
- Compose Native support (iOS and MacOS) by @Syer10 and @DevSrSouza (#114)
- Compose Web by @DevSrSouza
- Add tag argument to Screen.getScreenModel (#101) by @arslan-charyyev-pc
- Update dependencies:
- Kotlin 1.8.10
- Compose Multiplatform 1.3.1
1.0.0-rc03
First of all, sorry for being so absent the last few months. I plan to return to working on Voyager in January, but I will gladly accept PRs anytime!
I want to thank @Syer10 for his great work on fixing bugs, we are closer to a stable 1.0 release because of you ❤️
- Check if the activity is changing configurations before clearing the navigator (#84) by @Syer10
- Handle Lifecycle.Event instead of managing the states themselves, include a onStart and onStop function to say when the screen is displayed (#87) by @Syer10
- Add support for HasDefaultViewModelProviderFactory by returning a SavedStateViewModelFactory (#88) by @Syer10
- Creates
replaceAll(items: List<Item>)
allowing a step to replace the navigation stack with another stack (#95) by @Alaksion - Updated dependencies
- Kotlin 1.7.10
- Jetpack Compose 1.3.1
- Compose Multiplatform 1.2.1
1.0.0-rc02
1.0.0-rc01
- Moved Kodein integration from
jvmMain
tocommonMain
(#56) - Fixed
ScreenModel
disposal on root screens (#24) by @programadorthi - Updated dependencies
- Jetpack Compose 1.1.1
- Compose Multiplatform 1.1.1
1.0.0-beta16
1.0.0-beta15
- Fixed broken builds caused by multiplatform (#34) by @DevSrSouza
- Migrate modules from jvmMain to commonMain (#40) by @DevSrSouza
- Migrate the buildscript from Groovy to Kotlin (#38) by @DevSrSouza
- Migrate
voyager-rxjava
to multiplatform (#36) by @terrakok - Update Jetpack Compose to 1.1.0-rc03