❗ Important changes
- Support React Native 0.84 by @m-bert in #3912
- Support React Native 0.85 by @m-bert in #4014
- [General] Allow gesture detector to have multiple children by @j-piasecki in #3981
- [General] Move the end flag to the event passed to
onDeactivateandonFinalizeby @j-piasecki in #3887 - [General] Implement basic button interactions using native primitives by @j-piasecki in #4032
Clickablecomponent by @m-bert in #4018- Rename
ClickabletoTouchableby @m-bert in #4063 - [General] Replace
enabledwithdisabledprop on Clickable by @j-piasecki in #4057 - Deprecate old components by @m-bert in #4006
- Do not emit
commonjsby @m-bert in #4069 - Remove
forwardRefby @m-bert in #4093
👍 Improvements
- Update
GestureButtonprops type by @m-bert in #3973 - [iOS] Add wrapper for
handleGesture:fromReset:by @m-bert in #3983 - [web] handle common props in virtual detector by @akwasniewski in #3982
FlatList&Reftypes by @m-bert in #4002- Memoize
Textcomponent by @m-bert in #4003 - [iOS] Distinguish between mouse and stylus when hovering by @AndreasHogstrom in #3991
- Enable
exactOptionalPropertyTypessupport by @YevheniiKotyrlo in #4012 - [iOS] Add
numberOfPointerstoNativegesture events by @m-bert in #4023 - Add missing handlers callbacks to buttons by @m-bert in #4033
- [iOS] Handle
FullWindowOverlayas the native root by @j-piasecki in #4039 - [iOS] Ignore Apple's default retention offset for buttons and rely strictly on hitslop instead by @j-piasecki in #4038
- Make buttons activate immediately by @m-bert in #4036
- [Native] Replace
display: contentsbased buttons with a single-view implementation by @j-piasecki in #4044 - [General] Update button's animation duration props by @j-piasecki in #4046
- SwipeableProps from RefObject to Ref by @litinskii in #3759
🐛 Bug fixes
- [General] Only overwrite ref if the dropped handler didn't change by @j-piasecki in #3984
- Fix GestureDetector unresponsive after display:none toggle (New Arch) by @janicduplessis in #3964
- Change handler reference to weak pointer to prevent memleaks by @WoLewicki in #3987
- [ios] Force going through begin in state manager by @akwasniewski in #3979
- [iOS] Fix wrong
pointerTypeinHovergesture by @m-bert in #3989 - Fix
fillInDefaultValueswarning by @m-bert in #4004 - [iOS] Fix concurrent modification crash by @m-bert in #4008
- [ios] not calling activation callback on inactive gestures by @akwasniewski in #3986
- [android] dont cancel manually activated gestures by @akwasniewski in #4011
- [Android] Check all pointers in move events by @m-bert in #4010
- Fix
LegacyPressableby @m-bert in #4016 - [android] fix talkback on pressable by @akwasniewski in #4017
- [Android] Clear blocking relations on drop by @m-bert in #4020
- [iOS] Fix missing
onFinalizecallback inTapby @m-bert in #4029 - Bring back
onUpdatetoNativegesture by @m-bert in #4034 - Add
Panoffset props toPropsToFilterby @m-bert in #4026 - fix(ios): guard +load with #ifdef RCT_DYNAMIC_FRAMEWORKS by @DavidDuarte22 in #4047
- [ios] fix pressable with intercepting detector by @akwasniewski in #4041
- [tvOS] Fix build error by @m-bert in #4060
- [iOS] Fix buttons crash when unmounting children by @m-bert in #4065
- Fix Touchables typescript errors by @m-bert in #4067
- [Web] Fix focal and anchor points coordinates by @m-bert in #4061
- [Android] Correct
Rotationhandler by @m-bert in #4079 - [Web] Fix
PinchandRotationby @m-bert in #4078 - [Android] Fix
InterceptingandVirtualdetectors hit testing by @Copilot in #4095
🔢 Miscellaneous
- [docs] Buttons by @m-bert in #3968
- [docs] Redirects by @m-bert in #3976
- [docs] Add platform badges by @m-bert in #3975
- [docs] Add version badges by @m-bert in #3978
- [docs] Make
platformsoptional parameter by @m-bert in #3992 - [docs] Components' props by @m-bert in #3990
- [docs] Add React Native 0.81 to compatibility table by @m-bert in #4007
- [docs] Fix grammatical errors by @m-bert in #4056
- [Docs]
Touchableby @m-bert in #4022 - docs: Add banner rotator by @p-malecki in #4000
- [docs] Add analytics and close banner btn by @p-malecki in #4005
- docs: remove paradise banner by @p-malecki in #4037
- [docs] Bump
t-rex-uiby @patrycjakalinska in #4019 - Fix failing
JestCI by @m-bert in #3988 - Use shared release action by @j-piasecki in #3994
- Pin nightlies to 3.0.0 by @j-piasecki in #3998
- Use action from the main organization by @j-piasecki in #3999
- Split
HandlerDataby @m-bert in #3980 - [macOS] Bump example app by @m-bert in #3993
- Revert "Export new
createNativeWrapper(#3971)" by @m-bert in #4001 - Import legacy pressables in examples by @akwasniewski in #4009
- Move @types/react-test-renderer to dependencies by @YevheniiKotyrlo in #4015
- Remove begin from StateManager by @akwasniewski in #4024
- Update
yarnby @m-bert in #4035 - Do not import
NativeWrapperPropsas type by @m-bert in #4030 - Bump Reanimated by @m-bert in #4040
- Add
childrento button mock by @m-bert in #4054 - Add legacy mocks by @m-bert in #4055
- Remove remaining
commonjsreferences by @m-bert in #4083 - [Web] Remove
invokeNullableMethodby @m-bert in #4084 - Add
AGENTS.mdby @m-bert in #4085 - [eslint] Consistent
importrules by @m-bert in #4087 - [eslint] Add
simple-import-sortby @m-bert in #4092 - Bump rexml from 3.4.1 to 3.4.2 in /apps/macos-example by @dependabot[bot] in #3711
- Bump node-forge from 1.3.1 to 1.3.2 in /packages/docs-gesture-handler by @dependabot[bot] in #3843
- Bump mdast-util-to-hast from 13.2.0 to 13.2.1 in /packages/docs-gesture-handler by @dependabot[bot] in #3856
- Bump node-forge from 1.3.2 to 1.4.0 in /packages/docs-gesture-handler by @dependabot[bot] in #4072
- Bump fast-xml-parser from 4.5.3 to 4.5.6 in /packages/docs-gesture-handler by @dependabot[bot] in #4073
- Bump addressable from 2.8.7 to 2.9.0 in /apps/basic-example by @dependabot[bot] in #4071
- Bump lodash from 4.17.21 to 4.18.1 in /packages/docs-gesture-handler by @dependabot[bot] in #4074
- Bump picomatch from 2.3.1 to 2.3.2 in /packages/docs-gesture-handler by @dependabot[bot] in #4075
- Bump activesupport from 7.2.2.1 to 7.2.3.1 in /apps/macos-example by @dependabot[bot] in #4076
- Bump svgo from 3.3.2 to 3.3.3 in /packages/docs-gesture-handler by @dependabot[bot] in #4077
- Bump activesupport from 7.1.5.1 to 7.2.3.1 in /apps/basic-example by @dependabot[bot] in #4081
- Bump addressable from 2.8.7 to 2.9.0 in /apps/macos-example by @dependabot[bot] in #4080
- Bump rexml from 3.4.1 to 3.4.2 in /apps/basic-example by @dependabot[bot] in #4086
- Bump @react-native-community/cli from 18.0.0 to 18.0.1 in /apps/common-app by @dependabot[bot] in #3874
New Contributors
- @AndreasHogstrom made their first contribution in #3991
- @YevheniiKotyrlo made their first contribution in #4015
- @DavidDuarte22 made their first contribution in #4047
- @litinskii made their first contribution in #3759
Full Changelog: v3.0.0-beta.2...v3.0.0-beta.3