@tauri-apps/cli 3.0.0-alpha.3 → 3.0.0-alpha.4

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,23 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.0.0-alpha.4]
4
+
5
+ ### New Features
6
+
7
+ - [`49dc7cc39`](https://www.github.com/tauri-apps/tauri/commit/49dc7cc39017f63b81adb09303d9b82d5b71207a) `tauri migrate` now migrates Tauri v2 apps to v3 (v1 and v2 beta apps continue to v3 after their existing migration):
8
+
9
+ - The Tauri crates and official plugins are updated to v3 in `Cargo.toml` and `package.json`, and the app depends on `tauri-runtime-wry`, which receives the `devtools`, `unstable`, `tracing`, `x11`, `dbus` and `macos-proxy` features (including the ones enabled through the app's own `[features]`). The removed `wry`, `macos-private-api` and `objc-exception` features are dropped.
10
+ - The `app > macOSPrivateApi` option is removed and the NSIS `install-icon` key is renamed to `installer-icon` in the main and platform-specific configuration files, keeping their formatting and comments.
11
+ - The Rust sources select the runtime with `.runtime(tauri_runtime_wry::Wry::default())` on `tauri::Builder::default()`, use `tauri::DynRuntime` instead of `tauri::Wry`, and pick up the renamed `with_inner_blocking`, `initialization_script`, `run_invoke_handler`, `tauri_runtime_wry::{tao, wry, android_binding, webview_version}` APIs.
12
+
13
+ ### Dependencies
14
+
15
+ - Upgraded to `tauri-cli@3.0.0-alpha.4`
16
+
17
+ ### Breaking Changes
18
+
19
+ - [`b9a77ebb8`](https://www.github.com/tauri-apps/tauri/commit/b9a77ebb8ab57480a354ec47aa45c6898ec9bfda) Removed the `macos-private-api` Cargo feature and the `app > macOSPrivateApi` configuration option. Window transparency and the `fullScreenEnabled` preference no longer rely on macOS private APIs, so they are always available.
20
+
3
21
  ## [3.0.0-alpha.3]
4
22
 
5
23
  ### Bug Fixes
@@ -62,6 +80,16 @@
62
80
  - Nothing runtime-specific is done for other runtimes.
63
81
  - The app and plugin templates add the `tauri-runtime-wry` dependency and select it with `tauri::Builder::default().runtime(tauri_runtime_wry::Wry::default())`.
64
82
 
83
+ ## [2.12.1]
84
+
85
+ ### Enhancements
86
+
87
+ - [`64bfdd909`](https://www.github.com/tauri-apps/tauri/commit/64bfdd909c5c3f0828371e4995b69ad5ed685126) ([#16165](https://www.github.com/tauri-apps/tauri/pull/16165) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Ignore `src-tauri` in `tauri plugin init` example template
88
+
89
+ ### Dependencies
90
+
91
+ - Upgraded to `tauri-cli@2.12.1`
92
+
65
93
  ## [2.12.0]
66
94
 
67
95
  ### New Features
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schema.tauri.app/config/3.0.0-alpha.3",
2
+ "$id": "https://schema.tauri.app/config/3.0.0-alpha.4",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Config",
5
5
  "description": "The Tauri configuration object.\nIt is read from a file where you can define your frontend assets,\nconfigure the bundler and define a tray icon.\n\nThe configuration file is generated by the\n[`tauri init`](https://v2.tauri.app/reference/cli/#init) command that lives in\nyour Tauri application source directory (src-tauri).\n\nOnce generated, you may modify it at will to customize your Tauri application.\n\n## File Formats\n\nBy default, the configuration is defined as a JSON file named `tauri.conf.json`.\n\nTauri also supports JSON5 and TOML files via the `config-json5` and `config-toml` Cargo features, respectively.\nThe JSON5 file name must be either `tauri.conf.json` or `tauri.conf.json5`.\nThe TOML file name is `Tauri.toml`.\n\n## Platform-Specific Configuration\n\nIn addition to the default configuration file, Tauri can\nread 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),\nwhich gets merged with the main configuration object.\n\n## Configuration Structure\n\nThe 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\nExample 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```",
@@ -54,7 +54,6 @@
54
54
  },
55
55
  "capabilities": []
56
56
  },
57
- "macOSPrivateApi": false,
58
57
  "withGlobalTauri": false,
59
58
  "enableGTKAppId": false
60
59
  },
@@ -211,11 +210,6 @@
211
210
  }
