forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 138
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
Merge up to 0.76-stable
branch cut
#2190
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Summary: `RCTSharedApplication().delegate.window.safeAreaInsets.bottom;` causes a crash in Mac Catalyst. There is already precedent of a `#if TARGET_OS_MACCATALYST` in the same file. This just defaults it to 0 in that case, which looks fine. ## Changelog: [iOS] [Fixed] - Mac Catalyst crash in RCTRedBox Reviewed By: shwanton Differential Revision: D61160503 fbshipit-source-id: 5771ebff88242d9dd4b892d8823e15d1f2307728
Summary: Pull Request resolved: facebook#45974 This change fixes the E2E tests on the template on main. There were two issues: 1. we were forcing the project on the 0.75 branch. We now use the current branch name 2. we were replacing all the versions for the dependencies that starts with `react-native` to the monorepo version. The problem is that also `react-native-community` packages starts with `react-native`. We now changes the versions if the dependency name starts with `react-native/`. ## Changelog: [Internal] - Fix E2E tests on main Reviewed By: cortinico Differential Revision: D61122154 fbshipit-source-id: 07210fc9f63e99eac46894f13c7ca5359e186e6c
Summary: Android fails to build in a pnpm monorepo setup because `yargs` cannot be found: ``` % yarn android info Installing the app... > Configure project :app WARNING: The option setting 'android.jetifier.ignorelist=hermes-android' is experimental. Signing config for 'release' build type not found; reusing debug config > Task :react-native-webapis_web-storage:generateCodegenSchemaFromJavaScript FAILED 28 actionable tasks: 6 executed, 22 up-to-date node:internal/modules/cjs/loader:1148 throw err; ^ Error: Cannot find module 'yargs' Require stack: - /~/node_modules/.store/react-native-codegen-virtual-39ff8dcc54/package/lib/cli/combine/combine-js-to-schema-cli.js at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15) at Module._load (node:internal/modules/cjs/loader:986:27) at Module.require (node:internal/modules/cjs/loader:1233:19) at require (node:internal/modules/helpers:179:18) ``` ## Changelog: [GENERAL] [FIXED] - Fix codegen failing in a pnpm monorepo because of missing `yargs` Pull Request resolved: facebook#45994 Test Plan: Tested in microsoft/rnx-kit#3290 Reviewed By: dmytrorykun Differential Revision: D61201420 Pulled By: cortinico fbshipit-source-id: aac3704ae7f200db827b14c8362f83a5e66ad08e
Summary: Pull Request resolved: facebook#45637 This breaks when `setAndroidLayoutDirection` is enabled. Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D60143747 fbshipit-source-id: 6f1a9ea1cf95f9be0451460201e49b4ce80ce204
…lement_DEPRECATED (facebook#45998) Summary: Pull Request resolved: facebook#45998 The exact `React.Element` type is deprecated and will be removed in a future version of Flow. Changelog: [Internal] Reviewed By: gkz Differential Revision: D61205640 fbshipit-source-id: a029a3a46c7d8d9f94b0b931b991b2ce461151b2
Summary: Pull Request resolved: facebook#45984 A few methods were not synchronized, exposing members like `mTagsToViews` to potential out-of-sync access. Changelog: [Internal] Reviewed By: fkgozali Differential Revision: D61151447 fbshipit-source-id: 696dbec559968cdfc7c6d2e662f4c8f3471039e1
Summary: Pull Request resolved: facebook#46000 Changelog: [Internal] - Update `react-native/debugger-frontend` from 7b143e5...c98a122 Resyncs `react-native/debugger-frontend` from GitHub - see `rn-chrome-devtools-frontend` [changelog](facebookexperimental/rn-chrome-devtools-frontend@7b143e5...c98a122). Reviewed By: robhogan Differential Revision: D61208000 fbshipit-source-id: 8884d7946f4f62bbfe48e3fddc6c873f952d826c
Summary: Pull Request resolved: facebook#46005 The RCTDevLoadingView is clipped in Mac Catalyst, hiding half of it under the toolbar. This change maintains the behavior on iOS of extending past the dynamic island. {F1803665273} Changelog: [Internal] Reviewed By: shwanton Differential Revision: D61209780 fbshipit-source-id: 6c9c572a9e47a8caf191c40fb53c4a7d43b64281
Summary: Pull Request resolved: facebook#46011 Backing out D58561775 in the meantime while we are trying to do proper fix in Hermes engine D61058869 Changelog: [Internal] Temporarily revert this diff facebook#44900 while we wait for facebook#45966 to land Reviewed By: makovkastar Differential Revision: D61246120 fbshipit-source-id: 8c205efe9d29cd34f24676c4a48d55f0493d73ab
…positories (facebook#45566) Summary: At OEBB we currently facing an issue we're not able to use our mirrored git repositories for third-party podspecs. This is due to the fact podspecs contain hardcoded git repository urls. With this change we could specify urls to our mirrored git repositories. ## Changelog: [IOS] [ADDED] Enable third-party podspec sources to be fetched from mirrored git repositories Pull Request resolved: facebook#45566 Test Plan: ```bash # Define env vars for git mirrors export FMT_GIT_URL="https://my-git-host.com/my-mirrored-repo.git" export GLOG_GIT_URL="https://my-git-host.com/my-mirrored-repo.git" export FOLLY_GIT_URL="https://my-git-host.com/my-mirrored-repo.git" export DOUBLE_CONVERSION_GIT_URL="https://my-git-host.com/my-mirrored-repo.git" export BOOST_GIT_URL="https://my-git-host.com/my-mirrored-repo.git" # Pod install command run from ios app folder pod install ``` Reviewed By: cortinico Differential Revision: D61209204 Pulled By: cipolleschi fbshipit-source-id: b19f7b8262c860b5c4d553732da50c9bd0373397
Summary: Pull Request resolved: facebook#45873 I'm removing the Gradle dependency on OSS SoLoader and stubbing it with our own implementation. This will allow us to implement merging of further .so libraries and As Fresco also depends on SoLoader, I had to stub the `NativeLoader` dependency as well. Changelog: [Android] [Breaking] - Do not depend on OSS SoLoader anymore and do not expose Fresco `api` dependency. Reviewed By: mdvacca Differential Revision: D60652007 fbshipit-source-id: 6e70a5c37ba9337fbe8772e192b886ba4693c7f1
…6004) Summary: Pull Request resolved: facebook#46004 This is the first library I'm moving over inside libreactnative.so Changelog: [Android] [Changed] - Move libreact_newarchdefaults.so inside libreactnative.so Reviewed By: cipolleschi Differential Revision: D61211104 fbshipit-source-id: 2526395a246df9ebf6387ca434e07b4ed4484f1e
Summary: Pull Request resolved: facebook#46003 Another library going inside libreactnative.so Changelog: [Android] [Changed] - Move libmapbufferjni.so inside libreactnative.so Reviewed By: cipolleschi Differential Revision: D61211105 fbshipit-source-id: 38fce9ff9025fc6d2cd9eff3ee57303babed8852
Summary: Pull Request resolved: facebook#46016 Wrapping the JavaScriptException with a RuntimException means we lose JS specific metadata on the top-level exceptions, and can break categorization in crash-reporting tools. We could also use the same logic as [DefaultJSExceptionHandler](https://github.com/facebook/react-native/blob/main/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/DefaultJSExceptionHandler.java) but that doesn't seem to be required for Kotlin. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D61261515 fbshipit-source-id: fa85c8818834905759cbc984ea3c45403eb87e8c
…5982) Summary: Pull Request resolved: facebook#45982 Changelog: [Internal] Recently `src/private/renderer/errorhandling/ErrorHandlers.js` started showing up in some error stack traces, making LogBox less readable. This diff ensures we collapse these extra stack frames by default (as well as hide them in Fusebox, etc). Reviewed By: hoxyq Differential Revision: D61128294 fbshipit-source-id: 2ebcb47265aaf3281b669ed022c29978167f3e81
Summary: Changelog for 0.75.0 ## Changelog: [Internal] - Changelog for 0.75.0 Pull Request resolved: facebook#45814 Test Plan: N/A Reviewed By: cortinico Differential Revision: D60446949 Pulled By: cipolleschi fbshipit-source-id: e26e3486e3c9d224678f3df913368fa280c2e431
Differential Revision: D60143747 Original commit changeset: 6f1a9ea1cf95 Original Phabricator Diff: D60143747 fbshipit-source-id: c07088c4591ca344dbdc31c9f86b1a44a575c0ae
Summary: Pull Request resolved: facebook#45927 This was attempted earlier in the year, and was unsuccessful because HelloWorld had a hidden dependency on this. Changelog: [General][Breaking] Projects that intend to use the community CLI will now have to declare that dependency instead of transitively having the react-native package handle this. Reviewed By: GijsWeterings Differential Revision: D60898346 fbshipit-source-id: 1d62615f718e06caf684f48ecfaf610bf1f51f8e
Summary: This PR solves [issue](facebook#45958) with displaying irregular borders on Fabric. The same issue appears on the old architecture, but I am having a problems there, so I am pushing this fix for now. The problem is solved by decoupling `backgroundColor` from `borderLayer` and setting `zPosition` on `borderLayer` to `1024.0f`, so that the border is always in front of the layer. The `zPosition` is compared within a layer, so it shouldn't impact outside components. I would love to hear your opinion if there is a case in which this could break. ## Changelog: [IOS] [FIXED] - changed border display Pull Request resolved: facebook#45973 Test Plan: I've checked that on RNTester Images. ![border-issues-screen](https://github.com/user-attachments/assets/e12add82-8016-4c42-833d-f396307e9423) Reviewed By: joevilches Differential Revision: D61119409 Pulled By: cipolleschi fbshipit-source-id: a88912061c7a8d72eec4f4092adb076dd6ae511e
Summary: Pull Request resolved: facebook#46023 Minimizing and restoring a Mac Catalyst app causes an `interfaceOrientationDidChange` which causes a downstream crash on `application.delegate.window`. There doesn't seem to be a clean way to get if an app is fullscreen in Mac Catalyst, so just no-oping for now. Changelog: [Internal] Reviewed By: shwanton Differential Revision: D61253706 fbshipit-source-id: 73d260366adcc74e88f43f256cc5aff8a6e3ef71
Summary: Pull Request resolved: facebook#46025 Changelog: [General][Fixed] - Change RawPropsParser logs from ERROR level to WARNING Reviewed By: christophpurrer Differential Revision: D61304854 fbshipit-source-id: bc16df4916a54cb7c1fa57f359eab3d9eed4e2f4
Summary: ## History 1. Originally landed in D60138415 2. Reverted in D60232011 (it broke ios oss builds) ## Motivation In bridgeless, we want to configure the error handling of runtime scheduler. So that we can route those errors to the C++ error handling pipeline, when necessary. Changelog: [Internal] Reviewed By: rubennorte Differential Revision: D60477342 fbshipit-source-id: f14e20d7aff39e0fee42918567ccc6e685674134
Summary: If any fatal js error is caught in c++, just route it through js error handler. Then, make js error handler call into the right pipeline: 1. After the js pipeline is ready: Route the errors through the js pipeline 2. Otherwise: Route errors through the c++ pipeline. Changelog: [Internal] Reviewed By: javache Differential Revision: D60138417 fbshipit-source-id: 24c466ffadbd14a9e9a5571548f3d34d2f406a8d
Summary: If a fatal error is caught in js, and the js pipeline isn't ready, route it through the c++ pipeline. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D60138414 fbshipit-source-id: 333e38e2b904d6434a88469816e39bf1b9d0bc3f
Summary: Pull Request resolved: facebook#45617 This isn't necessary. RuntimeScheduler will catch and report via js error handler. Changelog: [Internal] Reviewed By: alanleedev Differential Revision: D60139055 fbshipit-source-id: 511f384ede71d88b81ef5c031fa67b1fb03f7631
Summary: Fixes build error like https://github.com/facebook/react-native/actions/runs/10398775597/job/28797041872. cc RSNara ## Changelog: [IOS] [FIXED] - Add missing pod dependency of jserrorhandler Pull Request resolved: facebook#46030 Test Plan: CI green. Reviewed By: cortinico Differential Revision: D61329173 Pulled By: cipolleschi fbshipit-source-id: c7dc6d7af3b57f748ae3464d9f4231ff4fb36e63
Summary: Pull Request resolved: facebook#46034 The create release workflow was not working properly for 0.75: * the latest tag was not pushed because we were using the wrong input * the latest tag was not deleted because we were not fetching all the tags * the create release job 'dry-run' defaults to false, which is a bit dangerous This change is a backport from 0.75 to main of these changes. ## Changelog [Internal] - Make sure that the Latest tag is properly pushed to github while releasing Reviewed By: cortinico Differential Revision: D61331247 fbshipit-source-id: 89bf0698c45ec6c766e25b11599dbe926d8a6297
Summary: Add changelog for 0.75.1 ## Changelog: [Internal] - Add changelog Pull Request resolved: facebook#46038 Test Plan: N/A Reviewed By: cortinico Differential Revision: D61333096 Pulled By: cipolleschi fbshipit-source-id: 19ba0bce60056be12d1b0427939c5896c22e215b
Summary: Pull Request resolved: facebook#46040 The URL to dispatch the workflow was not correct, see [0]. ## Changelog: [Internal] [0] https://docs.github.com/en/rest/actions/workflows?apiVersion=2022-11-28#create-a-workflow-dispatch-event ## Internal: For S441191, see the job launched: - https://github.com/react-native-community/template/actions/runs/10404141179/job/28811993693 {F1806960111} Reviewed By: cipolleschi Differential Revision: D61333084 fbshipit-source-id: 62b20d792b9c667b3ee80d6d446423a6d24a67c2
Summary: Removed UIReturnKeyDefault as it caused bug when there wasn't any type. ## Changelog: [IOS] [REMOVED]: UIReturnKeyDefault <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests Pull Request resolved: facebook#46020 Reviewed By: christophpurrer Differential Revision: D61277058 Pulled By: cipolleschi fbshipit-source-id: 18349c49b05d492a2c2ed5713af3ceb6d3728e70
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Saadnajmi
force-pushed
the
0.76-merge
branch
2 times, most recently
from
October 19, 2024 19:23
c59cc05
to
5fd3b09
Compare
Saadnajmi
changed the title
[Draft] Merge up to
Merge up to Oct 21, 2024
0.76-stable
branch cut0.76-stable
branch cut
Saadnajmi
commented
Oct 21, 2024
Saadnajmi
force-pushed
the
0.76-merge
branch
2 times, most recently
from
October 21, 2024 04:23
5a06df8
to
d57428f
Compare
FalseLobster
approved these changes
Oct 22, 2024
Saadnajmi
force-pushed
the
0.76-merge
branch
7 times, most recently
from
October 24, 2024 21:21
fd8662d
to
416bd6f
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary:
Merge up to the
0.76-stable
branch cut.Interesting commits:
textInputDid(Begin|End)Editing
calls for multiline<TextInput>
elements #2159. Moving the else of_selectTextOnFocus
for macOS to the reactFocus methodTest Plan
Box Shadows work!
... but are different in some areas
Full merge conflict log