react-native 0.73.10 → 0.73.11

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: 73,
15
- patch: 10,
15
+ patch: 11,
16
16
  prerelease: null,
17
17
  };
@@ -23,7 +23,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
23
23
  __rnVersion = @{
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(73),
26
- RCTVersionPatch: @(10),
26
+ RCTVersionPatch: @(11),
27
27
  RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.73.10
1
+ VERSION_NAME=0.73.11
2
2
  react.internal.publishingGroup=com.facebook.react
3
3
 
4
4
  android.useAndroidX=true
@@ -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", 73,
20
- "patch", 10,
20
+ "patch", 11,
21
21
  "prerelease", null);
22
22
  }
@@ -581,6 +581,7 @@ public class ReactViewBackgroundDrawable extends Drawable {
581
581
  }
582
582
 
583
583
  // Clip border ONLY if its color is non transparent
584
+ float pathAdjustment = 0f;
584
585
  if (Color.alpha(colorLeft) != 0
585
586
  && Color.alpha(colorTop) != 0
586
587
  && Color.alpha(colorRight) != 0
@@ -591,6 +592,10 @@ public class ReactViewBackgroundDrawable extends Drawable {
591
592
  mInnerClipTempRectForBorderRadius.bottom -= borderWidth.bottom;
592
593
  mInnerClipTempRectForBorderRadius.left += borderWidth.left;
593
594
  mInnerClipTempRectForBorderRadius.right -= borderWidth.right;
595
+
596
+ // only close gap between border and main path if we draw the border, otherwise
597
+ // we wind up pixelating small pixel-radius curves
598
+ pathAdjustment = mGapBetweenPaths;
594
599
  }
595
600
 
596
601
  mTempRectForCenterDrawPath.top += borderWidth.top * 0.5f;
@@ -714,14 +719,14 @@ public class ReactViewBackgroundDrawable extends Drawable {
714
719
  Path.Direction.CW);
715
720
 
716
721
  // There is a small gap between mBackgroundColorRenderPath and its
717
- // border. mGapBetweenPaths is used to slightly enlarge the rectangle
722
+ // border. pathAdjustment is used to slightly enlarge the rectangle
718
723
  // (mInnerClipTempRectForBorderRadius), ensuring the border can be
719
724
  // drawn on top without the gap.
720
725
  mBackgroundColorRenderPath.addRoundRect(
721
- mInnerClipTempRectForBorderRadius.left - mGapBetweenPaths,
722
- mInnerClipTempRectForBorderRadius.top - mGapBetweenPaths,
723
- mInnerClipTempRectForBorderRadius.right + mGapBetweenPaths,
724
- mInnerClipTempRectForBorderRadius.bottom + mGapBetweenPaths,
726
+ mInnerClipTempRectForBorderRadius.left - pathAdjustment,
727
+ mInnerClipTempRectForBorderRadius.top - pathAdjustment,
728
+ mInnerClipTempRectForBorderRadius.right + pathAdjustment,
729
+ mInnerClipTempRectForBorderRadius.bottom + pathAdjustment,
725
730
  new float[] {
726
731
  innerTopLeftRadiusX,
727
732
  innerTopLeftRadiusY,
@@ -17,7 +17,7 @@ namespace facebook::react {
17
17
  constexpr struct {
18
18
  int32_t Major = 0;
19
19
  int32_t Minor = 73;
20
- int32_t Patch = 10;
20
+ int32_t Patch = 11;
21
21
  std::string_view Prerelease = "";
22
22
  } ReactNativeVersion;
23
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native",
3
- "version": "0.73.10",
3
+ "version": "0.73.11",
4
4
  "description": "A framework for building native apps using React",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -185,19 +185,7 @@ function create_universal_framework {
185
185
  for i in "${!platforms[@]}"; do
186
186
  local platform="${platforms[$i]}"
187
187
  local hermes_framework_path="${platform}/hermes.framework"
188
- local dSYM_path="$hermes_framework_path"
189
- local dSYM_base_path="$HERMES_PATH/destroot/Library/Frameworks"
190
-
191
- # If the dSYM rename has failed, the dSYM are generated as 0.dSYM
192
- # (Apple default name) rather then hermes.framework.dSYM.
193
- if [[ -e "$dSYM_base_path/${platform}/0.dSYM" ]]; then
194
- dSYM_path="${platform}/0"
195
- fi
196
-
197
188
  args+="-framework $hermes_framework_path "
198
-
199
- # Path to dSYM must be absolute
200
- args+="-debug-symbols $dSYM_base_path/$dSYM_path.dSYM "
201
189
  done
202
190
 
203
191
  mkdir -p universal
Binary file
Binary file
Binary file
package/template/Gemfile CHANGED
@@ -7,3 +7,4 @@ ruby ">= 2.6.10"
7
7
  # bound in the template on Cocoapods with next React Native release.
8
8
  gem 'cocoapods', '>= 1.13', '< 1.15'
9
9
  gem 'activesupport', '>= 6.1.7.5', '< 7.1.0'
10
+ gem 'xcodeproj', '< 1.26.0'
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "react": "18.2.0",
14
- "react-native": "0.73.10"
14
+ "react-native": "0.73.11"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@babel/core": "^7.20.0",