Skip to content

Latest commit

 

History

History
1417 lines (428 loc) · 57.1 KB

CHANGELOG.md

File metadata and controls

1417 lines (428 loc) · 57.1 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

6.4.0 (2022-09-16)

Features

6.3.3 (2022-08-24)

Note: Version bump only for package @react-navigation/bottom-tabs

6.3.2 (2022-07-05)

Bug Fixes

6.3.1 (2022-04-01)

Note: Version bump only for package @react-navigation/bottom-tabs

6.3.0 (2022-04-01)

Features

  • add an ID prop to navigators (4e4935a)

6.2.0 (2022-02-02)

Features

6.1.0 (2022-01-29)

Features

  • native-stack: export NativeStackView to support custom routers on native-stack (#10260) (7b761f1)

6.0.9 (2021-10-12)

Bug Fixes

6.0.8 (2021-10-09)

Note: Version bump only for package @react-navigation/bottom-tabs

6.0.7 (2021-09-26)

Note: Version bump only for package @react-navigation/bottom-tabs

6.0.6 (2021-09-26)

Bug Fixes

  • export header props for other navigators (8475481), closes #9965
  • stop animations on unmount/cleanup (5fb5f41)

6.0.5 (2021-08-17)

Note: Version bump only for package @react-navigation/bottom-tabs

6.0.4 (2021-08-11)

Bug Fixes

  • fix headerTransparent not working outside stack navigator (42c43ff)

6.0.3 (2021-08-09)

Note: Version bump only for package @react-navigation/bottom-tabs

6.0.2 (2021-08-07)

Bug Fixes

  • avoid blink when switching tab screens (40dcbcf)

6.0.1 (2021-08-03)

Bug Fixes

  • preserve params when switching tabs. fixes #9782 (98fa233)

6.0.0 (2021-08-01)

Bug Fixes

  • remove tabBarAdapative option (5f4e124)

6.0.0-next.22 (2021-07-16)

Note: Version bump only for package @react-navigation/bottom-tabs

6.0.0-next.21 (2021-07-16)

Note: Version bump only for package @react-navigation/bottom-tabs

6.0.0-next.20 (2021-07-01)

Note: Version bump only for package @react-navigation/bottom-tabs

6.0.0-next.19 (2021-06-10)

Note: Version bump only for package @react-navigation/bottom-tabs

6.0.0-next.18 (2021-06-01)

Note: Version bump only for package @react-navigation/bottom-tabs

6.0.0-next.17 (2021-05-29)

Note: Version bump only for package @react-navigation/bottom-tabs

6.0.0-next.16 (2021-05-29)

Note: Version bump only for package @react-navigation/bottom-tabs

6.0.0-next.15 (2021-05-27)

Note: Version bump only for package @react-navigation/bottom-tabs

6.0.0-next.14 (2021-05-26)

Features

  • add screenListeners prop on navigators similar to screenOptions (cde44a5)

6.0.0-next.13 (2021-05-25)

Note: Version bump only for package @react-navigation/bottom-tabs

6.0.0-next.12 (2021-05-23)

Note: Version bump only for package @react-navigation/bottom-tabs

6.0.0-next.11 (2021-05-16)

Bug Fixes

  • fix tab bar height including extra bottom inset (7c722d2)

Features

  • add a tabBarBackground option to bottom tabs (2f282f1)

6.0.0-next.10 (2021-05-10)

Bug Fixes

  • add a deprecation warning for mode prop in stack (a6e4981)

Features

  • return a NavigationContent component from useNavigationBuilder (1179d56)

6.0.0-next.9 (2021-05-09)

Note: Version bump only for package @react-navigation/bottom-tabs

6.0.0-next.8 (2021-05-09)

Note: Version bump only for package @react-navigation/bottom-tabs

6.0.0-next.7 (2021-05-09)

Bug Fixes

  • enable screens only on supported platforms (#9494) (8da4c58)
  • make sure disabling react-native-screens works (a369ba3)

6.0.0-next.6 (2021-05-01)

Note: Version bump only for package @react-navigation/bottom-tabs

6.0.0-next.5 (2021-04-16)

Bug Fixes

6.0.0-next.4 (2021-04-08)

Bug Fixes

  • remove calls to removed Keyboard.removeListener in useIsKeyboardShown (#9457) (d87857e)

6.0.0-next.3 (2021-03-22)

Bug Fixes

  • use tab role on Android for accessibility (de805a3)

Features

  • add a Background component (cbaabc1)

6.0.0-next.2 (2021-03-12)

Note: Version bump only for package @react-navigation/bottom-tabs

6.0.0-next.1 (2021-03-10)

Bug Fixes

6.0.0-next.0 (2021-03-09)

Bug Fixes

  • add missing helper types in descriptors (21a1154)
  • drop usage of Dimensions in favor of metrics from safe-area-context (12b893d)
  • enable detachInactiveScreens by default on web for better a11y (4954d6a)
  • fix drawer and bottom tabs not being visible on web. closes #9225 (b735de1)
  • fix drawer screen content not being interactable on Android (865d8b3)
  • fix initial metrics on server (69d333f)
  • fix pointerEvents in ResourceSavingScene (af53dd6), closes #9241 #9242
  • show a missing icon symbol instead of empty area in bottom tab bar (2bc4882)

Code Refactoring

  • don't use deprecated APIs from react-native-safe-area-context (ddf27bf)
  • drop support for tabBarVisible option (a97a43a)
  • move tabBarOptions to options for bottom tabs (f7ff1ad)

Features

  • initial implementation of @react-navigation/elements (07ba7a9)
  • move lazy to options for bottom-tabs and drawer (068a9a4)

BREAKING CHANGES

  • The lazy prop now can be configured per screen instead of for the whole navigator. To keep previous behavior, you can specify it in screenOptions
  • This commit moves options from tabBarOptions to regular options in order to reduce confusion between the two, as well as to make it more flexible to configure the tab bar based on a per screen basis.
  • We now require newer versions of safe area context library.
  • We need to add support for specifying style for tab bar in options to support the use cases which need this.

5.11.1 (2020-11-10)

Note: Version bump only for package @react-navigation/bottom-tabs

5.11.0 (2020-11-09)

Features

  • add a hook to get bottom tab bar height (e08c91f), closes #8037 #8536
  • add a tabBarBadgeStyle option to customize the badge (6ac4d40)

5.10.7 (2020-11-08)

Note: Version bump only for package @react-navigation/bottom-tabs

5.10.6 (2020-11-04)

Bug Fixes

  • disable react-native-screens on iOS for older versions (ce7d20e)

5.10.5 (2020-11-04)

Note: Version bump only for package @react-navigation/bottom-tabs

5.10.4 (2020-11-03)

Note: Version bump only for package @react-navigation/bottom-tabs

5.10.3 (2020-11-03)

Note: Version bump only for package @react-navigation/bottom-tabs

5.10.2 (2020-10-30)

Note: Version bump only for package @react-navigation/bottom-tabs

5.10.1 (2020-10-28)

Note: Version bump only for package @react-navigation/bottom-tabs

5.10.0 (2020-10-24)

Features

  • add optional screens per navigator (#8805) (7196889)
  • add sceneContainerStyle prop to bottom-tabs navigator (#8947) (f01bb48)
  • improve types for navigation state (#8980) (7dc2f58)
  • update helper types to have navigator specific methods (f51086e)

5.9.2 (2020-10-07)

Bug Fixes

  • use route keys instead of index for lazy load (c49dab3)

5.9.1 (2020-09-28)

Note: Version bump only for package @react-navigation/bottom-tabs

5.9.0 (2020-09-22)

Bug Fixes

  • cleanly removing event listeners in useWindowDimensions (#8866) (dcbfe52)
  • fix border showing on hidden tab bar. closes #8869 (9b03c8e)

Features

5.8.0 (2020-08-04)

Bug Fixes

Features

  • allow full configuration of tab bar hide animation (0b62730)
  • expose BottomTabBarButtonProps type (#8649) (a35ac81)
  • user can specify how long tab hide animation should take (#8587) (b0cafb3)

5.7.3 (2020-07-28)

Bug Fixes

  • add accessibilityState property (#8548) (ce4eb7e)
  • pass label position flag to label rendering in BottomTabBar (#8557) (baea77e)

5.7.2 (2020-07-19)

Note: Version bump only for package @react-navigation/bottom-tabs

5.7.1 (2020-07-14)

Bug Fixes

  • don't render badge on bottom tabs if not visible. closes #8577 (2f74541)

5.7.0 (2020-07-10)

Bug Fixes

  • fix bottom tab bar to match iOS defaults (849e04a)

Features

  • add support for badges to bottom tab bar (96c7b68)

5.6.1 (2020-06-25)

Note: Version bump only for package @react-navigation/bottom-tabs

5.6.0 (2020-06-24)

Bug Fixes

  • make sure we don't miss dimensions updates (c65f9ef)
  • remove broken showIcon option from bottom-tabs (1612819)

Features

  • add iconStyle prop to bottom tab bar options (#8188) (4480d2f)

5.5.2 (2020-06-06)

Note: Version bump only for package @react-navigation/bottom-tabs

5.5.1 (2020-05-27)

Bug Fixes

  • fix type of style for various options (9d822b9)

5.5.0 (2020-05-23)

Features

  • animate changes to tabBarVisible in BottomTabBar (#8286) (c1e46f8)
  • update react-native-safe-area-context to 1.0.0 (#8182) (d62fbfe)

5.4.7 (2020-05-20)

Note: Version bump only for package @react-navigation/bottom-tabs

5.4.6 (2020-05-20)

Note: Version bump only for package @react-navigation/bottom-tabs

5.4.5 (2020-05-16)

Note: Version bump only for package @react-navigation/bottom-tabs

5.4.4 (2020-05-14)

Note: Version bump only for package @react-navigation/bottom-tabs

5.4.3 (2020-05-14)

Note: Version bump only for package @react-navigation/bottom-tabs

5.4.2 (2020-05-10)

Note: Version bump only for package @react-navigation/bottom-tabs

5.4.1 (2020-05-08)

Bug Fixes

  • fix building typescript definitions. closes #8216 (47a1229)

5.4.0 (2020-05-08)

Features

  • add generic type aliases for screen props (bea14aa), closes #7971

5.3.4 (2020-05-05)

Note: Version bump only for package @react-navigation/bottom-tabs

5.3.3 (2020-05-01)

Note: Version bump only for package @react-navigation/bottom-tabs

5.3.2 (2020-05-01)

Note: Version bump only for package @react-navigation/bottom-tabs

5.3.1 (2020-04-30)

Note: Version bump only for package @react-navigation/bottom-tabs

5.3.0 (2020-04-30)

Features

  • add useLinkBuilder hook to build links (2792f43)
  • add action prop to Link (942d2be)

5.2.8 (2020-04-27)

Note: Version bump only for package @react-navigation/bottom-tabs

5.2.7 (2020-04-17)

Note: Version bump only for package @react-navigation/bottom-tabs

5.2.6 (2020-04-08)

Bug Fixes

  • mark type exports for all packages (b71de6c)

5.2.5 (2020-03-30)

Note: Version bump only for package @react-navigation/bottom-tabs

5.2.4 (2020-03-23)

Note: Version bump only for package @react-navigation/bottom-tabs

5.2.3 (2020-03-22)

Note: Version bump only for package @react-navigation/bottom-tabs

5.2.2 (2020-03-19)

Bug Fixes

  • don't use react-native-screens on web (b1a65fc), closes #7485
  • initialize height and width to zero if undefined (3df65e2), closes #6789

5.2.1 (2020-03-17)

Note: Version bump only for package @react-navigation/bottom-tabs

5.2.0 (2020-03-16)

Features

  • add safeAreaInsets to bottom tabs (82af7be)

5.1.1 (2020-03-03)

Note: Version bump only for package @react-navigation/bottom-tabs

5.1.0 (2020-02-26)

Features

  • add ability add listeners with listeners prop (1624108), closes #6756

5.0.7 (2020-02-21)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.6 (2020-02-19)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.5 (2020-02-14)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.4 (2020-02-14)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.3 (2020-02-12)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.2 (2020-02-11)

Bug Fixes

  • initialize keyboard-hiding tabBar to visible=true (#6740, #6799) (0c59ef7)
  • provide route context to header and bottom tabs (b6e7e08)

5.0.1 (2020-02-10)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.45 (2020-02-04)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.44 (2020-02-04)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.43 (2020-02-03)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.42 (2020-02-02)

Bug Fixes

5.0.0-alpha.40 (2020-02-02)

Bug Fixes

5.0.0-alpha.39 (2020-01-24)

Bug Fixes

  • use layout instead of dimensions for determining tab bar layout (f1fe951)

5.0.0-alpha.38 (2020-01-23)

Bug Fixes

  • don't use native driver on web (0a982ee)

Features

  • let the navigator specify if default can be prevented (da67e13)

5.0.0-alpha.37 (2020-01-14)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.36 (2020-01-13)

Bug Fixes

  • make sure paths aren't aliased when building definitions (65a5dac), closes #265

5.0.0-alpha.35 (2020-01-13)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.34 (2020-01-09)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.33 (2020-01-09)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.32 (2020-01-05)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.31 (2020-01-03)

Bug Fixes

  • provide initial values for safe area to prevent blank screen (#238) (77b7570)

5.0.0-alpha.30 (2020-01-03)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.29 (2020-01-01)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.28 (2019-12-19)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.27 (2019-12-16)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.26 (2019-12-14)

Features

5.0.0-alpha.25 (2019-12-11)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.24 (2019-12-10)

Bug Fixes

  • fix accessibility label in bottom tab bar (448fa64)

5.0.0-alpha.23 (2019-12-07)

Features

  • export underlying views used to build navigators (#191) (d618ab3)

5.0.0-alpha.22 (2019-11-17)

Bug Fixes

  • workaround SafereaProvider causing jumping (c17ad18), closes #174

5.0.0-alpha.21 (2019-11-10)

Bug Fixes

  • make bottom tab bar consistent across platforms (d1ca7f9)

5.0.0-alpha.20 (2019-11-08)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.19 (2019-11-04)

Bug Fixes

5.0.0-alpha.18 (2019-11-04)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.17 (2019-10-30)

Bug Fixes

  • hide inactive pages from screen reader in tabs (#148) (58f7115)

Features

  • add an 'unmountInactiveScreens' option (12d597f)

5.0.0-alpha.16 (2019-10-29)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.15 (2019-10-22)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.14 (2019-10-15)

Bug Fixes

  • improve keyboard handling with bottom tab bar (42beb66)
  • make it possible to run the example on web (7a901af)

Features

5.0.0-alpha.13 (2019-10-06)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.12 (2019-10-03)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.11 (2019-10-03)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.10 (2019-09-27)

Features

5.0.0-alpha.9 (2019-09-17)

Bug Fixes

  • provide navigation prop in header (30e510d)

5.0.0-alpha.8 (2019-09-16)

Features

  • make example run as bare react-native project as well (#85) (d16c20c)

5.0.0-alpha.7 (2019-08-31)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.6 (2019-08-29)

Bug Fixes

5.0.0-alpha.5 (2019-08-28)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.4 (2019-08-27)

Features

  • add hook to scroll to top on tab press (9e1104c)

5.0.0-alpha.3 (2019-08-22)

Bug Fixes

  • fix path to typescript definitions (f182315)

5.0.0-alpha.2 (2019-08-22)

Note: Version bump only for package @react-navigation/bottom-tabs

5.0.0-alpha.1 (2019-08-21)

Bug Fixes

  • change opacity for hidden tabs only when not using rn-screens (#80) (6490049), closes #5382
  • correctly reset _isTabPress property (80b7f1d)
  • fix hit slop for bottom tab bar (#110) (ce3670b)
  • fix peer deps and add git urls (6b4fc74)
  • fix tabBarOnPress with MaterialTopTabs and fix isFocused (#21) (491ee81)
  • import SceneView from react-navigation default export (5d5f4d1)
  • increase padding for iOS horizontal label alignment (#114) (4adb3a9), closes #113
  • iPad / horizontal layout works as expected in BottomTabBar (3bb5ec4)
  • NavigationActions.popToTop no longer exists, belongs to StackActions now (273131f)
  • remove tab icon wrapper to fix adaptive icons (3fdb3d9)
  • specify default values for getAccessibilityX (3c7918d), closes #116
  • tweak hitSlop on bottom tab bar buttons (a5514a2)
  • typo in accessibilityLabel (57a0d46)
  • use react-lifecycles-compat for async mode compatibility (93b45f2)
  • use the JUMP_TO action for tab change (242625a)

Features

  • add ability to render label beside the icon (#103) (8f70ebb)
  • add accessibility role and state to bottom bar (#90) (73e9b4c)
  • add accessibilityLabel and testID options (#26) (4cc91d1)
  • add an option to swap out TouchableWithoutFeedback for another component (#27) (34b0e5d)
  • add defaultHandler argument to tabBarOnPress. fixes #22 (267e9ec)
  • add lazy option. fixes #23 (2a80c11)
  • export individual navigators separately. fixes #2 (65b0c46)
  • export tab bars (a4ead48)
  • hide tab bar when keyboard is shown (#112) (ccb2d38), closes #16
  • implement various navigators (f0b80ce)
  • initial commit (89934b9)
  • lazy initialized MaterialTopTabNavigator routes (#9) (18fa131)
  • put material bottom tabs in another repository (42e35f5)
  • upgrade react-native-tab-view to 2.0 (d8b4774)
  • use resource saving view for scenes. fixes #3 (fd2c352)