mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-09 17:23:18 +08:00
- react-navigation-animated-switch@0.5.5 - react-navigation-drawer@2.4.6 - react-navigation-material-bottom-tabs@2.2.5 - @react-navigation/native@3.7.6 - react-navigation@4.3.2 - react-navigation-stack@2.3.4 - react-navigation-tabs@2.8.6
26 KiB
26 KiB
Change Log
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
2.3.4 (2020-03-20)
Note: Version bump only for package react-navigation-stack
2.3.3 (2020-03-20)
Note: Version bump only for package react-navigation-stack
2.3.2 (2020-03-19)
Note: Version bump only for package react-navigation-stack
2.3.1 (2020-03-16)
Note: Version bump only for package react-navigation-stack
2.3.0 (2020-03-16)
Features
- add prune option to pop action to match v5 behaviour (5927f42)
2.2.3 (2020-03-04)
Bug Fixes
- dispatch completeTransition on mount so focus event is emitted (f5a3880)
2.2.2 (2020-02-26)
Bug Fixes
- fix typescript errors in the definition file (3bb2c19)
2.2.1 (2020-02-24)
Note: Version bump only for package react-navigation-stack
2.2.0 (2020-02-24)
Bug Fixes
- add ^2.0.0-alpha to react-native-screens peer dependency (#284) (5a38b0f)
- add clearTimeout to keyboard manager (#275) (46f0574)
- add deprecation for Header.HEIGHT (127b8c1)
- add fallbacks for non-web modules (558f949)
- add left offset in header only if a left button is rendered (aab51eb)
- add memoization of spring nodes (c1798a2)
- add missing descriptor obtaining (#340) (ef8e4e2)
- add paths to tsconfig.json (a39c93b)
- add peer dep on react-navigation (4c012ad)
- add safe-area-context to peer deps (28353f4)
- better interpolation for iOS modal (#255) (81259ec)
- bunch of fixes regarding reliability of callbacks (dceba42)
- call onTransitionEnd in descriptor on end of transition (#339) (c014968)
- change interpolated style when idle to avoid messing up reanimated (58c723e)
- change order of attaching nodes in card exec (36e2081)
- change single param to props object in onTransition callba… (#171) (a2cc097)
- children touch events leaking to underlying Header right/left components (#302) (2dcbba9)
- conditions in gesture direction (36e2319)
- defer running the animation to next frame (e08ad8f)
- deliver toChildKey with StackAction (0c06b5d)
- disable react-native-screens on iOS (da72849)
- don't enable overlay on iOS by default (2c1b144)
- don't enable screens for modal stacks (e8b7937)
- don't fade incoming background when fading header (cacd9c7)
- don't fire onOpen when screen is unmounting (16863e8), closes #136
- don't ignore descriptors change (649cab5)
- don't ignore headerLeft if specified. fixes #164 (03c129e)
- don't keep unfocused header backgrounds visible (e746f43)
- don't recompute if routes didn't change (4a11b8b)
- don't set a header height when a custom header is specified (2ada0c7)
- evaluate position with untraversed gesture (8c59bf7)
- fix back button not working in header (919a274)
- fix border radius of modal presentation (1704434)
- fix broken shadows on card (43a41f0)
- fix calculating default header height (1335059)
- fix header buttons not clickable on Android with headerTransparent (796df86)
- fix header rendered behind card (a3c7698)
- fix header tint color not applied (1b2dcd7)
- fix headerTitle deprecation warning (#257) (3563b3e)
- fix incorrect reference to react-navigation. fixes #334 (60c8b13)
- fix interpolation in example (9208f64)
- fix reference to types in package.json (#135) (0a961ff)
- fix types for stack config (3fd98fb)
- fix typescript definitions (#214) (a067656)
- fix typo preventing the screen from being cleaned up (a41714f)
- fix wrong option name for backImage (c8ddec7)
- fix wrong type for navigator. closes #324 (0096b59)
- gesture vertical inverted (#281) (59dd045)
- handle keyboard return for short interactions (#272) (20351e7)
- handle race conditions while ending transition (53a0dca)
- handle RTL properly (7f99f6f)
- handleCloseRoute with proper key (e6566b6)
- header accessibility fixes (#77) (0a0b9d4)
- hide background for unfocused header in fade (6b1f961)
- hide overflow in wipe preset (567df77)
- increase hitSlop of back button on Android (b982bff)
- keep the routes we are closing or replacing (dabd941)
- make clearKeyboardTimeout private (55615ff)
- make modal presentation mode fullscreen on landscape (#256) (f8af12a)
- make sure components update when descriptor changes (3750fd7)
- make sure left button isn't bigger than screen width / 2 (a8f5218)
- make the header appear static when sibling of headerless screen (2f65766)
- mark descriptors as optional properties (4be4ea0)
- properly handle floating header height (bd0e602)
- properly handle header title (487d869)
- properly normalize velocity (b55fc83)
- properly set animated node on gestureEnabled change (435b8db)
- properly set pointerEvents on the views (8f95076)
- provide navigation prop in header (b95c432)
- reduce card gesture velocity impact (#161) (5c2825c)
- remove boxShadow for web (#267) (7298185)
- remove postinstall script (107e590)
- remove useless comment (cf92659)
- reset velocity if no modal animation (a5b3898)
- send events even is stack animation is vain (#270) (ef0bfe0)
- set correct pointer events when active prop changes (bdda89d)
- set proper type for screenProps in ScreenComponent (25d3e96)
- silence deprecated lifecycle warning in Transitioner (#118) (4b3dc26)
- stack with gesture enabled (ac38382)
- support both function and react element to ease the migration (118cac2)
- support specifying header background color in headerStyle (b220b0b)
- sync latest stack (1da3e88)
- tweak the easing for android (aa8cfc9)
- tweak transition spec to prevent jumping effect (1ef080d)
- use a separate shadow view for the cards (d15cbab)
- use a shadow instead of a border for header on iOS (d97be9a), closes #97
- use gestureUntraversed and velocityUntraversed in nativeEvent (48f33a1)
- use header height from style if specified (b4b5f33)
- use MaskedView from @react-native-community/masked-view (71285a6)
- use next screen's animation when not focused (1eae99d)
- use opacity in headerStyle (7267d2f)
- use pure component for stack items (6a2dfa1)
- vertical gesture (62782d5)
- when header mode is screen, disable animations by default (ddd1126)
- whitelist supported styles instead of blacklist (2da0992)
- workaround SafereaProvider causing jumping (7d647a7)
- wrong argument in onTransitionStart in stack (3e9a7e4)
Features
- adapt memoization for new and old reanimated as well (470deb0)
- add 'vertical-inverted' as gesture direction (#184) (5dc8a28)
- add a canGoBack prop to header back button (ab64129)
- add a more explicit headerShown option (8f83f58)
- add an option to override safe area insets (17f6eef)
- add cardX options in navigationOptions (cb49d43)
- add comments (6484394)
- add deprecation wanrnings (95476a4)
- add headerBackgroundStyle option (de733fa)
- add headerBackTitleVisible option to navigation options (f7b1b16)
- add headerTitleAlign option to center and left align title (afdc69a)
- add headerTransparent option (4b2e6a9)
- add iOS modal presentation style (c6ba6e8)
- add on transition end callback (#153) (fef274c)
- allow specifying style interpolators in navigationOptions (#155) (8795e7b)
- consider both velocity and position while calculating the next position (#146) (2e81890)
- disable attaching nodes when gestureEnabled set to false (#194) (e22a021)
- export
HeaderBackbuttonPropstype (8c3a5b4) - export some more props (4205dfe)
- export types for ScreenProps amd ScreenComponent (807627a)
- expose animation related properties in context (#278) (c63259d)
- expose stack transition values via context (#265) (82c732a)
- if cardStyle has flexed specified, set the same value on P… (#206) (f4c8078)
- inform whether screen is opening/closing in onTransition callbacks (#169) (d619da7)
- integrate 'InterationManager' in stack (d28d216)
- integrate react-native-screens (#145) (72426c2)
- make listeners reliable (9b99822)
- support a function for headerTitle (b685233)
- support multiple tint colors for
HeaderSegment(#198) (da17973) - swipe velocity impact as prop (#249) (ebef2c3)
- switch to react-native-safe-area-context (4d0a1a5)
- sync latest stack (4d50aef)
- use Animated.X for header title and background (ed4bc26)
- useForeground if possible in stack header backButton (d27b30b)
Reverts
- Revert "Header is positioned absolute in Layout layer already" (5f5f580)