-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Comparing changes
Open a pull request
base repository: facebook/react-native
base: v0.80.0
head repository: facebook/react-native
compare: v0.80.1
- 11 commits
- 49 files changed
- 7 contributors
Commits on Jun 12, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 6c92459 - Browse repository at this point
Copy the full SHA 6c92459View commit details
Commits on Jun 16, 2025
-
Move React Native publishing URLs to Central Portal (#51693)
Summary: Pull Request resolved: #51693 This moves React Native to use the Central Portal URLs rather than the legacy OSSRH ones. See https://github.com/gradle-nexus/publish-plugin for more context. Changelog: [Internal] [Changed] - Reviewed By: cipolleschi Differential Revision: D75673984 fbshipit-source-id: 1de6746809eed72f232eac0c3fb4d809c2046620
Configuration menu - View commit details
-
Copy full SHA for bff874e - Browse repository at this point
Copy the full SHA bff874eView commit details -
Update Nightly URL for newly published versions on central.sonatype.c…
…om (#52004) Summary: Pull Request resolved: #52004 This is necessary because the snapshots are now going to be published on a different repository: central.sonatype.com. Changelog: [Internal] [Changed] - Reviewed By: cipolleschi Differential Revision: D76596802 fbshipit-source-id: 424fb1134e41502d53b76209fba325c895c79ba8
Configuration menu - View commit details
-
Copy full SHA for 9fe0c1a - Browse repository at this point
Copy the full SHA 9fe0c1aView commit details
Commits on Jun 18, 2025
-
Publish, Close and Release the Maven repository during build_npm_package
Summary: Due to us moving to central.sonatype.com for publishing, we cannot publish and release the Maven repository in 2 distinct invocations. This consolidates all the publishing job to happen during build_npm_package Changelog: [Internal] [Changed] - Reviewed By: fabriziocucci Differential Revision: D76888543 fbshipit-source-id: 3cb0db6176ed2221a12b4f3f1f575232aa006a6c
Configuration menu - View commit details
-
Copy full SHA for 6f3948f - Browse repository at this point
Copy the full SHA 6f3948fView commit details
Commits on Jun 23, 2025
-
Move RefreshControlMock into Jest preset files (#51530)
Summary: Pull Request resolved: #51530 Alternative to #50784. `__mocks__` (and other underscored dirs) are correctly excluded from our npm package via `package.json#files`. But in this instance, this is a source file for the `jest/` directory (Jest preset within `react-native`), and should be included — fix by relocating. Changelog: [General][Fixed] - Fix missing RefreshControlMock source in Jest preset Reviewed By: rshest Differential Revision: D75215731 fbshipit-source-id: 1240344c4236288f31b16513f4df16766ad1e571
Configuration menu - View commit details
-
Copy full SHA for aeab69a - Browse repository at this point
Copy the full SHA aeab69aView commit details -
Fix emitting event from turbo module crashes on 32bit android (#51695)
Summary: After testing the latest RC and nighly builds, crash appeared when emitting events from turbo modules on 32bit Android devices. The crash is always reproducible only on 32bit devices on signed production builds. Fore more details and the crash log, check the [related issue](#51628 (comment)). From what I found, the variadic functions like CallVoidMethod are unsafe on 32bit due to not type checking the passed arguments at compile time. As far as I understand the 64bit cpus and ABIs are more forgiving with alignment and calling conventions. On 32bit the ABIs are strict as arguments are passed on the stack and if there is type/size/alignment issue it reads the wrong memory, which causes the SIGEGV crashes. ## Changelog: [ANDROID] [FIXED] - emitting event from turbo module crashes on 32bit android Pull Request resolved: #51695 Test Plan: 1. Pull the [reproduction demo](https://github.com/vladimirivanoviliev/rn079eventcrash), install the dependencies (v `0.80` is on PR) 2. Run codegen on android 3. Build signed apk. To create it you will need to create new demo key-store. 4. To install the build apk in 32bit mode you can use `adb -s YOURDEVICE install --abi armeabi-v7a android/app/release/app-release.apk` 5. Run the app, create key, save it. Than update the key and save it again. The app crashes when try to emit event from the turbo module. 6. Patch the related `JavaTurboModule.cpp` file with the changes from this PR and enable build from source. 7. Rebuild and reinstall the apk and test again - the issue is now fixed ## Additional notes: I have tested the app on android using the `rn-tester` demo app, everything works as expected. I also patched our production app and tested more complex scenarios and they works as expected. I have run the tests and linter and they passed. One thing that I didn't able to setup and run is the iOS `rn-tester` app, due to Hermes engine error `Command PhaseScriptExecution failed with a nonzero exit code`. I haven't found any information how to fix it. I have followed [this guide](https://github.com/facebook/react-native/blob/main/packages/rn-tester/README.md) and installed node modules using yarn and started the `yarn prepare-ios`. I also haven't found any information with what node version and ruby version the react native package is build on CI so I use the same versions locally. If you provide me with updated instructions for those I can contribute by updating the related guides and including `.npmrc`, `.ruby-version` files. Reviewed By: cortinico Differential Revision: D75782377 Pulled By: javache fbshipit-source-id: b94998be6dd51e90ad4137b1d2e38a6850bc3cb2
Configuration menu - View commit details
-
Copy full SHA for 69a5ad5 - Browse repository at this point
Copy the full SHA 69a5ad5View commit details -
Fix crash on ReactInstance due to null returned for getViewManagerNam…
…es (#52035) Summary: Pull Request resolved: #52035 Fixes #52014 Some OSS library is still returning null for `getViewManagerNames` especially if they're implementing the `ViewManagerOnDemandReactPackage` in Java. I'm adding a try-catch here so that we prevent the NPE for those scenarios. Changelog: [Android] [Fixed] - Fix crash on ReactInstance due to null returned for getViewManagerNames Reviewed By: javache Differential Revision: D76723826 fbshipit-source-id: cc159dee389257c6877b03a67840a45ee5bec165
Configuration menu - View commit details
-
Copy full SHA for 4d346e2 - Browse repository at this point
Copy the full SHA 4d346e2View commit details -
Bump windows to latests as GH will remove windows-2019 EOM (#51798)
Summary: As per title, GH is [removing windows-2019](https://github.com/facebook/react-native/actions/runs/15421451006/job/43403215354) at the end of the month. We need to migrate away from them. ## Changelog: [Internal] - Bump windows runners Pull Request resolved: #51798 Test Plan: GHA Reviewed By: cortinico Differential Revision: D75946994 Pulled By: cipolleschi fbshipit-source-id: 972b60300c918c0eae0403ed4149347a4ffa8bd0
Configuration menu - View commit details
-
Copy full SHA for 1c39b2a - Browse repository at this point
Copy the full SHA 1c39b2aView commit details -
Publish top-level Flow types for
react-native
(#51908)Summary: FIXED Add index.js.flow to npm package files for Flow support Currently, the distributed npm package for react-native does not include the index.js.flow file, which causes all exports to be typed as any when using Flow. This commit adds index.js.flow to the "files" array in package.json, ensuring Flow users receive proper type definitions out of the box. This addresses issues where type checking with Flow fails in React Native projects. ## Changelog: [General][Added] Publish top-level Flow types for `react-native` Pull Request resolved: #51908 Reviewed By: huntie, necolas Differential Revision: D76292301 Pulled By: robhogan fbshipit-source-id: e56360d3f35af30ef160470181349aac1812e7c1
Configuration menu - View commit details
-
Copy full SHA for 2cb1f8e - Browse repository at this point
Copy the full SHA 2cb1f8eView commit details -
publish
index.js.flow
instead ofindex.flow.js
(#52179)Summary: I think in 50667ec the file name was mixed up. Instead of `index.flow.js` it should be `index.js.flow` (see https://github.com/facebook/react-native/blob/main/packages/react-native/index.js.flow) Should fix #51885 ## Changelog: <!-- Help reviewers and the release process by writing your own changelog entry. [General][Added] Publish top-level Flow types for `react-native` For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests Pull Request resolved: #52179 Test Plan: Steps to reproduce 1. Setup a react-native project with flow (or clone https://github.com/buschco/react-native-flow + `cd ReproducerApp && npm i`) 2. `import {Alert} from 'react-native'` -> `Alert` has type `any` 3. add `index.js.flow` File (https://github.com/facebook/react-native/blob/v0.79.3/packages/react-native/index.js.flow) to `node_modules/react-native/index.js.flow` -> `Alert` no longer `any` Reviewed By: christophpurrer Differential Revision: D77052871 Pulled By: robhogan fbshipit-source-id: 32b0052a9d96486aff66a1f6e4577ff62cbcd97e
Configuration menu - View commit details
-
Copy full SHA for b2cc82b - Browse repository at this point
Copy the full SHA b2cc82bView commit details
Commits on Jun 30, 2025
-
Configuration menu - View commit details
-
Copy full SHA for d0843bd - Browse repository at this point
Copy the full SHA d0843bdView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.80.0...v0.80.1