❗ 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
todispatchTouchEvent
inNativeViewGestureHandler
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
toReactHorizontalScrollView
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 theGestureUpdateEvent
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
toLongPress
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
- Bump
FabricExample
to 0.77.0-rc.6 by @m-bert in #3314 - [CI] Set Xcode version to 16.1 by @m-bert in #3319
- fix(typo): there was a small typo in the upgrading to 2 guide by @BakeNayk0 in #3306
- docs: fix State of React Native 2024 banner styles by @kacperkapusciak in #3302
- docs: add State of React Native 2024 banner by @kacperkapusciak in #3300
- Bump nanoid from 3.3.6 to 3.3.8 in /docs by @dependabot in #3297
- Bump nanoid from 3.3.6 to 3.3.8 in /e2e/web-tests by @dependabot in #3289
- Bump nanoid from 3.3.7 to 3.3.8 by @dependabot in #3288
- Bump fabric example to react-native@0.77.0-rc.3 by @jakex7 in #3277
- Bump micromatch from 4.0.7 to 4.0.8 in /MacOSExample by @dependabot in #3158
- Bump http-proxy-middleware from 2.0.6 to 2.0.7 in /e2e/web-tests by @dependabot in #3179
- Bump cross-spawn from 7.0.3 to 7.0.6 in /MacOSExample by @dependabot in #3234
- Bump nanoid from 3.3.7 to 3.3.8 in /example by @dependabot in #3285
- Update installation.md by @kralion in #3292
- [docs] Add
Swipe & Scroll
guide by @m-bert in #3254 - Rearrange documentation sidebar by @j-piasecki in #3275
- Update introduction and installation pages in the documentation by @j-piasecki in #3274
- Update documentation page about the
Native
gesture by @j-piasecki in #3272 - Bump prettier to version 3.3.3 by @latekvo in #3198
- Add fabric support to the example app by @latekvo in #3204
- Quickfix: Update
yarn.lock
by @latekvo in #3241
New Contributors
- @jakex7 made their first contribution in #3228
- @kralion made their first contribution in #3292
- @BakeNayk0 made their first contribution in #3306
Full Changelog: 2.21.2...2.22.0