# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] - 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. - Update react-navigation-drawer to 0.4.3 to fix `initialRouteParams` option - Throw error in development mode when title is not a string. ## [2.5.4] - [2018-06-27](https://github.com/react-navigation/react-navigation/releases/tag/2.5.4) ### 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](https://github.com/react-navigation/react-navigation/releases/tag/2.5.3) ### 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](https://github.com/react-navigation/react-navigation/releases/tag/2.5.2) ### Fixed - Update react-navigation-drawer to fix regression in toggleDrawer ## [2.5.1] - [2018-06-22](https://github.com/react-navigation/react-navigation/releases/tag/2.5.1) ### Fixed - `transitionConfig` in stack navigator no longer passes incorrect `fromTransitionProps` when navigating back ## [2.5.0] - [2018-06-22](https://github.com/react-navigation/react-navigation/releases/tag/2.5.0) ### 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](https://github.com/react-navigation/react-navigation/releases/tag/2.4.1) ### Changed - Improved examples [Unreleased]: https://github.com/react-navigation/react-navigation/compare/2.5.4...HEAD [2.5.4]: https://github.com/react-navigation/react-navigation/compare/2.5.3...2.5.4 [2.5.3]: https://github.com/react-navigation/react-navigation/compare/2.5.2...2.5.3 [2.5.2]: https://github.com/react-navigation/react-navigation/compare/2.5.1...2.5.2 [2.5.1]: https://github.com/react-navigation/react-navigation/compare/2.5.0...2.5.1 [2.5.0]: https://github.com/react-navigation/react-navigation/compare/2.4.1...2.5.0 [2.4.1]: https://github.com/react-navigation/react-navigation/compare/2.4.0...2.4.1