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

[4.x] feat: support React Native 0.76 #858

Merged
merged 4 commits into from
Jan 9, 2025
Merged

[4.x] feat: support React Native 0.76 #858

merged 4 commits into from
Jan 9, 2025

Conversation

jbroma
Copy link
Member

@jbroma jbroma commented Jan 9, 2025

Summary

Closes #857

backporting support for RN 76 to Re.Pack 4

Test plan

  • - testers work on both platforms

artus9033 and others added 4 commits January 9, 2025 22:25
* chore: upgrade to RN 0.76.0-rc.1

* fix: patch react-native (broken flow annotations)

* fix: make native code compatible with RN 0.76 reduction of .so libraries, update RNTA, update minSdkVersion

* fix: make DevServerClient comply with all required exports

* fix: upgrade deps in tester-federation (react-native-screens still incompatible)

* chore: updated pods in tester-app iOS project

* chore: updated dependencies of tester apps

* fix: proper CMakeLists.txt linkage

* chore: remove redundant babel plugins

* chore: pnpm dedupe

* chore: strip unnecessary dependencies

* fix: adjust CMakeLists as REACTNATIVE_MERGED_SO is not set for now

* fix: sanitize test asset path when react-native is patched

* fix: simplify regex, move configs to a separate dir

* fix: add babel-plugin-syntax-hermes-parser for now

* fix: path to config for start tests

* chore: track issue fixing REACTNATIVE_MERGED_SO

* chore: upgrade to RN 0.76.0-rc.2, remove to-be-unneeded patch for RN

* chore: upgrade flow-remove-types

* chore: update Podfile.lock files for tester apps

* chore: upgrade to RN to 76 rc3

* chore: cleanup in bundle tests

* chore: update podfile locks

* chore: upgrade related packages to rc.3

* fix: use hermes parser for codegen

* chore: remove Cmake workaround

* chore: update flow-remove-types

* chore: upgrade to RN to rc5

* refactor: remove unnecessary config from codegenRule

* chore: downgrade RNScreens to stable version, update requiredVersions in rspack configs, update podfile.lock

* fix: use version check instead of REACT_NATIVE_MERGED_SO flag

* chore: patch RNScreens

* chore: fix RNScreens patch

* chore: upgrade to rc6

* chore: pnpm dedupe

* chore: upgrade flow-remove-types to 2.250.0

* chore: fix rnscreens patch

* chore: add changset

---------

Co-authored-by: Jakub Romanczyk <[email protected]>
Copy link

vercel bot commented Jan 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
repack-website ⬜️ Ignored (Inspect) Jan 9, 2025 10:00pm

@jbroma jbroma merged commit afc4e23 into 4.x Jan 9, 2025
5 checks passed
@jbroma jbroma deleted the feat/support-rn-76-4x branch January 9, 2025 22:06
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