❗ Important changes
- Create a separate component out of the new Swipeable row by @latekvo in #2936
- Create gesturized pressable component by @latekvo in #2942, #2977, #2982, #2981
- Support for React Native 0.75 by @j-piasecki in #2966
👍 Improvements
- [macOS] Add
ForceTouch
warning by @m-bert in #2954 - Remove shared value read on the JS thread during detector update by @j-piasecki in #2957
- Use a newer constructor for all Gesture Handler events on Android by @j-piasecki in #2967
- Persist rotation and pinch gesture through pointer changes on android by @coado in #2983
- [macOS] Add
NativeViewGestureHandler
by @m-bert in #3004 - Add
enabled
prop support to swipeable by @latekvo in #3011
🐛 Bug fixes
- Make handler comparator work only on non-null objects by @j-piasecki in #2964
- fix: bind scope to null to prevent issues with inline requires by @EvanBacon in #2972
- Replace
queueMicrotask
withrequestAnimationFrame
by @m-bert in #2969 - Resolve circular dependencies on JS side by @latekvo in #2970
- Fix Android native buttons emitting 2 press events when talkback is enabled by @latekvo in #3002
- Fix
ScrollView
intercepting touches through out-of-bounds children by @j-piasecki in #3017 - Change
onPress
argument in buttons by @m-bert in #3006 - [macOS] Fix handlers not responding after opening context menu by @m-bert in #3008
- [iOS | macOS] Fix translation calculation in
LongPress
by @m-bert in #3013 - Fix cancelling manual activation gestures blocking interactivity on iOS by @latekvo in #3007
🔢 Miscellaneous
- Bump ws from 6.2.2 to 6.2.3 in /FabricExample by @dependabot in #2949
- Bump braces from 3.0.2 to 3.0.3 in /MacOSExample by @dependabot in #2956
- docs: bump
@swmansion/t-rex-ui
to 0.0.12 by @patrycjakalinska in #2958 - Bump braces from 3.0.2 to 3.0.3 in /FabricExample by @dependabot in #2965
- Set consistent prettier version across all package.jsons by @latekvo in #2971
- Change naming scheme in package.json from camelCase to dash-case by @latekvo in #2973
- Unify comments and simplify some conditions. by @m-bert in #2984
- docs: Update Expo installation instructions by @amandeepmittal in #2991
- Bump fast-loops from 1.1.3 to 1.1.4 in /docs by @dependabot in #2986
- Remove plural form in docs by @m-bert in #2995
- Bump fast-loops from 1.1.3 to 1.1.4 in /example by @dependabot in #2994
- Don't run old arch integrity check on every PR by @j-piasecki in #2998
- docs: fix footer on landing by @patrycjakalinska in #2997
- docs: Replace HireUsSection with
@swmansion/t-rex-ui
component by @patrycjakalinska in #2996 - Mention
drawerWillShow
inDrawerLayout
docs by @m-bert in #3000 - chore: Refactor gradle task to JS scripts by @maciekstosio in #3001
- Update dependencies related to tests by @j-piasecki in #3005
- [macOS] Switch
hasPointerInside
tocontainsPointInView
by @m-bert in #3012
New Contributors
- @coado made their first contribution in #2983
- @amandeepmittal made their first contribution in #2991
Full Changelog: 2.17.0...2.18.0