github software-mansion/react-native-screens 4.24.0

8 hours ago

What's Changed

Minor release bringing further development to 5.0 stack implementation, nice improvements to Split API and other various improvements & fixes.

Caution

Most importantly this is the last release we've tested with legacy architecture.

From 4.25.0 on, we no longer plan to support RN versions below 0.82, which naturally comes with drop of support for legacy arch.
We plan to gradually remove the legacy architecture related code.

I want to also announce our plans regarding approach to 5.0 transition. At the moment we plan to keep releasing v4 line till we're "close to ready" with all APIs we've planed for 5.0 major. We plan to stabilise Tabs API on v4 line. When we're "close to ready" we'll release a series (rather not many) of 5.0-alpha/beta versions & after 5.0 stable release v4 branch will stay for some, not long, time in maintenance mode.
The downstream library implementers are already adopting new 5.0 APIs, they should be available for testing in the navigation library of your choice shortly.

✅ Improvements

  • feat(Android, Stack v5): prevent native dismiss support by @kkafar in #3620
  • feat(Android, Stack v5): make Transition API work by @kkafar in #3629
  • chore(iOS, Stack v4): Enable iosPreventReattachmentOfDismissedScreens by default by @t0maboro in #3652
  • feat(iOS 26): Add opt-out flag for interactions during transition for iOS 26 by @kmichalikk in #3631
  • feat(split-view): add show(column) command and topColumnForCollapsing prop by @Ubax in #3639
  • feat: add imageSource and templateSource icon support to menus by @Ubax in #3645

🐞 Bug fixes

  • fix(Android, Stack v5): fix lifecycle of prevent native dismiss callback by @kkafar in #3635
  • chore: Change constexpr to obj-c NSNumber by @kmichalikk in #3646
  • fix(iOS, Stack v4): prevent header subview memory leak by @kligarski in #3653
  • fix(Android, FormSheet): Apply workaround for controlling insets on BottomSheetBehavior by @t0maboro in #3611
  • fix(iOS, Tabs): defer scroll view behavior override until props are set by @Ubax in #3655
  • fix(Android, Stack v4): fix keyboard navigation focus for form sheet by @kligarski in #3245

🔢 Misc

Full Changelog: 4.23.0...4.24.0

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

NewReleases is sending notifications on new releases.