Releases: software-mansion/react-native-gesture-handler
Releases · software-mansion/react-native-gesture-handler
2.28.0
❗ Important changes
👍 Improvements
- Update link in the error message by @j-piasecki in #3625
🐛 Bug fixes
- [Web] fixed texinput submition when inside pressable by @akwasniewski in #3623
- [Web] Fix bottom hitslop by @m-bert in #3644
- [Web] fixed repeated listener registration by @akwasniewski in #3626
🔢 Miscellaneous
- [Android] Revert "fix: turn off build IDs for reproducibility (#3602)" by @m-bert in #3660
- docs: update reanimated_swipeable.md by @hqwlkj in #3647
- docs: update swipeable.md by @hqwlkj in #3648
- docs: update reanimated-drawer-layout.mdx by @hqwlkj in #3649
- docs: update touchables.md by @hqwlkj in #3655
- docs: update pressable.mdx by @hqwlkj in #3656
- docs: update drawer-layout.mdx by @hqwlkj in #3657
- Fix link to the example app in the documentation by @j-piasecki in #3629
New Contributors
Full Changelog: 2.27.2...2.28.0
2.27.2
❗ Important changes
👍 Improvements
- Cleanup
ReanimatedSwipeable
by @latekvo in #3579 - fix: turn off build IDs for reproducibility by @Rexogamer in #3602
- Fix
Pressable
requiringdimensionsAfterResize
by @latekvo in #3606 - [docs] Add info about using
focal
/anchor
points by @m-bert in #3614 - [jest] Fixing enabled prop in buttons by @akwasniewski in #3612
🐛 Bug fixes
- [iOS] Fix
GestureDetector
onText
by @m-bert in #3591 - [Android] Fix
onTouches*
callbacks being called for all gestures by @m-bert in #3596 - Fix Pressable
onPress
callback not working by @latekvo in #3597 - Dropping handlers when components are dropped by @akwasniewski in #3619
🔢 Miscellaneous
- Update
ReanimatedSwipeable
module path by @m-bert in #3605 - Automatically commit generated schema files by @j-piasecki in #3590
- Fix combo example crashing. by @latekvo in #3587
- docs: add Radon IDE banner to TOCItems by @kacperkapusciak in #3592
- Make
dev client
default when startingexpo-example
by @m-bert in #3615
New Contributors
- @Rexogamer made their first contribution in #3602
- @akwasniewski made their first contribution in #3612
Full Changelog: 2.27.1...2.27.2
2.27.1
2.27.0
❗ Important changes
🐛 Bug fixes
- Copy
README.md
to package by @m-bert in #3558 - Fix possible web crashes by @billouboq in #3553
- [Web] Make
PointerTracker
elements nullable by @m-bert in #3565
🔢 Miscellaneous
- [Android] Cleanup CMakeLists by @m-bert in #3563
- Update compatibility table by @m-bert in #3557
- Update version compatibility table in the documentation by @j-piasecki in #3561
- Don't call
needs-repro
CI on comments by @latekvo in #3570 - [Web] Extract coords assignment into helper functions by @m-bert in #3574
- docs: Fix testimonial profile picture link by @j-piasecki in #3585
- Fix state transition flowchart docs by @latekvo in #3580
New Contributors
- @billouboq made their first contribution in #3553
Full Changelog: 2.26.0...2.27.0
2.26.0
❗ Important changes
👍 Improvements
- [iOS] Avoid unnecessary string allocations by @m-bert in #3499
- Add relation props to
Pressable
andReanimatedSwipeable
by @m-bert in #3473 - [Android] Update build tools by @m-bert in #3544
🐛 Bug fixes
- fix: use
providers.exec
to enableconfiguration-cache
by @lukmccall in #3504 - Don't block
onPress
ifonLongPress
is not defined by @m-bert in #3549 - Fix
onSwipeableWillClose
called on opening ofReanimatedSwipeable
by @m-bert in #3478 - Fix buttons getting stuck in scroll views during overscroll by @j-piasecki in #3509
🔢 Miscellaneous
- [Monorepo] Migrate to monorepo by @m-bert in #3482
- Upgrade
react-native-builder-bob
by @satya164 in #3468 - Update how handler configuration is handled on Android by @j-piasecki in #3484
- Refactor RNGestureHandlerModule on android by @j-piasecki in #3489
- Make base
GestureHandler
on Android non generic by @j-piasecki in #3491 - Update usage of types from React Native to make them compatible with Strict API by @j-piasecki in #3532
- Update common example not to disable E2E by @j-piasecki in #3531
- [Web] Fix hot reload by @m-bert in #3540
- Update issue template by @j-piasecki in #3508
- Fix incorrect paths by @m-bert in #3548
- Fix kotlin formatting by @j-piasecki in #3535
- Fix
needs-more-info
action by @m-bert in #3546 - Fix
yarn format:apple
script by @m-bert in #3500 - Fix sync architectures command failing on the commit hook by @j-piasecki in #3534
- Support
react-native
0.79 by @m-bert in #3436 - Change prepare script to postinstall in the root
package.json
by @j-piasecki in #3483 - Remove
eslintIgnore
frompackage.json
by @m-bert in #3533 - Bump
react-native-reanimated
by @m-bert in #3545 - Bump
expo
to stable 53 by @m-bert in #3527 - Bump image-size from 1.1.1 to 1.2.1 in /FabricExample by @dependabot in #3472
- docs: Bump t-rex to stable with Docusaurus 3.7 by @patrycjakalinska in #3516
New Contributors
- @lukmccall made their first contribution in #3504
Full Changelog: 2.25.0...2.26.0
2.25.0
❗ Important changes
- Add
react-native-svg
interface by @latekvo in #3242 - Assign new
handlerTag
each time handler is created by @m-bert in #3453 - [Android] Suppress
UIManagerType
error by @m-bert in #3466
👍 Improvements
- Set default
accessible
prop onPressable
by @m-bert in #3463 - Wrap
Pressable
withforwardRef
by @m-bert in #3431
🐛 Bug fixes
- Fix: onPress callbacks are invoked for all nested Pressables by @coado in #3295
- [iOS] Pass
accessibility
props to button view by @m-bert in #3444 - [iOS] Fix
activeOpacity
inBorderlessButton
by @m-bert in #3433 - Fix: race condition on attachedGestures in updateHandlers by @uyt95 in #3425
- [Android] Handle
hover
events inRNGestureHandlerRootHelper
by @m-bert in #3462 - [Web] Change
shouldBeCancelledByOther
to respectblocksExternalGesture
by @m-bert in #3429
🔢 Miscellaneous
- Update versions in compatibility tables by @m-bert in #3424
- Bump
react-native-reanimated
by @m-bert in #3430 - Bump
actions
on CI by @m-bert in #3432 - [macOS] Re-generate locks by @m-bert in #3437
- Migrate to Yarn 4 by @m-bert in #3457
- [docs] Set
yarn
version by @m-bert in #3461 - [Android] Add missing
SVG
files by @m-bert in #3465 - Remove
ref
type from props inPressable
Example by @m-bert in #3446 - Remove unnecessary version checks by @m-bert in #3416
- Delete
getReactNativeVersion
by @j-piasecki in #3452 - Bump serialize-javascript from 6.0.1 to 6.0.2 in /docs by @dependabot in #3422
- Bump esbuild from 0.20.2 to 0.25.0 in /docs by @dependabot in #3400
- Bump undici from 6.21.0 to 6.21.1 in /example by @dependabot in #3359
- Bump nanoid from 3.3.6 to 3.3.8 in /MacOSExample by @dependabot in #3352
- Bump http-proxy-middleware from 2.0.6 to 2.0.7 in /docs by @dependabot in #3438
- Bump @babel/runtime from 7.19.4 to 7.26.10 in /e2e/web-tests by @dependabot in #3447
- Bump @babel/helpers from 7.24.5 to 7.26.10 in /example by @dependabot in #3442
- Bump @babel/helpers from 7.22.15 to 7.26.10 in /e2e/web-tests by @dependabot in #3448
- Bump @babel/runtime from 7.24.5 to 7.26.10 in /example by @dependabot in #3449
- Bump @babel/helpers from 7.26.9 to 7.26.10 in /MacOSExample by @dependabot in #3455
- Bump @babel/helpers from 7.25.6 to 7.26.10 in /FabricExample by @dependabot in #3456
- Bump @babel/runtime from 7.26.9 to 7.26.10 in /MacOSExample by @dependabot in #3454
- Bump @babel/runtime from 7.21.0 to 7.27.0 in /docs by @dependabot in #3460
- Bump @babel/runtime-corejs3 from 7.20.13 to 7.26.10 in /docs by @dependabot in #3443
- Bump prismjs from 1.29.0 to 1.30.0 in /docs by @dependabot in #3439
New Contributors
Full Changelog: 2.24.0...2.25.0
2.24.0
❗ Important changes
- Support React Native 0.78 by @m-bert in #3354
- [Android] Add missing paper files by @m-bert in #3419
- [Android] Add support for 16KB page size. by @m-bert in #3412
- Fix Reanimated crashes in
ReanimatedDrawerLayout
by @latekvo in #3391
👍 Improvements
🐛 Bug fixes
- [Web] Handle
SVG
wrapped withcreateAnimatedComponent
by @m-bert in #3379 - Add
hitSlop
intochildProps
increateNativeWrapper
by @m-bert in #3399 - [Web] Fix
Text
withTouchables
by @m-bert in #3418
🔢 Miscellaneous
- [docs] Update team by @m-bert in #3397
- Bump to 0.78 by @m-bert in #3415
- Bump serialize-javascript from 6.0.1 to 6.0.2 in /e2e/web-tests by @dependabot in #3414
Full Changelog: 2.23.1...2.24.0
2.23.1
❗ Important changes
🐛 Bug fixes
- Return false if gesture recognizers are present but all disabled by @jcolicchio in #3377
🔢 Miscellaneous
New Contributors
- @DomiR made their first contribution in #3387
- @jcolicchio made their first contribution in #3377
Full Changelog: 2.23.0...2.23.1
2.23.0
Caution
Old API, as well as Touchable
components are being deprecated in this version, and will be removed in the future.
❗ Important changes
- Deprecate old API by @m-bert in #3262
- Deprecate
DrawerLayout
by @m-bert in #3339 - Deprecate
Touchable
components by @m-bert in #3260
👍 Improvements
- feat: Add
simultaneousWithExternalGesture
to ReanimatedSwipable by @MrSltun in #3324 - exports PressableStateCallbackType by @sidferreira in #3346
- Add
testing-library
compatibility props by @latekvo in #3357 - Make
blocksGesture
symmetric on native iOS by @j-piasecki in #3322
🐛 Bug fixes
- Fix circular dependency by @latekvo in #3323
- [Web] Register/unregister listeners when
enabled
changes by @m-bert in #3330 - Replace
Text
with RN component when callbacks are not specified by @m-bert in #3336 - Don’t pass gesture handler wrapper props to child by @oblador in #3343
- Fix
backgroundColor
not being applied toRNGestureHandlerButton
by @latekvo in #3368 - Fix android ripple color bug on fabric by @latekvo in #3369
- Unregister from oldGestureHandler when component unmounts by @gavrix in #3374
- fix: overlapping buttons cause buttons to stop being responsive by @DorianMazur in #3371
- [Web] Make
findNodeHandle
correctly handleFlatList
in old API by @m-bert in #3361 - Remove view flattening error for
Text
component by @m-bert in #3338 - Fix swipeable overlap bug by @latekvo in #3340
- Fix
Swipeable
misalignment after resizing on web by @latekvo in #3341 - Fix
ReanimatedSwipeable
reanimated warnings by @juliendevleeschauwer in #3365 - Fix
TouchableNativeFeedback
regression by @latekvo in #3294 - Fix android new arch crash on RN 0.75 by @latekvo in #3381
🔢 Miscellaneous
- Fix a typo in installation.md by @puls in #3328
- docs: add react native paradise banner by @kacperkapusciak in #3334
- Fix Ci issues by @m-bert in #3362
- Bump
example
toExpo 52
by @latekvo in #3317 - Bump Fabric example to 0.77.0 by @m-bert in #3351
- Migrate
next
tomain
by @m-bert in #3303 - Migrate
get
toset
by @m-bert in #3263
New Contributors
- @puls made their first contribution in #3328
- @MrSltun made their first contribution in #3324
- @juliendevleeschauwer made their first contribution in #3365
- @sidferreira made their first contribution in #3346
- @DorianMazur made their first contribution in #3371
- @gavrix made their first contribution in #3374
Full Changelog: 2.22.1...2.23.0