Releases: software-mansion/react-native-screens
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
3.22.1
Patch release bringing back old behaviour of formSheet
modal on iOS when using @react-navigation/native-stack
.
What's Changed
Fixes
Internal
- chore: fix CI by @kkafar in #1803
- chore(deps): update selected deps in examples by @kkafar in #1807
- chore: fix typo in docs by @aleqsio in #1808
New Contributors
Full Changelog: 3.22.0...3.22.1
3.22.0
Minor release fixing some build issues that could happen on older Xcode versions & with Android SDK 34.
What's Changed
- fix: canvas nullability in ScreenStack for Android SDK 34 by @kkafar in #1795
- fix: ifdef orientation code that requries iOS 16 by @kkafar in #1794
- chore: update & reinstall selected deps by @kkafar in #1798
Full Changelog: 3.21.1...3.22.0
3.21.1
Patch release adding internal isNewBackTitleImplementation
constant for use in @react-navigation/native-stack
.
See #1791 & react-navigation/react-navigation#11423 for details.
3.21.0
Minor release with support for React Native 0.72 on New Architecture, fixing some bugs and adding new functionalities.
Please note that support for react-navigation
v4 has been dropped with this version and you can no longer use native-stack
v4 starting from this version. It might be considered a BREAKING CHANGE so be careful with updating.
What's Changed
- chore: migrate codegen to TypeScript by @kkafar in #1600
- chore: update README on Fabric support by @kkafar in #1687
- feat(iOS): back button subview for Fabric by @kkafar in #1581
- fix(iOS): image loading for back button on Fabric by @kkafar in #1688
- chore: refactor medium detent iOS implementation by @kkafar in #1699
- feat(Android): add native default animations on Android 13 by @kkafar in #1693
- chore: fix e2e detox tests &
Example
by @kkafar in #1681 - fix(iOS): status bar does not respect app theme by @kkafar in #1708
- chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 by @dependabot in #1709
- chore: change fabric flag by @WoLewicki in #1705
- chore(CI): extend timeout for Android e2e by @kkafar in #1711
- chore: update deps in examples by @kkafar in #1714
- chore: update library & examples dependencies by @kkafar in #1721
- fix: Android build for
compileSdk < 33
by @kkafar in #1723 - feat: add imperative API for search bar by @kkafar in #1610
- chore(deps): bump shell-quote from 1.6.1 to 1.8.0 by @dependabot in #1725
- chore: improve Android anim resource management by @kkafar in #1727
- chore: fix typo in build script by @Jace-Samsung in #1733
- chore: set library namespace in build script by @Sprimage in #1717
- fix(iOS): back button not respecting style options by @tyler-coleman in #1726
- chore: override
onCreate
in example apps by @kkafar in #1736 - feat: add
setText
command on SearchBar by @kkafar in #1739 - chore(deps): bump activesupport from 6.1.4.6 to 7.0.4.3 by @kkafar in #1744
- fix: do not apply namespace if it is not available in agp by @WoLewicki in #1749
- chore(deps): bump vm2 from 3.9.14 to 3.9.15 by @dependabot in #1752
- fix: use new rotation API for iOS 16 by @kirillzyusko in #1732
- chore: improve Android 13 animations by @kkafar in #1756
- chore(deps): bump vm2 from 3.9.15 to 3.9.16 by @dependabot in #1755
- fix: ScreenStackHeaderConfig type by @tomekzaw in #1760
- feat: remove v4 from repo by @WoLewicki in #1790
- fix:Compatible with version 0.72 by @NiuGuohui in #1765
- fix: proper handling of header events on Fabric and bumping examples to 0.72 by @WoLewicki in #1783
- feat: prevent native back button dismissal on iOS by @WoLewicki in #1773
New Contributors
- @Jace-Samsung made their first contribution in #1733
- @Sprimage made their first contribution in #1717
- @tyler-coleman made their first contribution in #1726
- @NiuGuohui made their first contribution in #1765
Full Changelog: 3.20.0...3.21.0