- Test suite: Jest + ts-jest + Testing Library covering the adapters, tree/state/sitemap builders, the runtime resolver, and the native hook. New
typecheck,test, andtest:coveragescripts. @react-navigation/nativeis now an optional peer dependency viapeerDependenciesMeta.
- Navigation runtime (
StackActions,CommonActions,useNavigationContainerRef) is resolved at module load fromexpo-routeror@react-navigation/nativevia the newshared/navigation-runtimemodule. - Source decoupled from hard
@react-navigation/nativeimports using structuralNavigationRefLike/NavigationStateLiketypes. tsconfiglib bumped from ES2020 to ES2021.
- React Navigation adapter no longer dispatches when the resolved action creators are absent (null guards on
StackActions/CommonActions).
- React Navigation support: The plugin now works with plain React Navigation apps (without Expo Router). The hook auto-detects which router is available at runtime.
- New
react-navigation-adapterthat usesCommonActions/StackActionsfor navigation and state-based route discovery. useNavigationInspector()now returns anavigationRefthat React Navigation users pass to<NavigationContainer ref={navigationRef}>. Expo Router users can ignore the return value.expo-routeris now an optional peer dependency viapeerDependenciesMeta.
- Replaced static
import from 'expo-router'with lazy runtimerequire()inside try/catch to prevent crashes in non-Expo apps. - Public return type changed from
NavigationContainerRefWithCurrent<ParamListBase>to{ current: any }for cross-package type compatibility. - Updated README with React Navigation setup instructions and compatibility table.
- Prevent navigation inspector from breaking other Rozenite plugins when setup fails.
- Initial release with Expo Router support.
- Real-time navigation tree visualization.
- Sitemap view with visited-route tracking.
- Navigation timeline with event classification.
- Navigation console with route autocomplete.