@tauri-apps/cli 2.0.0-beta.1 → 2.0.0-beta.11

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
@@ -1,5 +1,142 @@
1
1
  # Changelog
2
2
 
3
+ ## \[2.0.0-beta.11]
4
+
5
+ ### Enhancements
6
+
7
+ - [`ac76a22f3`](https://www.github.com/tauri-apps/tauri/commit/ac76a22f383028d9bacdedebeb41d3fca5ec9dac)([#9183](https://www.github.com/tauri-apps/tauri/pull/9183)) Allow empty responses for `devUrl`, `beforeDevCommand` and `beforeBuildCommands` questions in `tauri init`.
8
+ - [`b525ddadf`](https://www.github.com/tauri-apps/tauri/commit/b525ddadf7e7588c3e195cf0f821c9862c545d06)([#9237](https://www.github.com/tauri-apps/tauri/pull/9237)) `openssl` is no longer a required dependency on macOS.
9
+
10
+ ### Dependencies
11
+
12
+ - Upgraded to `tauri-cli@2.0.0-beta.11`
13
+
14
+ ## \[2.0.0-beta.10]
15
+
16
+ ### New Features
17
+
18
+ - [`7213b9e47`](https://www.github.com/tauri-apps/tauri/commit/7213b9e47242bef814aa7257e0bf84631bf5fe7e)([#9124](https://www.github.com/tauri-apps/tauri/pull/9124)) Add default permission for a plugin to capabilities when using `tauri add <plugin>`.
19
+
20
+ ### Dependencies
21
+
22
+ - Upgraded to `tauri-cli@2.0.0-beta.10`
23
+
24
+ ## \[2.0.0-beta.9]
25
+
26
+ ### Bug Fixes
27
+
28
+ - [`c3ea3a2b7`](https://www.github.com/tauri-apps/tauri/commit/c3ea3a2b7d2fe3085f05b63dd1feb962beb4b7b3)([#9126](https://www.github.com/tauri-apps/tauri/pull/9126)) Fix bundling when `plugins > updater > windows > installerArgs` are set in `tauri.conf.json`
29
+
30
+ ### Dependencies
31
+
32
+ - Upgraded to `tauri-cli@2.0.0-beta.9`
33
+
34
+ ## \[2.0.0-beta.8]
35
+
36
+ ### Enhancements
37
+
38
+ - [`3e472d0af`](https://www.github.com/tauri-apps/tauri/commit/3e472d0afcd67545dd6d9f18d304580a3b2759a8)([#9115](https://www.github.com/tauri-apps/tauri/pull/9115)) Changed the permission and capability platforms to be optional.
39
+
40
+ ### Dependencies
41
+
42
+ - Upgraded to `tauri-cli@2.0.0-beta.8`
43
+
44
+ ## \[2.0.0-beta.7]
45
+
46
+ ### Enhancements
47
+
48
+ - [`c68218b36`](https://www.github.com/tauri-apps/tauri/commit/c68218b362c417b62e56c7a2b5b32c13fe035a83)([#8990](https://www.github.com/tauri-apps/tauri/pull/8990)) Add `--no-bundle` flag for `tauri build` command to skip bundling. Previously `none` was used to skip bundling, it will now be treated as invalid format and a warning will be emitted instead.
49
+
50
+ ### Dependencies
51
+
52
+ - Upgraded to `tauri-cli@2.0.0-beta.7`
53
+
54
+ ## \[2.0.0-beta.6]
55
+
56
+ ### Bug Fixes
57
+
58
+ - [`f5f3ed5f`](https://www.github.com/tauri-apps/tauri/commit/f5f3ed5f6faa0b51e83244acc15e9006299a03ba)([#9009](https://www.github.com/tauri-apps/tauri/pull/9009)) Fixes Android and iOS project initialization when the Tauri CLI is on a different disk partition.
59
+ - [`d7d03c71`](https://www.github.com/tauri-apps/tauri/commit/d7d03c7197212f3a5bebe08c929417d60927eb89)([#9017](https://www.github.com/tauri-apps/tauri/pull/9017)) Fixes dev watcher on mobile dev.
60
+ - [`b658ded6`](https://www.github.com/tauri-apps/tauri/commit/b658ded614cfc169228cb22ad5bfc64478dfe161)([#9015](https://www.github.com/tauri-apps/tauri/pull/9015)) Fixes truncation of existing BuildTask.kt when running `tauri android init`.
61
+
62
+ ### What's Changed
63
+
64
+ - [`3657ad82`](https://www.github.com/tauri-apps/tauri/commit/3657ad82f88ce528551d032d521c52eed3f396b4)([#9008](https://www.github.com/tauri-apps/tauri/pull/9008)) Updates to new ACL manifest path.
65
+
66
+ ### Dependencies
67
+
68
+ - Upgraded to `tauri-cli@2.0.0-beta.6`
69
+
70
+ ## \[2.0.0-beta.5]
71
+
72
+ ### New Features
73
+
74
+ - [`06d63d67`](https://www.github.com/tauri-apps/tauri/commit/06d63d67a061459dd533ddcae755922427a6dfc5)([#8827](https://www.github.com/tauri-apps/tauri/pull/8827)) Add new subcommands for managing permissions and cababilities:
75
+
76
+ - `tauri permission new`
77
+ - `tauri permission add`
78
+ - `tauri permission rm`
79
+ - `tauri permission ls`
80
+ - `tauri capability new`
81
+
82
+ ### Breaking Changes
83
+
84
+ - [`b9e6a018`](https://www.github.com/tauri-apps/tauri/commit/b9e6a01879d9233040f3d3fab11c59e70563da7e)([#8937](https://www.github.com/tauri-apps/tauri/pull/8937)) The `custom-protocol` Cargo feature is no longer required on your application and is now ignored. To check if running on production, use `#[cfg(not(dev))]` instead of `#[cfg(feature = "custom-protocol")]`.
85
+
86
+ ### Enhancements
87
+
88
+ - [`9be314f0`](https://www.github.com/tauri-apps/tauri/commit/9be314f07a4ca5d14433d41919492f3e91b5536a)([#8951](https://www.github.com/tauri-apps/tauri/pull/8951)) Add plugins to `Cargo.toml` when using `tauri migrate`
89
+
90
+ ### Bug Fixes
91
+
92
+ - [`cbd9755e`](https://www.github.com/tauri-apps/tauri/commit/cbd9755e0926a7e47e59deb50f4bb93d621791a5)([#8977](https://www.github.com/tauri-apps/tauri/pull/8977)) Fixes process logs not showing on `ios dev`.
93
+
94
+ ### Dependencies
95
+
96
+ - Upgraded to `tauri-cli@2.0.0-beta.5`
97
+
98
+ ## \[2.0.0-beta.4]
99
+
100
+ ### Bug Fixes
101
+
102
+ - [`e538ba58`](https://www.github.com/tauri-apps/tauri/commit/e538ba586c5b8b50955586c8ef2704adb5d7cc43)([#8949](https://www.github.com/tauri-apps/tauri/pull/8949)) Fixes android and iOS process spawning not working on Node.js.
103
+
104
+ ### Dependencies
105
+
106
+ - Upgraded to `tauri-cli@2.0.0-beta.4`
107
+
108
+ ### Breaking Changes
109
+
110
+ - [`a76fb118`](https://www.github.com/tauri-apps/tauri/commit/a76fb118ce2de22e1bdb4216bf0ac01dfc3e5799)([#8950](https://www.github.com/tauri-apps/tauri/pull/8950)) Changed the capability format to allow configuring both `remote: { urls: Vec<String> }` and `local: bool (default: true)` instead of choosing one on the `context` field.
111
+
112
+ ## \[2.0.0-beta.3]
113
+
114
+ ### Enhancements
115
+
116
+ - [`a029b9f7`](https://www.github.com/tauri-apps/tauri/commit/a029b9f77e432533a403c292940fa3efba68692c)([#8910](https://www.github.com/tauri-apps/tauri/pull/8910)) Setting up code signing is no longer required on iOS when using the simulator.
117
+
118
+ ### Dependencies
119
+
120
+ - Upgraded to `tauri-cli@2.0.0-beta.3`
121
+
122
+ ## \[2.0.0-beta.2]
123
+
124
+ ### Enhancements
125
+
126
+ - [`83a68deb`](https://www.github.com/tauri-apps/tauri/commit/83a68deb5676d39cd4728d2e140f6b46d5f787ed)([#8797](https://www.github.com/tauri-apps/tauri/pull/8797)) Update app template following capabilities configuration change.
127
+
128
+ ### Bug Fixes
129
+
130
+ - [`aa06a053`](https://www.github.com/tauri-apps/tauri/commit/aa06a0534cf224038866e0ddd6910ea873b2574d)([#8810](https://www.github.com/tauri-apps/tauri/pull/8810)) Fix `tauri plugin android init` printing invalid code that has a missing closing `"`.
131
+ - [`3cee26a5`](https://www.github.com/tauri-apps/tauri/commit/3cee26a58ab44639a12c7816f4096655daa327a4)([#8865](https://www.github.com/tauri-apps/tauri/pull/8865)) On Windows, fixed `tauri info` fails to detect the build tool when the system language is CJK.
132
+ - [`052e8b43`](https://www.github.com/tauri-apps/tauri/commit/052e8b4311d9f0f963a2866163be27bfd8f70c60)([#8838](https://www.github.com/tauri-apps/tauri/pull/8838)) Downgrade minisign dependency fixing updater signing key bug and prevent it from happening in the future.
133
+ - [`fb0d9971`](https://www.github.com/tauri-apps/tauri/commit/fb0d997117367e3387896bcd0fba004579475c40)([#8783](https://www.github.com/tauri-apps/tauri/pull/8783)) Fixes a regression on the `--config` argument not accepting file paths.
134
+ - [`baca704d`](https://www.github.com/tauri-apps/tauri/commit/baca704d4b5fae239fc320d10140f35bd705bfbb)([#8768](https://www.github.com/tauri-apps/tauri/pull/8768)) Do not migrate updater configuration if the active flag is set to false.
135
+
136
+ ### Dependencies
137
+
138
+ - Upgraded to `tauri-cli@2.0.0-beta.2`
139
+
3
140
  ## \[2.0.0-beta.1]
4
141
 
5
142
  ### Enhancements
@@ -366,6 +503,28 @@
366
503
  - First mobile alpha release!
367
504
  - [fa3a1098](https://www.github.com/tauri-apps/tauri/commit/fa3a10988a03aed1b66fb17d893b1a9adb90f7cd) feat(ci): prepare 2.0.0-alpha.0 ([#5786](https://www.github.com/tauri-apps/tauri/pull/5786)) on 2022-12-08
368
505
 
506
+ ## \[1.5.10]
507
+
508
+ ### Bug Fixes
509
+
510
+ - [`b0f27814`](https://www.github.com/tauri-apps/tauri/commit/b0f27814b90ded2f1ed44b7852080eedbff0d9e4)([#8776](https://www.github.com/tauri-apps/tauri/pull/8776)) Fix `fail to rename app` when using `--profile dev`.
511
+ - [`0bff8c32`](https://www.github.com/tauri-apps/tauri/commit/0bff8c325d004fdead2023f58e0f5fd73a9c22ba)([#8697](https://www.github.com/tauri-apps/tauri/pull/8697)) Fix the built-in dev server failing to serve files when URL had queries `?` and other url components.
512
+ - [`67d7877f`](https://www.github.com/tauri-apps/tauri/commit/67d7877f27f265c133a70d48a46c83ffff31d571)([#8520](https://www.github.com/tauri-apps/tauri/pull/8520)) The cli now also watches cargo workspace members if the tauri folder is the workspace root.
513
+
514
+ ### Dependencies
515
+
516
+ - Upgraded to `tauri-cli@1.5.10`
517
+
518
+ ## \[1.5.9]
519
+
520
+ ### Bug Fixes
521
+
522
+ - [`0a2175ea`](https://www.github.com/tauri-apps/tauri/commit/0a2175eabb736b2a4cd01ab682e08be0b5ebb2b9)([#8439](https://www.github.com/tauri-apps/tauri/pull/8439)) Expand glob patterns in workspace member paths so the CLI would watch all matching pathhs.
523
+
524
+ ### Dependencies
525
+
526
+ - Upgraded to `tauri-cli@1.5.9`
527
+
369
528
  ## \[1.5.8]
370
529
 
371
530
  ### Dependencies
package/Cargo.toml CHANGED
@@ -8,10 +8,10 @@ crate-type = ["cdylib"]
8
8
 
9
9
  [dependencies]
10
10
  # Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
11
- napi = { version = "2.14", default-features = false, features = ["napi4"] }
12
- napi-derive = "2.14"
11
+ napi = { version = "2.16", default-features = false, features = ["napi4"] }
12
+ napi-derive = "2.16"
13
13
  tauri-cli = { path = "..", default-features = false }
14
- log = "0.4.20"
14
+ log = "0.4.21"
15
15
 
16
16
  [build-dependencies]
17
17
  napi-build = "2.1"
package/build.rs CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2023 Tauri Programme within The Commons Conservancy
1
+ // Copyright 2019-2024 Tauri Programme within The Commons Conservancy
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  // SPDX-License-Identifier: MIT
4
4
 
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2023 Tauri Programme within The Commons Conservancy
1
+ // Copyright 2019-2024 Tauri Programme within The Commons Conservancy
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  // SPDX-License-Identifier: MIT
4
4
 
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2023 Tauri Programme within The Commons Conservancy
1
+ // Copyright 2019-2024 Tauri Programme within The Commons Conservancy
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  // SPDX-License-Identifier: MIT
4
4
 
package/jest.config.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2023 Tauri Programme within The Commons Conservancy
1
+ // Copyright 2019-2024 Tauri Programme within The Commons Conservancy
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  // SPDX-License-Identifier: MIT
4
4
 
package/main.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2023 Tauri Programme within The Commons Conservancy
1
+ // Copyright 2019-2024 Tauri Programme within The Commons Conservancy
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  // SPDX-License-Identifier: MIT
4
4
 
package/main.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2023 Tauri Programme within The Commons Conservancy
1
+ // Copyright 2019-2024 Tauri Programme within The Commons Conservancy
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  // SPDX-License-Identifier: MIT
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tauri-apps/cli",
3
- "version": "2.0.0-beta.1",
3
+ "version": "2.0.0-beta.11",
4
4
  "description": "Command line interface for building Tauri apps",
5
5
  "funding": {
6
6
  "type": "opencollective",
@@ -68,15 +68,15 @@
68
68
  "format:check": "prettier --check ./package.json ./tauri.js"
69
69
  },
70
70
  "optionalDependencies": {
71
- "@tauri-apps/cli-win32-x64-msvc": "2.0.0-beta.1",
72
- "@tauri-apps/cli-darwin-x64": "2.0.0-beta.1",
73
- "@tauri-apps/cli-linux-x64-gnu": "2.0.0-beta.1",
74
- "@tauri-apps/cli-darwin-arm64": "2.0.0-beta.1",
75
- "@tauri-apps/cli-linux-arm64-gnu": "2.0.0-beta.1",
76
- "@tauri-apps/cli-linux-arm64-musl": "2.0.0-beta.1",
77
- "@tauri-apps/cli-linux-arm-gnueabihf": "2.0.0-beta.1",
78
- "@tauri-apps/cli-linux-x64-musl": "2.0.0-beta.1",
79
- "@tauri-apps/cli-win32-ia32-msvc": "2.0.0-beta.1",
80
- "@tauri-apps/cli-win32-arm64-msvc": "2.0.0-beta.1"
71
+ "@tauri-apps/cli-win32-x64-msvc": "2.0.0-beta.11",
72
+ "@tauri-apps/cli-darwin-x64": "2.0.0-beta.11",
73
+ "@tauri-apps/cli-linux-x64-gnu": "2.0.0-beta.11",
74
+ "@tauri-apps/cli-darwin-arm64": "2.0.0-beta.11",
75
+ "@tauri-apps/cli-linux-arm64-gnu": "2.0.0-beta.11",
76
+ "@tauri-apps/cli-linux-arm64-musl": "2.0.0-beta.11",
77
+ "@tauri-apps/cli-linux-arm-gnueabihf": "2.0.0-beta.11",
78
+ "@tauri-apps/cli-linux-x64-musl": "2.0.0-beta.11",
79
+ "@tauri-apps/cli-win32-ia32-msvc": "2.0.0-beta.11",
80
+ "@tauri-apps/cli-win32-arm64-msvc": "2.0.0-beta.11"
81
81
  }
82
82
  }
package/schema.json CHANGED
@@ -40,6 +40,7 @@
40
40
  "enable": false,
41
41
  "scope": []
42
42
  },
43
+ "capabilities": [],
43
44
  "dangerousDisableAssetCspModification": false,
44
45
  "freezePrototype": false,
45
46
  "pattern": {
@@ -158,6 +159,7 @@
158
159
  "enable": false,
159
160
  "scope": []
160
161
  },
162
+ "capabilities": [],
161
163
  "dangerousDisableAssetCspModification": false,
162
164
  "freezePrototype": false,
163
165
  "pattern": {
@@ -878,6 +880,14 @@
878
880
  "$ref": "#/definitions/PatternKind"
879
881
  }
880
882
  ]
883
+ },
884
+ "capabilities": {
885
+ "description": "List of capabilities that are enabled on the application.\n\nIf the list is empty, all capabilities are included.",
886
+ "default": [],
887
+ "type": "array",
888
+ "items": {
889
+ "$ref": "#/definitions/CapabilityEntry"
890
+ }
881
891
  }
882
892
  },
883
893
  "additionalProperties": false
@@ -1040,6 +1050,252 @@
1040
1050
  }
1041
1051
  ]
1042
1052
  },
1053
+ "CapabilityEntry": {
1054
+ "description": "A capability entry which can be either an inlined capability or a reference to a capability defined on its own file.",
1055
+ "anyOf": [
1056
+ {
1057
+ "description": "An inlined capability.",
1058
+ "allOf": [
1059
+ {
1060
+ "$ref": "#/definitions/Capability"
1061
+ }
1062
+ ]
1063
+ },
1064
+ {
1065
+ "description": "Reference to a capability identifier.",
1066
+ "type": "string"
1067
+ }
1068
+ ]
1069
+ },
1070
+ "Capability": {
1071
+ "description": "a grouping and boundary mechanism developers can use to separate windows or plugins functionality from each other at runtime.\n\nIf a window is not matching any capability then it has no access to the IPC layer at all.\n\nThis can be done to create trust groups and reduce impact of vulnerabilities in certain plugins or windows. Windows can be added to a capability by exact name or glob patterns like *, admin-* or main-window.",
1072
+ "type": "object",
1073
+ "required": [
1074
+ "identifier",
1075
+ "permissions"
1076
+ ],
1077
+ "properties": {
1078
+ "identifier": {
1079
+ "description": "Identifier of the capability.",
1080
+ "type": "string"
1081
+ },
1082
+ "description": {
1083
+ "description": "Description of the capability.",
1084
+ "default": "",
1085
+ "type": "string"
1086
+ },
1087
+ "remote": {
1088
+ "description": "Configure remote URLs that can use the capability permissions.",
1089
+ "anyOf": [
1090
+ {
1091
+ "$ref": "#/definitions/CapabilityRemote"
1092
+ },
1093
+ {
1094
+ "type": "null"
1095
+ }
1096
+ ]
1097
+ },
1098
+ "local": {
1099
+ "description": "Whether this capability is enabled for local app URLs or not. Defaults to `true`.",
1100
+ "default": true,
1101
+ "type": "boolean"
1102
+ },
1103
+ "windows": {
1104
+ "description": "List of windows that uses this capability. Can be a glob pattern.\n\nOn multiwebview windows, prefer [`Self::webviews`] for a fine grained access control.",
1105
+ "type": "array",
1106
+ "items": {
1107
+ "type": "string"
1108
+ }
1109
+ },
1110
+ "webviews": {
1111
+ "description": "List of webviews that uses this capability. Can be a glob pattern.\n\nThis is only required when using on multiwebview contexts, by default all child webviews of a window that matches [`Self::windows`] are linked.",
1112
+ "type": "array",
1113
+ "items": {
1114
+ "type": "string"
1115
+ }
1116
+ },
1117
+ "permissions": {
1118
+ "description": "List of permissions attached to this capability. Must include the plugin name as prefix in the form of `${plugin-name}:${permission-name}`.",
1119
+ "type": "array",
1120
+ "items": {
1121
+ "$ref": "#/definitions/PermissionEntry"
1122
+ }
1123
+ },
1124
+ "platforms": {
1125
+ "description": "Target platforms this capability applies. By default all platforms are affected by this capability.",
1126
+ "type": [
1127
+ "array",
1128
+ "null"
1129
+ ],
1130
+ "items": {
1131
+ "$ref": "#/definitions/Target"
1132
+ }
1133
+ }
1134
+ }
1135
+ },
1136
+ "CapabilityRemote": {
1137
+ "description": "Configuration for remote URLs that are associated with the capability.",
1138
+ "type": "object",
1139
+ "required": [
1140
+ "urls"
1141
+ ],
1142
+ "properties": {
1143
+ "urls": {
1144
+ "description": "Remote domains this capability refers to using the [URLPattern standard](https://urlpattern.spec.whatwg.org/).\n\n# Examples\n\n- \"https://*.mydomain.dev\": allows subdomains of mydomain.dev - \"https://mydomain.dev/api/*\": allows any subpath of mydomain.dev/api",
1145
+ "type": "array",
1146
+ "items": {
1147
+ "type": "string"
1148
+ }
1149
+ }
1150
+ }
1151
+ },
1152
+ "PermissionEntry": {
1153
+ "description": "An entry for a permission value in a [`Capability`] can be either a raw permission [`Identifier`] or an object that references a permission and extends its scope.",
1154
+ "anyOf": [
1155
+ {
1156
+ "description": "Reference a permission or permission set by identifier.",
1157
+ "allOf": [
1158
+ {
1159
+ "$ref": "#/definitions/Identifier"
1160
+ }
1161
+ ]
1162
+ },
1163
+ {
1164
+ "description": "Reference a permission or permission set by identifier and extends its scope.",
1165
+ "type": "object",
1166
+ "required": [
1167
+ "identifier"
1168
+ ],
1169
+ "properties": {
1170
+ "identifier": {
1171
+ "description": "Identifier of the permission or permission set.",
1172
+ "allOf": [
1173
+ {
1174
+ "$ref": "#/definitions/Identifier"
1175
+ }
1176
+ ]
1177
+ },
1178
+ "allow": {
1179
+ "description": "Data that defines what is allowed by the scope.",
1180
+ "type": [
1181
+ "array",
1182
+ "null"
1183
+ ],
1184
+ "items": {
1185
+ "$ref": "#/definitions/Value"
1186
+ }
1187
+ },
1188
+ "deny": {
1189
+ "description": "Data that defines what is denied by the scope.",
1190
+ "type": [
1191
+ "array",
1192
+ "null"
1193
+ ],
1194
+ "items": {
1195
+ "$ref": "#/definitions/Value"
1196
+ }
1197
+ }
1198
+ }
1199
+ }
1200
+ ]
1201
+ },
1202
+ "Identifier": {
1203
+ "type": "string"
1204
+ },
1205
+ "Value": {
1206
+ "description": "All supported ACL values.",
1207
+ "anyOf": [
1208
+ {
1209
+ "description": "Represents a null JSON value.",
1210
+ "type": "null"
1211
+ },
1212
+ {
1213
+ "description": "Represents a [`bool`].",
1214
+ "type": "boolean"
1215
+ },
1216
+ {
1217
+ "description": "Represents a valid ACL [`Number`].",
1218
+ "allOf": [
1219
+ {
1220
+ "$ref": "#/definitions/Number"
1221
+ }
1222
+ ]
1223
+ },
1224
+ {
1225
+ "description": "Represents a [`String`].",
1226
+ "type": "string"
1227
+ },
1228
+ {
1229
+ "description": "Represents a list of other [`Value`]s.",
1230
+ "type": "array",
1231
+ "items": {
1232
+ "$ref": "#/definitions/Value"
1233
+ }
1234
+ },
1235
+ {
1236
+ "description": "Represents a map of [`String`] keys to [`Value`]s.",
1237
+ "type": "object",
1238
+ "additionalProperties": {
1239
+ "$ref": "#/definitions/Value"
1240
+ }
1241
+ }
1242
+ ]
1243
+ },
1244
+ "Number": {
1245
+ "description": "A valid ACL number.",
1246
+ "anyOf": [
1247
+ {
1248
+ "description": "Represents an [`i64`].",
1249
+ "type": "integer",
1250
+ "format": "int64"
1251
+ },
1252
+ {
1253
+ "description": "Represents a [`f64`].",
1254
+ "type": "number",
1255
+ "format": "double"
1256
+ }
1257
+ ]
1258
+ },
1259
+ "Target": {
1260
+ "description": "Platform target.",
1261
+ "oneOf": [
1262
+ {
1263
+ "description": "MacOS.",
1264
+ "type": "string",
1265
+ "enum": [
1266
+ "macOS"
1267
+ ]
1268
+ },
1269
+ {
1270
+ "description": "Windows.",
1271
+ "type": "string",
1272
+ "enum": [
1273
+ "windows"
1274
+ ]
1275
+ },
1276
+ {
1277
+ "description": "Linux.",
1278
+ "type": "string",
1279
+ "enum": [
1280
+ "linux"
1281
+ ]
1282
+ },
1283
+ {
1284
+ "description": "Android.",
1285
+ "type": "string",
1286
+ "enum": [
1287
+ "android"
1288
+ ]
1289
+ },
1290
+ {
1291
+ "description": "iOS.",
1292
+ "type": "string",
1293
+ "enum": [
1294
+ "iOS"
1295
+ ]
1296
+ }
1297
+ ]
1298
+ },
1043
1299
  "TrayIconConfig": {
1044
1300
  "description": "Configuration for application tray icon.\n\nSee more: <https://tauri.app/v1/api/config#trayiconconfig>",
1045
1301
  "type": "object",
@@ -2180,6 +2436,27 @@
2180
2436
  "string",
2181
2437
  "null"
2182
2438
  ]
2439
+ },
2440
+ "section": {
2441
+ "description": "Define the section in Debian Control file. See : https://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections",
2442
+ "type": [
2443
+ "string",
2444
+ "null"
2445
+ ]
2446
+ },
2447
+ "priority": {
2448
+ "description": "Change the priority of the Debian Package. By default, it is set to `optional`. Recognized Priorities as of now are : `required`, `important`, `standard`, `optional`, `extra`",
2449
+ "type": [
2450
+ "string",
2451
+ "null"
2452
+ ]
2453
+ },
2454
+ "changelog": {
2455
+ "description": "Path of the uncompressed Changelog file, to be stored at /usr/share/doc/package-name/changelog.gz. See https://www.debian.org/doc/debian-policy/ch-docs.html#changelog-files-and-release-notes",
2456
+ "type": [
2457
+ "string",
2458
+ "null"
2459
+ ]
2183
2460
  }
2184
2461
  },
2185
2462
  "additionalProperties": false
package/src/lib.rs CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2023 Tauri Programme within The Commons Conservancy
1
+ // Copyright 2019-2024 Tauri Programme within The Commons Conservancy
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  // SPDX-License-Identifier: MIT
4
4
 
package/tauri.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- // Copyright 2019-2023 Tauri Programme within The Commons Conservancy
3
+ // Copyright 2019-2024 Tauri Programme within The Commons Conservancy
4
4
  // SPDX-License-Identifier: Apache-2.0
5
5
  // SPDX-License-Identifier: MIT
6
6