❗ Important changes
- Deprecate builder API by @m-bert in #4103
- [General] Change
Touchablecallback order by @j-piasecki in #4126 - [General] Remove
onActiveStateChangefromTouchableby @j-piasecki in #4101 - [Native] Use correct coordinate space when using native detector by @j-piasecki in #4137
- [General] Add
yieldsToNativeGesturesproperty to native gesture by @j-piasecki in #4135 - [General] Change
yieldsToNativeGesturestoyieldsToContinuousGesturesby @j-piasecki in #4152 - [Android] Unify
PinchandRotationwith respect toiOSby @m-bert in #4153 - Add
cancelsJSResponderprop to the gesture handlers by @coado in #4094 - [Web] Continuous
PinchandRotationby @m-bert in #4155 - [Android] Remove
getChildInDrawingOrderAtIndexby @javache in #4156
👍 Improvements
- [Native] Add
cancelOnLeaveprop toTouchableby @j-piasecki in #4105 - [General] Don't emit duplicate events for
NativeViewGestureHandlerby @j-piasecki in #4102 - [iOS] Fix button events with
numberOfPointers: 0by @j-piasecki in #4098 - [Web] Don't cancel buttons when pointer moves inside by @j-piasecki in #4100
- [General] Allow to create gestures with no config by @j-piasecki in #4115
- [iOS] Prevent duplicated events in Native gesture handling by @m-bert in #4125
🐛 Bug fixes
- [Web] Fix nested touchables and gestures by @j-piasecki in #4108
- [Native] Fix
Touchablebehavior when nested within gesture handlers by @j-piasecki in #4106 - [Android] Fix
hitSlopon native detector by @m-bert in #4049 - [iOS] Fix
Touchableanimation ending in the wrong state by @j-piasecki in #4099 - [iOS] Handle
0duration animation correctly onTouchableby @j-piasecki in #4113 - [Web | iOS] Fix
Switchcomponent by @m-bert in #4112 - [Web] Fix
Pressablenot callingonPress*callbacks by @m-bert in #4124 - [iOS] Fix
LegacyPressablenot emittingonPressOutby @j-piasecki in #4121 - [General] Don't activate buttons on start by @j-piasecki in #4120
- [Android] Dispatch cancel event only when root view is enabled by @j-piasecki in #4123
- [Android] Restore button pressed state on drag in by @j-piasecki in #4118
- [Android] Cancel button gesture when other handlers are extracted before it by @j-piasecki in #4127
- [Web] Cancel button gesture when other handlers are extracted before it by @j-piasecki in #4128
- [iOS] Handle view recycling in
Touchableby @j-piasecki in #4131 - [Web] Remove explicit reset from
onPointerCancelby @j-piasecki in #4133 - [Web] Don't call
cancelon unregistered handlers by @j-piasecki in #4134 - [iOS] Fix
enabledstate diverging between the handler and its recognizer by @j-piasecki in #4140 - [General] Do not prepare config multiple times by @m-bert in #4144
🔢 Miscellaneous
- [General] Fix gestures becoming unresponsive after a fast refresh by @j-piasecki in #4096
- Do not check for
workletsif babel plugin was not used by @m-bert in #4107 - [docs] Update compatibility by @m-bert in #4110
- [docs] Update examples by @relextm19 in #4091
- [Web] Find
Switchinput only in direct children by @m-bert in #4122 - [iOS] Remove a redundant
detachHandlerWithTagdefinition by @j-piasecki in #4132 - [iOS] Activate buttons on pointer up by @j-piasecki in #4129
- [General] Remove
createNativeWrapperfromTouchableby @j-piasecki in #4138 - [iOS] Remove unused methods from
Hoverby @j-piasecki in #4139 - [Example] Use
Touchableinstead ofRectButtonby @j-piasecki in #4136 - Add RNRepo to ci builds by @radoslawrolka in #4141
- Add rnrepo config to
expo-exampleby @m-bert in #4151 - [Web] Assign role for
Nativegesture in detector by @m-bert in #4130 - [docs] Add "Wrapped components" section by @m-bert in #4119
- [Web] Do not reset
roleon handler reset by @m-bert in #4154 - [Web] Do not set
roleon non HTMLElement nodes by @m-bert in #4159
New Contributors
- @relextm19 made their first contribution in #4091
- @radoslawrolka made their first contribution in #4141
- @javache made their first contribution in #4156
Full Changelog: v3.0.0-beta.3...v3.0.0-beta.4