mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-24 09:08:15 +00:00
4.5 KiB
4.5 KiB
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.
Unreleased
2.6.2 - 2018-07-06
Changed
- Relax vertical padding warnings on header.
2.6.1 - 2018-07-05
Added
- Warn for more invalid headerStyle properties (padding, top/right/bottom/left, position).
Fixed
- Fixed missing header shadow on Android.
2.6.0 - 2018-07-04
Added
- NavigationEvents component as a declarative interface for subscribing to navigation focus events.
Fixed
- Fix stack router child router delegation priority (
e8c1833053
) - Avoid crash when calling isFocused on old route (
0921889f7a
) - Stack router no longer attempts to parse query params within path handling
- Switch router now has exact same param treatment for URLs as stack router does
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.
2.5.5 - 2018-06-27
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
2.5.4 - 2018-06-27
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
2.5.3 - 2018-06-23
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 https://github.com/react-navigation/react-navigation/issues/4497)
2.5.2 - 2018-06-23
Fixed
- Update react-navigation-drawer to fix regression in toggleDrawer
2.5.1 - 2018-06-22
Fixed
transitionConfig
in stack navigator no longer passes incorrectfromTransitionProps
when navigating back
2.5.0 - 2018-06-22
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.
2.4.1 - 2018-06-21
Changed
- Improved examples