Skip to content

1.0.0-beta02

Compare
Choose a tag to compare
@roudikk roudikk released this 30 Jan 13:21
· 37 commits to master since this release

🧾 Refactoring

For the sake of consistency, some classes were renamed to match other naming conventions used in the library.

"Navigation" Prefix

Nav is used a lot as a prefix but the transition API and entry container were using Navigation so they are now updated to match the rest:

  • NavigationTransition was renamed to NavTransition
  • NavigationVisibilityScope was renamed to NavVisibilityScope
  • NavigationEntryContainer was renamed to NavEntryContainer

Visible Backstack

VisibleBackstack is confusing since it should represent what is currently being rendered on the screen for the user so it was renamed

  • VisibileBackstack was renamed to RenderGroup

BackstackManager naming and package

BackstackManager indicates that it manages the backstack of a Navigator where in reality it manages the lifecycle of the backstack so it was renamed and updated the public lambdas to be fun interfaces

  • BackstackManager was renamed to LifecycleManager
  • Preiovusly getVisibileBackstack and updateLifecyles are now fun interfaces GetRenderGroup and UpdateLifecycles
  • Renamed BackstackViewModel to ViewModelStoreProvider
  • Moved LifecycleEntry, LifecycleManager, ViewModelStoreProvider and DefaultLifecycleManager to lifecycle package

Gitbook

  • Remove Gitbook files as they were not intended to be pushed to the master branch

Misc

  • Updated some documentation across the project.
  • NavigatorResultManager is now internal.

🐛 Bugfixes

  • LocalNavigator was not present when using the NavEntryContainer resulting in a crash when used outside the context of a NavContainer