Releases: software-mansion/react-native-screens
3.34.0
Recently released 3.33.0 introduced a crash when running on Android + Fabric + "bridgefull" combination of platform / architecture. This version introduces a fix for that crash with changes in native code, thus bumping minor version.
What's Changed
🐛 Bug fixes
🔢 Miscellaneous
- Extend logging in architecture-integrity scripts & add NativeProxy.kt to blacklist by @kkafar in #2281
- Aggregate updates from dependabot by @kkafar in #2267
Full Changelog: 3.33.0...3.34.0
3.33.0
Minor release heavily focused on fixing existing Fabric bugs. This version also comes with compatibility with react-native@0.75
(in its current state - 0.75-rc.6) and a new prop for shadow control (details below).
We want to give a shoutout to @janicduplessis and every person who reported issues in our repository. This is really a big help, thanks a lot! You are the cornerstone of open source community!
Thanks for following along! 💙
What's Changed
Here's more detailed information on what changes this release introduces.
👍 Improvements
- iOS: Add shadow to custom push pop transitions by @maksg in #2239
- Support RN 0.75 by @WoLewicki in #2218
- Refactor snapshots when going back on Fabric by @WoLewicki in #2134
🐛 Bug fixes
- Android, Fabric: Fix jumping content with native header by @kkafar in #2169
- iOS, Fabric: Add missing logic for finding touch handler by @kkafar in #2193
- Android, Paper: Fix apps soft crash on exception due to detached context by @kkafar in #2199
- iOS: Fullscreenmodal color scheme adaptability by @alduzy in #2211
- Fix react-native-screens not building on visionOS by @okwasniewski in #2210
- Fix back button does not respect I18nManager & improve RTL handling in header by @alduzy in #2185
- Android, Fabric: Fix missing negation in check for mismatched frames by @kkafar in #2214
- Android: Fix header shadow not hidden on go back by @alduzy in #2216
- iOS, Paper: Fix possibility of infinite loop when swiping back in nested stack by @kkafar in #2223
- Fix bug with header hide prop on the screen under the modal by @kuczi55 in #2229
- Fix white flash on tab change when using native stack by @alduzy in #2188
- iOS: Fix push and pop transitions change after full screen back swipe by @maksg in #2234
- Fix navbar appearance customization by @alduzy in #2237
- Removed deprecated test that caused fabric bundle failure by @alduzy in #2245
- iOS, Fabric: Fix header left and right layout on fabric by @alduzy, @kkafar in #2248
- Android: Comply to breaking changes in Android SDK 35 by @kkafar in #2258
- iOS, Fabric: Take snapshot in
unmountChildComponent:index:
by @kkafar in #2261 - iOS, Fabric: Fix flickering custom header items by @alduzy, @kkafar in #2247
- iOS, Fabric: Crash while pushing n different screens at the same time by @tboba in #2249
- iOS, Fabric: Update HeaderConfig view controller after unmounting subviews by @janicduplessis in #2230
- iOS, Fabric: Fix on-interactive screen while switching between bottom-tab and native-stack navigators by @tboba in #2260
- Fabric: Fix not working animations on second-top screen by @WoLewicki in #2270
🔢 Miscellaneous
- Make eps parameter const & functions constexpr in RectUtil by @kkafar in #2195
- Reinstall pods in examples after release by @kkafar in #2192
- Update spotless & ktlint by @kkafar in #2189
- Moved android e2e to ubuntu by @alduzy in #2196
- Migrate examples to react-navigation v7 by @alduzy in #2194
- Allow project node_modules to be used in example apps by @kkafar in #2200
- Close stale issues after 2 weeks by @kkafar in #2213
- Rename
compareFrameSizes
tocheckFrameSizesEqualWithEps
by @kkafar in #2217 - Remove unnecessary workflow step by @alduzy in #2226
- Bump worklfow deps by @alduzy in #2233
- Merge example and test example apps by @alduzy in #2225
- Change gradle task for copying to new archs into JS scripts by @maciekstosio in #2224
- Using env working directory for cache deps path by @alduzy in #2244
- Added dark theme to example by @alduzy in #2242
- Remove unused code in podspec by @WoLewicki in #2241
- Unified prettier config across repository by @alduzy in #2250
- Fixes to sync archs scripts by @maciekstosio in #2259
- Removed duplicated modules from metro config by @alduzy in #2264
- Added missing icon and launch screen to fabric example by @alduzy in #2268
- Update readme with supported RN versions since 3.33.0 by @kkafar in #2273
New Contributors
Full Changelog: 3.32.0...3.33.0
3.32.0
Minor release aimed at bugfixing & internal refactorings, however not lacking few nice new features, enjoy 🎉
What's Changed
👍 Improvements
- Proper snapshot when having multiple modals by @WoLewicki in #2121
- Add support for UINavigationBackButtonDisplayMode by @maciekstosio in #2123
- Added navigationBarTranslucent option by @alduzy in #2152
- Update contributing guide by @maciekstosio in #2140
- Call onGestureCancel in modal too by @WoLewicki in #2184
🐛 Bug fixes
- Fix issues with presenting owned modals from foreign ones by @kkafar in #2113
- Fix native behavior of auto shortening back button title by @zetavg in #2105
- Fix build deprecations by @alduzy in #2116
- Fix updating bounds while changing interface orientation by @tboba in #1970
- Prevent throwing exception with
UnsatisfiedLinkError
by @piaskowyk in #2128 - Fix: back gesture activates
Pressable
elements by @kkafar in #2131 - Fix error when building paper after fabric by @maciekstosio in #2142
- Prevent iOS host object installation from getting the wrong bridge by @gabrieldonadel in #2146
- Change
-[RNSScreenContainer init]
to call-[UIView initWithFrame:]
designated initalizer by @Brett-Best in #2161 - Importing of project into Swift projects by @Brett-Best in #2160
- Change name of focus and blur events to searchFocus and searchBlur by @tboba in #2154
- Fix lint warning of CustomToolbar component by @kkafar in #2176
🔢 Miscellaneous
- Screen rewritten as functional component by @alduzy in #2111
- Migrate example apps to use react-navigation by @tboba in #2084
- Prevent setting RTL mode in test examples by @tboba in #2130
- Bump FabricTestExample to RN 74 by @WoLewicki in #2136
- Searchbar rewritten as functional component by @alduzy in #2132
- Bump Podfile.lock for example and test apps by @maciekstosio in #2133
- Add formatting of all cpp by @WoLewicki in #2138
- Bump ScreensExample to RN 74 by @alduzy in #2137
- Bump TestsExample to RN 0.74.1 by @alduzy in #2141
- Wrong app name name used in project.pbxproj by @alduzy in #2143
- Bump FabricExample to RN 0.74.1 by @alduzy in #2147
- Unify tests in test apps by @alduzy in #2135
- Extract shared example and use in in both Example and FabricExa… by @maciekstosio in #2149
- Implement missing codegen interfaces by @maciekstosio in #2163
- Add gradle task to automatically copy the codegen artifacts for paper by @maciekstosio in #2168
- Rebuild TVOSExample app with RN 0.74.1 by @alduzy in #2155
- Example apps file structure and ts support by @alduzy in #2174
- Add hire us section to readme by @kacperkapusciak in #2181
- Using common example src by @alduzy in #2173
- Fix typescript paths by @alduzy in #2182
- Bump Gradle wrapper version to 7.5.1 & not use app node_modules when running tasks from repo by @kkafar in #2186
- Bump
react-navigation
submodule with fixes for header behaviour by @kkafar in #2187 - Bump supported
react-native
versions in readme by @kkafar in #2190
New Contributors
- @zetavg made their first contribution in #2105
- @alduzy made their first contribution in #2111
- @gabrieldonadel made their first contribution in #2146
- @Brett-Best made their first contribution in #2161
Full Changelog: 3.31.1...3.32.0
3.31.1
Patch release including fixing errors during the install step in React Native applications with 3.31.0 version of React Native Screens.
Thanks for following along! 💙
What's Changed
🐛 Bug fixes
Full Changelog: 3.31.0...3.31.1
3.31.0
Minor release including adding support for React Native 0.74 and fixing targets of the touchables on the JS Stack.
Thanks for following along! 💙
What's Changed
🐛 Bug fixes
- Don't use AnimatedNativeScreen when stackPresentation prop is not set by @WoLewicki in #2107
- Change retrieving window in FullWindowOverlay by @tboba in #2031
🔢 Miscellaneous
- Bump yarn to latest stable (4.1.1) by @maciekstosio in #2097
- Add RCT-Image to RNScreens.podspec by @WoLewicki in #2089
- Fix emit type parameters by @mym0404 in #2087
New Contributors
- @mym0404 made their first contribution in #2087
- @maciekstosio made their first contribution in #2097
🙌 Thank you for your contributions!
Full Changelog: 3.31.0-rc.1...3.31.0
3.31.0-rc.1
Release candidate no.2 for version 3.31.0 that removes declarations of some events on Fabric and changes event types.
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
🐛 Bug fixes
- Add missing events by @WoLewicki in #2095
🔢 Miscellaneous
Full Changelog: 3.31.0-rc.0...3.31.0-rc.1
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