From cd841d8e33841c1364ead60559ba7a61355d5c21 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 2 Jan 2025 19:29:17 +0100 Subject: [PATCH] Apply Version Updates From Current Changes (#11659) Co-authored-by: FabianLars --- .changes/api-channel-miss-events.md | 5 -- .../api-transfrom-icon-about-menu-item.md | 6 -- .changes/api-transfrom-icon-icon-menu-item.md | 6 -- .changes/bundler-nsis-portuguese.md | 8 --- .changes/bundler-skip-ci.md | 5 -- .changes/core-background-color-permissions.md | 5 -- .changes/core-builder-on-tray-icon-event.md | 6 -- .changes/core-scope-is-forbidden.md | 5 -- .changes/data-store-identifier.md | 7 -- .changes/deb-updater-support.md | 7 -- .changes/extension-path.md | 7 -- .changes/fix-add-capability-panic.md | 5 -- .changes/fix-apijs-mockipc-cb-type.md | 5 -- .changes/fix-cli-permission-typing.md | 6 -- .changes/fix-cli-plugin-path.md | 6 -- .changes/fix-resource-id.md | 5 -- .changes/info-linux-de-and-session.md | 7 -- .changes/json5-capability-files.md | 6 -- .changes/overlay.md | 11 --- .changes/path-plugin-is-absolute.md | 5 -- ...set-show-menu-on-left-click-windows-api.md | 6 -- .../show-menu-on-left-click-windows-api.md | 6 -- .changes/show-menu-on-left-click-windows.md | 6 -- .changes/specta-feature-fix.md | 5 -- ...ray-icon-menu-on-left-click-windows-api.md | 6 -- .../tray-icon-menu-on-left-click-windows.md | 6 -- .changes/unmanaged-state-command.md | 5 -- .changes/webview2-com-034.md | 5 -- Cargo.lock | 72 +++++++++---------- crates/tauri-build/CHANGELOG.md | 7 ++ crates/tauri-build/Cargo.toml | 6 +- crates/tauri-bundler/CHANGELOG.md | 15 ++++ crates/tauri-bundler/Cargo.toml | 4 +- crates/tauri-cli/CHANGELOG.md | 21 ++++++ 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 | 7 ++ crates/tauri-macros/Cargo.toml | 6 +- crates/tauri-plugin/CHANGELOG.md | 6 ++ crates/tauri-plugin/Cargo.toml | 4 +- crates/tauri-runtime-wry/CHANGELOG.md | 17 +++++ crates/tauri-runtime-wry/Cargo.toml | 6 +- crates/tauri-runtime/CHANGELOG.md | 16 +++++ crates/tauri-runtime/Cargo.toml | 4 +- .../schemas/config.schema.json | 2 +- crates/tauri-utils/CHANGELOG.md | 6 ++ crates/tauri-utils/Cargo.toml | 2 +- crates/tauri/CHANGELOG.md | 37 ++++++++++ crates/tauri/Cargo.toml | 14 ++-- packages/api/CHANGELOG.md | 24 +++++++ packages/api/package.json | 2 +- packages/cli/CHANGELOG.md | 20 ++++++ packages/cli/package.json | 2 +- 56 files changed, 254 insertions(+), 240 deletions(-) delete mode 100644 .changes/api-channel-miss-events.md delete mode 100644 .changes/api-transfrom-icon-about-menu-item.md delete mode 100644 .changes/api-transfrom-icon-icon-menu-item.md delete mode 100644 .changes/bundler-nsis-portuguese.md delete mode 100644 .changes/bundler-skip-ci.md delete mode 100644 .changes/core-background-color-permissions.md delete mode 100644 .changes/core-builder-on-tray-icon-event.md delete mode 100644 .changes/core-scope-is-forbidden.md delete mode 100644 .changes/data-store-identifier.md delete mode 100644 .changes/deb-updater-support.md delete mode 100644 .changes/extension-path.md delete mode 100644 .changes/fix-add-capability-panic.md delete mode 100644 .changes/fix-apijs-mockipc-cb-type.md delete mode 100644 .changes/fix-cli-permission-typing.md delete mode 100644 .changes/fix-cli-plugin-path.md delete mode 100644 .changes/fix-resource-id.md delete mode 100644 .changes/info-linux-de-and-session.md delete mode 100644 .changes/json5-capability-files.md delete mode 100644 .changes/overlay.md delete mode 100644 .changes/path-plugin-is-absolute.md delete mode 100644 .changes/set-show-menu-on-left-click-windows-api.md delete mode 100644 .changes/show-menu-on-left-click-windows-api.md delete mode 100644 .changes/show-menu-on-left-click-windows.md delete mode 100644 .changes/specta-feature-fix.md delete mode 100644 .changes/tray-icon-menu-on-left-click-windows-api.md delete mode 100644 .changes/tray-icon-menu-on-left-click-windows.md delete mode 100644 .changes/unmanaged-state-command.md delete mode 100644 .changes/webview2-com-034.md diff --git a/.changes/api-channel-miss-events.md b/.changes/api-channel-miss-events.md deleted file mode 100644 index 20be7ada0591..000000000000 --- a/.changes/api-channel-miss-events.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": "patch:bug" ---- - -Fix `Channel` never calls `onmessage` in some cases diff --git a/.changes/api-transfrom-icon-about-menu-item.md b/.changes/api-transfrom-icon-about-menu-item.md deleted file mode 100644 index b62f4636e84f..000000000000 --- a/.changes/api-transfrom-icon-about-menu-item.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@tauri-apps/api": "patch:bug" ---- - -Fix error when calling `PredefinedMenuItem.new` to create an `About` menu item that uses an `Image` instance for the about icon. - diff --git a/.changes/api-transfrom-icon-icon-menu-item.md b/.changes/api-transfrom-icon-icon-menu-item.md deleted file mode 100644 index 734e59d17f87..000000000000 --- a/.changes/api-transfrom-icon-icon-menu-item.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@tauri-apps/api": "patch:bug" ---- - -Fix error when calling `IconMenuItem.new` using an `Image` instance for the icon. - diff --git a/.changes/bundler-nsis-portuguese.md b/.changes/bundler-nsis-portuguese.md deleted file mode 100644 index e0a586c38380..000000000000 --- a/.changes/bundler-nsis-portuguese.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri-bundler": "patch:enhance" -"tauri-cli": "patch:enhance" -"@tauri-apps/cli": "patch:enhance" ---- - -Add support for `Portuguese` language for NSIS windows installer. - diff --git a/.changes/bundler-skip-ci.md b/.changes/bundler-skip-ci.md deleted file mode 100644 index 66ad0f001898..000000000000 --- a/.changes/bundler-skip-ci.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri-bundler: 'patch:enhance' ---- - -The bundler now reads the `TAURI_BUNDLER_DMG_IGNORE_CI` env var to decide whether to check for `CI: true` when building DMG files. diff --git a/.changes/core-background-color-permissions.md b/.changes/core-background-color-permissions.md deleted file mode 100644 index c09ed3727cf6..000000000000 --- a/.changes/core-background-color-permissions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri: "patch:bug" ---- - -Add webview and window color setters to autogenerated permissions. diff --git a/.changes/core-builder-on-tray-icon-event.md b/.changes/core-builder-on-tray-icon-event.md deleted file mode 100644 index 8a4115049bd3..000000000000 --- a/.changes/core-builder-on-tray-icon-event.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": "minor:feat" ---- - -Add `tauri::Builder::on_tray_icon_event` handler. - diff --git a/.changes/core-scope-is-forbidden.md b/.changes/core-scope-is-forbidden.md deleted file mode 100644 index f3c230364cc5..000000000000 --- a/.changes/core-scope-is-forbidden.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri: 'minor:feat' ---- - -Added `Scope::is_forbidden` to check if a path was explicitly forbidden. diff --git a/.changes/data-store-identifier.md b/.changes/data-store-identifier.md deleted file mode 100644 index 922ad089e6a0..000000000000 --- a/.changes/data-store-identifier.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": "minor:feat" -"tauri-runtime": "minor:feat" -"tauri-runtime-wry": "minor:feat" ---- - -Add `WebviewWindowBuilder/WebviewBuilder::data_store_identifier` on macOS. diff --git a/.changes/deb-updater-support.md b/.changes/deb-updater-support.md deleted file mode 100644 index 001a5b1dccd7..000000000000 --- a/.changes/deb-updater-support.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'tauri-bundler': minor:feat -'tauri-cli': minor:feat -'@tauri-apps/cli': minor:feat ---- - -Generate signature for `.deb` packages when `createUpdaterArtifacts` option is enabled. diff --git a/.changes/extension-path.md b/.changes/extension-path.md deleted file mode 100644 index caec2b54d50e..000000000000 --- a/.changes/extension-path.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": "minor:feat" -"tauri-runtime": "minor:feat" -"tauri-runtime-wry": "minor:feat" ---- - -Add `WebviewWindowBuilder/WebviewBuilder::extensions_path` on Linux and Windows. diff --git a/.changes/fix-add-capability-panic.md b/.changes/fix-add-capability-panic.md deleted file mode 100644 index 2263dc78774c..000000000000 --- a/.changes/fix-add-capability-panic.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri: 'patch:bug' ---- - -Fix panic when a plugin command is run with a capability added at runtime (via `Manager::add_capability`). diff --git a/.changes/fix-apijs-mockipc-cb-type.md b/.changes/fix-apijs-mockipc-cb-type.md deleted file mode 100644 index fa1bb70acfdb..000000000000 --- a/.changes/fix-apijs-mockipc-cb-type.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": "patch:bug" ---- - -Removed the generic in the type of the callback function argument in `mockIPC` which prevented its proper use in tests using TypeScript. diff --git a/.changes/fix-cli-permission-typing.md b/.changes/fix-cli-permission-typing.md deleted file mode 100644 index 06979817a99f..000000000000 --- a/.changes/fix-cli-permission-typing.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:bug -"@tauri-apps/cli": patch:bug ---- - -Fix `tauri remove` from removing object type (`{}`) permissions. diff --git a/.changes/fix-cli-plugin-path.md b/.changes/fix-cli-plugin-path.md deleted file mode 100644 index dcc04a37e214..000000000000 --- a/.changes/fix-cli-plugin-path.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-cli': patch:bug -'@tauri-apps/cli': patch:bug ---- - -Fix the exclude path in file `Cargo.toml` of plugin template generated by cli. Path changed in [#9346](https://github.com/tauri-apps/tauri/pull/9346) diff --git a/.changes/fix-resource-id.md b/.changes/fix-resource-id.md deleted file mode 100644 index 177f8a7bfe2f..000000000000 --- a/.changes/fix-resource-id.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': patch:bug ---- - -Fixed a panic caused by an assert when the resource random id has been used already. \ No newline at end of file diff --git a/.changes/info-linux-de-and-session.md b/.changes/info-linux-de-and-session.md deleted file mode 100644 index 024c5f23591b..000000000000 --- a/.changes/info-linux-de-and-session.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-cli": "patch:feat" -"@tauri-apps/cli": "patch:feat" ---- - -Include Linux destkop environment and session type in `tauri info` command. - diff --git a/.changes/json5-capability-files.md b/.changes/json5-capability-files.md deleted file mode 100644 index b0fe7fb54699..000000000000 --- a/.changes/json5-capability-files.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": patch:bug -"tauri-utils": patch:bug ---- - -Fix `.json5` capability files not recognized even with `config-json5` feature enabled diff --git a/.changes/overlay.md b/.changes/overlay.md deleted file mode 100644 index 2c29c2da2431..000000000000 --- a/.changes/overlay.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"tauri": minor:feat -"tauri-runtime-wry": minor:feat -"tauri-runtime": minor:feat -'@tauri-apps/api': minor:feat ---- - -Add badging APIs: -- `Window/WebviewWindow::set_badge_count` for Linux, macOS and IOS. -- `Window/WebviewWindow::set_overlay_icon` for Windows Only. -- `Window/WebviewWindow::set_badge_label`for macOS Only. \ No newline at end of file diff --git a/.changes/path-plugin-is-absolute.md b/.changes/path-plugin-is-absolute.md deleted file mode 100644 index c0a8a69a543b..000000000000 --- a/.changes/path-plugin-is-absolute.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": "patch:bug" ---- - -Fix error where using `isAbsolute` would return `Command not found`. diff --git a/.changes/set-show-menu-on-left-click-windows-api.md b/.changes/set-show-menu-on-left-click-windows-api.md deleted file mode 100644 index 2cf5ce40977d..000000000000 --- a/.changes/set-show-menu-on-left-click-windows-api.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@tauri-apps/api": "minor:feat" ---- - -Add `TrayIcon.setShowMenuOnLeftClick` method and deprecate `TrayIcon.setMenuOnLeftClick` to match the Rust API. - diff --git a/.changes/show-menu-on-left-click-windows-api.md b/.changes/show-menu-on-left-click-windows-api.md deleted file mode 100644 index c13b44136259..000000000000 --- a/.changes/show-menu-on-left-click-windows-api.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@tauri-apps/api": "minor:feat" ---- - -Add `TrayIconOptions.showMenuOnLeftClick` field and deprecate `TrayIconOptions.menuOnLeftClick` to match the Rust API. - diff --git a/.changes/show-menu-on-left-click-windows.md b/.changes/show-menu-on-left-click-windows.md deleted file mode 100644 index 721a1d8aed51..000000000000 --- a/.changes/show-menu-on-left-click-windows.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": "minor:feat" ---- - -Add `TrayIconBuilder::show_menu_on_left_click` method and deprecate `TrayIconBuilder::menu_on_left_click` for consistent naming and clarity. - diff --git a/.changes/specta-feature-fix.md b/.changes/specta-feature-fix.md deleted file mode 100644 index b937c68a6854..000000000000 --- a/.changes/specta-feature-fix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:bug ---- - -Fix `specta-util` dependency not found error when using `specta` feature diff --git a/.changes/tray-icon-menu-on-left-click-windows-api.md b/.changes/tray-icon-menu-on-left-click-windows-api.md deleted file mode 100644 index bb1014f908c5..000000000000 --- a/.changes/tray-icon-menu-on-left-click-windows-api.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@tauri-apps/api": "minor:enhance" ---- - -Add support for `TrayIconOptions.menuOnLeftClick` option and `TrayIcon.setMenuOnLeftClick` on Windows. - diff --git a/.changes/tray-icon-menu-on-left-click-windows.md b/.changes/tray-icon-menu-on-left-click-windows.md deleted file mode 100644 index a414e88b61d1..000000000000 --- a/.changes/tray-icon-menu-on-left-click-windows.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": "minor:enhance" ---- - -Add support for `TrayIconBuilder::menu_on_left_click` and `TrayIcon::set_show_menu_on_left_click` on Windows. - diff --git a/.changes/unmanaged-state-command.md b/.changes/unmanaged-state-command.md deleted file mode 100644 index fca4ecb6fc2f..000000000000 --- a/.changes/unmanaged-state-command.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": "patch:bug" ---- - -Fix panic when invoking a command with an unmanaged state, an error will be returned instead. diff --git a/.changes/webview2-com-034.md b/.changes/webview2-com-034.md deleted file mode 100644 index 9eadea3f6499..000000000000 --- a/.changes/webview2-com-034.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": "minor:enhance" ---- - -**Breaking change:** Updated `webview2-com` to `0.34`. This may be a breaking change if you use the `with_webview` method. diff --git a/Cargo.lock b/Cargo.lock index 97d7977edbd6..4ba3caeb6545 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,7 +14,7 @@ version = "0.1.0" dependencies = [ "insta", "serde_json", - "tauri-utils 2.1.0", + "tauri-utils 2.1.1", ] [[package]] @@ -9062,7 +9062,7 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tauri" -version = "2.1.1" +version = "2.2.0" dependencies = [ "anyhow", "bytes", @@ -9107,7 +9107,7 @@ dependencies = [ "tauri-macros", "tauri-runtime", "tauri-runtime-wry", - "tauri-utils 2.1.0", + "tauri-utils 2.1.1", "thiserror 2.0.9", "tokio", "tracing", @@ -9123,7 +9123,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.0.3" +version = "2.0.4" dependencies = [ "anyhow", "cargo_toml", @@ -9137,7 +9137,7 @@ dependencies = [ "serde", "serde_json", "tauri-codegen", - "tauri-utils 2.1.0", + "tauri-utils 2.1.1", "tauri-winres", "toml 0.8.19", "walkdir", @@ -9145,7 +9145,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "2.1.0" +version = "2.2.0" dependencies = [ "anyhow", "ar", @@ -9174,7 +9174,7 @@ dependencies = [ "tar", "tauri-icns", "tauri-macos-sign", - "tauri-utils 2.1.0", + "tauri-utils 2.1.1", "tempfile", "thiserror 2.0.9", "time", @@ -9189,7 +9189,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "2.1.0" +version = "2.2.0" dependencies = [ "anyhow", "ar", @@ -9254,7 +9254,7 @@ dependencies = [ "tauri-icns", "tauri-macos-sign", "tauri-utils 1.6.0", - "tauri-utils 2.1.0", + "tauri-utils 2.1.1", "tempfile", "tokio", "toml 0.8.19", @@ -9279,7 +9279,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.0.3" +version = "2.0.4" dependencies = [ "base64 0.22.1", "brotli", @@ -9295,7 +9295,7 @@ dependencies = [ "serde_json", "sha2", "syn 2.0.94", - "tauri-utils 2.1.0", + "tauri-utils 2.1.1", "thiserror 2.0.9", "time", "url", @@ -9363,19 +9363,21 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.0.3" +version = "2.0.4" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", "syn 2.0.94", "tauri-codegen", - "tauri-utils 2.1.0", + "tauri-utils 2.1.1", ] [[package]] name = "tauri-plugin" version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e753f2a30933a9bbf0a202fa47d7cc4a3401f06e8d6dcc53b79aa62954828c79" dependencies = [ "anyhow", "glob", @@ -9390,9 +9392,7 @@ dependencies = [ [[package]] name = "tauri-plugin" -version = "2.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e753f2a30933a9bbf0a202fa47d7cc4a3401f06e8d6dcc53b79aa62954828c79" +version = "2.0.4" dependencies = [ "anyhow", "glob", @@ -9400,7 +9400,7 @@ dependencies = [ "schemars", "serde", "serde_json", - "tauri-utils 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tauri-utils 2.1.1", "toml 0.8.19", "walkdir", ] @@ -9422,7 +9422,7 @@ dependencies = [ "serde_repr", "swift-rs", "tauri", - "tauri-plugin 2.0.3 (registry+https://github.com/rust-lang/crates.io-index)", + "tauri-plugin 2.0.3", "thiserror 2.0.9", "time", ] @@ -9434,13 +9434,13 @@ dependencies = [ "log", "serde", "tauri", - "tauri-plugin 2.0.3", + "tauri-plugin 2.0.4", "thiserror 2.0.9", ] [[package]] name = "tauri-runtime" -version = "2.2.0" +version = "2.3.0" dependencies = [ "dpi", "gtk", @@ -9449,7 +9449,7 @@ dependencies = [ "raw-window-handle", "serde", "serde_json", - "tauri-utils 2.1.0", + "tauri-utils 2.1.1", "thiserror 2.0.9", "url", "windows", @@ -9457,7 +9457,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "2.2.0" +version = "2.3.0" dependencies = [ "gtk", "http 1.1.0", @@ -9471,7 +9471,7 @@ dependencies = [ "softbuffer", "tao", "tauri-runtime", - "tauri-utils 2.1.0", + "tauri-utils 2.1.1", "tracing", "url", "webkit2gtk", @@ -9487,7 +9487,7 @@ dependencies = [ "schemars", "serde", "serde_json", - "tauri-utils 2.1.0", + "tauri-utils 2.1.1", "url", ] @@ -9539,19 +9539,17 @@ dependencies = [ [[package]] name = "tauri-utils" version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9271a88f99b4adea0dc71d0baca4505475a0bbd139fb135f62958721aaa8fe54" dependencies = [ - "aes-gcm", - "brotli", - "cargo_metadata 0.19.0", + "cargo_metadata 0.18.1", "ctor", "dunce", - "getrandom 0.2.15", "glob", "html5ever", "http 1.1.0", "infer 0.16.0", "json-patch 3.0.1", - "json5", "kuchikiki", "log", "memchr", @@ -9565,31 +9563,30 @@ dependencies = [ "serde-untagged", "serde_json", "serde_with", - "serial_test", - "serialize-to-javascript", "swift-rs", "thiserror 2.0.9", "toml 0.8.19", "url", "urlpattern", "uuid", - "walkdir", ] [[package]] name = "tauri-utils" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9271a88f99b4adea0dc71d0baca4505475a0bbd139fb135f62958721aaa8fe54" +version = "2.1.1" dependencies = [ - "cargo_metadata 0.18.1", + "aes-gcm", + "brotli", + "cargo_metadata 0.19.0", "ctor", "dunce", + "getrandom 0.2.15", "glob", "html5ever", "http 1.1.0", "infer 0.16.0", "json-patch 3.0.1", + "json5", "kuchikiki", "log", "memchr", @@ -9603,12 +9600,15 @@ dependencies = [ "serde-untagged", "serde_json", "serde_with", + "serial_test", + "serialize-to-javascript", "swift-rs", "thiserror 2.0.9", "toml 0.8.19", "url", "urlpattern", "uuid", + "walkdir", ] [[package]] diff --git a/crates/tauri-build/CHANGELOG.md b/crates/tauri-build/CHANGELOG.md index 43c42af79d65..4eaa8d59dec0 100644 --- a/crates/tauri-build/CHANGELOG.md +++ b/crates/tauri-build/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.0.4] + +### Dependencies + +- Upgraded to `tauri-utils@2.1.1` +- Upgraded to `tauri-codegen@2.0.4` + ## \[2.0.3] ### Dependencies diff --git a/crates/tauri-build/Cargo.toml b/crates/tauri-build/Cargo.toml index e95397d7f03e..c6a8972b8d62 100644 --- a/crates/tauri-build/Cargo.toml +++ b/crates/tauri-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-build" -version = "2.0.3" +version = "2.0.4" 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.3", path = "../tauri-codegen", optional = true } -tauri-utils = { version = "2.1.0", path = "../tauri-utils", features = [ +tauri-codegen = { version = "2.0.4", path = "../tauri-codegen", optional = true } +tauri-utils = { version = "2.1.1", path = "../tauri-utils", features = [ "build", "resources", ] } diff --git a/crates/tauri-bundler/CHANGELOG.md b/crates/tauri-bundler/CHANGELOG.md index 1acb1a70b9db..5f6dfcaf0b4f 100644 --- a/crates/tauri-bundler/CHANGELOG.md +++ b/crates/tauri-bundler/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## \[2.2.0] + +### New Features + +- [`cccb308c7`](https://www.github.com/tauri-apps/tauri/commit/cccb308c7b559b0838138d6cea280665f060c925) ([#11562](https://www.github.com/tauri-apps/tauri/pull/11562) by [@jLynx](https://www.github.com/tauri-apps/tauri/../../jLynx)) Generate signature for `.deb` packages when `createUpdaterArtifacts` option is enabled. + +### Enhancements + +- [`93a3a043d`](https://www.github.com/tauri-apps/tauri/commit/93a3a043d39cc96515d51d98beeb14261d3a246b) ([#11727](https://www.github.com/tauri-apps/tauri/pull/11727) by [@Kiyozz](https://www.github.com/tauri-apps/tauri/../../Kiyozz)) Add support for `Portuguese` language for NSIS windows installer. +- [`53f808674`](https://www.github.com/tauri-apps/tauri/commit/53f808674b2c0012bc44a41ced90e742afbb41e8) ([#11799](https://www.github.com/tauri-apps/tauri/pull/11799) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) The bundler now reads the `TAURI_BUNDLER_DMG_IGNORE_CI` env var to decide whether to check for `CI: true` when building DMG files. + +### Dependencies + +- Upgraded to `tauri-utils@2.1.1` + ## \[2.1.0] ### New Features diff --git a/crates/tauri-bundler/Cargo.toml b/crates/tauri-bundler/Cargo.toml index adfe328f4fee..c5f44d1a393e 100644 --- a/crates/tauri-bundler/Cargo.toml +++ b/crates/tauri-bundler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-bundler" -version = "2.1.0" +version = "2.2.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.1.0", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.1.1", path = "../tauri-utils", features = [ "resources", ] } image = "0.25" diff --git a/crates/tauri-cli/CHANGELOG.md b/crates/tauri-cli/CHANGELOG.md index 29eae0a920cd..c514e4b6b11e 100644 --- a/crates/tauri-cli/CHANGELOG.md +++ b/crates/tauri-cli/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## \[2.2.0] + +### New Features + +- [`cccb308c7`](https://www.github.com/tauri-apps/tauri/commit/cccb308c7b559b0838138d6cea280665f060c925) ([#11562](https://www.github.com/tauri-apps/tauri/pull/11562) by [@jLynx](https://www.github.com/tauri-apps/tauri/../../jLynx)) Generate signature for `.deb` packages when `createUpdaterArtifacts` option is enabled. +- [`74212d40d`](https://www.github.com/tauri-apps/tauri/commit/74212d40d80dba4501b3d4ae30104fa3d447bdf9) ([#11653](https://www.github.com/tauri-apps/tauri/pull/11653) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Include Linux destkop environment and session type in `tauri info` command. + +### Enhancements + +- [`93a3a043d`](https://www.github.com/tauri-apps/tauri/commit/93a3a043d39cc96515d51d98beeb14261d3a246b) ([#11727](https://www.github.com/tauri-apps/tauri/pull/11727) by [@Kiyozz](https://www.github.com/tauri-apps/tauri/../../Kiyozz)) Add support for `Portuguese` language for NSIS windows installer. + +### Bug Fixes + +- [`c8700656b`](https://www.github.com/tauri-apps/tauri/commit/c8700656be3001a0cc6e087f23aebd482430a85b) ([#11985](https://www.github.com/tauri-apps/tauri/pull/11985) by [@ShaunSHamilton](https://www.github.com/tauri-apps/tauri/../../ShaunSHamilton)) Fix `tauri remove` from removing object type (`{}`) permissions. +- [`0ae06c5ca`](https://www.github.com/tauri-apps/tauri/commit/0ae06c5ca89cecd24154affdc69668f5e1e67d85) ([#11914](https://www.github.com/tauri-apps/tauri/pull/11914) by [@wtto00](https://www.github.com/tauri-apps/tauri/../../wtto00)) Fix the exclude path in file `Cargo.toml` of plugin template generated by cli. Path changed in [#9346](https://github.com/tauri-apps/tauri/pull/9346) + +### Dependencies + +- Upgraded to `tauri-bundler@2.2.0` +- Upgraded to `tauri-utils@2.1.1` + ## \[2.1.0] ### New Features diff --git a/crates/tauri-cli/Cargo.toml b/crates/tauri-cli/Cargo.toml index 192fed157299..ca62a001bf5d 100644 --- a/crates/tauri-cli/Cargo.toml +++ b/crates/tauri-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-cli" -version = "2.1.0" +version = "2.2.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", features = ["derive", "env"] } anyhow = "1" -tauri-bundler = { version = "2.1.0", default-features = false, path = "../tauri-bundler" } +tauri-bundler = { version = "2.2.0", default-features = false, path = "../tauri-bundler" } colored = "2" serde = { version = "1", features = ["derive"] } serde_json = { version = "1", features = ["preserve_order"] } @@ -57,7 +57,7 @@ shared_child = "1" duct = "0.13" toml_edit = { version = "0.22", features = ["serde"] } json-patch = "3" -tauri-utils = { version = "2.1.0", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.1.1", 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 c599c4d9fd7e..3229931cf177 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.1.1", + "$id": "https://schema.tauri.app/config/2.2.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 97d130b6b6dd..6b04aa815055 100644 --- a/crates/tauri-cli/metadata-v2.json +++ b/crates/tauri-cli/metadata-v2.json @@ -1,9 +1,9 @@ { "cli.js": { - "version": "2.1.0", + "version": "2.2.0", "node": ">= 10.0.0" }, - "tauri": "2.1.1", - "tauri-build": "2.0.2", - "tauri-plugin": "2.0.2" + "tauri": "2.2.0", + "tauri-build": "2.0.3", + "tauri-plugin": "2.0.3" } diff --git a/crates/tauri-codegen/CHANGELOG.md b/crates/tauri-codegen/CHANGELOG.md index 95a0fb544b90..6064d6453c45 100644 --- a/crates/tauri-codegen/CHANGELOG.md +++ b/crates/tauri-codegen/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.4] + +### Dependencies + +- Upgraded to `tauri-utils@2.1.1` + ## \[2.0.3] ### Dependencies diff --git a/crates/tauri-codegen/Cargo.toml b/crates/tauri-codegen/Cargo.toml index f85403d7c511..18994b5a852b 100644 --- a/crates/tauri-codegen/Cargo.toml +++ b/crates/tauri-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-codegen" -version = "2.0.3" +version = "2.0.4" 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.1.0", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.1.1", path = "../tauri-utils", features = [ "build", ] } thiserror = "2" diff --git a/crates/tauri-macros/CHANGELOG.md b/crates/tauri-macros/CHANGELOG.md index 3c80b3359ff7..543a9709ac38 100644 --- a/crates/tauri-macros/CHANGELOG.md +++ b/crates/tauri-macros/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.0.4] + +### Dependencies + +- Upgraded to `tauri-utils@2.1.1` +- Upgraded to `tauri-codegen@2.0.4` + ## \[2.0.3] ### Enhancements diff --git a/crates/tauri-macros/Cargo.toml b/crates/tauri-macros/Cargo.toml index adf7d9806f76..741d095296b8 100644 --- a/crates/tauri-macros/Cargo.toml +++ b/crates/tauri-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-macros" -version = "2.0.3" +version = "2.0.4" 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.3", default-features = false, path = "../tauri-codegen" } -tauri-utils = { version = "2.1.0", path = "../tauri-utils" } +tauri-codegen = { version = "2.0.4", default-features = false, path = "../tauri-codegen" } +tauri-utils = { version = "2.1.1", path = "../tauri-utils" } [features] custom-protocol = [] diff --git a/crates/tauri-plugin/CHANGELOG.md b/crates/tauri-plugin/CHANGELOG.md index 26976234ab45..4d52d8c03e3c 100644 --- a/crates/tauri-plugin/CHANGELOG.md +++ b/crates/tauri-plugin/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.4] + +### Dependencies + +- Upgraded to `tauri-utils@2.1.1` + ## \[2.0.3] ### Dependencies diff --git a/crates/tauri-plugin/Cargo.toml b/crates/tauri-plugin/Cargo.toml index fde4e9f1429c..916a79b9cbf0 100644 --- a/crates/tauri-plugin/Cargo.toml +++ b/crates/tauri-plugin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin" -version = "2.0.3" +version = "2.0.4" 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.1.0", default-features = false, features = [ +tauri-utils = { version = "2.1.1", 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 6fa4627d2914..ac0dcdf462cf 100644 --- a/crates/tauri-runtime-wry/CHANGELOG.md +++ b/crates/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## \[2.3.0] + +### New Features + +- [`18bd639f6`](https://www.github.com/tauri-apps/tauri/commit/18bd639f6e22c0188aa219739f367b5bf5ab0398) ([#11798](https://www.github.com/tauri-apps/tauri/pull/11798) by [@lars-berger](https://www.github.com/tauri-apps/tauri/../../lars-berger)) Add `WebviewWindowBuilder/WebviewBuilder::data_store_identifier` on macOS. +- [`dc4d79477`](https://www.github.com/tauri-apps/tauri/commit/dc4d79477665bc3bfefb4048772414cf5d78e3df) ([#11628](https://www.github.com/tauri-apps/tauri/pull/11628) by [@SpikeHD](https://www.github.com/tauri-apps/tauri/../../SpikeHD)) Add `WebviewWindowBuilder/WebviewBuilder::extensions_path` on Linux and Windows. +- [`020ea0556`](https://www.github.com/tauri-apps/tauri/commit/020ea05561348dcd6d2a7df358f8a5190f661ba2) ([#11661](https://www.github.com/tauri-apps/tauri/pull/11661) by [@ahqsoftwares](https://www.github.com/tauri-apps/tauri/../../ahqsoftwares)) Add badging APIs: + + - `Window/WebviewWindow::set_badge_count` for Linux, macOS and IOS. + - `Window/WebviewWindow::set_overlay_icon` for Windows Only. + - `Window/WebviewWindow::set_badge_label`for macOS Only. + +### Dependencies + +- Upgraded to `tauri-runtime@2.3.0` +- Upgraded to `tauri-utils@2.1.1` + ## \[2.2.0] ### New Features diff --git a/crates/tauri-runtime-wry/Cargo.toml b/crates/tauri-runtime-wry/Cargo.toml index 6e504817ba9f..3a180bc43f4e 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.2.0" +version = "2.3.0" description = "Wry bindings to the Tauri runtime" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -24,8 +24,8 @@ wry = { version = "0.48", default-features = false, features = [ "linux-body", ] } tao = { version = "0.31.0", default-features = false, features = ["rwh_06"] } -tauri-runtime = { version = "2.2.0", path = "../tauri-runtime" } -tauri-utils = { version = "2.1.0", path = "../tauri-utils" } +tauri-runtime = { version = "2.3.0", path = "../tauri-runtime" } +tauri-utils = { version = "2.1.1", path = "../tauri-utils" } raw-window-handle = "0.6" http = "1" url = "2" diff --git a/crates/tauri-runtime/CHANGELOG.md b/crates/tauri-runtime/CHANGELOG.md index 8970d59f66fb..a9045047f898 100644 --- a/crates/tauri-runtime/CHANGELOG.md +++ b/crates/tauri-runtime/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## \[2.3.0] + +### New Features + +- [`18bd639f6`](https://www.github.com/tauri-apps/tauri/commit/18bd639f6e22c0188aa219739f367b5bf5ab0398) ([#11798](https://www.github.com/tauri-apps/tauri/pull/11798) by [@lars-berger](https://www.github.com/tauri-apps/tauri/../../lars-berger)) Add `WebviewWindowBuilder/WebviewBuilder::data_store_identifier` on macOS. +- [`dc4d79477`](https://www.github.com/tauri-apps/tauri/commit/dc4d79477665bc3bfefb4048772414cf5d78e3df) ([#11628](https://www.github.com/tauri-apps/tauri/pull/11628) by [@SpikeHD](https://www.github.com/tauri-apps/tauri/../../SpikeHD)) Add `WebviewWindowBuilder/WebviewBuilder::extensions_path` on Linux and Windows. +- [`020ea0556`](https://www.github.com/tauri-apps/tauri/commit/020ea05561348dcd6d2a7df358f8a5190f661ba2) ([#11661](https://www.github.com/tauri-apps/tauri/pull/11661) by [@ahqsoftwares](https://www.github.com/tauri-apps/tauri/../../ahqsoftwares)) Add badging APIs: + + - `Window/WebviewWindow::set_badge_count` for Linux, macOS and IOS. + - `Window/WebviewWindow::set_overlay_icon` for Windows Only. + - `Window/WebviewWindow::set_badge_label`for macOS Only. + +### Dependencies + +- Upgraded to `tauri-utils@2.1.1` + ## \[2.2.0] ### New Features diff --git a/crates/tauri-runtime/Cargo.toml b/crates/tauri-runtime/Cargo.toml index d33fa217bfeb..0e2171b9c574 100644 --- a/crates/tauri-runtime/Cargo.toml +++ b/crates/tauri-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime" -version = "2.2.0" +version = "2.3.0" description = "Runtime for Tauri applications" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -29,7 +29,7 @@ targets = [ serde = { version = "1", features = ["derive"] } serde_json = "1" thiserror = "2" -tauri-utils = { version = "2.1.0", path = "../tauri-utils" } +tauri-utils = { version = "2.1.1", path = "../tauri-utils" } http = "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 c599c4d9fd7e..3229931cf177 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.1.1", + "$id": "https://schema.tauri.app/config/2.2.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 319527f97ece..c951b181c159 100644 --- a/crates/tauri-utils/CHANGELOG.md +++ b/crates/tauri-utils/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.1.1] + +### Bug Fixes + +- [`46935212b`](https://www.github.com/tauri-apps/tauri/commit/46935212b61da44dc82dfeb803fceebf5659f7b7) ([#11658](https://www.github.com/tauri-apps/tauri/pull/11658) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Fix `.json5` capability files not recognized even with `config-json5` feature enabled + ## \[2.1.0] ### New Features diff --git a/crates/tauri-utils/Cargo.toml b/crates/tauri-utils/Cargo.toml index 08100012482b..273582cc2460 100644 --- a/crates/tauri-utils/Cargo.toml +++ b/crates/tauri-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-utils" -version = "2.1.0" +version = "2.1.1" description = "Utilities for Tauri" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" diff --git a/crates/tauri/CHANGELOG.md b/crates/tauri/CHANGELOG.md index 14dab6a14205..8200479d2329 100644 --- a/crates/tauri/CHANGELOG.md +++ b/crates/tauri/CHANGELOG.md @@ -1,5 +1,42 @@ # Changelog +## \[2.2.0] + +### New Features + +- [`f884bae75`](https://www.github.com/tauri-apps/tauri/commit/f884bae75b3ad8f8debfd29bb05ac9cbc9748c89) ([#11742](https://www.github.com/tauri-apps/tauri/pull/11742) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `tauri::Builder::on_tray_icon_event` handler. +- [`5188c0fae`](https://www.github.com/tauri-apps/tauri/commit/5188c0fae2bb47e40d09f70bf308c300045a2e2b) ([#11767](https://www.github.com/tauri-apps/tauri/pull/11767) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) Added `Scope::is_forbidden` to check if a path was explicitly forbidden. +- [`18bd639f6`](https://www.github.com/tauri-apps/tauri/commit/18bd639f6e22c0188aa219739f367b5bf5ab0398) ([#11798](https://www.github.com/tauri-apps/tauri/pull/11798) by [@lars-berger](https://www.github.com/tauri-apps/tauri/../../lars-berger)) Add `WebviewWindowBuilder/WebviewBuilder::data_store_identifier` on macOS. +- [`dc4d79477`](https://www.github.com/tauri-apps/tauri/commit/dc4d79477665bc3bfefb4048772414cf5d78e3df) ([#11628](https://www.github.com/tauri-apps/tauri/pull/11628) by [@SpikeHD](https://www.github.com/tauri-apps/tauri/../../SpikeHD)) Add `WebviewWindowBuilder/WebviewBuilder::extensions_path` on Linux and Windows. +- [`020ea0556`](https://www.github.com/tauri-apps/tauri/commit/020ea05561348dcd6d2a7df358f8a5190f661ba2) ([#11661](https://www.github.com/tauri-apps/tauri/pull/11661) by [@ahqsoftwares](https://www.github.com/tauri-apps/tauri/../../ahqsoftwares)) Add badging APIs: + + - `Window/WebviewWindow::set_badge_count` for Linux, macOS and IOS. + - `Window/WebviewWindow::set_overlay_icon` for Windows Only. + - `Window/WebviewWindow::set_badge_label`for macOS Only. +- [`fc30b20be`](https://www.github.com/tauri-apps/tauri/commit/fc30b20bea125f647db00ca824663f8e1da4d61f) ([#11726](https://www.github.com/tauri-apps/tauri/pull/11726) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `TrayIconBuilder::show_menu_on_left_click` method and deprecate `TrayIconBuilder::menu_on_left_click` for consistent naming and clarity. + +### Enhancements + +- [`d86aaccb0`](https://www.github.com/tauri-apps/tauri/commit/d86aaccb0b42760bb59bc04d74a6ea234bb64229) ([#11729](https://www.github.com/tauri-apps/tauri/pull/11729) by [@sandercox](https://www.github.com/tauri-apps/tauri/../../sandercox)) Add support for `TrayIconBuilder::menu_on_left_click` and `TrayIcon::set_show_menu_on_left_click` on Windows. +- [`b0ddee899`](https://www.github.com/tauri-apps/tauri/commit/b0ddee8992ac3c7d47e2cfc9714f5725fadca7cf) ([#12101](https://www.github.com/tauri-apps/tauri/pull/12101) by [@renovate](https://www.github.com/tauri-apps/tauri/../../renovate)) **Breaking change:** Updated `webview2-com` to `0.34`. This may be a breaking change if you use the `with_webview` method. + +### Bug Fixes + +- [`b50a1ac0e`](https://www.github.com/tauri-apps/tauri/commit/b50a1ac0ef4c7686c3537512f1ba607b9ba6589c) ([#11850](https://www.github.com/tauri-apps/tauri/pull/11850) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) Add webview and window color setters to autogenerated permissions. +- [`ba6f37014`](https://www.github.com/tauri-apps/tauri/commit/ba6f3701472daa9295a39709761ea85c128881f1) ([#11785](https://www.github.com/tauri-apps/tauri/pull/11785) by [@lars-berger](https://www.github.com/tauri-apps/tauri/../../lars-berger)) Fix panic when a plugin command is run with a capability added at runtime (via `Manager::add_capability`). +- [`e349dfe57`](https://www.github.com/tauri-apps/tauri/commit/e349dfe5722c0b47620582bd03f8c184ffeb6979) ([#12000](https://www.github.com/tauri-apps/tauri/pull/12000) by [@stringhandler](https://www.github.com/tauri-apps/tauri/../../stringhandler)) Fixed a panic caused by an assert when the resource random id has been used already. +- [`46935212b`](https://www.github.com/tauri-apps/tauri/commit/46935212b61da44dc82dfeb803fceebf5659f7b7) ([#11658](https://www.github.com/tauri-apps/tauri/pull/11658) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Fix `.json5` capability files not recognized even with `config-json5` feature enabled +- [`b37741da6`](https://www.github.com/tauri-apps/tauri/commit/b37741da6a2d3dad71490c910a64eeedda2ba9ca) ([#11871](https://www.github.com/tauri-apps/tauri/pull/11871) by [@johncarmack1984](https://www.github.com/tauri-apps/tauri/../../johncarmack1984)) Fix `specta-util` dependency not found error when using `specta` feature +- [`ca7f025fd`](https://www.github.com/tauri-apps/tauri/commit/ca7f025fd8666f8fce6894bb5e16cf2d4fc81e0c) ([#11958](https://www.github.com/tauri-apps/tauri/pull/11958) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix panic when invoking a command with an unmanaged state, an error will be returned instead. + +### Dependencies + +- Upgraded to `tauri-runtime@2.3.0` +- Upgraded to `tauri-runtime-wry@2.3.0` +- Upgraded to `tauri-utils@2.1.1` +- Upgraded to `tauri-macros@2.0.4` +- Upgraded to `tauri-build@2.0.4` + ## \[2.1.1] ### Bug Fixes diff --git a/crates/tauri/Cargo.toml b/crates/tauri/Cargo.toml index 379c45f6cd22..e7a39710fa7d 100644 --- a/crates/tauri/Cargo.toml +++ b/crates/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "2.1.1" +version = "2.2.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" thiserror = "2" -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 = [ +tauri-runtime = { version = "2.3.0", path = "../tauri-runtime" } +tauri-macros = { version = "2.0.4", path = "../tauri-macros" } +tauri-utils = { version = "2.1.1", features = [ "resources", ], path = "../tauri-utils" } -tauri-runtime-wry = { version = "2.2.0", path = "../tauri-runtime-wry", optional = true } +tauri-runtime-wry = { version = "2.3.0", path = "../tauri-runtime-wry", optional = true } getrandom = "0.2" serde_repr = "0.1" http = "1" @@ -137,8 +137,8 @@ swift-rs = "1" [build-dependencies] heck = "0.5" -tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.3" } -tauri-utils = { path = "../tauri-utils/", version = "2.1.0", features = [ +tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.4" } +tauri-utils = { path = "../tauri-utils/", version = "2.1.1", features = [ "build", ] } diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index d7238884e69f..fe345868d8a7 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,29 @@ # Changelog +## \[2.2.0] + +### New Features + +- [`020ea0556`](https://www.github.com/tauri-apps/tauri/commit/020ea05561348dcd6d2a7df358f8a5190f661ba2) ([#11661](https://www.github.com/tauri-apps/tauri/pull/11661) by [@ahqsoftwares](https://www.github.com/tauri-apps/tauri/../../ahqsoftwares)) Add badging APIs: + + - `Window/WebviewWindow::set_badge_count` for Linux, macOS and IOS. + - `Window/WebviewWindow::set_overlay_icon` for Windows Only. + - `Window/WebviewWindow::set_badge_label`for macOS Only. +- [`fc30b20be`](https://www.github.com/tauri-apps/tauri/commit/fc30b20bea125f647db00ca824663f8e1da4d61f) ([#11726](https://www.github.com/tauri-apps/tauri/pull/11726) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `TrayIcon.setShowMenuOnLeftClick` method and deprecate `TrayIcon.setMenuOnLeftClick` to match the Rust API. +- [`fc30b20be`](https://www.github.com/tauri-apps/tauri/commit/fc30b20bea125f647db00ca824663f8e1da4d61f) ([#11726](https://www.github.com/tauri-apps/tauri/pull/11726) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `TrayIconOptions.showMenuOnLeftClick` field and deprecate `TrayIconOptions.menuOnLeftClick` to match the Rust API. + +### Enhancements + +- [`fc30b20be`](https://www.github.com/tauri-apps/tauri/commit/fc30b20bea125f647db00ca824663f8e1da4d61f) ([#11726](https://www.github.com/tauri-apps/tauri/pull/11726) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add support for `TrayIconOptions.menuOnLeftClick` option and `TrayIcon.setMenuOnLeftClick` on Windows. + +### Bug Fixes + +- [`a16796a55`](https://www.github.com/tauri-apps/tauri/commit/a16796a55592cf5be80043edfbb630dd2e32efab) ([#12069](https://www.github.com/tauri-apps/tauri/pull/12069) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Fix `Channel` never calls `onmessage` in some cases +- [`12a48d1e2`](https://www.github.com/tauri-apps/tauri/commit/12a48d1e26a83c3915eaa0687b196fbc8f2d457a) ([#11741](https://www.github.com/tauri-apps/tauri/pull/11741) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix error when calling `PredefinedMenuItem.new` to create an `About` menu item that uses an `Image` instance for the about icon. +- [`12a48d1e2`](https://www.github.com/tauri-apps/tauri/commit/12a48d1e26a83c3915eaa0687b196fbc8f2d457a) ([#11741](https://www.github.com/tauri-apps/tauri/pull/11741) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix error when calling `IconMenuItem.new` using an `Image` instance for the icon. +- [`b63262cd4`](https://www.github.com/tauri-apps/tauri/commit/b63262cd4d6a3667ca1664607a0a5444ad79fe0e) ([#11724](https://www.github.com/tauri-apps/tauri/pull/11724) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) Removed the generic in the type of the callback function argument in `mockIPC` which prevented its proper use in tests using TypeScript. +- [`a6e84f7d2`](https://www.github.com/tauri-apps/tauri/commit/a6e84f7d2c1d5fdc65901fce683502be3f47833f) ([#11835](https://www.github.com/tauri-apps/tauri/pull/11835) by [@ilittlebig](https://www.github.com/tauri-apps/tauri/../../ilittlebig)) Fix error where using `isAbsolute` would return `Command not found`. + ## \[2.1.1] ### Bug Fixes diff --git a/packages/api/package.json b/packages/api/package.json index 38acbc9bad7e..58e8b058fd5d 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "2.1.1", + "version": "2.2.0", "description": "Tauri API definitions", "funding": { "type": "opencollective", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 48a57a427eaf..2950c489fc89 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## \[2.2.0] + +### New Features + +- [`cccb308c7`](https://www.github.com/tauri-apps/tauri/commit/cccb308c7b559b0838138d6cea280665f060c925) ([#11562](https://www.github.com/tauri-apps/tauri/pull/11562) by [@jLynx](https://www.github.com/tauri-apps/tauri/../../jLynx)) Generate signature for `.deb` packages when `createUpdaterArtifacts` option is enabled. +- [`74212d40d`](https://www.github.com/tauri-apps/tauri/commit/74212d40d80dba4501b3d4ae30104fa3d447bdf9) ([#11653](https://www.github.com/tauri-apps/tauri/pull/11653) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Include Linux destkop environment and session type in `tauri info` command. + +### Enhancements + +- [`93a3a043d`](https://www.github.com/tauri-apps/tauri/commit/93a3a043d39cc96515d51d98beeb14261d3a246b) ([#11727](https://www.github.com/tauri-apps/tauri/pull/11727) by [@Kiyozz](https://www.github.com/tauri-apps/tauri/../../Kiyozz)) Add support for `Portuguese` language for NSIS windows installer. + +### Bug Fixes + +- [`c8700656b`](https://www.github.com/tauri-apps/tauri/commit/c8700656be3001a0cc6e087f23aebd482430a85b) ([#11985](https://www.github.com/tauri-apps/tauri/pull/11985) by [@ShaunSHamilton](https://www.github.com/tauri-apps/tauri/../../ShaunSHamilton)) Fix `tauri remove` from removing object type (`{}`) permissions. +- [`0ae06c5ca`](https://www.github.com/tauri-apps/tauri/commit/0ae06c5ca89cecd24154affdc69668f5e1e67d85) ([#11914](https://www.github.com/tauri-apps/tauri/pull/11914) by [@wtto00](https://www.github.com/tauri-apps/tauri/../../wtto00)) Fix the exclude path in file `Cargo.toml` of plugin template generated by cli. Path changed in [#9346](https://github.com/tauri-apps/tauri/pull/9346) + +### Dependencies + +- Upgraded to `tauri-cli@2.2.0` + ## \[2.1.0] ### New Features diff --git a/packages/cli/package.json b/packages/cli/package.json index fc062edb7d38..79c3b8805ea2 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "2.1.0", + "version": "2.2.0", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective",