Skip to content

Commit d472468

Browse files
committed
Merge branch 'main' into set-log-box-max-font-size
2 parents a731784 + 9cbddbd commit d472468

208 files changed

Lines changed: 44207 additions & 2655 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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,4 @@ untyped-import
9595
untyped-type-import
9696

9797
[version]
98-
^0.313.0
98+
^0.314.0

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ inputs:
1010
default: ''
1111
gradle-cache-encryption-key:
1212
description: The encryption key needed to store the Gradle Configuration cache
13+
skip-apple-prebuilts:
14+
description: When true, skip downloading prebuilt Apple artifacts (use when Apple prebuild jobs were skipped)
15+
required: false
16+
default: 'false'
1317

1418
runs:
1519
using: composite
@@ -18,18 +22,21 @@ runs:
1822
shell: bash
1923
run: git config --global --add safe.directory '*'
2024
- name: Download ReactNativeDependencies
25+
if: ${{ inputs.skip-apple-prebuilts != 'true' }}
2126
uses: actions/download-artifact@v7
2227
with:
2328
pattern: ReactNativeDependencies*
2429
path: ./packages/react-native/ReactAndroid/external-artifacts/artifacts
2530
merge-multiple: true
2631
- name: Download ReactCore artifacts
32+
if: ${{ inputs.skip-apple-prebuilts != 'true' }}
2733
uses: actions/download-artifact@v7
2834
with:
2935
pattern: ReactCore*
3036
path: ./packages/react-native/ReactAndroid/external-artifacts/artifacts
3137
merge-multiple: true
3238
- name: Print Artifacts Directory
39+
if: ${{ inputs.skip-apple-prebuilts != 'true' }}
3340
shell: bash
3441
run: ls -lR ./packages/react-native/ReactAndroid/external-artifacts/artifacts/
3542
- name: Setup gradle

.github/workflows/nightly.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
schedule:
77
- cron: "15 2 * * *"
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
set_release_type:
1114
runs-on: ubuntu-latest

.github/workflows/test-all.yml

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ jobs:
9999

100100
prebuild_react_native_core:
101101
uses: ./.github/workflows/prebuild-ios-core.yml
102+
if: ${{ needs.prebuild_apple_dependencies.result == 'success' }}
102103
with:
103104
use-hermes-prebuilt: ${{ !endsWith(github.ref_name, '-stable') }}
104105
secrets: inherit
@@ -108,6 +109,7 @@ jobs:
108109
runs-on: macos-15
109110
needs:
110111
[prebuild_apple_dependencies, prebuild_react_native_core]
112+
if: ${{ needs.prebuild_react_native_core.result == 'success' }}
111113
steps:
112114
- name: Checkout
113115
uses: actions/checkout@v6
@@ -141,6 +143,7 @@ jobs:
141143
runs-on: macos-15-large
142144
needs:
143145
[prebuild_apple_dependencies, prebuild_react_native_core]
146+
if: ${{ needs.prebuild_react_native_core.result == 'success' }}
144147
continue-on-error: true
145148
strategy:
146149
fail-fast: false
@@ -158,6 +161,7 @@ jobs:
158161

159162
test_e2e_ios_rntester:
160163
needs: test_ios_rntester
164+
if: ${{ needs.test_ios_rntester.result == 'success' }}
161165
uses: ./.github/workflows/e2e-ios-rntester.yml
162166
secrets: inherit
163167

@@ -176,7 +180,8 @@ jobs:
176180
secrets: inherit
177181

178182
test_e2e_ios_templateapp:
179-
needs: [build_npm_package, prebuild_apple_dependencies]
183+
needs: [build_npm_package, prebuild_apple_dependencies, check_code_changes]
184+
if: needs.check_code_changes.outputs.should_test_ios == 'true'
180185
uses: ./.github/workflows/e2e-ios-templateapp.yml
181186
secrets: inherit
182187

@@ -195,7 +200,8 @@ jobs:
195200
secrets: inherit
196201

197202
test_e2e_android_templateapp:
198-
needs: build_npm_package
203+
needs: [build_npm_package, build_android]
204+
if: ${{ always() && needs.build_android.result == 'success' && needs.build_npm_package.result == 'success' }}
199205
uses: ./.github/workflows/e2e-android-templateapp.yml
200206
secrets: inherit
201207

@@ -284,6 +290,7 @@ jobs:
284290

285291
test_e2e_android_rntester:
286292
needs: build_android
293+
if: ${{ needs.build_android.result == 'success' }}
287294
uses: ./.github/workflows/e2e-android-rntester.yml
288295
secrets: inherit
289296

@@ -306,10 +313,15 @@ jobs:
306313
needs:
307314
[
308315
set_release_type,
316+
check_code_changes,
309317
build_android,
310318
prebuild_apple_dependencies,
311319
prebuild_react_native_core,
312320
]
321+
if: |
322+
always() &&
323+
!contains(needs.*.result, 'failure') &&
324+
!contains(needs.*.result, 'cancelled')
313325
container:
314326
image: reactnativecommunity/react-native-android:latest
315327
env:
@@ -327,10 +339,12 @@ jobs:
327339
with:
328340
release-type: ${{ needs.set_release_type.outputs.RELEASE_TYPE }}
329341
gradle-cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
342+
skip-apple-prebuilts: ${{ needs.check_code_changes.outputs.should_test_ios == 'false' }}
330343

