Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump example apps to React Native 0.77 #6768

Merged
merged 48 commits into from
Jan 13, 2025
Merged

Conversation

tomekzaw
Copy link
Member

@tomekzaw tomekzaw commented Nov 27, 2024

Summary

This PR bumps react-native in paper-example and fabric-example from 0.76.5 to 0.77.0-rc.6 (golden RC) accordingly to https://react-native-community.github.io/upgrade-helper/?from=0.76.5&to=0.77.0-rc.6.

Apart from this, changes have been made in macos-example, tvos-example and web-example to align versions of common native dependencies so they are hoisted by yarn.

I had to patch @shopify/flash-list:

Changes required by Reanimated to support RN 0.77 have been moved to separate PRs for the sake of atomicity and transparency:

Test plan

@tomekzaw tomekzaw force-pushed the @tomekzaw/react-native-0.77 branch from dbab7c3 to 1878fa9 Compare December 17, 2024 17:08
kkafar added a commit to software-mansion/react-native-screens that referenced this pull request Jan 10, 2025
## Description

Adding support for react-native 0.77. 
After this PR is merged the library will support 0.74+ Paper and 0.77
Fabric.

Please note, that I haven't notice any not-handled breaking changes -
the library should work with versions down to 0.72 on old architecture
and at least down to 0.76 on Fabric, however we won't extend issue
resolving to these versions.

## Changes

* adjusted example apps on both architectures with changes from upgrade
helper,
* bumped `safe-area-context` to 5.0.0 (it comes with support for Paper
0.74+) in examples (not lib!),
* patched `safe-area-context`:
* AppAndFlow/react-native-safe-area-context#566
* Removed patches for and dependencies on reanimated and gesture-handler
- awaiting for support, see below 👇🏻 (comment) <-- **this must be
restored for e2e to work!!!**
* Reanimated uses [the
patch](software-mansion/react-native-reanimated#6768 (comment))
* Gesture handler has been set to [current
main](https://github.com/software-mansion/react-native-gesture-handler/tree/c3ced78e1608e63b5b3a9bca0c66cc11f4029605)



## Test code and steps to reproduce

When doing some quick checks I haven't noticed any obvious regressions.

## Checklist

- [ ] Ensured that CI passes

---------

Co-authored-by: Marc Rousavy <marcrousavy@hotmail.com>
@tomekzaw tomekzaw changed the title Add support for React Native 0.77 Bump example apps to React Native 0.77 Jan 10, 2025
@tomekzaw tomekzaw requested a review from piaskowyk January 10, 2025 20:43
@tomekzaw tomekzaw marked this pull request as ready for review January 10, 2025 20:43
@tomekzaw tomekzaw added this pull request to the merge queue Jan 13, 2025
Merged via the queue into main with commit 5d5a435 Jan 13, 2025
16 checks passed
@tomekzaw tomekzaw deleted the @tomekzaw/react-native-0.77 branch January 13, 2025 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants