| #
72b417e4 |
| 23-Aug-2023 |
Evan Bacon <[email protected]> |
fix(router): Fix error overlay not being applied on web (#24052)
# Why
- regression in #23891.
- fix static rehydration.
- fix react refresh for web in the monorepo.
- fix react-native-web war
fix(router): Fix error overlay not being applied on web (#24052)
# Why
- regression in #23891.
- fix static rehydration.
- fix react refresh for web in the monorepo.
- fix react-native-web warnings.
---------
Co-authored-by: Expo Bot <[email protected]>
show more ...
|
| #
63fb203d |
| 21-Aug-2023 |
Kudo Chien <[email protected]> |
chore: update react-native to 0.72.4 (#24044)
close ENG-9814
- update react-native to 0.72.4 - [react-native-lab] cherry pick native changes - [babel-preset-expo] bump `metro-react-native-babel-pre
chore: update react-native to 0.72.4 (#24044)
close ENG-9814
- update react-native to 0.72.4 - [react-native-lab] cherry pick native changes - [babel-preset-expo] bump `[email protected]` - [android][ios] re-version sdk-49 code - [dev-menu][dev-launcher] rebuild js bundles
versioned expo go + sdk 49 project smoke test
show more ...
|
| #
8a424beb |
| 11-Aug-2023 |
James Ide <[email protected]> |
[lint] Upgrade to Prettier v3, typescript-eslint to v6 (#23544)
Why
---
Prettier 3 is out. Add support for it with this linter config.
**Note for reviewer:** the first commit is the one with th
[lint] Upgrade to Prettier v3, typescript-eslint to v6 (#23544)
Why
---
Prettier 3 is out. Add support for it with this linter config.
**Note for reviewer:** the first commit is the one with the actual
changes. The rest of this PR are changes to get the linter passing
(mostly autofix).
How
---
Update eslint-config-prettier and eslint-plugin-prettier. To address
deprecation warnings, also update typescript-eslint/parser and
typescript-eslint/eslint-plugin.
Because of an update to typescript-eslint/parser, we need to suppress
deprecation warnings (documented in a comment).
Regenerated test snapshots. Due to the upgraded dependencies, typecasts
and optional chaining are now auto-fixable by lint. This converts
warnings into autofixes.
Test Plan
---
`yarn test` in the linter config. Run `expotools check --all --fix-lint
--no-build --no-test --no-uniformity-check` to try this config on the
whole repo.
---------
Co-authored-by: Expo Bot <[email protected]>
show more ...
|
| #
26ad19fc |
| 01-Aug-2023 |
Evan Bacon <[email protected]> |
migrate expo-router to expo/expo (#23725)
# Why
Migrate expo-router to expo/expo from expo/router so we can version it
with the Expo SDK. Also required for further integration with Expo CLI,
ex
migrate expo-router to expo/expo (#23725)
# Why
Migrate expo-router to expo/expo from expo/router so we can version it
with the Expo SDK. Also required for further integration with Expo CLI,
expo-font, expo-image, etc.
# How
- Migrate `expo-router`, and `@expo/metro-runtime`.
- Fold `expo-head` into `expo-router`.
- Integrate in `apps/sandbox` for low-stakes testing. Another PR can
pull in.
# Test Plan
- `apps/sandbox` starts on all platforms and pulls from expo-router in
the `packages` directory.
<!--
Please describe how you tested this change and how a reviewer could
reproduce your test, especially if this PR does not include automated
tests! If possible, please also provide terminal output and/or
screenshots demonstrating your test/reproduction.
-->
# Checklist
<!--
Please check the appropriate items below if they apply to your diff.
This is required for changes to Expo modules.
-->
- [ ] Documentation is up to date to reflect these changes (eg:
https://docs.expo.dev and README.md).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
---------
Co-authored-by: Expo Bot <[email protected]>
show more ...
|
| #
0197c158 |
| 12-Jul-2023 |
Tomasz Sapeta <[email protected]> |
Update react-native to 0.72.3 (#23502)
Basically just updates what was done in #23476 as `[email protected]`
came out today.
---------
Co-authored-by: Tomasz Sapeta <[email protected]
Update react-native to 0.72.3 (#23502)
Basically just updates what was done in #23476 as `[email protected]`
came out today.
---------
Co-authored-by: Tomasz Sapeta <[email protected]>
show more ...
|
| #
0381251e |
| 12-Jul-2023 |
Tomasz Sapeta <[email protected]> |
Update react-native to 0.72.2 (#23476)
# Why
Updating RN to 0.72.2
# How
- Updated the submodule
- Updated versions in dependencies (including templates)
- Updated Podfile locks
# Test
Update react-native to 0.72.2 (#23476)
# Why
Updating RN to 0.72.2
# How
- Updated the submodule
- Updated versions in dependencies (including templates)
- Updated Podfile locks
# Test Plan
Checked if bare-expo builds and quickly ran through some tests and
examples – all seem good.
---------
Co-authored-by: Tomasz Sapeta <[email protected]>
Co-authored-by: Brent Vatne <[email protected]>
show more ...
|
| #
895fafd4 |
| 03-Jul-2023 |
Kudo Chien <[email protected]> |
chore: update react-native to 0.72.1 (#23262)
# Why
update react-native 0.72.1 for sdk 49
# How
- bump react-native to 0.72.1
- re-version android/ios sdk 49 code
- [react-native-lab] che
chore: update react-native to 0.72.1 (#23262)
# Why
update react-native 0.72.1 for sdk 49
# How
- bump react-native to 0.72.1
- re-version android/ios sdk 49 code
- [react-native-lab] cherry-pick necessary commits between 0.72.0..0.72.1
# Test Plan
- ci passed
- bare-expo
- versioned expo go
show more ...
|
| #
a9c42bb2 |
| 22-Jun-2023 |
Kudo Chien <[email protected]> |
chore: update [email protected] (#23014)
# Why
update 0.72.0 for sdk 49
# How
- there's no new changes since rc.6, it's just version bumps and lock file updates.
- [react-native-lab] reb
chore: update [email protected] (#23014)
# Why
update 0.72.0 for sdk 49
# How
- there's no new changes since rc.6, it's just version bumps and lock file updates.
- [react-native-lab] rebase our changes on top of 0.72.0. also brings a new commit for ios versioning in #23012
---------
Co-authored-by: Brent Vatne <[email protected]>
show more ...
|
| #
7603b8a1 |
| 16-Jun-2023 |
Kudo Chien <[email protected]> |
chore: update [email protected] (#22898)
# Why
0.72.0-rc.6 coming with some meaningful fixes, let bump this version for sdk 49 development & testing.
# How
- update [email protected]
chore: update [email protected] (#22898)
# Why
0.72.0-rc.6 coming with some meaningful fixes, let bump this version for sdk 49 development & testing.
# How
- update [email protected]
- [react-native-lab] cherry-picks commits between rc.5..rc.6
- [templates][go][bare-expo][fabric-tester] apply workaround for gradle 8 + java 17 build error
- [go] update to gradle 8 (i missed this one when updating 0.72)
# Test Plan
ci passed
show more ...
|
| #
c0a96678 |
| 07-Jun-2023 |
Kudo Chien <[email protected]> |
Upgrade react-native 0.72.0-rc.5 (#22588)
# Why
upgrade react-native 0.72 for sdk 49
close ENG-8011
# How
- bump package versions
- `react-native 0.71.3 -> 0.72.0-rc.5`
- `metro-reac
Upgrade react-native 0.72.0-rc.5 (#22588)
# Why
upgrade react-native 0.72 for sdk 49
close ENG-8011
# How
- bump package versions
- `react-native 0.71.3 -> 0.72.0-rc.5`
- `metro-react-native-babel-preset 0.73.9 -> 0.76.5`
- [bare-expo][templates][fabric-tester] migrate template base on [upgrade-helper](https://react-native-community.github.io/upgrade-helper/?from=0.71.7&to=0.72.0-rc.5)
- [expo-template-tabs] remove the metro version overrides for expo-router.
- [core][dev-laucher][dev-menu][media-library][screen-orientation][splash-screen][updates-interface][updates] add the `install_modules_dependencies` to support new architecture + use_frameworks!
- [core][autolinking] fix some new architecture error on ios
- [react-native-lab] update our fork to 0.72.0-rc.5 based
- [go][tools] fix **react-native-lab/react-native/packages/react-native** path move because of react-native's repo monorepo changes
- [go][android] fix gradle 8 errors
- [go][ios] add `RCT_REMOTE_PROFILE=0` to fix the `RCT_ENABLE_INSPECTOR needs to be set to fulfill RCT_REMOTE_PROFILE` build error
- [ncl] remove `ProgressViewIOS` / `ProgressBarAndroid` since they are deprecated/removed in 0.72
- [dev-menu][dev-launcher] rebuild bundles
# Note
- react-native-web is not bumped because of the [issue](https://github.com/necolas/react-native-web/issues/2523), so it's still react-native-web@~0.18.10.
- currently disable ci typecheck for @expo/cli because of upstream metro typescript support. i'll have another pr to fix those errors.
- updates e2e ci on android is broken at [here](https://github.com/expo/expo/blob/fada3d764957779fbfc3d7b723d185db1d933d95/packages/expo-updates/e2e/fixtures/Updates.e2e.ts#L518). i doubt if that's related to the react scheduler change. i'd disabled the failed test case.
- the react-native upstream [migrated away the `@types/jest`](https://github.com/facebook/react-native/pull/36068). i was afraid that will be a breaking change to the existing jest test code since it requires the explicit `@jest/globals` import. i didn't do this in this upgrade.
# Test Plan
- ✅ fabric-tester (without expo-dev-client)
- ✅ ci passed. there are some errors which are known:
- updates e2e on android: as mentioned above
- ios expo go on eas build: versioned expo go are broken on eas build m1 worker. this is also happening on main.
- android client: no space left on the ubuntu worker. this is also happening on main.
- ✅ bare-expo
- ✅ unversioned expo go + ncl
---------
Co-authored-by: Tomasz Sapeta <[email protected]>
show more ...
|
| #
ab35a1c5 |
| 26-Apr-2023 |
Kudo Chien <[email protected]> |
Upgrade react-native 0.71.7 (#22253)
upgrade react-native 0.71.7 for ios hermes performance regression and samsung textinput issues: https://github.com/facebook/react-native/releases/tag/v0.71.7
-
Upgrade react-native 0.71.7 (#22253)
upgrade react-native 0.71.7 for ios hermes performance regression and samsung textinput issues: https://github.com/facebook/react-native/releases/tag/v0.71.7
- update `[email protected]` in package.json - update our react-native fork to 0.71.7 - re-version sdk 48 code because there are ios hermes changes and android java code changes - [skia] fix build error on xcode 14.3 - [dev-menu][dev-launcher] update bundles
- ci passed - cli and versioned ios client eas build are expected to fail on sdk-48. - android/ios versioned expo go + ncl
(cherry picked from commit b0d7000924600e305b68b8a1f873d575bbfec7ec)
show more ...
|
| #
220bab53 |
| 03-Apr-2023 |
Kudo Chien <[email protected]> |
[packages][templates] update react-native 0.71.6 (#21909)
# Why
update react-native 0.71.6 for sdk 48. the changelog is at https://github.com/facebook/react-native/releases/tag/v0.71.5 and https:
[packages][templates] update react-native 0.71.6 (#21909)
# Why
update react-native 0.71.6 for sdk 48. the changelog is at https://github.com/facebook/react-native/releases/tag/v0.71.5 and https://github.com/facebook/react-native/releases/tag/v0.71.6 which has some meaningful fixes.
# How
update package versions
# Test Plan
ci passed
show more ...
|
| #
5ece2faf |
| 21-Mar-2023 |
Kudo Chien <[email protected]> |
[apps][templates][go] bump to react-native 0.71.4 (#21781)
bump [email protected] for sdk 48 patch release
- bump packages - react-native: 0.71.3 -> 0.71.4 - metro-react-native-babel-preset:
[apps][templates][go] bump to react-native 0.71.4 (#21781)
bump [email protected] for sdk 48 patch release
- bump packages - react-native: 0.71.3 -> 0.71.4 - metro-react-native-babel-preset: 0.73.7 -> 0.73.8 - [react-native-lab] mainly react-native bump and hermes bump - reversion ios and android sdk 48 code, mainly for versioned hermes.
ci passed versioned expo go + ncl
show more ...
|
| #
d9b937f3 |
| 16-Feb-2023 |
Kudo Chien <[email protected]> |
Upgrade react native to 0.71.3 (#21227)
# Why
add fixes from react-native 0.71.3 for sdk 48.
# How
- [react-native-lab] mainly bump version. most changes between 0.71.2 <-> 0.71.3 are unrel
Upgrade react native to 0.71.3 (#21227)
# Why
add fixes from react-native 0.71.3 for sdk 48.
# How
- [react-native-lab] mainly bump version. most changes between 0.71.2 <-> 0.71.3 are unrelated native changes
- bump react-native 0.71.3
- bump jsc-android to 250231 which is 250230 but building with ndk r23
- re-version android and ios sdk 48 code because of react native version bump
- there are some stripe code changes because i didn't backport the changes when adding sdk 48 android code
- upload the new sdk 48 android aar to release page: https://github.com/expo/react-native/releases/tag/sdk-48.0.0
- [ci] fix `pod install` error on eas build because of hermes-engine bump - by disabling `cacheDefaultPaths` which caching old Podfile.lock file
# Test Plan
- ci passed
- android versioned expo go + sdk 48 ncl smoke test
- ios versioned expo go + sdk 48 ncl smoke test
- android versioned expo go + stripe example
show more ...
|
| #
441852af |
| 02-Feb-2023 |
Kudo Chien <[email protected]> |
Upgrade react native to 0.71.2 (#21045)
# Why
for sdk 48 with latest upstream fixes
close ENG-7374
# How
- [react-native-lab] rebase onto 0.71.2
- bump package versions for 0.71.0 -> 0.71
Upgrade react native to 0.71.2 (#21045)
# Why
for sdk 48 with latest upstream fixes
close ENG-7374
# How
- [react-native-lab] rebase onto 0.71.2
- bump package versions for 0.71.0 -> 0.71.2 template changes
- `react-native`: 0.71.0 -> 0.71.2
- `@babel/core`: ^7.12.9 -> ^7.20.0
- `@babel/preset-env`: ^7.14.0 -> ^7.20.0
- `@babel/runtime`: ^7.12.5 -> ^7.20.0
- `metro-react-native-babel-preset`: 0.73.5 -> 0.73.7
- update template changes for 0.71.0 -> 0.71.2
# Test Plan
ci passed
show more ...
|
| #
84f418d7 |
| 17-Jan-2023 |
Kudo Chien <[email protected]> |
[1/3] upgrade react-native 0.71 (#20799)
# Why
upgrade react-native 0.71 for sdk 48
close ENG-7192
# How
- update package versions
- `react: 18.1.0 -> 18.2.0`
- `react-native 0.70.5
[1/3] upgrade react-native 0.71 (#20799)
# Why
upgrade react-native 0.71 for sdk 48
close ENG-7192
# How
- update package versions
- `react: 18.1.0 -> 18.2.0`
- `react-native 0.70.5 -> 0.71.0`
- `react-dom: 18.1.0 -> 18.2.0`
- `react-test-renderer: 18.1.0 -> 18.2.0`
- `react-native-web: 0.18.9 -> 0.18.10`
- `babel-plugin-react-native-web: 0.18.9 -> 0.18.10`
- `metro-react-native-babel-preset: 0.72.3 -> 0.73.5`
- upgrade three project templates based on [upgrade-helper](https://react-native-community.github.io/upgrade-helper/?from=0.70.6&to=0.71.0)
- bare-expo
- expo-template-bare-minimum
- fabric-tester (this is based on `npx expo prebuild --clean --no-install --template /path/to/expo-template-bare-minimum.tgz`) so it includes some inconsistent changes
- [@expo/config-plugins]: support 0.71 template transform. the `namespace` in build.gradle and the files in `release` build variants
- [fbjni] upgrade 0.3.0 to align 0.71 (also ndk version)
- [expo-updates] move the `EX_UPDATES_NATIVE_DEBUG` `bundleInDebug` setup to templates. unfortunately, because RNGP setups the task dependencies pretty early. the original setup in expo-updates build.gradle is too late. note that the change doesn't reference any files from templates to expo-updates package. somehow it's not tightly coupled.
- [native-tests / expo-modules-test-core / expo-modules-autolinking] fix ios unit test build error because jsc now in a dedicated podspec. in theory, the ios native unit test could now run on hermes as well.
- for other details, please check commit histories one by one.
# Test Plan
- bare-expo ios / android
- fabric ios / android
- ci passed (except ios)
- test-suite ios is broken for unknown reasons. it breaks only on github actions and hermes. for nightlies testing, i also [changed it to jsc](https://github.com/expo/expo/blob/1e029c89c4247802cc4880e27e116a6b4c71c502/tools/src/commands/SetupReactNativeNightly.ts#L287-L293) to make ci green. i'll try to follow up and investigate the root cause.
show more ...
|
| #
e54eacef |
| 08-Dec-2022 |
Bartosz Kaszubowski <[email protected]> |
[workspace] bump lint stack tools (#20387)
|
| #
8b825efa |
| 07-Nov-2022 |
Brent Vatne <[email protected]> |
[react-native] Bump to 0.70.5
|
| #
14a68f36 |
| 28-Oct-2022 |
Brent Vatne <[email protected]> |
Bump react-native patch version (#19748)
|
| #
4ef8780a |
| 14-Oct-2022 |
Kudo Chien <[email protected]> |
Upgrade react-native to 0.70.3 (#19540)
# Why
for sdk 47 release, react-native 0.70.3 comes with some regression fix
# How
- update package versions
- rebase react-native fork to 0.70.3
-
Upgrade react-native to 0.70.3 (#19540)
# Why
for sdk 47 release, react-native 0.70.3 comes with some regression fix
# How
- update package versions
- rebase react-native fork to 0.70.3
- update yarn.lock
- update Podfile.lock
# Test Plan
ci passed
show more ...
|
| #
16744d93 |
| 13-Oct-2022 |
Kudo Chien <[email protected]> |
[android] Upgrade jsc-android to 250230.2.1 (#19333)
# Why
react-native starts `[email protected]` from 0.66.0. as we drop sdk 44 (react-native 0.64) in sdk 47, it's a good time to upgrade j
[android] Upgrade jsc-android to 250230.2.1 (#19333)
# Why
react-native starts `[email protected]` from 0.66.0. as we drop sdk 44 (react-native 0.64) in sdk 47, it's a good time to upgrade jsc for expo go.
# How
- update jsc-android package and the gradle dependencies
- remove the old gradle resolutions for react-native <= 0.58
# Test Plan
- android unversioned expo go + NCL
show more ...
|
| #
760f40d3 |
| 13-Oct-2022 |
Kudo Chien <[email protected]> |
Remove unused react-native-svg patch (#19516)
# Why
we had the patch file because previous [email protected] typings are incompatible with react 18. after react-native-svg upgrade, we don't
Remove unused react-native-svg patch (#19516)
# Why
we had the patch file because previous [email protected] typings are incompatible with react 18. after react-native-svg upgrade, we don't need this patch anymore
# How
remove react-native-svg patch file and postinstall patch
# Test Plan
ci passed
show more ...
|
| #
7ac216e7 |
| 11-Oct-2022 |
Łukasz Kosmaty <[email protected]> |
[iOS][Android] Update `react-native-svg` to `13.4.0` (#19434)
# Why
Closes ENG-6532.
# How
Run:
```
et uvm -m react-native-svg
```
> Note:
This version of SVG requires a new version
[iOS][Android] Update `react-native-svg` to `13.4.0` (#19434)
# Why
Closes ENG-6532.
# How
Run:
```
et uvm -m react-native-svg
```
> Note:
This version of SVG requires a new version of the home app. It will be created later because I faced other problems with the home app - see https://github.com/expo/expo/pull/19495
# Test Plan
- home - android, ios ✅
- NCL - android, ios ✅
show more ...
|
| #
5c152a09 |
| 05-Oct-2022 |
Kudo Chien <[email protected]> |
Upgrade react-native to 0.70.2 (#19391)
# Why
react-native 0.70.2 is the rc version we expected to have in sdk 47
# How
- update package versions
- react-native: 0.70.1 -> 0.70.2
- me
Upgrade react-native to 0.70.2 (#19391)
# Why
react-native 0.70.2 is the rc version we expected to have in sdk 47
# How
- update package versions
- react-native: 0.70.1 -> 0.70.2
- metro-react-native-babel-preset: ~0.72.1 -> 0.72.3 (aligned with react-native template)
- fabric-tester: update react-native to 0.70.2
- react-native-lab: rebase our fork to 0.70.2
# Test Plan
- ci passed - updates e2e will be addressed from https://github.com/expo/expo/pull/19388
- ✅ android bare-expo
- ✅ ios bare-expo
- ✅ android expo go
- ✅ ios expo go
show more ...
|
| #
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 ...
|