Releases: software-mansion/react-native-screens
3.31.0-rc.0
Release candidate no.1 for version 3.31.0 that adds support for React Native 0.74 and fixes build issues on Android.
Thanks for following along! 💙
Note: Please note that this version is a candidate for the next stable version of React Native Screens. If you encounter any issues or inconveniences, please let us know about them by submitting an issue.
What's Changed
👍 Improvements
- Bring 0.74 support by @WoLewicki in #2047
- Don't recycle RNScreenView by @WoLewicki in #2069
🐛 Bug fixes
- Add backward compatibility for prefabs by @piaskowyk in #2088
- Fix screen traversing on Fabric, update React Native to rc.6 by @tboba in #2090
🔢 Miscellaneous
- Change topScreenFrame and belowTopScreenFrame to match Reanimated API by @tboba in #2091
- Add
submodules
command in yarn, remove Flipper from Example by @tboba in #2092 - Release 3.31.0-rc.0 by @tboba in #2093
Full Changelog: 3.30.1...3.31.0-rc.0
3.30.1
3.30.0
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 useslide_from_left
animation that will be used for pushing or popping a new screen. Made by @kirillzyusko in #2057 -
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
- @jiyong1 made their first contribution in #1988
- @Jasonzj made their first contribution in #1987
- @j-piasecki made their first contribution in #2024
- @cortinico made their first contribution in #2022
- @okwasniewski made their first contribution in #2025
- @uzegonemad made their first contribution in #2035
- @bakkerjoeri made their first contribution in #2077
🙌 Thank you for your contributions!
Full Changelog: 3.29.0...3.30.0
3.29.0
Minor release including fix for iOS that was accidentally omitted from 3.28.0. It should be now possible to present modal in outer stack, from modal in nested stack (😄 )
What's Changed
🐛 Bug fixes
Full Changelog: 3.28.0...3.29.0
3.28.0
Minor release adding a support for React Native 0.73, adding new iOS-like slide animation, fixing crashes with AVPlayer on iOS and resolving build issues on Android.
Note: Please note that when using new renderer - Fabric, only the 0.73.x version of react-native
is supported from this version onwards. With Paper renderer backward compatibility is maintained.
What's Changed
🐛 Bug fixes
- Update status bar & orientation in screen stack fragment by @delphinebugner in #1934
- Set stateWrapper in ScreenViewManager in Fabric by @joemun in #1944
- Don't include AVPlayerView in
traverseForScrollView
method by @tboba in #1969 - Fix error about duplicate class ViewModelLazy by @tboba in #1977
- Move DelayedFreeze setImmediate into an effect by @amadeus in #1980
👍 Improvements
- Add ios like slide animation by @alexandrius in #1945
🔢 Miscellaneous
- Support for RN 0.73 by @kkafar in #1956
- Use JDK 17 for CI builds as required for RN 0.73 by @kkafar in #1957
- Update Podfile.lock files in example projects by @tboba in #1979
New Contributors
- @delphinebugner made their first contribution in #1934
- @joemun made their first contribution in #1944
- @alexandrius made their first contribution in #1945
- @amadeus made their first contribution in #1980
Full Changelog: 3.27.0...3.28.0
3.27.0
Minor release focusing on resolving build issues in certain configurations, compatibility with RC versions of React Native and crash on Fabric.
What's Changed
🐛 Bug fixes
- Unresolved reference: attr after upgrading to 0.73.0-rc.2 by @ivanignatiev in #1919
- Downgrade native deps to avoid conflicts with other libs by @kkafar in #1943
- Add
canCoalesce
method to RNSHeaderHeightChangeEvent by @tboba in #1933
🔢 Miscellaneous
- Update
@babel/traverse
from 7.21.0 to 7.23.2 by @kkafar in #1929 - Update
react-devtools-core
from 4.28.0 to 4.28.4 by @tboba in #1941
New Contributors
- @ivanignatiev made their first contribution in #1919
Full Changelog: 3.26.0...3.27.0
3.26.0
Minor release adding new useAnimatedHeaderHeight and useReanimatedHeaderHeight hooks, providing fixes for search bar and introducing internal changes. Please note that new hooks introduced in this release are fully functional on Paper, on Fabric there are few edge cases we are still working on.
What's Changed
🐛 Bug fixes
- Change implementation of
headerConfig
prop on Android by @tboba in #1883 - Change elements visibility on search bar open by @tboba in #1903
- Fix positioning of large header and search bar by @tboba in #1895
- Change implementation of calculating status bar, refactor methods used on header height change by @tboba in #1917
- Fix calculating header height when changing status/action bar visibility by @tboba in #1922
- Allow Reanimated Screen to check large header by @tboba in #1915
- Fix issue when emptying nav stack on Windows by @chrisglein in #1890
- Update podspec to use install_modules_dependencies by @cipolleschi in #1920
- Remove MaxPerm args from JVM invocation by @kkafar in #1888
👍 Improvements
- Calculate values of useHeaderHeight natively by @tboba in #1802
- Allow for different fragment types inside ScreenContainer by @kkafar in #1887
- Add focused states on page transitions by @tboba in #1894
🔢 Miscellaneous
- Create FUNDING.yml by @aleqsio in #1886
- Migrate from deprecated
RCTEventEmitter
by @kkafar in #1867 - Use
require
syntax for resolution of all native components by @kkafar in #1909 - Run Android e2e with JDK 17 by @kkafar in #1892
- Put timelimit on execution of each workflow by @kkafar in #1893
- Trigger e2e tests on JS-only changes by @kkafar in #1910
- Update deprecated expo install instructions to
npx expo install
by @GabrieldosSantosOliveira in #1899 - Bump activesupport from 6.1.7.3 to 7.0.7.2 in /TestsExample by @dependabot in #1877
- Update deps & RN in example apps after release by @kkafar in #1878
- Migrate
Example
app & e2e tests to RN 0.72.4 by @kkafar in #1880 - Bump library deps to recent versions (including RN) by @kkafar in #1881
- Bump library native Android deps & config by @kkafar in #1891
New Contributors
- @chrisglein made their first contribution in #1890
- @GabrieldosSantosOliveira made their first contribution in #1899
- @cipolleschi made their first contribution in #1920
Full Changelog: 3.25.0...3.26.0
3.25.0
What's Changed
Minor release focused on bug fixes & internals.
🐛 Bug fixes
- iOS: Add missing call to super method in
RNSScreenView#finalizeUpdates
by @kkafar in #1855 - Android: Shorten alpha animation to 83ms on default enter-out by @kkafar in #1835
- iOS: Wrong title in back button menu for screens w/ hidden header by @kkafar in #1866
- iOS: Full window overlay cannot receive tap when modal is full screen by @intergalacticspacehighway in #1872
🔢 Miscellaneous
- Reinstall deps & pods in example apps after release by @kkafar in #1862
- Fix typo in docs on
sheetCornerRadius
by @kkafar in #1863 - Use
PlatformColor
instead of plainstring
for color related props by @retyui in #1846 - Android: Migrate
replaceSystemWindowInsets
toBuilder.setSystemWindowInsets
by @kirillzyusko in #1868
New Contributors
- @intergalacticspacehighway made their first contribution in #1872
- @retyui made their first contribution in #1846
Full Changelog: 3.24.0...3.25.0
3.24.0
Minor release focused on fixing build issues reported in #1859.
What's Changed
🐛 Bug fixes
- Bad parameter type in
toggleCancelButton
search bar command by @kkafar in #1854 - Add missing iOS API availbility checks by @kkafar in #1860
🔢 Miscellaneous
- Update RN + other deps in example apps by @kkafar in #1847
- Annotate
sheetExpandsWhenScrollingToEdge
prop as iOS specific by @kkafar in #1851 - Improve readability of C++ namespaced types by @kkafar in #1856
Full Changelog: 3.23.0...3.24.0
3.23.0
What's Changed
🐛 Bug fixes
- Headerheight incorrect on phones with dynamic island by @dylancom in #1784
- Buggy search bar / large title behaviour on Fabric by @kkafar in #1825
- Make RNSFullWindowOverlay a modal for accessibility by @kkafar in #1842
- Calculate large headers in
useHeaderHeight
hook by @tboba in #1844
👍 Improvements
- Add onGestureCancel event by @piaskowyk in #1810
- Add support for search bar placement by @kkafar in #1843
🔢 Miscellaneous
- Update
tough-cookie
andsemver
dependencies by @tboba in #1823 - Bump versions of RNScreens, FBReactNativeSpec and RCTAppDelegate deps by @tboba in #1827
- Update
word-wrap
by @kkafar in #1834 - Format code in test examples by @kkafar in #1812
- Unify class & method naming with respect to conventions by @kkafar in #1841
New Contributors
- @piaskowyk made their first contribution in #1810
- @tboba made their first contribution in #1823
Full Changelog: 3.22.1...3.23.0