react-native 0.84.0-rc.0 → 0.84.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTVersion.m +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/hermes/executor/HermesExecutorFactory.cpp +2 -0
- package/package.json +10 -10
- package/scripts/react_native_pods.rb +5 -0
- package/sdks/.hermesv1version +1 -1
- package/sdks/hermes-engine/hermes-engine.podspec +15 -6
- package/sdks/hermes-engine/hermes-utils.rb +1 -1
- package/sdks/hermes-engine/version.properties +1 -1
|
@@ -29,7 +29,7 @@ export default class ReactNativeVersion {
|
|
|
29
29
|
static major: number = 0;
|
|
30
30
|
static minor: number = 84;
|
|
31
31
|
static patch: number = 0;
|
|
32
|
-
static prerelease: string | null = 'rc.
|
|
32
|
+
static prerelease: string | null = 'rc.1';
|
|
33
33
|
|
|
34
34
|
static getVersionString(): string {
|
|
35
35
|
return `${this.major}.${this.minor}.${this.patch}${this.prerelease != null ? `-${this.prerelease}` : ''}`;
|
package/React/Base/RCTVersion.m
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native",
|
|
3
|
-
"version": "0.84.0-rc.
|
|
3
|
+
"version": "0.84.0-rc.1",
|
|
4
4
|
"description": "A framework for building native apps using React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
],
|
|
22
22
|
"bugs": "https://github.com/facebook/react-native/issues",
|
|
23
23
|
"engines": {
|
|
24
|
-
"node": ">=
|
|
24
|
+
"node": ">= 20.19.4"
|
|
25
25
|
},
|
|
26
26
|
"bin": {
|
|
27
27
|
"react-native": "cli.js"
|
|
@@ -160,13 +160,13 @@
|
|
|
160
160
|
},
|
|
161
161
|
"dependencies": {
|
|
162
162
|
"@jest/create-cache-key-function": "^29.7.0",
|
|
163
|
-
"@react-native/assets-registry": "0.84.0-rc.
|
|
164
|
-
"@react-native/codegen": "0.84.0-rc.
|
|
165
|
-
"@react-native/community-cli-plugin": "0.84.0-rc.
|
|
166
|
-
"@react-native/gradle-plugin": "0.84.0-rc.
|
|
167
|
-
"@react-native/js-polyfills": "0.84.0-rc.
|
|
168
|
-
"@react-native/normalize-colors": "0.84.0-rc.
|
|
169
|
-
"@react-native/virtualized-lists": "0.84.0-rc.
|
|
163
|
+
"@react-native/assets-registry": "0.84.0-rc.1",
|
|
164
|
+
"@react-native/codegen": "0.84.0-rc.1",
|
|
165
|
+
"@react-native/community-cli-plugin": "0.84.0-rc.1",
|
|
166
|
+
"@react-native/gradle-plugin": "0.84.0-rc.1",
|
|
167
|
+
"@react-native/js-polyfills": "0.84.0-rc.1",
|
|
168
|
+
"@react-native/normalize-colors": "0.84.0-rc.1",
|
|
169
|
+
"@react-native/virtualized-lists": "0.84.0-rc.1",
|
|
170
170
|
"abort-controller": "^3.0.0",
|
|
171
171
|
"anser": "^1.4.9",
|
|
172
172
|
"ansi-regex": "^5.0.0",
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
"base64-js": "^1.5.1",
|
|
176
176
|
"commander": "^12.0.0",
|
|
177
177
|
"flow-enums-runtime": "^0.0.6",
|
|
178
|
-
"hermes-compiler": "0.
|
|
178
|
+
"hermes-compiler": "250829098.0.6",
|
|
179
179
|
"invariant": "^2.2.4",
|
|
180
180
|
"jest-environment-node": "^29.7.0",
|
|
181
181
|
"memoize-one": "^5.0.0",
|
|
@@ -92,6 +92,11 @@ def use_react_native! (
|
|
|
92
92
|
# excluding the legacy arch unless the user turns this flag off explicitly.
|
|
93
93
|
ENV['RCT_REMOVE_LEGACY_ARCH'] = ENV['RCT_REMOVE_LEGACY_ARCH'] == '0' ? '0' : '1'
|
|
94
94
|
|
|
95
|
+
# Enable Hermes V1 by default.
|
|
96
|
+
# Users can still turn it off and use legacy hermes by setting the RCT_HERMES_V1_ENABLED
|
|
97
|
+
# environment variable to '0'.
|
|
98
|
+
ENV['RCT_HERMES_V1_ENABLED']= ENV['RCT_HERMES_V1_ENABLED'] == '0' ? '0' : '1'
|
|
99
|
+
|
|
95
100
|
ReactNativePodsUtils.check_minimum_required_xcode()
|
|
96
101
|
|
|
97
102
|
# Current target definition is provided by Cocoapods and it refers to the target
|
package/sdks/.hermesv1version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
hermes-v250829098.0.
|
|
1
|
+
hermes-v250829098.0.6
|
|
@@ -22,14 +22,15 @@ end
|
|
|
22
22
|
package = JSON.parse(File.read(File.join(react_native_path, "package.json")))
|
|
23
23
|
versionProperties = Hash[*File.read("version.properties").split(/[=\n]+/)]
|
|
24
24
|
|
|
25
|
-
if ENV['RCT_HERMES_V1_ENABLED'] == "
|
|
26
|
-
version = versionProperties['HERMES_V1_VERSION_NAME']
|
|
27
|
-
else
|
|
25
|
+
if ENV['RCT_HERMES_V1_ENABLED'] == "0"
|
|
28
26
|
version = versionProperties['HERMES_VERSION_NAME']
|
|
27
|
+
else
|
|
28
|
+
version = versionProperties['HERMES_V1_VERSION_NAME']
|
|
29
29
|
end
|
|
30
30
|
|
|
31
31
|
# Local monorepo build
|
|
32
|
-
|
|
32
|
+
# We don't want to build Hermes V1 from source
|
|
33
|
+
if ENV['RCT_HERMES_V1_ENABLED'] == "0" && package['version'] == "1000.0.0" then
|
|
33
34
|
hermesCompilerVersion = package['dependencies']['hermes-compiler']
|
|
34
35
|
if hermesCompilerVersion != "0.0.0" then
|
|
35
36
|
version = hermesCompilerVersion
|
|
@@ -68,7 +69,15 @@ Pod::Spec.new do |spec|
|
|
|
68
69
|
|
|
69
70
|
spec.subspec 'Pre-built' do |ss|
|
|
70
71
|
ss.preserve_paths = ["destroot/bin/*"].concat(["**/*.{h,c,cpp}"])
|
|
71
|
-
|
|
72
|
+
if ENV["RCT_HERMES_V1_ENABLED"] == "0"
|
|
73
|
+
ss.source_files = "destroot/include/hermes/**/*.h"
|
|
74
|
+
else
|
|
75
|
+
# Hermes v1 is shipping a jsi/hermes.h header which is imported by the hermes.h header
|
|
76
|
+
# and that file is not present in React Native's JSI
|
|
77
|
+
# (see https://github.com/facebook/react-native/tree/main/packages/react-native/ReactCommon/jsi/jsi/ where there is
|
|
78
|
+
# hermes-interface.h but not hermes.h)
|
|
79
|
+
ss.source_files = ["destroot/include/hermes/**/*.h", "destroot/include/jsi/hermes.h"]
|
|
80
|
+
end
|
|
72
81
|
ss.header_mappings_dir = "destroot/include"
|
|
73
82
|
ss.ios.vendored_frameworks = "destroot/Library/Frameworks/universal/hermesvm.xcframework"
|
|
74
83
|
ss.visionos.vendored_frameworks = "destroot/Library/Frameworks/universal/hermesvm.xcframework"
|
|
@@ -131,7 +140,7 @@ Pod::Spec.new do |spec|
|
|
|
131
140
|
ss.header_dir = 'hermes/Public'
|
|
132
141
|
end
|
|
133
142
|
|
|
134
|
-
if ENV['RCT_HERMES_V1_ENABLED']
|
|
143
|
+
if ENV['RCT_HERMES_V1_ENABLED'] == "0"
|
|
135
144
|
spec.subspec 'inspector' do |ss|
|
|
136
145
|
ss.source_files = ''
|
|
137
146
|
ss.public_header_files = 'API/hermes/inspector/*.h'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
HERMES_VERSION_NAME=0.15.0
|
|
2
|
-
HERMES_V1_VERSION_NAME=250829098.0.
|
|
2
|
+
HERMES_V1_VERSION_NAME=250829098.0.6
|