Skip to content

Commit d3f88bc

Browse files
committed
Merge branch 'main' into add-event-count-property
2 parents fc56261 + 67381e1 commit d3f88bc

498 files changed

Lines changed: 13468 additions & 15384 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.flowconfig

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,11 @@
3939

4040
[libs]
4141
flow-typed/
42-
packages/react-native/interface.js
4342
packages/react-native/flow/
4443

4544
[options]
46-
enums=true
47-
experimental.pattern_matching=true
48-
experimental.allow_variance_keywords=true
49-
casting_syntax=both
50-
component_syntax=true
51-
5245
emoji=true
5346

54-
exact_by_default=true
55-
5647
format.bracket_spacing=false
5748

5849
module.file_ext=.js
@@ -73,6 +64,11 @@ module.system.haste.module_ref_prefix=m#
7364

7465
react.runtime=automatic
7566

67+
experimental.deprecated_utilities.excludes=<PROJECT_ROOT>/packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js
68+
experimental.deprecated_utilities.excludes=<PROJECT_ROOT>/packages/react-native/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js
69+
experimental.deprecated_colon_extends.excludes=<PROJECT_ROOT>/packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js
70+
experimental.deprecated_variance_sigils.excludes=<PROJECT_ROOT>/packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js
71+
7672
ban_spread_key_props=true
7773

7874
[lints]
@@ -96,4 +92,4 @@ untyped-import
9692
untyped-type-import
9793

