react-native 0.72.8 → 0.72.10

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.
@@ -12,6 +12,6 @@
12
12
  exports.version = {
13
13
  major: 0,
14
14
  minor: 72,
15
- patch: 8,
15
+ patch: 10,
16
16
  prerelease: null,
17
17
  };
@@ -36,6 +36,11 @@ let rejectionTrackingOptions: $Call<ExtractOptionsType, enable> = {
36
36
  ? rejection
37
37
  : JSON.stringify((rejection: $FlowFixMe));
38
38
  }
39
+ // It could although this object is not a standard error, it still has stack information to unwind
40
+ // $FlowFixMe ignore types just check if stack is there
41
+ if (rejection.stack && typeof rejection.stack === 'string') {
42
+ stack = rejection.stack;
43
+ }
39
44
  }
40
45
 
41
46
  const warning = `Possible unhandled promise rejection (id: ${id}):\n${
@@ -23,7 +23,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
23
23
  __rnVersion = @{
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(72),
26
- RCTVersionPatch: @(8),
26
+ RCTVersionPatch: @(10),
27
27
  RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
@@ -243,7 +243,7 @@ task createNativeDepsDirectories {
243
243
  }
244
244
 
245
245
  task downloadBoost(dependsOn: createNativeDepsDirectories, type: Download) {
246
- src("https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION.replace("_", ".")}/source/boost_${BOOST_VERSION}.tar.gz")
246
+ src("https://archives.boost.io/release/${BOOST_VERSION.replace("_", ".")}/source/boost_${BOOST_VERSION}.tar.gz")
247
247
  onlyIfModified(true)
248
248
  overwrite(false)
249
249
  retries(5)
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.72.8
1
+ VERSION_NAME=0.72.10
2
2
  GROUP=com.facebook.react
3
3
 
4
4
  # JVM Versions
@@ -17,6 +17,6 @@ public class ReactNativeVersion {
17
17
  public static final Map<String, Object> VERSION = MapBuilder.<String, Object>of(
18
18
  "major", 0,
19
19
  "minor", 72,
20
- "patch", 8,
20
+ "patch", 10,
21
21
  "prerelease", null);
22
22
  }
@@ -17,7 +17,7 @@ namespace facebook::react {
17
17
  constexpr struct {
18
18
  int32_t Major = 0;
19
19
  int32_t Minor = 72;
20
- int32_t Patch = 8;
20
+ int32_t Patch = 10;
21
21
  std::string_view Prerelease = "";
22
22
  } ReactNativeVersion;
23
23
 
@@ -17,5 +17,7 @@
17
17
  // control and use as a more reliable xplat flag. For any build that doesn't
18
18
  // have NDEBUG defined, we enable REACT_NATIVE_DEBUG for convenience.
19
19
  #ifndef NDEBUG
20
+ #ifndef COCOAPODS
20
21
  #define REACT_NATIVE_DEBUG 1
21
22
  #endif
23
+ #endif
@@ -17,6 +17,11 @@ namespace react {
17
17
  // It should be used as infrequently as possible - most props can and should
18
18
  // be parsed without any context.
19
19
  struct PropsParserContext {
20
+ PropsParserContext(
21
+ SurfaceId const surfaceId,
22
+ ContextContainer const &contextContainer)
23
+ : surfaceId(surfaceId), contextContainer(contextContainer) {}
24
+
20
25
  // Non-copyable
21
26
  PropsParserContext(const PropsParserContext &) = delete;
22
27
  PropsParserContext &operator=(const PropsParserContext &) = delete;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native",
3
- "version": "0.72.8",
3
+ "version": "0.72.10",
4
4
  "bin": "./cli.js",
5
5
  "description": "A framework for building native apps using React",
6
6
  "license": "MIT",
@@ -107,7 +107,6 @@ class JSEngineTests < Test::Unit::TestCase
107
107
  assert_equal($podInvocation["libevent"][:version], "~> 2.1.12")
108
108
  hermes_engine_pod_invocation = $podInvocation["hermes-engine"]
109
109
  assert_equal(hermes_engine_pod_invocation[:podspec], "../../sdks/hermes-engine/hermes-engine.podspec")
110
- assert_equal(hermes_engine_pod_invocation[:tag], "")
111
110
  end
112
111
 
113
112
  def test_setupHermes_installsPods_installsFabricSubspecWhenFabricEnabled
@@ -122,7 +121,6 @@ class JSEngineTests < Test::Unit::TestCase
122
121
  assert_equal($podInvocation["React-jsi"][:path], "../../ReactCommon/jsi")
123
122
  hermes_engine_pod_invocation = $podInvocation["hermes-engine"]
124
123
  assert_equal(hermes_engine_pod_invocation[:podspec], "../../sdks/hermes-engine/hermes-engine.podspec")
125
- assert_equal(hermes_engine_pod_invocation[:tag], "")
126
124
  assert_equal($podInvocation["React-hermes"][:path], "../../ReactCommon/hermes")
127
125
  assert_equal($podInvocation["libevent"][:version], "~> 2.1.12")
128
126
  end
@@ -30,12 +30,8 @@ def setup_hermes!(react_native_path: "../node_modules/react-native", fabric_enab
30
30
  abort unless prep_status == 0
31
31
 
32
32
  pod 'React-jsi', :path => "#{react_native_path}/ReactCommon/jsi"
33
- # This `:tag => hermestag` below is only to tell CocoaPods to update hermes-engine when React Native version changes.
34
- # We have custom logic to compute the source for hermes-engine. See sdks/hermes-engine/*
35
- hermestag_file = File.join(react_native_dir, "sdks", ".hermesversion")
36
- hermestag = File.exist?(hermestag_file) ? File.read(hermestag_file).strip : ''
37
33
 
38
- pod 'hermes-engine', :podspec => "#{react_native_path}/sdks/hermes-engine/hermes-engine.podspec", :tag => hermestag
34
+ pod 'hermes-engine', :podspec => "#{react_native_path}/sdks/hermes-engine/hermes-engine.podspec"
39
35
  pod 'React-hermes', :path => "#{react_native_path}/ReactCommon/hermes"
40
36
  pod 'libevent', '~> 2.1.12'
41
37
  end
@@ -137,7 +137,7 @@ class ReactNativePodsUtils
137
137
 
138
138
  # fix for weak linking
139
139
  self.safe_init(config, other_ld_flags_key)
140
- if self.is_using_xcode15_or_greter(:xcodebuild_manager => xcodebuild_manager)
140
+ if self.is_using_xcode15_0(:xcodebuild_manager => xcodebuild_manager)
141
141
  self.add_value_to_setting_if_missing(config, other_ld_flags_key, xcode15_compatibility_flags)
142
142
  else
143
143
  self.remove_value_from_setting_if_present(config, other_ld_flags_key, xcode15_compatibility_flags)
@@ -321,7 +321,7 @@ class ReactNativePodsUtils
321
321
  end
322
322
  end
323
323
 
324
- def self.is_using_xcode15_or_greter(xcodebuild_manager: Xcodebuild)
324
+ def self.is_using_xcode15_0(xcodebuild_manager: Xcodebuild)
325
325
  xcodebuild_version = xcodebuild_manager.version
326
326
 
327
327
  # The output of xcodebuild -version is something like
@@ -332,7 +332,8 @@ class ReactNativePodsUtils
332
332
  regex = /(\d+)\.(\d+)(?:\.(\d+))?/
333
333
  if match_data = xcodebuild_version.match(regex)
334
334
  major = match_data[1].to_i
335
- return major >= 15
335
+ minor = match_data[2].to_i
336
+ return major == 15 && minor == 0
336
337
  end
337
338
 
338
339
  return false
@@ -52,13 +52,9 @@ function build_host_hermesc {
52
52
 
53
53
  # Utility function to configure an Apple framework
54
54
  function configure_apple_framework {
55
- local build_cli_tools enable_bitcode enable_debugger cmake_build_type xcode_15_flags xcode_major_version
55
+ local build_cli_tools enable_debugger cmake_build_type xcode_15_flags xcode_major_version
56
+
56
57
 
57
- if [[ $1 == iphoneos || $1 == catalyst ]]; then
58
- enable_bitcode="true"
59
- else
60
- enable_bitcode="false"
61
- fi
62
58
  if [[ $1 == macosx ]]; then
63
59
  build_cli_tools="true"
64
60
  else
@@ -94,7 +90,7 @@ function configure_apple_framework {
94
90
  -DHERMES_ENABLE_LIBFUZZER:BOOLEAN=false \
95
91
  -DHERMES_ENABLE_FUZZILLI:BOOLEAN=false \
96
92
  -DHERMES_ENABLE_TEST_SUITE:BOOLEAN=false \
97
- -DHERMES_ENABLE_BITCODE:BOOLEAN="$enable_bitcode" \
93
+ -DHERMES_ENABLE_BITCODE:BOOLEAN=false \
98
94
  -DHERMES_BUILD_APPLE_FRAMEWORK:BOOLEAN=true \
99
95
  -DHERMES_BUILD_APPLE_DSYM:BOOLEAN=true \
100
96
  -DHERMES_ENABLE_TOOLS:BOOLEAN="$build_cli_tools" \
Binary file
Binary file
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "react": "18.2.0",
14
- "react-native": "0.72.8"
14
+ "react-native": "0.72.10"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@babel/core": "^7.20.0",
@@ -10,7 +10,7 @@ Pod::Spec.new do |spec|
10
10
  spec.homepage = 'http://www.boost.org'
11
11
  spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.'
12
12
  spec.authors = 'Rene Rivera'
13
- spec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2',
13
+ spec.source = { :http => 'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2',
14
14
  :sha256 => 'f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41' }
15
15
 
16
16
  # Pinning to the same version as React.podspec.