From 6eb55bd0819386bc379e85217e1c10dce54aa7f4 Mon Sep 17 00:00:00 2001 From: lucasfernog <20051258+lucasfernog@users.noreply.github.com> Date: Tue, 15 Apr 2025 17:41:42 +0000 Subject: [PATCH] apply version updates --- .changes/channel-ctor-callback.md | 5 -- .changes/channel-never-cleaned-up.md | 6 --- .changes/channel-small-payload-perf.md | 5 -- .changes/detect-package-manager-env.md | 6 --- .changes/disable-input-accessory-view-ios.md | 7 --- .changes/enhance-state-panic-message.md | 5 -- .changes/escape-nsis-resource-sidecar.md | 5 -- .changes/eval-take-into-string.md | 5 -- .changes/feat-dock-visibility-on-macos.md | 7 --- ...ciations-missing-lshandlerrank-on-macos.md | 8 --- .changes/fix-ios-xcode-16.3.md | 6 --- .changes/fix-referencing-command.md | 5 -- .changes/hebrew-translation.md | 5 -- .changes/improve-ios-sim.md | 6 --- .changes/init-script-on-all-frames.md | 9 ---- .../input-accessory-view-builder-runtime.md | 6 --- .changes/input-accessory-view-builder.md | 5 -- .../invoke-handler-stack-overflow-on-debug.md | 5 -- .changes/invoke-headers-non-ascii.md | 5 -- .changes/invoke-headers.md | 5 -- .changes/invoke-system-take-as-ref-str.md | 5 -- .changes/ios-macos-bundleversion.md | 8 --- .changes/isTauri-tests.md | 5 -- .changes/macOS_allow_link_preview-api.md | 7 --- .changes/macOS_allow_link_preview.md | 9 ---- .changes/nsis-sign-plugins.md | 5 -- .changes/prevent-window-overflow.md | 9 ---- .changes/prevent_overflow_api.md | 5 -- .changes/remove-webview-attribute-reexport.md | 5 -- .changes/run-return-restart.md | 5 -- .changes/setDockVisibility.md | 6 --- .changes/sign-dlls.md | 5 -- .changes/unstable-focus-change-windows.md | 5 -- .changes/update-tao.md | 5 -- .changes/update-tauri-utils.md | 8 --- .changes/update-webview2.md | 6 --- .changes/update-windows.md | 7 --- .changes/update-wry.md | 5 -- .changes/webdriver-app-ext.md | 5 -- .changes/webdriver-cleanup.md | 5 -- Cargo.lock | 44 ++++++++-------- crates/tauri-build/CHANGELOG.md | 8 +++ crates/tauri-build/Cargo.toml | 6 +-- crates/tauri-bundler/CHANGELOG.md | 21 ++++++++ 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 | 7 +++ crates/tauri-codegen/Cargo.toml | 4 +- crates/tauri-driver/CHANGELOG.md | 10 ++++ crates/tauri-driver/Cargo.toml | 2 +- crates/tauri-macros/CHANGELOG.md | 8 +++ crates/tauri-macros/Cargo.toml | 6 +-- crates/tauri-plugin/CHANGELOG.md | 7 +++ crates/tauri-plugin/Cargo.toml | 4 +- crates/tauri-runtime-wry/CHANGELOG.md | 25 ++++++++++ crates/tauri-runtime-wry/Cargo.toml | 6 +-- crates/tauri-runtime/CHANGELOG.md | 21 ++++++++ crates/tauri-runtime/Cargo.toml | 4 +- .../schemas/config.schema.json | 2 +- crates/tauri-utils/CHANGELOG.md | 12 +++++ crates/tauri-utils/Cargo.toml | 2 +- crates/tauri/CHANGELOG.md | 50 +++++++++++++++++++ crates/tauri/Cargo.toml | 14 +++--- packages/api/CHANGELOG.md | 21 ++++++++ packages/api/package.json | 2 +- packages/cli/CHANGELOG.md | 20 ++++++++ packages/cli/package.json | 2 +- 70 files changed, 290 insertions(+), 295 deletions(-) delete mode 100644 .changes/channel-ctor-callback.md delete mode 100644 .changes/channel-never-cleaned-up.md delete mode 100644 .changes/channel-small-payload-perf.md delete mode 100644 .changes/detect-package-manager-env.md delete mode 100644 .changes/disable-input-accessory-view-ios.md delete mode 100644 .changes/enhance-state-panic-message.md delete mode 100644 .changes/escape-nsis-resource-sidecar.md delete mode 100644 .changes/eval-take-into-string.md delete mode 100644 .changes/feat-dock-visibility-on-macos.md delete mode 100644 .changes/fix-fileassociations-missing-lshandlerrank-on-macos.md delete mode 100644 .changes/fix-ios-xcode-16.3.md delete mode 100644 .changes/fix-referencing-command.md delete mode 100644 .changes/hebrew-translation.md delete mode 100644 .changes/improve-ios-sim.md delete mode 100644 .changes/init-script-on-all-frames.md delete mode 100644 .changes/input-accessory-view-builder-runtime.md delete mode 100644 .changes/input-accessory-view-builder.md delete mode 100644 .changes/invoke-handler-stack-overflow-on-debug.md delete mode 100644 .changes/invoke-headers-non-ascii.md delete mode 100644 .changes/invoke-headers.md delete mode 100644 .changes/invoke-system-take-as-ref-str.md delete mode 100644 .changes/ios-macos-bundleversion.md delete mode 100644 .changes/isTauri-tests.md delete mode 100644 .changes/macOS_allow_link_preview-api.md delete mode 100644 .changes/macOS_allow_link_preview.md delete mode 100644 .changes/nsis-sign-plugins.md delete mode 100644 .changes/prevent-window-overflow.md delete mode 100644 .changes/prevent_overflow_api.md delete mode 100644 .changes/remove-webview-attribute-reexport.md delete mode 100644 .changes/run-return-restart.md delete mode 100644 .changes/setDockVisibility.md delete mode 100644 .changes/sign-dlls.md delete mode 100644 .changes/unstable-focus-change-windows.md delete mode 100644 .changes/update-tao.md delete mode 100644 .changes/update-tauri-utils.md delete mode 100644 .changes/update-webview2.md delete mode 100644 .changes/update-windows.md delete mode 100644 .changes/update-wry.md delete mode 100644 .changes/webdriver-app-ext.md delete mode 100644 .changes/webdriver-cleanup.md diff --git a/.changes/channel-ctor-callback.md b/.changes/channel-ctor-callback.md deleted file mode 100644 index 926a38fc67cd..000000000000 --- a/.changes/channel-ctor-callback.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": minor:feat ---- - -Allow passing the callback as the parameter of constructor of `Channel` so you can use it like this `new Channel((message) => console.log(message))` diff --git a/.changes/channel-never-cleaned-up.md b/.changes/channel-never-cleaned-up.md deleted file mode 100644 index 0d1b492fdb53..000000000000 --- a/.changes/channel-never-cleaned-up.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": minor:bug -"@tauri-apps/api": minor:bug ---- - -Fix `Channel`'s callback attached to `window` never cleaned up diff --git a/.changes/channel-small-payload-perf.md b/.changes/channel-small-payload-perf.md deleted file mode 100644 index 3a9f30ceaff6..000000000000 --- a/.changes/channel-small-payload-perf.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": minor:perf ---- - -Improve `Channel`'s performance when sending small amount of data (e.g. sending a number) diff --git a/.changes/detect-package-manager-env.md b/.changes/detect-package-manager-env.md deleted file mode 100644 index c46256318858..000000000000 --- a/.changes/detect-package-manager-env.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:enhance -"@tauri-apps/cli": patch:enhance ---- - -Detect package manager from environment variable `npm_config_user_agent` first diff --git a/.changes/disable-input-accessory-view-ios.md b/.changes/disable-input-accessory-view-ios.md deleted file mode 100644 index 1dc82e38de14..000000000000 --- a/.changes/disable-input-accessory-view-ios.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@tauri-apps/api": minor:feat -"tauri-utils": minor:feat ---- - -Added `disableInputAccessoryView: bool` config for iOS. - diff --git a/.changes/enhance-state-panic-message.md b/.changes/enhance-state-panic-message.md deleted file mode 100644 index 9292143b48c1..000000000000 --- a/.changes/enhance-state-panic-message.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:enhance ---- - -Enhance panic message when fetching unmanaged state. diff --git a/.changes/escape-nsis-resource-sidecar.md b/.changes/escape-nsis-resource-sidecar.md deleted file mode 100644 index 51bca3685c38..000000000000 --- a/.changes/escape-nsis-resource-sidecar.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri-bundler: patch:bug ---- - -Fix NSIS bundler can't include resources and sidecars with `$` in the path diff --git a/.changes/eval-take-into-string.md b/.changes/eval-take-into-string.md deleted file mode 100644 index ec295d92c25d..000000000000 --- a/.changes/eval-take-into-string.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri: minor:enhance ---- - -`Webview::eval` and `WebviewWindow::eval` now takes `impl Into` instead of `&str` to allow passing the scripts more flexible and efficiently diff --git a/.changes/feat-dock-visibility-on-macos.md b/.changes/feat-dock-visibility-on-macos.md deleted file mode 100644 index 6ef2cf2870c9..000000000000 --- a/.changes/feat-dock-visibility-on-macos.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -tauri: patch:feat -tauri-runtime: patch:feat -tauri-runtime-wry: patch:feat ---- - -MacOS: Add `set_dock_visibility` method to support setting the visibility of the application in the dock. \ No newline at end of file diff --git a/.changes/fix-fileassociations-missing-lshandlerrank-on-macos.md b/.changes/fix-fileassociations-missing-lshandlerrank-on-macos.md deleted file mode 100644 index 2348775ed1f3..000000000000 --- a/.changes/fix-fileassociations-missing-lshandlerrank-on-macos.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri-bundler": "patch:bug" -"tauri-utils": "patch:bug" -"tauri-cli": "patch:bug" -"@tauri-apps/cli": "patch:bug" ---- - -Fix `fileAssociations` missing `LSHandlerRank` on macOS. diff --git a/.changes/fix-ios-xcode-16.3.md b/.changes/fix-ios-xcode-16.3.md deleted file mode 100644 index 0fad0d7f4dc3..000000000000 --- a/.changes/fix-ios-xcode-16.3.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:bug -"@tauri-apps/cli": patch:bug ---- - -Fixes iOS dev not working on Xcode 16.3 simulators. To apply the fix, either regenerate the Xcode project with `rm -r src-tauri/gen/apple && tauri ios init` or remove the `arm64-sim` architecture from the Xcode project. diff --git a/.changes/fix-referencing-command.md b/.changes/fix-referencing-command.md deleted file mode 100644 index 08728406208b..000000000000 --- a/.changes/fix-referencing-command.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri: patch:bug ---- - -Fix missing `core:` in referenced commands in ACL error message diff --git a/.changes/hebrew-translation.md b/.changes/hebrew-translation.md deleted file mode 100644 index b06eb359f2db..000000000000 --- a/.changes/hebrew-translation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-bundler": minor:feat ---- - -Added hebrew translation for the custom Tauri messages in the NSIS bundle. diff --git a/.changes/improve-ios-sim.md b/.changes/improve-ios-sim.md deleted file mode 100644 index 4fcf758f2a78..000000000000 --- a/.changes/improve-ios-sim.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:enhance -"@tauri-apps/cli": patch:enhance ---- - -Improve iOS simulator usage, checking if Xcode iOS SDK is installed and allowing usage of Simulator for older iOS releases (previously only supported when running on Xcode via `ios dev --open`). diff --git a/.changes/init-script-on-all-frames.md b/.changes/init-script-on-all-frames.md deleted file mode 100644 index 68253a799a12..000000000000 --- a/.changes/init-script-on-all-frames.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -tauri: minor:feat -tauri-runtime: minor:feat ---- - -- add API to run initialization scripts on all frames - - `WebviewBuilder::initialization_script_on_all_frames` - - `WebviewWindowBuilder::initialization_script_on_all_frames` - - `WebviewAttributes::initialization_script_on_all_frames` diff --git a/.changes/input-accessory-view-builder-runtime.md b/.changes/input-accessory-view-builder-runtime.md deleted file mode 100644 index 890342d3892a..000000000000 --- a/.changes/input-accessory-view-builder-runtime.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-runtime": minor:feat -"tauri-runtime-wry": minor:feat ---- - -Added `WebviewAttributes::input_accessory_view_builder` on iOS. diff --git a/.changes/input-accessory-view-builder.md b/.changes/input-accessory-view-builder.md deleted file mode 100644 index db2fd8037339..000000000000 --- a/.changes/input-accessory-view-builder.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": minor:feat ---- - -Added `WebviewWindowBuilder::with_input_accessory_view_builder` and `WebviewBuilder::with_input_accessory_view_builder` on iOS. diff --git a/.changes/invoke-handler-stack-overflow-on-debug.md b/.changes/invoke-handler-stack-overflow-on-debug.md deleted file mode 100644 index 5f89ae2f1a38..000000000000 --- a/.changes/invoke-handler-stack-overflow-on-debug.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri: patch:bug ---- - -Fix large number of commands with large structs as parameters causing stack overflow on debug build on Windows diff --git a/.changes/invoke-headers-non-ascii.md b/.changes/invoke-headers-non-ascii.md deleted file mode 100644 index 7b3ca3a507e5..000000000000 --- a/.changes/invoke-headers-non-ascii.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:bug ---- - -`invoke` will now properly throw when `options.headers` contains non-ascii characters instead of silently replacing them diff --git a/.changes/invoke-headers.md b/.changes/invoke-headers.md deleted file mode 100644 index e134a92794a6..000000000000 --- a/.changes/invoke-headers.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:bug ---- - -Fix `invoke` ignores the headers option if it's an `Headers` diff --git a/.changes/invoke-system-take-as-ref-str.md b/.changes/invoke-system-take-as-ref-str.md deleted file mode 100644 index 2d9c1e8d2ea0..000000000000 --- a/.changes/invoke-system-take-as-ref-str.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri: minor:enhance ---- - -`Builder::invoke_system` takes `AsRef` now diff --git a/.changes/ios-macos-bundleversion.md b/.changes/ios-macos-bundleversion.md deleted file mode 100644 index 6e3146ddd85d..000000000000 --- a/.changes/ios-macos-bundleversion.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri-utils": minor:feat -"@tauri-apps/cli": minor:feat -"tauri-cli": minor:feat -"tauri-bundler": minor:feat ---- - -Added `bundleVersion` to iOS and macOS configuration to support specifying a `CFBundleVersion`. diff --git a/.changes/isTauri-tests.md b/.changes/isTauri-tests.md deleted file mode 100644 index 5a760637009e..000000000000 --- a/.changes/isTauri-tests.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": patch:enhance ---- - -`core.isTauri` now leverages `globalThis` instead of `window` in order to be used in unit tests. diff --git a/.changes/macOS_allow_link_preview-api.md b/.changes/macOS_allow_link_preview-api.md deleted file mode 100644 index 597d3227e850..000000000000 --- a/.changes/macOS_allow_link_preview-api.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@tauri-apps/api": patch:feat ---- - -macOS/iOS: add option to disable or enable link previews when building a webview (the webkit api has it enabled by default) - - `WindowOptions::allowLinkPreview` - - `WebviewOptions::allowLinkPreview` diff --git a/.changes/macOS_allow_link_preview.md b/.changes/macOS_allow_link_preview.md deleted file mode 100644 index 40490f5e6ba1..000000000000 --- a/.changes/macOS_allow_link_preview.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"tauri": patch:feat -"tauri-runtime": patch:feat -"tauri-runtime-wry": patch:feat ---- - -macOS/iOS: add option to disable or enable link previews when building a webview (the webkit api has it enabled by default) - - `WebViewBuilder.allow_link_preview(allow_link_preview: bool)` - - `WebviewWindowBuilder.allow_link_preview(allow_link_preview: bool)` diff --git a/.changes/nsis-sign-plugins.md b/.changes/nsis-sign-plugins.md deleted file mode 100644 index 8e3e3789271c..000000000000 --- a/.changes/nsis-sign-plugins.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-bundler': 'patch:enhance' ---- - -Sign NSIS and WiX DLLs when bundling diff --git a/.changes/prevent-window-overflow.md b/.changes/prevent-window-overflow.md deleted file mode 100644 index fe11587c99e4..000000000000 --- a/.changes/prevent-window-overflow.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"tauri": "patch:feat" -"tauri-utils": "patch:feat" -"tauri-runtime": "patch:feat" -"tauri-runtime-wry": "patch:feat" -"@tauri-apps/api": "patch:feat" ---- - -Add `preventOverflow` config option to prevent the window from overflowing the monitor size on creation diff --git a/.changes/prevent_overflow_api.md b/.changes/prevent_overflow_api.md deleted file mode 100644 index c26668c1e1b2..000000000000 --- a/.changes/prevent_overflow_api.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": minor:feat ---- - -Add `WindowBuilder::prevent_overflow`, `WebviewWindowBuilder::prevent_overflow`, `WindowBuilder::prevent_overflow_with_margin` and `WebviewWindowBuilder::prevent_overflow_with_margin` APIs to prevent the window from overflowing the monitor size on creation. diff --git a/.changes/remove-webview-attribute-reexport.md b/.changes/remove-webview-attribute-reexport.md deleted file mode 100644 index ca4602ba446f..000000000000 --- a/.changes/remove-webview-attribute-reexport.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri: minor:breaking ---- - -Removed re-exported `WebviewAttributes` from `tauri-runtime` which is exposed by accident in `tauri` and not used by any public facing APIs diff --git a/.changes/run-return-restart.md b/.changes/run-return-restart.md deleted file mode 100644 index e4d108620088..000000000000 --- a/.changes/run-return-restart.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri: patch:bug ---- - -Fix `run_return` not responding to `restart` and `request_restart` diff --git a/.changes/setDockVisibility.md b/.changes/setDockVisibility.md deleted file mode 100644 index 39b89b28fd1c..000000000000 --- a/.changes/setDockVisibility.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@tauri-apps/api": minor:feat ---- - -Added `app.setDockVisibility` for macOS. - diff --git a/.changes/sign-dlls.md b/.changes/sign-dlls.md deleted file mode 100644 index 043a37bc679f..000000000000 --- a/.changes/sign-dlls.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-bundler': 'patch:enhance' ---- - -Sign DLLs from resources. diff --git a/.changes/unstable-focus-change-windows.md b/.changes/unstable-focus-change-windows.md deleted file mode 100644 index 121192df8de5..000000000000 --- a/.changes/unstable-focus-change-windows.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime-wry": patch:bug ---- - -Emit `WindowEvent::Focused` events when using the multiwebview (unstable feature flag) mode on Windows. diff --git a/.changes/update-tao.md b/.changes/update-tao.md deleted file mode 100644 index 309df61f8355..000000000000 --- a/.changes/update-tao.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime-wry": minor:deps ---- - -Update tao to 0.33. diff --git a/.changes/update-tauri-utils.md b/.changes/update-tauri-utils.md deleted file mode 100644 index a9fe7e7101cd..000000000000 --- a/.changes/update-tauri-utils.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri-codegen": minor:deps -"tauri-macros": minor:deps -"tauri-plugin": minor:deps -"tauri-build": minor:deps ---- - -Update to `tauri-utils@2.4.0` diff --git a/.changes/update-webview2.md b/.changes/update-webview2.md deleted file mode 100644 index 98b7abb3ab4f..000000000000 --- a/.changes/update-webview2.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": minor:deps -"tauri-runtime-wry": minor:deps ---- - -Update webview2-com to 0.37. diff --git a/.changes/update-windows.md b/.changes/update-windows.md deleted file mode 100644 index 3a8f21c5ada0..000000000000 --- a/.changes/update-windows.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": minor:deps -"tauri-runtime": minor:deps -"tauri-runtime-wry": minor:deps ---- - -Update windows to 0.61. diff --git a/.changes/update-wry.md b/.changes/update-wry.md deleted file mode 100644 index 9013aa529697..000000000000 --- a/.changes/update-wry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime-wry": minor:deps ---- - -Update wry to 0.51. diff --git a/.changes/webdriver-app-ext.md b/.changes/webdriver-app-ext.md deleted file mode 100644 index 0e5adc3b60ea..000000000000 --- a/.changes/webdriver-app-ext.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-driver": patch:enhance ---- - -Automatically append the `.exe` extension on the application path in `tauri:options`. diff --git a/.changes/webdriver-cleanup.md b/.changes/webdriver-cleanup.md deleted file mode 100644 index f607309b9890..000000000000 --- a/.changes/webdriver-cleanup.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-driver": patch:bug ---- - -Ensure the webdriver process is closed when the tauri-driver process finishes. diff --git a/Cargo.lock b/Cargo.lock index 1a18055e3a90..5de03788c595 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,7 +14,7 @@ version = "0.1.0" dependencies = [ "insta", "serde_json", - "tauri-utils 2.3.1", + "tauri-utils 2.4.0", ] [[package]] @@ -8384,7 +8384,7 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tauri" -version = "2.4.1" +version = "2.5.0" dependencies = [ "anyhow", "bytes", @@ -8429,7 +8429,7 @@ dependencies = [ "tauri-macros", "tauri-runtime", "tauri-runtime-wry", - "tauri-utils 2.3.1", + "tauri-utils 2.4.0", "thiserror 2.0.10", "tokio", "tracing", @@ -8445,7 +8445,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.1.1" +version = "2.2.0" dependencies = [ "anyhow", "cargo_toml", @@ -8459,7 +8459,7 @@ dependencies = [ "serde", "serde_json", "tauri-codegen", - "tauri-utils 2.3.1", + "tauri-utils 2.4.0", "tauri-winres", "toml 0.8.19", "walkdir", @@ -8467,7 +8467,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "2.3.1" +version = "2.4.0" dependencies = [ "anyhow", "ar", @@ -8496,7 +8496,7 @@ dependencies = [ "tar", "tauri-icns", "tauri-macos-sign", - "tauri-utils 2.3.1", + "tauri-utils 2.4.0", "tempfile", "thiserror 2.0.10", "time", @@ -8512,7 +8512,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "2.4.1" +version = "2.5.0" dependencies = [ "anyhow", "ar", @@ -8578,7 +8578,7 @@ dependencies = [ "tauri-icns", "tauri-macos-sign", "tauri-utils 1.6.0", - "tauri-utils 2.3.1", + "tauri-utils 2.4.0", "tempfile", "tokio", "toml 0.8.19", @@ -8603,7 +8603,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.1.1" +version = "2.2.0" dependencies = [ "base64 0.22.1", "brotli", @@ -8619,7 +8619,7 @@ dependencies = [ "serde_json", "sha2", "syn 2.0.95", - "tauri-utils 2.3.1", + "tauri-utils 2.4.0", "thiserror 2.0.10", "time", "url", @@ -8629,7 +8629,7 @@ dependencies = [ [[package]] name = "tauri-driver" -version = "2.0.3" +version = "2.0.4" dependencies = [ "anyhow", "futures", @@ -8690,19 +8690,19 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.1.1" +version = "2.2.0" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", "syn 2.0.95", "tauri-codegen", - "tauri-utils 2.3.1", + "tauri-utils 2.4.0", ] [[package]] name = "tauri-plugin" -version = "2.1.1" +version = "2.2.0" dependencies = [ "anyhow", "glob", @@ -8710,7 +8710,7 @@ dependencies = [ "schemars", "serde", "serde_json", - "tauri-utils 2.3.1", + "tauri-utils 2.4.0", "toml 0.8.19", "walkdir", ] @@ -8750,7 +8750,7 @@ dependencies = [ [[package]] name = "tauri-runtime" -version = "2.5.1" +version = "2.6.0" dependencies = [ "cookie", "dpi", @@ -8762,7 +8762,7 @@ dependencies = [ "raw-window-handle", "serde", "serde_json", - "tauri-utils 2.3.1", + "tauri-utils 2.4.0", "thiserror 2.0.10", "url", "windows 0.61.1", @@ -8770,7 +8770,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "2.5.1" +version = "2.6.0" dependencies = [ "gtk", "http 1.2.0", @@ -8785,7 +8785,7 @@ dependencies = [ "softbuffer", "tao", "tauri-runtime", - "tauri-utils 2.3.1", + "tauri-utils 2.4.0", "tracing", "url", "webkit2gtk", @@ -8801,7 +8801,7 @@ dependencies = [ "schemars", "serde", "serde_json", - "tauri-utils 2.3.1", + "tauri-utils 2.4.0", "url", ] @@ -8852,7 +8852,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.3.1" +version = "2.4.0" dependencies = [ "aes-gcm", "anyhow", diff --git a/crates/tauri-build/CHANGELOG.md b/crates/tauri-build/CHANGELOG.md index 418fee508711..e5b5f4b01cef 100644 --- a/crates/tauri-build/CHANGELOG.md +++ b/crates/tauri-build/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## \[2.2.0] + +### Dependencies + +- Upgraded to `tauri-utils@2.4.0` +- Upgraded to `tauri-codegen@2.2.0` +- [`48b12b440`](https://www.github.com/tauri-apps/tauri/commit/48b12b440478937c46fdfef9f9d95194be117020) Update to `tauri-utils@2.4.0` + ## \[2.1.1] ### Dependencies diff --git a/crates/tauri-build/Cargo.toml b/crates/tauri-build/Cargo.toml index ec2bfc53270f..b0fd33a76ce2 100644 --- a/crates/tauri-build/Cargo.toml +++ b/crates/tauri-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-build" -version = "2.1.1" +version = "2.2.0" 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.1.1", path = "../tauri-codegen", optional = true } -tauri-utils = { version = "2.3.1", path = "../tauri-utils", features = [ +tauri-codegen = { version = "2.2.0", path = "../tauri-codegen", optional = true } +tauri-utils = { version = "2.4.0", path = "../tauri-utils", features = [ "build", "resources", ] } diff --git a/crates/tauri-bundler/CHANGELOG.md b/crates/tauri-bundler/CHANGELOG.md index df59b1b5c20c..dec061bb5cd9 100644 --- a/crates/tauri-bundler/CHANGELOG.md +++ b/crates/tauri-bundler/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## \[2.4.0] + +### New Features + +- [`b0babb6df`](https://www.github.com/tauri-apps/tauri/commit/b0babb6df12dafe45c21a2c9c424fd86ffd75ca7) ([#12938](https://www.github.com/tauri-apps/tauri/pull/12938)) Added hebrew translation for the custom Tauri messages in the NSIS bundle. +- [`0aa48fb9e`](https://www.github.com/tauri-apps/tauri/commit/0aa48fb9e4b9d7b5bf3522000a76ebc1836394ed) ([#13030](https://www.github.com/tauri-apps/tauri/pull/13030)) Added `bundleVersion` to iOS and macOS configuration to support specifying a `CFBundleVersion`. + +### Enhancements + +- [`8d994f60f`](https://www.github.com/tauri-apps/tauri/commit/8d994f60fe05ec0f45cbe926506bbe10b0d36e3c) ([#11676](https://www.github.com/tauri-apps/tauri/pull/11676)) Sign NSIS and WiX DLLs when bundling +- [`8d994f60f`](https://www.github.com/tauri-apps/tauri/commit/8d994f60fe05ec0f45cbe926506bbe10b0d36e3c) ([#11676](https://www.github.com/tauri-apps/tauri/pull/11676)) Sign DLLs from resources. + +### Bug Fixes + +- [`9ea76503d`](https://www.github.com/tauri-apps/tauri/commit/9ea76503dcf8da11fab65550f4ab8d3565a424ef) ([#13186](https://www.github.com/tauri-apps/tauri/pull/13186)) Fix NSIS bundler can't include resources and sidecars with `$` in the path +- [`2dccfab53`](https://www.github.com/tauri-apps/tauri/commit/2dccfab5321fef55d45f3a4c674b6151b1c4424a) ([#13236](https://www.github.com/tauri-apps/tauri/pull/13236)) Fix `fileAssociations` missing `LSHandlerRank` on macOS. + +### Dependencies + +- Upgraded to `tauri-utils@2.4.0` + ## \[2.3.1] ### Bug Fixes diff --git a/crates/tauri-bundler/Cargo.toml b/crates/tauri-bundler/Cargo.toml index 432ecd40d241..1c675e354304 100644 --- a/crates/tauri-bundler/Cargo.toml +++ b/crates/tauri-bundler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-bundler" -version = "2.3.1" +version = "2.4.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.3.1", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.4.0", path = "../tauri-utils", features = [ "resources", ] } image = "0.25" diff --git a/crates/tauri-cli/CHANGELOG.md b/crates/tauri-cli/CHANGELOG.md index 64cf0f8b7db6..0bcf1e8629f0 100644 --- a/crates/tauri-cli/CHANGELOG.md +++ b/crates/tauri-cli/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## \[2.5.0] + +### New Features + +- [`0aa48fb9e`](https://www.github.com/tauri-apps/tauri/commit/0aa48fb9e4b9d7b5bf3522000a76ebc1836394ed) ([#13030](https://www.github.com/tauri-apps/tauri/pull/13030)) Added `bundleVersion` to iOS and macOS configuration to support specifying a `CFBundleVersion`. + +### Enhancements + +- [`ad3fd3890`](https://www.github.com/tauri-apps/tauri/commit/ad3fd3890f1fa26a9f9be04ff1bc156d6dd2a8bc) ([#13152](https://www.github.com/tauri-apps/tauri/pull/13152)) Detect package manager from environment variable `npm_config_user_agent` first +- [`82406c61e`](https://www.github.com/tauri-apps/tauri/commit/82406c61e0fbb775ef00791ccab45349325bdd45) ([#13231](https://www.github.com/tauri-apps/tauri/pull/13231)) Improve iOS simulator usage, checking if Xcode iOS SDK is installed and allowing usage of Simulator for older iOS releases (previously only supported when running on Xcode via `ios dev --open`). + +### Bug Fixes + +- [`2dccfab53`](https://www.github.com/tauri-apps/tauri/commit/2dccfab5321fef55d45f3a4c674b6151b1c4424a) ([#13236](https://www.github.com/tauri-apps/tauri/pull/13236)) Fix `fileAssociations` missing `LSHandlerRank` on macOS. +- [`080252903`](https://www.github.com/tauri-apps/tauri/commit/0802529031c4fd309edff374a8694e93ddec161d) ([#13210](https://www.github.com/tauri-apps/tauri/pull/13210)) Fixes iOS dev not working on Xcode 16.3 simulators. To apply the fix, either regenerate the Xcode project with `rm -r src-tauri/gen/apple && tauri ios init` or remove the `arm64-sim` architecture from the Xcode project. + +### Dependencies + +- Upgraded to `tauri-utils@2.4.0` +- Upgraded to `tauri-bundler@2.4.0` + ## \[2.4.1] ### Enhancements diff --git a/crates/tauri-cli/Cargo.toml b/crates/tauri-cli/Cargo.toml index 77c2ebac279e..d1c338388c9a 100644 --- a/crates/tauri-cli/Cargo.toml +++ b/crates/tauri-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-cli" -version = "2.4.1" +version = "2.5.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.3.1", default-features = false, path = "../tauri-bundler" } +tauri-bundler = { version = "2.4.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 = "0.13" toml_edit = { version = "0.22", features = ["serde"] } json-patch = "3" -tauri-utils = { version = "2.3.1", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.4.0", path = "../tauri-utils", features = [ "isolation", "schema", "config-json5", diff --git a/crates/tauri-cli/config.schema.json b/crates/tauri-cli/config.schema.json index 1fdee5ef0952..9a582f7f4e95 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.4.1", + "$id": "https://schema.tauri.app/config/2.5.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 2111ab19f3c1..fe6b9994430a 100644 --- a/crates/tauri-cli/metadata-v2.json +++ b/crates/tauri-cli/metadata-v2.json @@ -1,9 +1,9 @@ { "cli.js": { - "version": "2.4.1", + "version": "2.5.0", "node": ">= 10.0.0" }, - "tauri": "2.4.1", - "tauri-build": "2.1.1", - "tauri-plugin": "2.1.1" + "tauri": "2.5.0", + "tauri-build": "2.2.0", + "tauri-plugin": "2.2.0" } diff --git a/crates/tauri-codegen/CHANGELOG.md b/crates/tauri-codegen/CHANGELOG.md index 6946a574b2d8..35192600c040 100644 --- a/crates/tauri-codegen/CHANGELOG.md +++ b/crates/tauri-codegen/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.2.0] + +### Dependencies + +- Upgraded to `tauri-utils@2.4.0` +- [`48b12b440`](https://www.github.com/tauri-apps/tauri/commit/48b12b440478937c46fdfef9f9d95194be117020) Update to `tauri-utils@2.4.0` + ## \[2.1.1] ### Dependencies diff --git a/crates/tauri-codegen/Cargo.toml b/crates/tauri-codegen/Cargo.toml index c02030326df4..f7efa79c2301 100644 --- a/crates/tauri-codegen/Cargo.toml +++ b/crates/tauri-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-codegen" -version = "2.1.1" +version = "2.2.0" 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.3.1", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.4.0", path = "../tauri-utils", features = [ "build", ] } thiserror = "2" diff --git a/crates/tauri-driver/CHANGELOG.md b/crates/tauri-driver/CHANGELOG.md index 1f29a52a08b9..f53f342d923a 100644 --- a/crates/tauri-driver/CHANGELOG.md +++ b/crates/tauri-driver/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.0.4] + +### Enhancements + +- [`0cf2d9933`](https://www.github.com/tauri-apps/tauri/commit/0cf2d9933f20375349f9f307b4dd7049690030d9) ([#13238](https://www.github.com/tauri-apps/tauri/pull/13238)) Automatically append the `.exe` extension on the application path in `tauri:options`. + +### Bug Fixes + +- [`577c7ffc4`](https://www.github.com/tauri-apps/tauri/commit/577c7ffc45ef005403cdf698e595614038c7d1e1) ([#10108](https://www.github.com/tauri-apps/tauri/pull/10108)) Ensure the webdriver process is closed when the tauri-driver process finishes. + ## \[2.0.3] ### Bug Fixes diff --git a/crates/tauri-driver/Cargo.toml b/crates/tauri-driver/Cargo.toml index d23b1095e743..5c833121c11c 100644 --- a/crates/tauri-driver/Cargo.toml +++ b/crates/tauri-driver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-driver" -version = "2.0.3" +version = "2.0.4" authors = ["Tauri Programme within The Commons Conservancy"] categories = ["gui", "web-programming"] license = "Apache-2.0 OR MIT" diff --git a/crates/tauri-macros/CHANGELOG.md b/crates/tauri-macros/CHANGELOG.md index e321cfc04c0f..4b7e6b63f2a6 100644 --- a/crates/tauri-macros/CHANGELOG.md +++ b/crates/tauri-macros/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## \[2.2.0] + +### Dependencies + +- Upgraded to `tauri-utils@2.4.0` +- Upgraded to `tauri-codegen@2.2.0` +- [`48b12b440`](https://www.github.com/tauri-apps/tauri/commit/48b12b440478937c46fdfef9f9d95194be117020) Update to `tauri-utils@2.4.0` + ## \[2.1.1] ### Dependencies diff --git a/crates/tauri-macros/Cargo.toml b/crates/tauri-macros/Cargo.toml index bb1a2a418efc..110982237255 100644 --- a/crates/tauri-macros/Cargo.toml +++ b/crates/tauri-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-macros" -version = "2.1.1" +version = "2.2.0" 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.1.1", default-features = false, path = "../tauri-codegen" } -tauri-utils = { version = "2.3.1", path = "../tauri-utils" } +tauri-codegen = { version = "2.2.0", default-features = false, path = "../tauri-codegen" } +tauri-utils = { version = "2.4.0", path = "../tauri-utils" } [features] custom-protocol = [] diff --git a/crates/tauri-plugin/CHANGELOG.md b/crates/tauri-plugin/CHANGELOG.md index 3f56502698b5..b3bf2f624a43 100644 --- a/crates/tauri-plugin/CHANGELOG.md +++ b/crates/tauri-plugin/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.2.0] + +### Dependencies + +- Upgraded to `tauri-utils@2.4.0` +- [`48b12b440`](https://www.github.com/tauri-apps/tauri/commit/48b12b440478937c46fdfef9f9d95194be117020) Update to `tauri-utils@2.4.0` + ## \[2.1.1] ### Dependencies diff --git a/crates/tauri-plugin/Cargo.toml b/crates/tauri-plugin/Cargo.toml index 5cbb02fac312..72fdaacc60b5 100644 --- a/crates/tauri-plugin/Cargo.toml +++ b/crates/tauri-plugin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin" -version = "2.1.1" +version = "2.2.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.3.1", default-features = false, features = [ +tauri-utils = { version = "2.4.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 3e79cdd0d86d..de354a75d27a 100644 --- a/crates/tauri-runtime-wry/CHANGELOG.md +++ b/crates/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +## \[2.6.0] + +### New Features + +- [`dd4f13ce4`](https://www.github.com/tauri-apps/tauri/commit/dd4f13ce4b3cd89cde2fa3f18a063c272f215621) ([#13185](https://www.github.com/tauri-apps/tauri/pull/13185)) MacOS: Add `set_dock_visibility` method to support setting the visibility of the application in the dock. +- [`ea36294cb`](https://www.github.com/tauri-apps/tauri/commit/ea36294cbca98f7725c91d1464fd92e77c89698a) ([#13208](https://www.github.com/tauri-apps/tauri/pull/13208)) Added `WebviewAttributes::input_accessory_view_builder` on iOS. +- [`c1cd0a2dd`](https://www.github.com/tauri-apps/tauri/commit/c1cd0a2ddb5bc3e99451cbe399b5fc9f0035f571) ([#13090](https://www.github.com/tauri-apps/tauri/pull/13090)) macOS/iOS: add option to disable or enable link previews when building a webview (the webkit api has it enabled by default) + + - `WebViewBuilder.allow_link_preview(allow_link_preview: bool)` + - `WebviewWindowBuilder.allow_link_preview(allow_link_preview: bool)` +- [`b072e2b29`](https://www.github.com/tauri-apps/tauri/commit/b072e2b2967640ae4fa1af466ae878c156551edd) ([#9687](https://www.github.com/tauri-apps/tauri/pull/9687)) Add `preventOverflow` config option to prevent the window from overflowing the monitor size on creation + +### Bug Fixes + +- [`07953fb9c`](https://www.github.com/tauri-apps/tauri/commit/07953fb9c3dc09e86657aa16020978e89b03ed56) ([#13222](https://www.github.com/tauri-apps/tauri/pull/13222)) Emit `WindowEvent::Focused` events when using the multiwebview (unstable feature flag) mode on Windows. + +### Dependencies + +- Upgraded to `tauri-utils@2.4.0` +- Upgraded to `tauri-runtime@2.6.0` +- [`bb5faa21f`](https://www.github.com/tauri-apps/tauri/commit/bb5faa21f418dd765ce81b495b56e9c519251b6d) ([#13163](https://www.github.com/tauri-apps/tauri/pull/13163)) Update tao to 0.33. +- [`bb5faa21f`](https://www.github.com/tauri-apps/tauri/commit/bb5faa21f418dd765ce81b495b56e9c519251b6d) ([#13163](https://www.github.com/tauri-apps/tauri/pull/13163)) Update webview2-com to 0.37. +- [`bb5faa21f`](https://www.github.com/tauri-apps/tauri/commit/bb5faa21f418dd765ce81b495b56e9c519251b6d) ([#13163](https://www.github.com/tauri-apps/tauri/pull/13163)) Update windows to 0.61. +- [`bb5faa21f`](https://www.github.com/tauri-apps/tauri/commit/bb5faa21f418dd765ce81b495b56e9c519251b6d) ([#13163](https://www.github.com/tauri-apps/tauri/pull/13163)) Update wry to 0.51. + ## \[2.5.1] ### Dependencies diff --git a/crates/tauri-runtime-wry/Cargo.toml b/crates/tauri-runtime-wry/Cargo.toml index c4dcbd96b8b6..687c3d531b06 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.5.1" +version = "2.6.0" description = "Wry bindings to the Tauri runtime" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -24,8 +24,8 @@ wry = { version = "0.51.2", default-features = false, features = [ "linux-body", ] } tao = { version = "0.33", default-features = false, features = ["rwh_06"] } -tauri-runtime = { version = "2.5.1", path = "../tauri-runtime" } -tauri-utils = { version = "2.3.1", path = "../tauri-utils" } +tauri-runtime = { version = "2.6.0", path = "../tauri-runtime" } +tauri-utils = { version = "2.4.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 781715332e05..fce197a971d6 100644 --- a/crates/tauri-runtime/CHANGELOG.md +++ b/crates/tauri-runtime/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## \[2.6.0] + +### New Features + +- [`dd4f13ce4`](https://www.github.com/tauri-apps/tauri/commit/dd4f13ce4b3cd89cde2fa3f18a063c272f215621) ([#13185](https://www.github.com/tauri-apps/tauri/pull/13185)) MacOS: Add `set_dock_visibility` method to support setting the visibility of the application in the dock. +- [`8cf662e34`](https://www.github.com/tauri-apps/tauri/commit/8cf662e34bf738a0d16bb7b9aeb35667e2e4984b) ([#13076](https://www.github.com/tauri-apps/tauri/pull/13076)) - add API to run initialization scripts on all frames + \- `WebviewBuilder::initialization_script_on_all_frames` + \- `WebviewWindowBuilder::initialization_script_on_all_frames` + \- `WebviewAttributes::initialization_script_on_all_frames` +- [`ea36294cb`](https://www.github.com/tauri-apps/tauri/commit/ea36294cbca98f7725c91d1464fd92e77c89698a) ([#13208](https://www.github.com/tauri-apps/tauri/pull/13208)) Added `WebviewAttributes::input_accessory_view_builder` on iOS. +- [`c1cd0a2dd`](https://www.github.com/tauri-apps/tauri/commit/c1cd0a2ddb5bc3e99451cbe399b5fc9f0035f571) ([#13090](https://www.github.com/tauri-apps/tauri/pull/13090)) macOS/iOS: add option to disable or enable link previews when building a webview (the webkit api has it enabled by default) + + - `WebViewBuilder.allow_link_preview(allow_link_preview: bool)` + - `WebviewWindowBuilder.allow_link_preview(allow_link_preview: bool)` +- [`b072e2b29`](https://www.github.com/tauri-apps/tauri/commit/b072e2b2967640ae4fa1af466ae878c156551edd) ([#9687](https://www.github.com/tauri-apps/tauri/pull/9687)) Add `preventOverflow` config option to prevent the window from overflowing the monitor size on creation + +### Dependencies + +- Upgraded to `tauri-utils@2.4.0` +- [`bb5faa21f`](https://www.github.com/tauri-apps/tauri/commit/bb5faa21f418dd765ce81b495b56e9c519251b6d) ([#13163](https://www.github.com/tauri-apps/tauri/pull/13163)) Update windows to 0.61. + ## \[2.5.1] ### Dependencies diff --git a/crates/tauri-runtime/Cargo.toml b/crates/tauri-runtime/Cargo.toml index 8c2242458f1d..721af20e5b55 100644 --- a/crates/tauri-runtime/Cargo.toml +++ b/crates/tauri-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime" -version = "2.5.1" +version = "2.6.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.3.1", path = "../tauri-utils" } +tauri-utils = { version = "2.4.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 1fdee5ef0952..9a582f7f4e95 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.4.1", + "$id": "https://schema.tauri.app/config/2.5.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 54e3814e599a..0d60810f341c 100644 --- a/crates/tauri-utils/CHANGELOG.md +++ b/crates/tauri-utils/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## \[2.4.0] + +### New Features + +- [`ea36294cb`](https://www.github.com/tauri-apps/tauri/commit/ea36294cbca98f7725c91d1464fd92e77c89698a) ([#13208](https://www.github.com/tauri-apps/tauri/pull/13208)) Added `disableInputAccessoryView: bool` config for iOS. +- [`0aa48fb9e`](https://www.github.com/tauri-apps/tauri/commit/0aa48fb9e4b9d7b5bf3522000a76ebc1836394ed) ([#13030](https://www.github.com/tauri-apps/tauri/pull/13030)) Added `bundleVersion` to iOS and macOS configuration to support specifying a `CFBundleVersion`. +- [`b072e2b29`](https://www.github.com/tauri-apps/tauri/commit/b072e2b2967640ae4fa1af466ae878c156551edd) ([#9687](https://www.github.com/tauri-apps/tauri/pull/9687)) Add `preventOverflow` config option to prevent the window from overflowing the monitor size on creation + +### Bug Fixes + +- [`2dccfab53`](https://www.github.com/tauri-apps/tauri/commit/2dccfab5321fef55d45f3a4c674b6151b1c4424a) ([#13236](https://www.github.com/tauri-apps/tauri/pull/13236)) Fix `fileAssociations` missing `LSHandlerRank` on macOS. + ## \[2.3.1] ### Enhancements diff --git a/crates/tauri-utils/Cargo.toml b/crates/tauri-utils/Cargo.toml index 27063dd507ec..7f4525479658 100644 --- a/crates/tauri-utils/Cargo.toml +++ b/crates/tauri-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-utils" -version = "2.3.1" +version = "2.4.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 2a93234328e0..4ac8226ed1d0 100644 --- a/crates/tauri/CHANGELOG.md +++ b/crates/tauri/CHANGELOG.md @@ -1,5 +1,55 @@ # Changelog +## \[2.5.0] + +### New Features + +- [`dd4f13ce4`](https://www.github.com/tauri-apps/tauri/commit/dd4f13ce4b3cd89cde2fa3f18a063c272f215621) ([#13185](https://www.github.com/tauri-apps/tauri/pull/13185)) MacOS: Add `set_dock_visibility` method to support setting the visibility of the application in the dock. +- [`8cf662e34`](https://www.github.com/tauri-apps/tauri/commit/8cf662e34bf738a0d16bb7b9aeb35667e2e4984b) ([#13076](https://www.github.com/tauri-apps/tauri/pull/13076)) - add API to run initialization scripts on all frames + \- `WebviewBuilder::initialization_script_on_all_frames` + \- `WebviewWindowBuilder::initialization_script_on_all_frames` + \- `WebviewAttributes::initialization_script_on_all_frames` +- [`ea36294cb`](https://www.github.com/tauri-apps/tauri/commit/ea36294cbca98f7725c91d1464fd92e77c89698a) ([#13208](https://www.github.com/tauri-apps/tauri/pull/13208)) Added `WebviewWindowBuilder::with_input_accessory_view_builder` and `WebviewBuilder::with_input_accessory_view_builder` on iOS. +- [`c1cd0a2dd`](https://www.github.com/tauri-apps/tauri/commit/c1cd0a2ddb5bc3e99451cbe399b5fc9f0035f571) ([#13090](https://www.github.com/tauri-apps/tauri/pull/13090)) macOS/iOS: add option to disable or enable link previews when building a webview (the webkit api has it enabled by default) + + - `WebViewBuilder.allow_link_preview(allow_link_preview: bool)` + - `WebviewWindowBuilder.allow_link_preview(allow_link_preview: bool)` +- [`b072e2b29`](https://www.github.com/tauri-apps/tauri/commit/b072e2b2967640ae4fa1af466ae878c156551edd) ([#9687](https://www.github.com/tauri-apps/tauri/pull/9687)) Add `preventOverflow` config option to prevent the window from overflowing the monitor size on creation +- [`b072e2b29`](https://www.github.com/tauri-apps/tauri/commit/b072e2b2967640ae4fa1af466ae878c156551edd) ([#9687](https://www.github.com/tauri-apps/tauri/pull/9687)) Add `WindowBuilder::prevent_overflow`, `WebviewWindowBuilder::prevent_overflow`, `WindowBuilder::prevent_overflow_with_margin` and `WebviewWindowBuilder::prevent_overflow_with_margin` APIs to prevent the window from overflowing the monitor size on creation. + +### Enhancements + +- [`9356fa15d`](https://www.github.com/tauri-apps/tauri/commit/9356fa15d87e14b4512fe1b86383a597e6e641d4) ([#13239](https://www.github.com/tauri-apps/tauri/pull/13239)) Enhance panic message when fetching unmanaged state. +- [`ebd3dcb92`](https://www.github.com/tauri-apps/tauri/commit/ebd3dcb92f8c0381daf6f5fdb2eaeef05f11bb6c) ([#13135](https://www.github.com/tauri-apps/tauri/pull/13135)) `Webview::eval` and `WebviewWindow::eval` now takes `impl Into` instead of `&str` to allow passing the scripts more flexible and efficiently +- [`fbd57a1af`](https://www.github.com/tauri-apps/tauri/commit/fbd57a1afd94cc4aadff0b252724fe44060c67e5) ([#13175](https://www.github.com/tauri-apps/tauri/pull/13175)) `Builder::invoke_system` takes `AsRef` now + +### Bug Fixes + +- [`66e6325f4`](https://www.github.com/tauri-apps/tauri/commit/66e6325f43efa49ec2165c45afec911a1a14ecfb) ([#13136](https://www.github.com/tauri-apps/tauri/pull/13136)) Fix `Channel`'s callback attached to `window` never cleaned up +- [`0d39ff6b0`](https://www.github.com/tauri-apps/tauri/commit/0d39ff6b09e0a58a2e031d60f7bdc92b48d3cdf0) ([#13150](https://www.github.com/tauri-apps/tauri/pull/13150)) Fix missing `core:` in referenced commands in ACL error message +- [`690146e31`](https://www.github.com/tauri-apps/tauri/commit/690146e3115f615818ec6927eb56fab157221504) ([#13217](https://www.github.com/tauri-apps/tauri/pull/13217)) Fix large number of commands with large structs as parameters causing stack overflow on debug build on Windows +- [`f888502fd`](https://www.github.com/tauri-apps/tauri/commit/f888502fd228ad96b105e1e66f01c20c9f109983) ([#13227](https://www.github.com/tauri-apps/tauri/pull/13227)) `invoke` will now properly throw when `options.headers` contains non-ascii characters instead of silently replacing them +- [`f888502fd`](https://www.github.com/tauri-apps/tauri/commit/f888502fd228ad96b105e1e66f01c20c9f109983) ([#13227](https://www.github.com/tauri-apps/tauri/pull/13227)) Fix `invoke` ignores the headers option if it's an `Headers` +- [`b8c0d7e40`](https://www.github.com/tauri-apps/tauri/commit/b8c0d7e402b2ea8114bfa0f9322c986bd3eb7845) ([#13040](https://www.github.com/tauri-apps/tauri/pull/13040)) Fix `run_return` not responding to `restart` and `request_restart` + +### Performance Improvements + +- [`66e6325f4`](https://www.github.com/tauri-apps/tauri/commit/66e6325f43efa49ec2165c45afec911a1a14ecfb) ([#13136](https://www.github.com/tauri-apps/tauri/pull/13136)) Improve `Channel`'s performance when sending small amount of data (e.g. sending a number) + +### Dependencies + +- Upgraded to `tauri-utils@2.4.0` +- Upgraded to `tauri-runtime@2.6.0` +- Upgraded to `tauri-runtime-wry@2.6.0` +- Upgraded to `tauri-macros@2.2.0` +- Upgraded to `tauri-build@2.2.0` +- [`bb5faa21f`](https://www.github.com/tauri-apps/tauri/commit/bb5faa21f418dd765ce81b495b56e9c519251b6d) ([#13163](https://www.github.com/tauri-apps/tauri/pull/13163)) Update webview2-com to 0.37. +- [`bb5faa21f`](https://www.github.com/tauri-apps/tauri/commit/bb5faa21f418dd765ce81b495b56e9c519251b6d) ([#13163](https://www.github.com/tauri-apps/tauri/pull/13163)) Update windows to 0.61. + +### Breaking Changes + +- [`fca5154e7`](https://www.github.com/tauri-apps/tauri/commit/fca5154e7ab57bb1bc8c6f4c3c6e4b5650d170d9) ([#13130](https://www.github.com/tauri-apps/tauri/pull/13130)) Removed re-exported `WebviewAttributes` from `tauri-runtime` which is exposed by accident in `tauri` and not used by any public facing APIs + ## \[2.4.1] ### Enhancements diff --git a/crates/tauri/Cargo.toml b/crates/tauri/Cargo.toml index af8e91629a7d..d275753ff057 100644 --- a/crates/tauri/Cargo.toml +++ b/crates/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "2.4.1" +version = "2.5.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.5.1", path = "../tauri-runtime" } -tauri-macros = { version = "2.1.1", path = "../tauri-macros" } -tauri-utils = { version = "2.3.1", features = [ +tauri-runtime = { version = "2.6.0", path = "../tauri-runtime" } +tauri-macros = { version = "2.2.0", path = "../tauri-macros" } +tauri-utils = { version = "2.4.0", features = [ "resources", ], path = "../tauri-utils" } -tauri-runtime-wry = { version = "2.5.1", path = "../tauri-runtime-wry", optional = true } +tauri-runtime-wry = { version = "2.6.0", path = "../tauri-runtime-wry", optional = true } getrandom = "0.2" serde_repr = "0.1" http = "1" @@ -155,8 +155,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.1.1" } -tauri-utils = { path = "../tauri-utils/", version = "2.3.1", features = [ +tauri-build = { path = "../tauri-build/", default-features = false, version = "2.2.0" } +tauri-utils = { path = "../tauri-utils/", version = "2.4.0", features = [ "build", ] } diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 1536ed78971a..4b6caa3d33f3 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## \[2.5.0] + +### New Features + +- [`66e6325f4`](https://www.github.com/tauri-apps/tauri/commit/66e6325f43efa49ec2165c45afec911a1a14ecfb) ([#13136](https://www.github.com/tauri-apps/tauri/pull/13136)) Allow passing the callback as the parameter of constructor of `Channel` so you can use it like this `new Channel((message) => console.log(message))` +- [`ea36294cb`](https://www.github.com/tauri-apps/tauri/commit/ea36294cbca98f7725c91d1464fd92e77c89698a) ([#13208](https://www.github.com/tauri-apps/tauri/pull/13208)) Added `disableInputAccessoryView: bool` config for iOS. +- [`c1cd0a2dd`](https://www.github.com/tauri-apps/tauri/commit/c1cd0a2ddb5bc3e99451cbe399b5fc9f0035f571) ([#13090](https://www.github.com/tauri-apps/tauri/pull/13090)) macOS/iOS: add option to disable or enable link previews when building a webview (the webkit api has it enabled by default) + + - `WindowOptions::allowLinkPreview` + - `WebviewOptions::allowLinkPreview` +- [`b072e2b29`](https://www.github.com/tauri-apps/tauri/commit/b072e2b2967640ae4fa1af466ae878c156551edd) ([#9687](https://www.github.com/tauri-apps/tauri/pull/9687)) Add `preventOverflow` config option to prevent the window from overflowing the monitor size on creation +- [`dd4f13ce4`](https://www.github.com/tauri-apps/tauri/commit/dd4f13ce4b3cd89cde2fa3f18a063c272f215621) ([#13185](https://www.github.com/tauri-apps/tauri/pull/13185)) Added `app.setDockVisibility` for macOS. + +### Enhancements + +- [`b8f86669a`](https://www.github.com/tauri-apps/tauri/commit/b8f86669ab05f7dbdd15839a20999e63dc43bda6) ([#13145](https://www.github.com/tauri-apps/tauri/pull/13145)) `core.isTauri` now leverages `globalThis` instead of `window` in order to be used in unit tests. + +### Bug Fixes + +- [`66e6325f4`](https://www.github.com/tauri-apps/tauri/commit/66e6325f43efa49ec2165c45afec911a1a14ecfb) ([#13136](https://www.github.com/tauri-apps/tauri/pull/13136)) Fix `Channel`'s callback attached to `window` never cleaned up + ## \[2.4.1] ### Enhancements diff --git a/packages/api/package.json b/packages/api/package.json index 58fb11b38b7b..6243dc30dd29 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "2.4.1", + "version": "2.5.0", "description": "Tauri API definitions", "funding": { "type": "opencollective", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index e924b0a5dfed..d82185bba804 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## \[2.5.0] + +### New Features + +- [`0aa48fb9e`](https://www.github.com/tauri-apps/tauri/commit/0aa48fb9e4b9d7b5bf3522000a76ebc1836394ed) ([#13030](https://www.github.com/tauri-apps/tauri/pull/13030)) Added `bundleVersion` to iOS and macOS configuration to support specifying a `CFBundleVersion`. + +### Enhancements + +- [`ad3fd3890`](https://www.github.com/tauri-apps/tauri/commit/ad3fd3890f1fa26a9f9be04ff1bc156d6dd2a8bc) ([#13152](https://www.github.com/tauri-apps/tauri/pull/13152)) Detect package manager from environment variable `npm_config_user_agent` first +- [`82406c61e`](https://www.github.com/tauri-apps/tauri/commit/82406c61e0fbb775ef00791ccab45349325bdd45) ([#13231](https://www.github.com/tauri-apps/tauri/pull/13231)) Improve iOS simulator usage, checking if Xcode iOS SDK is installed and allowing usage of Simulator for older iOS releases (previously only supported when running on Xcode via `ios dev --open`). + +### Bug Fixes + +- [`2dccfab53`](https://www.github.com/tauri-apps/tauri/commit/2dccfab5321fef55d45f3a4c674b6151b1c4424a) ([#13236](https://www.github.com/tauri-apps/tauri/pull/13236)) Fix `fileAssociations` missing `LSHandlerRank` on macOS. +- [`080252903`](https://www.github.com/tauri-apps/tauri/commit/0802529031c4fd309edff374a8694e93ddec161d) ([#13210](https://www.github.com/tauri-apps/tauri/pull/13210)) Fixes iOS dev not working on Xcode 16.3 simulators. To apply the fix, either regenerate the Xcode project with `rm -r src-tauri/gen/apple && tauri ios init` or remove the `arm64-sim` architecture from the Xcode project. + +### Dependencies + +- Upgraded to `tauri-cli@2.5.0` + ## \[2.4.1] ### Enhancements diff --git a/packages/cli/package.json b/packages/cli/package.json index 1a534d20b8e9..bb28684720a1 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "2.4.1", + "version": "2.5.0", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective",