Skip to content

Latest commit

 

History

History
1476 lines (833 loc) · 111 KB

CHANGELOG.md

File metadata and controls

1476 lines (833 loc) · 111 KB

Change Log

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

7.0.0-alpha.20 (2024-03-25)

Features

  • pass href to headerLeft function (ce6d885) - by @satya164

7.0.0-alpha.19 (2024-03-22)

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

7.0.0-alpha.18 (2024-03-22)

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

7.0.0-alpha.17 (2024-03-20)

Features

  • add getStateForRouteNamesChange to all navigators and mark it as unstable (4edbb07) - by @satya164

7.0.0-alpha.16 (2024-03-14)

Features

  • automatically infer types for navigation in options, listeners etc. (#11883) (c54baf1) - by @satya164

7.0.0-alpha.15 (2024-03-10)

Features

  • add a type for options arguments (8e719e0) - by @satya164

7.0.0-alpha.14 (2024-03-09)

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

7.0.0-alpha.13 (2024-03-08)

Features

  • add animation option for js stack (#11854) (1843675) - by @groot007
  • make all screens after presentation: 'modal' as modal unless specified (#11860) (f16216c) - by @groot007

7.0.0-alpha.12 (2024-03-04)

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

7.0.0-alpha.11 (2024-02-24)

Bug Fixes

  • fix peer dependency versions (4b93b63) - by @

7.0.0-alpha.10 (2024-02-23)

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

7.0.0-alpha.9 (2024-02-23)

Bug Fixes

  • don't remount native views on focus change on the new architecture (#11806) (aa518f1) - by @j-piasecki
  • handle failed gesture state to clear interaction (#11465) (1b56cb5) - by @Iltimirov

Features

  • add a HeaderButton component to elements (d8de228) - by @satya164
  • add autoHideHomeIndicator option for stack (#11415) (8367758) - by @mortend

7.0.0-alpha.8 (2024-01-17)

Bug Fixes

  • remove optional check in CardContainer (#11772) (e73551a) - by @osdnk
  • remove unnecessary check in the stack navigator (#11747) (02ec21b), closes #11733 - by @osdnk

Features

7.0.0-alpha.7 (2023-11-17)

Bug Fixes

  • update peer dependencies when publishing (c440703) - by @

7.0.0-alpha.6 (2023-11-12)

Bug Fixes

  • workaround for mChrome empty space when navigating after address bar collapses (#11366) (d638454) - by @BeeMargarida

Features

7.0.0-alpha.5 (2023-09-25)

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

7.0.0-alpha.4 (2023-09-13)

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

7.0.0-alpha.3 (2023-09-07)

Bug Fixes

  • Allow to use PlatformColor in the theme (#11570) (64734e7) - by @retyui

  • feat!: add a direction prop to NavigationContainer to specify rtl (#11393) (8309636), closes #11393 - by @satya164

Features

  • add shifting animation to bottom-tabs and various fixes (#11581) (6d93c2d) - by @satya164

BREAKING CHANGES

  • Previously the navigators tried to detect RTL automatically and adjust the UI. However this is problematic since we cannot detect RTL in all cases (e.g. on Web).

This adds an optional direction prop to NavigationContainer instead so that user can specify when React Navigation's UI needs to be adjusted for RTL. It defaults to the value from I18nManager on native platforms, however it needs to be explicitly passed for Web.

7.0.0-alpha.2 (2023-06-22)

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

7.0.0-alpha.1 (2023-03-01)

Bug Fixes

  • fix paths in sourcemap files (368e069) - by @satya164

7.0.0-alpha.0 (2023-02-17)

Bug Fixes

BREAKING CHANGES

  • Previously, you could specify a route key to navigate to, e.g. navigation.navigate({ key: 'someuniquekey' }). It's problematic since key is an internal implementation detail and created by the library internally - which makes it weird to use. None of the other actions support such usage either.

In addition, we have already added a better API (getId) which can be used for similar use cases - and gives users full control since they provide the ID and it's not autogenerated by the library.

So this change removes the key option from the navigate action.

6.3.5 (2022-11-21)

Bug Fixes

  • add accessibility props to NativeStack screens (#11022) (3ab05af)
  • supersede Platform.isTVOS for Platform.isTV (#10973) (1846de6)

6.3.4 (2022-11-04)

Bug Fixes

6.3.3 (2022-10-27)

Reverts

  • Revert "fix: add additional check before running animate in componentDidUpdate (#10871)" (7d8f748), closes #10871

6.3.2 (2022-10-05)

Bug Fixes

  • add additional check before running animate in componentDidUpdate (#10871) (b9fb2d1), closes #10767

6.3.1 (2022-09-19)

Reverts

  • Revert "fix: migrate off setNativeProps (#10767)" (dfc11e7), closes #10767

6.3.0 (2022-09-16)

Bug Fixes

Features

6.2.3 (2022-08-24)

Bug Fixes

  • replace deprecated I18nManager.isRTL with 18nManager.getConstants().isRTL (#10547) (50b88d4)

6.2.2 (2022-07-05)

Bug Fixes

6.2.1 (2022-04-01)

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

6.2.0 (2022-04-01)

Bug Fixes

  • fix type errors when passing animated styles to header (9058b1c)

Features

  • add an ID prop to navigators (4e4935a)

6.1.1 (2022-02-02)

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

6.1.0 (2022-01-29)

Bug Fixes

  • fix transparent modal when another screen is pushed on top (9d2d14b), closes #10298
  • make stack navigator work with latest gesture handler (#10270) (5a19877)

Features

  • native-stack: export NativeStackView to support custom routers on native-stack (#10260) (7b761f1)
  • pass canGoBack to headerRight (82a1669)

6.0.11 (2021-10-12)

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

6.0.10 (2021-10-09)

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

6.0.9 (2021-09-26)

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

6.0.8 (2021-09-26)

Bug Fixes

  • stop animations on unmount/cleanup (5fb5f41)

6.0.7 (2021-08-17)

Bug Fixes

  • add check when accessing next descriptor (#9824) (5bcf79c)
  • don't try to parse header tint color if not a string (ece03d7), closes #9822
  • fix status bar handling with modal presentation (651d8e5)
  • handle statusbar height for stack nested in modal. closes #9790 (f54cafb)

6.0.6 (2021-08-11)

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

6.0.5 (2021-08-11)

Bug Fixes

  • show deprecation warning for 'keyboardHandlingEnabled' prop (8c89c45)

6.0.4 (2021-08-09)

Bug Fixes

6.0.3 (2021-08-09)

Bug Fixes

  • consider all next headers instead of immediate next (4d8a7ee), closes #9797

6.0.2 (2021-08-07)

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

6.0.1 (2021-08-03)

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

6.0.0 (2021-08-01)

Bug Fixes

  • match native iOS header height in stack (51b636d)
  • remove dep on react-native-iphonex-helper (8a95fb5)

Features

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

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

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

Bug Fixes

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

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

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

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

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

Bug Fixes

  • tweak android q animation (7d74bd7)

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

Bug Fixes

  • remove card shadow from default animation (70f4fe2), closes #9569

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

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

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

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

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

Features

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

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

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

6.0.0-next.19 (2021-05-24)

Bug Fixes

  • make transparent modal work with modal presentation (c90bff0)

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

Features

  • add 'transparentModal' presentation to JS stack (3d14740)
  • enable ipad trackpad two finger back gesture (4ec6acd)

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

Bug Fixes

  • don't allow overriding gestureEnabled on first screen (9f00d60)
  • fix broken animation on first screen (e5238f6)

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

Bug Fixes

  • don't enable animation & gestures for first screen (6ebe082)
  • make stack screens accessible on web without screens (22b7c3f)
  • move keyboardHandlingEnabled to screen options (82900cc)

6.0.0-next.15 (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.14 (2021-05-09)

Bug Fixes

  • fix modal animation not being set properly (08e74af)

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

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

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

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

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

Bug Fixes

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

Code Refactoring

  • drop mode prop in favor of animationPresentation option (9ac709e)

Features

  • automatically set headerMode if it's modal presentation style (4bb0b43)
  • support mixing regular and modal presentation in same stack (60fa3b9)

BREAKING CHANGES

  • This drops the mode prop on the navigator in favor of a per-screen option animationPresentation

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

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

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

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

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

Features

  • add a Background component (cbaabc1)

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

Code Refactoring

  • make gestureResponseDistance a number (48851c9)

BREAKING CHANGES

  • now we need to pass a number instead of an object

6.0.0-next.6 (2021-03-14)

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

6.0.0-next.5 (2021-03-14)

Bug Fixes

  • consider header colors when managing statusbar (3ad2bcb)
  • consider header colors when managing statusbar (faee245)

Code Refactoring

  • move headerMode to options (aacc1b5)

BREAKING CHANGES

  • headerMode is now moved to options instead of props

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

Bug Fixes

  • add special statusbar handling to modal presentation (a204edd)

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

Features

  • export drawer button (2c8401d)
  • return nearest parent header height for useHeaderHeight (24b3f73)

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

Bug Fixes

  • respect headerStatusBarHeight option in Stack (#9405) (8a6511c)

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

Bug Fixes

  • fix peer dep versions (72f90b5)
  • remove use of deprecated currentlyFocusedField (038eb87)

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

Bug Fixes

  • add missing helper types in descriptors (21a1154)
  • drop support for headerMode='none' (0c55803)
  • drop usage of Dimensions in favor of metrics from safe-area-context (12b893d)
  • enable detachInactiveScreens by default on web for better a11y (4954d6a)
  • fix initial metrics on server (69d333f)
  • fix transparent modal on web (c345ef1)
  • force dismiss keyboard if there was no gesture (14ac256), closes #9078

Code Refactoring

  • don't use absolute position for header (79a85a4)
  • don't use deprecated APIs from react-native-safe-area-context (ddf27bf)
  • simplify props for stack and drawer headers (4cad132)

Features

  • add a slide animation for modals on Android (6f326cf)
  • add an option to specify default options for the navigator (c85f2ff)
  • add pressColor and pressOpacity props to drawerItem (#8834) (52dbe4b)
  • don't hardcode header back test ID (22a8afa)
  • export TransitionPreset for custom TransitionPresets (#9173) (6c3cccf)
  • initial implementation of @react-navigation/elements (07ba7a9)
  • use modal presentation style for modals on iOS by default (8a63f19)

BREAKING CHANGES

  • We now use flexbox for header elements which could break some existing style code which relied on absolute positioning.
  • Now the back button test ID can be customized using headerBackTestID option
  • We now require newer versions of safe area context library.
  • 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, options and progress directly to the header. Similaryly, the previous argument now contains options, route and progress.
  • The header can be hidden with headerShown: false already. Using both headerMode='none' and headerShown together causes confusion. So it's time to drop the unnecessary headerMode prop.

5.12.6 (2020-11-10)

Bug Fixes

  • make sure inactive screen don't increase scroll area on web (da35085)

5.12.5 (2020-11-09)

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

5.12.4 (2020-11-08)

Bug Fixes

  • don't hide child header automatically in stack (8f0efc8)

5.12.3 (2020-11-04)

Bug Fixes

  • android textinput gets blurred after navigating back (1169ed0)
  • disable react-native-screens on iOS for older versions (ce7d20e)

5.12.2 (2020-11-04)

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

5.12.1 (2020-11-03)

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

5.12.0 (2020-11-03)

Features

  • add a headerBackAccessibilityLabel option in stack (c326c10), closes #9016

5.11.1 (2020-10-30)

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

5.11.0 (2020-10-28)

Features

  • enable react-native-screens in Stack by default on iOS (45dbe5c)

5.10.0 (2020-10-24)

Bug Fixes

  • add missing check for parent header when calculating height (da91cec)
  • don't set statusbar height on nested header by default (38e17aa)
  • fix header buttons not pressable when headerTransparent=true & headerMode=float (#8804) (d6cac67), closes #8731
  • set needsOffscreenAlphaCompositing and update default android animation (8ee0dda), closes #8696

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)

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

5.9.2 (2020-09-28)

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

5.9.1 (2020-09-22)

Bug Fixes

  • add aria-level to HeaderTitle (2d1da7e)

5.9.0 (2020-08-04)

Bug Fixes

  • fix TouchableItem opacity on press on iOS (40e2dba)

Features

5.8.0 (2020-07-28)

Features

  • allow style overrides for HeaderBackButton (#8626) (486c3de)
  • emit gesture navigation events from stack view (#8524) (15f9b95)

5.7.1 (2020-07-19)

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

5.7.0 (2020-07-10)

Features

  • add a beforeRemove event (6925e92)

5.6.2 (2020-06-25)

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

5.6.1 (2020-06-25)

Bug Fixes

  • fix showing back button with headerMode=screen. fixes #8508 (fc95d7a)

5.6.0 (2020-06-24)

Bug Fixes

Features

  • show back button in nested stack (a2d649f)

5.5.1 (2020-06-08)

Bug Fixes

  • make sure the header is on top of the view (1ae07af)

5.5.0 (2020-06-08)

Bug Fixes

  • fix blank screen with animationEnabled: false & headerShown: false (9c06a92), closes #8391
  • ignore onOpen from route that wasn't closing (1f27e4b), closes #8257
  • pass gestureRef to PanGestureHandlerNative (#8394) (c7e4bf9)

Features

  • automatically hide header in nested stacks (e0e0f79)

5.4.2 (2020-06-06)

Bug Fixes

  • relatively position float Header if !headerTransparent (#8285) (78afbff)

5.4.1 (2020-05-27)

Bug Fixes

  • allow HeaderBackground's subViews to be touchable (#8317) (00c23f2)
  • fix type of style for various options (9d822b9)

5.4.0 (2020-05-23)

Bug Fixes

  • allow HeaderBackground's subViews to be touchable (#8314) (021a911)
  • don't ignore previous header heights on layout update (6dd45fc)

Features

  • update react-native-safe-area-context to 1.0.0 (#8182) (d62fbfe)

5.3.9 (2020-05-20)

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

5.3.8 (2020-05-20)

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

5.3.7 (2020-05-16)

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

5.3.6 (2020-05-15)

Bug Fixes

5.3.5 (2020-05-14)

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

5.3.4 (2020-05-14)

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

5.3.3 (2020-05-11)

Bug Fixes

5.3.2 (2020-05-10)

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

5.3.1 (2020-05-08)

Bug Fixes

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

5.3.0 (2020-05-08)

Bug Fixes

  • add proper margins to the header title (f07cd13)
  • include safe are insets in title's margins (4d1e102)

Features

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

5.2.19 (2020-05-05)

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

5.2.18 (2020-05-01)

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

5.2.17 (2020-05-01)

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

5.2.16 (2020-04-30)

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

5.2.15 (2020-04-30)

Bug Fixes

  • make sure the address bar hides when scrolling on web (0a19e94)

5.2.14 (2020-04-27)

Bug Fixes

  • don't add back the route being replaced (a695cf9)

5.2.12 (2020-04-22)

Bug Fixes

  • animate card to existing closing state on gesture end (78485ce), closes #7938

5.2.11 (2020-04-17)

Bug Fixes

  • disable animation by default on web for stack (dfdba8d)
  • hide inactive screens for stack on web (#8010) (82edb25)
  • ios presentation modal cuts the topOffset on the bottom (#7943) (6e51f59), closes #7856

5.2.10 (2020-04-08)

Bug Fixes

  • make color of shadow element same as card color in stack (f1a8bce)
  • mark type exports for all packages (b71de6c)

5.2.9 (2020-03-30)

Bug Fixes

  • dismiss keyboard on screen change for android (8432e5a)
  • finish stack animation on CANCELLED event (#7898) (d649fbc), closes #7897
  • when comparing changed routes, only check keys (9a8fea8)

5.2.7 (2020-03-26)

Bug Fixes

  • add pointerEvents=box-none to overlay View (#7871) (e097df8)

5.2.6 (2020-03-23)

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

5.2.5 (2020-03-23)

Bug Fixes

  • fix swipe gestures requiring a lot of velocity to dismiss (61f16d3)

5.2.4 (2020-03-22)

Bug Fixes

  • fix swipe not dismissing card in RTL (043924c), closes #7841

5.2.3 (2020-03-19)

Bug Fixes

  • use the correct velocity value in closing animation (#7836) (adbfedc)

5.2.2 (2020-03-19)

Bug Fixes

  • don't use react-native-screens on web (b1a65fc), closes #7485
  • fix blank page if stack was inside display: none before (49f6fed)
  • fix closing stack using inverted gesture. (#7824) (f24d3a3)
  • initialize height and width to zero if undefined (3df65e2), closes #6789
  • only dismiss previously focused input on page change. closes #6918 (b1fe730)

5.2.1 (2020-03-17)

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

5.2.0 (2020-03-16)

Bug Fixes

Features

  • add an option to change use a custom card overlay (#7809) (70029d6)

5.1.1 (2020-03-03)

Bug Fixes

  • ignore back button press if screen isn't focused. closes #7673 (296c836)

5.1.0 (2020-02-26)

Features

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

5.0.9 (2020-02-24)

Bug Fixes

  • enhance border radius in modals on new iPhones (#6945) (80a3370)

5.0.8 (2020-02-21)

Bug Fixes

  • fix transparent header on Android (a67b494)

5.0.7 (2020-02-21)

Bug Fixes

  • debounce back button by default in stack header (c7dd3a5)
  • make sure header is visibile to accessibility tools on iOS (240ce01)

5.0.6 (2020-02-19)

Bug Fixes

  • add accessibilityLabel prop to back button (bf76075), closes #6895

5.0.5 (2020-02-14)

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

5.0.4 (2020-02-14)

Bug Fixes

  • hard code header height for animation (8f40a98), closes #6818

5.0.3 (2020-02-12)

Bug Fixes

  • check if we can go baack before dispatching pop (6c9447a)

5.0.2 (2020-02-11)

Bug Fixes

  • provide route context to header and bottom tabs (b6e7e08)

5.0.1 (2020-02-10)

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

5.0.0-alpha.71 (2020-02-05)

Bug Fixes

  • use addListener only when available (f746ece)

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

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

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

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

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

Bug Fixes

  • use .native for masked view instead of .web (abdf9d1)

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

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

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

Bug Fixes

  • add accessibilityRole=header to header title (0ead266)
  • add licenses (0c159db)
  • disable screens when mode is modal on older expo versions (94d7b28)
  • dispatch pop early when screen is closed with gesture (#336) (3d937d1), closes #267
  • fix shadow position for inverted animations (5fe140e)
  • increase epsilon in CardContainer.tsx (9be904d)
  • make UNVERSIONED insufficient expo version (a6f5867)
  • screens integration on Android (#294) (9bfb295)
  • update screens for native stack (5411816)
  • web with internal interpolation listener (edf96d8)
  • wrap navigators in gesture handler root (41a5e1a)

Features

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

Bug Fixes

  • add accessibilityRole=header to header title (0ead266)
  • add licenses (0c159db)
  • disable screens when mode is modal on older expo versions (94d7b28)
  • fix shadow position for inverted animations (5fe140e)
  • increase epsilon in CardContainer.tsx (9be904d)
  • make UNVERSIONED insufficient expo version (a6f5867)
  • screens integration on Android (#294) (9bfb295)
  • update screens for native stack (5411816)
  • web with internal interpolation listener (edf96d8)

Features

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

Bug Fixes

  • pass correct previous scene to header with headerMode: screen (16c64e7)

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

Bug Fixes

  • don't use native driver on web (0a982ee)
  • handle header translation for horizontal-inverted (321fa65)
  • position inactivscreensws offscreen by default (38520a9)
  • slide the header up to hide it for vertical animation (43d2c45)
  • use a fade animation for header in all presets (fe82276)

Features

  • emit appear and dismiss events for native stack (f1df4a0)
  • let the navigator specify if default can be prevented (da67e13)

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

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

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

Bug Fixes

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

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

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

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

Bug Fixes

  • change default screen change animation on web (37d26ca)
  • change POP behaviour to remove elements from index only (7a3d652), closes #256
  • clamp interpolated styles (67798af)
  • don't add header animation if mode is not float (5470aea)
  • only render last 3 headers in stack (32ffaac)

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

Bug Fixes

  • change POP behaviour to remove elements from index only (7a3d652), closes #256
  • clamp interpolated styles (67798af)
  • only render last 3 headers in stack (32ffaac)

5.0.0-alpha.56 (2020-01-07)

Bug Fixes

  • remove clamping in extrapolation of progress of stack animation (d3f5c55)

5.0.0-alpha.55 (2020-01-06)

Bug Fixes

  • memoize interpolated style to avoid extra work (d8b88bd)

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

Bug Fixes

  • expose the header height even if not floating (12d9083)
  • use memo for card container (65ce20e)

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

Bug Fixes

  • compare with correct height when floating header height updates (a9e584c)

Features

  • expose header height in context (133b59c)

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

Features

  • add headerStatusBarHeight option to stack (b201fd2)

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

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

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

Bug Fixes

  • keep screens for replace when animation is enabled (7f963a7)
  • use gesture direction when using next screen's animation (572beae)

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

Bug Fixes

  • dismiss keyboard on page change (2c31d17)
  • interaction manager in stack (#237) (6b9b999)
  • provide initial values for safe area to prevent blank screen (#238) (77b7570)

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

Bug Fixes

  • improve gesture performance (59803f5)
  • use native driver for gestures (9356598)

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

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

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

Bug Fixes

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

Bug Fixes

  • disable style interpolation for card when animation is disabled (c110570)

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

Features

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

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

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

Features

  • expose animation related values in context (6cddb52)

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

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

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

Features

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

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

Bug Fixes

  • correctly update layout on onLayout events (eaf8847)
  • disable pointerEvents on header when not focused (87d445b)

5.0.0-alpha.38 (2019-11-29)

Bug Fixes

  • respect custom safearea insets when calculating header height (2750cad), closes #190

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

Bug Fixes

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

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

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

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

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

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

Features

5.0.0-alpha.33 (2019-11-02)

Bug Fixes

  • add horizontal margin to centered title (2ef5ad4)
  • remove unnecessary paddingHorizontal on stack header (74ee216)

5.0.0-alpha.32 (2019-11-02)

Bug Fixes

  • minor tweaks for web and fix example (67fd69a)

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

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

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

Bug Fixes

  • keyboard manager in stack for fast swipe (07bfc86)
  • make clearKeyboardTimeout private (876c318)

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

Bug Fixes

  • conditions in gesture direction (225e760)

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

Bug Fixes

  • don't fire onOpen when screen is unmounting (#137) (f22abb7), closes #136
  • don't keep unfocused header backgrounds visible (031c4d2)

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

Features

  • add an option to override safe area insets (300791a)

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

Bug Fixes

  • don't fade incoming background when fading header (#127) (c6d0c19)
  • fix incorrect type (731cf7d)
  • use header height from style if specified (442b95d)

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

Bug Fixes

  • don't ignore descriptors change (9d9fe31)
  • increase hitSlop of back button on Android (c7da1e4)
  • interpolation in iOS modal presentation (b32cda2)
  • make modal presentation mode fullscreen on landscape (#124) (e789846)

Features

  • add a headerTitleAlign option to center or left align title (6a0ca90)
  • export TransitionSpecs (708dde0)
  • initial version of native stack (#102) (ba3f718)

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

Bug Fixes

  • actually expose gestureVelocityImpact in the public API (16079d1)
  • don't recompute if routes didn't change (615b523)
  • handling vertical gesture in RTL (#122) (a27ade8)
  • use next screen's animation when not focused. fixes #87 (b4a7681)

Features

  • add gestureVelocityImpact as a prop for stack (#123) (8294efc)
  • drop header: null in favor of more explitit headerShown option (ba6b6ae)

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

Bug Fixes

  • fix passing insets to interpolator (6f5f4b7)
  • fix vertical gesture (a7c4a4d)

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

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

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

Bug Fixes

  • add missing React import (ece6e38)
  • fix header buttons not clickable on Android. fixes #108 (da944cc)
  • keep the routes we are closing or replacing (bc3586a)

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

Features

  • export some more type aliases (8b78d61)

5.0.0-alpha.19 (2019-09-23)

Bug Fixes

  • vertical gesture in stack (4ee19bc)

5.0.0-alpha.18 (2019-09-23)

Bug Fixes

  • fix header rendered behind card. closes #108 (2f66556)

Features

  • stack: use Animated.Text for header title (#105) (f398136)
  • stack: use Animated.View for header background (#106) (089390c)

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

Bug Fixes

  • add fallbacks for non-web modules (b4bbf9b), closes #95 #96
  • provide navigation prop in header (30e510d)

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

Bug Fixes

  • don't remove route if animation isn't finished when dragging (#100) (6af8400)
  • tweak android q animations (f57a91c)

Features

  • integrate InterationManager in stack (9563a27)
  • make example run as bare react-native project as well (#85) (d16c20c)

5.0.0-alpha.15 (2019-09-04)

Features

  • add approximate android Q transition (196cce0)

5.0.0-alpha.14 (2019-09-03)

Bug Fixes

  • change order of attaching nodes in card exec (167d58c)

5.0.0-alpha.13 (2019-09-01)

Features

  • useForeground if possible in stack header backButton (aa6313c)

5.0.0-alpha.12 (2019-09-01)

Bug Fixes

  • defer running the animation to next frame (c7a79a6)
  • stack with gesture enabled (55ec815)

5.0.0-alpha.11 (2019-09-01)

Features

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

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

5.0.0-alpha.9 (2019-08-30)

Bug Fixes

  • change interpolated style when idle to avoid messing up reanimated (3ad2e6e)
  • properly set animated node on gestureEnabled change (6a8242c)

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

Bug Fixes

  • allow making params optional. fixes #80 (a9d4813)
  • fix gestures not working in stack (8c1acc3)

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

Bug Fixes

  • fix stack nested in tab always getting reset (dead4e8)

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

Features

  • disable gesture logic when no gesture stack (38336b0)

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

Bug Fixes

  • link proper descriptor for StackView (469ec31)
  • set correct pointer events when active prop changes (1bbd6ac)

Features

  • add hook to scroll to top on tab press (9e1104c)
  • add memoization of spring for stack (7990cf2)

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

Bug Fixes

  • fix path to typescript definitions (f182315)

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

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

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

Bug Fixes

  • check if left button is truthy to add a left offset (8645e36)

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

Bug Fixes

  • bunch of fixes regarding reliability of callbacks (4878d18)
  • change single param to props object in onTransition callba… (#171) (53f8ba9)
  • disable react-native-screens on iOS (fb9dbf9)
  • don't enable overlay on iOS by default (27f0ec4)
  • don't enable screens for modal stacks (fdf8b1a)
  • don't ignore headerLeft if specified. fixes #164 (c9b2c4d)
  • don't set a header height when a custom header is specified (1b82e25)
  • fix back button not working in header (73424b8)
  • fix border radius of modal presentation (1cf7dc5)
  • fix broken shadows on card (da8da3d)
  • fix header tint color not applied (879b0ea)
  • fix peer deps and add git urls (6b4fc74)
  • fix types for stack config (bba0feb)
  • fix typo preventing the screen from being cleaned up (354da7d)
  • handle RTL properly (29de72a)
  • hide background for unfocused header in fade (3164527)
  • hide overflow in wipe preset (3f7a54d)
  • make sure components update when descriptor changes (6792be3)
  • make sure left button isn't bigger than screen width / 2 (ebc4865)
  • make the header appear static when sibling of headerless screen (55c3085)
  • mark descriptors as optional properties (006a4ea)
  • properly handle floating header height (06f628b)
  • properly normalize velocity (f2e3c2b)
  • properly set pointerEvents on the views (0589275)
  • reduce card gesture velocity impact (#161) (81b1bdf)
  • support specifying header background color in headerStyle (98d29da)
  • tweak the easing for android (78c4f25)
  • tweak transition spec to prevent jumping effect (9f3b70f)
  • use a separate shadow view for the cards (d2397d5)
  • use a shadow instead of a border for header on iOS (6e9d05b), closes #97
  • use MaskedView from @react-native-community/masked-view (7772ac5)
  • use opacity in headerStyle (9dce71c)
  • use pure component for stack items (aeec520)
  • when header mode is screen, disable animations by default (4e2afa0)
  • whitelist supported styles instead of blacklist (1fb33c8)

Features

  • add a canGoBack prop to header back button (7c86cfa)
  • add cardX options in navigationOptions (30002a1)
  • add comments (c2eb482)
  • add headerBackgroundStyle option (2ea0912)
  • add headerBackTitleVisible option to navigation options (27c4861)
  • add headerTransparent option (d973817)
  • add iOS modal presentation style (838732d)
  • add on transition end callback (#153) (51b1069)
  • allow specifying style interpolators in navigationOptions (#155) (282cfe5)
  • consider both velocity and position while calculating the next position (#146) (b8237de)
  • implement various navigators (f0b80ce)
  • inform whether screen is opening/closing in onTransition callbacks (#169) (c0c17e9)
  • integrate react-native-screens (#145) (a8460e5)
  • make listeners reliable (73b8d22)
  • new implementation with reanimated (9b176e9)
  • support a function for headerTitle (95055c1)