Skip to content

Latest commit

 

History

History
244 lines (145 loc) · 10.3 KB

CHANGELOG.md

File metadata and controls

244 lines (145 loc) · 10.3 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.

Fixed

  • Move event subscriptions to constructor in withNavigationFocus to ensure initial didFocus event is received.

Added

  • Export TabBarIconProps, TabBarLabelProps, DrawerIconProps, DrawerLabelProps, ScreenProps and InitialLayout.
  • Add disabled prop to HeaderBackButton
  • Add StackViewTransitionConfigs.NoAnimation
  • Add drawerContainerStyle to navigator config for drawer navigator

Added

  • Export StackGestureContext and DrawerGestureContext
  • Add missing type for withOrientation

Fixed

  • Fix header HeaderBackButton title TypeScript type

Fixed

  • Fixed types for BottomTabBar
  • export NavigationContext type

Changed

  • Make 'react-native-gesture-handler' a peer dependency rather than a hard dependency

Fixed

  • Fix missing TypeScript definitions file in release package

Added

  • TypeScript type definition now included in the project.
  • Better support for react-native-web in core and stack.

Fixed

Changed

  • Remove react-lifecycles-compat from @react-navigation/core
  • NavigationPlayground uses TypeScript

Fixed

Fixed

Added

Fixed

[3.2.2]

  • Oops, I skipped it. Nothing here.

Fixed

  • Remove accidental console.log

Added

  • Add support for backBehavior: history' and backBehavior: 'order' to any navigator based on SwitchRouter (eg: tab navigators). (react-navigation/core#31)

Fixed

Fixed

  • Fix references to onGestureFinish in StackViewLayout, should be onGestureEnd

Fixed

  • Stack navigator properly dismisses and restores keyboard when gesture starts and is cancelled
  • Transparent header measurement fix (react-navigation/stack#71)

Fixed

  • Update flow definition for withNavigation and withNavigationFocus to support defaultProps
  • Prevent onRef callback be called twice on withNavigationFocus components (react-navigation/core#30)
  • Bump react-navigation-drawer version to improve performance - if you use Expo, you will need expo@^32.0.3 to update!

Fixed

Changed

  • Lock create-react-context to 0.2.2

Changed

Fixes

  • Fix drawer accessibility label when drawer label is not a string

Fixes

  • Fix crash in rare case where onNavigationStateChange on container leads to setState and container has screenProps (react-navigation#5301)
  • Expose underlaying ScrollView methods to NavigationAwareScrollable (react-navigation/native#8)

Changed

  • Lock dependencies to exact versions

Fixes

Added

Fixes

  • Fix bug where if you navigate immediately when the navigator is first mounted the stack could get in an invalid state.
  • Transparent stack card factors in header height now, even though you probably won't want to use this.
  • Fix bug where shadow was still rendered on transparent stack
  • Fix gestureResponseDistance custom values being ignored for modal stack

Fixes

  • Fix drawerLockMode on drawer navigator
  • Fix RTL support in drawer navigator

Fixes

  • fix NavigationTestUtils.js deprecated file import.
  • Update getParam flow typings to check key and fallback arguments, as well as return the correct type automatically.
  • Fix regression in backgroundColor on cardStyle for stack navigator.

[Previous major versions]