❗ Important changes
- Add experimental web implementation by @Warus15 in #2157
- Validate children of GestureDetector to check if there is only one native view that can be a target of the gestures by @j-piasecki in #2132
- Add
onLongPress
callback to Gesture Handler buttons by @j-piasecki in #2083 - Detect duplicate instances by @piaskowyk and @kkafar in #2155, #2162, #2173, #2174
- Export custom
RefreshControl
component and add logic required to handle it by @j-piasecki in #2137 - Compatibility with React Native 0.70, replace NDK with CMake by @tomekzaw and @j-piasecki in #2153
🐛 Bug fixes
- Make gestures work on non-editable
TextInput
on Android by @j-piasecki in #2112 - fix: remove explicit folly version by @kacperkapusciak in #2148
- Pass
disabled
prop to theBaseButton
inTouchableNativeFeedback
by @j-piasecki in #2141 - Fix some edge cases in state flow on Android when handler is waiting for another one by @j-piasecki in #2145
- Build only required architectures on Android by @j-piasecki in #2126
- Remove unsafe methods by @j-piasecki in #2130
- Cancel gestures when an uninterruptible native gesture becomes active by @j-piasecki in #2129
- Fix default max distance for long press on Android by @j-piasecki in #2095
- Make Gesture Handler on web respect
simultaneousHandlers
prop when used on aScrollView
by @j-piasecki in #2125 - Check if loaded module is really Reanimated in
reanimatedWrapper
by @j-piasecki in #2179 - Use angle-bracket imports by @tomekzaw in #2180
- fix:
RCT_NEW_ARCH_ENABLED=0
to disable new arch by @nomi9995 in #2178
👍 Improvements
- Display a more expressive error message when Gesture Handler receives more than one child by @j-piasecki in #2131
- Use non-deprecated
Handler
constructor by @j-piasecki in #2163 - Upgrade Docusaurus & theme to match Reanimated by @j-piasecki in #2166
- Make Example app run on web by @j-piasecki in #2110
- Update issue template by @kacperkapusciak in #2165
🔢 Miscellaneous
- Update version requirements in docs and
README
by @j-piasecki in #2077 - Bump moment from 2.29.2 to 2.29.4 in /ci/e2e by @dependabot in #2123
- Bump terser from 4.8.0 to 4.8.1 in /docs by @dependabot in #2136
- Add
runOnJS
where necessary in Drag and Drop example by @j-piasecki in #2144 - Mention automatic workletization of callbacks in the docs by @j-piasecki in #2124
- chore: typo in issue template by @kkafar in #2176
New Contributors
- @piaskowyk made their first contribution in #2155
- @kkafar made their first contribution in #2173
- @Warus15 made their first contribution in #2157
- @nomi9995 made their first contribution in #2178
Full Changelog: 2.5.0...2.6.0