Skip to content

2.0.2

Latest
Compare
Choose a tag to compare
@RobertDresler RobertDresler released this 02 Feb 20:47
· 13 commits to main since this release

Release Notes

This version introduces major breaking changes, but it is improved based on more thorough research—now all concepts should make even more sense.

🚀 Features:

  • NavigationNode is now NavigationModel—this naming is more accurate to what it actually does.
  • NavigationWindow is now RootNavigationView, allowing it to be used in UIKit navigation during migration.
  • Simplified DefaultStackRootNavigationModel initializers.

⚠️ Breaking Changes:

  • Replace NavigationNode with NavigationModel wherever it was used.
  • If you were using DefaultStackRootNavigationModel with the stackNodes: argument, remove the argument name:
    DefaultStackRootNavigationModel(YourNode())
    DefaultStackRootNavigationModel([YourNode(), YourNode()])
  • Rename NavigationWindow to RootNavigationView.
  • To correctly implement object lifecycles, create the root node you pass to RootNavigationView using @StateObject. See the README for details.