Releases: software-mansion/react-native-gesture-handler
Releases · software-mansion/react-native-gesture-handler
2.13.2
🐛 Bug fixes
👍 Improvements
- New onSwipeableOpenDragStart and onSwipeableCloseDragStart events by @rampazzo1989 in #2589
- Remove jcenter by @ChaseKnowlden in #2610
- Add buildconfig flag for AGP8+ by @pvegh in #2599
🔢 Miscellaneous
- Update dependencies in e2e/web-tests by @m-bert in #2601
- Bump @sideway/formula from 3.0.0 to 3.0.1 in /FabricExample by @dependabot in #2605
- Bump @sideway/formula from 3.0.0 to 3.0.1 in /docs by @dependabot in #2602
- Give some love to Gesture Handler docs by @kacperkapusciak in #2607
- Fix typo in Composing gestures docs by @S1D007 in #2614
- Bump postcss from 8.4.30 to 8.4.31 in /e2e/web-tests by @dependabot in #2623
- Bump postcss from 8.4.14 to 8.4.31 in /docs by @dependabot in #2621
- Bump @sideway/formula from 3.0.0 to 3.0.1 in /example by @dependabot in #2606
New Contributors
- @rampazzo1989 made their first contribution in #2589
- @ChaseKnowlden made their first contribution in #2610
- @pvegh made their first contribution in #2599
- @S1D007 made their first contribution in #2614
Full Changelog: 2.13.1...2.13.2
2.13.1
2.13.0
❗ Important changes
- Add
Hover
gesture by @j-piasecki in #2455
🐛 Bug fixes
- Only cancel JS responder when activating recognizer comes from Gesture Handler by @j-piasecki in #2533
- Make manual activation recognizer not cancel
UIControls
by @j-piasecki in #2545 - fix: export SwipeableProps by @G07cha in #2561
- Fix Reanimated worklet recognition on Fabric by @t0ms0n00 in #2555
- Android TalkBack fix by @m-bert in #2234
- Continuously check for pointer capture on web by @j-piasecki in #2563
- fix: export Touchable* component props by @G07cha in #2556
- Don't create a
RippleDrawable
when the color is transparent by @j-piasecki in #2575 - Fix
hitSlop
on Gesture Handler buttons by @j-piasecki in #2039 - Improve multi-pointer behavior (with ScrollView) on Android by @j-piasecki in #2551
- Fix ripple effect staying after cancellation by @m-bert in #2586
- Fix react-android not found error on android by @lauhon in #2568
👍 Improvements
activeCursor
prop by @m-bert in #2550- Update default Android SDK versions by @makito013 in #2537
- Recycle obtained
MotionEvents
on Android by @j-piasecki in #2523 - Documentation: link leading to a 404 fix by @orpos in #2553
- Decouple the JS implementation from the web APIs by @j-piasecki in #2579
- Remove multiple instances check when building by @j-piasecki in #2569
🔢 Miscellaneous
- Bump fast-xml-parser from 4.1.3 to 4.2.4 in /example by @dependabot in #2512
- Bump fast-xml-parser from 4.2.2 to 4.2.4 by @dependabot in #2511
- Bump activesupport from 6.1.7.2 to 7.0.5 in /example by @dependabot in #2509
- Bump shell-quote from 1.7.2 to 1.8.1 by @dependabot in #2521
- Bump tough-cookie from 4.0.0 to 4.1.3 by @dependabot in #2531
- Bump semver from 5.7.1 to 5.7.2 in /example by @dependabot in #2540
- Bump semver from 5.7.1 to 5.7.2 in /docs by @dependabot in #2539
- Bump fast-xml-parser from 4.2.4 to 4.2.5 in /example by @dependabot in #2535
- Bump semver from 5.7.1 to 5.7.2 in /e2e/web-tests by @dependabot in #2541
- Bump semver from 5.7.1 to 5.7.2 in /FabricExample by @dependabot in #2542
- Bump semver from 5.7.1 to 5.7.2 by @dependabot in #2538
- Bump fast-xml-parser from 4.2.4 to 4.2.5 by @dependabot in #2534
- Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #2547
- Bump word-wrap from 1.2.3 to 1.2.4 in /example by @dependabot in #2548
- Bump word-wrap from 1.2.3 to 1.2.4 in /FabricExample by @dependabot in #2549
- Update
docusaurus
to 2.3.1 by @j-piasecki in #2423 - Add empty example by @m-bert in #2564
- Add description to
averageTouches
in the documentation by @j-piasecki in #2352 - Update the team in docs by @j-piasecki in #2565
- Bump activesupport from 7.0.5 to 7.0.7.2 in /example by @dependabot in #2574
- Create FUNDING.yml by @aleqsio in #2587
New Contributors
- @makito013 made their first contribution in #2537
- @orpos made their first contribution in #2553
- @t0ms0n00 made their first contribution in #2555
- @G07cha made their first contribution in #2561
- @lauhon made their first contribution in #2568
Full Changelog: 2.12.0...2.13.0
2.12.1
2.12.0
❗ Important changes
- Support for React Native 0.72 on the new architecture by @j-piasecki in #2441
2.11.0
A small release made for nice people at Expo 😃.
🐛 Bug fixes
- Correctly attach root view recognizer in modals on iOS by @j-piasecki in #2498
Full Changelog: 2.10.2...2.11.0
2.10.2
🐛 Bug fixes
- Fix root view error for jest by @IvanIhnatsiuk in #2491
- Prevent GH buttons from activating when scrolling list by @j-piasecki in #2494
New Contributors
- @IvanIhnatsiuk made their first contribution in #2491
Full Changelog: 2.10.1...2.10.2
2.10.1
🐛 Bug fixes
- Fix operation scheduling on iOS by @j-piasecki in #2483
2.10.0
❗ Important changes
- Enable the new web implementation by default by @j-piasecki in #2394
- Replace
setImmediate
andrequestAnimationFrame
withqueueMicrotask
by @j-piasecki in #2467 - Show error when gestures are used without root view by @j-piasecki in #2420
- Change how velocity is calculated on the new web implementation by @j-piasecki in #2443
🐛 Bug fixes
- Fix types for gestureHandlerRootHOC to accept component with props by @Nodonisko in #2413
- Remove
DrawerLayoutAndroid
import on web by @j-piasecki in #2305 - Fix ripple always showing on Touchables when on Android 13 by @j-piasecki in #2418
- Whitelist
Native
gesture props inGestureDetector
by @j-piasecki in #2433 - Fix Gesture Handlers getting stuck due to missing
up
event when using the new web implementation by @j-piasecki in #2442 - Fix Gesture Handler's buttons activating after scroll when using
RefreshControl
by @j-piasecki in #2457 - Make single instance assertion work with Gradle Configuration Cache by @j-piasecki in #2453
- fix: PureNativeButton is not exported by @magrinj in #2447
- fix: do not apply namespace if it is not available in agp by @WoLewicki in #2448
👍 Improvements
- Returns Swipeable reference on renderLeftActions by @ntocampos in #2426
- Add a method
reset
to componentSwipeable
by @UNIDY2002 in #2431 - Remove conditional imports for native components by @j-piasecki in #2461
- Add
dragOffsetFromLeftEdge
anddragOffsetFromRightEdge
props toSwipeable
by @j-piasecki in #2408
🔢 Miscellaneous
- Bump ua-parser-js from 0.7.31 to 0.7.33 by @dependabot in #2392
- Bump ua-parser-js from 0.7.24 to 0.7.33 in /docs by @dependabot in #2389
- Hide
back-to-top
button in the docs by @j-piasecki in #2398 - Upgrade Expo in the example app to use API 47 by @j-piasecki in #2393
- chore: change fabric flag by @WoLewicki in #2397
- Bump http-cache-semantics from 4.1.0 to 4.1.1 in /docs by @dependabot in #2407
- Bump http-cache-semantics from 4.1.0 to 4.1.1 by @dependabot in #2406
- End-to-end tests for web version by @m-bert in #2298
- Bump ua-parser-js from 0.7.32 to 0.7.33 in /e2e/web-tests by @dependabot in #2417
- Bump loader-utils from 1.4.0 to 1.4.2 in /e2e/web-tests by @dependabot in #2416
- Bump decode-uri-component from 0.2.0 to 0.2.2 in /e2e/web-tests by @dependabot in #2415
- Add
Handler state
section to sidebar by @j-piasecki in #2422 - Bump webpack from 5.73.0 to 5.76.1 in /docs by @dependabot in #2436
- chore: set library namespace in build script by @kkafar in #2435
- docs: add appjs banner by @kacperkapusciak in #2432
- Bump @xmldom/xmldom from 0.7.6 to 0.7.9 in /e2e/web-tests by @dependabot in #2444
- Bump @sideway/formula from 3.0.0 to 3.0.1 in /e2e/web-tests by @dependabot in #2445
- Bump minimist from 1.2.5 to 1.2.8 in /example by @dependabot in #2456
- Move
GestureHandlerRootView
tocomponents
directory by @j-piasecki in #2468 - Remove unnecessary
throw
by @j-piasecki in #2446
New Contributors
- @Nodonisko made their first contribution in #2413
- @ntocampos made their first contribution in #2426
- @UNIDY2002 made their first contribution in #2431
- @magrinj made their first contribution in #2447
Full Changelog: 2.9.0...2.10.0
2.9.0
❗ Important changes
- Support React Native 0.71 by @j-piasecki in #2313
🐛 Bug fixes
- Use
ReturnType
instead of explicitAnimatedInterpolation
type by @j-piasecki in #2294 - Fix default
shouldCancelWhenOutside
on iOS and Android by @Warus15 in #2297 - Fix
onBegin
andonTouchesDown
event ordering on iOS by @j-piasecki in #2278 - Fix buttons getting locked in some cases on Android by @j-piasecki in #2315
- fix RNGH not working in pnpm project by @chj-damon in #2334
- GestureDetector: more checks for mounted component by @phryneas in #2335
- Fix
GestureDetector
not working when the underlying view changes by @j-piasecki in #2092 - Cocoapods: Fix deprecated/removed File.exists method by @tomekzaw in #2368
🔢 Miscellaneous
- Update React Native to 0.70.3 in the example apps by @j-piasecki in #2267
- Reformat iOS codebase by @j-piasecki in #2296
- Update the commit hash in
.git-blame-ignore-revs
by @j-piasecki in #2306 - Provide proper Algolia Search API key by @kacperkapusciak in #2308
- Fix search modal styling in the docs by @j-piasecki in #2309
- Bump loader-utils from 2.0.0 to 2.0.3 in /docs by @dependabot in #2311
- Fixed typo in doc: cancelsToucesInView > cancelsTouchesInView by @vidalmaxime in #2318
- Bump decode-uri-component from 0.2.0 to 0.2.2 by @dependabot in #2338
- Bump loader-utils from 2.0.3 to 2.0.4 in /docs by @dependabot in #2321
- Bump qs from 6.10.1 to 6.11.0 by @dependabot in #2342
- Bump decode-uri-component from 0.2.0 to 0.2.2 in /FabricExample by @dependabot in #2340
- [docs] Fixed doubleTap example in docs by @robwalkerco in #2349
- Bump json5 from 2.2.1 to 2.2.3 in /docs by @dependabot in #2366
- Bump json5 from 2.2.1 to 2.2.3 in /FabricExample by @dependabot in #2365
New Contributors
- @vidalmaxime made their first contribution in #2318
- @chj-damon made their first contribution in #2334
- @robwalkerco made their first contribution in #2349
Full Changelog: 2.8.0...2.9.0