- @react-navigation/bottom-tabs@6.0.5 - @react-navigation/drawer@6.1.4 - @react-navigation/elements@1.1.0 - @react-navigation/material-bottom-tabs@6.0.5 - @react-navigation/native-stack@6.0.6 - @react-navigation/stack@6.0.7
54 KiB
Change Log
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
6.1.4 (2021-08-17)
Note: Version bump only for package @react-navigation/drawer
6.1.3 (2021-08-11)
Bug Fixes
- use correct tint and background color from drawer items (f8fddac)
6.1.2 (2021-08-11)
Bug Fixes
- fix headerTransparent not working outside stack navigator (42c43ff)
6.1.1 (2021-08-09)
Note: Version bump only for package @react-navigation/drawer
6.1.0 (2021-08-07)
Bug Fixes
Features
6.0.1 (2021-08-03)
Bug Fixes
6.0.0 (2021-08-01)
Bug Fixes
- add deprecation warning for openByDefault (9506ad1)
6.0.0-next.21 (2021-07-16)
Note: Version bump only for package @react-navigation/drawer
6.0.0-next.20 (2021-07-16)
Note: Version bump only for package @react-navigation/drawer
6.0.0-next.19 (2021-07-01)
Note: Version bump only for package @react-navigation/drawer
6.0.0-next.18 (2021-06-10)
Note: Version bump only for package @react-navigation/drawer
6.0.0-next.17 (2021-06-01)
Note: Version bump only for package @react-navigation/drawer
6.0.0-next.16 (2021-05-29)
Note: Version bump only for package @react-navigation/drawer
6.0.0-next.15 (2021-05-29)
Note: Version bump only for package @react-navigation/drawer
6.0.0-next.14 (2021-05-27)
Note: Version bump only for package @react-navigation/drawer
6.0.0-next.13 (2021-05-26)
Features
- add screenListeners prop on navigators similar to screenOptions (cde44a5)
6.0.0-next.12 (2021-05-25)
Note: Version bump only for package @react-navigation/drawer
6.0.0-next.11 (2021-05-23)
Note: Version bump only for package @react-navigation/drawer
6.0.0-next.10 (2021-05-16)
Bug Fixes
- fix drawer content padding in RTL (ea8ea20)
6.0.0-next.9 (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.8 (2021-05-09)
Note: Version bump only for package @react-navigation/drawer
6.0.0-next.7 (2021-05-09)
Note: Version bump only for package @react-navigation/drawer
6.0.0-next.6 (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.5 (2021-05-01)
Note: Version bump only for package @react-navigation/drawer
6.0.0-next.4 (2021-04-08)
Bug Fixes
- don't handle back button with permanent drawer (b893968)
- fix drawer overlay on web (3241190)
- only handle back button in drawer when focused (5ae0bad)
6.0.0-next.3 (2021-03-22)
Features
- add a Background component (cbaabc1)
6.0.0-next.2 (2021-03-12)
Features
- export drawer button (2c8401d)
6.0.0-next.1 (2021-03-10)
Bug Fixes
- fix peer dep versions (72f90b5)
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
- fix typo for default prop in drawer (b376e9c)
Code Refactoring
- don't use a boolean for drawer status (cda6397)
- don't use absolute position for header (79a85a4)
- don't use deprecated APIs from react-native-safe-area-context (ddf27bf)
- drop drawerOpen and drawerClose events (5648e1a)
- move drawerContentOptions to options (15e5678)
- simplify props for stack and drawer headers (4cad132)
Features
- add pressColor and pressOpacity props to drawerItem (#8834) (52dbe4b)
- initial implementation of @react-navigation/elements (07ba7a9)
- move lazy to options for bottom-tabs and drawer (068a9a4)
BREAKING CHANGES
- Drawer status is now a union ('open', 'closed') instead of a boolean. This will let us implement more types of status in future.
Following this the following exports have been renamed as well:
- getIsDrawerOpenFromState -> getDrawerStatusFromState
- useIsDrawerOpen -> useDrawerStatus
- We now use flexbox for header elements which could break some existing style code which relied on absolute positioning.
- 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
drawerContentOptionsto regularoptionsin order to reduce confusion between the two, as well as to make it more flexible to configure the drawer on a per screen basis. - We now require newer versions of safe area context library.
- drawer's status can be queried through the isDrawerOpen hook. no need for the events
- Previously, the stack header accepted scene and previous scene which contained things such as descriptor, navigation prop, progress etc. The commit simplifies them to pass
route,navigation,optionsandprogressdirectly to the header. Similaryly, thepreviousargument now containsoptions,routeandprogress.
5.11.2 (2020-11-10)
Note: Version bump only for package @react-navigation/drawer
5.11.1 (2020-11-09)
Bug Fixes
- provide correct context to drawe header (18bbd17)
5.11.0 (2020-11-09)
Bug Fixes
- try fixing drawer blink on Android (5217245)
Features
- add a getIsDrawerOpenFromState utility to drawer (5bd682f)
- add option to show a header in drawer navigator screens (dbe961b)
5.10.7 (2020-11-08)
Note: Version bump only for package @react-navigation/drawer
5.10.6 (2020-11-04)
Note: Version bump only for package @react-navigation/drawer
5.10.5 (2020-11-04)
Note: Version bump only for package @react-navigation/drawer
5.10.4 (2020-11-03)
Note: Version bump only for package @react-navigation/drawer
5.10.3 (2020-11-03)
Note: Version bump only for package @react-navigation/drawer
5.10.2 (2020-10-30)
Note: Version bump only for package @react-navigation/drawer
5.10.1 (2020-10-28)
Note: Version bump only for package @react-navigation/drawer
5.10.0 (2020-10-24)
Features
- add optional screens per navigator (#8805) (7196889)
- improve types for navigation state (#8980) (7dc2f58)
- update helper types to have navigator specific methods (f51086e)
5.9.3 (2020-10-07)
Bug Fixes
- use route keys instead of index for lazy load (c49dab3)
5.9.2 (2020-09-28)
Note: Version bump only for package @react-navigation/drawer
5.9.1 (2020-09-22)
Bug Fixes
- add flex: 1 to DrawerItem style (#8701) (1c4bd68), closes /github.com/react-navigation/react-navigation/blob/main/packages/drawer/src/views/DrawerItem.tsx#L167
- cleanly removing event listeners in useWindowDimensions (#8866) (dcbfe52)
5.9.0 (2020-08-04)
Bug Fixes
- fix TouchableItem opacity on press on iOS (40e2dba)
Features
5.8.7 (2020-07-28)
Bug Fixes
5.8.6 (2020-07-19)
Note: Version bump only for package @react-navigation/drawer
5.8.5 (2020-07-10)
Note: Version bump only for package @react-navigation/drawer
5.8.4 (2020-06-25)
Note: Version bump only for package @react-navigation/drawer
5.8.3 (2020-06-24)
Bug Fixes
- make sure we don't miss dimensions updates (c65f9ef)
- use interpolateNode in drawer to support Reanimated 2 (ea5affd)
5.8.2 (2020-06-06)
Bug Fixes
5.8.1 (2020-05-27)
Note: Version bump only for package @react-navigation/drawer
5.8.0 (2020-05-23)
Features
5.7.7 (2020-05-20)
Note: Version bump only for package @react-navigation/drawer
5.7.6 (2020-05-20)
Note: Version bump only for package @react-navigation/drawer
5.7.5 (2020-05-16)
Note: Version bump only for package @react-navigation/drawer
5.7.4 (2020-05-14)
Note: Version bump only for package @react-navigation/drawer
5.7.3 (2020-05-14)
Note: Version bump only for package @react-navigation/drawer
5.7.2 (2020-05-10)
Note: Version bump only for package @react-navigation/drawer
5.7.1 (2020-05-08)
Bug Fixes
5.7.0 (2020-05-08)
Features
5.6.4 (2020-05-05)
Note: Version bump only for package @react-navigation/drawer
5.6.3 (2020-05-01)
Note: Version bump only for package @react-navigation/drawer
5.6.2 (2020-05-01)
Note: Version bump only for package @react-navigation/drawer
5.6.1 (2020-04-30)
Note: Version bump only for package @react-navigation/drawer
5.6.0 (2020-04-30)
Bug Fixes
- fix closing drawer on web with tap on overlay (70be3f6)
- make sure the address bar hides when scrolling on web (0a19e94)
Features
5.5.1 (2020-04-27)
Note: Version bump only for package @react-navigation/drawer
5.5.0 (2020-04-17)
Bug Fixes
Features
- add openByDefault option to drawer (36689e2)
5.4.1 (2020-04-08)
Bug Fixes
- don't hide content from accessibility with permanent drawer (cb2f157), closes #7976
- mark type exports for all packages (b71de6c)
5.4.0 (2020-03-30)
Bug Fixes
- disable only swipe gesture on safari (105da6a)
Features
5.3.4 (2020-03-23)
Note: Version bump only for package @react-navigation/drawer
5.3.3 (2020-03-22)
Note: Version bump only for package @react-navigation/drawer
5.3.2 (2020-03-19)
Bug Fixes
- close drawer on pressing Esc on web (5c4afc5), closes #6745
- don't use react-native-screens on web (b1a65fc), closes #7485
- fix permanent sidebar position (#7830) (3ea8eec)
- initialize height and width to zero if undefined (3df65e2), closes #6789
5.3.1 (2020-03-17)
Note: Version bump only for package @react-navigation/drawer
5.3.0 (2020-03-17)
Features
5.2.0 (2020-03-16)
Features
5.1.1 (2020-03-03)
Note: Version bump only for package @react-navigation/drawer
5.1.0 (2020-02-26)
Features
5.0.7 (2020-02-21)
Note: Version bump only for package @react-navigation/drawer
5.0.6 (2020-02-19)
Bug Fixes
- delay showing drawer by one frame after layout (e0c3298)
5.0.5 (2020-02-14)
Note: Version bump only for package @react-navigation/drawer
5.0.4 (2020-02-14)
Note: Version bump only for package @react-navigation/drawer
5.0.3 (2020-02-12)
Note: Version bump only for package @react-navigation/drawer
5.0.2 (2020-02-11)
Bug Fixes
5.0.1 (2020-02-10)
Bug Fixes
5.0.0-alpha.47 (2020-02-04)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.46 (2020-02-04)
Features
5.0.0-alpha.45 (2020-02-03)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.44 (2020-02-02)
Bug Fixes
- add licenses (0c159db)
- fix drawerType=back when drawer is on right (9198597), closes #316
- handle back button in drawer itself (0e8fda3)
- screens integration on Android (#294) (9bfb295)
- update screens for native stack (5411816)
- wrap navigators in gesture handler root (41a5e1a)
Features
5.0.0-alpha.42 (2020-02-02)
Bug Fixes
- add licenses (0c159db)
- fix drawerType=back when drawer is on right (9198597), closes #316
- handle back button in drawer itself (0e8fda3)
- screens integration on Android (#294) (9bfb295)
- update screens for native stack (5411816)
Features
5.0.0-alpha.41 (2020-01-24)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.40 (2020-01-23)
Features
- emit appear and dismiss events for native stack (f1df4a0)
- let the navigator specify if default can be prevented (da67e13)
5.0.0-alpha.39 (2020-01-14)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.38 (2020-01-13)
Bug Fixes
5.0.0-alpha.37 (2020-01-13)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.36 (2020-01-09)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.35 (2020-01-09)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.34 (2020-01-05)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.33 (2020-01-03)
Bug Fixes
Features
5.0.0-alpha.32 (2020-01-03)
Bug Fixes
5.0.0-alpha.31 (2020-01-01)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.30 (2019-12-19)
Bug Fixes
- set screen background in drawer from theme (0635365)
5.0.0-alpha.29 (2019-12-16)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.28 (2019-12-14)
Features
5.0.0-alpha.27 (2019-12-11)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.26 (2019-12-10)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.25 (2019-12-07)
Features
5.0.0-alpha.24 (2019-11-27)
Bug Fixes
5.0.0-alpha.23 (2019-11-17)
Bug Fixes
- pass labelStyle prop in DrawerItem label (#170) (cd7c9c4)
- workaround SafereaProvider causing jumping (c17ad18), closes #174
5.0.0-alpha.22 (2019-11-10)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.21 (2019-11-08)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.20 (2019-11-04)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.19 (2019-11-02)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.18 (2019-10-30)
Bug Fixes
Features
- add an 'unmountInactiveScreens' option (12d597f)
5.0.0-alpha.17 (2019-10-29)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.16 (2019-10-22)
Bug Fixes
- navigation drawer sometimes not closing when pressed outside (0d8cdc8)
5.0.0-alpha.15 (2019-10-17)
Bug Fixes
- fix passing content options in drawer (cab6160)
5.0.0-alpha.14 (2019-10-15)
Bug Fixes
Features
5.0.0-alpha.13 (2019-10-06)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.12 (2019-10-03)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.11 (2019-10-03)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.10 (2019-09-27)
Features
- export some more type aliases (8b78d61)
5.0.0-alpha.9 (2019-09-16)
Features
5.0.0-alpha.8 (2019-08-31)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.7 (2019-08-30)
Bug Fixes
- rename contentContainerStyle to sceneContainerStyle for drawer (fdc24d2)
5.0.0-alpha.6 (2019-08-29)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.5 (2019-08-28)
Note: Version bump only for package @react-navigation/drawer
5.0.0-alpha.4 (2019-08-27)
Note: Version bump only for package @react-navigation/drawer
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/drawer
5.0.0-alpha.1 (2019-08-21)
Bug Fixes
- fix "DrawerActions" typo (#65) (57e0af2)
- fix peer deps and add git urls (6b4fc74)
- get rid of random red screen on iOS on opening drawer (#68) (3c4f10d)
- immediate closing drawer of fully opened (3f64539)
- only pass accessibility label if it is a string. fixes #36 (#38) (bbe20db)
- reset this.gestureX on manual setting (2a1620d)
- rewrite tap callbacks to native calls (d4c51f4)
- spring was not triggered sometimes on tap (#67) (8bbddb2)
- tweak spring config for animation (7946b9d)