All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
7.0.0-alpha.2 (2023-06-22)
Note: Version bump only for package @react-navigation/native-stack
7.0.0-alpha.1 (2023-03-01)
- fix paths in sourcemap files (368e069) - by @satya164
7.0.0-alpha.0 (2023-02-17)
-
fix headerBackVisible type annotation (#11220) (d18936a) - by @Vin-Xi
-
make headerBackground visible with transparent header (#11109) (2b1e8dc) - by @yhkaplan
-
refactor!: improve the API for Link component (7f35837) - by @satya164
- Initially the
Link
component was designed to work with path strings via theto
prop. But it has few issues:
- The path strings are not type-safe, making it easy to cause typos and bugs after refactor
- The API made navigating via screen name more incovenient, even if that's the preferred approach
This revamps the API of the Link
component to make it easier to use. Instead of to
prop, it now accepts screen
and params
props, as well as an optional href
prop to
use instead of the generated path.
e.g.:
<Link screen="Details" params={{ foo: 42 }}>Go to Details</Link>
This also drops the useLinkTo
hook and consolidates into the useLinkTools
hook - which lets us build a href
for a screen or action for a path.
6.9.2 (2022-11-21)
- add accessibility props to NativeStack screens (#11022) (3ab05af)
- let headerShadowVisible: true display a shadow even if headerTransparent is true (#10993) (06b6be2), closes #10845
- supersede Platform.isTVOS for Platform.isTV (#10973) (1846de6)
6.9.1 (2022-10-11)
6.9.0 (2022-09-16)
- fix incorrect height in useHeaderHeight in native-stack (#10827) (b8ea527), closes #10333
- improve when back button is shown in nested native stacks (#10761) (05dab7d)
- replace deprecated I18nManager.isRTL with 18nManager.getConstants().isRTL (#10547) (50b88d4)
- restore native behavior of back button (7ba7246), closes #10761 software-mansion/react-native-screens#1589
6.8.0 (2022-08-24)
- improve when back button is shown in nested native stacks (#10761) (05dab7d)
- replace deprecated I18nManager.isRTL with 18nManager.getConstants().isRTL (#10547) (50b88d4)
6.7.0 (2022-07-05)
- ensure same @types/react version in repo (#10663) (e662465), closes #10655
- explicitly set gestureDirection default value in native-stack (#10674) (25a0d4c)
- fix typo in native-stack types (f4df53a)
- use top inset for header height on ipad (#10652) (d5b2600), closes #10609
6.6.2 (2022-04-22)
- fix incorrect header title when headerLeft is specified (bc6f6b5), closes #10452
- fix incorrect warning for headerTransparent in native-stack (4ff1ef5), closes #10502
6.6.1 (2022-04-01)
Note: Version bump only for package @react-navigation/native-stack
6.6.0 (2022-04-01)
- add an ID prop to navigators (4e4935a)
6.5.2 (2022-03-23)
6.5.1 (2022-03-23)
6.5.0 (2022-02-06)
6.4.1 (2022-02-03)
- correctly set header to translucent (c9eed38)
6.4.0 (2022-02-02)
- set header to translucent when using searchbar or large title (a410f84)
- add search bar to native-stack on Android (e329c43)
6.3.0 (2022-01-29)
- fix exposing custom header height with modals (3b4edf7)
- fix useRoute & useNavigation in custom header in native stack (826b0c5)
- hide header shadow for transparent header (ffcd171)
- make native stack background transparent when using transparentModal (d58f4b9)
- wrap native stack with NavigationContent (#10288) (d0f8620), closes #10287 /github.com/react-navigation/react-navigation/blob/b91c9b05ff96727f5fa6ef0bec51b5d7eac06600/packages/core/src/useNavigation.tsx#L16 /github.com/react-navigation/react-navigation/blob/b91c9b05ff96727f5fa6ef0bec51b5d7eac06600/packages/native/src/useLinkProps.tsx#L26 /github.com/react-navigation/react-navigation/blob/b91c9b05ff96727f5fa6ef0bec51b5d7eac06600/packages/core/src/useNavigationBuilder.tsx#L606 /github.com/react-navigation/react-navigation/blob/b91c9b05ff96727f5fa6ef0bec51b5d7eac06600/packages/bottom-tabs/src/navigators/createBottomTabNavigator.tsx#L101 /github.com/react-navigation/react-navigation/blob/b91c9b05ff96727f5fa6ef0bec51b5d7eac06600/packages/drawer/src/navigators/createDrawerNavigator.tsx#L99 /github.com/react-navigation/react-navigation/blob/b91c9b05ff96727f5fa6ef0bec51b5d7eac06600/packages/stack/src/navigators/createStackNavigator.tsx#L110 /github.com/react-navigation/react-navigation/blob/b91c9b05ff96727f5fa6ef0bec51b5d7eac06600/packages/native-stack/src/navigators/createNativeStackNavigator.tsx#L67
- native-stack: add support for header background image (393773b)
- native-stack: export NativeStackView to support custom routers on native-stack (#10260) (7b761f1)
- native-stack: expose custom header height (#10113) (e93b2e9)
- pass canGoBack to headerRight (82a1669)
6.2.5 (2021-10-16)
- fix default for animationTypeForReplace to match with JS stack (ec4c8cc)
6.2.4 (2021-10-12)
Note: Version bump only for package @react-navigation/native-stack
6.2.3 (2021-10-09)
Note: Version bump only for package @react-navigation/native-stack
6.2.2 (2021-09-27)
6.2.1 (2021-09-26)
Note: Version bump only for package @react-navigation/native-stack
6.2.0 (2021-09-26)
- export header props for other navigators (8475481), closes #9965
- pass title style to . fixes #9885 (127e030)
- support same styles in centered title in native stack (77080d8)
- add headerBackButtonMenuEnabled prop (#9881) (c15bcfb), closes /github.com/software-mansion/react-native-screens/discussions/1071#discussioncomment-1227326
- pass more props to header left in native-stack (ef41211)
6.1.0 (2021-08-18)
6.0.6 (2021-08-17)
Note: Version bump only for package @react-navigation/native-stack
6.0.5 (2021-08-11)
- fix headerTransparent not working outside stack navigator (42c43ff)
6.0.4 (2021-08-09)
Note: Version bump only for package @react-navigation/native-stack
6.0.3 (2021-08-07)
Note: Version bump only for package @react-navigation/native-stack
6.0.2 (2021-08-05)
- fix incorrect name for headerTransparent (1da575e)
6.0.1 (2021-08-03)
Note: Version bump only for package @react-navigation/native-stack
6.0.0 (2021-08-01)
- show error when beforeRemove is used to prevent action in naive stack (6d518a4)
- add custom header option to native-stack (1a39632)
- basic web implementation for native stack (de84458)
- expose header height in native-stack (#9774) (20abccd)
6.0.0-next.11 (2021-07-16)
Note: Version bump only for package @react-navigation/native-stack
6.0.0-next.10 (2021-07-16)
Note: Version bump only for package @react-navigation/native-stack
6.0.0-next.9 (2021-07-01)
Note: Version bump only for package @react-navigation/native-stack
6.0.0-next.8 (2021-06-10)
Note: Version bump only for package @react-navigation/native-stack
6.0.0-next.7 (2021-06-01)
Note: Version bump only for package @react-navigation/native-stack
6.0.0-next.6 (2021-05-29)
Note: Version bump only for package @react-navigation/native-stack
6.0.0-next.5 (2021-05-29)
Note: Version bump only for package @react-navigation/native-stack
6.0.0-next.4 (2021-05-27)
Note: Version bump only for package @react-navigation/native-stack
6.0.0-next.3 (2021-05-26)
- add screenListeners prop on navigators similar to screenOptions (cde44a5)
6.0.0-next.2 (2021-05-25)
Note: Version bump only for package @react-navigation/native-stack
6.0.0-next.1 (2021-05-23)
- automatically set top inset on Android in native stack (2cb44a5)
5.0.5 (2020-02-14)
Note: Version bump only for package @react-navigation/native-stack
5.0.4 (2020-02-14)
Note: Version bump only for package @react-navigation/native-stack
5.0.3 (2020-02-12)
Note: Version bump only for package @react-navigation/native-stack
5.0.2 (2020-02-11)
Note: Version bump only for package @react-navigation/native-stack
5.0.1 (2020-02-10)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.35 (2020-02-04)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.34 (2020-02-04)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.33 (2020-02-03)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.32 (2020-02-02)
- add licenses (0c159db)
- screens integration on Android (#294) (9bfb295)
- update screens for native stack (5411816)
5.0.0-alpha.30 (2020-02-02)
- add licenses (0c159db)
- screens integration on Android (#294) (9bfb295)
- update screens for native stack (5411816)
5.0.0-alpha.29 (2020-01-24)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.28 (2020-01-23)
- fix types for native stack (1da4a64)
- emit appear and dismiss events for native stack (f1df4a0)
- let the navigator specify if default can be prevented (da67e13)
5.0.0-alpha.27 (2020-01-14)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.26 (2020-01-13)
5.0.0-alpha.25 (2020-01-13)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.24 (2020-01-09)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.23 (2020-01-09)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.22 (2020-01-05)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.21 (2020-01-03)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.20 (2020-01-01)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.19 (2019-12-19)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.18 (2019-12-16)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.17 (2019-12-14)
5.0.0-alpha.16 (2019-12-11)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.15 (2019-12-07)
5.0.0-alpha.14 (2019-11-20)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.13 (2019-11-17)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.12 (2019-11-10)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.11 (2019-11-08)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.10 (2019-11-04)
- popToTop on tab press in native stack (301c35e)
5.0.0-alpha.9 (2019-11-04)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.8 (2019-11-02)
- add headerBackTitleVisible to navigation options in native stack (77f29d3)
5.0.0-alpha.7 (2019-11-02)
- remove top margin from screen in native stack on Android (5cd6940)
5.0.0-alpha.6 (2019-10-30)
Note: Version bump only for package @react-navigation/native-stack
5.0.0-alpha.5 (2019-10-29)
Note: Version bump only for package @react-navigation/native-stack