@capacitor/cli 4.0.0-alpha.1 → 4.0.0-alpha.2

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
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [4.0.0-alpha.2](https://github.com/ionic-team/capacitor/compare/3.4.1...4.0.0-alpha.2) (2022-05-12)
7
+
8
+
9
+ ### Features
10
+
11
+ * **android:** Use java 11 ([#5552](https://github.com/ionic-team/capacitor/issues/5552)) ([e47959f](https://github.com/ionic-team/capacitor/commit/e47959fcbd6a89b97b1275a5814fdb4e7ce30672))
12
+ * **ios:** Add preferredContentMode configuration option ([#5583](https://github.com/ionic-team/capacitor/issues/5583)) ([5b6dfa3](https://github.com/ionic-team/capacitor/commit/5b6dfa3fe29c85632546b299f03cc04a77cf7475))
13
+
14
+
15
+
16
+
17
+
6
18
  # [4.0.0-alpha.1](https://github.com/ionic-team/capacitor/compare/3.4.1...4.0.0-alpha.1) (2022-03-25)
7
19
 
8
20
  **Note:** Version bump only for package @capacitor/cli
Binary file
Binary file
@@ -141,8 +141,8 @@ project(':${getGradlePackageName(p.id)}').projectDir = new File('${relativePlugi
141
141
 
142
142
  android {
143
143
  compileOptions {
144
- sourceCompatibility JavaVersion.VERSION_1_8
145
- targetCompatibility JavaVersion.VERSION_1_8
144
+ sourceCompatibility JavaVersion.VERSION_11
145
+ targetCompatibility JavaVersion.VERSION_11
146
146
  }
147
147
  }
148
148
 
@@ -314,6 +314,17 @@ export interface CapacitorConfig {
314
314
  * @default false
315
315
  */
316
316
  limitsNavigationsToAppBoundDomains?: boolean;
317
+ /**
318
+ * The content mode for the web view to use when it loads and renders web content.
319
+ *
320
+ * - 'recommended': The content mode that is appropriate for the current device.
321
+ * - 'desktop': The content mode that represents a desktop experience.
322
+ * - 'mobile': The content mode that represents a mobile experience.
323
+ *
324
+ * @since 4.0.0
325
+ * @default recommended
326
+ */
327
+ preferredContentMode?: 'recommended' | 'desktop' | 'mobile';
317
328
  };
318
329
  server?: {
319
330
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/cli",
3
- "version": "4.0.0-alpha.1",
3
+ "version": "4.0.0-alpha.2",
4
4
  "description": "Capacitor: Cross-platform apps with JavaScript and the web",
5
5
  "homepage": "https://capacitorjs.com",
6
6
  "author": "Ionic Team <hi@ionic.io> (https://ionic.io)",
@@ -44,21 +44,21 @@
44
44
  "watch": "npm run assets && tsc -w"
45
45
  },
46
46
  "dependencies": {
47
- "@ionic/cli-framework-output": "^2.2.1",
47
+ "@ionic/cli-framework-output": "^2.2.4",
48
48
  "@ionic/utils-fs": "^3.1.5",
49
- "@ionic/utils-subprocess": "^2.1.6",
50
- "@ionic/utils-terminal": "^2.3.0",
49
+ "@ionic/utils-subprocess": "^2.1.10",
50
+ "@ionic/utils-terminal": "^2.3.2",
51
51
  "commander": "^6.0.0",
52
- "debug": "^4.2.0",
52
+ "debug": "^4.3.4",
53
53
  "env-paths": "^2.2.0",
54
- "kleur": "^4.1.1",
54
+ "kleur": "^4.1.4",
55
55
  "native-run": "^1.5.0",
56
56
  "open": "^7.4.2",
57
- "plist": "^3.0.2",
58
- "prompts": "^2.3.2",
59
- "semver": "^7.3.2",
57
+ "plist": "^3.0.5",
58
+ "prompts": "^2.4.2",
59
+ "semver": "^7.3.7",
60
60
  "tar": "^6.1.11",
61
- "tslib": "^2.1.0",
61
+ "tslib": "^2.4.0",
62
62
  "xml2js": "^0.4.23"
63
63
  },
64
64
  "devDependencies": {
@@ -85,5 +85,5 @@
85
85
  "publishConfig": {
86
86
  "access": "public"
87
87
  },
88
- "gitHead": "7faec09fd724a0af7436f3d30c83856b7bb5ce51"
88
+ "gitHead": "5c588d5bd15b2b939c6efc25b7db9d6af29afae0"
89
89
  }