expo-modules-core 57.0.12 → 57.0.13

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/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 57.0.13 — 2026-08-24
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - [iOS] Fixed `matchContents` hosts sometimes being laid out at a stale size. Regression from [#48059](https://github.com/expo/expo/pull/48059). ([#49211](https://github.com/expo/expo/pull/49211) by [@intergalacticspacehighway](https://github.com/intergalacticspacehighway))
18
+
13
19
  ## 57.0.12 — 2026-08-20
14
20
 
15
21
  ### 🐛 Bug fixes
@@ -27,7 +27,7 @@ if (shouldIncludeCompose) {
27
27
  }
28
28
 
29
29
  group = 'host.exp.exponent'
30
- version = '57.0.12'
30
+ version = '57.0.13'
31
31
 
32
32
  def isExpoModulesCoreTests = {
33
33
  Gradle gradle = getGradle()
@@ -94,7 +94,7 @@ android {
94
94
  defaultConfig {
95
95
  consumerProguardFiles 'proguard-rules.pro'
96
96
  versionCode 1
97
- versionName "57.0.12"
97
+ versionName "57.0.13"
98
98
  buildConfigField "String", "EXPO_MODULES_CORE_VERSION", "\"${versionName}\""
99
99
  buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", "true"
100
100
 
@@ -67,29 +67,19 @@ public:
67
67
  snode->getProps());
68
68
 
69
69
  auto &style = const_cast<facebook::yoga::Style &>(props.yogaStyle);
70
- bool changedStyle = false;
71
70
 
72
71
  if (!isnan(styleWidth)) {
73
- auto expectedWidth = facebook::yoga::StyleSizeLength::points(styleWidth);
74
- if (style.dimension(facebook::yoga::Dimension::Width) != expectedWidth) {
75
- style.setDimension(facebook::yoga::Dimension::Width, expectedWidth);
76
- changedStyle = true;
77
- }
72
+ style.setDimension(facebook::yoga::Dimension::Width,
73
+ facebook::yoga::StyleSizeLength::points(styleWidth));
78
74
  }
79
75
 
80
76
  if (!isnan(styleHeight)) {
81
- auto expectedHeight = facebook::yoga::StyleSizeLength::points(styleHeight);
82
- if (style.dimension(facebook::yoga::Dimension::Height) != expectedHeight) {
83
- style.setDimension(facebook::yoga::Dimension::Height, expectedHeight);
84
- changedStyle = true;
85
- }
77
+ style.setDimension(facebook::yoga::Dimension::Height,
78
+ facebook::yoga::StyleSizeLength::points(styleHeight));
86
79
  }
87
80
 
88
- // Update yoga props and dirty layout if we changed the style
89
- if (changedStyle) {
90
- snode->updateYogaProps();
91
- snode->dirtyLayout();
92
- }
81
+ // Updates yoga style from props and sets the node dirty
82
+ snode->updateYogaProps();
93
83
  }
94
84
  facebook::react::ConcreteComponentDescriptor<ShadowNodeType>::adopt(shadowNode);
95
85
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-modules-core",
3
- "version": "57.0.12",
3
+ "version": "57.0.13",
4
4
  "description": "The core of Expo Modules architecture",
5
5
  "main": "src/index.ts",
6
6
  "types": "build/index.d.ts",
@@ -66,7 +66,7 @@
66
66
  "@types/invariant": "^2.2.33",
67
67
  "expo-module-scripts": "56.0.3"
68
68
  },
69
- "gitHead": "499024a441d67293aa60afcbe02051999a54f1bb",
69
+ "gitHead": "52fc013ec8c75e89ba8f83c167e4b6b0416e6bf7",
70
70
  "scripts": {
71
71
  "build": "expo-module build",
72
72
  "clean": "expo-module clean",