9894
[version]
99-
^0.317.0
95+
^0.319.0

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: 🐛 React Native - Bug Report
22
description: Report a reproducible bug or regression in React Native.
3-
labels: ["Needs: Triage :mag:"]
3+
labels: ['Needs: Triage :mag:']
44
body:
55
- type: markdown
66
attributes:
7-
value: "## Reporting a bug to React Native"
7+
value: '## Reporting a bug to React Native'
88
- type: markdown
99
attributes:
1010
value: |
@@ -46,7 +46,7 @@ body:
4646
attributes:
4747
label: React Native Version
4848
description: The version of react-native that this issue reproduces on. Bear in mind that only issues on [supported versions](https://github.com/reactwg/react-native-releases#which-versions-are-currently-supported) will be looked into.
49-
placeholder: "0.73.0"
49+
placeholder: '0.73.0'
5050
validations:
5151
required: true
5252
- type: dropdown
@@ -111,7 +111,7 @@ body:
111111
attributes:
112112
label: MANDATORY Reproducer
113113
description: A link to either a failing RNTesterPlayground.js file, an Expo Snack or a public repository from [this template](https://github.com/react-native-community/reproducer-react-native) that reproduces this bug. Reproducers are **mandatory**, issues without a reproducer will be closed.
114-
placeholder: "https://github.com/<myuser>/<myreproducer>"
114+
placeholder: 'https://github.com/<myuser>/<myreproducer>'
115115
validations:
116116
required: true
117117
- type: textarea

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: ⬆️ Upgrade - Build Regression
4-
url: https://github.com/reactwg/react-native-releases/issues/new/choose
5-
about: |
6-
If you are upgrading to a new React Native version (stable or pre-release) and encounter a build regression.
7-
- name: 🚀 Expo Issue
8-
url: https://github.com/expo/expo/issues/new
9-
about: |
10-
If you're using Expo in your project, please report the issue first in the Expo issue tracker.
11-
- name: 📃 Documentation Issue
12-
url: https://github.com/facebook/react-native-website/issues
13-
about: Please report documentation issues in the React Native website repository.
14-
- name: 📦 Metro Issue
15-
url: https://github.com/facebook/metro/issues/new
16-
about: |
17-
If you've encountered a module resolution problem, e.g. "Error: Unable to resolve module ...", or something else that might be related to Metro, please open an issue in the Metro repo instead.
18-
- name: 🤔 Questions and Help
19-
url: https://reactnative.dev/help
20-
about: Looking for help with your app? Please refer to the React Native community's support resources.
21-
- name: 💫 New Architecture - Questions & Technical Deep dive insights
22-
url: https://github.com/reactwg/react-native-new-architecture
23-
about: Questions and doubts related to technical questions for the New Architecture should be directed to the Working Group. Instructions on how to join are available in the README.
24-
- name: 🚀 Discussions and Proposals
25-
url: https://github.com/react-native-community/discussions-and-proposals
26-
about: Discuss the future of React Native in the React Native community's discussions and proposals repository.
3+
- name: ⬆️ Upgrade - Build Regression
4+
url: https://github.com/reactwg/react-native-releases/issues/new/choose
5+
about: |
6+
If you are upgrading to a new React Native version (stable or pre-release) and encounter a build regression.
7+
- name: 🚀 Expo Issue
8+
url: https://github.com/expo/expo/issues/new
9+
about: |
10+
If you're using Expo in your project, please report the issue first in the Expo issue tracker.
11+
- name: 📃 Documentation Issue
12+
url: https://github.com/facebook/react-native-website/issues
13+
about: Please report documentation issues in the React Native website repository.
14+
- name: 📦 Metro Issue
15+
url: https://github.com/facebook/metro/issues/new
16+
about: |
17+
If you've encountered a module resolution problem, e.g. "Error: Unable to resolve module ...", or something else that might be related to Metro, please open an issue in the Metro repo instead.
18+
- name: 🤔 Questions and Help
19+
url: https://reactnative.dev/help
20+
about: Looking for help with your app? Please refer to the React Native community's support resources.
21+
- name: 💫 New Architecture - Questions & Technical Deep dive insights
22+
url: https://github.com/reactwg/react-native-new-architecture
23+
about: Questions and doubts related to technical questions for the New Architecture should be directed to the Working Group. Instructions on how to join are available in the README.
24+
- name: 🚀 Discussions and Proposals
25+
url: https://github.com/react-native-community/discussions-and-proposals
26+
about: Discuss the future of React Native in the React Native community's discussions and proposals repository.

.github/ISSUE_TEMPLATE/debugger_bug_report.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: 🔍 Debugger - Bug Report
22
description: Report a bug with React Native DevTools and the New Debugger
3-
labels: ["Needs: Triage :mag:", "Debugging"]
3+
labels: ['Needs: Triage :mag:', 'Debugging']
44

55
body:
66
- type: markdown
77
attributes:
8-
value: "## Reporting a bug for React Native DevTools"
8+
value: '## Reporting a bug for React Native DevTools'
99
- type: markdown
1010
attributes:
1111
value: |
@@ -42,7 +42,7 @@ body:
4242
attributes:
4343
label: React Native Version
4444
description: The version of react-native that this issue reproduces on. Bear in mind that only issues on [supported versions](https://github.com/reactwg/react-native-releases#which-versions-are-currently-supported) will be looked into.
45-
placeholder: "0.76.0"
45+
placeholder: '0.76.0'
4646
validations:
4747
required: true
4848
- type: textarea

.github/ISSUE_TEMPLATE/new_architecture_bug_report.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: 💫 New Architecture - Bug Report
22
description: Report a reproducible bug or a build issue when using the New Architecture (Fabric & TurboModules) in React Native.
3-
labels: ["Needs: Triage :mag:", "Type: New Architecture"]
3+
labels: ['Needs: Triage :mag:', 'Type: New Architecture']
44

55
body:
66
- type: markdown
77
attributes:
8-
value: "## New Architecture Related Bugs"
8+
value: '## New Architecture Related Bugs'
99
- type: markdown
1010
attributes:
1111
value: |
@@ -43,7 +43,7 @@ body:
4343
attributes:
4444
label: React Native Version
4545
description: The version of react-native that this issue reproduces on. Bear in mind that only issues on [supported versions](https://github.com/reactwg/react-native-releases#which-versions-are-currently-supported) will be looked into.
46-
placeholder: "0.73.0"
46+
placeholder: '0.73.0'
4747
validations:
4848
required: true
4949
- type: dropdown
@@ -123,7 +123,7 @@ body:
123123
attributes:
124124
label: MANDATORY Reproducer
125125
description: A link to either a failing RNTesterPlayground.js file, an Expo Snack or a public repository from [this template](https://github.com/react-native-community/reproducer-react-native) that reproduces this bug. Reproducers are **mandatory**, issues without a reproducer will be closed.
126-
placeholder: "https://github.com/<myuser>/<myreproducer>"
126+
placeholder: 'https://github.com/<myuser>/<myreproducer>'
127127
validations:
128128
required: true
129129
- type: textarea

.github/actions/build-android/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ inputs:
55
required: true
66
description: The type of release we are building. It could be nightly, release or dry-run
77
gradle-cache-encryption-key:
8-
description: "The encryption key needed to store the Gradle Configuration cache"
8+
description: 'The encryption key needed to store the Gradle Configuration cache'
99
runs:
1010
using: composite
1111
steps:
@@ -34,7 +34,7 @@ runs:
3434
- name: Setup gradle
3535
uses: ./.github/actions/setup-gradle
3636
with:
37-
cache-read-only: "false"
37+
cache-read-only: 'false'
3838
cache-encryption-key: ${{ inputs.gradle-cache-encryption-key }}
3939
- name: Restore Android ccache
4040
uses: actions/cache/restore@v5

.github/actions/build-fantom-runner/action.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
required: true
55
description: The type of release we are building. It could be nightly, release or dry-run
66
gradle-cache-encryption-key:
7-
description: "The encryption key needed to store the Gradle Configuration cache"
7+
description: 'The encryption key needed to store the Gradle Configuration cache'
88

99
runs:
1010
using: composite
@@ -24,22 +24,22 @@ runs:
2424
- name: Setup gradle
2525
uses: ./.github/actions/setup-gradle
2626
with:
27-
cache-read-only: "false"
27+
cache-read-only: 'false'
2828
cache-encryption-key: ${{ inputs.gradle-cache-encryption-key }}
2929
- name: Restore Fantom ccache
3030
uses: actions/cache/restore@v5
3131
with:
3232
path: /github/home/.cache/ccache
3333
key: v2-ccache-fantom-${{ github.job }}-${{ github.ref }}-${{ hashFiles(
34-
'packages/react-native/ReactAndroid/**/*.cpp',
35-
'packages/react-native/ReactAndroid/**/*.h',
36-
'packages/react-native/ReactAndroid/**/CMakeLists.txt',
37-
'packages/react-native/ReactCommon/**/*.cpp',
38-
'packages/react-native/ReactCommon/**/*.h',
39-
'packages/react-native/ReactCommon/**/CMakeLists.txt',
40-
'private/react-native-fantom/tester/**/*.cpp',
41-
'private/react-native-fantom/tester/**/*.h',
42-
'private/react-native-fantom/tester/**/CMakeLists.txt'
34+
'packages/react-native/ReactAndroid/**/*.cpp',
35+
'packages/react-native/ReactAndroid/**/*.h',
36+
'packages/react-native/ReactAndroid/**/CMakeLists.txt',
37+
'packages/react-native/ReactCommon/**/*.cpp',
38+
'packages/react-native/ReactCommon/**/*.h',
39+
'packages/react-native/ReactCommon/**/CMakeLists.txt',
40+
'private/react-native-fantom/tester/**/*.cpp',
41+
'private/react-native-fantom/tester/**/*.h',
42+
'private/react-native-fantom/tester/**/CMakeLists.txt'
4343
) }}
4444
restore-keys: |
4545
v2-ccache-fantom-${{ github.job }}-${{ github.ref }}-
@@ -60,15 +60,15 @@ runs:
6060
with:
6161
path: /github/home/.cache/ccache
6262
key: v2-ccache-fantom-${{ github.job }}-${{ github.ref }}-${{ hashFiles(
63-
'packages/react-native/ReactAndroid/**/*.cpp',
64-
'packages/react-native/ReactAndroid/**/*.h',
65-
'packages/react-native/ReactAndroid/**/CMakeLists.txt',
66-
'packages/react-native/ReactCommon/**/*.cpp',
67-
'packages/react-native/ReactCommon/**/*.h',
68-
'packages/react-native/ReactCommon/**/CMakeLists.txt',
69-
'private/react-native-fantom/tester/**/*.cpp',
70-
'private/react-native-fantom/tester/**/*.h',
71-
'private/react-native-fantom/tester/**/CMakeLists.txt'
63+
'packages/react-native/ReactAndroid/**/*.cpp',
64+
'packages/react-native/ReactAndroid/**/*.h',
65+
'packages/react-native/ReactAndroid/**/CMakeLists.txt',
66+
'packages/react-native/ReactCommon/**/*.cpp',
67+
'packages/react-native/ReactCommon/**/*.h',
68+
'packages/react-native/ReactCommon/**/CMakeLists.txt',
69+
'private/react-native-fantom/tester/**/*.cpp',
70+
'private/react-native-fantom/tester/**/*.h',
71+
'private/react-native-fantom/tester/**/CMakeLists.txt'
7272
) }}
7373
- name: Show ccache stats (after)
7474
shell: bash

.github/actions/build-npm-package/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ runs:
4242
- name: Setup node.js
4343
uses: ./.github/actions/setup-node
4444
with:
45+
node-version: '24'
4546
registry-url: 'https://registry.npmjs.org'
4647
- name: Install dependencies
4748
uses: ./.github/actions/yarn-install

.github/actions/create-release/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ name: create_release
22
description: Creates a new React Native release
33
inputs:
44
version:
5-
description: "The version of React Native we want to release. For example 0.75.0-rc.0"
5+
description: 'The version of React Native we want to release. For example 0.75.0-rc.0'
66
required: true
77
is-latest-on-npm:
8-
description: "Whether we want to tag this release as latest on NPM"
8+
description: 'Whether we want to tag this release as latest on NPM'
99
required: true
10-
default: "false"
10+
default: 'false'
1111
dry-run:
12-
description: "Whether the job should be executed in dry-run mode or not"
13-
default: "true"
12+
description: 'Whether the job should be executed in dry-run mode or not'
13+
default: 'true'
1414
runs:
1515
using: composite
1616
steps:

.github/actions/maestro-android/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ inputs:
2020
default: release
2121
working-directory:
2222
required: false
23-
default: "."
23+
default: '.'
2424
description: The directory from which metro should be started
2525
emulator-arch:
2626
required: false
@@ -32,7 +32,7 @@ runs:
3232
steps:
3333
- name: Installing Maestro
3434
shell: bash
35-
run: export MAESTRO_VERSION=1.40.0; curl -Ls "https://get.maestro.mobile.dev" | bash
35+
run: export MAESTRO_VERSION=2.6.1; curl -Ls "https://get.maestro.mobile.dev" | bash
3636
- name: Set up JDK 17
3737
if: ${{ inputs.install-java == 'true' }}
3838
uses: actions/setup-java@v5

0 commit comments

Comments
 (0)