expo-updates 56.0.12 → 56.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,16 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 56.0.13 — 2026-05-19
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - [cli] Write private key into owner-only permissions file ([#45880](https://github.com/expo/expo/pull/45880) by [@kitten](https://github.com/kitten))
18
+
19
+ ### 💡 Others
20
+
21
+ - Enable bsdiff-based bundle patch downloads by default. ([#45928](https://github.com/expo/expo/pull/45928) by [@alanjhughes](https://github.com/alanjhughes))
22
+
13
23
  ## 56.0.12 — 2026-05-15
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.12'
45
+ version = '56.0.13'
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.12'
92
+ versionName '56.0.13'
93
93
  consumerProguardFiles("proguard-rules.pro")
94
94
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
95
95
 
@@ -126,7 +126,7 @@ data class UpdatesConfiguration(
126
126
  enableExpoUpdatesProtocolV0CompatibilityMode = overrideMap?.readValueCheckingType<Boolean>(UPDATES_CONFIGURATION_ENABLE_EXPO_UPDATES_PROTOCOL_V0_COMPATIBILITY_MODE) ?: context?.getMetadataValue("expo.modules.updates.ENABLE_EXPO_UPDATES_PROTOCOL_V0_COMPATIBILITY_MODE") ?: false,
127
127
  enableBsdiffPatchSupport = overrideMap?.readValueCheckingType<Boolean>(UPDATES_CONFIGURATION_ENABLE_BSDIFF_PATCH_SUPPORT)
128
128
  ?: context?.getMetadataValue("expo.modules.updates.ENABLE_BSDIFF_PATCH_SUPPORT")
129
- ?: false,
129
+ ?: true,
130
130
  disableAntiBrickingMeasures = getDisableAntiBrickingMeasures(context, overrideMap),
131
131
  hasUpdatesOverride = configOverride != null
132
132
  )
@@ -35,7 +35,9 @@ async function generateCodeSigningAsync(projectRoot, { certificateValidityDurati
35
35
  const certificatePEM = (0, code_signing_certificates_1.convertCertificateToCertificatePEM)(certificate);
36
36
  await Promise.all([
37
37
  fs_1.promises.writeFile(path_1.default.join(keyOutputDir, 'public-key.pem'), keyPairPEM.publicKeyPEM),
38
- fs_1.promises.writeFile(path_1.default.join(keyOutputDir, 'private-key.pem'), keyPairPEM.privateKeyPEM),
38
+ fs_1.promises.writeFile(path_1.default.join(keyOutputDir, 'private-key.pem'), keyPairPEM.privateKeyPEM, {
39
+ mode: 0o600,
40
+ }),
39
41
  fs_1.promises.writeFile(path_1.default.join(certificateOutputDir, 'certificate.pem'), certificatePEM),
40
42
  ]);
41
43
  (0, log_1.log)(`Generated public and private keys output in ${keyOutputDir}. Remember to add them to .gitignore or to encrypt them. (e.g. with git-crypt)`);
@@ -51,7 +51,9 @@ export async function generateCodeSigningAsync(
51
51
 
52
52
  await Promise.all([
53
53
  fs.writeFile(path.join(keyOutputDir, 'public-key.pem'), keyPairPEM.publicKeyPEM),
54
- fs.writeFile(path.join(keyOutputDir, 'private-key.pem'), keyPairPEM.privateKeyPEM),
54
+ fs.writeFile(path.join(keyOutputDir, 'private-key.pem'), keyPairPEM.privateKeyPEM, {
55
+ mode: 0o600,
56
+ }),
55
57
  fs.writeFile(path.join(certificateOutputDir, 'certificate.pem'), certificatePEM),
56
58
  ]);
57
59
 
@@ -290,7 +290,7 @@ public final class UpdatesConfig: NSObject {
290
290
  }
291
291
 
292
292
  let enableExpoUpdatesProtocolV0CompatibilityMode = config.optionalValue(forKey: EXUpdatesConfigEnableExpoUpdatesProtocolV0CompatibilityModeKey) ?? false
293
- let enableBsdiffPatchSupport = config.optionalValue(forKey: EXUpdatesConfigEnableBsdiffPatchSupportKey) ?? false
293
+ let enableBsdiffPatchSupport = config.optionalValue(forKey: EXUpdatesConfigEnableBsdiffPatchSupportKey) ?? true
294
294
 
295
295
  return UpdatesConfig(
296
296
  cachedConfigDictionary: config,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-updates",
3
- "version": "56.0.12",
3
+ "version": "56.0.13",
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",
@@ -35,7 +35,7 @@
35
35
  "chalk": "^4.1.2",
36
36
  "debug": "^4.3.4",
37
37
  "expo-eas-client": "~56.0.0",
38
- "expo-manifests": "~56.0.3",
38
+ "expo-manifests": "~56.0.4",
39
39
  "expo-structured-headers": "~56.0.0",
40
40
  "expo-updates-interface": "~56.0.1",
41
41
  "getenv": "^2.0.0",
@@ -60,10 +60,10 @@
60
60
  "picomatch": "^4.0.4",
61
61
  "ts-node": "^10.9.2",
62
62
  "xstate": "^4.37.2",
63
- "expo": "56.0.0-preview.12",
63
+ "expo-dev-client": "56.0.12",
64
64
  "expo-module-scripts": "56.0.2",
65
- "@expo/metro-config": "56.0.9",
66
- "expo-dev-client": "56.0.11"
65
+ "@expo/metro-config": "56.0.10",
66
+ "expo": "56.0.0-preview.13"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "expo": "*",
@@ -82,7 +82,7 @@
82
82
  "./scripts/with-node.sh"
83
83
  ]
84
84
  },
85
- "gitHead": "f26be3dd9396bf7c399a1d607865d0fabdbc0d64",
85
+ "gitHead": "290368bc41026449a05a4ebf991b85c3a2fb0e3a",
86
86
  "scripts": {
87
87
  "build": "expo-module build",
88
88
  "clean": "expo-module clean",