History log of /expo/tools/src/commands/UpdateReactNative.ts (Results 1 – 10 of 10)
Revision Date Author Comments
# 22b45c56 28-Sep-2022 Kudo Chien <[email protected]>

Upgrade react-native 0.70 (#19261)

# Why

update react-native to 0.70 for sdk 47

# How

- update package versions
- `react` 18.0.0 -> 18.1.0
- `react-native` 0.69.5 -> 0.70.1
- `reac

Upgrade react-native 0.70 (#19261)

# Why

update react-native to 0.70 for sdk 47

# How

- update package versions
- `react` 18.0.0 -> 18.1.0
- `react-native` 0.69.5 -> 0.70.1
- `react-native-web` ~0.18.7 -> ~0.18.9
- `react-test-renderer` 18.0.0 -> 18.1.0
- `metro-react-native-babel-preset` ~0.70.3 -> ~0.72.1
- `react-native-reanimated` 2.9.1 -> 2.10.0 (because 2.9 doesn't support react-native 0.70)
- [NCL] remove unused react-native-redash
- [NCL] `@react-navigation/native` ~5.8.9 -> ~5.9.8 (fixed the deprecated Linking.removeEventListener)
- migrate templates based on [rn-upgrade helper](https://react-native-community.github.io/upgrade-helper/?from=0.69.5&to=0.70.1). one exception is that we still use jsc by default in sdk 47.
- expo-template-bare-minimum
- bare-expo
- bare-sandbox
- fabric-tester
- native-tests
- android (expo go)
- ios (expo go)
- update our react-native fork to 0.70 based
- [android] use ReactAndroid directly from _react-native-lab/react-native/ReactAndroid_ without copying a lot of files to expo/expo to increase the repo size. close ENG-4562. i will remove _android/ReactAndroid_ and _android/ReactCommon_ in a separate commit.
- toward this, i also change the prebuiltHermes support in this pr. the target react-native hermes version is in `react-native-lab/react-native/sdks/.hermesversion` and the cached hermes is now in `android/prebuiltHermes/.hermesversion`.
- [tools] update-rn: support running transformer directly in _react-native-lab/react-native_
- [ios] backport folly version to previous versioned code
- [0.70 breaking change] fix skia build error for `jsi::detail::throwJSError`. use `throw jsi::JSError` instead as upstream latest code.
- [0.70 breaking change][updates] `NativeModuleCallExceptionHandler -> JSExceptionHandler`. change from https://github.com/facebook/react-native/commit/b6f7689d701d0409c23ab364356aeb95710c20fa

# Test Plan

- ✅ android expo go + unversioned NCL
- ✅ ios expo go + unversioned NCL
- ✅ android bare-expo
- ✅ ios bare-expo
- ✅ android fabric-tester
- ✅ ios fabric-tester
- ✅ ci passed
- android client - eas build is broken on main. #19270 may address the issue.
- updates e2e is broken on main. the root cause should come from #18653 when proguard is enabled, the app will crash. will follow up in separated pr.

Co-authored-by: Tomasz Sapeta <[email protected]>

show more ...


# f194f574 05-Jul-2022 Wojciech Kozyra <[email protected]>

[versioning][android] Support react-native 69 (#18032)

* [skip ci] suppoort rn69

* version expo-modules-core

* review feedback + small cleanup


# 96634eea 26-Jun-2022 Kudo Chien <[email protected]>

[ios] Update react-native to 0.69 for expo go (#17629)

# Why

upgrade react-native for sdk 46

# How

- update our react-native fork
- [android] add hermes-engine prebuilding. the main change

[ios] Update react-native to 0.69 for expo go (#17629)

# Why

upgrade react-native for sdk 46

# How

- update our react-native fork
- [android] add hermes-engine prebuilding. the main change is [here](https://github.com/expo/react-native/commit/8bb810c9860fc1e49d9f55bb3929ad0eb534f441). because in expo-go we are building react-native from source. in 0.69 it also means to build hermes from source. that will make our ci time more difficult.
- [expo][android] add ReactNativeHostWrapper for 0.69 because `com.facebook.react.devsupport.interfaces.RedBoxHandler` package renaming.
- update some expo modules to support 0.69

**TODO**
`et update-rn` is not included in this pr. i will do it later and commit directly. because that includes mass changes and makes review very difficult.

# Test Plan

update react-native, react, in expo/expo and test NCL with android/ios unversioned expo go

Co-authored-by: Tomasz Sapeta <[email protected]>

show more ...


# 14e48815 06-Apr-2022 Kudo Chien <[email protected]>

[tools] remove unused import


# d566f199 06-Apr-2022 Kudo Chien <[email protected]>

[android][ios] Upgrade expo go to react-native 0.68 (#16752)

# Why

upgrade for sdk 45

# How

- upgrade our react-native fork to 0.68 based: https://github.com/expo/react-native/tree/sdk-45

[android][ios] Upgrade expo go to react-native 0.68 (#16752)

# Why

upgrade for sdk 45

# How

- upgrade our react-native fork to 0.68 based: https://github.com/expo/react-native/tree/sdk-45
- migrate android/ios projects to 0.68
- [android] bump `targetSdkVersion` and `compileSdkVersion` to 31 (aligned with react-native 0.68)
- [tools] update codegen customization in `update-rn` script
- [tools] update versioning scripts
- [android] replace our customized `NDK_ABI_FILTERS` with official supported `reactNativeArchitectures` gradle property
- [android] use jdk 11

that is a huge pr because of changes from `et update-rn`. recommend to review this pr by commits.

most `add-sdk` problems on 0.68 are fixed. there are still an issue on android. i'll address in another pr.

- expo-av CMakeLists.txt versioning

# Test Plan

- unversoned android expo-go + ncl
- unversoned ios expo-go + ncl
- `et add-sdk -p ios -s 45.0.0` + versioned ios sdk 45 expo-go + ncl
- `et add-sdk -p android -s 45.0.0` + versioned android sdk 45 expo-go + ncl (should commented out expo-av in `ExperiencePackagePicker.kt`

show more ...


# ae7ef0fe 28-Feb-2022 Bartosz Kaszubowski <[email protected]>

[tools] remove unused const to fix build (#16464)


# 2ed31047 24-Feb-2022 Kudo Chien <[email protected]>

[android][ios] Upgrade react-native to 0.67.2 in Expo Go (#16400)

# Why

upgrade for sdk 45

# How

## upgrade react native fork

code in https://github.com/expo/react-native/tree/sdk-45
ba

[android][ios] Upgrade react-native to 0.67.2 in Expo Go (#16400)

# Why

upgrade for sdk 45

# How

## upgrade react native fork

code in https://github.com/expo/react-native/tree/sdk-45
basically cherry pick most necessary commits from sdk-44 branch but not these two:

1. https://github.com/expo/react-native/commit/125b36ac6d76e702bea4d7c41a8a402d68cdb1f1: because ExpoKit is already deprecated.
2. https://github.com/expo/react-native/commit/82d3ff5218cc576b5c7ea44c7adbf8b5aa5d985c: [use the official way to set metro server address](https://github.com/facebook/react-native/commit/e2b5b6504cb4dee8f2ec67f1d3a410801e1ca09a)

## migrate project setup

basically reference from: https://react-native-community.github.io/upgrade-helper/?from=0.64.2&to=0.67.2

## other build errors or launch errors

just to deal with these mess one by one.

# Test Plan

- [android] unversioned expo-go build + launch + load unversioned NCL
- [ios] unversioned expo-go build + launch + load unversioned NCL

show more ...


# d49e7070 05-Aug-2021 Kudo Chien <[email protected]>

[react-native] Upgrade to 0.64.2 (#13793)

# Why

Upgrade react-native to 0.64.2 for SDK 43

# How

- [x] Fork `react-native-lab/react-native` from `react-native` 0.64-stable branch and cherry-

[react-native] Upgrade to 0.64.2 (#13793)

# Why

Upgrade react-native to 0.64.2 for SDK 43

# How

- [x] Fork `react-native-lab/react-native` from `react-native` 0.64-stable branch and cherry-pick necessary patches from `exp-latest`
- [x] Bump package versions:
- react "16.13.1" → "17.0.1"
- react-dom "16.13.1" → "17.0.1"
- react-native "0.63.2" → "0.64.2"
- react-test-renderer "~16.13.1" → "~17.0.1"
- @types/react-native "~0.63.2" → "~0.64.12"
- @babel/core "^7.0.0" → "^7.12.9"
- metro-react-native-babel-preset "~0.59.0" → "~0.64.0"
- jest "^25.2.0" → "^26.6.3"
- [x] bare-expo: sync project setup from [upgrade helper](https://react-native-community.github.io/upgrade-helper/?from=0.63.2&to=0.64.2)
- [x] Fix JS Error parsing error from [upstream change](https://github.com/facebook/react-native/commit/9edfc43aad2f68be8a37)
- [x] Expo Go for iOS:
- Folly.podspec -> RCT-Folly.podspec for old SDKs
- Upgrade reanimated vendoring script to support RN 0.64
- Update reanimated install binding with RCTJSIExecutorRuntimeInstaller
- [x] Expo Go for Android:
- Fix hanging from loading bundle which ReactRootView not attached to ReactInstanceManager from [upstream change](https://github.com/facebook/react-native/commit/2c896d35782cd04c873aefadc947447cc30a7f60)


Could use this command to make review easier:
`git diff master...HEAD -- . ':!android/ReactCommon' ':!android/ReactAndroid/src'`

# Test Plan

- Bare Expo
- [x] iOS runs
- [x] Android runs
- [x] Web runs
- Expo Go with NCL
- [x] unversioned QA on iOS
- [x] unversioned QA on Android
- [x] Could load SDK 42 project on iOS
- [x] Could load SDK 42 project on Android
- Shell app
- [x] iOS build passed
- [x] Android build passed

show more ...


# 67b999ad 02-Jun-2021 Tomasz Sapeta <[email protected]>

[ci][android] Build only one architecture in client-android (#13056)


# eeffdb10 21-Dec-2020 Tomasz Sapeta <[email protected]>

[tools] Move tools/expotools one folder up (#11410)