Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1893 commits
Select commit Hold shift + click to select a range
6733ee1
Add option to only see failed tests
lunaleaps Oct 14, 2022
629e8e0
Add width, height, detail props
lunaleaps Oct 14, 2022
74fff88
Fix or expose previously hidden type errors to prepare for LTI mode
SamChou19815 Oct 15, 2022
3c8d678
Extract visit function to parsers/utils (#34946)
Oct 17, 2022
3d05bac
Unbreak Nightly job by providing a GPG key as base64 encoded.
cortinico Oct 17, 2022
7beaf38
Extend `AnimatedTransform` to support transformation value arrays and…
fabriziocucci Oct 17, 2022
554f50b
Delete feature flag disable_preallocation_on_clone_android
sammy-SC Oct 17, 2022
9019237
Remove flag disable_revision_check_for_preallocation
sammy-SC Oct 17, 2022
b5a40fb
Remove flag enable_blocking_queues_for_animated
sammy-SC Oct 17, 2022
b0da349
Remove flag disabled_view_preallocation_android
sammy-SC Oct 17, 2022
cd83194
Remove all listeners of AnimatedNode when detached
sammy-SC Oct 17, 2022
9fb3700
Extract MisnamedModuleInterfaceParserError from Flow and Typescript i…
mohitcharkha Oct 17, 2022
49cb7f2
Break runtime cycle between VirtualizedList and VirtualizedListContext
motiz88 Oct 17, 2022
a63a4fa
React Native sync for revisions 0cac4d5...fd31724
sammy-SC Oct 17, 2022
633498f
refactor module's platform verification (#34961)
youedd Oct 17, 2022
cb2dcd3
feat(jest): move Jest config to use a custom react-native Jest env (#…
kelset Oct 17, 2022
a0ee6fa
Annotate empty arrays in xplat
SamChou19815 Oct 17, 2022
0481948
feat(iOS): added lineBreakStrategy attribute to Text/TextInput (#31272)
bang9 Oct 17, 2022
55fca7f
Add PointerOver/PointerOut handling test
vincentriemer Oct 17, 2022
31f2199
Disabled cpp view managers in runtime
arhelmus Oct 17, 2022
b5aec96
Start Adding GitHub Actions (#1165)
NickGerleman Oct 18, 2022
e22217f
Add `useAnimatedValue` to public API
fabriziocucci Oct 18, 2022
8f33753
feat(jest): bump jest to 29 in the template (#34972)
kelset Oct 18, 2022
f6cfcc3
Re-add TypeScript definitions for React Native renderer
sammy-SC Oct 18, 2022
aace662
Backout: Components with custom state
cipolleschi Oct 18, 2022
62da9b8
Backout Generate Custom Native State from Codegen
cipolleschi Oct 18, 2022
33e140f
fix(template, ios): add marketing version to template project (#35012)
kelset Oct 18, 2022
c64f25a
Avoid redboxes when highlighting
tyao1 Oct 18, 2022
48263b8
Upgrade React DevTools deps to 4.26.1
tyao1 Oct 18, 2022
5e6a4c5
React Native sync for revisions 9fb581c...54f297a
kassens Oct 18, 2022
82e86c4
Annotate empty arrays in xplat (2/n)
SamChou19815 Oct 18, 2022
e87cdc7
Move initialization of MapBuffer so
mdvacca Oct 18, 2022
22b6e1c
Ship and delete mapBufferSerialization for Text measurement
mdvacca Oct 18, 2022
a766927
Delete MC and FeatureFlags for mapBufferSerialization
mdvacca Oct 18, 2022
ea6c7f5
Delete LockFreeEventDispatcher
mdvacca Oct 18, 2022
fceb142
Remove enableEarlyEventEmitterUpdate experiment
mdvacca Oct 18, 2022
4f7b4d8
Ship enableAggressiveEventEmitterCleanup
mdvacca Oct 18, 2022
9578c2c
Ship large meassure cache in all platforms
mdvacca Oct 18, 2022
8eebc93
Ship insertZReorderBarriersOnViewGroupChildren
mdvacca Oct 18, 2022
fd4e269
Delete dispatchPreallocationInBackground flag
mdvacca Oct 18, 2022
d2fde62
Circle CI: Build Release and Debug tarballs for every commit (#35013)
hramos Oct 18, 2022
b51a350
check for null background in TextInput setUnderlineColor
skinsshark Oct 18, 2022
afb124d
3/n Easy: Add MC to gate parsing unhandled JS errors in C++
p-sun Oct 18, 2022
7208d15
Support Symbols & BigInts in the debugger
fbmal7 Oct 19, 2022
42b3ab3
fix circleci:analyze_code errors
skinsshark Oct 19, 2022
aeab383
feat(ios): `Share` with `anchor` (#35008)
zhumingcheng697 Oct 19, 2022
aba6be6
Extract UnsupportedObjectPropertyValueTypeAnnotationParserError to a …
Oct 19, 2022
790f40c
Improve assertGenericTypeAnnotationHasExactlyOneTypeParameter tests (…
Oct 19, 2022
eda90e5
Extract the content of the case 'StringTypeAnnotation' into a single …
ken0nek Oct 19, 2022
3247436
Extracted UnsupportedFunctionReturnTypeAnnotationParserError to throw…
Oct 19, 2022
8f484c3
Extract the switch(configType) block from the buildSchema function in…
MaeIg Oct 19, 2022
376ffac
chore: Export codegen parseFile function (#35000)
gabrieldonadel Oct 19, 2022
a24c894
chore: bump CLI to 9.2.1 (#35022)
kelset Oct 19, 2022
6c875ad
Remove useJavaGenerator key from ReactAndroid/build.gradle file (#35021)
cortinico Oct 19, 2022
a197a3f
Fix typo in OsRule (#35024)
cortinico Oct 19, 2022
27cb501
Cleanup BUCK files from template - Part 2 (#35020)
cortinico Oct 19, 2022
f628edc
Chore/extract codegen parser more than one module exception (#34920)
Marcoo09 Oct 19, 2022
b0f7b0c
Publish both Hermes Debug and Release inside `react-native-artifacts`
cortinico Oct 19, 2022
7884f6c
Implicit instantiation codemod
jbrown215 Oct 19, 2022
31df147
RNGP - Make sure GenerateCodegenSchemaTask is not considering generat…
cortinico Oct 19, 2022
f5bbca5
RNGP - Setup tasks to cleanup the Apk/Aab from unused .so
cortinico Oct 19, 2022
5ffd655
RNGP - Create DependencyUtil to support with dep version configuratio…
cortinico Oct 19, 2022
08dafd8
Let the user use the default CMakeList inside the template.
cortinico Oct 19, 2022
45db65b
Update Jest to ^29.2.1 (#35014)
robhogan Oct 19, 2022
af0e6cd
Fix error reporting for module errors (#34650)
rickhanlonii Oct 19, 2022
e4b5d3e
Circle CI: Upload both tarballs to releases, dry-run the release work…
hramos Oct 20, 2022
be6f656
Add "EarlyJsError: " as prefix of early js error's message
Oct 20, 2022
1546666
Consume Tarball from Maven (#35034)
cipolleschi Oct 20, 2022
f5bd272
Add pointer event test ensuring that pointerover events are fired whe…
vincentriemer Oct 20, 2022
affcfa7
Refactor codegen: Dispatch props and events from a central place. (#3…
ZihanChen-MSFT Oct 20, 2022
8e8e18b
RNGP - Remove unused applyAppPlugin
cortinico Oct 20, 2022
ea15c3c
Fix an undefined is not function error
tyao1 Oct 20, 2022
7383c00
RNGP - Remove deprecated `useJavaGenerator` and `reactRoot` propertie…
cortinico Oct 20, 2022
6b129d8
CocoaPods: Split React-jsc out of React-jsi (#35031)
hramos Oct 20, 2022
5aeb99e
CocoaPods: Do not configure Hermes search paths if Hermes is disabled
hramos Oct 20, 2022
22e4bdf
CocoaPods: Consolidate Hermes and JSC Engine configuration in jsengin…
hramos Oct 20, 2022
a68c418
Do not build JSI in React-jsi when Hermes is enabled, resolve JSI ODR…
hramos Oct 20, 2022
9f3a3e1
feat: flex gap bindings (#34974)
intergalacticspacehighway Oct 20, 2022
466ba91
Implicit instantiation codemod
SamChou19815 Oct 21, 2022
ff398e4
4/n Display a RedBox with the JS stack (instead of native stack) when…
p-sun Oct 21, 2022
48db6be
refactor(rn-tester): removed usage of AsyncStorage
hoxyq Oct 21, 2022
9e68eea
Revert D40387938: 4/n Display a RedBox with the JS stack (instead of …
Oct 21, 2022
7dc2499
Revert styles order change in sample app
pieterv Oct 21, 2022
950ea91
Fix windows warning/error over unsigned int (#34947)
TatianaKapos Oct 22, 2022
d941940
add oncall annotation for BUCK files in xplat based on supermodule in…
Oct 22, 2022
6e18f1f
upgrade to flow 0.190.1
mroch Oct 22, 2022
e480211
Fix or expose previously hidden type errors to prepare for LTI mode
SamChou19815 Oct 22, 2022
860b4d9
add oncall annotation for BUCK files in xplat based on supermodule in…
Oct 23, 2022
e69e6f4
supermodule:xplat/default/public.react_native.infra
Oct 23, 2022
5449148
4/n Display a RedBox with the JS stack (instead of native stack) when…
p-sun Oct 23, 2022
880e889
Drop `using namespace` in .h files
p-sun Oct 24, 2022
9a87db2
Remove initialProps handling for legacy createAnimatedComponent
javache Oct 24, 2022
074e3f0
RNGP - Introduce the BundleAndHermesCTask
cortinico Oct 24, 2022
41fec07
RNGP - Top level property enableHermes -> hermesEnabled
cortinico Oct 24, 2022
56d8c23
RNGP - Introduce enableCodegenInApps
cortinico Oct 24, 2022
2cc2ca1
RNGP - Automatically Configure Dependencies for ReactNative & Hermes
cortinico Oct 24, 2022
8ad86c7
RNGP - Add Variant Support (#35063)
cortinico Oct 24, 2022
20718e6
feat: Add role prop to Text component (#34976)
gabrieldonadel Oct 24, 2022
9a43e53
Revert D40613108: 4/n Display a RedBox with the JS stack (instead of …
Oct 24, 2022
421bf98
Unbreak test_android by passing the correct file to hermesc (#35067)
cortinico Oct 24, 2022
f8cd9f1
Fix ReactAndroid not found in rn-tester build (#35058)
robertying Oct 24, 2022
52d37aa
Back out "add oncall annotation for BUCK files in xplat based on supe…
cipolleschi Oct 24, 2022
c638822
Back out "add oncall annotation for BUCK files in xplat based on supe…
cipolleschi Oct 24, 2022
cd020bd
supermodule:xplat/default/public.hermes
Oct 24, 2022
2b348fe
Update RNTester bundle identifier
hramos Oct 24, 2022
1bb5cca
fix typo in LeakChecker
philIip Oct 25, 2022
428feb2
fix crash when converting symbol or BigInt to dynamic
kassens Oct 25, 2022
6a3bfa7
Bump NDK to 23 and fbjni to 0.3.0 (#35066)
cortinico Oct 25, 2022
c419b4f
Bump react-native-gradle-plugin to 0.71.5
cortinico Oct 25, 2022
5940d25
Create the Parser interface (#35036)
cipolleschi Oct 25, 2022
e9b89b5
Respect prop Text.allowFontScaling when sizing text
sammy-SC Oct 25, 2022
745f3ee
react-native-code-gen Add Enum Type support for iOS/Android TurboModules
christophpurrer Oct 25, 2022
68983b6
fix some flow reference-before-declaration errors
mroch Oct 25, 2022
af6aaff
Deprecate react.gradle
cortinico Oct 25, 2022
3b0c655
Suppress `useNativeDriver` is not supported warning
Oct 25, 2022
1d6b732
react-native bridging > Add support for std::set
christophpurrer Oct 25, 2022
c96c76e
Update the template to use RNGP (#35075)
cortinico Oct 25, 2022
8b8a5e0
Bump the Android Docker image to 6.0 (for NDK 23) (#35079)
cortinico Oct 25, 2022
fd91748
Fix deadlock in RCTLoggingTests
NickGerleman Oct 25, 2022
02e4fcd
Add enum example to Android/iOS rn-tester TurboModule
christophpurrer Oct 25, 2022
adaa4fe
trivial: display target name in CocoaPods output
hramos Oct 25, 2022
0fac981
Support persisted settings in Android + iOS (#34964)
rbalicki2 Oct 26, 2022
b655e69
Fix RCTLoggingTests in OSS (#35085)
NickGerleman Oct 26, 2022
c868d5b
refactor(rn tester app): change activity indicator to hooks (#35071)
Marcoo09 Oct 26, 2022
d0599ac
Back out "Add enum example to Android/iOS rn-tester TurboModule" (#35…
christophpurrer Oct 26, 2022
8422c53
chore(deps): add wanted dependencies to remove yarn warnings (#35088)
kelset Oct 26, 2022
cf5addf
Revert D40716713: chore(deps): add wanted dependencies to remove yarn…
Oct 26, 2022
925e81a
Rewrite of ScrollViewStickyHeader for concurrent rendering
sammy-SC Oct 26, 2022
cba56ea
Extract `getConfigType` function to `parsers/utils.js` (#35035)
Oct 26, 2022
0627cd6
Refactor translate UniontypeAnnotation (#35050)
youedd Oct 26, 2022
7d61b9d
RNGP - Remove enableCodegenInApps and infer it from package.json (#35…
cortinico Oct 26, 2022
2ff08e8
RNGP - Do the .so cleanup using pickFirst and exclude (#35093)
cortinico Oct 26, 2022
fae770b
InputAccessoryView
lunaleaps Oct 26, 2022
7a19af7
fix: add mixed to aria-checked typings (#34633)
ankit-tailor Oct 26, 2022
51d14b9
Revert D40333083: Support persisted settings in Android + iOS
NickGerleman Oct 26, 2022
1069841
Make it easier for user to toggle only Fabric or TurboModules in New …
cortinico Oct 26, 2022
2df63e5
RNGP - Use the File Api to specify cliPath and remove ComposeSourceMa…
cortinico Oct 26, 2022
92d41c5
Remove the --dry-run gate from publishing to Sonatype
cortinico Oct 26, 2022
279cfec
feat: make RCTBlobManager TurboModule-compatible (#35047)
andrestone Oct 27, 2022
3982a2c
Log Abnormal Closes to Metro Websocket
NickGerleman Oct 27, 2022
fa2842d
Do not filter errors/warnings from console
rickhanlonii Oct 27, 2022
b966d29
Add back deprecated prop-types
rickhanlonii Oct 27, 2022
07252b8
Do not import/use the deprecated ReactFlipperPlugin (#35099)
cortinico Oct 27, 2022
1f42ff0
Bump AGP to 7.3.1 (#35100)
cortinico Oct 27, 2022
3f77736
RNGP - Do not set GENERATED_SRC_DIR and REACT_ANDROID_BUILD_DIR (#35101)
cortinico Oct 27, 2022
2097278
Update the template to load the correct JS engine at runtime. (#35095)
cortinico Oct 27, 2022
475310d
Add support `Promise.any` out of box (#35080)
retyui Oct 27, 2022
ba5454c
Bump RNGP to 0.71.7
cortinico Oct 27, 2022
f550606
chore(cli, metro): bump cli and metro to latest ahead of 71 (#35107)
kelset Oct 27, 2022
6a43faf
Cleanup the template documentation after RNGP & hermesEnabled to grad…
cortinico Oct 27, 2022
76f7084
Gate the Maven Central publishing to 0.x version. (#35109)
cortinico Oct 28, 2022
089684e
Remove remaining TV_OS fragments (#35110)
christophpurrer Oct 28, 2022
3dc7b37
Sort parameters in DefaultNewArchitectureEntryPoint (#35115)
cortinico Oct 28, 2022
44e8462
Consume Hermes from Maven in release (#35116)
cipolleschi Oct 28, 2022
8c69b6c
Extract throwIfUnsupportedFunctionParamTypeAnnotationParserError func…
Oct 28, 2022
d0f94e6
Upgrade to Flow 0.191.0
mroch Oct 28, 2022
7e89927
Use pointer events for hover
tyao1 Oct 28, 2022
281f7a7
Annotate React hooks on xplat
SamChou19815 Oct 28, 2022
cd25fb3
chore(deps): add wanted dependencies to remove yarn warnings (#35122)
kelset Oct 28, 2022
38e068a
Bump CLI to 10.0.0-alpha.2
huntie Oct 28, 2022
6621150
Fix some issues exposed when making function statics sealed
gkz Oct 29, 2022
ec5a430
Separatedly enable TM/Fabric (#35117)
cipolleschi Oct 29, 2022
cec9a34
Sets the namespace via Gradle and not via AndroidManifest (#35094)
cortinico Oct 29, 2022
87d6580
chore: Extract codegen case 'Float' into a single emitFloat function …
gabrieldonadel Oct 29, 2022
87c356d
Add Map / indexed object support for TypeScript parser (#35098)
christophpurrer Oct 30, 2022
ad5e3f6
Fix typo syncronization -> synchronization (#35132)
pruthvip Oct 31, 2022
84737e0
Remove unused #import <UIKit/UIGestureRecognizerSubclass.h> import wh…
christophpurrer Oct 31, 2022
f3d9f2e
Map `accessibilityRole: grid` to `UIAccessibilityTraitNone`
NickGerleman Oct 31, 2022
e3e635e
feat: Add "option" to available role values (#35137)
gabrieldonadel Oct 31, 2022
76c7cca
Enable ManagedObjectWrapper on react-native-macOS (#35146)
christophpurrer Oct 31, 2022
a2166b2
bump codegen to v0.71.1 (#35154)
cipolleschi Oct 31, 2022
ab7b4d4
Restore Filtering platform in codegen (#35028)
cipolleschi Oct 31, 2022
ea55e3b
chore: Unify codegen Flow and TS default case from translateTypeAnnot…
gabrieldonadel Oct 31, 2022
56d7a87
Fix assertGenericTypeAnnotationHasExactlyOneTypeParameter throwing wr…
Oct 31, 2022
83e2126
Extract isModuleRegistryCall function in parsers/utils (#35139)
Oct 31, 2022
5738fe6
refactor(AsyncStorage): move android files from react-native-github
hoxyq Oct 31, 2022
4de2aab
refactor(AsyncStorage): move iOS files from react-native-github
hoxyq Oct 31, 2022
20eeb1b
refactor(react-native-github): remove AsyncStorage from JS
hoxyq Oct 31, 2022
8f124be
Hermes scripts: rename tarball methods to distinguish between source …
hramos Oct 31, 2022
07bd590
exact_empty_objects is on by default in 0.191, delete usage in fbsource
gkz Oct 31, 2022
745e262
refactor(rn tester app): change dimensions example to hooks (#35084)
Marcoo09 Oct 31, 2022
1e6945e
Back out "Add perftest dev support manager"
makovkastar Nov 1, 2022
40ad31e
Set C++ version for libs (#35160)
cipolleschi Nov 1, 2022
f49b251
React Native sync for revisions 54f297a...ab075a2
sammy-SC Nov 1, 2022
6b8e13f
Integrate Hermes with the Xcode build process
dmytrorykun Nov 1, 2022
58a1cd2
Add unit test for ImageView to take null uri in source
Nov 1, 2022
e3eeadb
Adding new markerAnnotateWithMap method
Nov 1, 2022
c565a77
Migrating all qpl.markerAnnotate call sites to the new signature
Nov 1, 2022
565a743
Refactor EventDriverAnimations to customize event match
lunaleaps Nov 1, 2022
cfe811a
Fix natively driven animated.event for bubbling PointerEvents
lunaleaps Nov 1, 2022
dbb9252
Annotate `Array.map` returns when the implicit return type is widened
SamChou19815 Nov 1, 2022
d71d0db
hermes-utils: Strip debug symbols during tarball creation (#35162)
hramos Nov 1, 2022
91d58cf
Codemod cycle annotations for xplat/js
mvitousek Nov 2, 2022
7964d48
Introduce soft exceptions in the bridgeless core
RSNara Nov 2, 2022
b5bb227
Hermes: Include iOS debug symbols in Hermes XCFramework
hramos Nov 2, 2022
358b7a4
hermes-utils.js: Add test coverage
hramos Nov 2, 2022
74cb441
Corrected documentation to be more gramatically correct (#35141)
willsawyerrrr Nov 2, 2022
64c3906
Remove redundant import from TextInputSharedExamples
sammy-SC Nov 2, 2022
e89d223
Remove misleading comment about RootTag type not being opaque
rshest Nov 2, 2022
0fd282f
Link against the app codegen if available (#35176)
cortinico Nov 2, 2022
c540ff7
fix(local-e2e-script): add logic to handle maven local for iOS and An…
kelset Nov 2, 2022
6a23b13
Add file ReactNativeTypes.d.ts to fix CircleCI (#35173)
sammy-SC Nov 2, 2022
b5ea5a2
Fix WebSocketModule not closing connections on reload
javache Nov 2, 2022
b5405b2
Make sure nightly versions are using the -SNAPSHOT artifacts (#35178)
cortinico Nov 2, 2022
5d26cea
Fixup TS Organization (#35169)
NickGerleman Nov 2, 2022
46de03a
Fix test_buck by not using lambdas inside ReactImagePropertyTest (#35…
cortinico Nov 2, 2022
e8d3fb8
Bump RNGP to 0.71.8
cortinico Nov 3, 2022
714b22b
Local filenames with colon should be parsed correctly (#35123)
shwanton Nov 3, 2022
a671d61
Add JS stub for PerformanceObserver specs
rshest Nov 3, 2022
4f3ca8f
cleanup publish-npm.js: --include-hermes is not used anywhere (#35166)
hramos Nov 3, 2022
f207cfd
Add atomic registerSegment method to test
Nov 3, 2022
aaf1990
Use TypeScript by default for new applications (#35165)
NickGerleman Nov 3, 2022
890805d
Add various annotation types to markEvent ReactNative API
Nov 3, 2022
5603736
Merge commit '890805db9cc639846c93edc0e13eddbf67dbc7af' into 71merge
Saadnajmi Jan 18, 2023
c2d1e7b
Resolve UIGraphicsImageRenderer conflicts
Saadnajmi Jan 21, 2023
7401d6a
Resolve RCTLogBox / RCTLogBoxView conflicts
Saadnajmi Jan 21, 2023
5e9fc5d
Resolve RCTDeviceInfo conflicts
Saadnajmi Jan 22, 2023
ad56da4
Resolve lineBreakStrategy conflicts
Saadnajmi Jan 22, 2023
939acaf
Resolve VirtualizedList conflicts
Saadnajmi Jan 23, 2023
a103da6
Resolve rest of conflicts except project.pbxproj
Saadnajmi Jan 23, 2023
6e9e783
Merge commit 'bbd5cfc40427dd6b123724546a2ec91ece0a59f3' into 71merge
Saadnajmi Jan 25, 2023
f568143
Merge branch 'main' into 71merge
Saadnajmi Feb 3, 2023
817a824
Fix JS Errors
Saadnajmi Feb 3, 2023
e394460
Fix compilation issues
Saadnajmi Feb 9, 2023
56c4b49
Fix CI issues
Saadnajmi Feb 13, 2023
f5c6275
Remove React-Core.podspec diffs
Saadnajmi Feb 19, 2023
fc92d42
Remove Stale RCTTest folder
Saadnajmi Feb 16, 2023
8f3f020
Recreate macOS targets
Saadnajmi Feb 22, 2023
351c134
Update CI to build Hermes
Saadnajmi Feb 22, 2023
e7a6501
Fix various other issues
Saadnajmi Feb 22, 2023
6a8a3b5
Merge main into 71merge
Saadnajmi Feb 22, 2023
5bd91f1
Disable macOS test targets
Saadnajmi Feb 24, 2023
154d98c
Revert "Add apple_fontSmoothing style and global default setting (#329)"
Saadnajmi Feb 27, 2023
c4c8b88
Remove onClick/onDoubleClick from macOS ViewConfig
Saadnajmi Feb 27, 2023
17ab19e
Re-order PR jobs
Saadnajmi Feb 28, 2023
5c45697
Fix macOS View config
Saadnajmi Mar 1, 2023
9e33b06
Enable macOS Unit and Integration tests
Saadnajmi Mar 2, 2023
9b0bce6
Fabric fixes for 0.71 upgrade
shwanton Mar 3, 2023
c5919f4
Fix Xcode tests
Saadnajmi Mar 4, 2023
7a2c684
Disable failing jobs
Saadnajmi Mar 4, 2023
c2ef1c2
Re-enable sanitizers and static analysis
Saadnajmi Mar 8, 2023
9198d98
[RNTester] Enable Address and Undefined Behavior Sanitizers
Saadnajmi Mar 10, 2023
cea0b84
Fix react-native-macos-init
Saadnajmi Mar 15, 2023
9dbcfa4
Fix CodeQL issues
Saadnajmi Mar 16, 2023
76b3a76
Fix Integration CI
Saadnajmi Mar 16, 2023
238d199
Fix CircleCI tests
Saadnajmi Mar 16, 2023
f376611
Merge branch 'main' of github.com:microsoft/react-native-macos into 7…
Saadnajmi Mar 18, 2023
3e24c19
Remove more diffs between React Native and React Native macOS
Saadnajmi Mar 18, 2023
e87426f
Enable ScreenshotManager for macOS
Saadnajmi Mar 21, 2023
48f12bc
More new architecture and macOS fixes
Saadnajmi Mar 21, 2023
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
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .ado/Brewfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
brew "watchman"
brew "xcbeautify"
106 changes: 106 additions & 0 deletions .ado/Brewfile.lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"entries": {
"brew": {
"watchman": {
"version": "2023.03.13.00",
"bottle": {
"rebuild": 0,
"root_url": "https://ghcr.io/v2/homebrew/core",
"files": {
"arm64_ventura": {
"cellar": ":any",
"url": "https://ghcr.io/v2/homebrew/core/watchman/blobs/sha256:404c15d4d191fb04a2d756762e23f75281b6380dfa11e5ec6d03fc79f10df15b",
"sha256": "404c15d4d191fb04a2d756762e23f75281b6380dfa11e5ec6d03fc79f10df15b"
},
"arm64_monterey": {
"cellar": ":any",
"url": "https://ghcr.io/v2/homebrew/core/watchman/blobs/sha256:4d9d73b0533628c3f4c36fb68f9de2e30c544bf97b4a31b128309f68a5368278",
"sha256": "4d9d73b0533628c3f4c36fb68f9de2e30c544bf97b4a31b128309f68a5368278"
},
"arm64_big_sur": {
"cellar": ":any",
"url": "https://ghcr.io/v2/homebrew/core/watchman/blobs/sha256:d36a0916b1d93362c1f2de36cd9992fbd9af16b09ccb6d459fb9ddb10fceb9cd",
"sha256": "d36a0916b1d93362c1f2de36cd9992fbd9af16b09ccb6d459fb9ddb10fceb9cd"
},
"ventura": {
"cellar": ":any",
"url": "https://ghcr.io/v2/homebrew/core/watchman/blobs/sha256:a6e4d1d0092e568d2b4d05942d934aec9feb73f4220156ed663a017831864556",
"sha256": "a6e4d1d0092e568d2b4d05942d934aec9feb73f4220156ed663a017831864556"
},
"monterey": {
"cellar": ":any",
"url": "https://ghcr.io/v2/homebrew/core/watchman/blobs/sha256:6db809971a23f8de57ac377527afcb2acee533ff89946d564c52baccda1732b2",
"sha256": "6db809971a23f8de57ac377527afcb2acee533ff89946d564c52baccda1732b2"
},
"big_sur": {
"cellar": ":any",
"url": "https://ghcr.io/v2/homebrew/core/watchman/blobs/sha256:127ab847fded291097dee223b29987f3fb925c3e9c859530f3f8d41488230de9",
"sha256": "127ab847fded291097dee223b29987f3fb925c3e9c859530f3f8d41488230de9"
},
"x86_64_linux": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/watchman/blobs/sha256:b0a6fd449d6078c8ff9cbc81247a6253e5c21f955986ee7667c3da5f3ef713e8",
"sha256": "b0a6fd449d6078c8ff9cbc81247a6253e5c21f955986ee7667c3da5f3ef713e8"
}
}
}
},
"xcbeautify": {
"version": "0.18.0",
"bottle": {
"rebuild": 0,
"root_url": "https://ghcr.io/v2/homebrew/core",
"files": {
"arm64_ventura": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/xcbeautify/blobs/sha256:099fcf0dee67ef581cea24fdd71373de2df7afc242777e6b708ecaa76bee3943",
"sha256": "099fcf0dee67ef581cea24fdd71373de2df7afc242777e6b708ecaa76bee3943"
},
"arm64_monterey": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/xcbeautify/blobs/sha256:14111fef39cdb6e9fd0b78694ce0bbdba058b506f49b1f946a12693b0314a540",
"sha256": "14111fef39cdb6e9fd0b78694ce0bbdba058b506f49b1f946a12693b0314a540"
},
"arm64_big_sur": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/xcbeautify/blobs/sha256:fae7f5b74af43fcfc199a0c35551b0a6f5a73f5cffeac3b1312cc05ab9ee2ec3",
"sha256": "fae7f5b74af43fcfc199a0c35551b0a6f5a73f5cffeac3b1312cc05ab9ee2ec3"
},
"ventura": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/xcbeautify/blobs/sha256:e703db7316c728405ffcb575e06ab12207c6f0e8d3f89df8f5ea7d889bbea52e",
"sha256": "e703db7316c728405ffcb575e06ab12207c6f0e8d3f89df8f5ea7d889bbea52e"
},
"monterey": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/xcbeautify/blobs/sha256:087766fc80f24f4f7be279797c6f6488616965cf69ea0969ef1d407d462fa053",
"sha256": "087766fc80f24f4f7be279797c6f6488616965cf69ea0969ef1d407d462fa053"
},
"big_sur": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/xcbeautify/blobs/sha256:76c5506e47ef58a1706c8e5b5e9eb75e05cf57c4868c497faa3e86e3403dc004",
"sha256": "76c5506e47ef58a1706c8e5b5e9eb75e05cf57c4868c497faa3e86e3403dc004"
},
"x86_64_linux": {
"cellar": "/home/linuxbrew/.linuxbrew/Cellar",
"url": "https://ghcr.io/v2/homebrew/core/xcbeautify/blobs/sha256:b89fe34cbad59b1dfb8d70a1baf31e153302cd4c3e730c871d368d4068082c7b",
"sha256": "b89fe34cbad59b1dfb8d70a1baf31e153302cd4c3e730c871d368d4068082c7b"
}
}
}
}
}
},
"system": {
"macos": {
"ventura": {
"HOMEBREW_VERSION": "4.0.6",
"HOMEBREW_PREFIX": "/opt/homebrew",
"Homebrew/homebrew-core": "api",
"CLT": "",
"Xcode": "14.1",
"macOS": "13.2.1"
}
}
}
}
11 changes: 0 additions & 11 deletions .ado/ado-start-verdaccio.sh

This file was deleted.

39 changes: 39 additions & 0 deletions .ado/ado-test-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,43 @@ set -ex

# Script used by the Azure DevOps build agent to start the packager and web socket server

# Wait for the package to start
waitForPackager() {
local -i max_attempts=60
local -i attempt_num=1

until curl -s http://localhost:8081/status | grep "packager-status:running" -q; do
if (( attempt_num == max_attempts )); then
echo "Packager did not respond in time. No more attempts left."
exit 1
else
(( attempt_num++ ))
echo "Packager did not respond. Retrying for attempt number $attempt_num..."
sleep 1
fi
done

echo "Packager is ready!"
}

waitForWebSocketServer() {
local -i max_attempts=60
local -i attempt_num=1

until curl -s http://localhost:5555 | grep "Upgrade Required" -q; do
if (( attempt_num == max_attempts )); then
echo "WebSocket Server did not respond in time. No more attempts left."
exit 1
else
(( attempt_num++ ))
echo "WebSocket Server did not respond. Retrying for attempt number $attempt_num..."
sleep 1
fi
done

echo "WebSocket Server is ready!"
}

THIS_DIR=$PWD

# AppleScript can't be invoked from Azure DevOps Mojave agents until the following ticket is resolved: https://dev.azure.com/mseng/AzureDevOps/_workitems/edit/1513729
Expand All @@ -17,8 +54,10 @@ COMMAND="$TMPDIR/launchPackager.command"
echo "cd ${THIS_DIR}; export SERVERS_NO_WAIT=1; ./scripts/launchPackager.command" > "$COMMAND"
chmod +x "$COMMAND"
open "$COMMAND"
waitForPackager

COMMAND="$TMPDIR/launchWebSocketServer.command"
echo "cd ${THIS_DIR}; export SERVERS_NO_WAIT=1; ./IntegrationTests/launchWebSocketServer.command" > "$COMMAND"
chmod +x "$COMMAND"
open "$COMMAND"
waitForWebSocketServer
10 changes: 5 additions & 5 deletions .ado/apple-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
timeoutInMinutes: 60
cancelTimeoutInMinutes: 5
steps:
- template: templates/apple-node-setup.yml
- template: templates/apple-tools-setup.yml
- template: templates/apple-xcode-select.yml
parameters:
slice_name: $(slice_name)
Expand All @@ -50,7 +50,7 @@ jobs:
set -eo pipefail
cat package.json |
jq '.devDependencies["react"] = $(react_version)' |
jq '.devDependencies["react-native"] = "^0.68"' |
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"])' |
Expand All @@ -67,7 +67,7 @@ jobs:
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.64"' |
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
Expand All @@ -89,15 +89,15 @@ jobs:
workingDirectory: react-native-test-app/example
- bash: |
set -eo pipefail
../scripts/xcodebuild.sh macos/Example.xcworkspace build
../scripts/xcodebuild.sh macos/Example.xcworkspace build | xcbeautify
displayName: Build Intel
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
../scripts/xcodebuild.sh macos/Example.xcworkspace build ARCHS=arm64 | xcbeautify
displayName: Build ARM
workingDirectory: react-native-test-app/example
env:
Expand Down
Loading