Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: facebook/react-native
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.80.0
Choose a base ref
...
head repository: facebook/react-native
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.80.1
Choose a head ref
  • 11 commits
  • 49 files changed
  • 7 contributors

Commits on Jun 12, 2025

  1. Configuration menu
    Copy the full SHA
    6c92459 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2025

  1. 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
    cortinico committed Jun 16, 2025
    Configuration menu
    Copy the full SHA
    bff874e View commit details
    Browse the repository at this point in the history
  2. 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
    cortinico committed Jun 16, 2025
    Configuration menu
    Copy the full SHA
    9fe0c1a View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2025

  1. 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
    cortinico committed Jun 18, 2025
    Configuration menu
    Copy the full SHA
    6f3948f View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2025

  1. 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
    huntie authored and fabriziocucci committed Jun 23, 2025
    Configuration menu
    Copy the full SHA
    aeab69a View commit details
    Browse the repository at this point in the history
  2. 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
    vladimirivanoviliev authored and react-native-bot committed Jun 23, 2025
    Configuration menu
    Copy the full SHA
    69a5ad5 View commit details
    Browse the repository at this point in the history
  3. 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
    cortinico authored and react-native-bot committed Jun 23, 2025
    Configuration menu
    Copy the full SHA
    4d346e2 View commit details
    Browse the repository at this point in the history
  4. 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
    cipolleschi authored and fabriziocucci committed Jun 23, 2025
    Configuration menu
    Copy the full SHA
    1c39b2a View commit details
    Browse the repository at this point in the history
  5. 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
    aswinandro authored and react-native-bot committed Jun 23, 2025
    Configuration menu
    Copy the full SHA
    2cb1f8e View commit details
    Browse the repository at this point in the history
  6. publish index.js.flow instead of index.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
    buschco authored and react-native-bot committed Jun 23, 2025
    Configuration menu
    Copy the full SHA
    b2cc82b View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2025

  1. Release 0.80.1

    #publish-packages-to-npm&latest
    react-native-bot committed Jun 30, 2025
    Configuration menu
    Copy the full SHA
    d0843bd View commit details
    Browse the repository at this point in the history
Loading