@tauri-apps/cli 2.0.0-beta.8 → 2.0.0-rc.0

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 +247 -0
  2. package/package.json +14 -14
  3. package/schema.json +359 -142
package/CHANGELOG.md CHANGED
@@ -1,5 +1,242 @@
1
1
  # Changelog
2
2
 
3
+ ## \[2.0.0-rc.0]
4
+
5
+ ### New Features
6
+
7
+ - [`d5511c311`](https://www.github.com/tauri-apps/tauri/commit/d5511c3117b1a117cb0b7359c5fa09aa4795122b) ([#10395](https://www.github.com/tauri-apps/tauri/pull/10395)) Added migration from `2.0.0-beta` to `2.0.0-rc`.
8
+ - [`a5bfbaa62`](https://www.github.com/tauri-apps/tauri/commit/a5bfbaa62b8cd0aacbb33f730d4e30b43c461fe1)([#9962](https://www.github.com/tauri-apps/tauri/pull/9962)) Added `bundle > iOS > frameworks` configuration to define a list of frameworks that are linked to the Xcode project when it is generated.
9
+
10
+ ### Enhancements
11
+
12
+ - [`a0841d509`](https://www.github.com/tauri-apps/tauri/commit/a0841d509abc43b62bb7c755e8727f3f461862d1) ([#10421](https://www.github.com/tauri-apps/tauri/pull/10421)) Changes the default behavior of the `dev` command to only expose to localhost (`127.0.0.1`) instead of the default system interface.
13
+
14
+ ### Security fixes
15
+
16
+ - [`289ae5555`](https://www.github.com/tauri-apps/tauri/commit/289ae5555da3802741018015bfe4927729a2eb33) ([#10386](https://www.github.com/tauri-apps/tauri/pull/10386)) Re-enable TLS checks that were previously disabled to support an insecure HTTPS custom protocol on Android which is no longer used.
17
+
18
+ ### Dependencies
19
+
20
+ - Upgraded to `tauri-cli@2.0.0-rc.0`
21
+
22
+ ### Breaking Changes
23
+
24
+ - [`758d28c8a`](https://www.github.com/tauri-apps/tauri/commit/758d28c8a2d5c9567158e339326b765f72da983e) ([#10390](https://www.github.com/tauri-apps/tauri/pull/10390)) Core plugin permissions are now prefixed with `core:`, the `core:default` permission set can now be used and the `core` plugin name is reserved.
25
+ The `tauri migrate` tool will automate the migration process, which involves prefixing all `app`, `event`, `image`, `menu`, `path`, `resources`, `tray`, `webview` and `window` permissions with `core:`.
26
+ - [`7ba67b4ac`](https://www.github.com/tauri-apps/tauri/commit/7ba67b4aca8d3f3b1aa5ad08819605029d36e6b4)([#10437](https://www.github.com/tauri-apps/tauri/pull/10437)) `ios dev` and `android dev` now uses localhost for the development server unless running on an iOS device,
27
+ which still requires connecting to the public network address. To conditionally check this on your frontend
28
+ framework's configuration you can check for the existence of the `TAURI_DEV_HOST`
29
+ environment variable instead of checking if the target is iOS or Android (previous recommendation).
30
+
31
+ ## \[2.0.0-beta.23]
32
+
33
+ ### Dependencies
34
+
35
+ - Upgraded to `tauri-cli@2.0.0-beta.23`
36
+
37
+ ## \[2.0.0-beta.22]
38
+
39
+ ### New Features
40
+
41
+ - [`7c7fa0964`](https://www.github.com/tauri-apps/tauri/commit/7c7fa0964db3403037fdb9a34de2b877ddb8df1c) ([#9963](https://www.github.com/tauri-apps/tauri/pull/9963) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Added `--method` argument for `ios build` to select the export options' method.
42
+ - [`7c7fa0964`](https://www.github.com/tauri-apps/tauri/commit/7c7fa0964db3403037fdb9a34de2b877ddb8df1c) ([#9963](https://www.github.com/tauri-apps/tauri/pull/9963) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Setup iOS signing by reading `IOS_CERTIFICATE`, `IOS_CERTIFICATE_PASSWORD` and `IOS_MOBILE_PROVISION` environment variables.
43
+
44
+ ### Enhancements
45
+
46
+ - [`c01e87ad4`](https://www.github.com/tauri-apps/tauri/commit/c01e87ad46e2a5b3fb8d018739e724ef932008d7) ([#10198](https://www.github.com/tauri-apps/tauri/pull/10198) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Enhance `tauri migrate` to also migrate variables like `appWindow`:
47
+
48
+ ```ts
49
+ import { appWindow } from '@tauri-apps/api/window'
50
+ ```
51
+
52
+ will become:
53
+
54
+ ```ts
55
+ import { getCurrentWebviewWindow } from '@tauri-apps/api/webviewWindow'
56
+ const appWindow = getCurrentWebviewWindow()
57
+ ```
58
+
59
+ ### Bug Fixes
60
+
61
+ - [`94136578b`](https://www.github.com/tauri-apps/tauri/commit/94136578bc89e4b973c471050ae9c2d83ffcb7c6) ([#10186](https://www.github.com/tauri-apps/tauri/pull/10186) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix `migrate` command, migrating incorrect permissions for `clipboard`.
62
+ - [`c01e87ad4`](https://www.github.com/tauri-apps/tauri/commit/c01e87ad46e2a5b3fb8d018739e724ef932008d7) ([#10198](https://www.github.com/tauri-apps/tauri/pull/10198) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix `tauri migrate` incorrectly migrating `@tauri-apps/api/tauri` module to just `core` and `@tauri-apps/api/window` to just `webviewWindow`.
63
+ - [`15e125996`](https://www.github.com/tauri-apps/tauri/commit/15e12599667b749c3d7cd2259e6cf7c7b5c6e2be) ([#10234](https://www.github.com/tauri-apps/tauri/pull/10234) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix cli failing to detect the correct cargo target directory when using cargo `--target-dir` flag with `tauri build` or `tauri dev`
64
+
65
+ ### Dependencies
66
+
67
+ - Upgraded to `tauri-cli@2.0.0-beta.22`
68
+
69
+ ## \[2.0.0-beta.21]
70
+
71
+ ### New Features
72
+
73
+ - [`656a64974`](https://www.github.com/tauri-apps/tauri/commit/656a64974468bc207bf39537e02ae179bdee9b83) ([#9318](https://www.github.com/tauri-apps/tauri/pull/9318)) Added a configuration option to disable hardened runtime on macOS codesign.
74
+
75
+ ### Enhancements
76
+
77
+ - [`f44a2ec47`](https://www.github.com/tauri-apps/tauri/commit/f44a2ec47c13243d472fa08a9df8b20d8490d79f) ([#10030](https://www.github.com/tauri-apps/tauri/pull/10030)) Enhance the plugin template to include `permissions/default.toml` and default capabilities file for the example application.
78
+
79
+ ### Bug Fixes
80
+
81
+ - [`019a74e97`](https://www.github.com/tauri-apps/tauri/commit/019a74e970958d29cf69a6f24669d603399dcbb3) ([#9931](https://www.github.com/tauri-apps/tauri/pull/9931)) Fix wrong migration of `clipboard` and `globalShortcut` modules
82
+ - [`27838365a`](https://www.github.com/tauri-apps/tauri/commit/27838365a6841b0d3fa645ba2528221d23d4aeb2) ([#10135](https://www.github.com/tauri-apps/tauri/pull/10135)) Fix parsing of cargo profile when using `--profile=<profile>` syntax.
83
+ - [`79542f4d4`](https://www.github.com/tauri-apps/tauri/commit/79542f4d4542bd97451da7605de16e8464d6a06c) ([#10039](https://www.github.com/tauri-apps/tauri/pull/10039)) Fixed an issue that prevented `tauri icon` from rendering `<text>` nodes in SVG files.
84
+ - [`40c0f44e1`](https://www.github.com/tauri-apps/tauri/commit/40c0f44e1c74c18ed0d6c645724d650637725456) ([#9971](https://www.github.com/tauri-apps/tauri/pull/9971)) Changed the deployment target of plugin iOS Xcode project to 13.0 so it works on older iOS releases.
85
+ - [`f56cdc9e3`](https://www.github.com/tauri-apps/tauri/commit/f56cdc9e391c4d55e4d7e935203d0f891864f22d) ([#10016](https://www.github.com/tauri-apps/tauri/pull/10016)) Add missing dependency `libayatana-appindicator3.so.1` for rpm package.
86
+ - [`1601da5b5`](https://www.github.com/tauri-apps/tauri/commit/1601da5b525de05cb813002d611f22ea4217a4fb) ([#10114](https://www.github.com/tauri-apps/tauri/pull/10114)) Removed alpha channel from default icons in iOS template to comply with Apple's human interface guideline
87
+ (https://developer.apple.com/design/human-interface-guidelines/app-icons), because
88
+ transparent icons with alpha channel are not allowed, and will be rejected
89
+ upon upload to Apple appstore.
90
+
91
+ ### What's Changed
92
+
93
+ - [`3cca5c2be`](https://www.github.com/tauri-apps/tauri/commit/3cca5c2be88bbd52139e7dda371e88510d28bc8e) ([#9924](https://www.github.com/tauri-apps/tauri/pull/9924)) Migrate to new Android buildFeatures.buildConfig format.
94
+
95
+ ### Dependencies
96
+
97
+ - Upgraded to `tauri-cli@2.0.0-beta.21`
98
+ - [`f955f7b49`](https://www.github.com/tauri-apps/tauri/commit/f955f7b4903bcea376c0a8b430736f66c8cebf56) ([#9929](https://www.github.com/tauri-apps/tauri/pull/9929)) Switch from `dirs_next` to `dirs` as `dirs_next` is now unmaintained while `dirs` is
99
+
100
+ ### Breaking Changes
101
+
102
+ - [`911242f09`](https://www.github.com/tauri-apps/tauri/commit/911242f0928e0a2add3595fa9de27850fb875fa6) ([#9883](https://www.github.com/tauri-apps/tauri/pull/9883)) Move updater target from `bundle > targets` to a separate field `bundle > createUpdaterArtifacts`
103
+
104
+ ## \[2.0.0-beta.20]
105
+
106
+ ### Dependencies
107
+
108
+ - Upgraded to `tauri-cli@2.0.0-beta.20`
109
+
110
+ ## \[2.0.0-beta.19]
111
+
112
+ ### New Features
113
+
114
+ - [`8a1ae2dea`](https://www.github.com/tauri-apps/tauri/commit/8a1ae2deaf3086e531ada25b1627f900e2e421fb)([#9843](https://www.github.com/tauri-apps/tauri/pull/9843)) Added an option to use a Xcode project for the iOS plugin instead of a plain SwiftPM project.
115
+ - [`9e4b2253f`](https://www.github.com/tauri-apps/tauri/commit/9e4b2253f6ddaccd0f5c88734287bd5c84d4936a)([#9734](https://www.github.com/tauri-apps/tauri/pull/9734)) Add `tauri bundle` subcommand which runs the bundle phase only, best paired with `tauri build --no-bundle`
116
+
117
+ ### Enhancements
118
+
119
+ - [`8b032c3cf`](https://www.github.com/tauri-apps/tauri/commit/8b032c3cf638e64e50df9d9cf8bc789c7e285987)([#9896](https://www.github.com/tauri-apps/tauri/pull/9896)) Add a blank LaunchScreen.storyboard to the iOS project init template to pass the App Store validation.
120
+ - [`9970d88be`](https://www.github.com/tauri-apps/tauri/commit/9970d88becee1560a4b2a7ffc1fe65991a42a8c9)([#9892](https://www.github.com/tauri-apps/tauri/pull/9892)) Update to latest gradle.
121
+
122
+ ### What's Changed
123
+
124
+ - [`80aa50498`](https://www.github.com/tauri-apps/tauri/commit/80aa504987dd9cfa59aa5848c4d7960e1d58d0e6)([#9870](https://www.github.com/tauri-apps/tauri/pull/9870)) Updated Android target SDK to 34.
125
+
126
+ ### Dependencies
127
+
128
+ - Upgraded to `tauri-cli@2.0.0-beta.19`
129
+
130
+ ### Breaking Changes
131
+
132
+ - [`265c23886`](https://www.github.com/tauri-apps/tauri/commit/265c23886ee5efbcc6d7188ff5c84cb32fa82aea)([#9375](https://www.github.com/tauri-apps/tauri/pull/9375)) Avoid renaming main binary to product name and perserve the name generated by cargo.
133
+ - [`1df5cdeb0`](https://www.github.com/tauri-apps/tauri/commit/1df5cdeb06f5464e0eec4055e21b7b7bc8739eed)([#9858](https://www.github.com/tauri-apps/tauri/pull/9858)) Use `tauri.conf.json > identifier` to set the `PackageName` in Android and `BundleId` in iOS.
134
+
135
+ ## \[2.0.0-beta.18]
136
+
137
+ ### Bug Fixes
138
+
139
+ - [`beda18bce`](https://www.github.com/tauri-apps/tauri/commit/beda18bce95fd6e10543b2d8f1eca5fb7ca0655b)([#9855](https://www.github.com/tauri-apps/tauri/pull/9855)) Fixed an issue that caused `tauri add` to fail for multiple rust-only and platform-specific plugins.
140
+ - [`4a33bc6a6`](https://www.github.com/tauri-apps/tauri/commit/4a33bc6a62d2ed9371191c8a7f78ff3f33930455)([#9553](https://www.github.com/tauri-apps/tauri/pull/9553)) Fixes `pnpm` detection when initializing and running a mobile project.
141
+
142
+ ### Dependencies
143
+
144
+ - Upgraded to `tauri-cli@2.0.0-beta.18`
145
+
146
+ ## \[2.0.0-beta.17]
147
+
148
+ ### Dependencies
149
+
150
+ - Upgraded to `tauri-cli@2.0.0-beta.17`
151
+
152
+ ## \[2.0.0-beta.16]
153
+
154
+ ### Bug Fixes
155
+
156
+ - [`97ec422f2`](https://www.github.com/tauri-apps/tauri/commit/97ec422f22d069b9570931834241c7e47bc68cc3)([#9638](https://www.github.com/tauri-apps/tauri/pull/9638)) Exit `tauri icon` with non-zero code when it fails.
157
+
158
+ ### Dependencies
159
+
160
+ - Upgraded to `tauri-cli@2.0.0-beta.16`
161
+
162
+ ## \[2.0.0-beta.15]
163
+
164
+ ### Dependencies
165
+
166
+ - Upgraded to `tauri-cli@2.0.0-beta.15`
167
+
168
+ ## \[2.0.0-beta.14]
169
+
170
+ ### Enhancements
171
+
172
+ - [`8a63ceb4f`](https://www.github.com/tauri-apps/tauri/commit/8a63ceb4f31c422311b0f7dff173a9c8c0e1a604)([#9473](https://www.github.com/tauri-apps/tauri/pull/9473)) Ignore `.DS_Store` by default for `tauri dev` hot reloads.
173
+
174
+ ### Bug Fixes
175
+
176
+ - [`e64b8f1dc`](https://www.github.com/tauri-apps/tauri/commit/e64b8f1dcedad3222f46755bf6f30392a7ec2f90)([#9479](https://www.github.com/tauri-apps/tauri/pull/9479)) Upgrade `heck` to v0.5 to better support Chinese and Japanese product name, because Chinese do not have word separation.
177
+ - [`aaa332c6e`](https://www.github.com/tauri-apps/tauri/commit/aaa332c6e78c956debd11efda021a0406621a01d)([#9540](https://www.github.com/tauri-apps/tauri/pull/9540)) Fix `tauri migrate` trying to migrate to a non-existing plugin.
178
+ - [`e64b8f1dc`](https://www.github.com/tauri-apps/tauri/commit/e64b8f1dcedad3222f46755bf6f30392a7ec2f90)([#9479](https://www.github.com/tauri-apps/tauri/pull/9479)) Fixed an issue causing the `build.runner` and `build.features` configs to not take effect.
179
+
180
+ ### Dependencies
181
+
182
+ - Upgraded to `tauri-cli@2.0.0-beta.14`
183
+
184
+ ## \[2.0.0-beta.13]
185
+
186
+ ### Bug Fixes
187
+
188
+ - [`73c1c2d33`](https://www.github.com/tauri-apps/tauri/commit/73c1c2d33872651c32c761c838714b684980c668)([#9457](https://www.github.com/tauri-apps/tauri/pull/9457)) Gracefully handle Non-UTF8 files when using `tauri migrate`
189
+ - [`9331435a5`](https://www.github.com/tauri-apps/tauri/commit/9331435a50cc3769720bd2671da8510699d28671)([#9412](https://www.github.com/tauri-apps/tauri/pull/9412)) Fix `tauri info` crashing when Node.js is not installed.
190
+
191
+ ### What's Changed
192
+
193
+ - [`8f4b1050c`](https://www.github.com/tauri-apps/tauri/commit/8f4b1050c4de0e9194680408ff3a6902b67045f8)([#9459](https://www.github.com/tauri-apps/tauri/pull/9459)) Show full expected path of `frontendDist` when if can't be found.
194
+
195
+ ### Dependencies
196
+
197
+ - Upgraded to `tauri-cli@2.0.0-beta.13`
198
+
199
+ ## \[2.0.0-beta.12]
200
+
201
+ ### New Features
202
+
203
+ - [`93e0e1392`](https://www.github.com/tauri-apps/tauri/commit/93e0e1392ec341fcadf696c03e78f0ca1e73c941) Support specifying a version for `tauri add` subcommand, for example: `tauri add window-state@2.0.0-beta.2`
204
+
205
+ ### Dependencies
206
+
207
+ - Upgraded to `tauri-cli@2.0.0-beta.12`
208
+
209
+ ## \[2.0.0-beta.11]
210
+
211
+ ### Enhancements
212
+
213
+ - [`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`.
214
+ - [`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.
215
+
216
+ ### Dependencies
217
+
218
+ - Upgraded to `tauri-cli@2.0.0-beta.11`
219
+
220
+ ## \[2.0.0-beta.10]
221
+
222
+ ### New Features
223
+
224
+ - [`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>`.
225
+
226
+ ### Dependencies
227
+
228
+ - Upgraded to `tauri-cli@2.0.0-beta.10`
229
+
230
+ ## \[2.0.0-beta.9]
231
+
232
+ ### Bug Fixes
233
+
234
+ - [`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`
235
+
236
+ ### Dependencies
237
+
238
+ - Upgraded to `tauri-cli@2.0.0-beta.9`
239
+
3
240
  ## \[2.0.0-beta.8]
4
241
 
5
242
  ### Enhancements
@@ -472,6 +709,16 @@
472
709
  - First mobile alpha release!
473
710
  - [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
474
711
 
712
+ ## \[1.5.11]
713
+
714
+ ### Bug Fixes
715
+
716
+ - [`b15948b11`](https://www.github.com/tauri-apps/tauri/commit/b15948b11c0e362eea7ef57a4606f15f7dbd886b)([#8903](https://www.github.com/tauri-apps/tauri/pull/8903)) Fix `.taurignore` failing to ignore in some cases.
717
+
718
+ ### Dependencies
719
+
720
+ - Upgraded to `tauri-cli@1.5.11`
721
+
475
722
  ## \[1.5.10]
476
723
 
477
724
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tauri-apps/cli",
3
- "version": "2.0.0-beta.8",
3
+ "version": "2.0.0-rc.0",
4
4
  "description": "Command line interface for building Tauri apps",
5
5
  "funding": {
6
6
  "type": "opencollective",
@@ -38,13 +38,13 @@
38
38
  }
39
39
  },
40
40
  "devDependencies": {
41
- "@napi-rs/cli": "2.16.1",
41
+ "@napi-rs/cli": "2.18.3",
42
42
  "cross-env": "7.0.3",
43
43
  "cross-spawn": "7.0.3",
44
- "fs-extra": "11.1.1",
44
+ "fs-extra": "11.2.0",
45
45
  "jest": "29.7.0",
46
46
  "jest-transform-toml": "1.0.0",
47
- "prettier": "2.8.8"
47
+ "prettier": "3.3.2"
48
48
  },
49
49
  "resolutions": {
50
50
  "json5": "2.2.3"
@@ -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.8",
72
- "@tauri-apps/cli-darwin-x64": "2.0.0-beta.8",
73
- "@tauri-apps/cli-linux-x64-gnu": "2.0.0-beta.8",
74
- "@tauri-apps/cli-darwin-arm64": "2.0.0-beta.8",
75
- "@tauri-apps/cli-linux-arm64-gnu": "2.0.0-beta.8",
76
- "@tauri-apps/cli-linux-arm64-musl": "2.0.0-beta.8",
77
- "@tauri-apps/cli-linux-arm-gnueabihf": "2.0.0-beta.8",
78
- "@tauri-apps/cli-linux-x64-musl": "2.0.0-beta.8",
79
- "@tauri-apps/cli-win32-ia32-msvc": "2.0.0-beta.8",
80
- "@tauri-apps/cli-win32-arm64-msvc": "2.0.0-beta.8"
71
+ "@tauri-apps/cli-win32-x64-msvc": "2.0.0-rc.0",
72
+ "@tauri-apps/cli-darwin-x64": "2.0.0-rc.0",
73
+ "@tauri-apps/cli-linux-x64-gnu": "2.0.0-rc.0",
74
+ "@tauri-apps/cli-darwin-arm64": "2.0.0-rc.0",
75
+ "@tauri-apps/cli-linux-arm64-gnu": "2.0.0-rc.0",
76
+ "@tauri-apps/cli-linux-arm64-musl": "2.0.0-rc.0",
77
+ "@tauri-apps/cli-linux-arm-gnueabihf": "2.0.0-rc.0",
78
+ "@tauri-apps/cli-linux-x64-musl": "2.0.0-rc.0",
79
+ "@tauri-apps/cli-win32-ia32-msvc": "2.0.0-rc.0",
80
+ "@tauri-apps/cli-win32-arm64-msvc": "2.0.0-rc.0"
81
81
  }
82
82
  }