npm react-native-screens 4.21.0

8 hours ago

What's Changed

Minor release bringing a variety of improvements, including enhanced support for xcassets and initial model for the new native stack implementation. This version also includes several important bug fixes and enhancements, especially for modals, stacks, and opening the dev menu from a key event on Android.

🟢 Improvements

  • feat(iOS): add xcassets support by @ajanuar in #3443
  • feat(Android): Make commit hook condition for resetting screen size more general by @kmichalikk in #3508
  • feat(Android, Stack v5): add skeleton native implementation by @kkafar in #3531
  • feat(Android, Stack v5): handle preloading screens by @kligarski in #3576

🐛 Bug fixes

  • fix(iOS, Stack): Add compression resistance to button item by @LeviWilliams in #3548
  • fix(iOS): FullWindowOverlay is not mounted when fullScreenModal is presented by @kkafar in #3553
  • fix(Android, FormSheet): Account initial translationY for default animation by @t0maboro in #3564
  • fix: Remove interaction disabling code for modals by @kmichalikk in #3555
  • fix(Android, FormSheet): Constraint calculations by screen size by @t0maboro in #3566
  • fix: Correct screen size change comparison by @kmichalikk in #3571
  • fix(iOS): modal content flicker during enter transition on iPad by @kkafar in #3345
  • fix(Android, Fabric): Fix crash when sending key event for opening dev menu by @t0maboro in #3586
  • fix(iOS): fix tvOS compilation in split-view by @douglowder in #3590
  • fix(iOS): fix possible build issues on Mac Catalyst due to implicit conversions by @kkafar in #3594
  • fix(iOS, Stack): Fix for reattaching Screens when swiping back quickly by @t0maboro in #3584
  • fix(iOS, Tabs): Request layout pass after loading image from source by @t0maboro in #3596

🔢 Misc

  • chore(deps): bump tar from 7.4.3 to 7.5.3 in /FabricExample by @dependabot[bot] in #3541
  • chore: Bump react-native to 0.84-rc1 by @kmichalikk in #3543
  • chore: Disable prebuilt RN core for FabricExample by @kmichalikk in #3552
  • chore(deps): aggregate dependabot updates by @kkafar in #3565
  • chore(deps): bump vm2 from 3.9.19 to 3.10.3 by @dependabot[bot] in #3575
  • chore: Bump react-navigation and update Test2560 to cover sheetResizeAnimationEnabled by @t0maboro in #3581
  • chore: Add information about keyboard handling to sheetLargestUndimmedDetentIndex by @t0maboro in #3582
  • chore: Add platform annotation and rephrase sheetLargestUndimmedDetentIndex remark by @t0maboro in #3583
  • chore: Refactor library examples & tests by @kmichalikk in #3528
  • fix(Android, Examples): Fix crashes in examples below API level 29 by @t0maboro in #3588
  • chore(deps): aggregate dependabot updates for tar by @kkafar in #3595

New Contributors

Full Changelog: 4.20.0...4.21.0

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

NewReleases is sending notifications on new releases.