From 86f22f0ec9fae91d9dd7a02d2855d05ffee8d671 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 Nov 2024 15:47:39 +0200 Subject: [PATCH] apply version updates (#11440) Co-authored-by: amrbashir --- .changes/add-headers-config-option.md | 5 --- .changes/android-home-dir.md | 5 --- .changes/api-dpi-toIPC.md | 10 ----- .changes/background-color-apis.md | 6 --- .changes/background-color.md | 8 ---- .changes/bundler-fragment-handlebars.md | 7 --- .changes/bundler-linux-recommends.md | 6 --- .changes/child-windows-macos.md | 7 --- .changes/cli-migrate-deno.md | 7 --- .changes/cli-remove-command.md | 6 --- .changes/cli-updater-errorr.md | 7 --- .changes/cli-yarn-berry.md | 6 --- .changes/config-devtools.md | 8 ---- .changes/curosr-position-gtk.md | 6 --- .changes/enhance-async-commands-error.md | 6 --- .changes/enhance-resource-dir-linux.md | 5 --- .changes/event-anylabel-fix.md | 5 --- .changes/js-submenu-in-options.md | 5 --- .changes/migrate-schema.md | 6 --- .changes/permission-add-default-windows.md | 6 --- .changes/resolve_command_scope.md | 5 --- .changes/rpm-compression-level.md | 10 ----- .changes/tauri-toIPC copy.md | 5 --- .changes/tray-async-command.md | 5 --- ...e-public-network-ip-windows-dev-android.md | 6 --- .../use_https_windows-and-android-config.md | 6 --- .changes/use_https_windows-and-android.md | 7 --- .changes/utils-acl-path-errors.md | 6 --- .changes/webview-builder-devtools.md | 8 ---- .changes/webview-focus-apis.md | 5 --- .changes/webview-window-focused.md | 7 --- .changes/window-class-name-config-api.md | 5 --- .changes/window-class-name-config.md | 6 --- .changes/window-class-name.md | 7 --- Cargo.lock | 44 +++++++++---------- crates/tauri-build/CHANGELOG.md | 7 +++ crates/tauri-build/Cargo.toml | 6 +-- crates/tauri-bundler/CHANGELOG.md | 12 +++++ crates/tauri-bundler/Cargo.toml | 4 +- crates/tauri-cli/CHANGELOG.md | 25 +++++++++++ crates/tauri-cli/Cargo.toml | 6 +-- crates/tauri-cli/config.schema.json | 2 +- crates/tauri-cli/metadata-v2.json | 8 ++-- crates/tauri-codegen/CHANGELOG.md | 6 +++ crates/tauri-codegen/Cargo.toml | 4 +- crates/tauri-macros/CHANGELOG.md | 11 +++++ crates/tauri-macros/Cargo.toml | 6 +-- crates/tauri-plugin/CHANGELOG.md | 6 +++ crates/tauri-plugin/Cargo.toml | 4 +- crates/tauri-runtime-wry/CHANGELOG.md | 20 +++++++++ crates/tauri-runtime-wry/Cargo.toml | 6 +-- crates/tauri-runtime/CHANGELOG.md | 17 +++++++ crates/tauri-runtime/Cargo.toml | 4 +- .../schemas/config.schema.json | 2 +- crates/tauri-utils/CHANGELOG.md | 19 ++++++++ crates/tauri-utils/Cargo.toml | 2 +- crates/tauri/CHANGELOG.md | 43 ++++++++++++++++++ crates/tauri/Cargo.toml | 14 +++--- packages/api/CHANGELOG.md | 18 ++++++++ packages/api/package.json | 2 +- packages/cli/CHANGELOG.md | 23 ++++++++++ packages/cli/package.json | 2 +- 62 files changed, 265 insertions(+), 273 deletions(-) delete mode 100644 .changes/add-headers-config-option.md delete mode 100644 .changes/android-home-dir.md delete mode 100644 .changes/api-dpi-toIPC.md delete mode 100644 .changes/background-color-apis.md delete mode 100644 .changes/background-color.md delete mode 100644 .changes/bundler-fragment-handlebars.md delete mode 100644 .changes/bundler-linux-recommends.md delete mode 100644 .changes/child-windows-macos.md delete mode 100644 .changes/cli-migrate-deno.md delete mode 100644 .changes/cli-remove-command.md delete mode 100644 .changes/cli-updater-errorr.md delete mode 100644 .changes/cli-yarn-berry.md delete mode 100644 .changes/config-devtools.md delete mode 100644 .changes/curosr-position-gtk.md delete mode 100644 .changes/enhance-async-commands-error.md delete mode 100644 .changes/enhance-resource-dir-linux.md delete mode 100644 .changes/event-anylabel-fix.md delete mode 100644 .changes/js-submenu-in-options.md delete mode 100644 .changes/migrate-schema.md delete mode 100644 .changes/permission-add-default-windows.md delete mode 100644 .changes/resolve_command_scope.md delete mode 100644 .changes/rpm-compression-level.md delete mode 100644 .changes/tauri-toIPC copy.md delete mode 100644 .changes/tray-async-command.md delete mode 100644 .changes/use-public-network-ip-windows-dev-android.md delete mode 100644 .changes/use_https_windows-and-android-config.md delete mode 100644 .changes/use_https_windows-and-android.md delete mode 100644 .changes/utils-acl-path-errors.md delete mode 100644 .changes/webview-builder-devtools.md delete mode 100644 .changes/webview-focus-apis.md delete mode 100644 .changes/webview-window-focused.md delete mode 100644 .changes/window-class-name-config-api.md delete mode 100644 .changes/window-class-name-config.md delete mode 100644 .changes/window-class-name.md diff --git a/.changes/add-headers-config-option.md b/.changes/add-headers-config-option.md deleted file mode 100644 index 67da5948ffea..000000000000 --- a/.changes/add-headers-config-option.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-utils": 'minor:feat' -"tauri": 'minor:feat' ---- -Adds a new configuration option `app > security > headers` to define headers that will be added to every http response from tauri to the web view. This doesn't include IPC messages and error responses. diff --git a/.changes/android-home-dir.md b/.changes/android-home-dir.md deleted file mode 100644 index b2b5a5885cd0..000000000000 --- a/.changes/android-home-dir.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": "patch:feat" ---- - -Add `PathResolver::home_dir()` method on Android. diff --git a/.changes/api-dpi-toIPC.md b/.changes/api-dpi-toIPC.md deleted file mode 100644 index c0258131e598..000000000000 --- a/.changes/api-dpi-toIPC.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@tauri-apps/api": "minor:feat" -"tauri": "minor:feat" ---- - -Improved support for `dpi` module types to allow these types to be used without manual conversions with `invoke`: - -- Added `SERIALIZE_TO_IPC_FN` const in `core` module which can be used to implement custom IPC serialization for types passed to `invoke`. -- Added `Size` and `Position` classes in `dpi` module. -- Implementd `SERIALIZE_TO_IPC_FN` method on `PhysicalSize`, `PhysicalPosition`, `LogicalSize` and `LogicalPosition` to convert it into a valid IPC-compatible value that can be deserialized correctly on the Rust side into its equivalent struct. diff --git a/.changes/background-color-apis.md b/.changes/background-color-apis.md deleted file mode 100644 index 853a7540e87b..000000000000 --- a/.changes/background-color-apis.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@tauri-apps/api": minor:feat ---- - -Added `Webview::setBackgroundColor`, `WebviewWindow::setBackgroundColor` APIs to set the window background color dynamically -and a `backgroundColor` window option to set the background color on window creation. diff --git a/.changes/background-color.md b/.changes/background-color.md deleted file mode 100644 index 35d120c4ef1e..000000000000 --- a/.changes/background-color.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri": minor:feat -"tauri-utils": minor:feat -"tauri-runtime": minor:feat -"tauri-runtime-wry": minor:feat ---- - -Added `Window::set_background_color` and `WindowBuilder::background_color`. diff --git a/.changes/bundler-fragment-handlebars.md b/.changes/bundler-fragment-handlebars.md deleted file mode 100644 index d836fec27ad5..000000000000 --- a/.changes/bundler-fragment-handlebars.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-bundler": "minor:feat" -"tauri-cli": "minor:feat" ---- - -Process `bundle > windows > wix > fragmentPaths` with Handlebars to interpolate expressions within it. - diff --git a/.changes/bundler-linux-recommends.md b/.changes/bundler-linux-recommends.md deleted file mode 100644 index 13a18b9f8025..000000000000 --- a/.changes/bundler-linux-recommends.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-bundler": "patch:feat" ---- - -Add `bundle > linux > deb > recommends` and `bundle > linux > rpm > recommends` fields to declare a strong, but not absolute, dependency for your `.deb` and `.rpm` packages. - diff --git a/.changes/child-windows-macos.md b/.changes/child-windows-macos.md deleted file mode 100644 index 4c9f52651702..000000000000 --- a/.changes/child-windows-macos.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": "patch:bug" -"tauri-runtime-wry": "patch:bug" ---- - -Fix regression in creating child webviews on macOS and Windows, covering the whole window. - diff --git a/.changes/cli-migrate-deno.md b/.changes/cli-migrate-deno.md deleted file mode 100644 index 63e58dcfdb3f..000000000000 --- a/.changes/cli-migrate-deno.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-cli": "patch:bug" -"@tauri-apps/cli": "patch:bug" ---- - -Fix `tauri migrate` failing to install NPM depenencies when running from Deno. - diff --git a/.changes/cli-remove-command.md b/.changes/cli-remove-command.md deleted file mode 100644 index 523c08082bc0..000000000000 --- a/.changes/cli-remove-command.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": minor:feat -"@tauri-apps/cli": minor:feat ---- - -Add `tauri remove` to remove plugins from projects. diff --git a/.changes/cli-updater-errorr.md b/.changes/cli-updater-errorr.md deleted file mode 100644 index 8a865ac290d5..000000000000 --- a/.changes/cli-updater-errorr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-cli": "patch:enhance" -"@tauri-apps/cli": "patch:enhance" ---- - -Add more context for errors when decoding secret and public keys for signing updater artifacts. - diff --git a/.changes/cli-yarn-berry.md b/.changes/cli-yarn-berry.md deleted file mode 100644 index 6c75565de6b6..000000000000 --- a/.changes/cli-yarn-berry.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": "patch:bug" -"@tauri-apps/cli": "patch:bug" ---- - -Fix detecting yarn berry (v2 and higher) in various tauri cli commands. diff --git a/.changes/config-devtools.md b/.changes/config-devtools.md deleted file mode 100644 index a75ecfbc1f14..000000000000 --- a/.changes/config-devtools.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri": "patch:feat" -"tauri-utils": "patch:feat" -"@tauri-apps/api": "patch:feat" ---- - -Add `app > windows > devtools` config option and when creating the webview from JS, to enable or disable devtools for a specific webview. - diff --git a/.changes/curosr-position-gtk.md b/.changes/curosr-position-gtk.md deleted file mode 100644 index 4bc87b6bb9c6..000000000000 --- a/.changes/curosr-position-gtk.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": "patch:bug" -"tauri-runtime-wry": "patch:bug" ---- - -Fix `App/AppHandle/Window/Webview/WebviewWindow::cursor_position` getter method failing on Linux with `GDK may only be used from the main thread`. diff --git a/.changes/enhance-async-commands-error.md b/.changes/enhance-async-commands-error.md deleted file mode 100644 index e7be9d49383a..000000000000 --- a/.changes/enhance-async-commands-error.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": "patch:enhance" -"tauri-macros": "patch:enhance" ---- - -Enhance the error message when using `async` commands with a reference. diff --git a/.changes/enhance-resource-dir-linux.md b/.changes/enhance-resource-dir-linux.md deleted file mode 100644 index c528bad12467..000000000000 --- a/.changes/enhance-resource-dir-linux.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-utils": patch:bug ---- - -Enhance resource directory resolution to support running on distros like NixOS. diff --git a/.changes/event-anylabel-fix.md b/.changes/event-anylabel-fix.md deleted file mode 100644 index cdf47c67c7c4..000000000000 --- a/.changes/event-anylabel-fix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": "patch:bug" ---- - -Fix listeners created with `EventTarget::AnyLabel` never receiving events. diff --git a/.changes/js-submenu-in-options.md b/.changes/js-submenu-in-options.md deleted file mode 100644 index 3a0ae0c8a280..000000000000 --- a/.changes/js-submenu-in-options.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": "patch:bug" ---- - -Fix submenu created as a menu item instead of a submenu when created by using an object in the `items` field in the options object passed to `Menu.new` or `Submenu.new`. diff --git a/.changes/migrate-schema.md b/.changes/migrate-schema.md deleted file mode 100644 index 1430e589853c..000000000000 --- a/.changes/migrate-schema.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@tauri-apps/cli": patch:enhance -"tauri-cli": patch:enhance ---- - -Migrate the `$schema` Tauri configuration to the v2 format. diff --git a/.changes/permission-add-default-windows.md b/.changes/permission-add-default-windows.md deleted file mode 100644 index 3540e83e44e9..000000000000 --- a/.changes/permission-add-default-windows.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@tauri-apps/cli": patch:enhance -"tauri-cli": patch:enhance ---- - -Associate a newly created capability file with the `main` window on the `tauri add` and `tauri permission add` commands. diff --git a/.changes/resolve_command_scope.md b/.changes/resolve_command_scope.md deleted file mode 100644 index 8245a8acb3aa..000000000000 --- a/.changes/resolve_command_scope.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:feat ---- - -Added `WebviewWindow::resolve_command_scope` to check a command scope at runtime. diff --git a/.changes/rpm-compression-level.md b/.changes/rpm-compression-level.md deleted file mode 100644 index 5a2017fea94d..000000000000 --- a/.changes/rpm-compression-level.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"tauri-bundler": "minor:feat" -"tauri-cli": "minor:feat" -"@tauri-apps/cli": "minor:feat" -"tauri-utils": "minor:feat" ---- - -Add `bundle > linux > rpm > compression` config option to control RPM bundle compression type and level. - - diff --git a/.changes/tauri-toIPC copy.md b/.changes/tauri-toIPC copy.md deleted file mode 100644 index e4957e3ecf08..000000000000 --- a/.changes/tauri-toIPC copy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": "minor:feat" ---- - -Detect if `SERIALIZE_TO_IPC_FN`, const from the JS `core` module, is implemented on objects when serializing over IPC and use it. diff --git a/.changes/tray-async-command.md b/.changes/tray-async-command.md deleted file mode 100644 index 9e40178190e2..000000000000 --- a/.changes/tray-async-command.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": "patch:bug" ---- - -Fix tray events not fired for tray icons created inside an async command. diff --git a/.changes/use-public-network-ip-windows-dev-android.md b/.changes/use-public-network-ip-windows-dev-android.md deleted file mode 100644 index 87940f566cc4..000000000000 --- a/.changes/use-public-network-ip-windows-dev-android.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:bug -"@tauri-apps/cli": patch:bug ---- - -Use the public network IP address on `android dev` by default on Windows. diff --git a/.changes/use_https_windows-and-android-config.md b/.changes/use_https_windows-and-android-config.md deleted file mode 100644 index 3e5598a89e42..000000000000 --- a/.changes/use_https_windows-and-android-config.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": "minor:feat" -"tauri-utils": "minor:feat" ---- - -Add `app > windows > useHttpsScheme` config option to choose whether the custom protocols should use `https://.localhost` instead of the default `http://.localhost` on Windows and Android diff --git a/.changes/use_https_windows-and-android.md b/.changes/use_https_windows-and-android.md deleted file mode 100644 index 0e1bbb1a6c6d..000000000000 --- a/.changes/use_https_windows-and-android.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": "minor:feat" -"tauri-runtime": "minor:feat" -"tauri-runtime-wry": "minor:feat" ---- - -Add `WebviewWindowBuilder/WebviewBuilder::use_https_scheme` to choose whether the custom protocols should use `https://.localhost` instead of the default `http://.localhost` on Windows and Android diff --git a/.changes/utils-acl-path-errors.md b/.changes/utils-acl-path-errors.md deleted file mode 100644 index 95fcf0fe3be1..000000000000 --- a/.changes/utils-acl-path-errors.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": minor:enhance -"tauri-utils": minor:enhance ---- - -Include the path in ACL I/O errors. \ No newline at end of file diff --git a/.changes/webview-builder-devtools.md b/.changes/webview-builder-devtools.md deleted file mode 100644 index 5db1761729b0..000000000000 --- a/.changes/webview-builder-devtools.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri": "patch:feat" -"tauri-runtime": "patch:feat" -"tauri-runtime-wry": "patch:feat" ---- - -Add `WebviewWindowBuilder::devtools` and `WebviewBuilder::devtools` to enable or disable devtools for a specific webview. - diff --git a/.changes/webview-focus-apis.md b/.changes/webview-focus-apis.md deleted file mode 100644 index 2d478fede8cd..000000000000 --- a/.changes/webview-focus-apis.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": "patch:feat" ---- - -Add `WebviewBuilder::focused` method to choose whether to focus webview or not on creation. diff --git a/.changes/webview-window-focused.md b/.changes/webview-window-focused.md deleted file mode 100644 index b95b4cf42a74..000000000000 --- a/.changes/webview-window-focused.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": "patch:bug" -"tauri-runtime": "patch:bug" -"tauri-runtime-wry": "patch:bug" ---- - -Fix webview not focused by default. diff --git a/.changes/window-class-name-config-api.md b/.changes/window-class-name-config-api.md deleted file mode 100644 index 13128871bad5..000000000000 --- a/.changes/window-class-name-config-api.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": 'minor:feat' ---- - -Added `windowClassname` option, when constructing a `Webview` or `WebviewWindow`, to specify the name of the window class on Windows. diff --git a/.changes/window-class-name-config.md b/.changes/window-class-name-config.md deleted file mode 100644 index 66e318c0994d..000000000000 --- a/.changes/window-class-name-config.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": 'minor:feat' -"tauri-utils": 'minor:feat' ---- - -Added `app > windows > windowClassname` config option to specify the name of the window class on Windows. diff --git a/.changes/window-class-name.md b/.changes/window-class-name.md deleted file mode 100644 index 015602e820c8..000000000000 --- a/.changes/window-class-name.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": 'minor:feat' -"tauri-runtime-wry": 'minor:feat' -"tauri-runtime": 'minor:feat' ---- - -Added `WindowBuilder/WebviewWindowBuilder::window_classname` method to specify the name of the window class on Windows. diff --git a/Cargo.lock b/Cargo.lock index 4c172990da12..41d86e07fb6f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,7 +14,7 @@ version = "0.1.0" dependencies = [ "insta", "serde_json", - "tauri-utils 2.0.2", + "tauri-utils 2.1.0", ] [[package]] @@ -8994,7 +8994,7 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tauri" -version = "2.0.6" +version = "2.1.0" dependencies = [ "anyhow", "bytes", @@ -9038,7 +9038,7 @@ dependencies = [ "tauri-macros", "tauri-runtime", "tauri-runtime-wry", - "tauri-utils 2.0.2", + "tauri-utils 2.1.0", "thiserror 2.0.0", "tokio", "tracing", @@ -9054,7 +9054,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.0.2" +version = "2.0.3" dependencies = [ "anyhow", "cargo_toml", @@ -9068,7 +9068,7 @@ dependencies = [ "serde", "serde_json", "tauri-codegen", - "tauri-utils 2.0.2", + "tauri-utils 2.1.0", "tauri-winres", "toml 0.8.19", "walkdir", @@ -9076,7 +9076,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "2.0.4" +version = "2.1.0" dependencies = [ "anyhow", "ar", @@ -9105,7 +9105,7 @@ dependencies = [ "tar", "tauri-icns", "tauri-macos-sign", - "tauri-utils 2.0.2", + "tauri-utils 2.1.0", "tempfile", "thiserror 2.0.0", "time", @@ -9120,7 +9120,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "2.0.4" +version = "2.1.0" dependencies = [ "anyhow", "ar", @@ -9185,7 +9185,7 @@ dependencies = [ "tauri-icns", "tauri-macos-sign", "tauri-utils 1.6.0", - "tauri-utils 2.0.2", + "tauri-utils 2.1.0", "tempfile", "tokio", "toml 0.8.19", @@ -9210,7 +9210,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.0.2" +version = "2.0.3" dependencies = [ "base64 0.22.1", "brotli", @@ -9226,7 +9226,7 @@ dependencies = [ "serde_json", "sha2", "syn 2.0.87", - "tauri-utils 2.0.2", + "tauri-utils 2.1.0", "thiserror 2.0.0", "time", "url", @@ -9294,14 +9294,14 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.0.2" +version = "2.0.3" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", "syn 2.0.87", "tauri-codegen", - "tauri-utils 2.0.2", + "tauri-utils 2.1.0", ] [[package]] @@ -9323,7 +9323,7 @@ dependencies = [ [[package]] name = "tauri-plugin" -version = "2.0.2" +version = "2.0.3" dependencies = [ "anyhow", "glob", @@ -9331,7 +9331,7 @@ dependencies = [ "schemars", "serde", "serde_json", - "tauri-utils 2.0.2", + "tauri-utils 2.1.0", "toml 0.8.19", "walkdir", ] @@ -9365,13 +9365,13 @@ dependencies = [ "log", "serde", "tauri", - "tauri-plugin 2.0.2", + "tauri-plugin 2.0.3", "thiserror 2.0.0", ] [[package]] name = "tauri-runtime" -version = "2.1.1" +version = "2.2.0" dependencies = [ "dpi", "gtk", @@ -9380,7 +9380,7 @@ dependencies = [ "raw-window-handle", "serde", "serde_json", - "tauri-utils 2.0.2", + "tauri-utils 2.1.0", "thiserror 2.0.0", "url", "windows", @@ -9388,7 +9388,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "2.1.2" +version = "2.2.0" dependencies = [ "gtk", "http 1.1.0", @@ -9402,7 +9402,7 @@ dependencies = [ "softbuffer", "tao", "tauri-runtime", - "tauri-utils 2.0.2", + "tauri-utils 2.1.0", "tracing", "url", "webkit2gtk", @@ -9418,7 +9418,7 @@ dependencies = [ "schemars", "serde", "serde_json", - "tauri-utils 2.0.2", + "tauri-utils 2.1.0", "url", ] @@ -9503,7 +9503,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.0.2" +version = "2.1.0" dependencies = [ "aes-gcm", "brotli", diff --git a/crates/tauri-build/CHANGELOG.md b/crates/tauri-build/CHANGELOG.md index 4070e0d9ea6f..43c42af79d65 100644 --- a/crates/tauri-build/CHANGELOG.md +++ b/crates/tauri-build/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.0.3] + +### Dependencies + +- Upgraded to `tauri-utils@2.1.0` +- Upgraded to `tauri-codegen@2.0.3` + ## \[2.0.2] ### Dependencies diff --git a/crates/tauri-build/Cargo.toml b/crates/tauri-build/Cargo.toml index d6557a3852f0..858e500f1787 100644 --- a/crates/tauri-build/Cargo.toml +++ b/crates/tauri-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-build" -version = "2.0.2" +version = "2.0.3" description = "build time code to pair with https://crates.io/crates/tauri" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -28,8 +28,8 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] anyhow = "1" quote = { version = "1", optional = true } -tauri-codegen = { version = "2.0.2", path = "../tauri-codegen", optional = true } -tauri-utils = { version = "2.0.2", path = "../tauri-utils", features = [ +tauri-codegen = { version = "2.0.3", path = "../tauri-codegen", optional = true } +tauri-utils = { version = "2.1.0", path = "../tauri-utils", features = [ "build", "resources", ] } diff --git a/crates/tauri-bundler/CHANGELOG.md b/crates/tauri-bundler/CHANGELOG.md index 7c914b189bac..1acb1a70b9db 100644 --- a/crates/tauri-bundler/CHANGELOG.md +++ b/crates/tauri-bundler/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## \[2.1.0] + +### New Features + +- [`1b6b2cfaa`](https://www.github.com/tauri-apps/tauri/commit/1b6b2cfaa14ab1d418c676cedbf942a812377a30) ([#11521](https://www.github.com/tauri-apps/tauri/pull/11521) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Process `bundle > windows > wix > fragmentPaths` with Handlebars to interpolate expressions within it. +- [`6dea12a06`](https://www.github.com/tauri-apps/tauri/commit/6dea12a0677a905cb1f14969fe05c53e7cd717c6) ([#11402](https://www.github.com/tauri-apps/tauri/pull/11402) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `bundle > linux > deb > recommends` and `bundle > linux > rpm > recommends` fields to declare a strong, but not absolute, dependency for your `.deb` and `.rpm` packages. +- [`058c0db72`](https://www.github.com/tauri-apps/tauri/commit/058c0db72f43fbe1574d0db654560e693755cd7e) ([#11584](https://www.github.com/tauri-apps/tauri/pull/11584) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `bundle > linux > rpm > compression` config option to control RPM bundle compression type and level. + +### Dependencies + +- Upgraded to `tauri-utils@2.1.0` + ## \[2.0.4] ### New Features diff --git a/crates/tauri-bundler/Cargo.toml b/crates/tauri-bundler/Cargo.toml index 447642a1257d..0bac40537fcd 100644 --- a/crates/tauri-bundler/Cargo.toml +++ b/crates/tauri-bundler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-bundler" -version = "2.0.4" +version = "2.1.0" authors = [ "George Burton ", "Tauri Programme within The Commons Conservancy", @@ -15,7 +15,7 @@ rust-version = "1.77.2" exclude = ["CHANGELOG.md", "/target", "rustfmt.toml"] [dependencies] -tauri-utils = { version = "2.0.2", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.1.0", path = "../tauri-utils", features = [ "resources", ] } image = "0.25.0" diff --git a/crates/tauri-cli/CHANGELOG.md b/crates/tauri-cli/CHANGELOG.md index 1f4d6378a038..29eae0a920cd 100644 --- a/crates/tauri-cli/CHANGELOG.md +++ b/crates/tauri-cli/CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +## \[2.1.0] + +### New Features + +- [`1b6b2cfaa`](https://www.github.com/tauri-apps/tauri/commit/1b6b2cfaa14ab1d418c676cedbf942a812377a30) ([#11521](https://www.github.com/tauri-apps/tauri/pull/11521) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Process `bundle > windows > wix > fragmentPaths` with Handlebars to interpolate expressions within it. +- [`6bf917941`](https://www.github.com/tauri-apps/tauri/commit/6bf917941ff0fcc49e86b3ba427340b75f3ce49c) ([#11322](https://www.github.com/tauri-apps/tauri/pull/11322) by [@ShaunSHamilton](https://www.github.com/tauri-apps/tauri/../../ShaunSHamilton)) Add `tauri remove` to remove plugins from projects. +- [`058c0db72`](https://www.github.com/tauri-apps/tauri/commit/058c0db72f43fbe1574d0db654560e693755cd7e) ([#11584](https://www.github.com/tauri-apps/tauri/pull/11584) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `bundle > linux > rpm > compression` config option to control RPM bundle compression type and level. + +### Enhancements + +- [`1f311832a`](https://www.github.com/tauri-apps/tauri/commit/1f311832ab5b2d62a533dfcf9b1d78bddf249ae8) ([#11405](https://www.github.com/tauri-apps/tauri/pull/11405) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add more context for errors when decoding secret and public keys for signing updater artifacts. +- [`e0d1307d3`](https://www.github.com/tauri-apps/tauri/commit/e0d1307d3f78987d0059921a5ab01ea4b26e0ef1) ([#11414](https://www.github.com/tauri-apps/tauri/pull/11414) by [@Czxck001](https://www.github.com/tauri-apps/tauri/../../Czxck001)) Migrate the `$schema` Tauri configuration to the v2 format. +- [`c43d5df15`](https://www.github.com/tauri-apps/tauri/commit/c43d5df15828ecffa606482ea2b60350c488c981) ([#11512](https://www.github.com/tauri-apps/tauri/pull/11512) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Associate a newly created capability file with the `main` window on the `tauri add` and `tauri permission add` commands. + +### Bug Fixes + +- [`7af01ff2c`](https://www.github.com/tauri-apps/tauri/commit/7af01ff2ce623d727cd13a4c8a549c1c80031882) ([#11523](https://www.github.com/tauri-apps/tauri/pull/11523) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix `tauri migrate` failing to install NPM depenencies when running from Deno. +- [`100a4455a`](https://www.github.com/tauri-apps/tauri/commit/100a4455aa48df508510bbc08273215bdf70c012) ([#11529](https://www.github.com/tauri-apps/tauri/pull/11529) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix detecting yarn berry (v2 and higher) in various tauri cli commands. +- [`60e86d5f6`](https://www.github.com/tauri-apps/tauri/commit/60e86d5f6e0f0c769d34ef368cd8801a918d796d) ([#11624](https://www.github.com/tauri-apps/tauri/pull/11624) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Use the public network IP address on `android dev` by default on Windows. + +### Dependencies + +- Upgraded to `tauri-utils@2.1.0` +- Upgraded to `tauri-bundler@2.1.0` + ## \[2.0.4] ### Enhancements diff --git a/crates/tauri-cli/Cargo.toml b/crates/tauri-cli/Cargo.toml index 464ec7dcdb20..e0756d299beb 100644 --- a/crates/tauri-cli/Cargo.toml +++ b/crates/tauri-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-cli" -version = "2.0.4" +version = "2.1.0" authors = ["Tauri Programme within The Commons Conservancy"] edition = "2021" rust-version = "1.77.2" @@ -47,7 +47,7 @@ sublime_fuzzy = "0.7" clap_complete = "4" clap = { version = "4.5", features = ["derive", "env"] } anyhow = "1.0" -tauri-bundler = { version = "2.0.4", default-features = false, path = "../tauri-bundler" } +tauri-bundler = { version = "2.1.0", default-features = false, path = "../tauri-bundler" } colored = "2.1" serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0", features = ["preserve_order"] } @@ -57,7 +57,7 @@ shared_child = "1.0" duct = "0.13" toml_edit = { version = "0.22", features = ["serde"] } json-patch = "3.0" -tauri-utils = { version = "2.0.2", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.1.0", path = "../tauri-utils", features = [ "isolation", "schema", "config-json5", diff --git a/crates/tauri-cli/config.schema.json b/crates/tauri-cli/config.schema.json index 4bc434e06f32..8abbf0877a20 100644 --- a/crates/tauri-cli/config.schema.json +++ b/crates/tauri-cli/config.schema.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://schema.tauri.app/config/2.0.6", + "$id": "https://schema.tauri.app/config/2.1.0", "title": "Config", "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\": \"../dist\",\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 ```", "type": "object", diff --git a/crates/tauri-cli/metadata-v2.json b/crates/tauri-cli/metadata-v2.json index 9aad788db254..06bb27c2c93d 100644 --- a/crates/tauri-cli/metadata-v2.json +++ b/crates/tauri-cli/metadata-v2.json @@ -1,9 +1,9 @@ { "cli.js": { - "version": "2.0.4", + "version": "2.1.0", "node": ">= 10.0.0" }, - "tauri": "2.0.6", - "tauri-build": "2.0.1", - "tauri-plugin": "2.0.1" + "tauri": "2.1.0", + "tauri-build": "2.0.2", + "tauri-plugin": "2.0.2" } diff --git a/crates/tauri-codegen/CHANGELOG.md b/crates/tauri-codegen/CHANGELOG.md index f83815365f6c..95a0fb544b90 100644 --- a/crates/tauri-codegen/CHANGELOG.md +++ b/crates/tauri-codegen/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.3] + +### Dependencies + +- Upgraded to `tauri-utils@2.1.0` + ## \[2.0.2] ### Dependencies diff --git a/crates/tauri-codegen/Cargo.toml b/crates/tauri-codegen/Cargo.toml index 637e18623cc9..90f0df6270e0 100644 --- a/crates/tauri-codegen/Cargo.toml +++ b/crates/tauri-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-codegen" -version = "2.0.2" +version = "2.0.3" description = "code generation meant to be consumed inside of `tauri` through `tauri-build` or `tauri-macros`" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -20,7 +20,7 @@ quote = "1" syn = "2" serde = { version = "1", features = ["derive"] } serde_json = "1" -tauri-utils = { version = "2.0.2", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.1.0", path = "../tauri-utils", features = [ "build", ] } thiserror = "2" diff --git a/crates/tauri-macros/CHANGELOG.md b/crates/tauri-macros/CHANGELOG.md index a61e11044b42..3c80b3359ff7 100644 --- a/crates/tauri-macros/CHANGELOG.md +++ b/crates/tauri-macros/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[2.0.3] + +### Enhancements + +- [`17c6952ae`](https://www.github.com/tauri-apps/tauri/commit/17c6952aec965fa41e6695ad68461a218afc20f1) ([#11522](https://www.github.com/tauri-apps/tauri/pull/11522) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Enhance the error message when using `async` commands with a reference. + +### Dependencies + +- Upgraded to `tauri-utils@2.1.0` +- Upgraded to `tauri-codegen@2.0.3` + ## \[2.0.1] ### What's Changed diff --git a/crates/tauri-macros/Cargo.toml b/crates/tauri-macros/Cargo.toml index 543bc7f69d19..adf7d9806f76 100644 --- a/crates/tauri-macros/Cargo.toml +++ b/crates/tauri-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-macros" -version = "2.0.2" +version = "2.0.3" description = "Macros for the tauri crate." exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -20,8 +20,8 @@ proc-macro2 = { version = "1", features = ["span-locations"] } quote = "1" syn = { version = "2", features = ["full"] } heck = "0.5" -tauri-codegen = { version = "2.0.2", default-features = false, path = "../tauri-codegen" } -tauri-utils = { version = "2.0.2", path = "../tauri-utils" } +tauri-codegen = { version = "2.0.3", default-features = false, path = "../tauri-codegen" } +tauri-utils = { version = "2.1.0", path = "../tauri-utils" } [features] custom-protocol = [] diff --git a/crates/tauri-plugin/CHANGELOG.md b/crates/tauri-plugin/CHANGELOG.md index 482b831b6be5..26976234ab45 100644 --- a/crates/tauri-plugin/CHANGELOG.md +++ b/crates/tauri-plugin/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.3] + +### Dependencies + +- Upgraded to `tauri-utils@2.1.0` + ## \[2.0.2] ### Dependencies diff --git a/crates/tauri-plugin/Cargo.toml b/crates/tauri-plugin/Cargo.toml index 074e1b47b1dd..b572e55ff1ac 100644 --- a/crates/tauri-plugin/Cargo.toml +++ b/crates/tauri-plugin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin" -version = "2.0.2" +version = "2.0.3" description = "Build script and runtime Tauri plugin definitions" authors.workspace = true homepage.workspace = true @@ -30,7 +30,7 @@ runtime = [] [dependencies] anyhow = { version = "1", optional = true } serde = { version = "1", optional = true } -tauri-utils = { version = "2.0.2", default-features = false, features = [ +tauri-utils = { version = "2.1.0", default-features = false, features = [ "build", ], path = "../tauri-utils" } serde_json = { version = "1", optional = true } diff --git a/crates/tauri-runtime-wry/CHANGELOG.md b/crates/tauri-runtime-wry/CHANGELOG.md index 11c4ee676cee..6fa4627d2914 100644 --- a/crates/tauri-runtime-wry/CHANGELOG.md +++ b/crates/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## \[2.2.0] + +### New Features + +- [`4d545ab3c`](https://www.github.com/tauri-apps/tauri/commit/4d545ab3ca228c8a21b966b709f84a0da2864479) ([#11486](https://www.github.com/tauri-apps/tauri/pull/11486) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Added `Window::set_background_color` and `WindowBuilder::background_color`. +- [`f37e97d41`](https://www.github.com/tauri-apps/tauri/commit/f37e97d410c4a219e99f97692da05ca9d8e0ba3a) ([#11477](https://www.github.com/tauri-apps/tauri/pull/11477) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `WebviewWindowBuilder/WebviewBuilder::use_https_scheme` to choose whether the custom protocols should use `https://.localhost` instead of the default `http://.localhost` on Windows and Android +- [`cbc095ec5`](https://www.github.com/tauri-apps/tauri/commit/cbc095ec5fe7de29b5c9265576d4e071ec159c1c) ([#11451](https://www.github.com/tauri-apps/tauri/pull/11451) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `WebviewWindowBuilder::devtools` and `WebviewBuilder::devtools` to enable or disable devtools for a specific webview. +- [`2a75c64b5`](https://www.github.com/tauri-apps/tauri/commit/2a75c64b5431284e7340e8743d4ea56a62c75466) ([#11469](https://www.github.com/tauri-apps/tauri/pull/11469) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Added `WindowBuilder/WebviewWindowBuilder::window_classname` method to specify the name of the window class on Windows. + +### Bug Fixes + +- [`229d7f8e2`](https://www.github.com/tauri-apps/tauri/commit/229d7f8e220cc8d5ca06eff1ed85cb7d047c1d6c) ([#11616](https://www.github.com/tauri-apps/tauri/pull/11616) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix regression in creating child webviews on macOS and Windows, covering the whole window. +- [`8c6d1e8e6`](https://www.github.com/tauri-apps/tauri/commit/8c6d1e8e6c852667bb223b5f4823948868c26d98) ([#11401](https://www.github.com/tauri-apps/tauri/pull/11401) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix `App/AppHandle/Window/Webview/WebviewWindow::cursor_position` getter method failing on Linux with `GDK may only be used from the main thread`. +- [`129414faa`](https://www.github.com/tauri-apps/tauri/commit/129414faa4e027c9035d56614682cacc0335a6a0) ([#11569](https://www.github.com/tauri-apps/tauri/pull/11569) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix webview not focused by default. + +### Dependencies + +- Upgraded to `tauri-utils@2.1.0` +- Upgraded to `tauri-runtime@2.2.0` + ## \[2.1.2] ### Dependencies diff --git a/crates/tauri-runtime-wry/Cargo.toml b/crates/tauri-runtime-wry/Cargo.toml index 577c3b28c08c..125b1de598cd 100644 --- a/crates/tauri-runtime-wry/Cargo.toml +++ b/crates/tauri-runtime-wry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime-wry" -version = "2.1.2" +version = "2.2.0" description = "Wry bindings to the Tauri runtime" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -24,8 +24,8 @@ wry = { version = "0.47", default-features = false, features = [ "linux-body", ] } tao = { version = "0.30.6", default-features = false, features = ["rwh_06"] } -tauri-runtime = { version = "2.1.0", path = "../tauri-runtime" } -tauri-utils = { version = "2.0.2", path = "../tauri-utils" } +tauri-runtime = { version = "2.2.0", path = "../tauri-runtime" } +tauri-utils = { version = "2.1.0", path = "../tauri-utils" } raw-window-handle = "0.6" http = "1.1" url = "2" diff --git a/crates/tauri-runtime/CHANGELOG.md b/crates/tauri-runtime/CHANGELOG.md index c57d8b0152bf..8970d59f66fb 100644 --- a/crates/tauri-runtime/CHANGELOG.md +++ b/crates/tauri-runtime/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## \[2.2.0] + +### New Features + +- [`4d545ab3c`](https://www.github.com/tauri-apps/tauri/commit/4d545ab3ca228c8a21b966b709f84a0da2864479) ([#11486](https://www.github.com/tauri-apps/tauri/pull/11486) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Added `Window::set_background_color` and `WindowBuilder::background_color`. +- [`f37e97d41`](https://www.github.com/tauri-apps/tauri/commit/f37e97d410c4a219e99f97692da05ca9d8e0ba3a) ([#11477](https://www.github.com/tauri-apps/tauri/pull/11477) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `WebviewWindowBuilder/WebviewBuilder::use_https_scheme` to choose whether the custom protocols should use `https://.localhost` instead of the default `http://.localhost` on Windows and Android +- [`cbc095ec5`](https://www.github.com/tauri-apps/tauri/commit/cbc095ec5fe7de29b5c9265576d4e071ec159c1c) ([#11451](https://www.github.com/tauri-apps/tauri/pull/11451) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `WebviewWindowBuilder::devtools` and `WebviewBuilder::devtools` to enable or disable devtools for a specific webview. +- [`2a75c64b5`](https://www.github.com/tauri-apps/tauri/commit/2a75c64b5431284e7340e8743d4ea56a62c75466) ([#11469](https://www.github.com/tauri-apps/tauri/pull/11469) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Added `WindowBuilder/WebviewWindowBuilder::window_classname` method to specify the name of the window class on Windows. + +### Bug Fixes + +- [`129414faa`](https://www.github.com/tauri-apps/tauri/commit/129414faa4e027c9035d56614682cacc0335a6a0) ([#11569](https://www.github.com/tauri-apps/tauri/pull/11569) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix webview not focused by default. + +### Dependencies + +- Upgraded to `tauri-utils@2.1.0` + ## \[2.1.1] ### Dependencies diff --git a/crates/tauri-runtime/Cargo.toml b/crates/tauri-runtime/Cargo.toml index ece1aa52e6ad..6a2110af08a0 100644 --- a/crates/tauri-runtime/Cargo.toml +++ b/crates/tauri-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime" -version = "2.1.1" +version = "2.2.0" description = "Runtime for Tauri applications" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -29,7 +29,7 @@ targets = [ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" thiserror = "2" -tauri-utils = { version = "2.0.2", path = "../tauri-utils" } +tauri-utils = { version = "2.1.0", path = "../tauri-utils" } http = "1.1" raw-window-handle = "0.6" url = { version = "2" } diff --git a/crates/tauri-schema-generator/schemas/config.schema.json b/crates/tauri-schema-generator/schemas/config.schema.json index 4bc434e06f32..8abbf0877a20 100644 --- a/crates/tauri-schema-generator/schemas/config.schema.json +++ b/crates/tauri-schema-generator/schemas/config.schema.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://schema.tauri.app/config/2.0.6", + "$id": "https://schema.tauri.app/config/2.1.0", "title": "Config", "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\": \"../dist\",\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 ```", "type": "object", diff --git a/crates/tauri-utils/CHANGELOG.md b/crates/tauri-utils/CHANGELOG.md index 531326454d6f..319527f97ece 100644 --- a/crates/tauri-utils/CHANGELOG.md +++ b/crates/tauri-utils/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## \[2.1.0] + +### New Features + +- [`fabc2f283`](https://www.github.com/tauri-apps/tauri/commit/fabc2f283e38b62c721326e44645d47138418cbc) ([#11485](https://www.github.com/tauri-apps/tauri/pull/11485) by [@39zde](https://www.github.com/tauri-apps/tauri/../../39zde)) Adds a new configuration option `app > security > headers` to define headers that will be added to every http response from tauri to the web view. This doesn't include IPC messages and error responses. +- [`4d545ab3c`](https://www.github.com/tauri-apps/tauri/commit/4d545ab3ca228c8a21b966b709f84a0da2864479) ([#11486](https://www.github.com/tauri-apps/tauri/pull/11486) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Added `Window::set_background_color` and `WindowBuilder::background_color`. +- [`cbc095ec5`](https://www.github.com/tauri-apps/tauri/commit/cbc095ec5fe7de29b5c9265576d4e071ec159c1c) ([#11451](https://www.github.com/tauri-apps/tauri/pull/11451) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `app > windows > devtools` config option and when creating the webview from JS, to enable or disable devtools for a specific webview. +- [`058c0db72`](https://www.github.com/tauri-apps/tauri/commit/058c0db72f43fbe1574d0db654560e693755cd7e) ([#11584](https://www.github.com/tauri-apps/tauri/pull/11584) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `bundle > linux > rpm > compression` config option to control RPM bundle compression type and level. +- [`f37e97d41`](https://www.github.com/tauri-apps/tauri/commit/f37e97d410c4a219e99f97692da05ca9d8e0ba3a) ([#11477](https://www.github.com/tauri-apps/tauri/pull/11477) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `app > windows > useHttpsScheme` config option to choose whether the custom protocols should use `https://.localhost` instead of the default `http://.localhost` on Windows and Android +- [`2a75c64b5`](https://www.github.com/tauri-apps/tauri/commit/2a75c64b5431284e7340e8743d4ea56a62c75466) ([#11469](https://www.github.com/tauri-apps/tauri/pull/11469) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Added `app > windows > windowClassname` config option to specify the name of the window class on Windows. + +### Enhancements + +- [`c33bbf457`](https://www.github.com/tauri-apps/tauri/commit/c33bbf45740274b6918ea6c647f366fb6008e459) ([#11575](https://www.github.com/tauri-apps/tauri/pull/11575) by [@kornelski](https://www.github.com/tauri-apps/tauri/../../kornelski)) Include the path in ACL I/O errors. + +### Bug Fixes + +- [`378142914`](https://www.github.com/tauri-apps/tauri/commit/37814291475814b4a24cc77b6fa457ec9ba7a779) ([#11429](https://www.github.com/tauri-apps/tauri/pull/11429) by [@griffi-gh](https://www.github.com/tauri-apps/tauri/../../griffi-gh)) Enhance resource directory resolution to support running on distros like NixOS. + ## \[2.0.2] ### New Features diff --git a/crates/tauri-utils/Cargo.toml b/crates/tauri-utils/Cargo.toml index b920ec9e3f70..27a44f5e6646 100644 --- a/crates/tauri-utils/Cargo.toml +++ b/crates/tauri-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-utils" -version = "2.0.2" +version = "2.1.0" description = "Utilities for Tauri" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" diff --git a/crates/tauri/CHANGELOG.md b/crates/tauri/CHANGELOG.md index 28bf12801907..f6a9498d3019 100644 --- a/crates/tauri/CHANGELOG.md +++ b/crates/tauri/CHANGELOG.md @@ -1,5 +1,48 @@ # Changelog +## \[2.1.0] + +### New Features + +- [`fabc2f283`](https://www.github.com/tauri-apps/tauri/commit/fabc2f283e38b62c721326e44645d47138418cbc) ([#11485](https://www.github.com/tauri-apps/tauri/pull/11485) by [@39zde](https://www.github.com/tauri-apps/tauri/../../39zde)) Adds a new configuration option `app > security > headers` to define headers that will be added to every http response from tauri to the web view. This doesn't include IPC messages and error responses. +- [`8036c78e0`](https://www.github.com/tauri-apps/tauri/commit/8036c78e08715b1bc6b9fcb0c59a570eec98014f) ([#11455](https://www.github.com/tauri-apps/tauri/pull/11455) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `PathResolver::home_dir()` method on Android. +- [`5c4b83084`](https://www.github.com/tauri-apps/tauri/commit/5c4b830843ab085f8ff9db9e08d832223b027e4e) ([#11191](https://www.github.com/tauri-apps/tauri/pull/11191) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Improved support for `dpi` module types to allow these types to be used without manual conversions with `invoke`: + + - Added `SERIALIZE_TO_IPC_FN` const in `core` module which can be used to implement custom IPC serialization for types passed to `invoke`. + - Added `Size` and `Position` classes in `dpi` module. + - Implementd `SERIALIZE_TO_IPC_FN` method on `PhysicalSize`, `PhysicalPosition`, `LogicalSize` and `LogicalPosition` to convert it into a valid IPC-compatible value that can be deserialized correctly on the Rust side into its equivalent struct. +- [`4d545ab3c`](https://www.github.com/tauri-apps/tauri/commit/4d545ab3ca228c8a21b966b709f84a0da2864479) ([#11486](https://www.github.com/tauri-apps/tauri/pull/11486) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Added `Window::set_background_color` and `WindowBuilder::background_color`. +- [`cbc095ec5`](https://www.github.com/tauri-apps/tauri/commit/cbc095ec5fe7de29b5c9265576d4e071ec159c1c) ([#11451](https://www.github.com/tauri-apps/tauri/pull/11451) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `app > windows > devtools` config option and when creating the webview from JS, to enable or disable devtools for a specific webview. +- [`f0da0bde8`](https://www.github.com/tauri-apps/tauri/commit/f0da0bde87a80fdca20c588cefcad86e03b9627c) ([#11439](https://www.github.com/tauri-apps/tauri/pull/11439) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Added `WebviewWindow::resolve_command_scope` to check a command scope at runtime. +- [\`\`](https://www.github.com/tauri-apps/tauri/commit/undefined) Detect if `SERIALIZE_TO_IPC_FN`, const from the JS `core` module, is implemented on objects when serializing over IPC and use it. +- [`f37e97d41`](https://www.github.com/tauri-apps/tauri/commit/f37e97d410c4a219e99f97692da05ca9d8e0ba3a) ([#11477](https://www.github.com/tauri-apps/tauri/pull/11477) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `app > windows > useHttpsScheme` config option to choose whether the custom protocols should use `https://.localhost` instead of the default `http://.localhost` on Windows and Android +- [`f37e97d41`](https://www.github.com/tauri-apps/tauri/commit/f37e97d410c4a219e99f97692da05ca9d8e0ba3a) ([#11477](https://www.github.com/tauri-apps/tauri/pull/11477) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `WebviewWindowBuilder/WebviewBuilder::use_https_scheme` to choose whether the custom protocols should use `https://.localhost` instead of the default `http://.localhost` on Windows and Android +- [`cbc095ec5`](https://www.github.com/tauri-apps/tauri/commit/cbc095ec5fe7de29b5c9265576d4e071ec159c1c) ([#11451](https://www.github.com/tauri-apps/tauri/pull/11451) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `WebviewWindowBuilder::devtools` and `WebviewBuilder::devtools` to enable or disable devtools for a specific webview. +- [`129414faa`](https://www.github.com/tauri-apps/tauri/commit/129414faa4e027c9035d56614682cacc0335a6a0) ([#11569](https://www.github.com/tauri-apps/tauri/pull/11569) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `WebviewBuilder::focused` method to choose whether to focus webview or not on creation. +- [`2a75c64b5`](https://www.github.com/tauri-apps/tauri/commit/2a75c64b5431284e7340e8743d4ea56a62c75466) ([#11469](https://www.github.com/tauri-apps/tauri/pull/11469) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Added `app > windows > windowClassname` config option to specify the name of the window class on Windows. +- [`2a75c64b5`](https://www.github.com/tauri-apps/tauri/commit/2a75c64b5431284e7340e8743d4ea56a62c75466) ([#11469](https://www.github.com/tauri-apps/tauri/pull/11469) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Added `WindowBuilder/WebviewWindowBuilder::window_classname` method to specify the name of the window class on Windows. + +### Enhancements + +- [`17c6952ae`](https://www.github.com/tauri-apps/tauri/commit/17c6952aec965fa41e6695ad68461a218afc20f1) ([#11522](https://www.github.com/tauri-apps/tauri/pull/11522) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Enhance the error message when using `async` commands with a reference. +- [`c33bbf457`](https://www.github.com/tauri-apps/tauri/commit/c33bbf45740274b6918ea6c647f366fb6008e459) ([#11575](https://www.github.com/tauri-apps/tauri/pull/11575) by [@kornelski](https://www.github.com/tauri-apps/tauri/../../kornelski)) Include the path in ACL I/O errors. + +### Bug Fixes + +- [`229d7f8e2`](https://www.github.com/tauri-apps/tauri/commit/229d7f8e220cc8d5ca06eff1ed85cb7d047c1d6c) ([#11616](https://www.github.com/tauri-apps/tauri/pull/11616) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix regression in creating child webviews on macOS and Windows, covering the whole window. +- [`8c6d1e8e6`](https://www.github.com/tauri-apps/tauri/commit/8c6d1e8e6c852667bb223b5f4823948868c26d98) ([#11401](https://www.github.com/tauri-apps/tauri/pull/11401) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix `App/AppHandle/Window/Webview/WebviewWindow::cursor_position` getter method failing on Linux with `GDK may only be used from the main thread`. +- [`f8994b214`](https://www.github.com/tauri-apps/tauri/commit/f8994b214e89acc99ab5ce8dcca8485f43a62dbb) ([#11581](https://www.github.com/tauri-apps/tauri/pull/11581) by [@Mikkel-T](https://www.github.com/tauri-apps/tauri/../../Mikkel-T)) Fix listeners created with `EventTarget::AnyLabel` never receiving events. +- [`4191a7a53`](https://www.github.com/tauri-apps/tauri/commit/4191a7a53d941b179780a550638f1b4a09d17fd1) ([#11583](https://www.github.com/tauri-apps/tauri/pull/11583) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix tray events not fired for tray icons created inside an async command. +- [`129414faa`](https://www.github.com/tauri-apps/tauri/commit/129414faa4e027c9035d56614682cacc0335a6a0) ([#11569](https://www.github.com/tauri-apps/tauri/pull/11569) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix webview not focused by default. + +### Dependencies + +- Upgraded to `tauri-utils@2.1.0` +- Upgraded to `tauri-runtime@2.2.0` +- Upgraded to `tauri-runtime-wry@2.2.0` +- Upgraded to `tauri-macros@2.0.3` +- Upgraded to `tauri-build@2.0.3` + ## \[2.0.6] ### Dependencies diff --git a/crates/tauri/Cargo.toml b/crates/tauri/Cargo.toml index 36610576fa0f..90ac32a8ea1b 100644 --- a/crates/tauri/Cargo.toml +++ b/crates/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "2.0.6" +version = "2.1.0" description = "Make tiny, secure apps for all desktop platforms with Tauri" exclude = ["/test", "/.scripts", "CHANGELOG.md", "/target"] readme = "README.md" @@ -57,12 +57,12 @@ uuid = { version = "1", features = ["v4"], optional = true } url = "2" anyhow = "1.0" thiserror = "2" -tauri-runtime = { version = "2.1.1", path = "../tauri-runtime" } -tauri-macros = { version = "2.0.2", path = "../tauri-macros" } -tauri-utils = { version = "2.0.2", features = [ +tauri-runtime = { version = "2.2.0", path = "../tauri-runtime" } +tauri-macros = { version = "2.0.3", path = "../tauri-macros" } +tauri-utils = { version = "2.1.0", features = [ "resources", ], path = "../tauri-utils" } -tauri-runtime-wry = { version = "2.1.2", path = "../tauri-runtime-wry", optional = true } +tauri-runtime-wry = { version = "2.2.0", path = "../tauri-runtime-wry", optional = true } getrandom = "0.2" serde_repr = "0.1" http = "1.1" @@ -134,8 +134,8 @@ swift-rs = "1.0.7" [build-dependencies] heck = "0.5" -tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.2" } -tauri-utils = { path = "../tauri-utils/", version = "2.0.2", features = [ +tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.3" } +tauri-utils = { path = "../tauri-utils/", version = "2.1.0", features = [ "build", ] } diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 7a551431760f..58be499f7120 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## \[2.1.0] + +### New Features + +- [`5c4b83084`](https://www.github.com/tauri-apps/tauri/commit/5c4b830843ab085f8ff9db9e08d832223b027e4e) ([#11191](https://www.github.com/tauri-apps/tauri/pull/11191) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Improved support for `dpi` module types to allow these types to be used without manual conversions with `invoke`: + + - Added `SERIALIZE_TO_IPC_FN` const in `core` module which can be used to implement custom IPC serialization for types passed to `invoke`. + - Added `Size` and `Position` classes in `dpi` module. + - Implementd `SERIALIZE_TO_IPC_FN` method on `PhysicalSize`, `PhysicalPosition`, `LogicalSize` and `LogicalPosition` to convert it into a valid IPC-compatible value that can be deserialized correctly on the Rust side into its equivalent struct. +- [`4d545ab3c`](https://www.github.com/tauri-apps/tauri/commit/4d545ab3ca228c8a21b966b709f84a0da2864479) ([#11486](https://www.github.com/tauri-apps/tauri/pull/11486) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Added `Webview::setBackgroundColor`, `WebviewWindow::setBackgroundColor` APIs to set the window background color dynamically + and a `backgroundColor` window option to set the background color on window creation. +- [`cbc095ec5`](https://www.github.com/tauri-apps/tauri/commit/cbc095ec5fe7de29b5c9265576d4e071ec159c1c) ([#11451](https://www.github.com/tauri-apps/tauri/pull/11451) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `app > windows > devtools` config option and when creating the webview from JS, to enable or disable devtools for a specific webview. +- [`2a75c64b5`](https://www.github.com/tauri-apps/tauri/commit/2a75c64b5431284e7340e8743d4ea56a62c75466) ([#11469](https://www.github.com/tauri-apps/tauri/pull/11469) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Added `windowClassname` option, when constructing a `Webview` or `WebviewWindow`, to specify the name of the window class on Windows. + +### Bug Fixes + +- [`54cbf59b5`](https://www.github.com/tauri-apps/tauri/commit/54cbf59b5a572570a47237a3b5e6505f2a9e5d5d) ([#11441](https://www.github.com/tauri-apps/tauri/pull/11441) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix submenu created as a menu item instead of a submenu when created by using an object in the `items` field in the options object passed to `Menu.new` or `Submenu.new`. + ## \[2.0.3] ### Bug Fixes diff --git a/packages/api/package.json b/packages/api/package.json index 2c5ff093c80f..8b696dd4019e 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "2.0.3", + "version": "2.1.0", "description": "Tauri API definitions", "funding": { "type": "opencollective", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 1a0b196ccec2..48a57a427eaf 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## \[2.1.0] + +### New Features + +- [`6bf917941`](https://www.github.com/tauri-apps/tauri/commit/6bf917941ff0fcc49e86b3ba427340b75f3ce49c) ([#11322](https://www.github.com/tauri-apps/tauri/pull/11322) by [@ShaunSHamilton](https://www.github.com/tauri-apps/tauri/../../ShaunSHamilton)) Add `tauri remove` to remove plugins from projects. +- [`058c0db72`](https://www.github.com/tauri-apps/tauri/commit/058c0db72f43fbe1574d0db654560e693755cd7e) ([#11584](https://www.github.com/tauri-apps/tauri/pull/11584) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `bundle > linux > rpm > compression` config option to control RPM bundle compression type and level. + +### Enhancements + +- [`1f311832a`](https://www.github.com/tauri-apps/tauri/commit/1f311832ab5b2d62a533dfcf9b1d78bddf249ae8) ([#11405](https://www.github.com/tauri-apps/tauri/pull/11405) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add more context for errors when decoding secret and public keys for signing updater artifacts. +- [`e0d1307d3`](https://www.github.com/tauri-apps/tauri/commit/e0d1307d3f78987d0059921a5ab01ea4b26e0ef1) ([#11414](https://www.github.com/tauri-apps/tauri/pull/11414) by [@Czxck001](https://www.github.com/tauri-apps/tauri/../../Czxck001)) Migrate the `$schema` Tauri configuration to the v2 format. +- [`c43d5df15`](https://www.github.com/tauri-apps/tauri/commit/c43d5df15828ecffa606482ea2b60350c488c981) ([#11512](https://www.github.com/tauri-apps/tauri/pull/11512) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Associate a newly created capability file with the `main` window on the `tauri add` and `tauri permission add` commands. + +### Bug Fixes + +- [`7af01ff2c`](https://www.github.com/tauri-apps/tauri/commit/7af01ff2ce623d727cd13a4c8a549c1c80031882) ([#11523](https://www.github.com/tauri-apps/tauri/pull/11523) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix `tauri migrate` failing to install NPM depenencies when running from Deno. +- [`100a4455a`](https://www.github.com/tauri-apps/tauri/commit/100a4455aa48df508510bbc08273215bdf70c012) ([#11529](https://www.github.com/tauri-apps/tauri/pull/11529) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix detecting yarn berry (v2 and higher) in various tauri cli commands. +- [`60e86d5f6`](https://www.github.com/tauri-apps/tauri/commit/60e86d5f6e0f0c769d34ef368cd8801a918d796d) ([#11624](https://www.github.com/tauri-apps/tauri/pull/11624) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Use the public network IP address on `android dev` by default on Windows. + +### Dependencies + +- Upgraded to `tauri-cli@2.1.0` + ## \[2.0.4] ### Enhancements diff --git a/packages/cli/package.json b/packages/cli/package.json index 7a68df5a3d67..14fe412a091b 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "2.0.4", + "version": "2.1.0", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective",