Releases: software-mansion/react-native-gesture-handler
Releases · software-mansion/react-native-gesture-handler
2.16.0
❗ Important changes
- Add
mouseButton
implementation on Android by @m-bert in #2680 - Add
pointerType
to event by @m-bert in #2760 - feat: add necessary changes for new arch on RN 0.74 by @WoLewicki in #2766
- Add
touchAction
prop. by @m-bert in #2787 - Allows to apply different border radius to RectButton component by @camilossantos2809 in #2792
- Improve RectButton border styles on Android by @camilossantos2809 in #2798
- Make FlingHandler use velocity as the activation metric. by @latekvo in #2796
- Add corner area detection to Fling gesture. by @latekvo in #2807
🐛 Bug fixes
- Add rotation and pinch velocity on macOS by @jfedak in #2706
- Fix
ConcurrentModificationException
. by @m-bert in #2750 - Fix pointers count on iOS by @m-bert in #2755
- fix: remove usage of bridge uimanager in one more place by @WoLewicki in #2768
- Remove hardcoded version of
cocoapods
by @m-bert in #2772 - Move
customDirectEventTypes
to separate files. by @m-bert in #2786 - Fix nested taps activation by @m-bert in #2759
- Cancel handlers by
NativeViewGestureHandler
by @m-bert in #2788 - Make simultaneous handlers always symmetric on iOS by @j-piasecki in #2800
- Update mocks to work when testing for the new arch by @j-piasecki in #2801
- fix(web): After swiping closed, the Swipeable component cannot be swiped open again by @yatessss in #2802
- Remove event listeners on handler drop by @m-bert in #2815
- Use correct origin point for calculating the absolute position on Android by @j-piasecki in #2826
- Add check when removing handlers from orchestrator by @m-bert in #2831
- Use
locationOfTouch:inView
overlocationInView
for focal point by @rrebase in #2834
👍 Improvements
- Pass
{ flex: 1 }
as default style toGestureHandlerRootView
by @kacperkapusciak in #2757 - Stop sending event on pressure changes by @m-bert in #2762
- feat: use proper APIs for newest RN versions on new arch by @WoLewicki in #2767
- Remove circular dependencies on web by @m-bert in #2783
- Address compilation warnings by @m-bert in #2597
- Add
userSelect
to TouchableOpacity by @m-bert in #2812 - Web
Orchestrator
refactor. by @m-bert in #2819 - Replace
mach_absolute_time
withCACurrentMediaTime
by @j-piasecki in #2830
🔢 Miscellaneous
- Restyle Gesture Handler Documentation by @patrycjakalinska in #2753
- Fix incorrect link to Github repository by @patrycjakalinska in #2761
- Add links to each gesture on landing in docs by @kacperkapusciak in #2763
- Update pods on CI by @m-bert in #2765
- Restyle steps in docs by @kacperkapusciak in #2774
- Fix wrong admonition color on initial render by @kacperkapusciak in #2779
- Various style fixes in docs by @kacperkapusciak in #2780
- Add closable App.js banner to docs landing page by @patrycjakalinska in #2781
- Add
mouseButton
description to docs. by @m-bert in #2789 - Add
pointerType
description to docs. by @m-bert in #2791 - Add
enableContextMenu
description to docs. by @m-bert in #2790 - Add
touchAction
description to docs. by @m-bert in #2794 - docs: change accent color to blue by @kacperkapusciak in #2795
- Change
MouseButton
export type. by @m-bert in #2804 - Fix babel config in the root project by @j-piasecki in #2717
New Contributors
- @patrycjakalinska made their first contribution in #2753
- @camilossantos2809 made their first contribution in #2792
- @yatessss made their first contribution in #2802
- @latekvo made their first contribution in #2796
- @rrebase made their first contribution in #2834
Full Changelog: 2.15.0...2.16.0
2.15.0
❗ Important changes
- macOS Support by @HeroBanana and @jfedak in #2588
- feat: add visionOS support by @tomekzaw in #2743
- Add
mouseButton
prop by @m-bert in #2676 - Migrate Gesture Handler to TurboModule by @j-piasecki in #2354
🐛 Bug fixes
- Add checks for the same instance of handler usage across multiple
GestureDetectors
by @m-bert in #2694 - Remove
didMountComponentsWithRootTag
on the new arch by @j-piasecki in #2687 - Fix double start when
activateAfterLongPress
is used by @j-piasecki in #2628 - Reset relevant handler when recognizer gets reset. by @j-piasecki in #2705
- Fix
inactive
handlers staying at finished state by @m-bert in #2738 - Change functions in windows module file to no-ops. by @m-bert in #2741
- Fix handlers coming back from being cancelled by @j-piasecki in #2704
- fix: restore ReactMethod annotation by @WoLewicki in #2722
🔢 Miscellaneous
- Bump react-devtools-core from 4.27.6 to 4.28.4 in /example by @dependabot in #2650
- Add
workflow_dispatch
to workflows by @j-piasecki in #2295 - Update supported versions in readme and in docs by @j-piasecki in #2684
- Prevent GH actions trigger on forks, update template by @j-piasecki in #2696
- Auto add
Platform: MacOS
label whenMacOS
is picked in the issue by @j-piasecki in #2699 - Change eslint
ban-types
to warning. by @m-bert in #2714 - Fix macOS warning message by @jfedak in #2713
- Bump dependencies to stable React Native 0.73.2 by @j-piasecki in #2698
- Add macOS app icon by @jfedak in #2723
- Bump follow-redirects from 1.15.3 to 1.15.4 in /e2e/web-tests by @dependabot in #2719
New Contributors
- @mrousavy made their first contribution in #2690
- @HeroBanana made their first contribution in #2588
- @fxamauri made their first contribution in #2712
- @jfedak made their first contribution in #2713
- @computerjazz made their first contribution in #2715
Full Changelog: 2.14.0...2.15.0
2.14.1
🐛 Bug fixes
- fix: Fix types for TouchableWithoutFeedback by @mrousavy in #2690
- Add exclude list for PointerCapture by @m-bert in #2703
- fix: types for gestureHandlerRootHOC by @fxamauri in #2712
- Fix onUp in Fling by @m-bert in #2709
- fix(worklet): fix workletization of touch event gesture callbacks by @computerjazz in #2715
Full Changelog: 2.14.0...2.14.1
2.14.0
❗ Important changes
- Remove Gesture Handler limits on Android by @m-bert in #2672
- Add a new gesture relation -
blocksHandlers
- working likereversed waitFor
by @j-piasecki in #2627 - Support React Native 0.73 by @j-piasecki in #2671
🐛 Bug fixes
- Fix double
onPress
by @m-bert in #2657 - Fix tvOS build by @m-bert in #2654
- Add a non-null assertion for
reactApplicationContext.javaScriptContextHolder
by @UNIDY2002 in #2662 - Move REACT_NATIVE_VERSION to native-only code by @chriscoomber in #2666
- Fix selection when TalkBack is enabled by @m-bert in #2669
- Fix inputs focus on safari by @m-bert in #2675
🔢 Miscellaneous
- Bump browserify-sign from 4.2.1 to 4.2.2 in /example by @dependabot in #2661
- Change Alert to console.log in new docs by @m-bert in #2670
- Remove
handlersToCancel
on web. by @m-bert in #2679
New Contributors
- @chriscoomber made their first contribution in #2666
Full Changelog: 2.13.4...2.14.0
2.13.4
🐛 Bug fixes
- Fix background color when
foreground
is set. by @m-bert in #2642 - Inline adding spec dependencies by @j-piasecki in #2653
🔢 Miscellaneous
- Bump @babel/traverse from 7.22.20 to 7.23.2 in /e2e/web-tests by @dependabot in #2646
- Bump react-devtools-core from 4.28.0 to 4.28.4 in /e2e/web-tests by @dependabot in #2651
Full Changelog: 2.13.3...2.13.4
2.13.3
👍 Improvements
- [iOS] Update podspec to use install_modules_dependencies by @cipolleschi in #2635
What's Changed
New Contributors
- @cipolleschi made their first contribution in #2635
Full Changelog: 2.13.2...2.13.3
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