Skip to content
Closed
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
3977 commits
Select commit Hold shift + click to select a range
e9faea2
Migrate ReactPackageLogger to kotlin (#48345)
mdvacca Dec 20, 2024
7b8412d
Migrate ReactDrawableHelper to Kotlin (#48346)
mdvacca Dec 20, 2024
5443359
Revert "Include autolinkin.h in OnLoad.cpp only if it exists (#47875)…
cipolleschi Dec 20, 2024
953889d
Stabilize Android tests adding retries for failed tests (#48324)
cipolleschi Dec 20, 2024
4c1dd90
Replace `React$Node` with `React.Node`
SamChou19815 Dec 20, 2024
66342d3
Deploy 0.257.1 to xplat
SamChou19815 Dec 20, 2024
5b6e35a
translation auto-update for Apps/Wilde/scripts/intl-config.json on ma…
Dec 21, 2024
27aa28b
USe the debug APK instead of the release one (#48365)
cipolleschi Dec 23, 2024
5b6534e
Fix typo in configuration (#48364)
cipolleschi Dec 23, 2024
e87296f
Do not install jq as it is already installed (#48363)
cipolleschi Dec 23, 2024
29e5de5
Add Changelog for 0.77.0-rc.4 (#48374)
robhogan Dec 23, 2024
a5a3d37
Rename ParsedError to ProcessedError
RSNara Dec 23, 2024
974fdf9
Migrating `FpsListener` to Kotlin (#48360)
mateoguzmana Dec 23, 2024
adaceba
Fix applicationDidEnterBackground not being called (#48376)
alextoudic Dec 24, 2024
6d2b616
Fabric: Fixes assert failure when surface stop before we start surfac…
zhongwuzw Dec 24, 2024
74bdab8
Reduce memory allocations when computing accessibilityLabel (#44605)
Dec 24, 2024
17a644a
Map SystraceSection to Perfetto instrumentation if the latter is enab…
rshest Dec 24, 2024
4a667e1
Set timeout for E2E tests. (#48381)
cipolleschi Dec 24, 2024
fcf3c8c
Rename SystraceSection to TraceSection (#48383)
rshest Dec 25, 2024
8dfed7d
RNTester: Fixes crash when app back to background (#48385)
zhongwuzw Dec 27, 2024
44705fe
- Fix BackHandle callback undefined cause crash issue (#48388)
Dec 27, 2024
9ceabd3
Fix iOS E2E Tests (#48400)
cipolleschi Dec 27, 2024
bb79721
Send JS blur/focus events when switching to another NSWindow (#2323)
amgleitman Dec 27, 2024
85bdd75
Add "jsEngine: hermes" to JS runtime Error prototype (#48401)
Dec 28, 2024
dd1cfb7
Improve typing of BackHandler (#48411)
rshest Dec 30, 2024
7e665d4
Add Changelog for 0.77.0-rc.5 (#48413)
robhogan Dec 30, 2024
6dd4195
Avoid calling fmod twice in roundLayoutResultsToPixelGrid (#48404)
rshest Dec 30, 2024
a3c8e21
Enable vector drawable support by default (#48347)
Abbondanzo Dec 30, 2024
8b1f049
fix: Prioritise local cpp (use default as fallback) (#48340)
timbocole Dec 31, 2024
081be01
feat: implement ReactNativeFactory (#46298)
okwasniewski Dec 31, 2024
920867d
Fix useWindowDimensions not updating because of delayed applicationSt…
Dec 31, 2024
b10491a
Fix RN-Tester JSC instacrashing (#48418)
cortinico Dec 31, 2024
09995fc
Change Image load event size info from logical size to pixel (#45198)
zhongwuzw Dec 31, 2024
93117ea
Move E2E scripts to js (#48419)
cipolleschi Dec 31, 2024
430f7d8
Update debugger-frontend from 486803f...7727db8 (#48328)
huntie Jan 2, 2025
2c338a7
Build Release version for RNTester to speed-up E2E (#48443)
cipolleschi Jan 2, 2025
79c7c58
Document monorepo build setup (#48420)
huntie Jan 2, 2025
e8347b9
Migrate EventCategoryDef to Kotlin (#48446)
rshest Jan 2, 2025
5ef9e1f
TouchEventCoalescingKeyHelper -> Kotlin (#48448)
rshest Jan 2, 2025
697e946
Convert assets-registry to Flow comment syntax (#48458)
huntie Jan 2, 2025
b691122
Share ArrayTypeAnnotation between components and modules (#48318)
elicwhite Jan 2, 2025
9e0a7e3
Converge component's bespoke StringEnumTypeAnnotation into StringLite…
elicwhite Jan 2, 2025
febf6f4
Convert TouchesHelper.java (#48447)
rshest Jan 2, 2025
1b88c5b
Fix case when dashed/dotted borders do not work with overflow: hidden…
joevilches Jan 2, 2025
27ef131
Add simple Objective-C/CPP api tracking (#48449)
blakef Jan 2, 2025
3a7aed6
Follow-ups to issues earlier in the stack (#48455)
blakef Jan 2, 2025
7e029b0
Modal: `FLAG_SECURE` not respected in modal dialog (#48317)
mateoguzmana Jan 3, 2025
f20486c
Improve error messages in expect().toThrow(message) (#48430)
rubennorte Jan 3, 2025
3e0fc88
Remove hermes-inspector-msggen (#48465)
huntie Jan 3, 2025
c0f3e64
Follow naming convention for NativeFantom module (#48368)
rubennorte Jan 3, 2025
d7d9e1c
Use codegen for Fantom native module (#48432)
rubennorte Jan 3, 2025
fb3b87c
Remove existing logs and warnings from tests (#48391)
rubennorte Jan 3, 2025
5f09c36
Remove unnecessary filter for AppRegistry logs (#48367)
rubennorte Jan 3, 2025
726a723
Use structured output for Fantom logs and test results (#48369)
rubennorte Jan 3, 2025
8f096ab
Refactor utility to run buck2 commands as a method to run arbitrary c…
rubennorte Jan 3, 2025
f1ba4ef
Add async flavors for runCommand and runBuck2 utilities (#48371)
rubennorte Jan 3, 2025
42b911b
Implement streaming mode for console logs in tests (#48372)
rubennorte Jan 3, 2025
d28300a
Add environment variables to print Fantom output and buck commands (#…
rubennorte Jan 3, 2025
39757da
Add environment variable to enable C++ debugging (#48441)
rubennorte Jan 3, 2025
546d21c
Remove fuseboxEnabledDebug flag (#48435)
huntie Jan 3, 2025
4f30b94
Add snapshot of ObjC/PP API (#48456)
blakef Jan 3, 2025
5f54386
Add a BUCK target (#48457)
blakef Jan 3, 2025
9542b1a
Starlark needs hg instead of sl (#48460)
blakef Jan 3, 2025
6d85c7c
Avoid adding stdlib (#48468)
blakef Jan 3, 2025
13bad52
Migrate EventDispatcherListener/Provider interfaces to Kotlin (#48463)
rshest Jan 3, 2025
bac56bf
Allow configuring viewport width, height and device pixel ratio (#48433)
rubennorte Jan 3, 2025
6c383ea
Set more sensible defaults for viewport width and height (#48436)
rubennorte Jan 3, 2025
35d0d7c
Small refactor to lazy load RendererProxy (#48437)
rubennorte Jan 3, 2025
a1b13f6
Extract ensureInstance utility from tests (#48434)
rubennorte Jan 3, 2025
4d2649b
Extend tests for ReadOnlyNode.compareDocumentPosition (#48438)
rubennorte Jan 3, 2025
1120f88
Update test for DOM APIs to show current vs. desired behavior for get…
rubennorte Jan 3, 2025
af000b7
Remove forward declarations (#48461)
blakef Jan 3, 2025
b030418
Deploy 0.258.0 to xplat (#48482)
SamChou19815 Jan 3, 2025
33aebc3
Fix RNTester dark mode Android `Text` examples (#48380)
mateoguzmana Jan 3, 2025
0769206
Migrate PointerEventHelper (#48459)
rshest Jan 4, 2025
a6e6f5e
ReactEventEmitter -> Kotlin (#48464)
rshest Jan 4, 2025
6abcca8
Stop all surfaces on SurfaceManager destruction (#48481)
christophpurrer Jan 4, 2025
3d2e544
Store the RNTester artifacts to speed-up E2E (#48442)
cipolleschi Jan 4, 2025
9bf7aff
Fix code to record and upload videos (#48444)
cipolleschi Jan 4, 2025
23780f8
Use the app artifact in E2E tests (#48469)
cipolleschi Jan 4, 2025
4ad6a94
Kotlinify EventEmitterWrapper (#48489)
rshest Jan 4, 2025
b867c01
Convert RCTModernEventEmitter (#48466)
rshest Jan 4, 2025
e99b47c
Use proper mockito/kotlin for RootViewTest and JSPointerDispatcherTes…
rshest Jan 5, 2025
088fcb1
Resolve run script build phase warnings (#48495)
woxtu Jan 6, 2025
d5f33c1
com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlin…
alanleedev Jan 6, 2025
d470f39
Migrate RCTEventEmitter to Kotlin (#48467)
rshest Jan 6, 2025
a9d86be
Migrate EventDispatcher interface to Kotlin (#48445)
rshest Jan 6, 2025
5ce0738
Convert FabricEventDispatcher (#48491)
rshest Jan 6, 2025
7a85b91
Fix ruby unit tests (#48498)
kraenhansen Jan 6, 2025
b477cfa
Add `AppStateModule` Android unit tests (#48492)
mateoguzmana Jan 6, 2025
eee2866
Fix InspectorFlags debug default, clean up legacy Buck opt in (#48504)
huntie Jan 6, 2025
bc3072e
Implement native module to measure CPU time (#48454)
rubennorte Jan 6, 2025
96205dd
Add tinybench to run benchmarks in Fantom (#48453)
rubennorte Jan 6, 2025
3795f0f
Add API to run benchmarks in Fantom (#48452)
rubennorte Jan 6, 2025
ff7c550
Run benchmarks in test mode when not specifying verification function…
rubennorte Jan 6, 2025
cb308bd
Add benchmark for host component class variants (#48450)
rubennorte Jan 6, 2025
a3dfc49
Fabric: Added ScrollEndDragEvent for scrollEndDrag event (#48319)
zhongwuzw Jan 6, 2025
0154372
feat: Manage keyboard shortcuts visibility of TextInput (#47671)
rezkiy37 Jan 6, 2025
c4edfe7
Remove startEmptySurface from SurfaceManager (#48479)
christophpurrer Jan 6, 2025
3744349
Add RuntimeSchedulerKey constant for RuntimeScheduler lookup (#48486)
christophpurrer Jan 6, 2025
1fa5eca
attempt to set accessibility properties on RCTImageView
ksiler Jan 6, 2025
b57bd3e
Update ImageExample.js
ksiler Jan 6, 2025
8681fc2
Remove optionality of intersectionRect
lunaleaps Jan 6, 2025
c855251
Make SurfaceManager const correct (#48485)
christophpurrer Jan 6, 2025
02c6790
Make CompleteType contain module and component reserved names (#48477)
elicwhite Jan 7, 2025
c91cfd1
Simplify CompleteTypeAnnotation (#48473)
elicwhite Jan 7, 2025
825492b
Separate component array types and command array types (#48474)
elicwhite Jan 7, 2025
c748b44
Add command type to CompleteTypeAnnotation (#48475)
elicwhite Jan 7, 2025
25c673e
Fixing schema types for component command params of Arrays (#48476)
elicwhite Jan 7, 2025
44525aa
Add isSurfaceRunning / getRunningSurfaces util functions to SurfaceMa…
christophpurrer Jan 7, 2025
65c6a0a
Add getSurfaceProps helper method to SurfaceManager (#48487)
christophpurrer Jan 7, 2025
cd40e4e
Revert D67868219 (#48512)
Jan 7, 2025
d22dbb5
chore(Android): Migrate Hermes Instruments to Kotlin (#48378)
TheRogue76 Jan 7, 2025
a8cf53f
Add messaging to phabricator (#48470)
blakef Jan 7, 2025
eda29f0
Remove legacy InspectorPackagerConnection (#48506)
huntie Jan 7, 2025
65bda54
Remove getInspectorDataForInstance (#48335)
javache Jan 7, 2025
dbb75e3
Always use AppRegistry globals in SurfaceRegistryBinding (#48336)
javache Jan 7, 2025
afd77d5
Rename SurfaceRegistryBinding to AppRegistryBinding (#48337)
javache Jan 7, 2025
7a58f1f
Add changelog for 0.77.0-rc.6 (#48508)
robhogan Jan 7, 2025
6e39eb9
Add reactAccessibilityElementCell in RCTImageView.mm
ksiler Jan 7, 2025
f25b5c5
Map accessible prop to NSImageCell accessibilityElement
ksiler Jan 7, 2025
3f6fc32
Fix nullability of ViewManagerDelegate
javache Jan 7, 2025
d47bb60
Update ImageExample.js
ksiler Jan 7, 2025
d3c5f6d
Animated: Add Missing `super.__attach()` Calls (#48513)
yungsters Jan 7, 2025
38c46fe
Animated: Lower `onAnimatedValueUpdate` to `AnimatedValue` (#48514)
yungsters Jan 7, 2025
27e0aaa
Update ImageExample.js
ksiler Jan 7, 2025
0a7e1f4
Update RCTImageViewManager.mm
ksiler Jan 7, 2025
7aae0a8
Update ImageExample.js
ksiler Jan 7, 2025
3df8094
Update ImageExample.js
ksiler Jan 7, 2025
42e1c22
Add diff tags to ImageExample.js
ksiler Jan 7, 2025
69bca6c
Add a few more diff tags to ImageExample.js
ksiler Jan 7, 2025
8b0af45
fix(iOS): enable/disable keyboard shortcuts only on iOS (#48518)
okwasniewski Jan 7, 2025
1e7eba1
Fix lint and prettier errors
ksiler Jan 7, 2025
ec72af4
Mark string props as nullable in scrollview managers (#48520)
Abbondanzo Jan 7, 2025
a62230a
Merge copies of GuardedFrameCallback (#48529)
javache Jan 8, 2025
abf0384
Deploy 0.258.1 to xplat
SamChou19815 Jan 8, 2025
6d67d6a
Animated: Optimize `onUserDrivenAnimationEnded` Deopt (#48511)
yungsters Jan 8, 2025
85e58f3
Prettier: Cleanup `eslint-plugin-prettier` Dependency (#48524)
yungsters Jan 8, 2025
f7a5db3
Fix TextMeasureCacheKey Throwing Out Some LayoutConstraints (#48525)
NickGerleman Jan 8, 2025
98b4134
Delete unused constants in ViewProps (#48534)
mdvacca Jan 8, 2025
c17e6ce
Delete ON_LAYOUT constant (#48535)
mdvacca Jan 8, 2025
e4ec22d
Delete POSITION_SPACING_TYPES from ViewProps (#48536)
mdvacca Jan 8, 2025
843588f
Refactor PointerEvents strings as constants (#48537)
mdvacca Jan 8, 2025
2188159
xplat/js/react-native-github/packages/react-native/ReactAndroid/src/m…
Abbondanzo Jan 8, 2025
819b5c2
Bump Fresco to 3.6.0 (#48542)
Abbondanzo Jan 8, 2025
6feb90b
Replace custom XmlFormat with Fresco built-in (#48533)
Abbondanzo Jan 8, 2025
dc5535c
Improve documentation for AssetSourceResolver (#48532)
Abbondanzo Jan 8, 2025
a79a112
Internalize RootViewManager (#48545)
mdvacca Jan 9, 2025
cfec590
Defining constant'types for API stability (#48546)
mdvacca Jan 9, 2025
5e64789
Gradle to 8.12 (#48539)
cortinico Jan 9, 2025
742e14d
Add a few more tests to ReactNativeElement (#48428)
rubennorte Jan 9, 2025
1282361
Silence the `eden info` output from react-native-codegen (#48540)
cortinico Jan 9, 2025
f1cbf25
Extract common logic in ErrorHandlers to a shared method (#48366)
rubennorte Jan 9, 2025
e7a37c1
Move assets for feature flags docs to a __docs__ directory (#48555)
rubennorte Jan 9, 2025
1cbcea4
write fantom tests percentage based width and height (#48560)
sammy-SC Jan 9, 2025
85745f3
Add Changelog for 0.76.6 (#48566)
cipolleschi Jan 9, 2025
cdc8c9d
Start fixing changelog for 0.77 (#48528)
cipolleschi Jan 9, 2025
d9af80f
Update classification of RCs (#48565)
cipolleschi Jan 9, 2025
16b0479
Update classification of Added (#48564)
cipolleschi Jan 9, 2025
36daa41
Update classification of Changed (#48563)
cipolleschi Jan 9, 2025
efb2aa0
Update classification of Deprecated (#48562)
cipolleschi Jan 9, 2025
f797738
Update classification of Fixed (#48561)
cipolleschi Jan 9, 2025
b5155fb
Replace $FlowFixMe in DrawerLayoutAndroid (#48569)
huntie Jan 9, 2025
8d67d51
remove use of folly::init (#48573)
sammy-SC Jan 9, 2025
8310d65
Mark benchmark API as unstable (#48570)
rubennorte Jan 9, 2025
9b646c8
Fix incorrect height of single line TextInput without definite size (…
NickGerleman Jan 9, 2025
071506f
Add tinted vector drawable example to RNTester (#48541)
Abbondanzo Jan 10, 2025
1051bd8
Explicitly type UIManagerProperties (#48587)
j-piasecki Jan 10, 2025
bb6bbfc
remove folly::tryTo (#48557)
sammy-SC Jan 10, 2025
deea423
Remove verification function from ReactFabricPublicInstance benchmark…
rubennorte Jan 10, 2025
a28d396
Do not reset rn-artifacts-version on release branch (#48572)
cortinico Jan 10, 2025
7f985f2
Add tests for console.table (#48589)
rubennorte Jan 10, 2025
caa77fb
Prevent console.table from modifying passed values (#48590)
rubennorte Jan 10, 2025
7154c62
Improve formatting of table in console.table (#48591)
rubennorte Jan 10, 2025
fd0894b
Add support for the columns option in console.table (#48592)
rubennorte Jan 10, 2025
c85be01
Add .kotlin/ to gitignore (#48598)
cortinico Jan 10, 2025
a98528e
Make the addition of JitPack repository configurable (#48595)
cortinico Jan 10, 2025
7bb92a3
refactor: Remove unnecessary parameter from configureRepositories (#4…
cortinico Jan 10, 2025
4c7c836
AGP to 8.8.0 (#48604)
cortinico Jan 10, 2025
7dcbc79
Fix crash for setEventEmitterCallback NoSuchMethodError on API lvl 26…
cortinico Jan 10, 2025
b0466d8
Remove unnecessary interpolation for logcat logging (#48567)
javache Jan 10, 2025
f6f7de6
Drop dependency on native/fb (#48568)
javache Jan 10, 2025
a40a885
Fix test-e2e-local with RNTester due to unbuilt codegen (#48558)
cortinico Jan 10, 2025
2ab9a8c
Cleanup `enableAlignItemsBaselineOnFabricIOS` (#48607)
cortinico Jan 10, 2025
e53b76b
Cleanup enableAndroidLineHeightCentering flag (#48577)
NickGerleman Jan 10, 2025
6865e5a
Preparation for sharing common ShadowNode functionality in BaseTextIn…
christophpurrer Jan 10, 2025
40a0cdb
Introduce ViewManagerInterface (#48548)
mdvacca Jan 10, 2025
db57080
Refactor ViewManager codegen to use new ViewManagerInterface (#48549)
mdvacca Jan 10, 2025
cf5ab03
Include cxx modules in codegen schema (#48581)
elicwhite Jan 10, 2025
55d0bc4
Align logic in BaseTextInputShadowNode to calculate placeholder strin…
christophpurrer Jan 10, 2025
8369922
isolate use of folly to interpolateViewProps on Android (#48556)
sammy-SC Jan 11, 2025
ff2292f
ci: Various fixes (#2331)
Saadnajmi Jan 11, 2025
48a7840
Replace $FlowFixMe in BorderBox (#48593)
coado Jan 13, 2025
2959d49
Replace $FlowFixMeProps in ElementBox and refactor (#48605)
coado Jan 13, 2025
49e5c58
Replace $FlowFixMeProps in StyleInspector and refactor (#48608)
coado Jan 13, 2025
f832c45
Replace $FlowFixMe in BoxInspector and refactor (#48601)
coado Jan 13, 2025
2f22817
Resolve master specs repo warning shown in `pod install` (#48628)
noway Jan 13, 2025
cc4e4c7
Fix RNTester strict mode warnings (#48620)
mateoguzmana Jan 13, 2025
6cb2684
fix modal becoming unresponsive with PullToRefresh
sammy-SC Jan 13, 2025
d4407d6
Fix RNTester strict mode warnings (#48619)
mateoguzmana Jan 13, 2025
ac96486
Merge branch 'main' into fixAccessiblePropForImage
ksiler Jan 13, 2025
14f6ccc
Fix accessible prop for Image (#2327)
ksiler Jan 13, 2025
1f83f4e
Enable searching through a view's parents for a React tag to call blu…
amgleitman Jan 14, 2025
c80cf78
ci: bring publish pipeline updates from `0.76-stable` to main (#2314)
Saadnajmi Jan 15, 2025
a3f5c10
chore: remove props `validKeysDown`, `validKeysUp`, and `passThroughA…
Saadnajmi Jan 15, 2025
7ad68e9
ci: fix ruby, disable integration tests (#2337)
Saadnajmi Jan 17, 2025
8cc0520
refactor(textinput): rename event payload properties for spelling and…
Saadnajmi Jan 21, 2025
0df1000
fix(textinput): Account for float dimensions when showing scroller (#…
lawrencewin Jan 22, 2025
332e62b
chore(deps-dev): bump undici from 5.28.4 to 5.28.5 (#2349)
dependabot[bot] Jan 22, 2025
9753d25
ci: publish a nuget for internal use (#2336)
Saadnajmi Jan 23, 2025
08c2f6f
ci: specify name and os in release pipeline (#2358)
Saadnajmi Jan 23, 2025
b7033b3
ci: disable CodeQL in release pipeline (#2359)
Saadnajmi Jan 23, 2025
d8af03a
ci: remove nuget publish (#2367)
Saadnajmi Feb 5, 2025
e231112
Merge commit '2781888d221ee80ebe3b4f308018e1997a3bb534' into 0.77-merge
Saadnajmi Feb 6, 2025
5936634
chore: merge up to 0.77 branch cut (#2333)
Saadnajmi Feb 7, 2025
5c43268
docs: fix typo in release docs (#2371)
Saadnajmi Feb 10, 2025
176c66a
Fix `Platform.select` on Mac (#2374)
amgleitman Feb 12, 2025
82fd28a
chore: remove unnecessary `NSLog` (#2378)
gabrieldonadel Feb 24, 2025
c541c8c
fix: avoid race condition crash in `[RCTDataRequestHandler invalidate…
Saadnajmi Feb 27, 2025
47880ca
Update deprecated enums in RCTTextPrimitivesConversions.h (#2377)
joannaquu Feb 28, 2025
104e9f8
Fix responder chain in reactViewController on macOS (#2380)
gabrieldonadel Feb 28, 2025
3ba1936
chore: remove RCTAddressSanitizerCrashManager (#2395)
Saadnajmi Mar 4, 2025
09fc3b7
fix(macos): <Text> with backgroundColor spills color past it's frame …
Saadnajmi Mar 7, 2025
85ddc46
chore(macOS): Consolidate RCTAccessibilityManager between iOS and mac…
Saadnajmi Mar 7, 2025
9f58406
fix(macOS): reconcile coordinate systems for mouse events (#2403)
nakambo Mar 7, 2025
5380bde
chore: fix prepublish script inconsistencies (#2410)
tido64 Mar 13, 2025
47d60b2
chore: use fallback resolver for new tags (#2414)
tido64 Mar 13, 2025
91bd03a
chore: add post-version step to Nx Release (#2418)
tido64 Mar 17, 2025
88b4831
chore(deps): bump axios from 1.7.7 to 1.8.3 (#2421)
dependabot[bot] Mar 17, 2025
555a19c
ci: setup npm authentication for publish (#2422)
Saadnajmi Mar 18, 2025
791012b
ci: update `yarn.lock` as part of nx release (#2426)
Saadnajmi Mar 19, 2025
f2a6793
chore: don't set the new architecture by default for macOS yet (#2423)
Saadnajmi Mar 19, 2025
d425c50
Merge up to 0.78-stable branch cut
Saadnajmi Feb 7, 2025
ddd918d
followup changes
Saadnajmi Feb 10, 2025
ce45e31
chore: merge up to 0.78-stable branch cut (#2373)
Saadnajmi Mar 22, 2025
766ff79
ci: update preid check in prepublish.mjs (#2432)
Saadnajmi Mar 25, 2025
67a5476
chore(deps): bump @babel/helpers from 7.26.0 to 7.26.10 (#2429)
dependabot[bot] Mar 25, 2025
2bbf089
ci: properly pass NPM auth token secret to script (#2434)
Saadnajmi Mar 25, 2025
b3cd725
ci: disable nightlies on the main branch (#2441)
Saadnajmi Mar 26, 2025
96b284c
Auto-generated baselines by 1ES Pipeline Templates (#2442)
microsoft-github-policy-service[bot] Mar 26, 2025
a8de281
ci: remove unnecessary environment variable (#2445)
Saadnajmi Mar 26, 2025
2b400fe
chore: verify npm auth token in prepublish script (#2436)
tido64 Mar 28, 2025
1d0c636
ci: only publish if there are changes to push (#2447)
tido64 Mar 31, 2025
1129083
fix: cherry pick "[iOS] Reland: avoid race condition crash in [RCTDat…
Saadnajmi Apr 8, 2025
9ea059c
fix: dismiss all sheets created by `RCTDevLoadingView` when `hide` is…
Saadnajmi Apr 8, 2025
28bab0d
chore: update yarn to 4.9.0 (#2459)
Saadnajmi Apr 10, 2025
2be9da2
fix(fabric): Add `typingAttributes` to `RCTUITextField` to fix crash …
Saadnajmi Apr 10, 2025
91790e2
[TextInput] Export TI State's focusInput/blurInput (#2460)
nakambo Apr 10, 2025
fd4d1fa
fix: Fix the issue of TextInput onBlur being ineffective and Release …
bear-ei Apr 15, 2025
7bb5df3
ci: update lock file through `nx.json` flag instead (#2476)
Saadnajmi Apr 17, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
356 changes: 356 additions & 0 deletions .ado/ReactApple.nuspec

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions .ado/apple-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ stages:
dependsOn: []
jobs:
- template: /.ado/jobs/test-javascript.yml@self

- template: /.ado/jobs/npm-publish-dry-run.yml@self

- stage: Integration
dependsOn: []
jobs:
- template: /.ado/jobs/test-react-native-macos-init.yml@self

# - template: /.ado/jobs/react-native-test-app-integration.yml@self
# https://github.com/microsoft/react-native-macos/issues/2344
# The Verdaccio server consistently hangs on creation, which is required for the integration tests
# - stage: Integration
# dependsOn: []
# jobs:
# - template: /.ado/jobs/test-react-native-macos-init.yml@self
# - template: /.ado/jobs/react-native-test-app-integration.yml@self
156 changes: 38 additions & 118 deletions .ado/jobs/build-test-rntester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,163 +2,83 @@ parameters:
- name: appleBuildMatrix
type: object
default:
- name: macos_oldarch_jsc
- name: macos_debug_oldarch_jsc
friendly_name: 'macOS, Old Arch, JSC'
sdk: macosx
configuration: Debug
scheme: RNTester-macOS
packager_platform: 'macos'
new_arch_enabled: '0'
use_hermes: '0'
- name: macos_newarch_jsc
- name: macos_debug_newarch_jsc
friendly_name: 'macOS, New Arch, JSC'
sdk: macosx
configuration: Debug
scheme: RNTester-macOS
packager_platform: 'macos'
new_arch_enabled: '1'
use_hermes: '0'
# - name: macos_oldarch_hermes
# friendly_name: 'macOS, Old Arch, Hermes'
# sdk: macosx
# scheme: RNTester-macOS
# packager_platform: 'macos'
# new_arch_enabled: '1'
# use_hermes: '1'
# - name: macos_newarch_hermes
# friendly_name: 'macOS, New Arch, Hermes'
# sdk: macosx
# scheme: RNTester-macOS
# packager_platform: 'macos'
# new_arch_enabled: '1'
# use_hermes: '1'
- name: ios_oldarch_jsc
- name: ios_debug_oldarch_jsc
friendly_name: 'iOS, Old Arch, JSC'
sdk: iphonesimulator
configuration: Debug
scheme: RNTester
packager_platform: 'ios'
new_arch_enabled: '0'
use_hermes: '0'
- name: ios_newarch_jsc
- name: ios_debug_newarch_jsc
friendly_name: 'iOS, New Arch, JSC'
sdk: iphonesimulator
configuration: Debug
scheme: RNTester
packager_platform: 'ios'
new_arch_enabled: '1'
use_hermes: '0'
# - name: ios_oldarch_hermes
# friendly_name: 'iOS, Old Arch, Hermes'
# sdk: iphonesimulator
# scheme: RNTester
# packager_platform: 'ios'
# new_arch_enabled: '1'
# use_hermes: '1'
# - name: ios_newarch_hermes
# friendly_name: 'iOS, New Arch, Hermes'
# sdk: iphonesimulator
# scheme: RNTester
# packager_platform: 'ios'
# new_arch_enabled: '1'
# use_hermes: '1'
- name: xros_oldarch_jsc
- name: xros_debug_oldarch_jsc
friendly_name: 'xrOS, Old Arch, JSC'
sdk: xrsimulator
configuration: Debug
scheme: RNTester-visionOS
packager_platform: 'ios'
new_arch_enabled: '0'
use_hermes: '0'
- name: xros_newarch_jsc
- name: xros_debug_newarch_jsc
friendly_name: 'xrOS, New Arch, JSC'
sdk: xrsimulator
configuration: Debug
scheme: RNTester-visionOS
packager_platform: 'ios'
new_arch_enabled: '1'
use_hermes: '0'
# - name: xros_oldarch_hermes
# friendly_name: 'xrOS, Old Arch, Hermes'
# sdk: xrsimulator
# scheme: RNTester-visionOS
# packager_platform: 'ios'
# new_arch_enabled: '1'
# use_hermes: '1'
# - name: xros_newarch_hermes
# friendly_name: 'xrOS, New Arch, Hermes'
# sdk: xrsimulator
# scheme: RNTester-visionOS
# packager_platform: 'ios'
# new_arch_enabled: '1'
# use_hermes: '1'

jobs:
- ${{ each slice in parameters.appleBuildMatrix }}:
- job: ${{ slice.name }}
displayName: ${{ slice.friendly_name }}
pool:
vmImage: $(vmImageApple)
timeoutInMinutes: 90
cancelTimeoutInMinutes: 5
steps:
- job: ${{ slice.name }}
displayName: ${{ slice.friendly_name }}
pool:
vmImage: $(vmImageApple)
timeoutInMinutes: 90
cancelTimeoutInMinutes: 5
steps:
- template: /.ado/templates/apple-tools-setup.yml@self

- task: CmdLine@2
- script: |
yarn install
displayName: yarn install
inputs:
script: |
set -eox pipefail
yarn install --immutable

- task: CmdLine@2
displayName: pod install
inputs:
script: |
set -eox pipefail
cd packages/rn-tester
bundle install
bundle exec pod install --verbose
env:
RCT_NEW_ARCH_ENABLED: ${{ slice.new_arch_enabled }}
USE_HERMES: ${{ slice.use_hermes }}

- task: CmdLine@2
displayName: Build ${{ slice.scheme }}
inputs:
script: |
set -eox pipefail
./.ado/scripts/xcodebuild.sh packages/rn-tester/RNTesterPods.xcworkspace ${{ slice.sdk }} ${{ slice.scheme }} build
env:
CCACHE_DISABLE: 1

# Skip testing on visionOS via the conditions below

- ${{ if ne(slice.scheme, 'RNTester-visionOS') }}:
- task: ShellScript@2
displayName: 'Setup packager and WebSocket test server'
inputs:
scriptPath: '.ado/scripts/ado-test-setup.sh'
disableAutoCwd: true
cwd: ''

- bash: |
echo Preparing the packager for platform $PLATFORM
curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/packages/rn-tester/js/RNTesterApp.${PLATFORM}.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/packages/rn-tester/js/RNTesterApp.${PLATFORM}.bundle?platform=${PLATFORM}&dev=true&minify=false" -o /dev/null
curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/IntegrationTests/IntegrationTestsApp.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/IntegrationTests/RCTRootViewIntegrationTestApp.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
env:
PLATFORM: ${{ slice.packager_platform }}
displayName: 'curl the packager'

- task: CmdLine@2
displayName: Test ${{ slice.scheme }}
inputs:
script: |
set -eox pipefail
./.ado/scripts/xcodebuild.sh packages/rn-tester/RNTesterPods.xcworkspace ${{ slice.sdk }} ${{ slice.scheme }} test
env:
CCACHE_DISABLE: 1

- task: ShellScript@2
displayName: 'Cleanup packager and WebSocket test server'
inputs:
scriptPath: '.ado/scripts/ado-test-cleanup.sh'
disableAutoCwd: true
cwd: ''
condition: always()

- template: /.ado/templates/build-rntester-steps.yml@self
parameters:
sdk: ${{ slice.sdk }}
configuration: ${{ slice.configuration }}
scheme: ${{ slice.scheme }}
new_arch_enabled: ${{ slice.new_arch_enabled }}
use_hermes: ${{ slice.use_hermes }}

# https://github.com/microsoft/react-native-macos/issues/2297
# Skip native tests as they tend to be flaky
# - template: /.ado/templates/test-rntester-steps.yml@self
# parameters:
# sdk: ${{ slice.sdk }}
# configuration: ${{ slice.configuration }}
# scheme: ${{ slice.scheme }}
# packager_platform: ${{ slice.packager_platform }}
14 changes: 3 additions & 11 deletions .ado/jobs/npm-publish-dry-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,8 @@ jobs:
displayName: NPM Publish Dry Run
pool:
vmImage: $(VmImageApple)
timeoutInMinutes: 60 # how long to run the job before automatically cancelling
cancelTimeoutInMinutes: 5 # how much time to give 'run always even if cancelled tasks' before killing them
timeoutInMinutes: 60
cancelTimeoutInMinutes: 5
steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
clean: true # whether to fetch clean each time
# fetchDepth: 2 # the depth of commits to ask Git to fetch
lfs: false # whether to download Git-LFS files
submodules: recursive # set to 'true' for a single level of submodules or 'recursive' to get submodules of submodules
persistCredentials: true # set to 'true' to leave the OAuth token in the Git config after the initial fetch
- template: /.ado/templates/npm-publish-steps.yml@self

- template: /.ado/templates/apple-steps-publish.yml@self
parameters:
build_type: 'dry-run'
19 changes: 19 additions & 0 deletions .ado/jobs/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
jobs:
- job: NPMPublish
displayName: NPM Publish
pool:
name: cxeiss-ubuntu-20-04-large
image: cxe-ubuntu-20-04-1es-pt
os: linux
variables:
- name: BUILDSECMON_OPT_IN
value: true
timeoutInMinutes: 90
cancelTimeoutInMinutes: 5
templateContext:
outputs:
- output: pipelineArtifact
targetPath: $(System.DefaultWorkingDirectory)
artifactName: github-npm-js-publish
steps:
- template: /.ado/templates/npm-publish-steps.yml@self
91 changes: 29 additions & 62 deletions .ado/jobs/react-native-test-app-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,83 +9,50 @@ jobs:
cancelTimeoutInMinutes: 5
steps:
- template: /.ado/templates/apple-tools-setup.yml@self
- bash: |
echo "##vso[task.setvariable variable=package_version]$(cat package.json | jq .version | awk '{ print substr($0, 2, length($0) - 2) }')"
echo "##vso[task.setvariable variable=react_version]$(cat package.json | jq .peerDependencies.react)"
echo "##vso[task.setvariable variable=rncli_version]$(cat package.json | jq '.dependencies."@react-native-community/cli"')"
echo "##vso[task.setvariable variable=rncli_android_version]$(cat package.json | jq '.dependencies."@react-native-community/cli-platform-android"')"
echo "##vso[task.setvariable variable=rncli_ios_version]$(cat package.json | jq '.dependencies."@react-native-community/cli-platform-ios"')"
displayName: 'Determine react-native-macos version'
workingDirectory: packages/react-native
- bash: |
npm pack ./packages/react-native
displayName: 'Pack react-native-macos'
- bash: |
git clone --progress https://github.com/microsoft/react-native-test-app.git
displayName: Checkout react-native-test-app
- bash: |
set -eo pipefail
cat package.json |
jq '.devDependencies["react"] = $(react_version)' |
jq '.devDependencies["react-native"] = "^0.71"' |
jq '.devDependencies["react-native-macos"] = "../react-native-macos-$(package_version).tgz"' |
jq 'del(.devDependencies["@react-native-community/cli"])' |
jq 'del(.devDependencies["@react-native-community/cli-platform-android"])' |
jq 'del(.devDependencies["@react-native-community/cli-platform-ios"])' |
jq 'del(.devDependencies["react-native-windows"])' > .package.json
mv .package.json package.json
cat package.json | jq .devDependencies
displayName: Modify react-native-test-app dependencies

- template: /.ado/templates/verdaccio-publish.yml@self

- script: |
git clone --filter=blob:none --progress https://github.com/microsoft/react-native-test-app.git
displayName: Clone react-native-test-app

- script: |
node .ado/scripts/export-versions.mjs
displayName: Determine react-native version

- script: |
npm run set-react-version $(react_native_version) -- --overrides '{ "react-native-macos": "1000.0.0" }'
displayName: Configure react-native-test-app dependencies
workingDirectory: react-native-test-app
- bash: |

- script: |
set -eo pipefail
cat package.json |
jq '.devDependencies["@react-native-community/cli"] = $(rncli_version)' |
jq '.devDependencies["@react-native-community/cli-platform-android"] = $(rncli_android_version)' |
jq '.devDependencies["@react-native-community/cli-platform-ios"] = $(rncli_ios_version)' |
jq '.devDependencies["react"] = $(react_version)' |
jq '.devDependencies["react-native"] = "^0.71"' |
jq '.devDependencies["react-native-macos"] = "../../react-native-macos-$(package_version).tgz"' |
jq 'del(.devDependencies["react-native-windows"])' > .package.json
mv .package.json package.json
cat package.json | jq .devDependencies
displayName: Modify example app dependencies
workingDirectory: react-native-test-app/example
- template: /.ado/templates/verdaccio-init.yml@self
- bash: |
npx beachball publish --branch origin/$(System.PullRequest.TargetBranch) --no-push --registry http://localhost:4873 --yes --access public
displayName: Publish beachball packages to verdaccio
- bash: |
cat .yarnrc.yml | sed 's_^npmRegistryServer: ".*"$_npmRegistryServer: "http://localhost:4873"_' > .yarnrc.yml.copy
rm .yarnrc.yml
mv .yarnrc.yml.copy .yarnrc.yml
echo -e '\nunsafeHttpWhitelist: ["localhost"]' >> .yarnrc.yml
displayName: Point react-native-test-app registry to verdaccio server
workingDirectory: react-native-test-app
- bash: |
$(Build.Repository.LocalPath)/.ado/scripts/verdaccio.sh configure
yarn --no-immutable
displayName: Install npm dependencies
workingDirectory: react-native-test-app
- bash: |

- script: |
yarn build:macos || yarn build:macos
displayName: Bundle JavaScript
workingDirectory: react-native-test-app/example
- bash: |

- script: |
rm macos/Podfile.lock
pod install --project-directory=macos
displayName: Install Pods
workingDirectory: react-native-test-app/example
- bash: |
set -eo pipefail
../scripts/xcodebuild.sh macos/Example.xcworkspace build | xcbeautify
displayName: Build Intel

- script: |
../scripts/build/xcodebuild.sh macos/Example.xcworkspace build
displayName: Build x86
workingDirectory: react-native-test-app/example
env:
CCACHE_DISABLE: 1
- bash: |
set -eo pipefail
../scripts/xcodebuild.sh macos/Example.xcworkspace clean
../scripts/xcodebuild.sh macos/Example.xcworkspace build ARCHS=arm64 | xcbeautify

- script: |
../scripts/build/xcodebuild.sh macos/Example.xcworkspace clean
../scripts/build/xcodebuild.sh macos/Example.xcworkspace build ARCHS=arm64
displayName: Build ARM
workingDirectory: react-native-test-app/example
env:
Expand Down
Loading
Loading