expo-updates 56.0.4 → 56.0.6

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,16 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 56.0.6 — 2026-05-08
14
+
15
+ ### 💡 Others
16
+
17
+ - Add runtime version header to asset requests. ([#45465](https://github.com/expo/expo/pull/45465) by [@douglowder](https://github.com/douglowder))
18
+
19
+ ## 56.0.5 — 2026-05-07
20
+
21
+ _This version does not introduce any user-facing changes._
22
+
13
23
  ## 56.0.4 — 2026-05-06
14
24
 
15
25
  _This version does not introduce any user-facing changes._
@@ -42,7 +42,7 @@ expoModule {
42
42
  }
43
43
 
44
44
  group = 'host.exp.exponent'
45
- version = '56.0.4'
45
+ version = '56.0.6'
46
46
 
47
47
  // Utility method to derive boolean values from the environment or from Java properties,
48
48
  // and return them as strings to be used in BuildConfig fields
@@ -89,7 +89,7 @@ android {
89
89
  namespace "expo.modules.updates"
90
90
  defaultConfig {
91
91
  versionCode 31
92
- versionName '56.0.4'
92
+ versionName '56.0.6'
93
93
  consumerProguardFiles("proguard-rules.pro")
94
94
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
95
95
 
@@ -787,6 +787,10 @@ class FileDownloader(
787
787
  } else {
788
788
  removeHeader(A_IM_HEADER)
789
789
  }
790
+ val runtimeVersion = configuration.runtimeVersionRaw
791
+ if (!runtimeVersion.isNullOrEmpty()) {
792
+ header("Expo-Runtime-Version", runtimeVersion)
793
+ }
790
794
  }
791
795
  .apply {
792
796
  for ((key, value) in configuration.requestHeaders) {
@@ -440,6 +440,7 @@ public final class FileDownloader {
440
440
  request.setValue("1", forHTTPHeaderField: "Expo-API-Version")
441
441
  request.setValue("BARE", forHTTPHeaderField: "Expo-Updates-Environment")
442
442
  request.setValue(EASClientID.uuid().uuidString, forHTTPHeaderField: "EAS-Client-ID")
443
+ request.setValue(config.runtimeVersion, forHTTPHeaderField: "Expo-Runtime-Version")
443
444
 
444
445
  for (key, value) in config.requestHeaders {
445
446
  request.setValue(value, forHTTPHeaderField: key)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-updates",
3
- "version": "56.0.4",
3
+ "version": "56.0.6",
4
4
  "description": "Fetches and manages remotely-hosted assets and updates to your app's JS bundle.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -60,10 +60,10 @@
60
60
  "picomatch": "^4.0.2",
61
61
  "ts-node": "^10.9.2",
62
62
  "xstate": "^4.37.2",
63
- "expo-dev-client": "56.0.3",
64
- "expo-module-scripts": "56.0.2",
65
- "@expo/metro-config": "56.0.3",
66
- "expo": "56.0.0-preview.5"
63
+ "expo": "56.0.0-preview.7",
64
+ "expo-dev-client": "56.0.5",
65
+ "@expo/metro-config": "56.0.5",
66
+ "expo-module-scripts": "56.0.2"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "expo": "*",
@@ -82,7 +82,7 @@
82
82
  "./scripts/with-node.sh"
83
83
  ]
84
84
  },
85
- "gitHead": "a8ab3da510a34b7bdb2262aa9887d4f78b102280",
85
+ "gitHead": "a30353e69ca0d72b9fac5830abc631feda1ba3ae",
86
86
  "scripts": {
87
87
  "build": "expo-module build",
88
88
  "clean": "expo-module clean",