Skip to content

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

2.24.0

20 Feb 13:57
Compare
Choose a tag to compare

❗ Important changes

👍 Improvements

  • Add animationSpeed to ReanimatedDrawerLayout by @latekvo in #3401

🐛 Bug fixes

  • [Web] Handle SVG wrapped with createAnimatedComponent by @m-bert in #3379
  • Add hitSlop into childProps in createNativeWrapper by @m-bert in #3399
  • [Web] Fix Text with Touchables by @m-bert in #3418

🔢 Miscellaneous

Full Changelog: 2.23.1...2.24.0

2.23.1

11 Feb 09:53
Compare
Choose a tag to compare

❗ Important changes

🐛 Bug fixes

  • Return false if gesture recognizers are present but all disabled by @jcolicchio in #3377

🔢 Miscellaneous

  • chore(docs): add actionable advice to deprecation warnings by @DomiR in #3387

New Contributors

Full Changelog: 2.23.0...2.23.1

2.23.0

05 Feb 14:58
Compare
Choose a tag to compare

Caution

Old API, as well as Touchable components are being deprecated in this version, and will be removed in the future.

❗ Important changes

👍 Improvements

🐛 Bug fixes

  • Fix circular dependency by @latekvo in #3323
  • [Web] Register/unregister listeners when enabled changes by @m-bert in #3330
  • Replace Text with RN component when callbacks are not specified by @m-bert in #3336
  • Don’t pass gesture handler wrapper props to child by @oblador in #3343
  • Fix backgroundColor not being applied to RNGestureHandlerButton by @latekvo in #3368
  • Fix android ripple color bug on fabric by @latekvo in #3369
  • Unregister from oldGestureHandler when component unmounts by @gavrix in #3374
  • fix: overlapping buttons cause buttons to stop being responsive by @DorianMazur in #3371
  • [Web] Make findNodeHandle correctly handle FlatList in old API by @m-bert in #3361
  • Remove view flattening error for Text component by @m-bert in #3338
  • Fix swipeable overlap bug by @latekvo in #3340
  • Fix Swipeable misalignment after resizing on web by @latekvo in #3341
  • Fix ReanimatedSwipeable reanimated warnings by @juliendevleeschauwer in #3365
  • Fix TouchableNativeFeedback regression by @latekvo in #3294
  • Fix android new arch crash on RN 0.75 by @latekvo in #3381

🔢 Miscellaneous

New Contributors

Full Changelog: 2.22.1...2.23.0

2.22.1

23 Jan 14:18
Compare
Choose a tag to compare

🐛 Bug fixes

  • Fix swipeable overlap bug by @latekvo in (#3340)
  • Fix Swipeable misalignment after resizing on web by @latekvo in (#3341)
  • Don’t pass gesture handler wrapper props to child by @oblador in (#3343)

🔢 Miscellaneous

Full Changelog: 2.22.0...2.22.1

2.22.0

10 Jan 14:42
3603e89
Compare
Choose a tag to compare

❗ Important changes

  • [Android] Include missing Gesture Handler in builds by @m-bert in #3318
  • Add Text component by @m-bert in #3202
  • Support React Native 0.77 by @jakex7 in #3278
  • [iOS] Check if handler was dropped before reattaching by @m-bert in #3247
  • Mark legacy web implementation as deprecated by @latekvo in #3259
  • [Android] Change onTouchEvent to dispatchTouchEvent in NativeViewGestureHandler by @m-bert in #3244
  • Update the generated specs for the old architecture to work on 0.77 by @j-piasecki in #3301

👍 Improvements

  • [Android] Add ScrollViewHook to ReactHorizontalScrollView components by @latekvo in #3298
  • Replace references with examples in docs by @j-piasecki in #3276
  • [Web] Remove unnecessary overrides by @m-bert in #3257
  • Make stylusData property of the GestureUpdateEvent optional by @kkafar in #3270
  • Optimize dependency list by @latekvo in #3216
  • Add error about functional components being used with old API by @m-bert in #3240
  • Expose testID as resource-id on Android by @oblador in #3287
  • Infer accessibility label from children in RNGestureHandlerButton on iOS by @oblador in #3290
  • Update RNGestureHandlerPackage to supported stable API by @jakex7 in #3228

🐛 Bug fixes

  • [Web] Add onPointerOutOfBounds to LongPress gesture handler by @m-bert in #3313
  • Fix transform on GestureHandlerButton on Android by @janicduplessis in #3252
  • Prevent child gestures from activating when a parent gesture is already active by @j-piasecki in #3296
  • Fix relations not working when one of the child dependencies remounts without a render in the parent by @j-piasecki in #3269
  • Fix: Pressable regular border radius rendering on iOS on old arch by @coado in #3279
  • Fix: cancelled events are not ended when manualActivation is used by @coado in #3273
  • Fix: onPressIn and onPressOut are triggered at the same time on Android by @coado in #3286
  • Fix: debug build for tests by @coado in #3283
  • Revert "Fix gestures being able to activate despite their parent already being active" by @latekvo in #3284

🔢 Miscellaneous

New Contributors

Full Changelog: 2.21.2...2.22.0

2.21.2

19 Nov 11:19
6fc506d
Compare
Choose a tag to compare

👍 Improvements

🔢 Miscellaneous

  • Fix broken links in the quickstart docs page by @latekvo in #3213
  • Add docs page for the new ReanimatedDrawerLayout component by @latekvo in #3188

Full Changelog: 2.21.1...2.21.2

2.21.1

18 Nov 12:45
5b116c8
Compare
Choose a tag to compare

❗ Important changes

New Contributors

Full Changelog: 2.21.0...2.21.1

2.21.0

14 Nov 12:11
4e17ec2
Compare
Choose a tag to compare

❗ Important changes

  • Create ReanimatedDrawerLayout component by @latekvo in #3146
  • fix(web): broken at dropping by @MJRT in #3125
  • [Web] Remove findNodeHandle function. by @m-bert in #3127
  • [web] Add support for two finger pan by @m-bert in #3163
  • [Web] Adjust findNodeHandle to properly detect SVG by @m-bert in #3197

👍 Improvements

🐛 Bug fixes

  • [Android] Fix gestures being able to activate despite their parent already being active by @latekvo in #3095
  • [MacOS] Fix Pressable being unresponsive by @latekvo in #3142
  • Fix swipeable swiping to left when no renderRightActions is set by @latekvo in #3145
  • Fix onStart callbacks of ReanimatedSwipeable being called every update by @latekvo in #3151
  • Fix elements dissapearing due to high values set to threshold props in ReanimatedSwipeable by @latekvo in #3153
  • [ReanimatedSwipeable] Multiple bug fixes and improvements by @latekvo in #3149

🔢 Miscellaneous

New Contributors

Full Changelog: 2.20.0...2.21.0

2.20.2

24 Oct 15:02
Compare
Choose a tag to compare

❗ Important changes

  • [macOS] Fix build on fabric (#3154)
  • Fixes Android event dispatcher for old arch (#3176)
  • [macOS] Fix build on old architecture (#3182)
  • Fix tvOS build (#3180)

🔢 Miscellaneous

  • Bump FabricExample to RN 0.76 (#3178)

New Contributors

Full Changelog: 2.20.1...2.20.2

2.20.1

22 Oct 13:49
Compare
Choose a tag to compare

❗ Important changes

  • fix: Android event dispatcher change for 0.76.0-rc.6 (#3166)

🔢 Miscellaneous

  • Update Podfile.lock in FabricExample (#3174)

New Contributors