212
211
  ]
213
212
  },
214
- "macOSPrivateApi": {
215
- "description": "MacOS private API configuration. Enables the transparent background API and sets the `fullScreenEnabled` preference to `true`.",
216
- "type": "boolean",
217
- "default": false
218
- },
219
213
  "withGlobalTauri": {
220
214
  "description": "Whether we should inject the Tauri API on `window.__TAURI__` or not.",
221
215
  "type": "boolean",
@@ -392,7 +386,7 @@
392
386
  "default": true
393
387
  },
394
388
  "transparent": {
395
- "description": "Whether the window is transparent or not.\n\n## Platform-specific\n\n- **macOS**: Requires the `macos-private-api` Cargo feature, which is enabled by setting\n `app > macOSPrivateApi` to `true` in the configuration file.\n **WARNING:** Using private APIs on macOS prevents your application from being accepted to the App Store.\n If you only need a translucent background, use `windowEffects` instead, which relies on public APIs.\n- **Windows**: Using `noRedirectionBitmap` can help avoid a white flash when creating a transparent window.\n- **CEF runtime**: The window can be transparent but the webview cannot: a windowed Chromium browser paints an opaque background. The runtime logs a warning.",
389
+ "description": "Whether the window is transparent or not.\n\n## Platform-specific\n\n- **Windows**: Using `noRedirectionBitmap` can help avoid a white flash when creating a transparent window.\n- **CEF runtime**: The window can be transparent but the webview cannot: a windowed Chromium browser paints an opaque background. The runtime logs a warning.",
396
390
  "type": "boolean",
397
391
  "default": false
398
392
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tauri-apps/cli",
3
- "version": "3.0.0-alpha.3",
3
+ "version": "3.0.0-alpha.4",
4
4
  "description": "Command line interface for building Tauri apps",
5
5
  "type": "commonjs",
6
6
  "funding": {
@@ -66,16 +66,16 @@
66
66
  "tauri": "node ./tauri.js"
67
67
  },
68
68
  "optionalDependencies": {
69
- "@tauri-apps/cli-linux-x64-gnu": "3.0.0-alpha.3",
70
- "@tauri-apps/cli-win32-x64-msvc": "3.0.0-alpha.3",
71
- "@tauri-apps/cli-darwin-x64": "3.0.0-alpha.3",
72
- "@tauri-apps/cli-darwin-arm64": "3.0.0-alpha.3",
73
- "@tauri-apps/cli-linux-arm64-gnu": "3.0.0-alpha.3",
74
- "@tauri-apps/cli-linux-arm64-musl": "3.0.0-alpha.3",
75
- "@tauri-apps/cli-linux-arm-gnueabihf": "3.0.0-alpha.3",
76
- "@tauri-apps/cli-linux-x64-musl": "3.0.0-alpha.3",
77
- "@tauri-apps/cli-linux-riscv64-gnu": "3.0.0-alpha.3",
78
- "@tauri-apps/cli-win32-ia32-msvc": "3.0.0-alpha.3",
79
- "@tauri-apps/cli-win32-arm64-msvc": "3.0.0-alpha.3"
69
+ "@tauri-apps/cli-linux-x64-gnu": "3.0.0-alpha.4",
70
+ "@tauri-apps/cli-win32-x64-msvc": "3.0.0-alpha.4",
71
+ "@tauri-apps/cli-darwin-x64": "3.0.0-alpha.4",
72
+ "@tauri-apps/cli-darwin-arm64": "3.0.0-alpha.4",
73
+ "@tauri-apps/cli-linux-arm64-gnu": "3.0.0-alpha.4",
74
+ "@tauri-apps/cli-linux-arm64-musl": "3.0.0-alpha.4",
75
+ "@tauri-apps/cli-linux-arm-gnueabihf": "3.0.0-alpha.4",
76
+ "@tauri-apps/cli-linux-x64-musl": "3.0.0-alpha.4",
77
+ "@tauri-apps/cli-linux-riscv64-gnu": "3.0.0-alpha.4",
78
+ "@tauri-apps/cli-win32-ia32-msvc": "3.0.0-alpha.4",
79
+ "@tauri-apps/cli-win32-arm64-msvc": "3.0.0-alpha.4"
80
80
  }
81
81
  }