@tauri-apps/cli 2.7.1 → 2.8.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # Changelog
2
2
 
3
+ ## \[2.8.0]
4
+
5
+ ### New Features
6
+
7
+ - [`91508c0b8`](https://www.github.com/tauri-apps/tauri/commit/91508c0b8d16ec61c7706e93b711c5a85aaffb4a) ([#13881](https://www.github.com/tauri-apps/tauri/pull/13881) by [@pepperoni505](https://www.github.com/tauri-apps/tauri/../../pepperoni505)) Introduces a new configuration option that allows you to specify custom folders to watch for changes when running `tauri dev`.
8
+ - [`bc4afe7dd`](https://www.github.com/tauri-apps/tauri/commit/bc4afe7dd4780f02c2d4b1f07d97185fbc5d2bba) ([#13993](https://www.github.com/tauri-apps/tauri/pull/13993) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Check installed plugin NPM/crate versions for incompatible releases.
9
+ - [`0c402bfb6`](https://www.github.com/tauri-apps/tauri/commit/0c402bfb6bd0bec24d928fcabe2ffef1f5cff19a) ([#13997](https://www.github.com/tauri-apps/tauri/pull/13997) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Increase default iOS deployment target iOS to 14.0.
10
+ - [`d6d5f3707`](https://www.github.com/tauri-apps/tauri/commit/d6d5f3707768a094ff7e961ae75ba0398d772655) ([#13358](https://www.github.com/tauri-apps/tauri/pull/13358) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Added `--root-certificate-path` option to `android dev` and `ios dev` to be able to connect to HTTPS dev servers.
11
+
12
+ ### Enhancements
13
+
14
+ - [`8b465a12b`](https://www.github.com/tauri-apps/tauri/commit/8b465a12ba73e94d7a3995defd9cc362d15eeebe) ([#13913](https://www.github.com/tauri-apps/tauri/pull/13913) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) The bundler now pulls the latest AppImage linuxdeploy plugin instead of using the built-in one. This should remove the libfuse requirement.
15
+ - [`390cb9c36`](https://www.github.com/tauri-apps/tauri/commit/390cb9c36a4e2416891b64514e7ad5fc0a85ccf2) ([#13953](https://www.github.com/tauri-apps/tauri/pull/13953) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) Reduced the log level of the binary patcher crate `goblin` to only show its debug logs in `-vv` and above.
16
+ - [`4475e93e1`](https://www.github.com/tauri-apps/tauri/commit/4475e93e136e9e2bd5f3c7817fa2040924f630f6) ([#13824](https://www.github.com/tauri-apps/tauri/pull/13824) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) The bundler and cli will now read TLS Certificates installed on the system when downloading tools and checking versions.
17
+
18
+ ### Bug Fixes
19
+
20
+ - [`f0dcf9637`](https://www.github.com/tauri-apps/tauri/commit/f0dcf9637cc0d42eda05fed7dd6c5ff98bbf19ae) ([#13980](https://www.github.com/tauri-apps/tauri/pull/13980) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Fix the generated plugin init code of `tauri add` for `tauri-plugin-autostart` and `tauri-plugin-single-instance`
21
+ - [`4d270a96a`](https://www.github.com/tauri-apps/tauri/commit/4d270a96a891ae83f7df751abcbe12b7072212d5) ([#13943](https://www.github.com/tauri-apps/tauri/pull/13943) by [@acx0](https://www.github.com/tauri-apps/tauri/../../acx0)) Fix codesigning verification failures caused by binary-patching during bundling
22
+ - [`b21d86a8a`](https://www.github.com/tauri-apps/tauri/commit/b21d86a8a3ef29f16628b7d4de17ce1214e9bf49) ([#13981](https://www.github.com/tauri-apps/tauri/pull/13981) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Fix `tauri permission add` could add duplicated permissions to the capability files
23
+ - [`9c938be45`](https://www.github.com/tauri-apps/tauri/commit/9c938be4520fce9204361f3b59439844bc5c91e8) ([#13912](https://www.github.com/tauri-apps/tauri/pull/13912) by [@takecchi](https://www.github.com/tauri-apps/tauri/../../takecchi)) Properly migrate svelte to v5 in the plugin example template
24
+
25
+ ### Dependencies
26
+
27
+ - Upgraded to `tauri-cli@2.8.0`
28
+
3
29
  ## \[2.7.1]
4
30
 
5
31
  ### Dependencies
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://schema.tauri.app/config/2.7.0",
3
+ "$id": "https://schema.tauri.app/config/2.8.0",
4
4
  "title": "Config",
5
5
  "description": "The Tauri configuration object.\n It is read from a file where you can define your frontend assets,\n configure the bundler and define a tray icon.\n\n The configuration file is generated by the\n [`tauri init`](https://v2.tauri.app/reference/cli/#init) command that lives in\n your Tauri application source directory (src-tauri).\n\n Once generated, you may modify it at will to customize your Tauri application.\n\n ## File Formats\n\n By default, the configuration is defined as a JSON file named `tauri.conf.json`.\n\n Tauri also supports JSON5 and TOML files via the `config-json5` and `config-toml` Cargo features, respectively.\n The JSON5 file name must be either `tauri.conf.json` or `tauri.conf.json5`.\n The TOML file name is `Tauri.toml`.\n\n ## Platform-Specific Configuration\n\n In addition to the default configuration file, Tauri can\n read a platform-specific configuration from `tauri.linux.conf.json`,\n `tauri.windows.conf.json`, `tauri.macos.conf.json`, `tauri.android.conf.json` and `tauri.ios.conf.json`\n (or `Tauri.linux.toml`, `Tauri.windows.toml`, `Tauri.macos.toml`, `Tauri.android.toml` and `Tauri.ios.toml` if the `Tauri.toml` format is used),\n which gets merged with the main configuration object.\n\n ## Configuration Structure\n\n The configuration is composed of the following objects:\n\n - [`app`](#appconfig): The Tauri configuration\n - [`build`](#buildconfig): The build configuration\n - [`bundle`](#bundleconfig): The bundle configurations\n - [`plugins`](#pluginconfig): The plugins configuration\n\n Example tauri.config.json file:\n\n ```json\n {\n \"productName\": \"tauri-app\",\n \"version\": \"0.1.0\",\n \"build\": {\n \"beforeBuildCommand\": \"\",\n \"beforeDevCommand\": \"\",\n \"devUrl\": \"http://localhost:3000\",\n \"frontendDist\": \"../dist\"\n },\n \"app\": {\n \"security\": {\n \"csp\": null\n },\n \"windows\": [\n {\n \"fullscreen\": false,\n \"height\": 600,\n \"resizable\": true,\n \"title\": \"Tauri App\",\n \"width\": 800\n }\n ]\n },\n \"bundle\": {},\n \"plugins\": {}\n }\n ```",
6
6
  "type": "object",
@@ -70,6 +70,7 @@
70
70
  "build": {
71
71
  "description": "The build configuration.",
72
72
  "default": {
73
+ "additionalWatchFolders": [],
73
74
  "removeUnusedCommands": false
74
75
  },
75
76
  "allOf": [
@@ -87,7 +88,7 @@
87
88
  },
88
89
  "createUpdaterArtifacts": false,
89
90
  "iOS": {
90
- "minimumSystemVersion": "13.0"
91
+ "minimumSystemVersion": "14.0"
91
92
  },
92
93
  "icon": [],
93
94
  "linux": {
@@ -365,6 +366,11 @@
365
366
  "default": true,
366
367
  "type": "boolean"
367
368
  },
369
+ "focusable": {
370
+ "description": "Whether the window will be focusable or not.",
371
+ "default": true,
372
+ "type": "boolean"
373
+ },
368
374
  "transparent": {
369
375
  "description": "Whether the window is transparent or not.\n\n Note that on `macOS` this requires the `macos-private-api` feature flag, enabled under `tauri > macOSPrivateApi`.\n WARNING: Using private APIs on `macOS` prevents your application from being accepted to the `App Store`.",
370
376
  "default": false,
@@ -1070,14 +1076,14 @@
1070
1076
  ]
1071
1077
  },
1072
1078
  {
1073
- "description": "A policy where a web view thats not in a window fully suspends tasks. This is usually the default behavior in case no policy is set.",
1079
+ "description": "A policy where a web view that's not in a window fully suspends tasks. This is usually the default behavior in case no policy is set.",
1074
1080
  "type": "string",
1075
1081
  "enum": [
1076
1082
  "suspend"
1077
1083
  ]
1078
1084
  },
1079
1085
  {
1080
- "description": "A policy where a web view thats not in a window limits processing, but does not fully suspend tasks.",
1086
+ "description": "A policy where a web view that's not in a window limits processing, but does not fully suspend tasks.",
1081
1087
  "type": "string",
1082
1088
  "enum": [
1083
1089
  "throttle"
@@ -1149,7 +1155,7 @@
1149
1155
  ]
1150
1156
  },
1151
1157
  "capabilities": {
1152
- "description": "List of capabilities that are enabled on the application.\n\n If the list is empty, all capabilities are included.",
1158
+ "description": "List of capabilities that are enabled on the application.\n\n By default (not set or empty list), all capability files from `./capabilities/` are included,\n by setting values in this entry, you have fine grained control over which capabilities are included\n\n You can either reference a capability file defined in `./capabilities/` with its identifier or inline a [`Capability`]\n\n ### Example\n\n ```json\n {\n \"app\": {\n \"capabilities\": [\n \"main-window\",\n {\n \"identifier\": \"drag-window\",\n \"permissions\": [\"core:window:allow-start-dragging\"]\n }\n ]\n }\n }\n ```",
1153
1159
  "default": [],
1154
1160
  "type": "array",
1155
1161
  "items": {
@@ -1880,6 +1886,14 @@
1880
1886
  "description": "Try to remove unused commands registered from plugins base on the ACL list during `tauri build`,\n the way it works is that tauri-cli will read this and set the environment variables for the build script and macros,\n and they'll try to get all the allowed commands and remove the rest\n\n Note:\n - This won't be accounting for dynamically added ACLs when you use features from the `dynamic-acl` (currently enabled by default) feature flag, so make sure to check it when using this\n - This feature requires tauri-plugin 2.1 and tauri 2.4",
1881
1887
  "default": false,
1882
1888
  "type": "boolean"
1889
+ },
1890
+ "additionalWatchFolders": {
1891
+ "description": "Additional paths to watch for changes when running `tauri dev`.",
1892
+ "default": [],
1893
+ "type": "array",
1894
+ "items": {
1895
+ "type": "string"
1896
+ }
1883
1897
  }
1884
1898
  },
1885
1899
  "additionalProperties": false
@@ -2208,7 +2222,7 @@
2208
2222
  "iOS": {
2209
2223
  "description": "iOS configuration.",
2210
2224
  "default": {
2211
- "minimumSystemVersion": "13.0"
2225
+ "minimumSystemVersion": "14.0"
2212
2226
  },
2213
2227
  "allOf": [
2214
2228
  {
@@ -2778,6 +2792,11 @@
2778
2792
  "string",
2779
2793
  "null"
2780
2794
  ]
2795
+ },
2796
+ "fipsCompliant": {
2797
+ "description": "Enables FIPS compliant algorithms.\n Can also be enabled via the `TAURI_BUNDLER_WIX_FIPS_COMPLIANT` env var.",
2798
+ "default": false,
2799
+ "type": "boolean"
2781
2800
  }
2782
2801
  },
2783
2802
  "additionalProperties": false
@@ -3673,7 +3692,7 @@
3673
3692
  },
3674
3693
  "minimumSystemVersion": {
3675
3694
  "description": "A version string indicating the minimum iOS version that the bundled application supports. Defaults to `13.0`.\n\n Maps to the IPHONEOS_DEPLOYMENT_TARGET value.",
3676
- "default": "13.0",
3695
+ "default": "14.0",
3677
3696
  "type": "string"
3678
3697
  }
3679
3698
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tauri-apps/cli",
3
- "version": "2.7.1",
3
+ "version": "2.8.0",
4
4
  "description": "Command line interface for building Tauri apps",
5
5
  "funding": {
6
6
  "type": "opencollective",
@@ -42,7 +42,7 @@
42
42
  "devDependencies": {
43
43
  "@napi-rs/cli": "^3.0.0",
44
44
  "@types/node": "^22.15.32",
45
- "cross-env": "7.0.3",
45
+ "cross-env": "10.0.0",
46
46
  "vitest": "^3.2.4"
47
47
  },
48
48
  "engines": {
@@ -64,16 +64,16 @@
64
64
  "tauri": "node ./tauri.js"
65
65
  },
66
66
  "optionalDependencies": {
67
- "@tauri-apps/cli-linux-x64-gnu": "2.7.1",
68
- "@tauri-apps/cli-win32-x64-msvc": "2.7.1",
69
- "@tauri-apps/cli-darwin-x64": "2.7.1",
70
- "@tauri-apps/cli-darwin-arm64": "2.7.1",
71
- "@tauri-apps/cli-linux-arm64-gnu": "2.7.1",
72
- "@tauri-apps/cli-linux-arm64-musl": "2.7.1",
73
- "@tauri-apps/cli-linux-arm-gnueabihf": "2.7.1",
74
- "@tauri-apps/cli-linux-x64-musl": "2.7.1",
75
- "@tauri-apps/cli-linux-riscv64-gnu": "2.7.1",
76
- "@tauri-apps/cli-win32-ia32-msvc": "2.7.1",
77
- "@tauri-apps/cli-win32-arm64-msvc": "2.7.1"
67
+ "@tauri-apps/cli-linux-x64-gnu": "2.8.0",
68
+ "@tauri-apps/cli-win32-x64-msvc": "2.8.0",
69
+ "@tauri-apps/cli-darwin-x64": "2.8.0",
70
+ "@tauri-apps/cli-darwin-arm64": "2.8.0",
71
+ "@tauri-apps/cli-linux-arm64-gnu": "2.8.0",
72
+ "@tauri-apps/cli-linux-arm64-musl": "2.8.0",
73
+ "@tauri-apps/cli-linux-arm-gnueabihf": "2.8.0",
74
+ "@tauri-apps/cli-linux-x64-musl": "2.8.0",
75
+ "@tauri-apps/cli-linux-riscv64-gnu": "2.8.0",
76
+ "@tauri-apps/cli-win32-ia32-msvc": "2.8.0",
77
+ "@tauri-apps/cli-win32-arm64-msvc": "2.8.0"
78
78
  }
79
79
  }