72 KiB
Change Log
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
5.12.8 (2020-11-21)
Bug Fixes
5.12.7 (2020-11-20)
Note: Version bump only for package @react-navigation/stack
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
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
5.6.0 (2020-06-24)
Bug Fixes
- don't use deprecated currentlyFocusedField (#8365) (35d6b9e)
- fix screen disappearing on Android (#8473) (962456b)
- workaround keyboard dismissing on focus (37bbbbe), closes #8414 #8478
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
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
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
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
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
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
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
5.2.3 (2020-03-19)
Bug Fixes
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
- fix android header title font weight (#7720) (0dcaea3)
- fix back gesture cancellation (#7700) (469d054), closes #6782
Features
5.1.1 (2020-03-03)
Bug Fixes
5.1.0 (2020-02-26)
Features
5.0.9 (2020-02-24)
Bug Fixes
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
5.0.5 (2020-02-14)
Note: Version bump only for package @react-navigation/stack
5.0.4 (2020-02-14)
Bug Fixes
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
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
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
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
- fix typescript issues (c52a8c4)
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
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
5.0.0-alpha.37 (2019-11-17)
Bug Fixes
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
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
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
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
5.0.0-alpha.11 (2019-09-01)
Features
- optimizations in stack (3f853d4)
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
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
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)