Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
356 commits
Select commit Hold shift + click to select a range
cb6d388
Add reactRuntime target (#51690)
cipolleschi May 30, 2025
366c892
Fix up debugger-shell package definition (#51694)
motiz88 May 30, 2025
3fb965d
prevent deadlock in C++ Animated (#51697)
sammy-SC May 30, 2025
a218b63
Refactor test setup to avoid importing the Fantom module before the b…
rubennorte May 30, 2025
1882210
Support conditional exports when enumerating entry points (#51698)
motiz88 May 30, 2025
1a46b20
Re-expose src/ paths via exports (default) (#51699)
huntie May 30, 2025
69b56a4
Do not use delegate wrapper for NativeReactNativeFeatureFlags (#51702)
javache May 30, 2025
96fe4a5
Move default trackingName as undefined to RCTNetworking (#51703)
javache May 30, 2025
6a7cea2
Fix reporting of errors during test setup (#51704)
rubennorte May 30, 2025
cddfe4a
use if statement instead of unordered_map for mapping (#51705)
sammy-SC May 30, 2025
1e967ca
Deploy 0.272.2 to xplat (#51717)
SamChou19815 May 31, 2025
d3d92b9
Unify RNTester Cache Policy Image example (#51580)
mateoguzmana May 31, 2025
93920e3
(Mostly) Back out "[react-native] Fix clang tidy for react-native"
NickGerleman Jun 2, 2025
e324874
Fix workflow-retry for android (#51684)
cipolleschi Jun 2, 2025
a6908ad
Add pending declaration for ScrollView (#51613)
riteshshukla04 Jun 2, 2025
36ddf85
Fix emitting event from turbo module crashes on 32bit android (#51695)
vladimirivanoviliev Jun 2, 2025
8037e20
Update debugger-frontend from 343405b...41bf86b (#51739)
motiz88 Jun 2, 2025
8343045
RN: Support Non-Boolean Feature Flags (#51707)
yungsters Jun 2, 2025
95113e9
RN: Default `featureflags` Script to Update (#51708)
yungsters Jun 2, 2025
95ed8a6
Merge all core codegen into FBReactNativeSpec (#50317)
javache Jun 2, 2025
68ed407
Add missing tests references to buck targets (#51743)
javache Jun 2, 2025
581097b
(Redo PR #51264) Remove native animation fabric sync in JS and infini…
zeyap Jun 2, 2025
8f189fc
fix(types): Devtools.d.ts (#51737)
krystofwoldrich Jun 2, 2025
fedc7f2
Generate rich changelog in debugger-frontend sync script, add --no-bu…
motiz88 Jun 2, 2025
f2c9d74
Remove continue-on-error from e2e test in GHA (#51746)
cipolleschi Jun 2, 2025
df6eff4
Improve e2e times and flakiness by using the search (#51590)
mateoguzmana Jun 2, 2025
5f0d508
Stop testing the legacy architecture (#51738)
cipolleschi Jun 2, 2025
46e70fb
Rename root -> view in ViewManager parameters (#51755)
mdvacca Jun 2, 2025
746376a
RN: Represent Numeric Feature Flags as Double (#51713)
yungsters Jun 2, 2025
0a951c1
RN: Create `virtualViewPrerenderRatio` Feature Flag (#51716)
yungsters Jun 2, 2025
ab9ff88
Remove unused header import (#51754)
realsoelynn Jun 2, 2025
3353579
fix ReactScrollViewHelper.kt remove listeners logic (#51718)
Jun 3, 2025
5c8c538
RN: Fix Shadowing of Animated Styles (#51719)
yungsters Jun 3, 2025
7979c7c
Remove `YogaLayoutableShadowNode::cleanLayout()` and Fix ParagraphSha…
NickGerleman Jun 3, 2025
8ac0ccb
Add tracing section for event loop tick work for IntersectionObserver…
rubennorte Jun 3, 2025
527e39a
Move scrollView to ReactFabric (#51691)
cipolleschi Jun 3, 2025
c38007a
Improve searchPath transitive computation (#51731)
cipolleschi Jun 3, 2025
0e775ba
Cleanup header search paths (#51730)
cipolleschi Jun 3, 2025
7ef7736
simplify searchPaths for RuntimeExecutor (#51729)
cipolleschi Jun 3, 2025
dbbf0f8
simplify searchPaths for CallInvoker (#51728)
cipolleschi Jun 3, 2025
004726e
simplify searchPaths for ReactFBReactNativeSpecPath (#51727)
cipolleschi Jun 3, 2025
9c1a55a
simplify searchPaths for FBLazyVectorPath (#51726)
cipolleschi Jun 3, 2025
80e8a6a
Fix build after unifying RNCore in FBReactNativeSpec (#51766)
cipolleschi Jun 3, 2025
116fb6d
Make time in C++ Animated injectable (#51749)
sammy-SC Jun 3, 2025
d0e402f
Call onRender inline instead of from startRenderCallbackIfNeeded (#51…
sammy-SC Jun 3, 2025
dd590c5
Remove outdated asserts from StubViewTree (#51751)
sammy-SC Jun 3, 2025
747eb3c
Introduce Fantom.unstable_advanceAnimationsByTime (#51752)
sammy-SC Jun 3, 2025
48395d3
Convert ReactViewGroup to Kotlin (#51767)
cortinico Jun 3, 2025
75be907
Integrate building a type snapshot into typegen script (#51765)
j-piasecki Jun 3, 2025
ab2c81f
Bring RNDT shell to front when paused on breakpoint (#51748)
motiz88 Jun 3, 2025
0486604
Use delegate to handle commands when available (#51769)
javache Jun 3, 2025
c8dcf11
unbreak build_android due to wrong parameter name in ReactViewGroup (…
cortinico Jun 3, 2025
d2464d8
fix: make sure RNTester builds with USE_HERMES=0 (#51772)
okwasniewski Jun 3, 2025
3a009be
link missing methods to tasks (#51714)
sammy-SC Jun 3, 2025
5324ae2
Add changelog for v0.80.0-rc.4 (#51747)
react-native-bot Jun 3, 2025
b4ae5c1
refactor: migrated file LazyReactPackage to Kotlin (#51085)
Xintre Jun 3, 2025
6389334
Fix crash when accessing offsetParent from documentElement (#51773)
rubennorte Jun 3, 2025
5f83c77
Remove Broken Caching Logic in AndroidProgressBarMeasurementsManagaer…
NickGerleman Jun 3, 2025
eb6e1b8
Fix CQS signal modernize-use-nullptr in xplat/js/react-native-github/…
Jun 3, 2025
1a6d466
trigger animations at time 0 in fantom (#51776)
sammy-SC Jun 3, 2025
8960d9e
Improve e2e times by using deep links to open examples (#51786)
mateoguzmana Jun 4, 2025
d1efc58
Remove unnecessary "using namespace" directives (#51774)
rubennorte Jun 4, 2025
773ee9c
Nullability check for stderr from CLI (#51797)
rubennorte Jun 4, 2025
06a7eaa
Update api-extractor config to reduce number of duplicated symbols (#…
j-piasecki Jun 4, 2025
a67916f
Bump windows to latests as GH will remove windows-2019 EOM (#51798)
cipolleschi Jun 4, 2025
1c6923d
Disallow usage of unprefixed (suffixed) Props type name (#51653)
j-piasecki Jun 4, 2025
dc7be7c
Migrate `NativeModuleRegistry` to Kotlin (#51734)
mateoguzmana Jun 4, 2025
b338a00
make per UI tick calculation more predictable (#51802)
sammy-SC Jun 4, 2025
0de92b5
Bring back @flow strict to composeStyles and fix Flow errors (#51803)
coado Jun 4, 2025
59fcc57
Make ShadowNode::transferRuntimeShadowNodeReference private (#51805)
sammy-SC Jun 4, 2025
1dae8d1
Add support for Error.cause in Fantom (#51800)
rubennorte Jun 4, 2025
031aa4f
add comment why FabricUIManagerBinding::getScheduler is public (#51801)
sammy-SC Jun 4, 2025
2be4435
rename advanceAnimationsByTime to produceFramesForDuration for clarif…
sammy-SC Jun 4, 2025
b266f78
Back out "Improve e2e times by using deep links to open examples" (#5…
cipolleschi Jun 4, 2025
f2b1960
generate-artifacts-executor: fix parsing .class in complex classes (#…
gabrieldonadel Jun 4, 2025
2ec21b4
Remove unneeded folly deps (#51807)
javache Jun 4, 2025
c7bbf12
Tweak visibility of fields inside NativeModuleRegistry (#51810)
cortinico Jun 4, 2025
573ba02
Use PreparedLayout as opposed to Layout in PreparedLayoutTextView (#5…
joevilches Jun 4, 2025
55fd8b2
Move textAlignVertical to paragraph props (#51712)
joevilches Jun 4, 2025
ed26358
Implement textVerticalAlign (#51680)
joevilches Jun 4, 2025
27f4801
introduce Fantom.unstable_getDirectManipulationProps (#51814)
sammy-SC Jun 4, 2025
c1216d9
RN: Flowify `flow-typed/{environment/node,npm/jest}` (#51777)
yungsters Jun 4, 2025
b344aec
RN: Add `@noflow` to ESLint & Babel Preset Files (#51778)
yungsters Jun 4, 2025
cc90748
RN: Add `@noflow` to Node.js Scripts (#51779)
yungsters Jun 4, 2025
9c38daf
RN: Flowify `scripts` (#51780)
yungsters Jun 4, 2025
404f3eb
RN: Flowify `packages/react-native-codegen` (#51781)
yungsters Jun 4, 2025
3728afa
RN: Add `@noflow` to `packages/react-native-compatibility-check` (#51…
yungsters Jun 4, 2025
3d55f22
RN: Flowify `packages/react-native-fantom` (#51784)
yungsters Jun 4, 2025
71bf071
RN: Flowify `packages/virtualized-lists` (#51785)
yungsters Jun 4, 2025
3e6423f
RN: Flowify `packages/rn-tester` (#51788)
yungsters Jun 4, 2025
13e0965
RN: Flowify `packages/helloworld` (#51789)
yungsters Jun 4, 2025
d770577
RN: Flowify Non-Library Files (#51790)
yungsters Jun 4, 2025
f2ff8c9
RN: Flowify `packages/react-native/Libraries/Alert` (#51792)
yungsters Jun 4, 2025
5ce99e7
RN: Flowify `packages/react-native` Mocks & Tests (#51794)
yungsters Jun 4, 2025
c27a880
Bump min Xcode to 16.1 (#51762)
NickGerleman Jun 4, 2025
997b7c9
Rewrite accessibilityOrder with virtual view hierarchy (#51692)
jorge-cab Jun 4, 2025
2ba86ca
Clean up measurements path and ReactTextViewManagerCallback injection…
NickGerleman Jun 5, 2025
add1113
Support ReactTextViewManagerCallback in Facsimile (#51759)
NickGerleman Jun 5, 2025
48216b2
FabricUIManager.prepareLayout() -> FabricUIManager.prepareTextLayout(…
NickGerleman Jun 5, 2025
e8e51ac
RN: Flowify Remaining Files (#51822)
yungsters Jun 5, 2025
1a335b3
RN: Require `@flow` Annotations (#51824)
yungsters Jun 5, 2025
d631ec9
Migrate `ReactTextViewManager` to Kotlin (#51721)
mateoguzmana Jun 5, 2025
2c3fadd
Add changelog for 0.79.3 (#51816)
cipolleschi Jun 5, 2025
5661fe9
Add test for onScroll events (#51826)
sammy-SC Jun 5, 2025
c783128
fix: ignore build/ and DerivedData/ dirs in when reading infoPlistFil…
tjzel Jun 5, 2025
b4cf619
add fantom tests for pointerevents (#51842)
sammy-SC Jun 5, 2025
8db1222
Forward onBlur/onFocus events to Pressability config (#51670)
Abbondanzo Jun 5, 2025
cf9d28a
RN: Improve `lint-ci` Script (#51853)
yungsters Jun 5, 2025
0df71ea
RN: Prohibit ESLint Warnings (#51825)
yungsters Jun 5, 2025
7f8cf06
Update codegen to use StateData (#51823)
mdvacca Jun 5, 2025
0581e88
Avoid scratch TextPaint for Facsimile Layouts (#51827)
NickGerleman Jun 5, 2025
cd5d745
Fix image loading on props change without layout invalidation (#51791)
Jun 5, 2025
e960a28
Add focus and blur dispatching logic to BaseViewManager (#51724)
Abbondanzo Jun 5, 2025
fe66694
Add example for focus events on Android (#51725)
Abbondanzo Jun 5, 2025
e51a5f0
Enable RSNRU only for React commits (#51843)
Jun 5, 2025
e0797d0
Remove console.error patch (#48783)
rickhanlonii Jun 5, 2025
0411c43
RN: Patch `enableEagerAlternateStateNodeCleanup` into Renderers (OSS)…
yungsters Jun 5, 2025
79d2e2a
RN: Fix Lint for `FocusEventsExample.android.js` (#51857)
yungsters Jun 5, 2025
8d1bcd8
Update Typescript version (#51831)
j-piasecki Jun 6, 2025
78caa07
WIP [RN][JS Stable API] Verify built types in Github CI (#51808)
j-piasecki Jun 6, 2025
9616a83
Rename --validate arg on yarn build (#51834)
huntie Jun 6, 2025
e17eab4
Add docs for build-types (#51852)
huntie Jun 6, 2025
a9007ea
feat: process HMR `registerBundle` calls from same origin only (#51821)
jbroma Jun 6, 2025
4dcf76a
Update how native specs are reexported (#51799)
j-piasecki Jun 6, 2025
1ab8117
build (Android): allow for additional sdkmanager paths (#51829)
douglowder Jun 6, 2025
7681036
fix: exclusion of selectively disabled libraries from codegen generat…
aattola Jun 6, 2025
17466a0
Rename local symbols exported by default before generating the snapsh…
j-piasecki Jun 6, 2025
4f9090b
Bump AGP to 8.10.x (#51854)
cortinico Jun 6, 2025
be113b4
Stop building JSC inside RN-Tester (#51865)
cortinico Jun 6, 2025
0d4c326
Remove reactnative_unittest target and setup (#51866)
cortinico Jun 6, 2025
df39ead
Bump minimum Node.js version to 22.14.0 (#51840)
huntie Jun 6, 2025
3c01b1b
build swift package from prebuild script (#51595)
chrfalch Jun 6, 2025
55534f5
build xcframeworks from prebuild script (#51596)
chrfalch Jun 6, 2025
6b287c0
Add Types to simplify the SPM build process (#51847)
cipolleschi Jun 6, 2025
b2ec9b2
Add cli script to properly hande input params to build with SPM (#51846)
cipolleschi Jun 6, 2025
818c3d1
Improve logging for reactNativeDependencies (#51849)
cipolleschi Jun 6, 2025
6435dec
Extract setup in a separate file (#51848)
cipolleschi Jun 6, 2025
bd2855b
Integrate the cli script with the build script (#51845)
cipolleschi Jun 6, 2025
08f16ee
Integrate the cli script with the compose-xcframework task (#51850)
cipolleschi Jun 6, 2025
829b719
Back out "Override `updateRuntimeShadowNodeReferencesOnCommit` for OS…
cortinico Jun 6, 2025
ac8d677
Fix E2E tests for Android (both ci and release testing) (#51873)
cipolleschi Jun 6, 2025
b5c62f5
Support root offsets for Fantom and `getBoundingClientRect` (#51817)
lunaleaps Jun 6, 2025
c5b6716
Reland IntersectionObserver `root` with fixes (#51818)
lunaleaps Jun 6, 2025
ae40886
Fix misaligned Node versions in CI (#51874)
huntie Jun 6, 2025
a8db9c2
Fix CQS signal modernize-use-nullptr in xplat/js/react-native-github/…
Jun 6, 2025
c7cc125
fix props merging for Android (#51877)
sammy-SC Jun 6, 2025
2c32bfa
ReactCxxPlatform > apply clang tidy settings (#51828)
christophpurrer Jun 7, 2025
198c6fc
Make receiveCommand args non-nullable (#51806)
javache Jun 7, 2025
65aa819
Fix new codegen API disabling behaviour of the old one (#51867)
kkafar Jun 9, 2025
90b64a4
Updated description of Maestro E2E Android (#51887)
pratyush3124 Jun 9, 2025
5d76fe6
preventing future build failures (#51890)
sammy-SC Jun 9, 2025
85498ad
Remove unnecessary receiveCommand overrides (#51844)
javache Jun 9, 2025
fe2bcbf
Community CLI: Don't clobber user config of Metro resolver/serializer…
robhogan Jun 9, 2025
a67d2c5
Remove unused LegacyModuleProviderDelegate from TurboModuleManager.h …
christophpurrer Jun 9, 2025
f33fdca
Convert and internalize MountingManager (#51872)
cortinico Jun 9, 2025
8d76670
Migrate `ReactPackageTurboModuleManagerDelegate` to Kotlin (#51855)
mateoguzmana Jun 9, 2025
a889e1d
Fix Nightly Builds (#51901)
riteshshukla04 Jun 9, 2025
6da3b18
Add third-party deps (#51897)
andrewdacenko Jun 9, 2025
0d1cde7
Raise logLevel of LegacyArchitecture classes when minimizing of legac…
mdvacca Jun 9, 2025
38a4b62
Raise loglevel for assertion of LegacyArchitecture classes (#51875)
mdvacca Jun 9, 2025
84f9e48
Fix a crash in View Culling coming from unflattening/flattening algor…
sammy-SC Jun 9, 2025
6104ccd
Correct the excludePlatforms logic in combining schema step of Codege…
arushikesarwani94 Jun 9, 2025
e4619a4
Add annotations or make things readonly to prepare for object literal…
SamChou19815 Jun 10, 2025
26c0427
Replace chalk in build scripts (#51904)
huntie Jun 10, 2025
62bf92c
Replace chalk in packages (#51905)
huntie Jun 10, 2025
89cb7ea
Replace remaining uses of chalk (#51906)
huntie Jun 10, 2025
43ba9df
Add jni target to ReactCxxPlatform (#51898)
christophpurrer Jun 10, 2025
c5bfd5b
Add http target to ReactCxxPlatform (#51899)
christophpurrer Jun 10, 2025
ad652cf
sort-imports: Update Rule Definition (#51880)
yungsters Jun 10, 2025
fb7a45a
sort-imports: ESLint Suppression Comments (#51881)
yungsters Jun 10, 2025
d17f7d0
RN: Private Package for Monorepo ESLint Rules (#51858)
yungsters Jun 10, 2025
bcffd4e
RN: Standardize ESLint Severity Levels (#51863)
yungsters Jun 10, 2025
2a7e37e
RN: Move `tools/api` to `private/cxx-public-api` (#51859)
yungsters Jun 10, 2025
0fad032
RN: Move `{tools => private/monorepo-tests}/__tests__ (#51862)
yungsters Jun 10, 2025
56e5829
Add io target to ReactCxxPlatform (#51900)
christophpurrer Jun 10, 2025
6fff197
Update the transform not to rename member expression fragments (#51891)
j-piasecki Jun 10, 2025
b649791
Remove internal PlatformType type alias (#51888)
j-piasecki Jun 10, 2025
daff0c9
Disallow usage of "NativeProps" symbol in internal components (#51889)
j-piasecki Jun 10, 2025
0e0cd39
Add devsupport target to ReactCxxPlatform (#51902)
christophpurrer Jun 10, 2025
10aef58
Cleanup JSC infrastructure inside test-e2e-local.js (#51894)
cortinico Jun 10, 2025
ff3cfff
Remove JSC build logic from helloworld (#51895)
cortinico Jun 10, 2025
beb3d49
Fix sorting string literals in React Native API snapshot (#51916)
coado Jun 10, 2025
0448898
Migrate `ReactFragment` to Kotlin (#51756)
mateoguzmana Jun 10, 2025
79354eb
Update documentation for codegen options `interfaceOnly` (#51924)
mdvacca Jun 10, 2025
2079cb2
Fix AnimationDriverTests and align with android on rounding (#51922)
sammy-SC Jun 10, 2025
c395780
Add runtime target to ReactCxxPlatform (#51903)
christophpurrer Jun 10, 2025
c3bd624
Back out "(Redo PR #51264) Remove native animation fabric sync in JS …
Jun 10, 2025
df52bbe
RN: Update `set-versions` for `private/` Packages (#51937)
yungsters Jun 10, 2025
683054c
RN: Move `{packages => private}/react-native-bots` (#51932)
yungsters Jun 10, 2025
0e1a94a
Cache accessibilityElements (#51940)
joevilches Jun 11, 2025
0954c1d
Remove and cleanup JSEngineResolutionAlgorithm (#51931)
cortinico Jun 11, 2025
7f157d2
rename build-ios to build-ios-dependencies (#51480)
cipolleschi Jun 11, 2025
32b2f98
Use capital letters for Debug and Release (#51920)
cipolleschi Jun 11, 2025
3ac8c0d
Create dSYMs for React Native core (#51918)
cipolleschi Jun 11, 2025
ecec7f3
Implement signing for React Native core (#51919)
cipolleschi Jun 11, 2025
2cf1495
Prebuild React Native core in CI (#51921)
cipolleschi Jun 11, 2025
be1db20
Publish ReactCore prebuilds to Maven central (#51923)
cipolleschi Jun 11, 2025
dac6020
Fix data race in updateRendering (#51948)
michalkielan Jun 11, 2025
cbc327c
Disable view culling in ScrollView with overflow visible (#51947)
sammy-SC Jun 11, 2025
a293925
RN: Remove "js engine" Suffix from Error Stacks (#51913)
yungsters Jun 11, 2025
b215bde
Make sure that build_npm_package waits for react-native-core prebuild…
cipolleschi Jun 11, 2025
788c980
Rename ReactDebug and ReactRelease to ReactCoreXXX (#51957)
cipolleschi Jun 11, 2025
f529fd6
Add snapshot validation to build-types (#51893)
coado Jun 11, 2025
d8fe915
Fix multiple artifacts with the identical extension and classifier. (…
cipolleschi Jun 11, 2025
d1ef8f1
Make com.facebook.react.views.common.ContextUtils internal (#51959)
cortinico Jun 11, 2025
8bcf134
Re-use assigned root tag if possible (#51939)
rozele Jun 11, 2025
d292f13
Migrate `ReactInstanceManagerBuilder` to Kotlin (#51884)
mateoguzmana Jun 11, 2025
0dd3f80
Update debugger-frontend from 41bf86b...68cfd0a (#51963)
hoxyq Jun 11, 2025
4b76129
Cleanup Text Feature Flags (#51944)
NickGerleman Jun 11, 2025
9d3fa88
Cleanup async flag and use feature flag for debugging (#51962)
lunaleaps Jun 12, 2025
85f0dec
RN: Preserve Stack Traces in CLI Scripts (#51965)
yungsters Jun 12, 2025
f0f71ea
RN: Move `{packages => private}/helloworld` (#51934)
yungsters Jun 12, 2025
1b08515
RN: Move `{packages => private}/react-native-codegen-typescript-test`…
yungsters Jun 12, 2025
c79e55f
Deploy 0.273.1 to xplat (#51968)
pieterv Jun 12, 2025
d6f29c8
RN: Move `{packages => private}/react-native-fantom` (#51938)
yungsters Jun 12, 2025
1d80586
Enable Defines Module option for RCTImage pod (#51974)
kkafar Jun 12, 2025
7a471c7
Fix broken tests due to nullable parameter on ReactInstanceManagerBui…
cortinico Jun 12, 2025
84cbb09
merge changelogs for 0.80 (#51892)
hezi Jun 12, 2025
d33c2d1
Polish the changelog for 0.80
cortinico Jun 12, 2025
ca1ecef
Kotlin: fix up several KDoc annotations (#51961)
mateoguzmana Jun 12, 2025
a6c310c
Make ReactDelegate nullsafe (#51977)
cortinico Jun 12, 2025
fb1a4d7
Add macros to remove old runtime
RSNara Jun 12, 2025
42ca46b
fix: add ImageSource type to TypeScript (#51969)
okwasniewski Jun 12, 2025
e82a677
Convert TextLayoutManager to Kotlin and Make Internal (#51966)
NickGerleman Jun 12, 2025
50667ec
Publish top-level Flow types for `react-native` (#51908)
aswinandro Jun 12, 2025
46eab9c
Fix CQS signal modernize-concat-nested-namespaces in xplat/js/react-n…
Jun 12, 2025
70962ef
Added support for multiple widths with dashed and dotted borders on i…
a-klotz-p8 Jun 12, 2025
e8b55a4
Add flowTypes for codegen LIBRARY_GENERATORS (#51987)
mdvacca Jun 13, 2025
a8386aa
Prevent exporting internal objects of codegen (#51990)
mdvacca Jun 13, 2025
e61daa8
Introduce parameter to customize libraryGenerators used in the codege…
mdvacca Jun 13, 2025
de91b81
Add diff-api-snapshot for public API breaking change detection (#51972)
coado Jun 13, 2025
4739b2c
testing snapshot
coado Jun 13, 2025
6054038
testing breaking change
coado Jun 13, 2025
60a7832
snapshot output
coado Jun 13, 2025
5fb74aa
add diff-api-snapshot bot
coado Jun 13, 2025
8d19237
read snapshot from output.json
coado Jun 13, 2025
0c48357
execute through diff_api_snapshot.sh
coado Jun 13, 2025
a5b05d2
run without swallow
coado Jun 13, 2025
f4fe832
Make diff_api_snapshot.sh executable
coado Jun 13, 2025
4db0484
gh pr number
coado Jun 13, 2025
3273fae
without swallow
coado Jun 13, 2025
615bd79
make executable
coado Jun 13, 2025
a549da9
Empty
coado Jun 13, 2025
0f77dbc
run aon pull request
coado Jun 13, 2025
4e4cf20
change snap
coado Jun 13, 2025
a48859c
faking prev ReactNativeApi.d.ts
coado Jun 13, 2025
2204591
change envs
coado Jun 13, 2025
838a966
add write permission
coado Jun 13, 2025
20dd1b4
write on issues
coado Jun 13, 2025
5d27def
pull_request_target
coado Jun 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ packages/*/dist
packages/*/types_generated
packages/debugger-frontend/dist/**/*
packages/react-native-codegen/lib
tools/eslint/rules/sort-imports.js
**/Pods/*
**/*.macos.js
**/*.windows.js
54 changes: 28 additions & 26 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,18 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @noflow
* @format
*/

'use strict';

const path = require('node:path');

require('eslint-plugin-lint').load(path.join(__dirname, 'tools/eslint/rules'));

module.exports = {
root: true,

extends: ['@react-native'],

plugins: ['@react-native/eslint-plugin-specs', 'lint'],
plugins: ['@react-native/monorepo', '@react-native/specs'],

overrides: [
// overriding the JS config from @react-native/eslint-config to ensure
Expand All @@ -27,19 +24,23 @@ module.exports = {
files: ['*.js', '*.js.flow', '*.jsx'],
parser: 'hermes-eslint',
rules: {
'@react-native/monorepo/sort-imports': 'warn',
'eslint-comments/no-unlimited-disable': 'off',
'ft-flow/require-valid-file-annotation': ['error', 'always'],
'no-extra-boolean-cast': 'off',
'no-void': 'off',
// These rules are not required with hermes-eslint
'ft-flow/define-flow-type': 0,
'ft-flow/use-flow-type': 0,
'lint/sort-imports': 1,
'ft-flow/define-flow-type': 'off',
'ft-flow/use-flow-type': 'off',
// Flow handles these checks for us, so they aren't required
'no-undef': 0,
'no-unreachable': 0,
'no-undef': 'off',
'no-unreachable': 'off',
},
},
{
files: ['*.js', '*.jsx', '*.ts', '*.tsx'],
rules: {
'@react-native/no-deep-imports': 0,
'@react-native/no-deep-imports': 'off',
},
},
{
Expand All @@ -50,7 +51,7 @@ module.exports = {
],
parser: 'hermes-eslint',
rules: {
'lint/no-commonjs-exports': 1,
'@react-native/monorepo/no-commonjs-exports': 'warn',
},
},
{
Expand All @@ -60,16 +61,17 @@ module.exports = {
{
files: ['package.json'],
rules: {
'lint/react-native-manifest': 2,
'@react-native/monorepo/react-native-manifest': 'error',
},
},
{
files: ['flow-typed/**/*.js', 'packages/react-native/flow/**/*'],
rules: {
'lint/valid-flow-typed-signature': 2,
'no-shadow': 0,
'no-unused-vars': 0,
quotes: 0,
'@react-native/monorepo/valid-flow-typed-signature': 'error',
'ft-flow/require-valid-file-annotation': 'off',
'no-shadow': 'off',
'no-unused-vars': 'off',
quotes: 'off',
},
},
{
Expand All @@ -78,14 +80,14 @@ module.exports = {
'packages/react-native/src/**/*.js',
],
rules: {
'@react-native/platform-colors': 2,
'@react-native/specs/react-native-modules': 2,
'lint/no-haste-imports': 2,
'lint/no-react-native-imports': 2,
'lint/require-extends-error': 2,
'lint/no-react-node-imports': 2,
'lint/no-react-default-imports': 2,
'lint/no-react-named-type-imports': 2,
'@react-native/monorepo/no-haste-imports': 'error',
'@react-native/monorepo/no-react-default-imports': 'error',
'@react-native/monorepo/no-react-named-type-imports': 'error',
'@react-native/monorepo/no-react-native-imports': 'error',
'@react-native/monorepo/no-react-node-imports': 'error',
'@react-native/monorepo/require-extends-error': 'error',
'@react-native/platform-colors': 'error',
'@react-native/specs/react-native-modules': 'error',
},
},
{
Expand Down Expand Up @@ -139,7 +141,7 @@ module.exports = {
{
files: ['**/__tests__/**'],
rules: {
'lint/no-react-native-imports': 'off',
'@react-native/monorepo/no-react-native-imports': 'off',
},
},
],
Expand Down
8 changes: 5 additions & 3 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PROJECT_ROOT>/packages/react-native-codegen/e2e/__test_fixtures__/modules/NativeEnumTurboModule.js

; Ignore the Dangerfile
<PROJECT_ROOT>/packages/react-native-bots/dangerfile.js
<PROJECT_ROOT>/private/react-native-bots/dangerfile.js

; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/\.buckd/
Expand All @@ -27,7 +27,7 @@
<PROJECT_ROOT>/packages/.*/dist

; helloworld
<PROJECT_ROOT>/packages/helloworld/ios/Pods/
<PROJECT_ROOT>/private/helloworld/ios/Pods/

; Ignore rn-tester Pods
<PROJECT_ROOT>/packages/rn-tester/Pods/
Expand Down Expand Up @@ -69,6 +69,8 @@ module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/packages/react-nat
module.name_mapper='^@react-native/dev-middleware$' -> '<PROJECT_ROOT>/packages/dev-middleware'
module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\|xml\)$' -> '<PROJECT_ROOT>/packages/react-native/Libraries/Image/RelativeImageStub'

module.system.haste.module_ref_prefix=m#

react.runtime=automatic

suppress_type=$FlowIssue
Expand Down Expand Up @@ -100,4 +102,4 @@ untyped-import
untyped-type-import

[version]
^0.272.0
^0.273.1
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ body:
path: /bin/zsh
Binaries:
Node: ...
version: 18.14.0
version: 22.14.0
...
render: text
validations:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/debugger_bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ body:
path: /bin/zsh
Binaries:
Node: ...
version: 18.14.0
version: 22.14.0
...
render: text
validations:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/new_architecture_bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ body:
path: /bin/zsh
Binaries:
Node: ...
version: 18.14.0
version: 22.14.0
...
render: text
validations:
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/build-android/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ runs:
uses: actions/upload-artifact@v4.3.4
with:
name: rntester-debug
path: packages/rn-tester/android/app/build/outputs/apk/hermes/debug/
path: packages/rn-tester/android/app/build/outputs/apk/debug/
compression-level: 0
- name: Upload RNTester APK - hermes-release
if: ${{ always() }}
uses: actions/upload-artifact@v4.3.4
with:
name: rntester-release
path: packages/rn-tester/android/app/build/outputs/apk/hermes/release/
path: packages/rn-tester/android/app/build/outputs/apk/release/
compression-level: 0
4 changes: 2 additions & 2 deletions .github/actions/build-hermesc-windows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:
- name: Windows cache
uses: actions/cache@v4
with:
key: v2-hermes-${{ github.job }}-windows-${{ inputs.hermes-version }}-${{ inputs.react-native-version }}
key: v3-hermes-${{ github.job }}-windows-${{ inputs.hermes-version }}-${{ inputs.react-native-version }}
path: |
D:\tmp\hermes\win64-bin\
D:\tmp\hermes\hermes\icu\
Expand Down Expand Up @@ -63,7 +63,7 @@ runs:
$Env:PATH += ";$Env:CMAKE_DIR;$Env:MSBUILD_DIR"
$Env:ICU_ROOT = "$Env:HERMES_WS_DIR\icu"

cmake -S hermes -B build_release -G 'Visual Studio 16 2019' -Ax64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=True -DHERMES_ENABLE_WIN10_ICU_FALLBACK=OFF
cmake -S hermes -B build_release -G 'Visual Studio 17 2022' -Ax64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=True -DHERMES_ENABLE_WIN10_ICU_FALLBACK=OFF
if (-not $?) { throw "Failed to configure Hermes" }
echo "Running windows build..."
cd build_release
Expand Down
6 changes: 6 additions & 0 deletions .github/actions/build-npm-package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ runs:
pattern: ReactNativeDependencies*
path: ./packages/react-native/ReactAndroid/external-artifacts/artifacts
merge-multiple: true
- name: Download ReactCore artifacts
uses: actions/download-artifact@v4
with:
pattern: ReactCore*
path: ./packages/react-native/ReactAndroid/external-artifacts/artifacts
merge-multiple: true
- name: Print Artifacts Directory
shell: bash
run: ls -lR ./packages/react-native/ReactAndroid/external-artifacts/artifacts/
Expand Down
9 changes: 6 additions & 3 deletions .github/actions/lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
node-version:
description: "The node.js version to use"
required: false
default: "20"
default: "22"
github-token:
description: "The GitHub token used by pull-bot"
required: true
Expand Down Expand Up @@ -34,7 +34,7 @@ runs:
run: ./.github/workflow-scripts/lint_files.sh
- name: Verify not committing repo after running build
shell: bash
run: yarn run build --check
run: yarn run build --validate
- name: Run flowcheck
shell: bash
run: yarn flow-check
Expand All @@ -50,6 +50,9 @@ runs:
- name: Lint markdown
shell: bash
run: yarn run lint-markdown
- name: Validate typegen
- name: Build types
shell: bash
run: yarn build-types
- name: Run typescript check of generated types
shell: bash
run: yarn test-generated-typescript
10 changes: 3 additions & 7 deletions .github/actions/maestro-android/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Maestro E2E Android
description: Runs E2E Tests on iOS using Maestro
description: Runs E2E Tests on Android using Maestro
inputs:
app-path:
required: true
Expand All @@ -22,10 +22,6 @@ inputs:
required: false
default: "."
description: The directory from which metro should be started
architecture:
required: false
default: "NewArch"
description: The react native architecture to test

runs:
using: composite
Expand Down Expand Up @@ -76,13 +72,13 @@ runs:
uses: actions/upload-artifact@v4.3.4
if: always()
with:
name: e2e_android_${{ steps.normalize-app-id.outputs.app-id }}_report_${{ inputs.flavor }}_${{ inputs.architecture }}
name: e2e_android_${{ steps.normalize-app-id.outputs.app-id }}_report_${{ inputs.flavor }}_NewArch
path: |
report.xml
screen.mp4
- name: Store Logs
if: steps.run-tests.outcome == 'failure'
uses: actions/upload-artifact@v4.3.4
with:
name: maestro-logs-android-${{ steps.normalize-app-id.outputs.app-id }}-${{ inputs.flavor }}-${{ inputs.architecture }}
name: maestro-logs-android-${{ steps.normalize-app-id.outputs.app-id }}-${{ inputs.flavor }}-NewArch
path: /tmp/MaestroLogs
8 changes: 2 additions & 6 deletions .github/actions/maestro-ios/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ inputs:
required: false
default: "."
description: The directory from which metro should be started
architecture:
required: false
default: "NewArch"
description: The react native architecture to test

runs:
using: composite
Expand Down Expand Up @@ -70,7 +66,7 @@ runs:
if: always()
uses: actions/upload-artifact@v4.3.4
with:
name: e2e_ios_${{ inputs.app-id }}_report_${{ inputs.flavor }}_${{ inputs.architecture }}
name: e2e_ios_${{ inputs.app-id }}_report_${{ inputs.flavor }}_NewArch
path: |
video_record_1.mov
video_record_2.mov
Expand All @@ -82,5 +78,5 @@ runs:
if: failure() && steps.run-tests.outcome == 'failure'
uses: actions/upload-artifact@v4.3.4
with:
name: maestro-logs-${{ inputs.app-id }}-${{ inputs.flavor }}-${{ inputs.architecture }}
name: maestro-logs-${{ inputs.app-id }}-${{ inputs.flavor }}-NewArch
path: /tmp/MaestroLogs
2 changes: 1 addition & 1 deletion .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
node-version:
description: 'The node.js version to use'
required: false
default: '20'
default: '22'
runs:
using: "composite"
steps:
Expand Down
7 changes: 2 additions & 5 deletions .github/actions/setup-xcode-build-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ inputs:
flavor:
description: The flavor that is going to be built
default: Debug
architecture:
description: The architecture that is going to be built
default: NewArch
use-frameworks:
description: Whether we are bulding with DynamicFrameworks or StaticLibraries
default: StaticLibraries
Expand All @@ -27,9 +24,9 @@ runs:
uses: actions/cache@v4
with:
path: packages/rn-tester/Podfile.lock
key: v13-podfilelock-${{ github.job }}-${{ inputs.architecture }}-${{ inputs.flavor }}-${{ inputs.use-frameworks }}-${{ inputs.ruby-version }}-${{ hashfiles('packages/rn-tester/Podfile') }}-${{ inputs.hermes-version }}
key: v13-podfilelock-${{ github.job }}-NewArch-${{ inputs.flavor }}-${{ inputs.use-frameworks }}-${{ inputs.ruby-version }}-${{ hashfiles('packages/rn-tester/Podfile') }}-${{ inputs.hermes-version }}
- name: Cache cocoapods
uses: actions/cache@v4
with:
path: packages/rn-tester/Pods
key: v15-cocoapods-${{ github.job }}-${{ inputs.architecture }}-${{ inputs.flavor }}-${{ inputs.use-frameworks }}-${{ inputs.ruby-version }}-${{ hashfiles('packages/rn-tester/Podfile.lock') }}-${{ hashfiles('packages/rn-tester/Podfile') }}-${{ inputs.hermes-version}}
key: v15-cocoapods-${{ github.job }}-NewArch-${{ inputs.flavor }}-${{ inputs.use-frameworks }}-${{ inputs.ruby-version }}-${{ hashfiles('packages/rn-tester/Podfile.lock') }}-${{ hashfiles('packages/rn-tester/Podfile') }}-${{ inputs.hermes-version}}
Loading
Loading