@tauri-apps/cli 2.0.0-alpha.5 → 2.0.0-alpha.7

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/package.json +10 -10
  3. package/schema.json +34 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## \[2.0.0-alpha.7]
4
+
5
+ - Add `--release` flag for `tauri android dev` however you will need to sign your Android app, see https://next--tauri.netlify.app/next/guides/distribution/sign-android
6
+ - [63f088e5](https://www.github.com/tauri-apps/tauri/commit/63f088e5fc9701fd7fb329dad7ffb27a2d8fd5aa) feat(cli): add `--release` for `android dev` ([#6638](https://www.github.com/tauri-apps/tauri/pull/6638)) on 2023-04-05
7
+ - Build only specified rust targets for `tauri android build` instead of all.
8
+ - [d03e47d1](https://www.github.com/tauri-apps/tauri/commit/d03e47d141c3917520975be9081775dbc4e9d4fd) fix: only build specified rust targets for aab/apk build ([#6625](https://www.github.com/tauri-apps/tauri/pull/6625)) on 2023-04-05
9
+ - Use local ip address for built-in dev server on mobile.
10
+ - [7fec0f08](https://www.github.com/tauri-apps/tauri/commit/7fec0f083c932dc63ccb8716080d97e2ab985b25) fix(cli): use local ip addr for built-in server on mobile, closes [#6454](https://www.github.com/tauri-apps/tauri/pull/6454) ([#6631](https://www.github.com/tauri-apps/tauri/pull/6631)) on 2023-04-04
11
+ - Readd the Cargo.toml file to the plugin template.
12
+ - [5288a386](https://www.github.com/tauri-apps/tauri/commit/5288a386f1bf8ac11f991350463c3f5c20983f43) fix(cli): readd Cargo.toml to the plugin template ([#6637](https://www.github.com/tauri-apps/tauri/pull/6637)) on 2023-04-04
13
+
14
+ ## \[2.0.0-alpha.6]
15
+
16
+ - Use Ubuntu 20.04 to compile the CLI, increasing the minimum libc version required.
17
+ - Automatically enable the `rustls-tls` tauri feature on mobile and `native-tls` on desktop if `rustls-tls` is not enabled.
18
+ - [cfdee00f](https://www.github.com/tauri-apps/tauri/commit/cfdee00f2b1455a9719bc44823fdaeabbe4c1cb2) refactor(core): fix tls features, use rustls on mobile ([#6591](https://www.github.com/tauri-apps/tauri/pull/6591)) on 2023-03-30
19
+
3
20
  ## \[2.0.0-alpha.5]
4
21
 
5
22
  - Fixes the iOS project script to build the Rust library.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tauri-apps/cli",
3
- "version": "2.0.0-alpha.5",
3
+ "version": "2.0.0-alpha.7",
4
4
  "description": "Command line interface for building Tauri apps",
5
5
  "funding": {
6
6
  "type": "opencollective",
@@ -67,14 +67,14 @@
67
67
  "format:check": "prettier --check ./package.json ./tauri.js"
68
68
  },
69
69
  "optionalDependencies": {
70
- "@tauri-apps/cli-win32-x64-msvc": "2.0.0-alpha.5",
71
- "@tauri-apps/cli-darwin-x64": "2.0.0-alpha.5",
72
- "@tauri-apps/cli-linux-x64-gnu": "2.0.0-alpha.5",
73
- "@tauri-apps/cli-darwin-arm64": "2.0.0-alpha.5",
74
- "@tauri-apps/cli-linux-arm64-gnu": "2.0.0-alpha.5",
75
- "@tauri-apps/cli-linux-arm64-musl": "2.0.0-alpha.5",
76
- "@tauri-apps/cli-linux-arm-gnueabihf": "2.0.0-alpha.5",
77
- "@tauri-apps/cli-linux-x64-musl": "2.0.0-alpha.5",
78
- "@tauri-apps/cli-win32-ia32-msvc": "2.0.0-alpha.5"
70
+ "@tauri-apps/cli-win32-x64-msvc": "2.0.0-alpha.7",
71
+ "@tauri-apps/cli-darwin-x64": "2.0.0-alpha.7",
72
+ "@tauri-apps/cli-linux-x64-gnu": "2.0.0-alpha.7",
73
+ "@tauri-apps/cli-darwin-arm64": "2.0.0-alpha.7",
74
+ "@tauri-apps/cli-linux-arm64-gnu": "2.0.0-alpha.7",
75
+ "@tauri-apps/cli-linux-arm64-musl": "2.0.0-alpha.7",
76
+ "@tauri-apps/cli-linux-arm-gnueabihf": "2.0.0-alpha.7",
77
+ "@tauri-apps/cli-linux-x64-musl": "2.0.0-alpha.7",
78
+ "@tauri-apps/cli-win32-ia32-msvc": "2.0.0-alpha.7"
79
79
  }
80
80
  }
package/schema.json CHANGED
@@ -131,6 +131,9 @@
131
131
  },
132
132
  "bundle": {
133
133
  "active": false,
134
+ "android": {
135
+ "minSdkVersion": 24
136
+ },
134
137
  "appimage": {
135
138
  "bundleMediaFramework": false
136
139
  },
@@ -270,6 +273,9 @@
270
273
  "description": "The bundler configuration.",
271
274
  "default": {
272
275
  "active": false,
276
+ "android": {
277
+ "minSdkVersion": 24
278
+ },
273
279
  "appimage": {
274
280
  "bundleMediaFramework": false
275
281
  },
@@ -1169,6 +1175,17 @@
1169
1175
  "$ref": "#/definitions/IosConfig"
1170
1176
  }
1171
1177
  ]
1178
+ },
1179
+ "android": {
1180
+ "description": "Android configuration.",
1181
+ "default": {
1182
+ "minSdkVersion": 24
1183
+ },
1184
+ "allOf": [
1185
+ {
1186
+ "$ref": "#/definitions/AndroidConfig"
1187
+ }
1188
+ ]
1172
1189
  }
1173
1190
  },
1174
1191
  "additionalProperties": false
@@ -1449,7 +1466,7 @@
1449
1466
  "additionalProperties": false
1450
1467
  },
