Skip to content

Releases: software-mansion/react-native-gesture-handler

2.5.0

23 Jun 14:17
9fb42fe
Compare
Choose a tag to compare

❗ Important changes

  • Add activateAfterLongPress modifier to Pan gesture by @j-piasecki in #1938
  • Make NativeViewGestureHandler behave more like on iOS when wrapping TextInput by @j-piasecki in #2017
  • Extract handlers when child view is handling touch with pointerEvents='box-none' by @j-piasecki in #2024
  • Fix sound effects on nested buttons, add touchSoundDisabled prop by @j-piasecki in #2047

🐛 Bug fixes

  • Update scroll view class check in RNNativeViewHandler on Fabric by @j-piasecki in #2031
  • Fix simultaneousHandlers prop on NativeViewGestureHandler on iOS by @j-piasecki in #2018
  • Don't use reanimated module in a worklet by @j-piasecki in #2070
  • Schedule calling dropAllGestureHandlers on main queue by @j-piasecki in #2028
  • Refactor how ripple animation is applied to GestureHandlerButton by @j-piasecki in #2014
  • Make sure that react-native-macos is supported by using the web fallback by @hsjoberg in #2010
  • Default import package.json in src/utils by @nandorojo in #2036
  • Fix wrong coordinates when multiple gestures are tracking different pointers on Android by @j-piasecki in #2098
  • Fix touchable inspector for Gesture Handler buttons by @j-piasecki in #2103
  • Fix wrong coordinated reported by Fling gesture on iOS by @j-piasecki in #2059
  • Fix Kotlin compiler error inferred type Context? by @muhamad-rizki in #2096
  • Fix: use different touchHandler on Fabric by @WoLewicki in #2104
  • Fix state flow for manual activation on iOS by @j-piasecki in #1912
  • Fix importing PressabilityDebugView on web by @j-piasecki in #2109
  • Upgrade Gesture Handler and FabricExample to support RN 0.69 by @j-piasecki in #2053

🔢 Miscellaneous

New Contributors

Full Changelog: 2.4.2...2.5.0

2.2.1

10 May 08:19
Compare
Choose a tag to compare

This release backports a few important changes for Expo.

❗ Important changes

2.4.2

05 May 15:26
b9904f6
Compare
Choose a tag to compare

🐛 Bug fixes

  • Fix resolution of refs in the old API by @j-piasecki in #2019
  • Use constant value for translation when DrawerLayout is idle by @j-piasecki in #2005
  • Fix compatibility with @types/react^18.0.0 by @j-piasecki in #2030
  • Don't update shared value containing the gesture config unless the config has changed by @j-piasecki in #2037

🔢 Miscellaneous

Full Changelog: 2.4.1...2.4.2

2.4.1

21 Apr 08:03
35c3752
Compare
Choose a tag to compare

🐛 Bug fixes

🔢 Miscellaneous

New Contributors

Full Changelog: 2.4.0...2.4.1

2.4.0

13 Apr 16:09
0e9675f
Compare
Choose a tag to compare

❗ Important changes

🐛 Bug fixes

🔢 Miscellaneous

New Contributors

Full Changelog: 2.3.2...2.4.0

2.3.2

14 Mar 13:36
aebd2f5
Compare
Choose a tag to compare

⚠️ Breaking changes

  • Remove jestUtils from the main index.ts and move it to separate package.json (#1917 by @j-piasecki)

We felt that, although it's a breaking change, this fix important enough to warrant a patch release. If you started using fireGestureHandler and getByGestureTestId methods, change their import to react-native-gesture-handler/jest-utils.

❗ Important changes

  • Use native driver by default for TouchableOpacity animations (#1924 by @j-piasecki)

2.3.1

09 Mar 08:20
9532e58
Compare
Choose a tag to compare

🐛 Bug fixes

  • Fix ripple animation on touchables in some cases (#1877 by @j-piasecki)
  • Fix StyleSheet import in RNGestureHandlerButtonNativeComponent.js (#1908 by @djMax)
  • Fix missing testID when createHandler props do not have one assigned (#1910 by @virdesai)

🙌 Thank you for your contributions!

2.3.0

01 Mar 14:37
d53da9e
Compare
Choose a tag to compare

❗ Important changes

🐛 Bug fixes

👍 Improvements

🔢 Miscellaneous

2.1.3

21 Feb 17:25
Compare
Choose a tag to compare

Use export type when exporting types (#1791) by @j-piasecki

2.1.2

17 Feb 08:42
Compare
Choose a tag to compare

Use path relative to the directory of Reanimated when checking its version (#1757) by @j-piasecki