331344
test_android_helloworld:
332345
runs-on: 4-core-ubuntu
333-
needs: build_npm_package
346+
needs: [build_npm_package, build_android]
347+
if: ${{ always() && needs.build_android.result == 'success' && needs.build_npm_package.result == 'success' }}
334348
container:
335349
image: reactnativecommunity/react-native-android:latest
336350
env:
@@ -396,6 +410,7 @@ jobs:
396410
test_ios_helloworld_with_ruby_3_2_0:
397411
runs-on: macos-15
398412
needs: [prebuild_apple_dependencies, prebuild_react_native_core]
413+
if: ${{ needs.prebuild_react_native_core.result == 'success' }}
399414
env:
400415
PROJECT_NAME: iOSTemplateProject
401416
YARN_ENABLE_IMMUTABLE_INSTALLS: false
@@ -410,6 +425,7 @@ jobs:
410425
test_ios_helloworld:
411426
runs-on: macos-15
412427
needs: [prebuild_apple_dependencies, prebuild_react_native_core]
428+
if: ${{ needs.prebuild_react_native_core.result == 'success' }}
413429
strategy:
414430
matrix:
415431
flavor: [Debug, Release]
@@ -435,6 +451,8 @@ jobs:
435451
steps:
436452
- name: Checkout
437453
uses: actions/checkout@v6
454+
- name: Setup Node.js
455+
uses: ./.github/actions/setup-node
438456
- name: Install dependencies
439457
uses: ./.github/actions/yarn-install
440458
- name: Lint file structure
@@ -466,7 +484,7 @@ jobs:
466484
strategy:
467485
fail-fast: false
468486
matrix:
469-
node-version: ["24", "22", "20.19.4"]
487+
node-version: ["24", "22.13.0"]
470488
steps:
471489
- name: Checkout
472490
uses: actions/checkout@v6
@@ -510,4 +528,3 @@ jobs:
510528
- name: Verify debugger-shell build
511529
shell: bash
512530
run: node scripts/debugger-shell/build-binary.js
513-

.github/workflows/validate-cxx-api-snapshots.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ on:
2525
env:
2626
DOXYGEN_VERSION: "1.16.1"
2727

28+
permissions:
29+
contents: read
30+
2831
jobs:
2932
validate_cxx_api_snapshots:
3033
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## v0.86.0-rc.1
4+
5+
### Fixed
6+
7+
#### Android specific
8+
9+
- **Image**: `Image.getSize` and `Image.getSizeWithHeaders` now return the true source dimensions instead of Fresco's downsampled values ([8823a8009b](https://github.com/facebook/react-native/commit/8823a8009b18950d5be2682a86cfcf0c7014a068) by [@zoontek](https://github.com/zoontek))
10+
11+
#### iOS specific
12+
13+
- **Build**: Persist `PODFILE_DIR` as `$(SRCROOT)`-relative so `project.pbxproj` is portable across machines ([44bb83bd84](https://github.com/facebook/react-native/commit/44bb83bd843a3b34779f1e7b1e09dbb3f4f38c6a) by [@zoontek](https://github.com/zoontek))
14+
315
## v0.86.0-rc.0
416

517
### Added

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@
6262
"@react-native/metro-config": "0.87.0-main",
6363
"@tsconfig/node22": "22.0.2",
6464
"@types/react": "^19.1.0",
65-
"@typescript-eslint/parser": "^8.36.0",
65+
"@typescript-eslint/parser": "^8.59.2",
6666
"ansi-regex": "^5.0.0",
6767
"ansi-styles": "^4.2.1",
6868
"babel-plugin-minify-dead-code-elimination": "^0.5.2",
69-
"babel-plugin-syntax-hermes-parser": "0.36.0",
69+
"babel-plugin-syntax-hermes-parser": "0.36.1",
7070
"babel-plugin-transform-define": "^2.1.4",
7171
"babel-plugin-transform-flow-enums": "^0.0.2",
7272
"clang-format": "^1.8.0",
@@ -85,10 +85,10 @@
8585
"eslint-plugin-redundant-undefined": "^0.4.0",
8686
"eslint-plugin-relay": "^1.8.3",
8787
"fb-dotslash": "0.5.8",
88-
"flow-api-translator": "0.36.0",
89-
"flow-bin": "^0.313.0",
90-
"hermes-eslint": "0.36.0",
91-
"hermes-transform": "0.36.0",
88+
"flow-api-translator": "0.36.1",
89+
"flow-bin": "^0.314.0",
90+
"hermes-eslint": "0.36.1",
91+
"hermes-transform": "0.36.1",
9292
"ini": "^5.0.0",
9393
"inquirer": "^7.1.0",
9494
"jest": "^29.7.0",
@@ -116,7 +116,7 @@
116116
"temp-dir": "^2.0.0",
117117
"tinybench": "^4.1.0",
118118
"tinyglobby": "^0.2.15",
119-
"typescript": "5.8.3",
119+
"typescript": "^6.0.3",
120120
"ws": "^7.5.10"
121121
},
122122
"resolutions": {

packages/assets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"bugs": "https://github.com/facebook/react-native/issues",
1919
"engines": {
20-
"node": "^20.19.4 || ^22.13.0 || ^24.3.0 || >= 25.0.0"
20+
"node": "^22.13.0 || ^24.3.0 || >= 26.0.0"
2121
},
2222
"files": [
2323
"path-support.js",

packages/babel-plugin-codegen/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
],
2020
"bugs": "https://github.com/facebook/react-native/issues",
2121
"engines": {
22-
"node": "^20.19.4 || ^22.13.0 || ^24.3.0 || >= 25.0.0"
22+
"node": "^22.13.0 || ^24.3.0 || >= 26.0.0"
2323
},
2424
"files": [
2525
"index.js"

packages/community-cli-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@
5555
}
5656
},
5757
"engines": {
58-
"node": "^20.19.4 || ^22.13.0 || ^24.3.0 || >= 25.0.0"
58+
"node": "^22.13.0 || ^24.3.0 || >= 26.0.0"
5959
}
6060
}

0 commit comments

Comments
 (0)