Releases: software-mansion/react-native-gesture-handler
1.0.12
Minor release with a number of bugfixes and one new big feature – ForceTouchGestureHandler (also ripple color on Android slipped in for this release)
Next release will likely drop support to RN < 0.57.2 so that we can rely on changes made in facebook/react-native#21398 to support overflow hit testing on both platforms.
🎉 NEW FEATURES
- ForceTouchGestureHandler by @osdnk (#374) READ DOCS HERE
- Ripple color can be customized on Android by @osdnk (#183)
🐛 BUG FIXES
- flow type fixes by @osdnk (#367)
- include missing files from the npm package by @SergeShkurko
👍 IMPROVEMENTS
- gestureHandlerRootHOC web compatibility changes by @EvanBacon (#351)
- Move Podspec to react-native link compatible location by @gongdao123 (#366)
- use RN's flow definition of StatusBarAnimation by @itsjgf (#365)
- optimize DrawerLayout by avoiding setState during animation by @kmagiera (#369)
- documentation improvements by @vonovak (#379)
- xcode project settings updates by @osdnk (#368)
- link example app with gesture-handler version from the root folder by @osdnk (#378)
- numerous improvements to DrawerLayout by @brentvatne (#381)
🙌 Thanks to everyone who contributed their time reporting bugs, posting suggestions and taking part in discussions under PRs and issues!
1.0.10
Minor release that includes important project level changes for compatibility with RN 0.57.
Next release will likely drop support to RN < 0.57.2 so that we can rely on changes made in facebook/react-native#21398 to support overflow hit testing on both platforms.
🐛 BUG FIXES
- Fix for activeOffsetY and failOffsetY by @meros (#331)
- Gradle compatibility changes for RN 0.57 by @guix77 and @usrbowe (#345)
👍 IMPROVEMENTS
- Add testID to TS definition by @Zycon42 (#330)
- Remove cycle imports by @eriveltonelias (#340)
- Gradle wrapper upgrade by @dulmandakh (#348)
🙌 Also many thanks to everyone submitting and discussing issues here – these are all valuable contributions making Gesture Handler better! 😍
1.0.9
Minor release bringing some important bugfixes on top of 1.0.8 version.
Next release will likely drop support to RN < 0.57.2 so that we can rely on changes made in facebook/react-native#21398 to support overflow hit testing on both platforms.
🐛 BUG FIXES
- Fix reference to failOffsetY by @jlongster (#306)
- Fix activation and cancellation criteria by @osdnk (#309)
- Fix propagation of new native config props in onComponentUpdate by @osdnk (#322)
👍 IMPROVEMENTS
- Improve wording in Getting Started guide by @samtheson (#318)
- Remove dependency cycles responsible for annoying warnings during install by @osdnk (#323)
🙌 Also many thanks to everyone submitting and discussing issues here – because of you gesture handler is getting better! 😍
1.0.8
This is a minor release which adds a series of bug fixes and improvements listed below. Among the most important change are new properties that's been added to PanGestureHandler to make activation/fail criteria even more flexible. Namely: activeOffsetX
/Y
and failOffsetX
/Y
.
Next release will likely drop support to RN < 0.57.2 so that we can rely on changes made in facebook/react-native#21398 to support overflow hit testing on both platforms.
🐛 BUG FIXES
- Fix PropTypes by @ckknight (#268)
- Fix compatibility with react-native-reanimated by @osdnk (#287)
- Add
activeOpacity
definition to RectButtonProperties by @hkolsen (#288)
👍 IMPROVEMENTS
- Update TS definitions by @henrikra (#260), @osdnk (#281), @m-tymchyk (#298)
- Update docs by @osdnk (#258)(#274), @sebryu (#272), @vonovak (#303)
- Add extra fields to long press, fling and tap event payload on Android by @osdnk (#277)
- Unify
PanGestureHandler
activation/fail criteria by @osdnk (#292), @kmagiera
API ofPanGestureHandler
has been changed a little bit in order to be more flexible! ✋ - Prevent interpolate when values are out of order by @mironiasty (#301) 🎉
- Factor in the current drawer translation when animating by @brentvatne (#286)
- Add support for hitSlop on buttons on iOS by @janicduplessis (#283)
🙌 Thanks for all the contributions and issue reports which make RNGH better and better! 😍
1.0.7
Minor release to include fixed typescript definitions in the published package.
✅ IMPROVEMENTS
- #257 by @osdnk – add drawer example gifs to documentation
- #254 by @osdnk – add openLeft and openRight to Swipeable
- #256 by @henrikra - fix typescript definitions
🙌 Thanks for all the contributions and issue reports!
1.0.6
This version includes some fundamental updates to the way we handle multi-touch interactions. But since the API stays the same and no breaking changes has been introduces we release it as a "minor" update which should allow most of the user to adapt this new version sooner.
🎉 NEW FEATURES
- Interact with handlers using second or further finger – we now allow for handler to be activated with another finger while there is another interaction already happening. We now treat each finger as a separate stream of events that can be delivered to a completely different set of handlers. This does not affect the way it used to work when handlers overlap or are "nested" within each other. In such a case "simultanousHandlers" or "waitFor" can be used to control how handlers should activate. See a sample video here: https://twitter.com/kzzzf/status/1015907930649055233 (#237 author: @osdnk)
🐛 BUG FIXES
- #232 by @angly-cat – border radius fix for buttons on Android
- #235 by @kmagiera – restores a way for react-native-navigation apps to install GH root views on Android
- #248 by @osdnk – fixes issue with border radius reported in #222
- #250 by @osdnk – allows for render prop to be used with DrawerLayout component
- #247 by @osdnk – fixes problem with incorect tap gesture coordinates on Android reported in #241
- #240 by @osdnk – fixes problem with tap gesture coordinates on iOS reported in #233
✅ OTHER IMPROVEMENTS
- #219 by @pcooney10 – improve android installation instructions
- #242 by @brunolemos – adds our beautiful logo to the readme page
🙌 Thanks for all the contributions and issue reports!
1.0.5
Minor release to include changes required for compatibility with React Native 0.56 – 10f239d
No other changes have been merged into this release since 1.0.4 except from changes that updates documentation and typescript definition file. Shout out to everyone who contributed these changes: @Badmon, @itsjgf, @osdnk, @krzysztofciombor, @brentvatne and @BlenderDude 👏 👏 👏
1.0.4
1.0.3
1.0.1
Minor release created mainly to fix issue with using react refs in redux-like environment (#182).
The remaining changes are related to updating propTypes, typescript interface and podspec.
All PRs included since 1.0.0:
- #178 (by @lnikkila)
- #181 (by @osdnk)
- #186 (by @itchingpixels)
- #188 (by @krzysztofciombor)
- #189 (by @osdnk)
Thanks to everyone who contributed their changes to this release! 🎉