react-native 0.84.0-rc.3 → 0.84.0-rc.4
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/hermes-engine/build.gradle.kts +4 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/network/NetworkingModule.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactAndroid/src/main/jni/react/hermes/reactexecutor/CMakeLists.txt +0 -4
- package/ReactAndroid/src/main/jni/react/runtime/hermes/jni/CMakeLists.txt +0 -4
- package/ReactAndroid/src/main/jni/react/runtime/jni/CMakeLists.txt +0 -4
- package/ReactCommon/cmake-utils/react-native-flags.cmake +3 -0
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/hermes/executor/CMakeLists.txt +0 -4
- package/ReactCommon/hermes/inspector-modern/CMakeLists.txt +0 -4
- package/ReactCommon/react/runtime/CMakeLists.txt +0 -4
- package/ReactCommon/react/runtime/hermes/CMakeLists.txt +0 -4
- package/package.json +8 -8
|
@@ -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.4';
|
|
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
|
@@ -421,7 +421,10 @@ android {
|
|
|
421
421
|
java.srcDirs("$hermesDir/lib/Platform/Intl/java", "$hermesDir/lib/Platform/Unicode/java")
|
|
422
422
|
}
|
|
423
423
|
|
|
424
|
-
buildFeatures {
|
|
424
|
+
buildFeatures {
|
|
425
|
+
prefab = true
|
|
426
|
+
prefabPublishing = true
|
|
427
|
+
}
|
|
425
428
|
|
|
426
429
|
dependencies {
|
|
427
430
|
implementation(libs.fbjni)
|
|
@@ -27,8 +27,4 @@ target_link_libraries(
|
|
|
27
27
|
target_compile_reactnative_options(hermes_executor PRIVATE)
|
|
28
28
|
if(${CMAKE_BUILD_TYPE} MATCHES Debug OR REACT_NATIVE_DEBUG_OPTIMIZED)
|
|
29
29
|
target_compile_options(hermes_executor PRIVATE -DHERMES_ENABLE_DEBUGGER=1)
|
|
30
|
-
|
|
31
|
-
if (HERMES_V1_ENABLED)
|
|
32
|
-
target_compile_options(hermes_executor PRIVATE -DHERMES_V1_ENABLED=1)
|
|
33
|
-
endif()
|
|
34
30
|
endif()
|
|
@@ -29,8 +29,4 @@ target_link_libraries(hermesinstancejni
|
|
|
29
29
|
target_compile_reactnative_options(hermesinstancejni PRIVATE)
|
|
30
30
|
if(${CMAKE_BUILD_TYPE} MATCHES Debug OR REACT_NATIVE_DEBUG_OPTIMIZED)
|
|
31
31
|
target_compile_options(hermesinstancejni PRIVATE -DHERMES_ENABLE_DEBUGGER=1)
|
|
32
|
-
|
|
33
|
-
if (HERMES_V1_ENABLED)
|
|
34
|
-
target_compile_options(hermesinstancejni PRIVATE -DHERMES_V1_ENABLED=1)
|
|
35
|
-
endif()
|
|
36
32
|
endif ()
|
|
@@ -19,10 +19,6 @@ add_library(rninstance
|
|
|
19
19
|
target_compile_reactnative_options(rninstance PRIVATE)
|
|
20
20
|
if(${CMAKE_BUILD_TYPE} MATCHES Debug OR REACT_NATIVE_DEBUG_OPTIMIZED)
|
|
21
21
|
target_compile_options(rninstance PRIVATE -DHERMES_ENABLE_DEBUGGER=1)
|
|
22
|
-
|
|
23
|
-
if (HERMES_V1_ENABLED)
|
|
24
|
-
target_compile_options(rninstance PRIVATE -DHERMES_V1_ENABLED=1)
|
|
25
|
-
endif()
|
|
26
22
|
endif ()
|
|
27
23
|
|
|
28
24
|
target_merge_so(rninstance)
|
|
@@ -32,4 +32,7 @@ function(target_compile_reactnative_options target_name scope)
|
|
|
32
32
|
if(ANDROID)
|
|
33
33
|
target_compile_definitions(${target_name} ${scope} RN_SERIALIZABLE_STATE)
|
|
34
34
|
endif()
|
|
35
|
+
if(HERMES_V1_ENABLED)
|
|
36
|
+
target_compile_definitions(${target_name} ${scope} HERMES_V1_ENABLED=1)
|
|
37
|
+
endif()
|
|
35
38
|
endfunction()
|
|
@@ -32,10 +32,6 @@ if(${CMAKE_BUILD_TYPE} MATCHES Debug OR REACT_NATIVE_DEBUG_OPTIMIZED)
|
|
|
32
32
|
PRIVATE
|
|
33
33
|
-DHERMES_ENABLE_DEBUGGER=1
|
|
34
34
|
)
|
|
35
|
-
|
|
36
|
-
if (HERMES_V1_ENABLED)
|
|
37
|
-
target_compile_options(hermes_executor_common PRIVATE -DHERMES_V1_ENABLED=1)
|
|
38
|
-
endif()
|
|
39
35
|
else()
|
|
40
36
|
target_compile_options(
|
|
41
37
|
hermes_executor_common
|
|
@@ -23,10 +23,6 @@ if(${CMAKE_BUILD_TYPE} MATCHES Debug OR REACT_NATIVE_DEBUG_OPTIMIZED)
|
|
|
23
23
|
PRIVATE
|
|
24
24
|
-DHERMES_ENABLE_DEBUGGER=1
|
|
25
25
|
)
|
|
26
|
-
|
|
27
|
-
if (HERMES_V1_ENABLED)
|
|
28
|
-
target_compile_options(hermes_inspector_modern PRIVATE -DHERMES_V1_ENABLED=1)
|
|
29
|
-
endif()
|
|
30
26
|
endif()
|
|
31
27
|
|
|
32
28
|
target_include_directories(hermes_inspector_modern PUBLIC ${REACT_COMMON_DIR})
|
|
@@ -18,10 +18,6 @@ add_library(bridgeless
|
|
|
18
18
|
target_compile_reactnative_options(bridgeless PRIVATE)
|
|
19
19
|
if(${CMAKE_BUILD_TYPE} MATCHES Debug OR REACT_NATIVE_DEBUG_OPTIMIZED)
|
|
20
20
|
target_compile_options(bridgeless PRIVATE -DHERMES_ENABLE_DEBUGGER=1)
|
|
21
|
-
|
|
22
|
-
if (HERMES_V1_ENABLED)
|
|
23
|
-
target_compile_options(bridgeless PRIVATE -DHERMES_V1_ENABLED=1)
|
|
24
|
-
endif()
|
|
25
21
|
endif ()
|
|
26
22
|
target_include_directories(bridgeless PUBLIC .)
|
|
27
23
|
|
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.4",
|
|
4
4
|
"description": "A framework for building native apps using React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -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.4",
|
|
164
|
+
"@react-native/codegen": "0.84.0-rc.4",
|
|
165
|
+
"@react-native/community-cli-plugin": "0.84.0-rc.4",
|
|
166
|
+
"@react-native/gradle-plugin": "0.84.0-rc.4",
|
|
167
|
+
"@react-native/js-polyfills": "0.84.0-rc.4",
|
|
168
|
+
"@react-native/normalize-colors": "0.84.0-rc.4",
|
|
169
|
+
"@react-native/virtualized-lists": "0.84.0-rc.4",
|
|
170
170
|
"abort-controller": "^3.0.0",
|
|
171
171
|
"anser": "^1.4.9",
|
|
172
172
|
"ansi-regex": "^5.0.0",
|