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.
@@ -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.3';
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}` : ''}`;
@@ -24,7 +24,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(84),
26
26
  RCTVersionPatch: @(0),
27
- RCTVersionPrerelease: @"rc.3",
27
+ RCTVersionPrerelease: @"rc.4",
28
28
  };
29
29
  });
30
30
  return __rnVersion;
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.84.0-rc.3
1
+ VERSION_NAME=0.84.0-rc.4
2
2
  react.internal.publishingGroup=com.facebook.react
3
3
  react.internal.hermesPublishingGroup=com.facebook.hermes
4
4
 
@@ -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 { prefab = true }
424
+ buildFeatures {
425
+ prefab = true
426
+ prefabPublishing = true
427
+ }
425
428
 
426
429
  dependencies {
427
430
  implementation(libs.fbjni)
@@ -644,7 +644,7 @@ public class NetworkingModule(
644
644
  reactApplicationContext,
645
645
  requestId,
646
646
  devToolsRequestId,
647
- url,
647
+ response.request().url().toString(),
648
648
  response,
649
649
  )
650
650
 
@@ -15,6 +15,6 @@ public object ReactNativeVersion {
15
15
  "major" to 0,
16
16
  "minor" to 84,
17
17
  "patch" to 0,
18
- "prerelease" to "rc.3"
18
+ "prerelease" to "rc.4"
19
19
  )
20
20
  }
@@ -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()
@@ -22,7 +22,7 @@ constexpr struct {
22
22
  int32_t Major = 0;
23
23
  int32_t Minor = 84;
24
24
  int32_t Patch = 0;
25
- std::string_view Prerelease = "rc.3";
25
+ std::string_view Prerelease = "rc.4";
26
26
  } ReactNativeVersion;
27
27
 
28
28
  } // namespace facebook::react
@@ -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
 
@@ -35,8 +35,4 @@ if(${CMAKE_BUILD_TYPE} MATCHES Debug OR REACT_NATIVE_DEBUG_OPTIMIZED)
35
35
  PRIVATE
36
36
  -DHERMES_ENABLE_DEBUGGER=1
37
37
  )
38
-
39
- if (HERMES_V1_ENABLED)
40
- target_compile_options(bridgelesshermes PRIVATE -DHERMES_V1_ENABLED=1)
41
- endif()
42
38
  endif()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native",
3
- "version": "0.84.0-rc.3",
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.3",
164
- "@react-native/codegen": "0.84.0-rc.3",
165
- "@react-native/community-cli-plugin": "0.84.0-rc.3",
166
- "@react-native/gradle-plugin": "0.84.0-rc.3",
167
- "@react-native/js-polyfills": "0.84.0-rc.3",
168
- "@react-native/normalize-colors": "0.84.0-rc.3",
169
- "@react-native/virtualized-lists": "0.84.0-rc.3",
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",