Skip to content

1.4.6

Latest

Choose a tag to compare

@97chos 97chos released this 15 Sep 03:42

Summary

This release fixes a retain cycle that kept every tab navigator alive, and adds a way to force a tab rebuild.

What's Changed

  • TabPartialNavigator.navigationBuilder was a stored property holding rootNavigator (self) strongly, so every tab navigator — along with its UINavigationController and every page on it — was never released. It is now built on demand; TabNavigationBuilder is a stateless struct, so the cost is negligible
  • TabLinkNavigationView gains reloadToken. Since 1.4.5 the tab stack is rebuilt only when tabItemList changes, but next / sheet / replace move the live stack without going through that list. A caller meaning "reset the tabs to this state" was therefore skipped whenever the list happened to match. Bumping the token forces the rebuild. Defaults to .zero, so existing call sites are unaffected