github software-mansion/react-native-screens 3.30.0

latest releases: 4.0.0, 4.0.0-beta.17, 4.0.0-beta.16...
7 months ago

Minor release including custom screen transitions, adding support for VisionOS, supporting slide_from_left animation on iOS and fixing other aspects (including wrong targets for touchable components on Fabric).
Thanks for following along! 💙

Note: Please note that support for React Native versions lower than 0.68 have been dropped. Older versions may still continue to work with this and newer releases of react-native-screens, but bugs from deprecated versions will not be considered for repair.

What's Changed

👍 Improvements

  • Custom screen transitions - In 3.30.0, we've introduced a support for custom transition animations while making a "go back" gesture. Made by @piaskowyk and @WoLewicki in #1913

  • Support for VisionOS is here! - From now, react-native-screens offers bundled support for VisionOS platform. Made by @okwasniewski in #2025

  • slide_from_left transition on iOS - You can use slide_from_left animation that will be used for pushing or popping a new screen. Made by @kirillzyusko in #2057

  • Add cancelSearch command on SearchBar by @Jasonzj in #1987

  • Fixed Android screen stack animation by @janicduplessis in #2019

🐛 Bug fixes

  • Not working hitslop for headerRight/Left views by @kkafar in #1995
  • App freeze when navigating back from any modal nested in contained modal by @kkafar in #1996
  • Incorrect safe area on transparent modals using landscape orientation by @tboba in #2008
  • Invalid orientation of contained modals by @tboba in #2011
  • Modify the decorFitsSystemWindow parameter in setNavigationBarHidden by @jiyong1 in #1988
  • Avoid race condition related to state on the new arch by @j-piasecki in #2024
  • Check for multiple screens while changing screen orientation by @uzegonemad in #2035
  • Fix setting incorrect measure with native header by @WoLewicki and @tboba in #2028
  • Add notifying for header height change, fix header height values by @tboba in #2075
  • Change context while running runOnUiQueueThread on 0.73 with Bridgeless by @cortinico in #2022
  • Use reactApplicationContext in onScreenChanged by @WoLewicki in #2046
  • Remove calculating status bar height in useAnimatedHeaderHeight when header is not shown by @tboba in #2033
  • Handle setting display for _viewConfig attribute by @WoLewicki and @tboba in #2071
  • Fix crash with searchResultsController in RNSSearchBar by @tboba in #2004
  • Add constraints for velocity in goBackGesture screen transition by @piaskowyk in #2061
  • Add view check for getting StackView in goBackGesture by @piaskowyk in #2060
  • Change default value of context of ScreenGestureDetector, add warning for goBackGesture by @tboba in #2013
  • Move GHContext from gesture-handler to native-stack by @tboba in #2017
  • Change default gesture from Tap to Fling, fix failing CI by @tboba in #2023

🔢 Miscellaneous

  • Drop React Native 0.64 - 0.67 since 3.30.0 by @tboba in #2036
  • Remove mixed CJS/ESM, refactorize index.native.tsx by @tboba in #1982
  • Add react-navigation as submodule & use it in test applications by @kkafar and @tboba in #1993
  • Unify member-field naming convention in Kotlin by @kkafar in #1999
  • Update compatibility table with supported RN versions with Fabric by @kkafar in #2001
  • Change name of headerBackButtonClicked event by @WoLewicki in #2015
  • Stabilize Android E2E tests by @kirillzyusko in #2062
  • Update Podfiles in Example projects, update RN in FabricExample to 0.73 by @tboba in #1989
  • Update React Native to 0.73.4, change Cocoapods version by @tboba in #2032
  • Configure yarn version in package.json by @bakkerjoeri in #2077
  • Bump ip from 1.1.8 to 1.1.9 by @dependabot in #2038
  • Bump ip from 1.1.8 to 1.1.9 in example apps by @tboba in #2044

New Contributors

🙌 Thank you for your contributions!

Full Changelog: 3.29.0...3.30.0

Don't miss a new react-native-screens release

NewReleases is sending notifications on new releases.