From a7b7dd928668cb069fbe52bd23ded68c8ade57a9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 18 Aug 2025 10:59:38 +0000 Subject: [PATCH 1/3] apply version updates --- .changes/WebviewWindow-on_webview_event.md | 5 --- .../add-code-single-instance-autostart.md | 6 --- .changes/add-fips-to-wix-config.md | 5 --- .changes/additional-watch-folders.md | 7 ---- .changes/appimage-plugin.md | 7 ---- .changes/check-plugin-versions.md | 6 --- .changes/cli-goblin-log-level.md | 6 --- .changes/dont-sign-non-binary-resources.md | 5 --- .changes/export-PixelUnit.md | 5 --- .../export-TitleBarStyle-for-all-platform.md | 5 --- .changes/expose-inner-tray-icon.md | 8 ---- .changes/feat-bundler-platform-certs.md | 7 ---- .changes/feat-skip-stapling.md | 7 ---- ...-patching-codesign-verification-failure.md | 6 --- .changes/fix-bundler-rpm-release-default.md | 5 --- .../fix-ios-binary-framework-dependencies.md | 5 --- .changes/fix-permission-add-duplicates.md | 6 --- .changes/fix-plugin-template-svelte.md | 6 --- .changes/fix-resizing-double-free.md | 5 --- .changes/focusable.md | 8 ---- ...l-set_device_event_filter-for-apphandle.md | 7 ---- .changes/increase-target-ios.md | 7 ---- .changes/load-cert-mobile.md | 5 --- .changes/mobile-dev-root-cert.md | 6 --- .changes/on-document-title-changed.md | 7 ---- .changes/on_new_window.md | 7 ---- .changes/reduce-debug-format-size.md | 6 --- .changes/remove-plugin-static-constraint.md | 5 --- .../return-error-on-window-creation-failed.md | 5 --- .changes/run-mobile-plugin-async.md | 5 --- .changes/set-cookie-runtime.md | 6 --- .changes/set-cookie.md | 5 --- .changes/set-simple-fullscreen-api.md | 5 --- .changes/set-simple-fullscreen.md | 7 ---- .changes/submenu-icon-support.md | 11 ----- .changes/update-info-plist.md | 5 --- Cargo.lock | 28 ++++++------- crates/tauri-build/CHANGELOG.md | 7 ++++ crates/tauri-build/Cargo.toml | 6 +-- crates/tauri-bundler/CHANGELOG.md | 21 ++++++++++ crates/tauri-bundler/Cargo.toml | 6 +-- crates/tauri-cli/CHANGELOG.md | 29 ++++++++++++++ crates/tauri-cli/Cargo.toml | 8 ++-- 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-macos-sign/CHANGELOG.md | 6 +++ crates/tauri-macos-sign/Cargo.toml | 2 +- crates/tauri-macros/CHANGELOG.md | 7 ++++ crates/tauri-macros/Cargo.toml | 6 +-- crates/tauri-plugin/CHANGELOG.md | 10 +++++ crates/tauri-plugin/Cargo.toml | 4 +- crates/tauri-runtime-wry/CHANGELOG.md | 21 ++++++++++ crates/tauri-runtime-wry/Cargo.toml | 6 +-- crates/tauri-runtime/CHANGELOG.md | 15 +++++++ crates/tauri-runtime/Cargo.toml | 4 +- .../schemas/config.schema.json | 2 +- crates/tauri-utils/CHANGELOG.md | 16 ++++++++ crates/tauri-utils/Cargo.toml | 2 +- crates/tauri/CHANGELOG.md | 40 +++++++++++++++++++ crates/tauri/Cargo.toml | 14 +++---- packages/api/CHANGELOG.md | 17 ++++++++ packages/api/package.json | 2 +- packages/cli/CHANGELOG.md | 26 ++++++++++++ packages/cli/package.json | 2 +- 66 files changed, 274 insertions(+), 272 deletions(-) delete mode 100644 .changes/WebviewWindow-on_webview_event.md delete mode 100644 .changes/add-code-single-instance-autostart.md delete mode 100644 .changes/add-fips-to-wix-config.md delete mode 100644 .changes/additional-watch-folders.md delete mode 100644 .changes/appimage-plugin.md delete mode 100644 .changes/check-plugin-versions.md delete mode 100644 .changes/cli-goblin-log-level.md delete mode 100644 .changes/dont-sign-non-binary-resources.md delete mode 100644 .changes/export-PixelUnit.md delete mode 100644 .changes/export-TitleBarStyle-for-all-platform.md delete mode 100644 .changes/expose-inner-tray-icon.md delete mode 100644 .changes/feat-bundler-platform-certs.md delete mode 100644 .changes/feat-skip-stapling.md delete mode 100644 .changes/fix-binary-patching-codesign-verification-failure.md delete mode 100644 .changes/fix-bundler-rpm-release-default.md delete mode 100644 .changes/fix-ios-binary-framework-dependencies.md delete mode 100644 .changes/fix-permission-add-duplicates.md delete mode 100644 .changes/fix-plugin-template-svelte.md delete mode 100644 .changes/fix-resizing-double-free.md delete mode 100644 .changes/focusable.md delete mode 100644 .changes/impl-set_device_event_filter-for-apphandle.md delete mode 100644 .changes/increase-target-ios.md delete mode 100644 .changes/load-cert-mobile.md delete mode 100644 .changes/mobile-dev-root-cert.md delete mode 100644 .changes/on-document-title-changed.md delete mode 100644 .changes/on_new_window.md delete mode 100644 .changes/reduce-debug-format-size.md delete mode 100644 .changes/remove-plugin-static-constraint.md delete mode 100644 .changes/return-error-on-window-creation-failed.md delete mode 100644 .changes/run-mobile-plugin-async.md delete mode 100644 .changes/set-cookie-runtime.md delete mode 100644 .changes/set-cookie.md delete mode 100644 .changes/set-simple-fullscreen-api.md delete mode 100644 .changes/set-simple-fullscreen.md delete mode 100644 .changes/submenu-icon-support.md delete mode 100644 .changes/update-info-plist.md diff --git a/.changes/WebviewWindow-on_webview_event.md b/.changes/WebviewWindow-on_webview_event.md deleted file mode 100644 index 7311fb1fa1ba..000000000000 --- a/.changes/WebviewWindow-on_webview_event.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri: minor:enhance ---- - -Implemented `Webview::on_webview_event` for `WebviewWindow` as well diff --git a/.changes/add-code-single-instance-autostart.md b/.changes/add-code-single-instance-autostart.md deleted file mode 100644 index 6a76e6ddfaab..000000000000 --- a/.changes/add-code-single-instance-autostart.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:bug -"@tauri-apps/cli": patch:bug ---- - -Fix the generated plugin init code of `tauri add` for `tauri-plugin-autostart` and `tauri-plugin-single-instance` diff --git a/.changes/add-fips-to-wix-config.md b/.changes/add-fips-to-wix-config.md deleted file mode 100644 index 5385d7b9654d..000000000000 --- a/.changes/add-fips-to-wix-config.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri-utils: minor:enhance ---- - -Added `fips_compliant` field to `WixConfig` so that it can be configured via `tauri.conf.json` as well. diff --git a/.changes/additional-watch-folders.md b/.changes/additional-watch-folders.md deleted file mode 100644 index 7a64b4fa5f70..000000000000 --- a/.changes/additional-watch-folders.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-cli": minor:feat -"@tauri-apps/cli": minor:feat -"tauri-utils": minor:feat ---- - -Introduces a new configuration option that allows you to specify custom folders to watch for changes when running `tauri dev`. diff --git a/.changes/appimage-plugin.md b/.changes/appimage-plugin.md deleted file mode 100644 index 9a7e9bad239f..000000000000 --- a/.changes/appimage-plugin.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -tauri-bundler: "patch:enhance" -tauri-cli: "patch:enhance" -"@tauri-apps/cli": "patch:enhance" ---- - -The bundler now pulls the latest AppImage linuxdeploy plugin instead of using the built-in one. This should remove the libfuse requirement. diff --git a/.changes/check-plugin-versions.md b/.changes/check-plugin-versions.md deleted file mode 100644 index 2a87a57d3010..000000000000 --- a/.changes/check-plugin-versions.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": minor:feat -"@tauri-apps/cli": minor:feat ---- - -Check installed plugin NPM/crate versions for incompatible releases. diff --git a/.changes/cli-goblin-log-level.md b/.changes/cli-goblin-log-level.md deleted file mode 100644 index a7b99dc9358e..000000000000 --- a/.changes/cli-goblin-log-level.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": "patch:enhance" -"@tauri-apps/cli": "patch:enhance" ---- - -Reduced the log level of the binary patcher crate `goblin` to only show its debug logs in `-vv` and above. diff --git a/.changes/dont-sign-non-binary-resources.md b/.changes/dont-sign-non-binary-resources.md deleted file mode 100644 index 5220e40f753d..000000000000 --- a/.changes/dont-sign-non-binary-resources.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri-bundler: "patch:bug" ---- - -The bundler will no longer try to sign non-binary and already signed binary files on Windows diff --git a/.changes/export-PixelUnit.md b/.changes/export-PixelUnit.md deleted file mode 100644 index 0ea93c8e99e5..000000000000 --- a/.changes/export-PixelUnit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": minor:enhance ---- - -re-export `PixelUnit`, `PhysicalUnit`, `LogicalUnit` diff --git a/.changes/export-TitleBarStyle-for-all-platform.md b/.changes/export-TitleBarStyle-for-all-platform.md deleted file mode 100644 index 331ddda884e9..000000000000 --- a/.changes/export-TitleBarStyle-for-all-platform.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri: minor:enhance ---- - -export `TitleBarStyle` for all platforms. diff --git a/.changes/expose-inner-tray-icon.md b/.changes/expose-inner-tray-icon.md deleted file mode 100644 index fdb46e173688..000000000000 --- a/.changes/expose-inner-tray-icon.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri": 'minor:enhance' ---- - -Introduce `with_inner_tray_icon` for Tauri `TrayIcon` to access the inner platform-specific tray icon. - -Note that `tray-icon` crate may be updated in minor releases of Tauri. -Therefore, it’s recommended to pin Tauri to at least a minor version when you’re using `with_inner_tray_icon`. diff --git a/.changes/feat-bundler-platform-certs.md b/.changes/feat-bundler-platform-certs.md deleted file mode 100644 index 89bcfcf7b0a5..000000000000 --- a/.changes/feat-bundler-platform-certs.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-bundler": "minor:enhance" -"tauri-cli": "minor:enhance" -"@tauri-apps/cli": "minor:enhance" ---- - -The bundler and cli will now read TLS Certificates installed on the system when downloading tools and checking versions. diff --git a/.changes/feat-skip-stapling.md b/.changes/feat-skip-stapling.md deleted file mode 100644 index e9aa61a303dd..000000000000 --- a/.changes/feat-skip-stapling.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -tauri-macos-sign: 'minor:feat' -tauri-bundler: 'minor:feat' -tauri-cli: 'minor:feat' ---- - -Added a `--skip-stapling` option to make `tauri build|bundle` _not_ wait for notarization to finish on macOS. diff --git a/.changes/fix-binary-patching-codesign-verification-failure.md b/.changes/fix-binary-patching-codesign-verification-failure.md deleted file mode 100644 index 3f0d26e925b0..000000000000 --- a/.changes/fix-binary-patching-codesign-verification-failure.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri-cli': 'patch:bug' -'@tauri-apps/cli': 'patch:bug' ---- - -Fix codesigning verification failures caused by binary-patching during bundling diff --git a/.changes/fix-bundler-rpm-release-default.md b/.changes/fix-bundler-rpm-release-default.md deleted file mode 100644 index 61c8122f4955..000000000000 --- a/.changes/fix-bundler-rpm-release-default.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri-bundler: "patch:bug" ---- - -The bundler now falls back to `1` for the release in case an empty string was provided instead of using `-.` in the file name. diff --git a/.changes/fix-ios-binary-framework-dependencies.md b/.changes/fix-ios-binary-framework-dependencies.md deleted file mode 100644 index 6595eee5c03c..000000000000 --- a/.changes/fix-ios-binary-framework-dependencies.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-utils": patch:bug ---- - -Fix Tauri iOS build with binary XCFramework dependencies, allows extracting binaryTargets that are zipped and also not including XCFrameworks when linking. diff --git a/.changes/fix-permission-add-duplicates.md b/.changes/fix-permission-add-duplicates.md deleted file mode 100644 index 71829845c7c0..000000000000 --- a/.changes/fix-permission-add-duplicates.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": "patch:bug" -"@tauri-apps/cli": "patch:bug" ---- - -Fix `tauri permission add` could add duplicated permissions to the capability files diff --git a/.changes/fix-plugin-template-svelte.md b/.changes/fix-plugin-template-svelte.md deleted file mode 100644 index 0e4c5cb9dbb6..000000000000 --- a/.changes/fix-plugin-template-svelte.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": "patch:bug" -"@tauri-apps/cli": "patch:bug" ---- - -Properly migrate svelte to v5 in the plugin example template diff --git a/.changes/fix-resizing-double-free.md b/.changes/fix-resizing-double-free.md deleted file mode 100644 index 04c2fbafb413..000000000000 --- a/.changes/fix-resizing-double-free.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime-wry": "patch:bug" ---- - -Use WM_NCDESTROY instead of WM_DESTROY to free window userdata, fixing a double-free occurring in the Windows resizing handler for undecorated windows which caused STATUS_HEAP_CORRUPTION diff --git a/.changes/focusable.md b/.changes/focusable.md deleted file mode 100644 index a0eb6485a199..000000000000 --- a/.changes/focusable.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri": minor:feat -"tauri-runtime": minor:feat -"tauri-runtime-wry": minor:feat -"@tauri-apps/api": minor:feat ---- - -Add window focusable attribute and set_focusable API. diff --git a/.changes/impl-set_device_event_filter-for-apphandle.md b/.changes/impl-set_device_event_filter-for-apphandle.md deleted file mode 100644 index 834b3d6c8414..000000000000 --- a/.changes/impl-set_device_event_filter-for-apphandle.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-runtime-wry": minor:feat -"tauri-runtime": minor:feat -"tauri": minor:feat ---- - -Implement `App::set_device_event_filter` for `AppHandle` also. diff --git a/.changes/increase-target-ios.md b/.changes/increase-target-ios.md deleted file mode 100644 index eae9e9a418ed..000000000000 --- a/.changes/increase-target-ios.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-cli": minor:feat -"@tauri-apps/cli": minor:feat -"tauri-utils": minor:feat ---- - -Increase default iOS deployment target iOS to 14.0. diff --git a/.changes/load-cert-mobile.md b/.changes/load-cert-mobile.md deleted file mode 100644 index 156c9ec66ebf..000000000000 --- a/.changes/load-cert-mobile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": minor:feat ---- - -Load root certificate from CLI-set environment variable and use it on the mobile dev server proxy. diff --git a/.changes/mobile-dev-root-cert.md b/.changes/mobile-dev-root-cert.md deleted file mode 100644 index fac2a06f4449..000000000000 --- a/.changes/mobile-dev-root-cert.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": minor:feat -"@tauri-apps/cli": minor:feat ---- - -Added `--root-certificate-path` option to `android dev` and `ios dev` to be able to connect to HTTPS dev servers. diff --git a/.changes/on-document-title-changed.md b/.changes/on-document-title-changed.md deleted file mode 100644 index 8a5cee5ad05c..000000000000 --- a/.changes/on-document-title-changed.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": minor:feat -"tauri-runtime": minor:feat -"tauri-runtime-wry": minor:feat ---- - -Added `WebviewBuilder::on_document_title_changed` and `WebviewWindowBuilder::on_document_title_changed`. diff --git a/.changes/on_new_window.md b/.changes/on_new_window.md deleted file mode 100644 index 0fc74abc992d..000000000000 --- a/.changes/on_new_window.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": minor:feat -"tauri-runtime": minor:feat -"tauri-runtime-wry": minor:feat ---- - -Added `WebviewBuilder::on_new_window` and `WebviewWindowBuilder::on_new_window`. diff --git a/.changes/reduce-debug-format-size.md b/.changes/reduce-debug-format-size.md deleted file mode 100644 index b327b633164b..000000000000 --- a/.changes/reduce-debug-format-size.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": patch:enhance -"tauri-utils": patch:enhance ---- - -Reduced `Debug` format size for binary buffers. diff --git a/.changes/remove-plugin-static-constraint.md b/.changes/remove-plugin-static-constraint.md deleted file mode 100644 index b509395377e6..000000000000 --- a/.changes/remove-plugin-static-constraint.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri: minor:enhance ---- - -Changed the parameter type of `AppHandle::remove_plugin` from `&'static str` to `&str`. diff --git a/.changes/return-error-on-window-creation-failed.md b/.changes/return-error-on-window-creation-failed.md deleted file mode 100644 index 86e727d9bf46..000000000000 --- a/.changes/return-error-on-window-creation-failed.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime-wry": "patch:bug" ---- - -Return `tauri_runtime::Error::CreateWindow` instead of panic on window creation failed diff --git a/.changes/run-mobile-plugin-async.md b/.changes/run-mobile-plugin-async.md deleted file mode 100644 index 78d256b1e47b..000000000000 --- a/.changes/run-mobile-plugin-async.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": minor:feat ---- - -Introduces `PluginHandle::run_mobile_plugin_async` as an async alternative to `run_mobile_plugin` diff --git a/.changes/set-cookie-runtime.md b/.changes/set-cookie-runtime.md deleted file mode 100644 index 81ac0ffba280..000000000000 --- a/.changes/set-cookie-runtime.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-runtime": minor:feat -"tauri-runtime-wry": minor:feat ---- - -Added `WebviewDispatch::set_cookie()` and `WebviewDispatch::delete_cookie()`. diff --git a/.changes/set-cookie.md b/.changes/set-cookie.md deleted file mode 100644 index 661a4fc5c052..000000000000 --- a/.changes/set-cookie.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": minor:feat ---- - -Added `Webview::set_cookie()`, `Webview::delete_cookie()`, `WebviewWindow::set_cookie()` and `WebviewWindow::delete_cookie()`. diff --git a/.changes/set-simple-fullscreen-api.md b/.changes/set-simple-fullscreen-api.md deleted file mode 100644 index a9289484badc..000000000000 --- a/.changes/set-simple-fullscreen-api.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": minor:feat ---- - -Added `Window::setSimpleFullscreen`. diff --git a/.changes/set-simple-fullscreen.md b/.changes/set-simple-fullscreen.md deleted file mode 100644 index 10802a714ce4..000000000000 --- a/.changes/set-simple-fullscreen.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-runtime": minor:feat -"tauri-runtime-wry": minor:feat -"tauri": minor:feat ---- - -Added `Window::set_simple_fullscreen`. diff --git a/.changes/submenu-icon-support.md b/.changes/submenu-icon-support.md deleted file mode 100644 index c8aca033954b..000000000000 --- a/.changes/submenu-icon-support.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@tauri-apps/api': 'minor:enhance' -'tauri': 'minor:enhance' ---- - -Added icon (icon and nativeIcon) support for Submenu: -- In the Rust API (`tauri`), you can now set an icon for submenus via the builder and dedicated methods. -- In the JS/TS API (`@tauri-apps/api`), `SubmenuOptions` now has an `icon` field, and the `Submenu` class provides `setIcon` and `setNativeIcon` methods. -- Usage examples are added to the documentation and demo app. - -This is a backwards-compatible feature. Submenus can now display icons just like regular menu items. diff --git a/.changes/update-info-plist.md b/.changes/update-info-plist.md deleted file mode 100644 index b86c500a34fb..000000000000 --- a/.changes/update-info-plist.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-plugin": minor:feat ---- - -Added `build::mobile::update_info_plist` to allow a plugin to update the iOS project Info.plist file. diff --git a/Cargo.lock b/Cargo.lock index 8a3a29d8de65..f8a404f42202 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1319,7 +1319,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c" dependencies = [ "lazy_static", - "windows-sys 0.59.0", + "windows-sys 0.48.0", ] [[package]] @@ -4311,7 +4311,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34" dependencies = [ "cfg-if", - "windows-targets 0.52.6", + "windows-targets 0.48.5", ] [[package]] @@ -8484,7 +8484,7 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tauri" -version = "2.7.0" +version = "2.8.0" dependencies = [ "anyhow", "bytes", @@ -8545,7 +8545,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.3.1" +version = "2.3.2" dependencies = [ "anyhow", "cargo_toml", @@ -8567,7 +8567,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "2.5.2" +version = "2.6.0" dependencies = [ "anyhow", "ar", @@ -8613,7 +8613,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "2.7.1" +version = "2.8.0" dependencies = [ "anyhow", "ar", @@ -8703,7 +8703,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.3.1" +version = "2.3.2" dependencies = [ "base64 0.22.1", "brotli", @@ -8769,7 +8769,7 @@ dependencies = [ [[package]] name = "tauri-macos-sign" -version = "2.1.0" +version = "2.2.0" dependencies = [ "anyhow", "apple-codesign", @@ -8789,7 +8789,7 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.3.2" +version = "2.3.3" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -8801,7 +8801,7 @@ dependencies = [ [[package]] name = "tauri-plugin" -version = "2.3.1" +version = "2.4.0" dependencies = [ "anyhow", "glob", @@ -8849,7 +8849,7 @@ dependencies = [ [[package]] name = "tauri-runtime" -version = "2.7.1" +version = "2.8.0" dependencies = [ "cookie", "dpi", @@ -8872,7 +8872,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "2.7.2" +version = "2.8.0" dependencies = [ "gtk", "http 1.3.1", @@ -8923,7 +8923,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.6.0" +version = "2.7.0" dependencies = [ "aes-gcm", "anyhow", @@ -10311,7 +10311,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.48.0", ] [[package]] diff --git a/crates/tauri-build/CHANGELOG.md b/crates/tauri-build/CHANGELOG.md index 97480ba0413d..b8ff5aff52c5 100644 --- a/crates/tauri-build/CHANGELOG.md +++ b/crates/tauri-build/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.3.2] + +### Dependencies + +- Upgraded to `tauri-utils@2.7.0` +- Upgraded to `tauri-codegen@2.3.2` + ## \[2.3.1] ### Dependencies diff --git a/crates/tauri-build/Cargo.toml b/crates/tauri-build/Cargo.toml index 4294dcb69d0c..1743102a547f 100644 --- a/crates/tauri-build/Cargo.toml +++ b/crates/tauri-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-build" -version = "2.3.1" +version = "2.3.2" 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.3.1", path = "../tauri-codegen", optional = true } -tauri-utils = { version = "2.6.0", path = "../tauri-utils", features = [ +tauri-codegen = { version = "2.3.2", path = "../tauri-codegen", optional = true } +tauri-utils = { version = "2.7.0", path = "../tauri-utils", features = [ "build", "resources", ] } diff --git a/crates/tauri-bundler/CHANGELOG.md b/crates/tauri-bundler/CHANGELOG.md index 706f6b4398d8..1a532f516f55 100644 --- a/crates/tauri-bundler/CHANGELOG.md +++ b/crates/tauri-bundler/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## \[2.6.0] + +### New Features + +- [`a9ec12843`](https://www.github.com/tauri-apps/tauri/commit/a9ec12843aa7d0eb774bd3a53e2e63da12cfa77b) ([#13521](https://www.github.com/tauri-apps/tauri/pull/13521) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) Added a `--skip-stapling` option to make `tauri build|bundle` *not* wait for notarization to finish on macOS. + +### Enhancements + +- [`8b465a12b`](https://www.github.com/tauri-apps/tauri/commit/8b465a12ba73e94d7a3995defd9cc362d15eeebe) ([#13913](https://www.github.com/tauri-apps/tauri/pull/13913) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) The bundler now pulls the latest AppImage linuxdeploy plugin instead of using the built-in one. This should remove the libfuse requirement. +- [`4475e93e1`](https://www.github.com/tauri-apps/tauri/commit/4475e93e136e9e2bd5f3c7817fa2040924f630f6) ([#13824](https://www.github.com/tauri-apps/tauri/pull/13824) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) The bundler and cli will now read TLS Certificates installed on the system when downloading tools and checking versions. + +### Bug Fixes + +- [`a8f1569b0`](https://www.github.com/tauri-apps/tauri/commit/a8f1569b04edf7b54a19e19ad37b421b0808f512) ([#13921](https://www.github.com/tauri-apps/tauri/pull/13921) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) The bundler will no longer try to sign non-binary and already signed binary files on Windows +- [`bc6b125b2`](https://www.github.com/tauri-apps/tauri/commit/bc6b125b24589ffc412a4f17d899a387a0fc0bb2) ([#13909](https://www.github.com/tauri-apps/tauri/pull/13909) by [@Andrew15-5](https://www.github.com/tauri-apps/tauri/../../Andrew15-5)) The bundler now falls back to `1` for the release in case an empty string was provided instead of using `-.` in the file name. + +### Dependencies + +- Upgraded to `tauri-utils@2.7.0` +- Upgraded to `tauri-macos-sign@2.2.0` + ## \[2.5.2] ### Bug Fixes diff --git a/crates/tauri-bundler/Cargo.toml b/crates/tauri-bundler/Cargo.toml index d1609ecce191..3093373f9542 100644 --- a/crates/tauri-bundler/Cargo.toml +++ b/crates/tauri-bundler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-bundler" -version = "2.5.2" +version = "2.6.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.6.0", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.7.0", path = "../tauri-utils", features = [ "resources", ] } image = "0.25" @@ -58,7 +58,7 @@ features = ["Win32_System_SystemInformation", "Win32_System_Diagnostics_Debug"] icns = { package = "tauri-icns", version = "0.1" } time = { version = "0.3", features = ["formatting"] } plist = "1" -tauri-macos-sign = { version = "2.1.0", path = "../tauri-macos-sign" } +tauri-macos-sign = { version = "2.2.0", path = "../tauri-macos-sign" } [target."cfg(target_os = \"linux\")".dependencies] heck = "0.5" diff --git a/crates/tauri-cli/CHANGELOG.md b/crates/tauri-cli/CHANGELOG.md index 0d67faf815d1..cd7d10a71871 100644 --- a/crates/tauri-cli/CHANGELOG.md +++ b/crates/tauri-cli/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## \[2.8.0] + +### New Features + +- [`91508c0b8`](https://www.github.com/tauri-apps/tauri/commit/91508c0b8d16ec61c7706e93b711c5a85aaffb4a) ([#13881](https://www.github.com/tauri-apps/tauri/pull/13881) by [@pepperoni505](https://www.github.com/tauri-apps/tauri/../../pepperoni505)) Introduces a new configuration option that allows you to specify custom folders to watch for changes when running `tauri dev`. +- [`bc4afe7dd`](https://www.github.com/tauri-apps/tauri/commit/bc4afe7dd4780f02c2d4b1f07d97185fbc5d2bba) ([#13993](https://www.github.com/tauri-apps/tauri/pull/13993) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Check installed plugin NPM/crate versions for incompatible releases. +- [`a9ec12843`](https://www.github.com/tauri-apps/tauri/commit/a9ec12843aa7d0eb774bd3a53e2e63da12cfa77b) ([#13521](https://www.github.com/tauri-apps/tauri/pull/13521) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) Added a `--skip-stapling` option to make `tauri build|bundle` *not* wait for notarization to finish on macOS. +- [`0c402bfb6`](https://www.github.com/tauri-apps/tauri/commit/0c402bfb6bd0bec24d928fcabe2ffef1f5cff19a) ([#13997](https://www.github.com/tauri-apps/tauri/pull/13997) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Increase default iOS deployment target iOS to 14.0. +- [`d6d5f3707`](https://www.github.com/tauri-apps/tauri/commit/d6d5f3707768a094ff7e961ae75ba0398d772655) ([#13358](https://www.github.com/tauri-apps/tauri/pull/13358) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Added `--root-certificate-path` option to `android dev` and `ios dev` to be able to connect to HTTPS dev servers. + +### Enhancements + +- [`8b465a12b`](https://www.github.com/tauri-apps/tauri/commit/8b465a12ba73e94d7a3995defd9cc362d15eeebe) ([#13913](https://www.github.com/tauri-apps/tauri/pull/13913) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) The bundler now pulls the latest AppImage linuxdeploy plugin instead of using the built-in one. This should remove the libfuse requirement. +- [`390cb9c36`](https://www.github.com/tauri-apps/tauri/commit/390cb9c36a4e2416891b64514e7ad5fc0a85ccf2) ([#13953](https://www.github.com/tauri-apps/tauri/pull/13953) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) Reduced the log level of the binary patcher crate `goblin` to only show its debug logs in `-vv` and above. +- [`4475e93e1`](https://www.github.com/tauri-apps/tauri/commit/4475e93e136e9e2bd5f3c7817fa2040924f630f6) ([#13824](https://www.github.com/tauri-apps/tauri/pull/13824) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) The bundler and cli will now read TLS Certificates installed on the system when downloading tools and checking versions. + +### Bug Fixes + +- [`f0dcf9637`](https://www.github.com/tauri-apps/tauri/commit/f0dcf9637cc0d42eda05fed7dd6c5ff98bbf19ae) ([#13980](https://www.github.com/tauri-apps/tauri/pull/13980) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Fix the generated plugin init code of `tauri add` for `tauri-plugin-autostart` and `tauri-plugin-single-instance` +- [`4d270a96a`](https://www.github.com/tauri-apps/tauri/commit/4d270a96a891ae83f7df751abcbe12b7072212d5) ([#13943](https://www.github.com/tauri-apps/tauri/pull/13943) by [@acx0](https://www.github.com/tauri-apps/tauri/../../acx0)) Fix codesigning verification failures caused by binary-patching during bundling +- [`b21d86a8a`](https://www.github.com/tauri-apps/tauri/commit/b21d86a8a3ef29f16628b7d4de17ce1214e9bf49) ([#13981](https://www.github.com/tauri-apps/tauri/pull/13981) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Fix `tauri permission add` could add duplicated permissions to the capability files +- [`9c938be45`](https://www.github.com/tauri-apps/tauri/commit/9c938be4520fce9204361f3b59439844bc5c91e8) ([#13912](https://www.github.com/tauri-apps/tauri/pull/13912) by [@takecchi](https://www.github.com/tauri-apps/tauri/../../takecchi)) Properly migrate svelte to v5 in the plugin example template + +### Dependencies + +- Upgraded to `tauri-utils@2.7.0` +- Upgraded to `tauri-bundler@2.6.0` +- Upgraded to `tauri-macos-sign@2.2.0` + ## \[2.7.1] ### Dependencies diff --git a/crates/tauri-cli/Cargo.toml b/crates/tauri-cli/Cargo.toml index 299e10048ed9..694fe8b4adfe 100644 --- a/crates/tauri-cli/Cargo.toml +++ b/crates/tauri-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-cli" -version = "2.7.1" +version = "2.8.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.5.2", default-features = false, path = "../tauri-bundler" } +tauri-bundler = { version = "2.6.0", default-features = false, path = "../tauri-bundler" } colored = "2" serde = { version = "1", features = ["derive"] } serde_json = { version = "1", features = ["preserve_order"] } @@ -58,7 +58,7 @@ shared_child = "1" duct = "1.0" toml_edit = { version = "0.23", features = ["serde"] } json-patch = "3" -tauri-utils = { version = "2.6.0", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.7.0", path = "../tauri-utils", features = [ "isolation", "schema", "config-json5", @@ -129,7 +129,7 @@ libc = "0.2" [target."cfg(target_os = \"macos\")".dependencies] plist = "1" -tauri-macos-sign = { version = "2.1.0", path = "../tauri-macos-sign" } +tauri-macos-sign = { version = "2.2.0", path = "../tauri-macos-sign" } object = { version = "0.36", default-features = false, features = [ "macho", "read_core", diff --git a/crates/tauri-cli/config.schema.json b/crates/tauri-cli/config.schema.json index 5aa078cf65ae..9a9a3567e37b 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.7.0", + "$id": "https://schema.tauri.app/config/2.8.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\": \"http://localhost:3000\",\n \"frontendDist\": \"../dist\"\n },\n \"app\": {\n \"security\": {\n \"csp\": null\n },\n \"windows\": [\n {\n \"fullscreen\": false,\n \"height\": 600,\n \"resizable\": true,\n \"title\": \"Tauri App\",\n \"width\": 800\n }\n ]\n },\n \"bundle\": {},\n \"plugins\": {}\n }\n ```", "type": "object", diff --git a/crates/tauri-cli/metadata-v2.json b/crates/tauri-cli/metadata-v2.json index e094bc0a2298..0d93e893161d 100644 --- a/crates/tauri-cli/metadata-v2.json +++ b/crates/tauri-cli/metadata-v2.json @@ -1,9 +1,9 @@ { "cli.js": { - "version": "2.7.1", + "version": "2.8.0", "node": ">= 10.0.0" }, - "tauri": "2.7.0", - "tauri-build": "2.3.1", - "tauri-plugin": "2.3.1" + "tauri": "2.8.0", + "tauri-build": "2.3.2", + "tauri-plugin": "2.4.0" } diff --git a/crates/tauri-codegen/CHANGELOG.md b/crates/tauri-codegen/CHANGELOG.md index 77276559fe89..3c746d0907f4 100644 --- a/crates/tauri-codegen/CHANGELOG.md +++ b/crates/tauri-codegen/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.3.2] + +### Dependencies + +- Upgraded to `tauri-utils@2.7.0` + ## \[2.3.1] ### Dependencies diff --git a/crates/tauri-codegen/Cargo.toml b/crates/tauri-codegen/Cargo.toml index 04cad777d8a0..742f2d00cc1d 100644 --- a/crates/tauri-codegen/Cargo.toml +++ b/crates/tauri-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-codegen" -version = "2.3.1" +version = "2.3.2" 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.6.0", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.7.0", path = "../tauri-utils", features = [ "build", ] } thiserror = "2" diff --git a/crates/tauri-macos-sign/CHANGELOG.md b/crates/tauri-macos-sign/CHANGELOG.md index cadf254683b9..93329f55d7c6 100644 --- a/crates/tauri-macos-sign/CHANGELOG.md +++ b/crates/tauri-macos-sign/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.2.0] + +### New Features + +- [`a9ec12843`](https://www.github.com/tauri-apps/tauri/commit/a9ec12843aa7d0eb774bd3a53e2e63da12cfa77b) ([#13521](https://www.github.com/tauri-apps/tauri/pull/13521) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) Added a `--skip-stapling` option to make `tauri build|bundle` *not* wait for notarization to finish on macOS. + ## \[2.1.0] ### Enhancements diff --git a/crates/tauri-macos-sign/Cargo.toml b/crates/tauri-macos-sign/Cargo.toml index d163a26194ed..bcd7ea7606ea 100644 --- a/crates/tauri-macos-sign/Cargo.toml +++ b/crates/tauri-macos-sign/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-macos-sign" -version = "2.1.0" +version = "2.2.0" authors = ["Tauri Programme within The Commons Conservancy"] license = "Apache-2.0 OR MIT" keywords = ["codesign", "signing", "macos", "ios", "tauri"] diff --git a/crates/tauri-macros/CHANGELOG.md b/crates/tauri-macros/CHANGELOG.md index d251148cd050..62bfe448ba69 100644 --- a/crates/tauri-macros/CHANGELOG.md +++ b/crates/tauri-macros/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.3.3] + +### Dependencies + +- Upgraded to `tauri-utils@2.7.0` +- Upgraded to `tauri-codegen@2.3.2` + ## \[2.3.2] ### Dependencies diff --git a/crates/tauri-macros/Cargo.toml b/crates/tauri-macros/Cargo.toml index 8e15a012438d..907c518cd6ca 100644 --- a/crates/tauri-macros/Cargo.toml +++ b/crates/tauri-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-macros" -version = "2.3.2" +version = "2.3.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.3.1", default-features = false, path = "../tauri-codegen" } -tauri-utils = { version = "2.6.0", path = "../tauri-utils" } +tauri-codegen = { version = "2.3.2", default-features = false, path = "../tauri-codegen" } +tauri-utils = { version = "2.7.0", path = "../tauri-utils" } [features] custom-protocol = [] diff --git a/crates/tauri-plugin/CHANGELOG.md b/crates/tauri-plugin/CHANGELOG.md index 844b2d987244..c6c10bebd796 100644 --- a/crates/tauri-plugin/CHANGELOG.md +++ b/crates/tauri-plugin/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.4.0] + +### New Features + +- [`a0113a8c6`](https://www.github.com/tauri-apps/tauri/commit/a0113a8c6471eccc43b3202cc009901a04e41baa) ([#13888](https://www.github.com/tauri-apps/tauri/pull/13888) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Added `build::mobile::update_info_plist` to allow a plugin to update the iOS project Info.plist file. + +### Dependencies + +- Upgraded to `tauri-utils@2.7.0` + ## \[2.3.1] ### Dependencies diff --git a/crates/tauri-plugin/Cargo.toml b/crates/tauri-plugin/Cargo.toml index 799fd67a52c0..7b2a6ae95afc 100644 --- a/crates/tauri-plugin/Cargo.toml +++ b/crates/tauri-plugin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin" -version = "2.3.1" +version = "2.4.0" 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.6.0", default-features = false, features = [ +tauri-utils = { version = "2.7.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 329489a480d1..a7d22c450f05 100644 --- a/crates/tauri-runtime-wry/CHANGELOG.md +++ b/crates/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## \[2.8.0] + +### New Features + +- [`68874c68c`](https://www.github.com/tauri-apps/tauri/commit/68874c68c566638b4c21a3aa67844d1bdaeb6dab) ([#13564](https://www.github.com/tauri-apps/tauri/pull/13564) by [@robertrpf](https://www.github.com/tauri-apps/tauri/../../robertrpf)) Add window focusable attribute and set_focusable API. +- [`22d6bcacb`](https://www.github.com/tauri-apps/tauri/commit/22d6bcacbb2001eb292ebd8c5d021447700f9512) ([#14008](https://www.github.com/tauri-apps/tauri/pull/14008) by [@WSH032](https://www.github.com/tauri-apps/tauri/../../WSH032)) Implement `App::set_device_event_filter` for `AppHandle` also. +- [`33d0b3f0c`](https://www.github.com/tauri-apps/tauri/commit/33d0b3f0c133edebb1c716e2f5942d70509ae347) ([#13876](https://www.github.com/tauri-apps/tauri/pull/13876) by [@thlstsul](https://www.github.com/tauri-apps/tauri/../../thlstsul)) Added `WebviewBuilder::on_document_title_changed` and `WebviewWindowBuilder::on_document_title_changed`. +- [`33d0b3f0c`](https://www.github.com/tauri-apps/tauri/commit/33d0b3f0c133edebb1c716e2f5942d70509ae347) ([#13876](https://www.github.com/tauri-apps/tauri/pull/13876) by [@thlstsul](https://www.github.com/tauri-apps/tauri/../../thlstsul)) Added `WebviewBuilder::on_new_window` and `WebviewWindowBuilder::on_new_window`. +- [`dfadcb764`](https://www.github.com/tauri-apps/tauri/commit/dfadcb764bdf84089a5487005a7b4f3b7cf09494) ([#13661](https://www.github.com/tauri-apps/tauri/pull/13661) by [@WSH032](https://www.github.com/tauri-apps/tauri/../../WSH032)) Added `WebviewDispatch::set_cookie()` and `WebviewDispatch::delete_cookie()`. +- [`5110a762e`](https://www.github.com/tauri-apps/tauri/commit/5110a762e9db978a28a15400bf76e3c864da2a86) ([#13830](https://www.github.com/tauri-apps/tauri/pull/13830) by [@Sky-walkerX](https://www.github.com/tauri-apps/tauri/../../Sky-walkerX)) Added `Window::set_simple_fullscreen`. + +### Bug Fixes + +- [`82e264552`](https://www.github.com/tauri-apps/tauri/commit/82e264552ed3e1d62135edc5803a2c5d92f9c5c7) ([#13968](https://www.github.com/tauri-apps/tauri/pull/13968) by [@s5bug](https://www.github.com/tauri-apps/tauri/../../s5bug)) Use WM_NCDESTROY instead of WM_DESTROY to free window userdata, fixing a double-free occurring in the Windows resizing handler for undecorated windows which caused STATUS_HEAP_CORRUPTION +- [`196ace3c0`](https://www.github.com/tauri-apps/tauri/commit/196ace3c048f81b20ab4d38f09c2f200978722b8) ([#13970](https://www.github.com/tauri-apps/tauri/pull/13970) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Return `tauri_runtime::Error::CreateWindow` instead of panic on window creation failed + +### Dependencies + +- Upgraded to `tauri-utils@2.7.0` +- Upgraded to `tauri-runtime@2.8.0` + ## \[2.7.2] ### What's Changed diff --git a/crates/tauri-runtime-wry/Cargo.toml b/crates/tauri-runtime-wry/Cargo.toml index 891f3d382cdd..97c81bfbc595 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.7.2" +version = "2.8.0" description = "Wry bindings to the Tauri runtime" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -24,8 +24,8 @@ wry = { version = "0.53.1", default-features = false, features = [ "linux-body", ] } tao = { version = "0.34.1", default-features = false, features = ["rwh_06"] } -tauri-runtime = { version = "2.7.1", path = "../tauri-runtime" } -tauri-utils = { version = "2.6.0", path = "../tauri-utils" } +tauri-runtime = { version = "2.8.0", path = "../tauri-runtime" } +tauri-utils = { version = "2.7.0", 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 61d0fdeb0246..128b2ab7d314 100644 --- a/crates/tauri-runtime/CHANGELOG.md +++ b/crates/tauri-runtime/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## \[2.8.0] + +### New Features + +- [`68874c68c`](https://www.github.com/tauri-apps/tauri/commit/68874c68c566638b4c21a3aa67844d1bdaeb6dab) ([#13564](https://www.github.com/tauri-apps/tauri/pull/13564) by [@robertrpf](https://www.github.com/tauri-apps/tauri/../../robertrpf)) Add window focusable attribute and set_focusable API. +- [`22d6bcacb`](https://www.github.com/tauri-apps/tauri/commit/22d6bcacbb2001eb292ebd8c5d021447700f9512) ([#14008](https://www.github.com/tauri-apps/tauri/pull/14008) by [@WSH032](https://www.github.com/tauri-apps/tauri/../../WSH032)) Implement `App::set_device_event_filter` for `AppHandle` also. +- [`33d0b3f0c`](https://www.github.com/tauri-apps/tauri/commit/33d0b3f0c133edebb1c716e2f5942d70509ae347) ([#13876](https://www.github.com/tauri-apps/tauri/pull/13876) by [@thlstsul](https://www.github.com/tauri-apps/tauri/../../thlstsul)) Added `WebviewBuilder::on_document_title_changed` and `WebviewWindowBuilder::on_document_title_changed`. +- [`33d0b3f0c`](https://www.github.com/tauri-apps/tauri/commit/33d0b3f0c133edebb1c716e2f5942d70509ae347) ([#13876](https://www.github.com/tauri-apps/tauri/pull/13876) by [@thlstsul](https://www.github.com/tauri-apps/tauri/../../thlstsul)) Added `WebviewBuilder::on_new_window` and `WebviewWindowBuilder::on_new_window`. +- [`dfadcb764`](https://www.github.com/tauri-apps/tauri/commit/dfadcb764bdf84089a5487005a7b4f3b7cf09494) ([#13661](https://www.github.com/tauri-apps/tauri/pull/13661) by [@WSH032](https://www.github.com/tauri-apps/tauri/../../WSH032)) Added `WebviewDispatch::set_cookie()` and `WebviewDispatch::delete_cookie()`. +- [`5110a762e`](https://www.github.com/tauri-apps/tauri/commit/5110a762e9db978a28a15400bf76e3c864da2a86) ([#13830](https://www.github.com/tauri-apps/tauri/pull/13830) by [@Sky-walkerX](https://www.github.com/tauri-apps/tauri/../../Sky-walkerX)) Added `Window::set_simple_fullscreen`. + +### Dependencies + +- Upgraded to `tauri-utils@2.7.0` + ## \[2.7.1] ### Dependencies diff --git a/crates/tauri-runtime/Cargo.toml b/crates/tauri-runtime/Cargo.toml index 6243e692c2e9..a1ab86adeacd 100644 --- a/crates/tauri-runtime/Cargo.toml +++ b/crates/tauri-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime" -version = "2.7.1" +version = "2.8.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.6.0", path = "../tauri-utils" } +tauri-utils = { version = "2.7.0", 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 5aa078cf65ae..9a9a3567e37b 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.7.0", + "$id": "https://schema.tauri.app/config/2.8.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\": \"http://localhost:3000\",\n \"frontendDist\": \"../dist\"\n },\n \"app\": {\n \"security\": {\n \"csp\": null\n },\n \"windows\": [\n {\n \"fullscreen\": false,\n \"height\": 600,\n \"resizable\": true,\n \"title\": \"Tauri App\",\n \"width\": 800\n }\n ]\n },\n \"bundle\": {},\n \"plugins\": {}\n }\n ```", "type": "object", diff --git a/crates/tauri-utils/CHANGELOG.md b/crates/tauri-utils/CHANGELOG.md index add424efe11d..73e37c472788 100644 --- a/crates/tauri-utils/CHANGELOG.md +++ b/crates/tauri-utils/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## \[2.7.0] + +### New Features + +- [`91508c0b8`](https://www.github.com/tauri-apps/tauri/commit/91508c0b8d16ec61c7706e93b711c5a85aaffb4a) ([#13881](https://www.github.com/tauri-apps/tauri/pull/13881) by [@pepperoni505](https://www.github.com/tauri-apps/tauri/../../pepperoni505)) Introduces a new configuration option that allows you to specify custom folders to watch for changes when running `tauri dev`. +- [`0c402bfb6`](https://www.github.com/tauri-apps/tauri/commit/0c402bfb6bd0bec24d928fcabe2ffef1f5cff19a) ([#13997](https://www.github.com/tauri-apps/tauri/pull/13997) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Increase default iOS deployment target iOS to 14.0. + +### Enhancements + +- [`9300b59f6`](https://www.github.com/tauri-apps/tauri/commit/9300b59f65156a37f7bf9a629b69da6761ae734a) ([#13787](https://www.github.com/tauri-apps/tauri/pull/13787) by [@JakenHerman](https://www.github.com/tauri-apps/tauri/../../JakenHerman)) Added `fips_compliant` field to `WixConfig` so that it can be configured via `tauri.conf.json` as well. +- [`72b4226ee`](https://www.github.com/tauri-apps/tauri/commit/72b4226ee9932b4dafa4837a49420b2c02d14bb7) ([#13809](https://www.github.com/tauri-apps/tauri/pull/13809) by [@Beanow](https://www.github.com/tauri-apps/tauri/../../Beanow)) Reduced `Debug` format size for binary buffers. + +### Bug Fixes + +- [`1a3d1a024`](https://www.github.com/tauri-apps/tauri/commit/1a3d1a024ebb2a3dd5d15849523a55246d78fda6) ([#13995](https://www.github.com/tauri-apps/tauri/pull/13995) by [@will3942](https://www.github.com/tauri-apps/tauri/../../will3942)) Fix Tauri iOS build with binary XCFramework dependencies, allows extracting binaryTargets that are zipped and also not including XCFrameworks when linking. + ## \[2.6.0] ### New Features diff --git a/crates/tauri-utils/Cargo.toml b/crates/tauri-utils/Cargo.toml index 82a409096355..939cb93ed2db 100644 --- a/crates/tauri-utils/Cargo.toml +++ b/crates/tauri-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-utils" -version = "2.6.0" +version = "2.7.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 03c5850f7f1b..477dece6a0e9 100644 --- a/crates/tauri/CHANGELOG.md +++ b/crates/tauri/CHANGELOG.md @@ -1,5 +1,45 @@ # Changelog +## \[2.8.0] + +### New Features + +- [`68874c68c`](https://www.github.com/tauri-apps/tauri/commit/68874c68c566638b4c21a3aa67844d1bdaeb6dab) ([#13564](https://www.github.com/tauri-apps/tauri/pull/13564) by [@robertrpf](https://www.github.com/tauri-apps/tauri/../../robertrpf)) Add window focusable attribute and set_focusable API. +- [`22d6bcacb`](https://www.github.com/tauri-apps/tauri/commit/22d6bcacbb2001eb292ebd8c5d021447700f9512) ([#14008](https://www.github.com/tauri-apps/tauri/pull/14008) by [@WSH032](https://www.github.com/tauri-apps/tauri/../../WSH032)) Implement `App::set_device_event_filter` for `AppHandle` also. +- [`d6d5f3707`](https://www.github.com/tauri-apps/tauri/commit/d6d5f3707768a094ff7e961ae75ba0398d772655) ([#13358](https://www.github.com/tauri-apps/tauri/pull/13358) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Load root certificate from CLI-set environment variable and use it on the mobile dev server proxy. +- [`33d0b3f0c`](https://www.github.com/tauri-apps/tauri/commit/33d0b3f0c133edebb1c716e2f5942d70509ae347) ([#13876](https://www.github.com/tauri-apps/tauri/pull/13876) by [@thlstsul](https://www.github.com/tauri-apps/tauri/../../thlstsul)) Added `WebviewBuilder::on_document_title_changed` and `WebviewWindowBuilder::on_document_title_changed`. +- [`33d0b3f0c`](https://www.github.com/tauri-apps/tauri/commit/33d0b3f0c133edebb1c716e2f5942d70509ae347) ([#13876](https://www.github.com/tauri-apps/tauri/pull/13876) by [@thlstsul](https://www.github.com/tauri-apps/tauri/../../thlstsul)) Added `WebviewBuilder::on_new_window` and `WebviewWindowBuilder::on_new_window`. +- [`7c2eb31c8`](https://www.github.com/tauri-apps/tauri/commit/7c2eb31c83a202b3481a6d560ae2048bcbe4157b) ([#13895](https://www.github.com/tauri-apps/tauri/pull/13895) by [@ahqsoftwares](https://www.github.com/tauri-apps/tauri/../../ahqsoftwares)) Introduces `PluginHandle::run_mobile_plugin_async` as an async alternative to `run_mobile_plugin` +- [`dfadcb764`](https://www.github.com/tauri-apps/tauri/commit/dfadcb764bdf84089a5487005a7b4f3b7cf09494) ([#13661](https://www.github.com/tauri-apps/tauri/pull/13661) by [@WSH032](https://www.github.com/tauri-apps/tauri/../../WSH032)) Added `Webview::set_cookie()`, `Webview::delete_cookie()`, `WebviewWindow::set_cookie()` and `WebviewWindow::delete_cookie()`. +- [`5110a762e`](https://www.github.com/tauri-apps/tauri/commit/5110a762e9db978a28a15400bf76e3c864da2a86) ([#13830](https://www.github.com/tauri-apps/tauri/pull/13830) by [@Sky-walkerX](https://www.github.com/tauri-apps/tauri/../../Sky-walkerX)) Added `Window::set_simple_fullscreen`. + +### Enhancements + +- [`7261a1436`](https://www.github.com/tauri-apps/tauri/commit/7261a14368eeef040aee3350bb39183558d18bf0) ([#14012](https://www.github.com/tauri-apps/tauri/pull/14012) by [@WSH032](https://www.github.com/tauri-apps/tauri/../../WSH032)) Implemented `Webview::on_webview_event` for `WebviewWindow` as well +- [`0e6b5cbe5`](https://www.github.com/tauri-apps/tauri/commit/0e6b5cbe5f44b53aca7aff22bc3ea1a9444b3209) ([#14009](https://www.github.com/tauri-apps/tauri/pull/14009) by [@WSH032](https://www.github.com/tauri-apps/tauri/../../WSH032)) re-export `PixelUnit`, `PhysicalUnit`, `LogicalUnit` +- [`a3dc42477`](https://www.github.com/tauri-apps/tauri/commit/a3dc42477a9aae0471ecf3caa5812e9537532bbf) ([#14013](https://www.github.com/tauri-apps/tauri/pull/14013) by [@WSH032](https://www.github.com/tauri-apps/tauri/../../WSH032)) export `TitleBarStyle` for all platforms. +- [`f1232671a`](https://www.github.com/tauri-apps/tauri/commit/f1232671abc15f03118a35da1883ce9aca88ff2a) ([#13959](https://www.github.com/tauri-apps/tauri/pull/13959) by [@petersamokhin](https://www.github.com/tauri-apps/tauri/../../petersamokhin)) Introduce `with_inner_tray_icon` for Tauri `TrayIcon` to access the inner platform-specific tray icon. + + Note that `tray-icon` crate may be updated in minor releases of Tauri. + Therefore, it’s recommended to pin Tauri to at least a minor version when you’re using `with_inner_tray_icon`. +- [`72b4226ee`](https://www.github.com/tauri-apps/tauri/commit/72b4226ee9932b4dafa4837a49420b2c02d14bb7) ([#13809](https://www.github.com/tauri-apps/tauri/pull/13809) by [@Beanow](https://www.github.com/tauri-apps/tauri/../../Beanow)) Reduced `Debug` format size for binary buffers. +- [`21ebc6e82`](https://www.github.com/tauri-apps/tauri/commit/21ebc6e82062b55a12f3a360d9a979daf5ae7e66) ([#14007](https://www.github.com/tauri-apps/tauri/pull/14007) by [@WSH032](https://www.github.com/tauri-apps/tauri/../../WSH032)) Changed the parameter type of `AppHandle::remove_plugin` from `&'static str` to `&str`. +- [`5ba1c3faa`](https://www.github.com/tauri-apps/tauri/commit/5ba1c3faa468073512bdb5035a01f7f99720fcf0) ([#13722](https://www.github.com/tauri-apps/tauri/pull/13722) by [@s00d](https://www.github.com/tauri-apps/tauri/../../s00d)) Added icon (icon and nativeIcon) support for Submenu: + + - In the Rust API (`tauri`), you can now set an icon for submenus via the builder and dedicated methods. + - In the JS/TS API (`@tauri-apps/api`), `SubmenuOptions` now has an `icon` field, and the `Submenu` class provides `setIcon` and `setNativeIcon` methods. + - Usage examples are added to the documentation and demo app. + + This is a backwards-compatible feature. Submenus can now display icons just like regular menu items. + +### Dependencies + +- Upgraded to `tauri-utils@2.7.0` +- Upgraded to `tauri-runtime-wry@2.8.0` +- Upgraded to `tauri-runtime@2.8.0` +- Upgraded to `tauri-macros@2.3.3` +- Upgraded to `tauri-build@2.3.2` + ## \[2.7.0] ### New Features diff --git a/crates/tauri/Cargo.toml b/crates/tauri/Cargo.toml index 54d4170dce95..61a815977e9d 100644 --- a/crates/tauri/Cargo.toml +++ b/crates/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "2.7.0" +version = "2.8.0" description = "Make tiny, secure apps for all desktop platforms with Tauri" exclude = ["/test", "/.scripts", "CHANGELOG.md", "/target"] readme = "README.md" @@ -56,12 +56,12 @@ uuid = { version = "1", features = ["v4"], optional = true } url = "2" anyhow = "1" thiserror = "2" -tauri-runtime = { version = "2.7.1", path = "../tauri-runtime" } -tauri-macros = { version = "2.3.2", path = "../tauri-macros" } -tauri-utils = { version = "2.6.0", features = [ +tauri-runtime = { version = "2.8.0", path = "../tauri-runtime" } +tauri-macros = { version = "2.3.3", path = "../tauri-macros" } +tauri-utils = { version = "2.7.0", features = [ "resources", ], path = "../tauri-utils" } -tauri-runtime-wry = { version = "2.7.2", path = "../tauri-runtime-wry", default-features = false, optional = true } +tauri-runtime-wry = { version = "2.8.0", path = "../tauri-runtime-wry", default-features = false, optional = true } getrandom = "0.3" serde_repr = "0.1" http = "1" @@ -164,8 +164,8 @@ objc2-ui-kit = { version = "0.3.0", default-features = false, features = [ [build-dependencies] glob = "0.3" heck = "0.5" -tauri-build = { path = "../tauri-build/", default-features = false, version = "2.3.1" } -tauri-utils = { path = "../tauri-utils/", version = "2.6.0", features = [ +tauri-build = { path = "../tauri-build/", default-features = false, version = "2.3.2" } +tauri-utils = { path = "../tauri-utils/", version = "2.7.0", features = [ "build", ] } diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 4f31dd7628b0..6d256dec1ac6 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## \[2.8.0] + +### New Features + +- [`68874c68c`](https://www.github.com/tauri-apps/tauri/commit/68874c68c566638b4c21a3aa67844d1bdaeb6dab) ([#13564](https://www.github.com/tauri-apps/tauri/pull/13564) by [@robertrpf](https://www.github.com/tauri-apps/tauri/../../robertrpf)) Add window focusable attribute and set_focusable API. +- [`5110a762e`](https://www.github.com/tauri-apps/tauri/commit/5110a762e9db978a28a15400bf76e3c864da2a86) ([#13830](https://www.github.com/tauri-apps/tauri/pull/13830) by [@Sky-walkerX](https://www.github.com/tauri-apps/tauri/../../Sky-walkerX)) Added `Window::setSimpleFullscreen`. + +### Enhancements + +- [`5ba1c3faa`](https://www.github.com/tauri-apps/tauri/commit/5ba1c3faa468073512bdb5035a01f7f99720fcf0) ([#13722](https://www.github.com/tauri-apps/tauri/pull/13722) by [@s00d](https://www.github.com/tauri-apps/tauri/../../s00d)) Added icon (icon and nativeIcon) support for Submenu: + + - In the Rust API (`tauri`), you can now set an icon for submenus via the builder and dedicated methods. + - In the JS/TS API (`@tauri-apps/api`), `SubmenuOptions` now has an `icon` field, and the `Submenu` class provides `setIcon` and `setNativeIcon` methods. + - Usage examples are added to the documentation and demo app. + + This is a backwards-compatible feature. Submenus can now display icons just like regular menu items. + ## \[2.7.0] ### New Features diff --git a/packages/api/package.json b/packages/api/package.json index 9ba51ea86caa..dd31d5f06530 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "2.7.0", + "version": "2.8.0", "description": "Tauri API definitions", "funding": { "type": "opencollective", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index d9f3064944f7..cb3e00e69ad5 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## \[2.8.0] + +### New Features + +- [`91508c0b8`](https://www.github.com/tauri-apps/tauri/commit/91508c0b8d16ec61c7706e93b711c5a85aaffb4a) ([#13881](https://www.github.com/tauri-apps/tauri/pull/13881) by [@pepperoni505](https://www.github.com/tauri-apps/tauri/../../pepperoni505)) Introduces a new configuration option that allows you to specify custom folders to watch for changes when running `tauri dev`. +- [`bc4afe7dd`](https://www.github.com/tauri-apps/tauri/commit/bc4afe7dd4780f02c2d4b1f07d97185fbc5d2bba) ([#13993](https://www.github.com/tauri-apps/tauri/pull/13993) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Check installed plugin NPM/crate versions for incompatible releases. +- [`0c402bfb6`](https://www.github.com/tauri-apps/tauri/commit/0c402bfb6bd0bec24d928fcabe2ffef1f5cff19a) ([#13997](https://www.github.com/tauri-apps/tauri/pull/13997) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Increase default iOS deployment target iOS to 14.0. +- [`d6d5f3707`](https://www.github.com/tauri-apps/tauri/commit/d6d5f3707768a094ff7e961ae75ba0398d772655) ([#13358](https://www.github.com/tauri-apps/tauri/pull/13358) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Added `--root-certificate-path` option to `android dev` and `ios dev` to be able to connect to HTTPS dev servers. + +### Enhancements + +- [`8b465a12b`](https://www.github.com/tauri-apps/tauri/commit/8b465a12ba73e94d7a3995defd9cc362d15eeebe) ([#13913](https://www.github.com/tauri-apps/tauri/pull/13913) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) The bundler now pulls the latest AppImage linuxdeploy plugin instead of using the built-in one. This should remove the libfuse requirement. +- [`390cb9c36`](https://www.github.com/tauri-apps/tauri/commit/390cb9c36a4e2416891b64514e7ad5fc0a85ccf2) ([#13953](https://www.github.com/tauri-apps/tauri/pull/13953) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) Reduced the log level of the binary patcher crate `goblin` to only show its debug logs in `-vv` and above. +- [`4475e93e1`](https://www.github.com/tauri-apps/tauri/commit/4475e93e136e9e2bd5f3c7817fa2040924f630f6) ([#13824](https://www.github.com/tauri-apps/tauri/pull/13824) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) The bundler and cli will now read TLS Certificates installed on the system when downloading tools and checking versions. + +### Bug Fixes + +- [`f0dcf9637`](https://www.github.com/tauri-apps/tauri/commit/f0dcf9637cc0d42eda05fed7dd6c5ff98bbf19ae) ([#13980](https://www.github.com/tauri-apps/tauri/pull/13980) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Fix the generated plugin init code of `tauri add` for `tauri-plugin-autostart` and `tauri-plugin-single-instance` +- [`4d270a96a`](https://www.github.com/tauri-apps/tauri/commit/4d270a96a891ae83f7df751abcbe12b7072212d5) ([#13943](https://www.github.com/tauri-apps/tauri/pull/13943) by [@acx0](https://www.github.com/tauri-apps/tauri/../../acx0)) Fix codesigning verification failures caused by binary-patching during bundling +- [`b21d86a8a`](https://www.github.com/tauri-apps/tauri/commit/b21d86a8a3ef29f16628b7d4de17ce1214e9bf49) ([#13981](https://www.github.com/tauri-apps/tauri/pull/13981) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Fix `tauri permission add` could add duplicated permissions to the capability files +- [`9c938be45`](https://www.github.com/tauri-apps/tauri/commit/9c938be4520fce9204361f3b59439844bc5c91e8) ([#13912](https://www.github.com/tauri-apps/tauri/pull/13912) by [@takecchi](https://www.github.com/tauri-apps/tauri/../../takecchi)) Properly migrate svelte to v5 in the plugin example template + +### Dependencies + +- Upgraded to `tauri-cli@2.8.0` + ## \[2.7.1] ### Dependencies diff --git a/packages/cli/package.json b/packages/cli/package.json index a7fbd0c12498..f5234dfe71cf 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "2.7.1", + "version": "2.8.0", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective", From 76a8d365febc6105c06bd090e469d06fd7b9fdb8 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Mon, 18 Aug 2025 15:28:42 -0300 Subject: [PATCH 2/3] chore: minor bump codegen, build, macros --- Cargo.lock | 6 +++--- crates/tauri-build/CHANGELOG.md | 4 ++-- crates/tauri-build/Cargo.toml | 4 ++-- crates/tauri-cli/metadata-v2.json | 2 +- crates/tauri-codegen/CHANGELOG.md | 4 ++-- crates/tauri-codegen/Cargo.toml | 2 +- crates/tauri-macros/CHANGELOG.md | 6 +++--- crates/tauri-macros/Cargo.toml | 4 ++-- crates/tauri/Cargo.toml | 4 ++-- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f8a404f42202..2bc9eb5cc693 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8545,7 +8545,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.3.2" +version = "2.4.0" dependencies = [ "anyhow", "cargo_toml", @@ -8703,7 +8703,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.3.2" +version = "2.4.0" dependencies = [ "base64 0.22.1", "brotli", @@ -8789,7 +8789,7 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.3.3" +version = "2.4.0" dependencies = [ "heck 0.5.0", "proc-macro2", diff --git a/crates/tauri-build/CHANGELOG.md b/crates/tauri-build/CHANGELOG.md index b8ff5aff52c5..c0f6ae6cade3 100644 --- a/crates/tauri-build/CHANGELOG.md +++ b/crates/tauri-build/CHANGELOG.md @@ -1,11 +1,11 @@ # Changelog -## \[2.3.2] +## \[2.4.0] ### Dependencies - Upgraded to `tauri-utils@2.7.0` -- Upgraded to `tauri-codegen@2.3.2` +- Upgraded to `tauri-codegen@2.4.0` ## \[2.3.1] diff --git a/crates/tauri-build/Cargo.toml b/crates/tauri-build/Cargo.toml index 1743102a547f..957c6c065edf 100644 --- a/crates/tauri-build/Cargo.toml +++ b/crates/tauri-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-build" -version = "2.3.2" +version = "2.4.0" description = "build time code to pair with https://crates.io/crates/tauri" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -28,7 +28,7 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] anyhow = "1" quote = { version = "1", optional = true } -tauri-codegen = { version = "2.3.2", path = "../tauri-codegen", optional = true } +tauri-codegen = { version = "2.4.0", path = "../tauri-codegen", optional = true } tauri-utils = { version = "2.7.0", path = "../tauri-utils", features = [ "build", "resources", diff --git a/crates/tauri-cli/metadata-v2.json b/crates/tauri-cli/metadata-v2.json index 0d93e893161d..e20db106718a 100644 --- a/crates/tauri-cli/metadata-v2.json +++ b/crates/tauri-cli/metadata-v2.json @@ -4,6 +4,6 @@ "node": ">= 10.0.0" }, "tauri": "2.8.0", - "tauri-build": "2.3.2", + "tauri-build": "2.4.0", "tauri-plugin": "2.4.0" } diff --git a/crates/tauri-codegen/CHANGELOG.md b/crates/tauri-codegen/CHANGELOG.md index 3c746d0907f4..197f07e11b4a 100644 --- a/crates/tauri-codegen/CHANGELOG.md +++ b/crates/tauri-codegen/CHANGELOG.md @@ -1,10 +1,10 @@ # Changelog -## \[2.3.2] +## \[2.4.0] ### Dependencies -- Upgraded to `tauri-utils@2.7.0` +- Upgraded to `tauri-utils@2.7.0`. ## \[2.3.1] diff --git a/crates/tauri-codegen/Cargo.toml b/crates/tauri-codegen/Cargo.toml index 742f2d00cc1d..ea9ebd8a15cd 100644 --- a/crates/tauri-codegen/Cargo.toml +++ b/crates/tauri-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-codegen" -version = "2.3.2" +version = "2.4.0" description = "code generation meant to be consumed inside of `tauri` through `tauri-build` or `tauri-macros`" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" diff --git a/crates/tauri-macros/CHANGELOG.md b/crates/tauri-macros/CHANGELOG.md index 62bfe448ba69..875c2c797803 100644 --- a/crates/tauri-macros/CHANGELOG.md +++ b/crates/tauri-macros/CHANGELOG.md @@ -1,11 +1,11 @@ # Changelog -## \[2.3.3] +## \[2.4.0] ### Dependencies -- Upgraded to `tauri-utils@2.7.0` -- Upgraded to `tauri-codegen@2.3.2` +- Upgraded to `tauri-utils@2.7.0`. +- Upgraded to `tauri-codegen@2.4.0` ## \[2.3.2] diff --git a/crates/tauri-macros/Cargo.toml b/crates/tauri-macros/Cargo.toml index 907c518cd6ca..82cf3d976810 100644 --- a/crates/tauri-macros/Cargo.toml +++ b/crates/tauri-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-macros" -version = "2.3.3" +version = "2.4.0" description = "Macros for the tauri crate." exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -20,7 +20,7 @@ proc-macro2 = { version = "1", features = ["span-locations"] } quote = "1" syn = { version = "2", features = ["full"] } heck = "0.5" -tauri-codegen = { version = "2.3.2", default-features = false, path = "../tauri-codegen" } +tauri-codegen = { version = "2.4.0", default-features = false, path = "../tauri-codegen" } tauri-utils = { version = "2.7.0", path = "../tauri-utils" } [features] diff --git a/crates/tauri/Cargo.toml b/crates/tauri/Cargo.toml index 61a815977e9d..24310ff56a66 100644 --- a/crates/tauri/Cargo.toml +++ b/crates/tauri/Cargo.toml @@ -57,7 +57,7 @@ url = "2" anyhow = "1" thiserror = "2" tauri-runtime = { version = "2.8.0", path = "../tauri-runtime" } -tauri-macros = { version = "2.3.3", path = "../tauri-macros" } +tauri-macros = { version = "2.4.0", path = "../tauri-macros" } tauri-utils = { version = "2.7.0", features = [ "resources", ], path = "../tauri-utils" } @@ -164,7 +164,7 @@ objc2-ui-kit = { version = "0.3.0", default-features = false, features = [ [build-dependencies] glob = "0.3" heck = "0.5" -tauri-build = { path = "../tauri-build/", default-features = false, version = "2.3.2" } +tauri-build = { path = "../tauri-build/", default-features = false, version = "2.4.0" } tauri-utils = { path = "../tauri-utils/", version = "2.7.0", features = [ "build", ] } From caea7eb7c9b4413c430dd8fea8b5ba32b2f0273b Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Mon, 18 Aug 2025 15:39:59 -0300 Subject: [PATCH 3/3] fix audit --- package.json | 3 ++- pnpm-lock.yaml | 19 ++++++------------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index 5f20a434e62f..a0bd40e2a205 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,8 @@ "overrides": { "brace-expansion@<4.0.1": ">=4.0.1", "cross-spawn@>=7.0.0 <7.0.5": ">=7.0.5", - "cookie@<0.7.0": ">=0.7.0" + "cookie@<0.7.0": ">=0.7.0", + "tmp@<=0.2.3": ">=0.2.4" }, "onlyBuiltDependencies": [ "esbuild", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b116b284d624..c196f61ce067 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,7 @@ overrides: brace-expansion@<4.0.1: '>=4.0.1' cross-spawn@>=7.0.0 <7.0.5: '>=7.0.5' cookie@<0.7.0: '>=0.7.0' + tmp@<=0.2.3: '>=0.2.4' importers: @@ -2038,10 +2039,6 @@ packages: resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} engines: {node: '>= 0.8.0'} - os-tmpdir@1.0.2: - resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} - engines: {node: '>=0.10.0'} - p-limit@3.1.0: resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} engines: {node: '>=10'} @@ -2295,9 +2292,9 @@ packages: resolution: {integrity: sha512-t2T/WLB2WRgZ9EpE4jgPJ9w+i66UZfDc8wHh0xrwiRNN+UwH98GIJkTeZqX9rg0i0ptwzqW+uYeIF0T4F8LR7A==} engines: {node: '>=14.0.0'} - tmp@0.0.33: - resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} - engines: {node: '>=0.6.0'} + tmp@0.2.5: + resolution: {integrity: sha512-voyz6MApa1rQGUxT3E+BK7/ROe8itEx7vD8/HEvt4xwXucvQ5G5oeEiHkmHZJuBO21RpOf+YYm9MOivj709jow==} + engines: {node: '>=14.14'} to-regex-range@5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} @@ -4096,7 +4093,7 @@ snapshots: dependencies: chardet: 0.7.0 iconv-lite: 0.4.24 - tmp: 0.0.33 + tmp: 0.2.5 fast-content-type-parse@3.0.0: {} @@ -4357,8 +4354,6 @@ snapshots: type-check: 0.4.0 word-wrap: 1.2.5 - os-tmpdir@1.0.2: {} - p-limit@3.1.0: dependencies: yocto-queue: 0.1.0 @@ -4628,9 +4623,7 @@ snapshots: tinyspy@4.0.3: {} - tmp@0.0.33: - dependencies: - os-tmpdir: 1.0.2 + tmp@0.2.5: {} to-regex-range@5.0.1: dependencies: