Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
222 commits
Select commit Hold shift + click to select a range
c2b182f
Set Hermes version
Mar 20, 2023
6d2805b
bumped packages versions
Mar 20, 2023
dad9669
Fix align-package-version path
Mar 20, 2023
c05d191
Use new package versions
Mar 20, 2023
f40f8f9
fixed cwd for publish-npm script
Mar 20, 2023
2c6edee
[0.72.0-rc.0] Bump version numbers
Mar 20, 2023
f9b3835
fix script
kelset Mar 21, 2023
8a5ddb9
[LOCAL] bump hermes in RNTester podfile
kelset Mar 21, 2023
aff2e93
Fix platform Typings (#36650)
cipolleschi Mar 27, 2023
73f37b1
fix: format template location following prettier rules (#36651)
hoxyq Mar 27, 2023
17a9615
Downgrade CLI to `alpha.0` to get Metro working again in CI (#36654)
cipolleschi Mar 27, 2023
a4e390a
Revert Changes to Libraries/Utilities to fix prerelease type (#36655)
cipolleschi Mar 27, 2023
fecfd04
[0.72-stable] Fix localhost references in yarn.lock (#36661)
robhogan Mar 27, 2023
6e04b2a
Restore object with prerelease as string to unblock 0.72 (#36657)
cipolleschi Mar 27, 2023
9ffe82e
Port changes from main into Stable to make the CI green (#36665)
cipolleschi Mar 28, 2023
05ba16a
Enable NSTextStorage caching in OSS
sammy-SC Mar 20, 2023
f5fbda5
Improve caching of Text per shadow Node
mdvacca Mar 20, 2023
7c9f3ab
Patch setNativeProps in OSS build
sammy-SC Mar 20, 2023
2443677
Support to enable/disable Fabric in ReactFragment (#36263)
sh-iv-am Mar 21, 2023
7700d7f
fix: update paths in React-rncore.podspec (#36571)
hoxyq Mar 22, 2023
b6291aa
Bail on realizing region around last focused cell if we don't know wh…
NickGerleman Mar 24, 2023
a0a81a4
Minimize EditText Spans 1/9: Fix precedence (#36543)
NickGerleman Mar 24, 2023
cffdad6
Minimize EditText Spans 2/9: Make stripAttributeEquivalentSpans gener…
NickGerleman Mar 24, 2023
ea09a47
Minimize EditText Spans 3/9: ReactBackgroundColorSpan (#36547)
NickGerleman Mar 24, 2023
3447fea
Minimize EditText Spans 4/9: ReactForegroundColorSpan (#36545)
NickGerleman Mar 24, 2023
536ee8b
Minimize EditText Spans 5/9: Strikethrough and Underline (#36544)
NickGerleman Mar 24, 2023
4e24223
Minimize EditText Spans 6/9: letterSpacing (#36548)
NickGerleman Mar 24, 2023
1fc7693
Minimize EditText Spans 7/9: Avoid temp list (#36576)
NickGerleman Mar 24, 2023
1ebe10a
Minimize EditText Spans 8/9: CustomStyleSpan (#36577)
NickGerleman Mar 24, 2023
eae0866
Mimimize EditText Spans 9/9: Remove addSpansForMeasurement() (#36575)
NickGerleman Mar 25, 2023
14794a9
Fix the setup to allow the build-from-source on host projects (#36702)
cortinico Mar 29, 2023
1813734
Use packaged react-native in test-e2e-local script (#36703)
fortmarek Mar 29, 2023
3e079f0
Make UIManager.dispatchViewManagerCommand work in Fabric through Inte…
cipolleschi Mar 29, 2023
6070b58
Add Examples for Direct Manipulation in the Interop Layer (#36610)
cipolleschi Mar 29, 2023
7b2cff8
Re-enable Fabric in the default app template/RN-Tester (#36717)
cortinico Mar 30, 2023
8a493af
bumped packages versions
kelset Mar 30, 2023
73837a7
[LOCAL] bump js-polyfills and virtualized-lists
kelset Mar 30, 2023
d0699dc
[LOCAL] bump CLI to 11.0.1
kelset Mar 30, 2023
a9ec217
Fix RNTester in main (#36686)
cipolleschi Mar 28, 2023
8beed6a
[LOCAL] need to be in the rn-tester folder the whole time when testin…
kelset Mar 30, 2023
392a843
[LOCAL] fix e2e local testing script post metro-config
kelset Mar 30, 2023
0026f73
Remove 'import' from default Package Exports conditions (#955)
huntie Mar 23, 2023
341cda4
Add Fabric Interop constants example (#36693)
cortinico Mar 29, 2023
5299c60
Add Fabric Interop event example (#36692)
cortinico Mar 29, 2023
cb30323
Add example for dispatchViewManagerCommand on Fabric Interop (#36725)
cortinico Mar 30, 2023
1199e47
Add examples of Direct Manipulation in Fabric Intrerop (#36724)
cortinico Mar 30, 2023
c5f18de
Update template metro.config.js, remove transitive metro dep from mai…
huntie Mar 30, 2023
a469927
RN [refactor]: bump and realign package versions by running a single …
hoxyq Mar 22, 2023
68cd44b
Merge pull request #36573 from hoxyq/hoxyq/cherry-pick-ci-scripts-cha…
hoxyq Mar 31, 2023
e795b53
fix(metro-config): fix and realign the situation for metro config for…
kelset Mar 31, 2023
d3c94b4
Fix Cocoapods for Xcode 14.3.0 (#36759)
cipolleschi Apr 2, 2023
614e410
Extract NSTextStorage measure into a helper method (#36772)
sammy-SC Apr 3, 2023
6d6b6a8
Only create NSAttributedString if NSTextStorage is nil (#36773)
sammy-SC Apr 3, 2023
921bbb6
Correct offset when drawing text to TextStorage coordinate system. (#…
sammy-SC Apr 3, 2023
c92bb3c
[LOCAL] bump CLI to 11.1.1
kelset Apr 4, 2023
f3b71f4
Fix a crash new app template when `createRootView` is invoked with nu…
cortinico Apr 4, 2023
30b5de0
[0.72.0-rc.1] Bump version numbers
Apr 5, 2023
51de9e1
[LOCAL] update podlock post release to fix CI
kelset Apr 11, 2023
c068efc
[0.72] Bump Metro to 0.76.2, cherry pick Metro config updates (#36976)
huntie Apr 21, 2023
08fc618
Revert "feat: Add Fabric implementation of inset logical properties (…
May 2, 2023
37abba0
Add fabric support for maintainVisibleContentPosition on Android (#35…
janicduplessis Apr 5, 2023
bab46dd
Export EmitterSubscription TypeScript Type (#36632)
NickGerleman Apr 17, 2023
c1c8a30
Do not send extra onChangeText even wnen instantianting multiline Tex…
dmytrorykun Apr 18, 2023
414c015
Bump @tsconfig/react-native to 3.0.0 (#36957)
NickGerleman Apr 18, 2023
dd89bfb
[LOCAL] add missing types requirement
kelset May 3, 2023
d7af544
Rename "Debug Menu" title to "Dev Menu" on iOS (#36981)
huntie Apr 20, 2023
2fcda35
RN: Upgrade to deprecated-react-native-prop-types@4.1.0
yungsters Apr 20, 2023
fed80ad
Add support for Events on the Fabric Interop Layer (#37059)
cortinico Apr 27, 2023
1c09228
Do not explicitely depend on androidx.swiperefreshlayout:swiperefresh…
cortinico Apr 28, 2023
bbecf51
Re-enable newArch on RN-Tester
cortinico Apr 28, 2023
34d7d01
Remove unnecessary files in RN-Tester (#37152)
cortinico Apr 28, 2023
8de71e5
Make sure that hermes-engine is updated with cocoapods. (#37148)
dmytrorykun May 2, 2023
738e014
Set dev menu title to "React Native Dev Menu", add JS executor descri…
huntie May 3, 2023
49d2009
Pass the file that needs to be read
May 3, 2023
840db21
Merge pull request #37203 from lunaleaps/revert-insets
kelset May 3, 2023
a0cb168
Merge pull request #37230 from facebook/cipolleschi/fix_reading_herme…
kelset May 3, 2023
d9d7286
[LOCAL] bump CLI to 11.2.1
kelset May 4, 2023
138cb91
[LOCAL] fix version of metro config
kelset May 4, 2023
5d7c34c
[LOCAL] Do not run Buck OSS on release branches (#37251)
cortinico May 4, 2023
9cb7b44
[0.72.0-rc.2] Bump version numbers
May 4, 2023
acc5fdf
fix: make sure initialScrollIndex is bigger than 0 (#36844)
okwasniewski Apr 18, 2023
96d7c92
Fix VirtualizedList with maintainVisibleContentPosition (#35993)
janicduplessis Apr 27, 2023
8d6d346
Move cancelRequest_ in move ctor in ImageRequest (#37221)
sammy-SC May 4, 2023
9d5ca36
Delete ImageRequest::~ImageRequest (#37222)
sammy-SC May 4, 2023
166cc09
Cancel image download when ImageRequest changes (#37223)
sammy-SC May 4, 2023
1ea2c9b
Revert ENABLE_HERMES_PROFILER flag in cocoapods (#37228)
cipolleschi May 4, 2023
2bba1e3
Fix Flipper by moving FB_SONARKIT_ENABLED to RCTAppDelegate (#37240)
djMax May 4, 2023
e217b7f
Read Maven group from GROUP property (#37204)
douglowder May 5, 2023
ab3fe91
empty commit to trigger a new patch for metro-config
kelset May 10, 2023
eca45c2
bumped packages versions
kelset May 10, 2023
935d900
[LOCAL] bump metro to 0.76.3 and CLI to 11.2.2
kelset May 10, 2023
0471f9b
bumped packages versions
kelset May 10, 2023
ca17733
Update scheduler package (#37295)
sammy-SC May 10, 2023
9cf1918
[LOCAL] bump metro to 0.76.4 and CLI to 11.2.3
May 11, 2023
e1b175f
bumped packages versions
May 11, 2023
9c18ad8
revert type bump in template
kelset May 11, 2023
d71ba2d
[0.72.0-rc.3] Bump version numbers
May 11, 2023
014ea40
Make the fabric-only CSS aliases experimental (#37338)
lunaleaps May 12, 2023
8c4694f
Remove inline props from experimental
May 12, 2023
614d9f8
Merge pull request #37403 from lunaleaps/add-experimental-types
kelset May 22, 2023
42fc885
Merge pull request #37258 from bang9/cherrypick-0.72-fix-virtualized-…
kelset May 22, 2023
9798656
backporting babel bumps to 0.72 (#37492)
hoxyq May 22, 2023
9476eb6
Bump CLI to `v11.3.0` in `0.72-stable` (#37467)
Pranav-yadav May 22, 2023
43ff1c4
fix(types): cross platform autoComplete for TextInput (#36931)
iRoachie Apr 18, 2023
d880c04
Remove deprecated POST_NOTIFICATION from `PermissionsAndroid` (#36936)
cortinico Apr 18, 2023
a3b4428
Remove unused jsInvoker from Cxx TM enums (#37454)
christophpurrer May 17, 2023
472012d
Make sure the -DANDROID compilation flag is always included. (#37451)
cortinico May 17, 2023
a86a54e
fix: [gradle-plugin] 3rd party lib dependency substitution (#37445)
douglowder May 17, 2023
f942f21
[LOCAL] yarn lock wasn't updated during the CLI bump
kelset May 22, 2023
be99412
[LOCAL] update podlock file
kelset May 22, 2023
451a599
bumped packages versions
kelset May 22, 2023
5e847c4
[LOCAL] Remove license header from android/app/build.gradle (#37514)
cortinico May 22, 2023
cddcf09
Add -Wno-error=cpp on App's default Cmake file (#37516)
cortinico May 22, 2023
47b45df
Make sure the Native RuntimeScheduler is initialized on Old Arch (#37…
cortinico May 22, 2023
ad965a1
Make CircleCI caches for hermesc be version dependent (#37452)
cipolleschi May 23, 2023
a168f4b
fix: limit diagnostics width output by `hermesc` (#37531)
tido64 May 23, 2023
072b7f7
Use `Content-Location` header in bundle response as JS source URL (#3…
robhogan May 23, 2023
00027a5
chore(Podfile): fixed URL to New Arch info (#37535)
frankcalise May 24, 2023
dd9a5ab
Enable RuntimeScheduler in old architecture (#37523)
sammy-SC May 25, 2023
ee177ca
[LOCAL] Remove conformance to RCTComponentViewFactoryComponentProvide…
May 25, 2023
dc6a2c3
[LOCAL] Do not use NativeState as JSC does not implement it
May 25, 2023
c43bd7a
Do not use setNativeState in RuntimeScheduler::Task
sammy-SC May 26, 2023
7c5dc1d
[LOCAL] bump metro to 0.76.5 and CLI to 11.3.1
May 26, 2023
74e3803
bumped packages versions
May 26, 2023
a4aaee0
[LOCAL] Remove double definition of task wrapper after merge conflict
May 26, 2023
e0c88fe
[LOCAL] Fix Ruby tests
May 26, 2023
52d2065
[LOCAL] Make sure Java Toolchain and source/target level is applied t…
cortinico May 26, 2023
32327cc
[LOCAL] Fix hermesc for linux (#37591)
cipolleschi May 26, 2023
60a452b
[LOCAL] Fix performance issues in Hermes when Debug
May 30, 2023
e11396e
[0.72.0-rc.4] Bump version numbers
May 31, 2023
7dc11bc
bumped packages versions
fortmarek Jun 1, 2023
a98c7c6
[0.72.0-rc.5] Bump version numbers
Jun 1, 2023
bab5bab
[LOCAL] bump hermes podlock
kelset Jun 6, 2023
dfc64d5
Fix copy / paste menu and simplify controlled text selection on Andro…
janicduplessis May 24, 2023
73f4a78
Fixed random styling for text nodes with many children (#36656)
cubuspl42 May 26, 2023
8ed2cfd
Add support for building with Xcode 15 (#37758)
AlexanderEggers Jun 8, 2023
2760042
Fix loading NODE_BINARY inside Generate Legacy Components Interop (#3…
gabrieldonadel Jun 9, 2023
2d15f50
Fix Android border clip check (#37828)
gabrieldonadel Jun 12, 2023
0da7e06
Remove CallInvoker parameter from toJs method in Codegen (#37832)
cortinico Jun 12, 2023
0817eaa
Revert "fix: border width top/bottom not matching the border radius" …
gabrieldonadel Jun 13, 2023
b2f2737
bumped packages versions
kelset Jun 13, 2023
a2df07e
[LOCAL] bump CLI to 11.3.2
kelset Jun 13, 2023
ec4771b
[0.72.0-rc.6] Bump version numbers
Jun 13, 2023
3863877
[LOCAL] update podfile.lock
Jun 13, 2023
7a893e4
[0.72.0] Bump version numbers
Jun 21, 2023
0b96bdc
fix(ios): fix `pod install --project-directory=ios` failing (#37994)
tido64 Jun 23, 2023
4d8a6a2
Add README to RN Template App, added when `npx react-native@latest in…
Pranav-yadav Jun 14, 2023
ba46e5b
fix(virtualized-lists): `react-test-renderer` is not a runtime depend…
tido64 Jun 21, 2023
69705a4
Add nullptr check to SharedFunction (#38075)
sammy-SC Jun 27, 2023
78c1a7e
Restore base config merge in metro-config (#38092)
huntie Jun 28, 2023
10beefb
[LOCAL] reapply "Set kotlin.jvm.target.validation.mode=warning on use…
kelset Jun 28, 2023
da84901
[LOCAL] bump CLI to 11.3.3
kelset Jun 28, 2023
95db9f9
bumped packages versions
kelset Jun 28, 2023
f537257
Implement multiple manager lookup for the interop layer (#38093)
cipolleschi Jun 27, 2023
4ddfeb6
Warn users when a component is registered in Rendere and in the inter…
cipolleschi Jun 27, 2023
92d50d4
Resubmit D46501420 (#37790)
bernhardoj Jun 12, 2023
a8cfeb9
[LOCAL] update podlock file for RNTester
kelset Jun 29, 2023
8ce471e
[LOCAL] Bump SocketRocket to 6.1.0
Jun 29, 2023
73293f2
[0.72.1] Bump version numbers
Jun 29, 2023
e22bd7f
[LOCAL] update podlock
kelset Jul 5, 2023
d73b61c
Do not create RuntimeExecutor on non-JSI executors (#38125) (#38142)
lunaleaps Jul 10, 2023
a46a7cd
Prevent crash in runAnimationStep on OnePlus and Oppo devices (#37487)
hsource May 23, 2023
03b9b52
Remove okhttp internal util usage (#37843)
adrianha Jun 15, 2023
e250676
Add global hook to assert that base Metro config is called (#38126)
huntie Jun 29, 2023
7a4ae79
Fix pod install for swift libs using new arch (#38121)
Jun 30, 2023
914db09
Disable nstextstorage_caching in OSS (#38129)
sammy-SC Jun 30, 2023
0759422
Fix onChangeText not firing when clearing the value of TextInput with…
kkoudev Jul 4, 2023
965169f
Enable debugging in debug build (#38205)
Jul 6, 2023
fe2964a
Fix build failure on iOS with pnpm and use_frameworks! (#38158)
Jul 6, 2023
ee8d5e0
Compile hermes-engine with -DHERMES_ENABLE_DEBUGGER=False on Release …
cortinico Jul 6, 2023
e163a13
fix: repairs $EXTRA_COMPILER_ARGS error with multiple args (#38147)
fergusean Jul 6, 2023
1683b12
add InitializeCore in getModulesRunBeforeMainModule (#38207)
Kudo Jul 7, 2023
4704497
Update when view are added to the ViewRegistry (#38223)
cipolleschi Jul 7, 2023
21daa6e
bumped packages versions
kelset Jul 10, 2023
9781850
Restore envinfo for test_windows (#38062)
Jun 26, 2023
ba5fa9c
[LOCAL] bump CLI to 11.3.5 and Metro do 0.76.7
kelset Jul 10, 2023
f373861
bumped packages versions
kelset Jul 10, 2023
73ca044
[LOCAL] fix the metro-config version or it will pick the wrong one on CI
kelset Jul 10, 2023
839091b
Revert "[LOCAL] fix the metro-config version or it will pick the wron…
kelset Jul 10, 2023
63f78ea
[LOCAL] remove stub types from dependencies
kelset Jul 10, 2023
b95c87d
[0.72.2] Bump version numbers
Jul 11, 2023
8f41f25
Revert "Fix pod install for swift libs using new arch (#38121)"
kelset Jul 12, 2023
24b6820
[0.72.3] Bump version numbers
Jul 12, 2023
ff37ddb
[LOCAL] update podlock for CI
kelset Jul 12, 2023
79c4ec1
[LOCAL] Port CircleCI Artifact downloads to speed up release testing …
cipolleschi Jul 24, 2023
03187b6
fix[AppContainer]: mount react devtools overlay only when devtools ar…
hoxyq Aug 7, 2023
a3cfdf0
Bump CLI to 11.3.6 (#38778)
szymonrybczak Aug 7, 2023
e907337
Add enterKeyHint in TextInput type declaration (#37624)
tarunrajput Jun 5, 2023
938bd78
Allow string `transform` style in TypeScript (#37569)
NickGerleman May 25, 2023
3cf94df
For targeting SDK 34 - Added RECEIVER_EXPORTED/RECEIVER_NOT_EXPORTED …
apuruni Jul 10, 2023
22c9739
Add workaround for android API 33 ANR when inverting ScrollView (#38071)
hannojg Jul 14, 2023
e4429fa
Add workaround fix for #35350 (#38073)
hannojg Jul 28, 2023
7aed30a
Fabric Interop - Also normalize direct events (#38352)
cortinico Jul 17, 2023
3350dd8
Fix Android ScrollView not responding to Keyboard events when nested …
andreacassani Aug 2, 2023
a601b22
fix: Correctly assign the `hermes-engine` pod tag when installing pod…
gvarandas Aug 3, 2023
5b45e97
Remove option to paste rich text from Android EditText context menu (…
fabOnReact Jul 28, 2023
e9ea926
Hermes bump for hermes-2023-08-07-RNv0.72.4-813b2def12bc9df026
Aug 7, 2023
7aa8cd5
Fix missing Platform in VirtualizedList
Aug 8, 2023
4f8c87c
[LOCAL] Fabric Interop - Properly dispatch integer commands (#38527) …
cortinico Aug 8, 2023
5f503b8
Restore checking shadow tree commit cancellation after commit hook ex…
michalmaka Aug 4, 2023
40ea8ff
Bump cli and metro (#38898)
lunaleaps Aug 10, 2023
2f6c200
[LOCAL] Fix broken Android tests for 0.72 (#38926)
cortinico Aug 10, 2023
768c960
Pass hitSlop prop into TextInput Pressability config (#38857)
el1t Aug 9, 2023
9f79218
Reorder test imports in @react-native/virtualized-lists to trigger a …
fortmarek Aug 11, 2023
f3e7572
bumped packages versions
fortmarek Aug 11, 2023
c7073fd
Change comment in @react-native/metro-config to trigger a release bump
fortmarek Aug 11, 2023
fe804b8
bumped packages versions
fortmarek Aug 11, 2023
ff27568
[0.72.4] Bump version numbers
Aug 14, 2023
33fc55d
Add scripts and pipeline to poll for maven (#38980)
cipolleschi Aug 16, 2023
ef8ac7a
chore(releases): improve bump oss script to allow less human errors (…
kelset Aug 18, 2023
1794832
Re-enable direct debugging with JSC on iOS 16.4+ (#37914)
huntie Jun 15, 2023
7aeadbc
Fix null crash when using maintainVisibleContentPosition on Android (…
janicduplessis Aug 10, 2023
26b49f9
Adjust RawPropsPropNameLength's type to account for increased number …
vincentriemer Aug 15, 2023
05d36d9
Guard `JSGlobalContextSetInspectable` behind a compile time check for…
Saadnajmi Aug 18, 2023
66441e7
A fix in Codegen for Windows build host (#36542)
birdofpreyru Aug 22, 2023
e9eca07
Revert "Fix build failure on iOS with pnpm and use_frameworks! (#3815…
koenpunt Aug 30, 2023
f77e9af
Fix building Android on Windows (#39190)
alespergl Sep 4, 2023
a8ec20d
Allow RCTBundleURLProvider to request an inline source map (#37878) (…
Saadnajmi Sep 4, 2023
212ab8a
Merge remote-tracking branch 'facebook/0.72-stable' into 0.72-rest
Sep 6, 2023
7d8a1b1
macOS-specific changes to get RNTester to compile
Sep 6, 2023
9e5a249
applying package updates ***NO_CI***
Sep 6, 2023
a3bb438
Copy macos config info into RNTester
Sep 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .circleci/Dockerfiles/Dockerfile.android
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@ ADD jsc /app/jsc
# set workdir
WORKDIR /app

RUN scripts/buck/buck_fetch.sh

RUN buck build packages/react-native/ReactAndroid/src/main/java/com/facebook/react
RUN buck build packages/react-native/ReactAndroid/src/main/java/com/facebook/react/shell

ADD gradle /app/gradle
ADD gradlew /app/gradlew
ADD settings.gradle /app/settings.gradle
Expand Down
118 changes: 52 additions & 66 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ references:
# Dependency Anchors
# -------------------------
dependency_versions:
xcode_version: &xcode_version "14.2.0"
xcode_version: &xcode_version "14.3.0"
nodelts_image: &nodelts_image "cimg/node:18.12.1"
nodeprevlts_image: &nodeprevlts_image "cimg/node:16.18.1"

Expand All @@ -62,7 +62,8 @@ references:
hermes_workspace_cache_key: &hermes_workspace_cache_key v4-hermes-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/hermes/hermesversion" }}
hermes_workspace_debug_cache_key: &hermes_workspace_debug_cache_key v2-hermes-{{ .Environment.CIRCLE_JOB }}-debug-{{ checksum "/tmp/hermes/hermesversion" }}-{{ checksum "/tmp/react-native-version" }}
hermes_workspace_release_cache_key: &hermes_workspace_release_cache_key v2-hermes-{{ .Environment.CIRCLE_JOB }}-release-{{ checksum "/tmp/hermes/hermesversion" }}-{{ checksum "/tmp/react-native-version" }}
hermes_windows_cache_key: &hermes_windows_cache_key v3-hermes-{{ .Environment.CIRCLE_JOB }}-{{ checksum "tmp/hermes/hermesversion" }}
hermes_linux_cache_key: &hermes_linux_cache_key v1-hermes-{{ .Environment.CIRCLE_JOB }}-linux-{{ checksum "/tmp/hermes/hermesversion" }}-{{ checksum "/tmp/react-native-version" }}
hermes_windows_cache_key: &hermes_windows_cache_key v2-hermes-{{ .Environment.CIRCLE_JOB }}-windows-{{ checksum "/Users/circleci/project/tmp/hermes/hermesversion" }}-{{ checksum "/tmp/react-native-version" }}
hermes_tarball_debug_cache_key: &hermes_tarball_debug_cache_key v4-hermes-tarball-debug-{{ checksum "/tmp/hermes/hermesversion" }}-{{ checksum "/tmp/react-native-version" }}
hermes_tarball_release_cache_key: &hermes_tarball_release_cache_key v3-hermes-tarball-release-{{ checksum "/tmp/hermes/hermesversion" }}-{{ checksum "/tmp/react-native-version" }}
pods_cache_key: &pods_cache_key v8-pods-{{ .Environment.CIRCLE_JOB }}-{{ checksum "packages/rn-tester/Podfile.lock.bak" }}-{{ checksum "packages/rn-tester/Podfile" }}
Expand Down Expand Up @@ -317,11 +318,24 @@ commands:
- run:
name: Get React Native version
command: |
VERSION=$( grep '"version"' packages/react-native/package.json | cut -d '"' -f 4 | head -1)
VERSION=$(cat packages/react-native/package.json | jq -r '.version')
# Save the react native version we are building in a file so we can use that file as part of the cache key.
echo "$VERSION" > /tmp/react-native-version
echo "React Native Version is $(cat /tmp/react-native-version)"
echo "Hermes commit is $(cat /tmp/hermes/hermesversion)"
HERMES_VERSION="$(cat /tmp/hermes/hermesversion)"
echo "Hermes commit is $HERMES_VERSION"

get_react_native_version_windows:
steps:
- run:
name: Get React Native version on Windows
command: |
$VERSION=cat packages/react-native/package.json | jq -r '.version'
# Save the react native version we are building in a file so we can use that file as part of the cache key.
echo "$VERSION" > /tmp/react-native-version
echo "React Native Version is $(cat /tmp/react-native-version)"
$HERMES_VERSION=cat C:\Users\circleci\project\tmp\hermes\hermesversion
echo "Hermes commit is $HERMES_VERSION"

with_hermes_tarball_cache_span:
parameters:
Expand Down Expand Up @@ -624,7 +638,7 @@ jobs:
- run:
name: Run Ruby Tests
command: |
cd scripts
cd packages/react-native/scripts
sh run_ruby_tests.sh
- run_yarn
- *attach_hermes_workspace
Expand Down Expand Up @@ -723,60 +737,6 @@ jobs:
- store_test_results:
path: ./reports/junit

# -------------------------
# JOBS: Test Buck
# -------------------------
test_buck:
executor: reactnativeandroid
environment:
KOTLIN_HOME=packages/react-native/third-party/kotlin
steps:
- checkout
- setup_artifacts
- run_yarn

- run:
name: Download Dependencies Using Buck
command: ./scripts/buck/buck_fetch.sh

- run:
name: Build & Test React Native using Buck
command: |
buck build packages/react-native/ReactAndroid/src/main/java/com/facebook/react
buck build packages/react-native/ReactAndroid/src/main/java/com/facebook/react/shell

- run:
name: Run Tests - Android Unit Tests with Buck
command: buck test packages/react-native/ReactAndroid/src/test/... --config build.threads=$BUILD_THREADS --xml ./reports/buck/all-results-raw.xml

- run:
name: Build JavaScript Bundle for instrumentation tests
working_directory: ~/react-native/packages/react-native
command: node cli.js bundle --max-workers 2 --platform android --dev true --entry-file ReactAndroid/src/androidTest/js/TestBundle.js --bundle-output ReactAndroid/src/androidTest/assets/AndroidTestBundle.js

- run:
name: Build Tests - Android Instrumentation Tests with Buck
# Here, just build the instrumentation tests. There is a known issue with installing the APK to android-21+ emulator.
command: |
if [[ ! -e packages/react-native/ReactAndroid/src/androidTest/assets/AndroidTestBundle.js ]]; then
echo "JavaScript bundle missing, cannot run instrumentation tests. Verify Build JavaScript Bundle step completed successfully."; exit 1;
fi
source scripts/android-setup.sh && NO_BUCKD=1 scripts/retry3 timeout 300 buck build packages/react-native/ReactAndroid/src/androidTest/buck-runner:instrumentation-tests --config build.threads=$BUILD_THREADS

- run:
name: Collect Test Results
command: |
find . -type f -regex ".*/build/test-results/debug/.*xml" -exec cp {} ./reports/build/ \;
find . -type f -regex ".*/outputs/androidTest-results/connected/.*xml" -exec cp {} ./reports/outputs/ \;
find . -type f -regex ".*/buck-out/gen/packages/react-native/ReactAndroid/src/test/.*/.*xml" -exec cp {} ./reports/buck/ \;
if [ -f ~/react-native/reports/buck/all-results-raw.xml ]; then
~/react-native/scripts/circleci/buckToJunit/buckToJunit.sh ~/react-native/reports/buck/all-results-raw.xml ~/react-native/reports/junit/results.xml
fi
when: always

- store_test_results:
path: ./reports/junit

# -------------------------
# JOBS: Test Android
# -------------------------
Expand Down Expand Up @@ -1090,9 +1050,15 @@ jobs:
name: Enable Yarn with corepack
command: corepack enable

# it looks like that, last week, envinfo released version 7.9.0 which does not works
# with Windows. I have opened an issue here: https://github.com/tabrindle/envinfo/issues/238
# TODO: T156811874 - Revert this to npx envinfo@latest when the issue is addressed
- run:
name: Display Environment info
command: npx envinfo@latest
command: |
npm install -g envinfo
envinfo -v
envinfo

- restore_cache:
keys:
Expand Down Expand Up @@ -1176,7 +1142,7 @@ jobs:
- image: debian:11
environment:
- HERMES_WS_DIR: *hermes_workspace_root
- HERMES_VERSION_FILE: "sdks/.hermesversion"
- HERMES_VERSION_FILE: "packages/react-native/sdks/.hermesversion"
- BUILD_FROM_SOURCE: true
steps:
- run:
Expand All @@ -1195,8 +1161,10 @@ jobs:
mkdir -p "/tmp/hermes" "/tmp/hermes/download" "/tmp/hermes/hermes"

if [ -f "$HERMES_VERSION_FILE" ]; then
echo "Hermes version file found. Using the latest commit"
cat $HERMES_VERSION_FILE > /tmp/hermes/hermesversion
else
echo "No hermes version file found. Using the latest commit"
HERMES_TAG_SHA=$(git ls-remote https://github.com/facebook/hermes main | cut -f 1 | tr -d '[:space:]')
echo $HERMES_TAG_SHA > /tmp/hermes/hermesversion
fi
Expand Down Expand Up @@ -1228,17 +1196,18 @@ jobs:
- image: debian:bullseye
# [macOS] Change resource_class to large as we're on the free CircleCI plan
resource_class: "large"
working_directory: /root
steps:
- checkout_code_with_cache
- run:
name: Install dependencies
command: |
apt update
apt install -y git openssh-client cmake build-essential \
libreadline-dev libicu-dev zip python3
libreadline-dev libicu-dev jq zip python3
- *attach_hermes_workspace
- get_react_native_version
- restore_cache:
key: *hermes_workspace_cache_key
key: *hermes_linux_cache_key
- run:
name: Set up workspace
command: |
Expand All @@ -1257,7 +1226,7 @@ jobs:
cp /tmp/hermes/build/bin/hermesc /tmp/hermes/linux64-bin/.
fi
- save_cache:
key: *hermes_workspace_cache_key
key: *hermes_linux_cache_key
paths:
- /tmp/hermes/linux64-bin/
- /tmp/hermes/hermes/destroot/
Expand Down Expand Up @@ -1378,7 +1347,9 @@ jobs:
- MSBUILD_DIR: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin'
- CMAKE_DIR: 'C:\Program Files\CMake\bin'
steps:
- checkout_code_with_cache
- *attach_hermes_workspace
- get_react_native_version_windows
- restore_cache:
key: *hermes_windows_cache_key
- run:
Expand Down Expand Up @@ -1595,6 +1566,19 @@ jobs:
-d "{\"event_type\": \"publish\", \"client_payload\": { \"version\": \"${CIRCLE_TAG:1}\" }}"
# END: Stable releases

poll_maven:
docker:
- image: cimg/node:current
resource_class: small
steps:
- checkout_code_with_cache
- run_yarn
- run:
name: Poll Maven for Artifacts
command: |
node scripts/circleci/poll-maven.js


# -------------------------
# JOBS: Nightly
# -------------------------
Expand Down Expand Up @@ -1702,7 +1686,6 @@ workflows:
# jsengine: ["Hermes", "JSC"]
# flavor: ["Debug", "Release"]
# macOS]
- test_buck
- test_ios_template:
requires:
- build_npm_package
Expand Down Expand Up @@ -1938,6 +1921,9 @@ workflows:
- build_hermesc_linux
- build_hermes_macos
- build_hermesc_windows
- poll_maven:
requires:
- build_and_publish_npm_package

package_and_publish_release_dryrun:
when:
Expand Down
14 changes: 7 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ GEM
specs:
CFPropertyList (3.0.6)
rexml
activesupport (6.1.7.5)
activesupport (7.0.7)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
addressable (2.8.1)
addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0)
algoliasearch (1.27.5)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
atomos (0.1.3)
claide (1.1.0)
cocoapods (1.12.0)
cocoapods (1.12.1)
addressable (~> 2.8)
claide (>= 1.0.2, < 2.0)
cocoapods-core (= 1.12.0)
cocoapods-core (= 1.12.1)
cocoapods-deintegrate (>= 1.0.3, < 2.0)
cocoapods-downloader (>= 1.6.0, < 2.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
Expand All @@ -34,7 +34,7 @@ GEM
nap (~> 1.0)
ruby-macho (>= 2.3.0, < 3.0)
xcodeproj (>= 1.21.0, < 2.0)
cocoapods-core (1.12.0)
cocoapods-core (1.12.1)
activesupport (>= 5.0, < 8)
addressable (~> 2.8)
algoliasearch (~> 1.0)
Expand Down Expand Up @@ -72,7 +72,7 @@ GEM
nap (1.1.0)
netrc (0.11.0)
public_suffix (4.0.7)
rexml (3.2.5)
rexml (3.2.6)
ruby-macho (2.5.1)
typhoeus (1.4.0)
ethon (>= 0.9.0)
Expand All @@ -95,7 +95,7 @@ DEPENDENCIES
cocoapods (~> 1.12)

RUBY VERSION
ruby 3.2.0p0
ruby 3.0.6p216

BUNDLED WITH
2.3.22

This file was deleted.

15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"test-typescript": "dtslint packages/react-native/types",
"test-typescript-offline": "dtslint --localTs node_modules/typescript/lib packages/react-native/types",
"bump-all-updated-packages": "node ./scripts/monorepo/bump-all-updated-packages",
"align-package-versions": "node ./scripts/monorepo/align-package-versions.js"
"trigger-react-native-release": "node ./scripts/trigger-react-native-release.js"
},
"workspaces": [
"packages/*"
Expand All @@ -53,16 +53,17 @@
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/eslint-parser": "^7.19.0",
"@babel/eslint-parser": "^7.20.0",
"@babel/generator": "^7.20.0",
"@babel/plugin-transform-regenerator": "^7.0.0",
"@babel/plugin-transform-regenerator": "^7.20.0",
"@definitelytyped/dtslint": "^0.0.127",
"@jest/create-cache-key-function": "^29.2.1",
"@reactions/component": "^2.0.2",
"@react-native/metro-config": "^0.72.11",
"@types/react": "^18.0.18",
"@typescript-eslint/parser": "^5.30.5",
"async": "^3.2.2",
"babel-plugin-transform-flow-enums":"^0.0.2",
"babel-plugin-transform-flow-enums": "^0.0.2",
"clang-format": "^1.8.0",
"connect": "^3.6.5",
"coveralls": "^3.1.1",
Expand All @@ -86,9 +87,9 @@
"jest": "^29.2.1",
"jest-junit": "^10.0.0",
"jscodeshift": "^0.14.0",
"metro-babel-register": "0.75.1",
"metro-memory-fs": "0.75.1",
"metro-react-native-babel-transformer": "0.75.1",
"metro-babel-register": "0.76.7",
"metro-memory-fs": "0.76.7",
"metro-react-native-babel-transformer": "0.76.7",
"mkdirp": "^0.5.1",
"mock-fs": "^5.1.4",
"prettier": "^2.4.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config-react-native-community/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/eslint-config",
"version": "0.72.1",
"version": "0.72.2",
"description": "ESLint config for React Native",
"main": "index.js",
"license": "MIT",
Expand All @@ -12,7 +12,7 @@
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/eslint-config-react-native-community#readme",
"dependencies": {
"@babel/core": "^7.20.0",
"@babel/eslint-parser": "^7.19.0",
"@babel/eslint-parser": "^7.20.0",
"@react-native/eslint-plugin": "^0.72.0",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
Expand Down
10 changes: 5 additions & 5 deletions packages/eslint-plugin-specs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/eslint-plugin-specs",
"version": "0.72.2",
"version": "0.72.4",
"description": "ESLint rules to validate NativeModule and Component Specs",
"main": "index.js",
"repository": {
Expand All @@ -14,11 +14,11 @@
},
"dependencies": {
"@babel/core": "^7.20.0",
"@babel/eslint-parser": "^7.19.0",
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
"@babel/preset-flow": "^7.18.0",
"@babel/eslint-parser": "^7.20.0",
"@babel/plugin-transform-flow-strip-types": "^7.20.0",
"@babel/preset-flow": "^7.20.0",
"@react-native/codegen": "*",
"flow-parser": "^0.185.0",
"flow-parser": "^0.206.0",
"make-dir": "^2.1.0",
"pirates": "^4.0.1",
"source-map-support": "0.5.0"
Expand Down
Loading