Skip to content

5.0.0-alpha.1

Pre-release
Pre-release

Choose a tag to compare

@kmichalikk kmichalikk released this 24 Jul 10:26
577c3c1

What's changed

This is the first alpha release of react-native-screens 5.0.0. We're shifting focus on the new version and moving the new components out of experimental package - they are now available via direct import from react-native-screens.

Old components are now considered legacy, however they are still importable from the main package.
We intend to keep exporting and support these "legacy" components until we release 5.0.0 stable with stable new Native Stack implementation. We also still plan to release a few minor/patch versions of the v4 line of the library. We don't plan to merge any "big" new features there, however.

✅ Improvements

  • chore(Android): bump Material to 1.14.0 (#4348)
  • chore(test): add stack lifecycle events screen test with scenario (#4305)
  • chore(test, iOS): add e2e test for Stack Header Icons (#4343)
  • chore: Move legacy shadow nodes and component descriptors to legacy directory (#4367)
  • chore: Move new Android implementation out of gamma directory (#4392)
  • chore: Move new JS implementation out of gamma dir (#4388)
  • chore: Move new iOS implementation out of gamma directory (#4390)
  • chore: Move v4 Android code to legacy directory (#4374)
  • chore: Move v4 JS code to legacy directory (#4364)
  • chore: Move v4 iOS code to legacy directory (#4370)
  • chore: block the possibility to create plain-text issues and update agents instructions (#4366)
  • chore: remove explicit react-native peer dependency version from package config (#4328)
  • feat(Android, FormSheet v5): Add initialDetentIndex support (#4294)
  • feat(Android, FormSheet v5): Add onDetentChanged support (#4292)
  • feat(Android, FormSheet v5): Add support for preferredCornerRadius (#4282)
  • feat(Android, FormSheet v5): Add support for native container background color (#4283)
  • feat(Android, Stack v5): add accessibilityLabel for toolbar menu items (#4250)
  • feat(Android, Stack v5): support sending multiple updates via view command (#4243)
  • feat(Android, Stack v5): use M3 Expressive theme for App Bar (#4365)
  • feat(Stack v5, iOS): Add displayAsPalette flag for menu (#4307)
  • feat(Stack v5, iOS): Add displayInline flag to menu (#4300)
  • feat(Stack v5, iOS): Implement basic view commands for iOS header menu (#4339)
  • feat: Move Stack, Split, FormSheet, ScrollViewMarker out of experimental (#4394)
  • feat: Remove RNS_GAMMA_ENABLED and derivatives (#4391)
  • refactor(iOS, FormSheet v5): Set RootNodeKind trait for FormSheet, drop contentOriginOffset (#4306)
  • refactor(test): Add scenario for Stack v5 preventNativeDismiss with nested stack (#4279)
  • refactor(test): Correct and clarify tabs test scenarios (#4308)
  • refactor(test): add scenario for test-stack-simple-nav (#4270)
  • refactor(test): cover PlatformColor in tabs appearance SFT (#4326)
  • refactor(test): rename and add scenario for test-stack-prevent-native-dismiss-single-stack (#4272)
  • refactor(test): update existing stack test scenarios (#4333)
  • refactor(test, Android): add manual scenario for stack transition animations (#4288)

🐞 Bugfixes

  • fix(Android): defensively guard against an unexpected menuItem Id (#4335)
  • fix(Android, Stack v4): default consume*Inset props to true (#4322)
  • fix(Android, Stack v5): Prevent screen unmounting on fast navigation (fix transition finalization) (#4342)
  • fix(Android, Stack): don't add top inset to measured header height when it's disabled (#4357)
  • fix(Android, Tabs): fix potential crash with container state restoration (#4341)
  • fix(iOS, Split): Fix ShadowState inside SplitView columns after transition (#4309)
  • fix(iOS, Stack v4): Prevent accounting header in contentHeight when it's transparent (#4321)
  • fix(types): make published Screen typing independent of RN's Animated types (#4320)

Misc

  • chore(Stack v5, iOS): Add missing imports for iOS SFTs (#4327)
  • chore(examples): allow explicit undefined for defaultRouteName in TabsContainerStateInitArg (#4353)
  • chore: Update software-mansion/npm-package-publish and add toggle to force publish from main (#4398)
  • chore: aggregate dependabot updates (#4380)
  • chore: bump react-navigation submodule version (#4355)
  • refactor(test): add missing export for TestStackTabsStackInTabsBaseNavigation (#4317)