Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 11 additions & 0 deletions .github/workflows/prebuild-ios-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,17 @@ jobs:
run: |
cd packages/react-native
node scripts/ios-prebuild.js -s -f "${{ matrix.flavor }}"
- name: Update React Native versions
shell: bash
if: steps.restore-ios-slice.outputs.cache-hit != 'true' && startsWith(github.ref, 'refs/tags/v')
run: |
VERSION=$(echo "${GITHUB_REF#refs/tags/v}")
if [[ -z "$VERSION" ]]; then
# If no version defined, exit.
exit 0
fi

node scripts/releases/set-version.js $VERSION
- name: Build React Native
if: steps.restore-ios-slice.outputs.cache-hit != 'true'
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
"@electron/packager": "^18.3.6",
"@jest/create-cache-key-function": "^29.7.0",
"@microsoft/api-extractor": "^7.52.2",
"@react-native/metro-babel-transformer": "0.82.0-main",
"@react-native/metro-config": "0.82.0-main",
"@react-native/metro-babel-transformer": "0.82.0-rc.0",
"@react-native/metro-config": "0.82.0-rc.0",
"@tsconfig/node22": "22.0.2",
"@types/react": "^19.1.0",
"@typescript-eslint/parser": "^8.36.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/assets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/assets-registry",
"version": "0.82.0-main",
"version": "0.82.0-rc.0",
"description": "Asset support code for React Native.",
"license": "MIT",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/babel-plugin-codegen/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/babel-plugin-codegen",
"version": "0.82.0-main",
"version": "0.82.0-rc.0",
"description": "Babel plugin to generate native module and view manager code for React Native.",
"license": "MIT",
"repository": {
Expand All @@ -26,7 +26,7 @@
],
"dependencies": {
"@babel/traverse": "^7.25.3",
"@react-native/codegen": "0.82.0-main"
"@react-native/codegen": "0.82.0-rc.0"
},
"devDependencies": {
"@babel/core": "^7.25.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/community-cli-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/community-cli-plugin",
"version": "0.82.0-main",
"version": "0.82.0-rc.0",
"description": "Core CLI commands for React Native",
"keywords": [
"react-native",
Expand All @@ -22,7 +22,7 @@
"dist"
],
"dependencies": {
"@react-native/dev-middleware": "0.82.0-main",
"@react-native/dev-middleware": "0.82.0-rc.0",
"debug": "^4.4.0",
"invariant": "^2.2.4",
"metro": "^0.83.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/core-cli-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/core-cli-utils",
"version": "0.82.0-main",
"version": "0.82.0-rc.0",
"description": "React Native CLI library for Frameworks to build on",
"license": "MIT",
"main": "./src/index.flow.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/debugger-frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/debugger-frontend",
"version": "0.82.0-main",
"version": "0.82.0-rc.0",
"description": "Debugger frontend for React Native based on Chrome DevTools",
"keywords": [
"react-native",
Expand Down
2 changes: 1 addition & 1 deletion packages/debugger-shell/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/debugger-shell",
"version": "0.82.0-main",
"version": "0.82.0-rc.0",
"description": "Experimental debugger shell for React Native for use with @react-native/debugger-frontend",
"keywords": [
"react-native",
Expand Down
8 changes: 4 additions & 4 deletions packages/dev-middleware/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/dev-middleware",
"version": "0.82.0-main",
"version": "0.82.0-rc.0",
"description": "Dev server middleware for React Native",
"keywords": [
"react-native",
Expand All @@ -23,8 +23,8 @@
],
"dependencies": {
"@isaacs/ttlcache": "^1.4.1",
"@react-native/debugger-frontend": "0.82.0-main",
"@react-native/debugger-shell": "0.82.0-main",
"@react-native/debugger-frontend": "0.82.0-rc.0",
"@react-native/debugger-shell": "0.82.0-rc.0",
"chrome-launcher": "^0.15.2",
"chromium-edge-launcher": "^0.2.0",
"connect": "^3.6.5",
Expand All @@ -39,7 +39,7 @@
"node": ">= 20.19.4"
},
"devDependencies": {
"@react-native/debugger-shell": "0.82.0-main",
"@react-native/debugger-shell": "0.82.0-rc.0",
"selfsigned": "^2.4.1",
"undici": "^5.29.0",
"wait-for-expect": "^3.0.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config-react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/eslint-config",
"version": "0.82.0-main",
"version": "0.82.0-rc.0",
"description": "ESLint config for React Native",
"license": "MIT",
"repository": {
Expand All @@ -22,7 +22,7 @@
"dependencies": {
"@babel/core": "^7.25.2",
"@babel/eslint-parser": "^7.25.1",
"@react-native/eslint-plugin": "0.82.0-main",
"@react-native/eslint-plugin": "0.82.0-rc.0",
"@typescript-eslint/eslint-plugin": "^8.36.0",
"@typescript-eslint/parser": "^8.36.0",
"eslint-config-prettier": "^8.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/eslint-plugin",
"version": "0.82.0-main",
"version": "0.82.0-rc.0",
"description": "ESLint rules for @react-native/eslint-config",
"license": "MIT",
"repository": {
Expand Down
4 changes: 2 additions & 2 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.82.0-main",
"version": "0.82.0-rc.0",
"description": "ESLint rules to validate NativeModule and Component Specs",
"license": "MIT",
"repository": {
Expand All @@ -26,7 +26,7 @@
"dependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-transform-flow-strip-types": "^7.25.2",
"@react-native/codegen": "0.82.0-main",
"@react-native/codegen": "0.82.0-rc.0",
"make-dir": "^2.1.0",
"pirates": "^4.0.1",
"source-map-support": "0.5.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/gradle-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/gradle-plugin",
"version": "0.82.0-main",
"version": "0.82.0-rc.0",
"description": "Gradle Plugin for React Native",
"license": "MIT",
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions packages/metro-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/metro-config",
"version": "0.82.0-main",
"version": "0.82.0-rc.0",
"description": "Metro configuration for React Native.",
"license": "MIT",
"repository": {
Expand All @@ -26,8 +26,8 @@
"dist"
],
"dependencies": {
"@react-native/js-polyfills": "0.82.0-main",
"@react-native/metro-babel-transformer": "0.82.0-main",
"@react-native/js-polyfills": "0.82.0-rc.0",
"@react-native/metro-babel-transformer": "0.82.0-rc.0",
"metro-config": "^0.83.1",
"metro-runtime": "^0.83.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/new-app-screen/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/new-app-screen",
"version": "0.82.0-main",
"version": "0.82.0-rc.0",
"description": "NewAppScreen component for React Native",
"keywords": [
"react-native"
Expand Down
2 changes: 1 addition & 1 deletion packages/normalize-color/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/normalize-colors",
"version": "0.82.0-main",
"version": "0.82.0-rc.0",
"description": "Color normalization for React Native.",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/polyfills/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/js-polyfills",
"version": "0.82.0-main",
"version": "0.82.0-rc.0",
"description": "Polyfills for React Native.",
"license": "MIT",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-babel-preset/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/babel-preset",
"version": "0.82.0-main",
"version": "0.82.0-rc.0",
"description": "Babel preset for React Native applications",
"repository": {
"type": "git",
Expand Down Expand Up @@ -66,7 +66,7 @@
"@babel/plugin-transform-typescript": "^7.25.2",
"@babel/plugin-transform-unicode-regex": "^7.24.7",
"@babel/template": "^7.25.0",
"@react-native/babel-plugin-codegen": "0.82.0-main",
"@react-native/babel-plugin-codegen": "0.82.0-rc.0",
"babel-plugin-syntax-hermes-parser": "0.32.0",
"babel-plugin-transform-flow-enums": "^0.0.2",
"react-refresh": "^0.14.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-babel-transformer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/metro-babel-transformer",
"version": "0.82.0-main",
"version": "0.82.0-rc.0",
"description": "Babel transformer for React Native applications.",
"repository": {
"type": "git",
Expand All @@ -27,7 +27,7 @@
],
"dependencies": {
"@babel/core": "^7.25.2",
"@react-native/babel-preset": "0.82.0-main",
"@react-native/babel-preset": "0.82.0-rc.0",
"hermes-parser": "0.32.0",
"nullthrows": "^1.1.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-codegen/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/codegen",
"version": "0.82.0-main",
"version": "0.82.0-rc.0",
"description": "Code generation tools for React Native",
"license": "MIT",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-compatibility-check/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/compatibility-check",
"version": "0.82.0-main",
"version": "0.82.0-rc.0",
"description": "Check a React Native app's boundary between JS and Native for incompatibilities",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -29,7 +29,7 @@
"dist"
],
"dependencies": {
"@react-native/codegen": "0.82.0-main"
"@react-native/codegen": "0.82.0-rc.0"
},
"devDependencies": {
"flow-remove-types": "^2.237.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-popup-menu-android/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native/popup-menu-android",
"version": "0.82.0-main",
"version": "0.82.0-rc.0",
"description": "PopupMenu for the Android platform",
"main": "index.js",
"files": [
Expand All @@ -21,7 +21,7 @@
},
"license": "MIT",
"devDependencies": {
"@react-native/codegen": "0.82.0-main"
"@react-native/codegen": "0.82.0-rc.0"
},
"peerDependencies": {
"@types/react": "^19.1.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/react-native/Libraries/Core/ReactNativeVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
* ```
*/
export default class ReactNativeVersion {
static major: number = 1000;
static minor: number = 0;
static major: number = 0;
static minor: number = 82;
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}` : ''}`;
Expand Down
6 changes: 3 additions & 3 deletions packages/react-native/React/Base/RCTVersion.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^(void){
__rnVersion = @{
RCTVersionMajor: @(1000),
RCTVersionMinor: @(0),
RCTVersionMajor: @(0),
RCTVersionMinor: @(82),
RCTVersionPatch: @(0),
RCTVersionPrerelease: [NSNull null],
RCTVersionPrerelease: @"rc.0",
};
});
return __rnVersion;
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/ReactAndroid/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=1000.0.0
VERSION_NAME=0.82.0-rc.0
react.internal.publishingGroup=com.facebook.react

android.useAndroidX=true
Expand Down
Original file line number Diff line number Diff line change
@@ -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<String, Any?> =
mapOf("major" to 1000, "minor" to 0, "patch" to 0, "prerelease" to null)
public val VERSION: Map<String, Any?> = mapOf(
"major" to 0,
"minor" to 82,
"patch" to 0,
"prerelease" to "rc.0"
)
}
10 changes: 5 additions & 5 deletions packages/react-native/ReactCommon/cxxreact/ReactNativeVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
#include <cstdint>
#include <string_view>

#define REACT_NATIVE_VERSION_MAJOR 1000
#define REACT_NATIVE_VERSION_MINOR 0
#define REACT_NATIVE_VERSION_MAJOR 0
#define REACT_NATIVE_VERSION_MINOR 82
#define REACT_NATIVE_VERSION_PATCH 0

namespace facebook::react {

constexpr struct {
int32_t Major = 1000;
int32_t Minor = 0;
int32_t Major = 0;
int32_t Minor = 82;
int32_t Patch = 0;
std::string_view Prerelease = "";
std::string_view Prerelease = "rc.0";
} ReactNativeVersion;

} // namespace facebook::react
Loading
Loading