Skip to content

Latest commit

 

History

History
77 lines (59 loc) · 4.22 KB

CHANGELOG.md

File metadata and controls

77 lines (59 loc) · 4.22 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Added

  • Warn for more invalid headerStyle properties (padding, top/right/bottom/left, position).

Fixed

  • Fixed missing header shadow on Android.

Added

  • NavigationEvents component as a declarative interface for subscribing to navigation focus events.

Fixed

Changed

  • Internally we no longer need to special case PlatformHelpers by platform as react-native-web handles the APIs we mocked out with it now.

Added

  • Throw error in development mode when header navigation option is set to a string - a common mistake that would otherwise result in a cryptic error message.
  • Throw error in development mode when title is not a string.

Fixed

  • Delegate to child routers for more than just the top screen in the stack.
  • Update react-navigation-drawer to 0.4.3 to fix initialRouteParams option

Fixed

  • Header no longer sometimes flashes for 1 frame when using header: null on initial route of stack with floating header.
  • Export createSwitchNavigator in react-navigation.web.js

Fixed

  • setParams applies to the navigation object it is called on even if that is the navigation object for a navigation view (more details in react-navigation#4497)

Fixed

  • Update react-navigation-drawer to fix regression in toggleDrawer

Fixed

  • transitionConfig in stack navigator no longer passes incorrect fromTransitionProps when navigating back

Changed

  • Refactor internals to make it play more nicely with web

Fixed

  • const defaultGetStateForAction = SwitchBasedNavigator.router.getStateForAction no longer throws error.
  • Updated react-navigation-drawer to 0.4.1 which should fix issues related to automatically closing drawer when changing routes.

Changed

  • Improved examples