1451
1468
  {
1452
- "description": "Download the bootstrapper and run it. Requires internet connection. Results in a smaller installer size, but is not recommended on Windows 7.",
1469
+ "description": "Download the bootstrapper and run it. Requires an internet connection. Results in a smaller installer size, but is not recommended on Windows 7.",
1453
1470
  "type": "object",
1454
1471
  "required": [
1455
1472
  "type"
@@ -1470,7 +1487,7 @@
1470
1487
  "additionalProperties": false
1471
1488
  },
1472
1489
  {
1473
- "description": "Embed the bootstrapper and run it. Requires internet connection. Increases the installer size by around 1.8MB, but offers better support on Windows 7.",
1490
+ "description": "Embed the bootstrapper and run it. Requires an internet connection. Increases the installer size by around 1.8MB, but offers better support on Windows 7.",
1474
1491
  "type": "object",
1475
1492
  "required": [
1476
1493
  "type"
@@ -1491,7 +1508,7 @@
1491
1508
  "additionalProperties": false
1492
1509
  },
1493
1510
  {
1494
- "description": "Embed the offline installer and run it. Does not require internet connection. Increases the installer size by around 127MB.",
1511
+ "description": "Embed the offline installer and run it. Does not require an internet connection. Increases the installer size by around 127MB.",
1495
1512
  "type": "object",
1496
1513
  "required": [
1497
1514
  "type"
@@ -1772,6 +1789,20 @@
1772
1789
  },
1773
1790
  "additionalProperties": false
1774
1791
  },
1792
+ "AndroidConfig": {
1793
+ "description": "General configuration for the iOS target.",
1794
+ "type": "object",
1795
+ "properties": {
1796
+ "minSdkVersion": {
1797
+ "description": "The minimum API level required for the application to run. The Android system will prevent the user from installing the application if the system's API level is lower than the value specified.",
1798
+ "default": 24,
1799
+ "type": "integer",
1800
+ "format": "uint32",
1801
+ "minimum": 0.0
1802
+ }
1803
+ },
1804
+ "additionalProperties": false
1805
+ },
1775
1806
  "AllowlistConfig": {
1776
1807
  "description": "Allowlist configuration. The allowlist is a translation of the [Cargo allowlist features](https://docs.rs/tauri/latest/tauri/#cargo-allowlist-features).\n\n# Notes\n\n- Endpoints that don't have their own allowlist option are enabled by default. - There is only \"opt-in\", no \"opt-out\". Setting an option to `false` has no effect.\n\n# Examples\n\n- * [`\"app-all\": true`](https://tauri.app/v1/api/config/#appallowlistconfig.all) will make the [hide](https://tauri.app/v1/api/js/app#hide) endpoint be available regardless of whether `hide` is set to `false` or `true` in the allowlist.",
1777
1808
  "type": "object",