From 3e2367c58d60c97414a3a135f9f5d89e87ee5e3d Mon Sep 17 00:00:00 2001 From: React Native Bot Date: Tue, 3 Mar 2026 22:48:45 +0000 Subject: [PATCH] Release 0.85.0-rc.0 #publish-packages-to-npm&next --- package.json | 4 ++-- packages/assets/package.json | 2 +- packages/babel-plugin-codegen/package.json | 4 ++-- packages/community-cli-plugin/package.json | 6 +++--- packages/core-cli-utils/package.json | 2 +- packages/debugger-frontend/package.json | 2 +- .../debugger-shell/bin/react-native-devtools | 17 ++++++++++++++++- packages/debugger-shell/package.json | 2 +- packages/dev-middleware/package.json | 8 ++++---- .../eslint-config-react-native/package.json | 4 ++-- .../eslint-plugin-react-native/package.json | 2 +- packages/eslint-plugin-specs/package.json | 4 ++-- packages/gradle-plugin/package.json | 2 +- packages/jest-preset/package.json | 4 ++-- packages/metro-config/package.json | 6 +++--- packages/new-app-screen/package.json | 4 ++-- packages/normalize-color/package.json | 2 +- packages/polyfills/package.json | 2 +- .../react-native-babel-preset/package.json | 4 ++-- .../package.json | 4 ++-- packages/react-native-codegen/package.json | 2 +- .../package.json | 4 ++-- .../package.json | 6 +++--- .../Libraries/Core/ReactNativeVersion.js | 6 +++--- packages/react-native/React/Base/RCTVersion.m | 6 +++--- .../ReactAndroid/gradle.properties | 2 +- .../modules/systeminfo/ReactNativeVersion.kt | 13 +++++++++---- .../ReactCommon/cxxreact/ReactNativeVersion.h | 10 +++++----- packages/react-native/package.json | 18 +++++++++--------- .../generate-artifacts-executor-test.js.snap | 10 +++++----- packages/rn-tester/package.json | 8 ++++---- packages/typescript-config/package.json | 2 +- packages/virtualized-lists/package.json | 4 ++-- private/helloworld/package.json | 12 ++++++------ .../package.json | 2 +- 35 files changed, 105 insertions(+), 85 deletions(-) diff --git a/package.json b/package.json index 1d113816778..59cc7874611 100644 --- a/package.json +++ b/package.json @@ -56,8 +56,8 @@ "@jest/create-cache-key-function": "^29.7.0", "@microsoft/api-extractor": "^7.52.2", "@octokit/rest": "^22.0.0", - "@react-native/metro-babel-transformer": "0.85.0-main", - "@react-native/metro-config": "0.85.0-main", + "@react-native/metro-babel-transformer": "0.85.0-rc.0", + "@react-native/metro-config": "0.85.0-rc.0", "@tsconfig/node22": "22.0.2", "@types/react": "^19.1.0", "@typescript-eslint/parser": "^8.36.0", diff --git a/packages/assets/package.json b/packages/assets/package.json index fefd1afaec4..1ca7cfa92b5 100644 --- a/packages/assets/package.json +++ b/packages/assets/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/assets-registry", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "Asset support code for React Native.", "license": "MIT", "repository": { diff --git a/packages/babel-plugin-codegen/package.json b/packages/babel-plugin-codegen/package.json index 4a50dd44f55..8b47e612b23 100644 --- a/packages/babel-plugin-codegen/package.json +++ b/packages/babel-plugin-codegen/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/babel-plugin-codegen", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "Babel plugin to generate native module and view manager code for React Native.", "license": "MIT", "repository": { @@ -26,7 +26,7 @@ ], "dependencies": { "@babel/traverse": "^7.29.0", - "@react-native/codegen": "0.85.0-main" + "@react-native/codegen": "0.85.0-rc.0" }, "devDependencies": { "@babel/core": "^7.25.2" diff --git a/packages/community-cli-plugin/package.json b/packages/community-cli-plugin/package.json index 957b9a0d89f..67b00448ed2 100644 --- a/packages/community-cli-plugin/package.json +++ b/packages/community-cli-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/community-cli-plugin", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "Core CLI commands for React Native", "keywords": [ "react-native", @@ -31,7 +31,7 @@ "prepack": "node ../../scripts/build/prepack.js" }, "dependencies": { - "@react-native/dev-middleware": "0.85.0-main", + "@react-native/dev-middleware": "0.85.0-rc.0", "debug": "^4.4.0", "invariant": "^2.2.4", "metro": "^0.84.0", @@ -44,7 +44,7 @@ }, "peerDependencies": { "@react-native-community/cli": "*", - "@react-native/metro-config": "*" + "@react-native/metro-config": "0.85.0-rc.0" }, "peerDependenciesMeta": { "@react-native-community/cli": { diff --git a/packages/core-cli-utils/package.json b/packages/core-cli-utils/package.json index 9f178299ca5..2a03d5b2399 100644 --- a/packages/core-cli-utils/package.json +++ b/packages/core-cli-utils/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/core-cli-utils", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "React Native CLI library for Frameworks to build on", "license": "MIT", "keywords": [ diff --git a/packages/debugger-frontend/package.json b/packages/debugger-frontend/package.json index b4484cc6c2b..40aaff8f81f 100644 --- a/packages/debugger-frontend/package.json +++ b/packages/debugger-frontend/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/debugger-frontend", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "Debugger frontend for React Native based on Chrome DevTools", "keywords": [ "react-native", diff --git a/packages/debugger-shell/bin/react-native-devtools b/packages/debugger-shell/bin/react-native-devtools index c51c7678b26..fb06916850c 100755 --- a/packages/debugger-shell/bin/react-native-devtools +++ b/packages/debugger-shell/bin/react-native-devtools @@ -1,6 +1,6 @@ #!/usr/bin/env dotslash -// @generated SignedSource<<99011a9d73bf559385dd977d6641bf63>> +// @generated SignedSource<<81f0e46798b18ce963f4bd935cc0e2f9>> { @@ -11,6 +11,9 @@ "hash": "sha256", "digest": "88a883b2ae58037a14787914cb971591046aedfcf093ff94de65a950487d8412", "providers": [ + { + "url": "https://github.com/facebook/react-native/releases/download/v0.85.0-rc.0/React.Native.DevTools-linux-aarch64.tar.gz" + }, { "type": "http", "url": "https://scontent.xx.fbcdn.net/mci_ab/uap/?ab_b=m&ab_page=react_native_devtools_binaries&ab_entry=AQOe3vMglEWyhocSuDyLcDQ5M5nI_Sg3PCaH9ddCVGlE_mQ2dLnybDBQZzG0E9aM4n0RLia8QlwTI9BQdAuFe-pwvCept93mc8tzdIeuqm6nxE_r43886e6qG_zRFMSOe_gZFtlmCvyOimaaezyhV7W_aOFoK9PsBDJfYBFOixplT_ABF199vZzVlKs" @@ -24,6 +27,9 @@ "hash": "sha256", "digest": "bf9c63e0adbf3e3aab0f7d2ee5451ce14271a03a4f8856f650e3074df5787eeb", "providers": [ + { + "url": "https://github.com/facebook/react-native/releases/download/v0.85.0-rc.0/React.Native.DevTools-linux-x86_64.tar.gz" + }, { "type": "http", "url": "https://scontent.xx.fbcdn.net/mci_ab/uap/?ab_b=m&ab_page=react_native_devtools_binaries&ab_entry=AQPGMeqY0k2VSVHrSW-H-ZOSQSsYD6jj2q921sh8iqOy6nbyuaaril9wnkcEN-dIH4lPOs9cgVN46Qz08Vx6Dz2t6IbgcYaXQkiKqaIDkSvmD_X5SX5-ov7e4xZBe8anzo2DmfaZLNycuUbTsr92zoJP9ufm8ibOzrXZCdTYaKVvRSIuAdPFfo0q" @@ -37,6 +43,9 @@ "hash": "sha256", "digest": "a09c8b2f826cc6adb454c01c00d2918f9a78b2594cc290a96cd64f9643c92331", "providers": [ + { + "url": "https://github.com/facebook/react-native/releases/download/v0.85.0-rc.0/React.Native.DevTools-macos-aarch64.tar.gz" + }, { "type": "http", "url": "https://scontent.xx.fbcdn.net/mci_ab/uap/?ab_b=m&ab_page=react_native_devtools_binaries&ab_entry=AQPus35qjWc7PxLmPHGV2t_Fy83bqmPcfXHoIH9r9w_oBe3MDNPiV6XaEsx--HcvpbCvM2yRDRjs7RkZy5kWtwgI6u2hX9yOK6VMu1G7ACWWEr6LrBUkax_8fadtBeT9kyyQmYuan2acXYYNL7qsiti_Z5c1oRpIbxS3PH2-e-7nvNGCsip9VxRLXlZm" @@ -50,6 +59,9 @@ "hash": "sha256", "digest": "45204482b756a4b047ce010b13726e67c88b81ac4eb9f3220d885f55080a75cc", "providers": [ + { + "url": "https://github.com/facebook/react-native/releases/download/v0.85.0-rc.0/React.Native.DevTools-macos-x86_64.tar.gz" + }, { "type": "http", "url": "https://scontent.xx.fbcdn.net/mci_ab/uap/?ab_b=m&ab_page=react_native_devtools_binaries&ab_entry=AQP9w7tMCZ7CajBq--Vtx4C0-EgnFg7p0rZlFCHfEVoTbCPhLrZbtbrLZSh6aJcCcjVn7j35B57bpimeAhDqwLi1dEN8cdgK0hHF2wEqnoszjz3SaPpdwdnIvDv-E4UjU4Kgzn11PUSAEpaaGC5Lm_MIUa2G4bRJv7CLaOCJw6TxLJs3dGGEgn21Og" @@ -63,6 +75,9 @@ "hash": "sha256", "digest": "8ebe98a2cd7833ab4115975328d699906251e5c0fa795a485eb143f2a0c3924a", "providers": [ + { + "url": "https://github.com/facebook/react-native/releases/download/v0.85.0-rc.0/React.Native.DevTools-windows-x86_64.tar.gz" + }, { "type": "http", "url": "https://scontent.xx.fbcdn.net/mci_ab/uap/?ab_b=m&ab_page=react_native_devtools_binaries&ab_entry=AQPo2HDsiZzHX5U8mzykkp2vyaexy0rfSjf5mm3NIBKvQLUSE90_8TaogIUmvzOp6sLVxLo2MsMrvixzP6h9-D4avhZ51Al_vkdbvNvGnWQoSnpDV0X55sTM4rxsYXoOv-xOhdN_rVbTx6TCkMFmmZ1JFBAcR9gMS3VN83178YRVlofWx3NzPFM9" diff --git a/packages/debugger-shell/package.json b/packages/debugger-shell/package.json index 9b7e7d666f4..6c23e26790d 100644 --- a/packages/debugger-shell/package.json +++ b/packages/debugger-shell/package.json @@ -1,7 +1,7 @@ { "name": "@react-native/debugger-shell", "productName": "React Native DevTools", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "Experimental debugger shell for React Native for use with @react-native/debugger-frontend", "keywords": [ "react-native", diff --git a/packages/dev-middleware/package.json b/packages/dev-middleware/package.json index 4f98011c823..b25940656bb 100644 --- a/packages/dev-middleware/package.json +++ b/packages/dev-middleware/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/dev-middleware", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "Dev server middleware for React Native", "keywords": [ "react-native", @@ -32,8 +32,8 @@ }, "dependencies": { "@isaacs/ttlcache": "^1.4.1", - "@react-native/debugger-frontend": "0.85.0-main", - "@react-native/debugger-shell": "0.85.0-main", + "@react-native/debugger-frontend": "0.85.0-rc.0", + "@react-native/debugger-shell": "0.85.0-rc.0", "chrome-launcher": "^0.15.2", "chromium-edge-launcher": "^0.3.0", "connect": "^3.6.5", @@ -45,7 +45,7 @@ "ws": "^7.5.10" }, "devDependencies": { - "@react-native/debugger-shell": "0.85.0-main", + "@react-native/debugger-shell": "0.85.0-rc.0", "selfsigned": "^5.5.0", "undici": "^6.23.0", "wait-for-expect": "^3.0.2" diff --git a/packages/eslint-config-react-native/package.json b/packages/eslint-config-react-native/package.json index 072e9dcc1d2..14a7372ff7a 100644 --- a/packages/eslint-config-react-native/package.json +++ b/packages/eslint-config-react-native/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/eslint-config", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "ESLint config for React Native", "license": "MIT", "repository": { @@ -26,7 +26,7 @@ "dependencies": { "@babel/core": "^7.25.2", "@babel/eslint-parser": "^7.25.1", - "@react-native/eslint-plugin": "0.85.0-main", + "@react-native/eslint-plugin": "0.85.0-rc.0", "@typescript-eslint/eslint-plugin": "^8.36.0", "@typescript-eslint/parser": "^8.36.0", "eslint-config-prettier": "^8.5.0", diff --git a/packages/eslint-plugin-react-native/package.json b/packages/eslint-plugin-react-native/package.json index a74befb82b1..4a4bdc19f9e 100644 --- a/packages/eslint-plugin-react-native/package.json +++ b/packages/eslint-plugin-react-native/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/eslint-plugin", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "ESLint rules for @react-native/eslint-config", "license": "MIT", "repository": { diff --git a/packages/eslint-plugin-specs/package.json b/packages/eslint-plugin-specs/package.json index b9863f2b9f5..26d65cdd781 100644 --- a/packages/eslint-plugin-specs/package.json +++ b/packages/eslint-plugin-specs/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/eslint-plugin-specs", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "ESLint rules to validate NativeModule and Component Specs", "license": "MIT", "repository": { @@ -26,7 +26,7 @@ "dependencies": { "@babel/core": "^7.25.2", "@babel/plugin-transform-flow-strip-types": "^7.25.2", - "@react-native/codegen": "0.85.0-main", + "@react-native/codegen": "0.85.0-rc.0", "make-dir": "^2.1.0", "pirates": "^4.0.1", "source-map-support": "0.5.0" diff --git a/packages/gradle-plugin/package.json b/packages/gradle-plugin/package.json index ffffafbf43c..83388c9aac0 100644 --- a/packages/gradle-plugin/package.json +++ b/packages/gradle-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/gradle-plugin", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "Gradle Plugin for React Native", "license": "MIT", "repository": { diff --git a/packages/jest-preset/package.json b/packages/jest-preset/package.json index b32fef2c6d3..a99c9cf13f4 100644 --- a/packages/jest-preset/package.json +++ b/packages/jest-preset/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/jest-preset", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "Jest preset for React Native apps", "keywords": [ "jest", @@ -29,7 +29,7 @@ ], "dependencies": { "@jest/create-cache-key-function": "^29.7.0", - "@react-native/js-polyfills": "0.85.0-main", + "@react-native/js-polyfills": "0.85.0-rc.0", "babel-jest": "^29.7.0", "jest-environment-node": "^29.7.0", "regenerator-runtime": "^0.13.2" diff --git a/packages/metro-config/package.json b/packages/metro-config/package.json index 92be7eff445..4c7dcd3e57d 100644 --- a/packages/metro-config/package.json +++ b/packages/metro-config/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/metro-config", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "Metro configuration for React Native.", "license": "MIT", "repository": { @@ -35,8 +35,8 @@ "prepack": "node ../../scripts/build/prepack.js" }, "dependencies": { - "@react-native/js-polyfills": "0.85.0-main", - "@react-native/metro-babel-transformer": "0.85.0-main", + "@react-native/js-polyfills": "0.85.0-rc.0", + "@react-native/metro-babel-transformer": "0.85.0-rc.0", "metro-config": "^0.84.0", "metro-runtime": "^0.84.0" } diff --git a/packages/new-app-screen/package.json b/packages/new-app-screen/package.json index 46f4bdbdefa..5ab26a7b0cf 100644 --- a/packages/new-app-screen/package.json +++ b/packages/new-app-screen/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/new-app-screen", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "NewAppScreen component for React Native", "keywords": [ "react-native" @@ -22,7 +22,7 @@ "peerDependencies": { "@types/react": "^19.1.0", "react": "*", - "react-native": "*" + "react-native": "0.85.0-rc.0" }, "peerDependenciesMeta": { "@types/react": { diff --git a/packages/normalize-color/package.json b/packages/normalize-color/package.json index 56dd5af59b7..3ab74b17239 100644 --- a/packages/normalize-color/package.json +++ b/packages/normalize-color/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/normalize-colors", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "Color normalization for React Native.", "license": "MIT", "repository": { diff --git a/packages/polyfills/package.json b/packages/polyfills/package.json index a22800e4f46..963e50de425 100644 --- a/packages/polyfills/package.json +++ b/packages/polyfills/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/js-polyfills", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "Polyfills for React Native.", "license": "MIT", "repository": { diff --git a/packages/react-native-babel-preset/package.json b/packages/react-native-babel-preset/package.json index d1ffdb7ef3b..978a3b9fe9d 100644 --- a/packages/react-native-babel-preset/package.json +++ b/packages/react-native-babel-preset/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/babel-preset", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "Babel preset for React Native applications", "repository": { "type": "git", @@ -54,7 +54,7 @@ "@babel/plugin-transform-runtime": "^7.24.7", "@babel/plugin-transform-typescript": "^7.25.2", "@babel/plugin-transform-unicode-regex": "^7.24.7", - "@react-native/babel-plugin-codegen": "0.85.0-main", + "@react-native/babel-plugin-codegen": "0.85.0-rc.0", "babel-plugin-syntax-hermes-parser": "0.33.3", "babel-plugin-transform-flow-enums": "^0.0.2", "react-refresh": "^0.14.0" diff --git a/packages/react-native-babel-transformer/package.json b/packages/react-native-babel-transformer/package.json index 9aa9b835b2d..591c965e6d3 100644 --- a/packages/react-native-babel-transformer/package.json +++ b/packages/react-native-babel-transformer/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/metro-babel-transformer", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "Babel transformer for React Native applications.", "repository": { "type": "git", @@ -27,7 +27,7 @@ ], "dependencies": { "@babel/core": "^7.25.2", - "@react-native/babel-preset": "0.85.0-main", + "@react-native/babel-preset": "0.85.0-rc.0", "hermes-parser": "0.33.3", "nullthrows": "^1.1.1" }, diff --git a/packages/react-native-codegen/package.json b/packages/react-native-codegen/package.json index 09196af1f85..3b50547be6f 100644 --- a/packages/react-native-codegen/package.json +++ b/packages/react-native-codegen/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/codegen", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "Code generation tools for React Native", "license": "MIT", "repository": { diff --git a/packages/react-native-compatibility-check/package.json b/packages/react-native-compatibility-check/package.json index 8d45455da6c..b1b40954cac 100644 --- a/packages/react-native-compatibility-check/package.json +++ b/packages/react-native-compatibility-check/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/compatibility-check", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "Check a React Native app's boundary between JS and Native for incompatibilities", "license": "MIT", "repository": { @@ -38,7 +38,7 @@ "prepack": "node ../../scripts/build/prepack.js" }, "dependencies": { - "@react-native/codegen": "0.85.0-main" + "@react-native/codegen": "0.85.0-rc.0" }, "devDependencies": { "flow-remove-types": "^2.237.2", diff --git a/packages/react-native-popup-menu-android/package.json b/packages/react-native-popup-menu-android/package.json index 4c424499ba9..606f0ecf91b 100644 --- a/packages/react-native-popup-menu-android/package.json +++ b/packages/react-native-popup-menu-android/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/popup-menu-android", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "PopupMenu for the Android platform", "main": "index.js", "files": [ @@ -21,12 +21,12 @@ }, "license": "MIT", "devDependencies": { - "@react-native/codegen": "0.85.0-main" + "@react-native/codegen": "0.85.0-rc.0" }, "peerDependencies": { "@types/react": "^19.1.0", "react": "*", - "react-native": "*" + "react-native": "0.85.0-rc.0" }, "peerDependenciesMeta": { "@types/react": { diff --git a/packages/react-native/Libraries/Core/ReactNativeVersion.js b/packages/react-native/Libraries/Core/ReactNativeVersion.js index 1ff12f563e6..72239595c2b 100644 --- a/packages/react-native/Libraries/Core/ReactNativeVersion.js +++ b/packages/react-native/Libraries/Core/ReactNativeVersion.js @@ -26,10 +26,10 @@ * ``` */ export default class ReactNativeVersion { - static major: number = 1000; - static minor: number = 0; + static major: number = 0; + static minor: number = 85; static patch: number = 0; - static prerelease: string | null = null; + static prerelease: string | null = 'rc.0'; static getVersionString(): string { return `${this.major}.${this.minor}.${this.patch}${this.prerelease != null ? `-${this.prerelease}` : ''}`; diff --git a/packages/react-native/React/Base/RCTVersion.m b/packages/react-native/React/Base/RCTVersion.m index 69ce4f75320..41967a7a3cc 100644 --- a/packages/react-native/React/Base/RCTVersion.m +++ b/packages/react-native/React/Base/RCTVersion.m @@ -21,10 +21,10 @@ NSDictionary* RCTGetReactNativeVersion(void) static dispatch_once_t onceToken; dispatch_once(&onceToken, ^(void){ __rnVersion = @{ - RCTVersionMajor: @(1000), - RCTVersionMinor: @(0), + RCTVersionMajor: @(0), + RCTVersionMinor: @(85), RCTVersionPatch: @(0), - RCTVersionPrerelease: [NSNull null], + RCTVersionPrerelease: @"rc.0", }; }); return __rnVersion; diff --git a/packages/react-native/ReactAndroid/gradle.properties b/packages/react-native/ReactAndroid/gradle.properties index 71b1bf4cf75..fe129a1d4fa 100644 --- a/packages/react-native/ReactAndroid/gradle.properties +++ b/packages/react-native/ReactAndroid/gradle.properties @@ -1,4 +1,4 @@ -VERSION_NAME=1000.0.0 +VERSION_NAME=0.85.0-rc.0 react.internal.publishingGroup=com.facebook.react react.internal.hermesPublishingGroup=com.facebook.hermes diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt index 889fa4d728c..ef5abc6c5cd 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt @@ -1,15 +1,20 @@ /** * Copyright (c) Meta Platforms, Inc. and affiliates. * - * This source code is licensed under the MIT license found in the LICENSE file in the root - * directory of this source tree. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * * @generated by scripts/releases/set-version.js */ + package com.facebook.react.modules.systeminfo public object ReactNativeVersion { @JvmField - public val VERSION: Map = - mapOf("major" to 1000, "minor" to 0, "patch" to 0, "prerelease" to null) + public val VERSION: Map = mapOf( + "major" to 0, + "minor" to 85, + "patch" to 0, + "prerelease" to "rc.0" + ) } diff --git a/packages/react-native/ReactCommon/cxxreact/ReactNativeVersion.h b/packages/react-native/ReactCommon/cxxreact/ReactNativeVersion.h index 25468f63f05..2f8947a0bd1 100644 --- a/packages/react-native/ReactCommon/cxxreact/ReactNativeVersion.h +++ b/packages/react-native/ReactCommon/cxxreact/ReactNativeVersion.h @@ -12,17 +12,17 @@ #include #include -#define REACT_NATIVE_VERSION_MAJOR 1000 -#define REACT_NATIVE_VERSION_MINOR 0 +#define REACT_NATIVE_VERSION_MAJOR 0 +#define REACT_NATIVE_VERSION_MINOR 85 #define REACT_NATIVE_VERSION_PATCH 0 namespace facebook::react { struct ReactNativeVersionType { - int32_t Major = 1000; - int32_t Minor = 0; + int32_t Major = 0; + int32_t Minor = 85; int32_t Patch = 0; - std::string_view Prerelease = ""; + std::string_view Prerelease = "rc.0"; }; constexpr ReactNativeVersionType ReactNativeVersion; diff --git a/packages/react-native/package.json b/packages/react-native/package.json index dc99c87f8f4..e6229d6d77a 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -1,6 +1,6 @@ { "name": "react-native", - "version": "1000.0.0", + "version": "0.85.0-rc.0", "description": "A framework for building native apps using React", "license": "MIT", "repository": { @@ -149,7 +149,7 @@ "featureflags": "node ./scripts/featureflags/index.js" }, "peerDependencies": { - "@react-native/jest-preset": "0.84.0-main", + "@react-native/jest-preset": "0.85.0-rc.0", "@types/react": "^19.1.1", "react": "^19.2.3" }, @@ -162,13 +162,13 @@ } }, "dependencies": { - "@react-native/assets-registry": "0.85.0-main", - "@react-native/codegen": "0.85.0-main", - "@react-native/community-cli-plugin": "0.85.0-main", - "@react-native/gradle-plugin": "0.85.0-main", - "@react-native/js-polyfills": "0.85.0-main", - "@react-native/normalize-colors": "0.85.0-main", - "@react-native/virtualized-lists": "0.85.0-main", + "@react-native/assets-registry": "0.85.0-rc.0", + "@react-native/codegen": "0.85.0-rc.0", + "@react-native/community-cli-plugin": "0.85.0-rc.0", + "@react-native/gradle-plugin": "0.85.0-rc.0", + "@react-native/js-polyfills": "0.85.0-rc.0", + "@react-native/normalize-colors": "0.85.0-rc.0", + "@react-native/virtualized-lists": "0.85.0-rc.0", "abort-controller": "^3.0.0", "anser": "^1.4.9", "ansi-regex": "^5.0.0", diff --git a/packages/react-native/scripts/codegen/__tests__/__snapshots__/generate-artifacts-executor-test.js.snap b/packages/react-native/scripts/codegen/__tests__/__snapshots__/generate-artifacts-executor-test.js.snap index 8c76f937ae0..2943646ff6c 100644 --- a/packages/react-native/scripts/codegen/__tests__/__snapshots__/generate-artifacts-executor-test.js.snap +++ b/packages/react-native/scripts/codegen/__tests__/__snapshots__/generate-artifacts-executor-test.js.snap @@ -79,7 +79,7 @@ exports[`execute test-app "ReactAppDependencyProvider/ReactAppDependencyProvider # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. -version = \\"1000.0.0\\" +version = \\"0.85.0-rc.0\\" source = { :git => 'https://github.com/facebook/react-native.git' } if version == '1000.0.0' # This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in. @@ -399,7 +399,7 @@ exports[`execute test-app "ReactCodegen/ReactCodegen.podspec" should match snaps # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. -version = \\"1000.0.0\\" +version = \\"0.85.0-rc.0\\" source = { :git => 'https://github.com/facebook/react-native.git' } if version == '1000.0.0' # This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in. @@ -586,7 +586,7 @@ exports[`execute test-app-legacy "ReactAppDependencyProvider/ReactAppDependencyP # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. -version = \\"1000.0.0\\" +version = \\"0.85.0-rc.0\\" source = { :git => 'https://github.com/facebook/react-native.git' } if version == '1000.0.0' # This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in. @@ -878,7 +878,7 @@ exports[`execute test-app-legacy "ReactCodegen/ReactCodegen.podspec" should matc # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. -version = \\"1000.0.0\\" +version = \\"0.85.0-rc.0\\" source = { :git => 'https://github.com/facebook/react-native.git' } if version == '1000.0.0' # This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in. @@ -984,4 +984,4 @@ SCRIPT end " -`; +`; \ No newline at end of file diff --git a/packages/rn-tester/package.json b/packages/rn-tester/package.json index 176e34313f0..c92b0549557 100644 --- a/packages/rn-tester/package.json +++ b/packages/rn-tester/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/tester", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "private": true, "description": "React Native tester app.", "license": "MIT", @@ -25,15 +25,15 @@ "e2e-test-ios": "./scripts/maestro-test-ios.sh" }, "dependencies": { - "@react-native/new-app-screen": "0.85.0-main", - "@react-native/popup-menu-android": "0.85.0-main", + "@react-native/new-app-screen": "0.85.0-rc.0", + "@react-native/popup-menu-android": "0.85.0-rc.0", "flow-enums-runtime": "^0.0.6", "invariant": "^2.2.4", "nullthrows": "^1.1.1" }, "peerDependencies": { "react": "19.2.3", - "react-native": "*" + "react-native": "0.85.0-rc.0" }, "codegenConfig": { "name": "AppSpecs", diff --git a/packages/typescript-config/package.json b/packages/typescript-config/package.json index 4e79505109c..49d22e74d5f 100644 --- a/packages/typescript-config/package.json +++ b/packages/typescript-config/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/typescript-config", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "Default TypeScript configuration for React Native apps", "license": "MIT", "repository": { diff --git a/packages/virtualized-lists/package.json b/packages/virtualized-lists/package.json index b9f80551c32..bf424892c32 100644 --- a/packages/virtualized-lists/package.json +++ b/packages/virtualized-lists/package.json @@ -1,6 +1,6 @@ { "name": "@react-native/virtualized-lists", - "version": "0.85.0-main", + "version": "0.85.0-rc.0", "description": "Virtualized lists for React Native.", "license": "MIT", "repository": { @@ -53,7 +53,7 @@ "peerDependencies": { "@types/react": "^19.2.0", "react": "*", - "react-native": "*" + "react-native": "0.85.0-rc.0" }, "peerDependenciesMeta": { "@types/react": { diff --git a/private/helloworld/package.json b/private/helloworld/package.json index 10f94b7f3b4..8c56db1f152 100644 --- a/private/helloworld/package.json +++ b/private/helloworld/package.json @@ -13,17 +13,17 @@ }, "dependencies": { "react": "19.2.3", - "react-native": "1000.0.0" + "react-native": "0.85.0-rc.0" }, "devDependencies": { "@babel/core": "^7.25.2", "@babel/preset-env": "^7.25.3", "@babel/runtime": "^7.25.0", - "@react-native/babel-preset": "0.85.0-main", - "@react-native/core-cli-utils": "0.85.0-main", - "@react-native/eslint-config": "0.85.0-main", - "@react-native/metro-config": "0.85.0-main", - "@react-native/typescript-config": "0.85.0-main", + "@react-native/babel-preset": "0.85.0-rc.0", + "@react-native/core-cli-utils": "0.85.0-rc.0", + "@react-native/eslint-config": "0.85.0-rc.0", + "@react-native/metro-config": "0.85.0-rc.0", + "@react-native/typescript-config": "0.85.0-rc.0", "@types/jest": "^29.5.14", "commander": "^12.0.0", "eslint": "^8.19.0", diff --git a/private/react-native-codegen-typescript-test/package.json b/private/react-native-codegen-typescript-test/package.json index fa5205e16f0..e47e7e5120c 100644 --- a/private/react-native-codegen-typescript-test/package.json +++ b/private/react-native-codegen-typescript-test/package.json @@ -13,7 +13,7 @@ "prepare": "yarn run build" }, "dependencies": { - "@react-native/codegen": "0.85.0-main" + "@react-native/codegen": "0.85.0-rc.0" }, "devDependencies": { "@babel/core": "^7.25.2",