Skip to content

Commit b0dcf05

Browse files
authored
feat(0.78): merge up to 0.87.1 & prepare for release (#2430)
## Summary: Merge up to the release of React Native 0.78.1, and release as our 0.78.0 ## Test Plan: CI should pass
2 parents ce45e31 + d037d81 commit b0dcf05

File tree

96 files changed

+1119
-654
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+1119
-654
lines changed

.ado/templates/npm-publish-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
parameters:
22
# If this is a new stable branch, change `publishTag` to `latest` when going stable
3-
publishTag: 'nightly'
3+
publishTag: 'latest'
44

55
steps:
66
- checkout: self

.github/actions/build-android/action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ runs:
2020
- name: Set React Native Version
2121
shell: bash
2222
run: node ./scripts/releases/set-rn-artifacts-version.js --build-type ${{ inputs.release-type }}
23-
# We don't want to re-set the artifacts version if we're on the release branch.
24-
if: ${{ !contains(github.ref, '-stable') }}
2523
- name: Setup gradle
2624
uses: ./.github/actions/setup-gradle
2725
with:

.github/workflow-scripts/publishTemplate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ module.exports.verifyPublishedTemplate = async (
8686
return;
8787
}
8888
log(
89-
`🐌 ${TEMPLATE_NPM_PKG}@latest → ${pkg.version} on npm and not ${version} as expected, retrying...`,
89+
`🐌 ${TEMPLATE_NPM_PKG}@latest → ${json.version} on npm and not ${version} as expected, retrying...`,
9090
);
9191
} catch (e) {
9292
log(`Nope, fetch failed: ${e.message}`);

.github/workflows/test-all.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157
react-native-version: ${{ needs.prepare_hermes_workspace.outputs.react-native-version }}
158158

159159
test_ios_rntester:
160-
runs-on: macos-13
160+
runs-on: macos-13-large
161161
needs:
162162
[build_apple_slices_hermes, prepare_hermes_workspace, build_hermes_macos]
163163
env:
@@ -369,6 +369,11 @@ jobs:
369369
sed -i 's/newArchEnabled=true/newArchEnabled=false/' android/gradle.properties
370370
fi
371371
372+
if [[ ${{matrix.jsengine}} == "JSC" ]]; then
373+
echo "Using JSC instead of Hermes"
374+
sed -i 's/hermesEnabled=true/hermesEnabled=false/' android/gradle.properties
375+
fi
376+
372377
# Build
373378
cd android
374379
CAPITALIZED_FLAVOR=$(echo "${{ matrix.flavor }}" | awk '{print toupper(substr($0, 1, 1)) substr($0, 2)}')
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
react-native-macos: minor
3+
'@react-native-mac/virtualized-lists': minor
4+
---
5+
6+
Mark 0.78 as stable

nx.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "./node_modules/nx/schemas/nx-schema.json",
3-
"defaultBase": "main",
3+
"defaultBase": "0.78-stable",
44
"targetDefaults": {
55
"build": {
66
"dependsOn": [
@@ -27,9 +27,9 @@
2727
"generatorOptions": {
2828
"currentVersionResolver": "registry",
2929
"currentVersionResolverMetadata": {
30-
"tag": "nightly"
30+
"tag": "latest"
3131
},
32-
"preid": "nightly",
32+
"preid": "next",
3333
"skipLockFileUpdate": true
3434
}
3535
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
"@definitelytyped/dtslint": "^0.0.127",
5555
"@jest/create-cache-key-function": "^29.6.3",
5656
"@nx/js": "~20.0.0",
57-
"@react-native/metro-babel-transformer": "0.77.0-main",
58-
"@react-native/metro-config": "0.77.0-main",
57+
"@react-native/metro-babel-transformer": "0.78.1",
58+
"@react-native/metro-config": "0.78.1",
5959
"@tsconfig/node18": "1.0.1",
6060
"@types/react": "^19.0.0",
6161
"@typescript-eslint/parser": "^7.1.1",

packages/assets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native/assets-registry",
3-
"version": "0.77.0-main",
3+
"version": "0.78.1",
44
"description": "Asset support code for React Native.",
55
"license": "MIT",
66
"repository": {

packages/babel-plugin-codegen/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native/babel-plugin-codegen",
3-
"version": "0.77.0-main",
3+
"version": "0.78.1",
44
"description": "Babel plugin to generate native module and view manager code for React Native.",
55
"license": "MIT",
66
"repository": {
@@ -26,7 +26,7 @@
2626
],
2727
"dependencies": {
2828
"@babel/traverse": "^7.25.3",
29-
"@react-native/codegen": "0.77.0-main"
29+
"@react-native/codegen": "0.78.1"
3030
},
3131
"devDependencies": {
3232
"@babel/core": "^7.25.2"

packages/community-cli-plugin/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Start the React Native development server.
1515
#### Usage
1616

1717
```sh
18-
npx react-native start [options]
18+
npx @react-native-community/cli start [options]
1919
```
2020

2121
#### Options
@@ -37,6 +37,7 @@ npx react-native start [options]
3737
| `--cert <path>` | Specify path to a custom SSL cert. |
3838
| `--config <string>` | Path to the CLI configuration file. |
3939
| `--no-interactive` | Disable interactive mode. |
40+
| `--client-logs` | **[Deprecated]** Enable plain text JavaScript log streaming for all connected apps. |
4041

4142
### `bundle`
4243

@@ -45,7 +46,7 @@ Build the bundle for the provided JavaScript entry file.
4546
#### Usage
4647

4748
```sh
48-
npx react-native bundle --entry-file <path> [options]
49+
npx @react-native-community/cli bundle --entry-file <path> [options]
4950
```
5051

5152
#### Options

0 commit comments

Comments
 (0)