npm react-native-gesture-handler 2.0.0

latest releases: 2.28.0, 2.27.2, 2.27.1...
3 years ago

This release marks a new milestone in Gesture Handler - we added new API that's easier to use, tidied up some cruft that accumulated over the years and fixed many longstanding bugs. Check the changelog below.

For the documentation about the new API and newly added features please check out the updated docs page at https://docs.swmansion.com/react-native-gesture-handler/

⚠️ Breaking changes

❗ Important changes

🐛 Bug fixes

👍 Improvements

  • Expanded Jest mocks (#1364) by @TheWirv
  • Improved type definitions of Gesture Components (#1394) by @yfunk
  • Remove implicit inclusion of node types (#1420) by @jakub-gonet
  • Fix interactions between TapGH and PanGH (#1508) by @j-piasecki
  • Block touch handling when inspector is enabled (#252) by @osdnk, @jakub-gonet
  • Fix compatibilty with React 18 by @janicduplessis
  • Pass RNGH props to FlatList's underlying ScrollView (#1557) by @jakub-gonet
  • Add JSDocs (#1566) by @jakub-gonet
  • Fix buttons can get stuck on Android (#1512) by @bastiandev
  • Export SwipeableProps (#1598) by @SimonIT

🔢 Miscellaneous

  • Fix build-time warnings & add missing dependencies (#1446, #1447) by @jakub-gonet
  • Update Example app
  • Update docs by @moondef, @jakub-gonet, @jkadamczyk, @Andarius
  • Allow react-native-screens to work with Gesture Handler (#1323) by @WoLewicki
  • Fix iteration over argument mapping on web (#1504) by @machouz
  • Import UIManager directly from react-native (#1528) by @acoates-ms
  • Convert Java sources to Kotlin by @jakub-gonet
  • Adds github actions build checks (#1576) by @Ubax

🙌 Thank you for your contributions!

Don't miss a new react-native-gesture-handler release

NewReleases is sending notifications on new releases.