@devicecloud.dev/dcd 5.11.0 → 5.11.1-beta.1

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.
@@ -332,10 +332,6 @@ export const cloudCommand = defineCommand({
332
332
  if (!flowFile) {
333
333
  throw new CliError('You must provide a flow file');
334
334
  }
335
- deviceValidationService.validateiOSDevice(iOSVersion, iOSDevice, compatibilityData, {
336
- debug,
337
- logger: (m) => out(m),
338
- });
339
335
  // Render DB-driven notices (deprecation/warn/info/marketing) the API
340
336
  // returned with the compatibility data. Replaces the previously hardcoded
341
337
  // iOS-16 deprecation warning — that is now a seeded notice gated on the
@@ -365,6 +361,13 @@ export const cloudCommand = defineCommand({
365
361
  body: n.body,
366
362
  learnMoreUrl: n.learnMoreUrl,
367
363
  }));
364
+ // Validated after the notices, so a notice aimed at a removed device or
365
+ // OS version (e.g. removed-ios-17-2026-11-02) is shown before the
366
+ // rejection it explains.
367
+ deviceValidationService.validateiOSDevice(iOSVersion, iOSDevice, compatibilityData, {
368
+ debug,
369
+ logger: (m) => out(m),
370
+ });
368
371
  deviceValidationService.validateAndroidDevice(androidApiLevel, androidDevice, googlePlay, compatibilityData, { debug, logger: (m) => out(m) });
369
372
  // Validate every device-matrix cell up front — each on its own, against
370
373
  // the same compatibility matrix — so an unsupported cell fails fast,
@@ -66,8 +66,8 @@ export function registerRunCloudTest(server) {
66
66
  .string()
67
67
  .optional()
68
68
  .describe('ID of a previously uploaded binary. Mutually exclusive with appFile.'),
69
- iosVersion: z.string().optional().describe('iOS version, e.g. "17"'),
70
- iosDevice: z.string().optional().describe('iOS device, e.g. "iphone-14"'),
69
+ iosVersion: z.string().optional().describe('iOS version, e.g. "26"'),
70
+ iosDevice: z.string().optional().describe('iOS device, e.g. "iphone-16"'),
71
71
  androidApiLevel: z.string().optional().describe('Android API level, e.g. "34"'),
72
72
  androidDevice: z.string().optional().describe('Android device, e.g. "pixel-10"'),
73
73
  googlePlay: z.boolean().optional().describe('Use a Google Play-enabled Android image'),
@@ -109,8 +109,8 @@ export class DeviceValidationService {
109
109
  `[DEBUG] Supported iOS versions: ${supportedVersions.join(', ')}`,
110
110
  ],
111
111
  // Mirrors the API's global defaults, as for Android above.
112
- defaultDevice: 'iphone-14',
113
- defaultVersion: '17',
112
+ defaultDevice: 'iphone-16',
113
+ defaultVersion: '26',
114
114
  device: iOSDevice,
115
115
  deviceArg: argNames.iOSDevice,
116
116
  deviceKind: 'iOS',
@@ -13,19 +13,15 @@
13
13
  * in the API enum; removed 2026-09-21 rather than carried forward.
14
14
  */
15
15
  export declare enum EiOSDevices {
16
- 'ipad-pro-6th-gen' = "ipad-pro-6th-gen",
17
16
  'ipad-pro-m5-11' = "ipad-pro-m5-11",
18
17
  'ipad-pro-m5-13' = "ipad-pro-m5-13",
19
18
  'iphone-14' = "iphone-14",
20
- 'iphone-15' = "iphone-15",
21
19
  'iphone-16' = "iphone-16",
22
- 'iphone-16-plus' = "iphone-16-plus",
23
- 'iphone-16-pro' = "iphone-16-pro",
24
- 'iphone-16-pro-max' = "iphone-16-pro-max",
25
20
  'iphone-17' = "iphone-17",
26
21
  'iphone-18-pro' = "iphone-18-pro",
27
22
  'iphone-18-pro-max' = "iphone-18-pro-max",
28
- 'iphone-air' = "iphone-air"
23
+ 'iphone-air' = "iphone-air",
24
+ 'iphone-duo' = "iphone-duo"
29
25
  }
30
26
  export declare enum EAndroidDevices {
31
27
  'generic-tablet' = "generic-tablet",
@@ -40,7 +36,6 @@ export declare enum EAndroidDevices {
40
36
  }
41
37
  export declare enum EiOSVersions {
42
38
  'eighteen' = "18",
43
- 'seventeen' = "17",
44
39
  'twentySeven' = "27",
45
40
  'twentySix' = "26"
46
41
  }
@@ -14,19 +14,15 @@
14
14
  */
15
15
  export var EiOSDevices;
16
16
  (function (EiOSDevices) {
17
- EiOSDevices["ipad-pro-6th-gen"] = "ipad-pro-6th-gen";
18
17
  EiOSDevices["ipad-pro-m5-11"] = "ipad-pro-m5-11";
19
18
  EiOSDevices["ipad-pro-m5-13"] = "ipad-pro-m5-13";
20
19
  EiOSDevices["iphone-14"] = "iphone-14";
21
- EiOSDevices["iphone-15"] = "iphone-15";
22
20
  EiOSDevices["iphone-16"] = "iphone-16";
23
- EiOSDevices["iphone-16-plus"] = "iphone-16-plus";
24
- EiOSDevices["iphone-16-pro"] = "iphone-16-pro";
25
- EiOSDevices["iphone-16-pro-max"] = "iphone-16-pro-max";
26
21
  EiOSDevices["iphone-17"] = "iphone-17";
27
22
  EiOSDevices["iphone-18-pro"] = "iphone-18-pro";
28
23
  EiOSDevices["iphone-18-pro-max"] = "iphone-18-pro-max";
29
24
  EiOSDevices["iphone-air"] = "iphone-air";
25
+ EiOSDevices["iphone-duo"] = "iphone-duo";
30
26
  })(EiOSDevices || (EiOSDevices = {}));
31
27
  export var EAndroidDevices;
32
28
  (function (EAndroidDevices) {
@@ -43,7 +39,6 @@ export var EAndroidDevices;
43
39
  export var EiOSVersions;
44
40
  (function (EiOSVersions) {
45
41
  EiOSVersions["eighteen"] = "18";
46
- EiOSVersions["seventeen"] = "17";
47
42
  EiOSVersions["twentySeven"] = "27";
48
43
  EiOSVersions["twentySix"] = "26";
49
44
  })(EiOSVersions || (EiOSVersions = {}));
package/package.json CHANGED
@@ -68,7 +68,7 @@
68
68
  "test:unit": "node scripts/test-runner.mjs --unit",
69
69
  "typecheck": "tsc --noEmit -p tsconfig.test.json"
70
70
  },
71
- "version": "5.11.0",
71
+ "version": "5.11.1-beta.1",
72
72
  "bugs": {
73
73
  "url": "https://discord.gg/gm3mJwcNw8"
74
74
  },
@@ -96,7 +96,8 @@
96
96
  "minimatch@<3.1.4": "3.1.4",
97
97
  "minimatch@>=5.0.0 <5.1.8": "5.1.8",
98
98
  "minimatch@>=9.0.0 <9.0.7": "9.0.7",
99
- "minimatch@>=10.0.0 <10.2.3": "10.2.3",
99
+ "minimatch@>=10.0.0 <11.0.1": "11.0.1",
100
+ "glob@>=9.0.0 <14.0.2": "14.0.2",
100
101
  "picomatch@<2.3.2": "2.3.2",
101
102
  "picomatch@>=4.0.0 <4.0.4": "4.0.4",
102
103
  "serialize-javascript": ">=7.0.5",
@@ -108,7 +109,7 @@
108
109
  "brace-expansion@>=3.0.0 <5.0.12": "5.0.12",
109
110
  "ws@>=8.0.0 <8.21.0": "8.21.0",
110
111
  "esbuild@<0.28.1": ">=0.28.1",
111
- "qs@<6.16.0": "6.16.0",
112
+ "qs@<6.16.1": "6.16.1",
112
113
  "fast-uri@>=3.0.0 <3.1.9": "3.1.9",
113
114
  "hono@>=4.0.0 <4.13.11": "4.13.11",
114
115
  "source-map-js@<1.2.2": "1.2.2",