Releases: software-mansion/react-native-screens
2.14.0
Minor release introducing #624, which changes the native logic used in react-navigation
's stack
, bottom-tabs
, and drawer
navigators. 🎉
This change introduces:
- disabling usage of
react-native-screens
per navigator withdetachInactiveScreens
prop - ability to make the previous screen stay in the view hierarchy after the transition with
detachPreviousScreen
prop
You can check the changes on the side of react-navigation
in react-navigation/react-navigation#8805 and the documentation of the new props in https://reactnavigation.org/.
2.13.0
Minor release fixing bugs, improving typings, and adding some functionalities. 🎉
🐛 Bug fixes
- Check if view is not null (#671) by @WoLewicki
- Fix system font weight for large title (#689) by @glennreyes
👍 Improvements
- Add first look on GH actions (#685) by @WoLewicki
Be aware that #689 may be considered a BREAKING CHANGE since it changes how the large title looks.
🙌 Thank you for your contributions!
2.12.0
Minor release fixing bugs, improving typings, and adding some functionalities. 🎉
🐛 Bug fixes
- Fix Xcode 12 compatibility (#639) by @radko93
- Fix fullScreenModal (#643) by @WoLewicki
- Fix webview in stack (#607) by @WoLewicki
- Remove check for background color (#656) by @WoLewicki
- Add processing fonts for managed expo (#622) by @WoLewicki
- Fix eslint warnings (#669) by @WoLewicki
- Fix types for native stack to match latest react navigation (#681) by @satya164
- Silence warning (#682) by @WoLewicki
👍 Improvements
- Add support for translucent header on Android (#575) by @andreibarabas
- Add missing prop (#663) by @WoLewicki and @agarant
- Update Example with function API & React hooks (#647) by @luism3861
- Add status bar managment (#642) by @WoLewicki
- Add status bar management to v4 (#673) by @WoLewicki
🔢 Miscellaneous
- Replace deprecated useSafeArea with useSafeAreaInsets in example (#637) by @JB1905
- Note MainActivity.onCreate may need an override to avoid crashes (#652) by @mikehardy
- Bring alphabetical order (#664) by @WoLewicki
- Silence eslint ts-ignore warnings (#672) by @WoLewicki
🙌 Thank you for your contributions!
2.11.0
Minor release fixing bugs, improving typings, and adding some functionalities. 🎉
🐛 Bug fixes
- Fix keyboard not hiding on RN 62+ (#592) and follow-up: fix a problem with keyboard staying open on Android after screen change (#603) by @kmagiera
- Change update logic (#600) and follow-up: fix change condition (#613) by @kmagiera and @WoLewicki
- Separate iOS-specific code (Fix tvOS build) (#598) by @Krisztiaan @hufkens @gaborkajtar
- Add
AppContainer
to modal screens (#614) by @WoLewicki - Check if in a modal (#620) by @WoLewicki
- Fix
ScrollView
behavior on transitioning between screens (#594) by @WoLewicki
👍 Improvements
- Enable dev menu on Android (#602) by @WoLewicki
- Add RTL support (#580) by @WoLewicki
- Add optional screens per navigator (#636) by @WoLewicki
🔢 Miscellaneous
- Add info about measuring header's height (#601) by @WoLewicki
- Add info about restoring fragments (#626) by @WoLewicki
🙌 Thank you for your contributions!
2.10.1
2.10.0
Minor release fixing bugs, improving typings, and adding some functionalities, from which the biggest one is navigation events (#499). 🎉
New Features 🎉
- Add modal types by @WoLewicki and @pvinis (#551)
- Add RN 0.63 to Example by @WoLewicki (#560)
- Add header blur effect by @WoLewicki (#512)
- Update example to react-navigation 5.x by @michaelgmcd (#470)
- Add transitionStart and transitionEnd events by @janicduplessis (#499)
- Add replace animation by @WoLewicki (#486)
Bug Fixes 🐛
- Don't clip custom header subviews on Android by @janicduplessis (#453)
- Fix line endings in android/gradlew.bat by @janicduplessis (#562)
- Set final frame of fade animation by @WoLewicki (#527)
- Trigger color change on every update by @WoLewicki (#552)
Other Changes 👍
- Load Android Gradle Plugin conditionally by @SaeedZhiany (#459)
- General Housekeeping by @codecog (#584)
🙌 Thank you all for your contributions!
2.9.0
Minor release adding the compilation of the files before publishing #517 by @satya164, changing the company logo #537 by @jakub-gonet and clarification of README by @brentvatne.
It also adds #545 by @brentvatne, which introduces additional padding to the header, which is a BREAKING CHANGE and will cause the header to have too much top padding in case of not having a translucent status bar.
There are two ways to handle it:
- Recommended - use translucent status bar via RN StatusBar component (if you already don't use it) - https://reactnative.dev/docs/statusbar#translucent.
- Set headerTopInsetEnabled to false (it is true by default) if you want an opaque status bar.
2.8.0
Minor release fixing bugs, improving typings, and adding some functionalities.
New Features 🎉
- support header title color by @agarant (#455)
- allow disabling modal animations by @jacobp100 (#502)
- add support for back button image in native stack by @chirag04 (#515)
- Add props to headerLeft and headerRight by @AzzouDuGhetto (#500)
Bug Fixes 🐛
- fix user interface style in native stack view controllers by @tsapeta (#481)
- fix disabling gestures in native-stack on Android by @WoLewicki (#496)
- remove default active prop on the web by @WoLewicki (#510)
- disable shadow if needed by @WoLewicki (#516)
- fix type for onFinishTransitioning, remove event from native-stack by @janicduplessis (#497)
Other Changes 👍
- upgrade dependencies and types by @WoLewicki (#475)
- run prettier on all files by @satya164 (#519)
- remove maven gradle plugin and installArtifacts task on Android by @jkadamczyk (#511)
🙌 Thank you all for your contributions!