diff --git a/.changes/android-video-dir.md b/.changes/android-video-dir.md deleted file mode 100644 index 31aff2fa4404..000000000000 --- a/.changes/android-video-dir.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -tauri: minor:breaking ---- - -On Android, `$VIDEO` and `video_dir()` now resolve to the app-specific Movies directory instead of external cache storage. - -**Migration:** Files previously written to the old location (`.../cache`) will not be discovered at the new location (`.../files/Movies`). Migrate existing files or update path assumptions accordingly. diff --git a/.changes/bundle-vc-runtime.md b/.changes/bundle-vc-runtime.md deleted file mode 100644 index 97291e2b0313..000000000000 --- a/.changes/bundle-vc-runtime.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri-bundler": "minor:feat" -"tauri-cli": "minor:feat" -"@tauri-apps/cli": "minor:feat" -"tauri-utils": "minor:feat" ---- - -Added `bundle.windows.bundleVCRuntime` to copy the Visual C++ runtime DLLs into Windows MSI and NSIS installers. The bundler locates the runtime through `VCTOOLS_REDIST_DIR` or the bundled `vswhere.exe`. diff --git a/.changes/bundler-breaking-changes.md b/.changes/bundler-breaking-changes.md deleted file mode 100644 index dba5f2becdce..000000000000 --- a/.changes/bundler-breaking-changes.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri-bundler: patch:deps ---- - -**Breaking Change:** Updated various dependencies and removed `goblin`. Some of these dependencies are part of the public API which makes this a breaking change. Added a warning about `tauri-bundler`'s API stability in reflection to past regular breaking struct changes. diff --git a/.changes/cargo-toml-1.md b/.changes/cargo-toml-1.md deleted file mode 100644 index 11fc6f1fce32..000000000000 --- a/.changes/cargo-toml-1.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -tauri: patch:deps -tauri-build: patch:deps ---- - -Updated `cargo_toml` crate to `1` diff --git a/.changes/change-pr-15578.md b/.changes/change-pr-15578.md deleted file mode 100644 index 21d45a2c741f..000000000000 --- a/.changes/change-pr-15578.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:enhance ---- - -`State` had `Send` and `Sync` trait bounds that were already implied, remove them from the struct definition. diff --git a/.changes/change-pr-15593.md b/.changes/change-pr-15593.md deleted file mode 100644 index 712620a4fb1f..000000000000 --- a/.changes/change-pr-15593.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-macos-sign": patch:deps ---- - -Updated dependency `apple-codesign` to `0.29`, no user facing changes. diff --git a/.changes/change-pr-15677.md b/.changes/change-pr-15677.md deleted file mode 100644 index 46399a3c8fe5..000000000000 --- a/.changes/change-pr-15677.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-utils": patch:deps ---- - -Update `serial_test` to 3.5 to pull in the updated `scc` and fix RUSTSEC advisory diff --git a/.changes/ctor-1.md b/.changes/ctor-1.md deleted file mode 100644 index c7ad9e6662bc..000000000000 --- a/.changes/ctor-1.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri-utils: patch:deps ---- - -Updated `ctor` crate to `1` diff --git a/.changes/dpi-type-wrappers.md b/.changes/dpi-type-wrappers.md deleted file mode 100644 index 93b0c1875f4e..000000000000 --- a/.changes/dpi-type-wrappers.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime-wry": "minor:breaking" ---- - -Removed unused dpi wrapper types like `PhysicalPositionWrapper` diff --git a/.changes/fix-js-listeners-leak-on-webview-close.md b/.changes/fix-js-listeners-leak-on-webview-close.md deleted file mode 100644 index dbe95ba97df0..000000000000 --- a/.changes/fix-js-listeners-leak-on-webview-close.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:bug' ---- - -Remove a webview's JS event listeners from the backend `Listeners` map when that webview is destroyed. Previously the entries keyed by the source webview label lingered after the webview was dropped, so they could never be delivered and leaked until the app exited — forcing apps to manually `unlisten()` before closing a window. diff --git a/.changes/fix-objc-retain-leak.md b/.changes/fix-objc-retain-leak.md deleted file mode 100644 index d24a6169038a..000000000000 --- a/.changes/fix-objc-retain-leak.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": patch:bug -"tauri-runtime-wry": patch:bug ---- - -Avoid leaking Objective-C objects in `WebviewMessage::WithWebview` on Apple targets by replacing `Retained::into_raw` with scoped retained bindings and `Retained::as_ptr` pointer handoff. diff --git a/.changes/fix-send-sync.md b/.changes/fix-send-sync.md deleted file mode 100644 index 200a6f4bd830..000000000000 --- a/.changes/fix-send-sync.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime-wry": minor:breaking ---- - -`WindowsStore` and `DispatcherMainThreadContext` are no longer `Send` and `Sync`, and unsafe impl has been moved to `Context` directly. diff --git a/.changes/fix-wix-external-bin-id.md b/.changes/fix-wix-external-bin-id.md deleted file mode 100644 index 2a9edd1a71f1..000000000000 --- a/.changes/fix-wix-external-bin-id.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-bundler": patch:bug -"tauri-cli": patch:bug -"@tauri-apps/cli": patch:bug ---- - -Fix MSI bundling when an external binary filename starts with a digit. diff --git a/.changes/mock-runtime-run-main-thread-deadlock.md b/.changes/mock-runtime-run-main-thread-deadlock.md deleted file mode 100644 index e031486fcc4e..000000000000 --- a/.changes/mock-runtime-run-main-thread-deadlock.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri: patch:bug ---- - -Fix `run_main_thread!` macro used by things like `MenuItem` and some other APIs deadlock when called on main thread with `MockRuntime` diff --git a/.changes/msrv-1.90.md b/.changes/msrv-1.90.md deleted file mode 100644 index af2f2477a001..000000000000 --- a/.changes/msrv-1.90.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"tauri": minor:changes -"tauri-utils": minor:changes -"tauri-runtime": minor:changes -"tauri-runtime-wry": minor:changes -"tauri-codegen": minor:changes -"tauri-macros": minor:changes -"tauri-plugin": minor:changes -"tauri-build": minor:changes -"tauri-cli": minor:changes -"tauri-macos-sign": minor:changes -"tauri-bundler": minor:changes -"tauri-driver": minor:changes ---- - -Set MSRV to 1.90. diff --git a/.changes/no-redirection-bitmap-api.md b/.changes/no-redirection-bitmap-api.md deleted file mode 100644 index 23aa252d9077..000000000000 --- a/.changes/no-redirection-bitmap-api.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tauri-apps/api': 'minor:feat' ---- - -Added `noRedirectionBitmap` option to the `Window` and `WebviewWindow` constructors on Windows. diff --git a/.changes/no-redirection-bitmap-config.md b/.changes/no-redirection-bitmap-config.md deleted file mode 100644 index 5264ba4c31a0..000000000000 --- a/.changes/no-redirection-bitmap-config.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'tauri': 'minor:feat' -'tauri-utils': 'minor:feat' ---- - -Added `app > windows > noRedirectionBitmap` config option to disable the window redirection bitmap on Windows. diff --git a/.changes/no-redirection-bitmap.md b/.changes/no-redirection-bitmap.md deleted file mode 100644 index 230cb4b4878c..000000000000 --- a/.changes/no-redirection-bitmap.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'tauri': 'minor:feat' -'tauri-runtime': 'minor:feat' -'tauri-runtime-wry': 'minor:feat' ---- - -Added `WindowBuilder/WebviewWindowBuilder::no_redirection_bitmap` method to disable the window redirection bitmap on Windows. diff --git a/.changes/runtime-wry-avoid-clones.md b/.changes/runtime-wry-avoid-clones.md deleted file mode 100644 index afa03acab1f4..000000000000 --- a/.changes/runtime-wry-avoid-clones.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime-wry": "minor:changes" ---- - -`EventLoopIterationContext` and `UserMessageContext` now takes references to avoid clones diff --git a/.changes/static-vc-runtime.md b/.changes/static-vc-runtime.md deleted file mode 100644 index 3bed5b70f7b1..000000000000 --- a/.changes/static-vc-runtime.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-cli": "minor:feat" -"@tauri-apps/cli": "minor:feat" -"tauri-utils": "minor:feat" ---- - -Added `build.windows.staticVCRuntime` to control MSVC static runtime linking. The `STATIC_VCRUNTIME` environment variable is now deprecated and emits a migration warning when used. diff --git a/.changes/tauri-build-static-vc-runtime.md b/.changes/tauri-build-static-vc-runtime.md deleted file mode 100644 index 98f0d0517137..000000000000 --- a/.changes/tauri-build-static-vc-runtime.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-build": "minor:feat" ---- - -Added `tauri_build::WindowsAttributes::static_vc_runtime` to control MSVC static runtime linking from build scripts. diff --git a/.changes/wait-async-window-creation.md b/.changes/wait-async-window-creation.md deleted file mode 100644 index f1d5252fe45c..000000000000 --- a/.changes/wait-async-window-creation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime-wry": patch:bug ---- - -`create_window` and `create_webview` should wait for the window creation to complete before returning even if it's off main thread, it should also return the error if it failed diff --git a/Cargo.lock b/Cargo.lock index 8f2823918ae4..db7666b333d3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1370,7 +1370,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]] @@ -1379,7 +1379,7 @@ version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "faf9468729b8cbcea668e36183cb69d317348c2e08e994829fb56ebfdfbaac34" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.48.0", ] [[package]] @@ -5534,7 +5534,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.48.0", ] [[package]] @@ -8833,7 +8833,7 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tauri" -version = "2.11.5" +version = "2.12.0" dependencies = [ "anyhow", "bytes", @@ -8894,7 +8894,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.6.3" +version = "2.7.0" dependencies = [ "anyhow", "cargo_toml", @@ -8915,7 +8915,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "2.9.4" +version = "2.10.0" dependencies = [ "anyhow", "ar", @@ -8960,7 +8960,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "2.11.4" +version = "2.12.0" dependencies = [ "ar", "axum", @@ -9052,7 +9052,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.6.3" +version = "2.7.0" dependencies = [ "base64 0.22.1", "brotli", @@ -9077,7 +9077,7 @@ dependencies = [ [[package]] name = "tauri-driver" -version = "2.0.6" +version = "2.1.0" dependencies = [ "anyhow", "futures", @@ -9118,7 +9118,7 @@ dependencies = [ [[package]] name = "tauri-macos-sign" -version = "2.3.4" +version = "2.4.0" dependencies = [ "apple-codesign", "base64 0.22.1", @@ -9140,7 +9140,7 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.6.3" +version = "2.7.0" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -9152,7 +9152,7 @@ dependencies = [ [[package]] name = "tauri-plugin" -version = "2.6.3" +version = "2.7.0" dependencies = [ "anyhow", "glob", @@ -9199,7 +9199,7 @@ dependencies = [ [[package]] name = "tauri-runtime" -version = "2.11.3" +version = "2.12.0" dependencies = [ "cookie", "dpi", @@ -9222,7 +9222,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "2.11.4" +version = "2.12.0" dependencies = [ "gtk", "http", @@ -9272,7 +9272,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.9.3" +version = "2.10.0" dependencies = [ "aes-gcm", "anyhow", @@ -10616,7 +10616,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 b74efdd6bf78..fb5133ed5efe 100644 --- a/crates/tauri-build/CHANGELOG.md +++ b/crates/tauri-build/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## \[2.7.0] + +### New Features + +- [`f6c1eb253`](https://www.github.com/tauri-apps/tauri/commit/f6c1eb2533a0445e081c334931d67fee3e354c6f) ([#15401](https://www.github.com/tauri-apps/tauri/pull/15401) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Added `tauri_build::WindowsAttributes::static_vc_runtime` to control MSVC static runtime linking from build scripts. + +### What's Changed + +- [`1cffb01da`](https://www.github.com/tauri-apps/tauri/commit/1cffb01da55f5fcd5a0f74ef3281b5a715513e4d) ([#13221](https://www.github.com/tauri-apps/tauri/pull/13221) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Set MSRV to 1.90. + +### Dependencies + +- Upgraded to `tauri-utils@2.10.0` +- Upgraded to `tauri-codegen@2.7.0` +- [`2bb4fdbd0`](https://www.github.com/tauri-apps/tauri/commit/2bb4fdbd0252ca414e28bdc9f0284ac4ff108f26) ([#15592](https://www.github.com/tauri-apps/tauri/pull/15592) by [@renovate](https://www.github.com/tauri-apps/tauri/../../renovate)) Updated `cargo_toml` crate to `1` + ## \[2.6.3] ### Dependencies diff --git a/crates/tauri-build/Cargo.toml b/crates/tauri-build/Cargo.toml index b73a7f070606..cd374a34b033 100644 --- a/crates/tauri-build/Cargo.toml +++ b/crates/tauri-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-build" -version = "2.6.3" +version = "2.7.0" description = "build time code to pair with https://crates.io/crates/tauri" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -26,8 +26,8 @@ targets = [ [dependencies] anyhow = "1" quote = { version = "1", optional = true } -tauri-codegen = { version = "2.6.3", path = "../tauri-codegen", optional = true } -tauri-utils = { version = "2.9.3", path = "../tauri-utils", features = [ +tauri-codegen = { version = "2.7.0", path = "../tauri-codegen", optional = true } +tauri-utils = { version = "2.10.0", path = "../tauri-utils", features = [ "build-2", "resources", ] } diff --git a/crates/tauri-bundler/CHANGELOG.md b/crates/tauri-bundler/CHANGELOG.md index f5f684639198..2faf61d23975 100644 --- a/crates/tauri-bundler/CHANGELOG.md +++ b/crates/tauri-bundler/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## \[2.10.0] + +### New Features + +- [`f6c1eb253`](https://www.github.com/tauri-apps/tauri/commit/f6c1eb2533a0445e081c334931d67fee3e354c6f) ([#15401](https://www.github.com/tauri-apps/tauri/pull/15401) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Added `bundle.windows.bundleVCRuntime` to copy the Visual C++ runtime DLLs into Windows MSI and NSIS installers. The bundler locates the runtime through `VCTOOLS_REDIST_DIR` or the bundled `vswhere.exe`. + +### Bug Fixes + +- [`adf5acf6f`](https://www.github.com/tauri-apps/tauri/commit/adf5acf6fbc0ef26de6b1eb30c47bb701c256954) ([#15651](https://www.github.com/tauri-apps/tauri/pull/15651) by [@justjavac](https://www.github.com/tauri-apps/tauri/../../justjavac)) Fix MSI bundling when an external binary filename starts with a digit. + +### What's Changed + +- [`1cffb01da`](https://www.github.com/tauri-apps/tauri/commit/1cffb01da55f5fcd5a0f74ef3281b5a715513e4d) ([#13221](https://www.github.com/tauri-apps/tauri/pull/13221) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Set MSRV to 1.90. + +### Dependencies + +- Upgraded to `tauri-utils@2.10.0` +- Upgraded to `tauri-macos-sign@2.4.0` +- [`7632efd09`](https://www.github.com/tauri-apps/tauri/commit/7632efd09ffb9eddafefd8d04e311565394efce9) ([#15641](https://www.github.com/tauri-apps/tauri/pull/15641) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) **Breaking Change:** Updated various dependencies and removed `goblin`. Some of these dependencies are part of the public API which makes this a breaking change. Added a warning about `tauri-bundler`'s API stability in reflection to past regular breaking struct changes. + ## \[2.9.4] ### Bug Fixes diff --git a/crates/tauri-bundler/Cargo.toml b/crates/tauri-bundler/Cargo.toml index 4d3255875587..700429bf2204 100644 --- a/crates/tauri-bundler/Cargo.toml +++ b/crates/tauri-bundler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-bundler" -version = "2.9.4" +version = "2.10.0" authors = [ "George Burton ", "Tauri Programme within The Commons Conservancy", @@ -15,7 +15,7 @@ rust-version = "1.90" exclude = ["CHANGELOG.md", "/target", "rustfmt.toml"] [dependencies] -tauri-utils = { version = "2.9.3", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.10.0", path = "../tauri-utils", features = [ "resources", ] } image = "0.25" @@ -57,7 +57,7 @@ features = ["Win32_System_SystemInformation", "Win32_System_Diagnostics_Debug"] [target."cfg(target_os = \"macos\")".dependencies] icns = { package = "tauri-icns", version = "0.1" } time = { version = "0.3", features = ["formatting"] } -tauri-macos-sign = { version = "2.3.4", path = "../tauri-macos-sign" } +tauri-macos-sign = { version = "2.4.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 2860b0dadba8..d882769789d8 100644 --- a/crates/tauri-cli/CHANGELOG.md +++ b/crates/tauri-cli/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## \[2.12.0] + +### New Features + +- [`f6c1eb253`](https://www.github.com/tauri-apps/tauri/commit/f6c1eb2533a0445e081c334931d67fee3e354c6f) ([#15401](https://www.github.com/tauri-apps/tauri/pull/15401) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Added `bundle.windows.bundleVCRuntime` to copy the Visual C++ runtime DLLs into Windows MSI and NSIS installers. The bundler locates the runtime through `VCTOOLS_REDIST_DIR` or the bundled `vswhere.exe`. +- [`f6c1eb253`](https://www.github.com/tauri-apps/tauri/commit/f6c1eb2533a0445e081c334931d67fee3e354c6f) ([#15401](https://www.github.com/tauri-apps/tauri/pull/15401) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Added `build.windows.staticVCRuntime` to control MSVC static runtime linking. The `STATIC_VCRUNTIME` environment variable is now deprecated and emits a migration warning when used. + +### Bug Fixes + +- [`adf5acf6f`](https://www.github.com/tauri-apps/tauri/commit/adf5acf6fbc0ef26de6b1eb30c47bb701c256954) ([#15651](https://www.github.com/tauri-apps/tauri/pull/15651) by [@justjavac](https://www.github.com/tauri-apps/tauri/../../justjavac)) Fix MSI bundling when an external binary filename starts with a digit. + +### What's Changed + +- [`1cffb01da`](https://www.github.com/tauri-apps/tauri/commit/1cffb01da55f5fcd5a0f74ef3281b5a715513e4d) ([#13221](https://www.github.com/tauri-apps/tauri/pull/13221) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Set MSRV to 1.90. + +### Dependencies + +- Upgraded to `tauri-bundler@2.10.0` +- Upgraded to `tauri-utils@2.10.0` +- Upgraded to `tauri-macos-sign@2.4.0` + ## \[2.11.4] ### Bug Fixes diff --git a/crates/tauri-cli/Cargo.toml b/crates/tauri-cli/Cargo.toml index 2d6085777f32..46c94ddeaf50 100644 --- a/crates/tauri-cli/Cargo.toml +++ b/crates/tauri-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-cli" -version = "2.11.4" +version = "2.12.0" authors = ["Tauri Programme within The Commons Conservancy"] edition = "2021" rust-version = "1.90" @@ -47,7 +47,7 @@ sublime_fuzzy = "0.7" clap_complete = "4" clap = { version = "4", features = ["derive", "env"] } thiserror = "2" -tauri-bundler = { version = "2.9.4", default-features = false, path = "../tauri-bundler" } +tauri-bundler = { version = "2.10.0", default-features = false, path = "../tauri-bundler" } colored = "3" serde = { version = "1", features = ["derive"] } serde_json = { version = "1", features = ["preserve_order"] } @@ -59,7 +59,7 @@ shared_child = "1" duct = "1.0" toml_edit = { version = "0.25", features = ["serde"] } json-patch = "4" -tauri-utils = { version = "2.9.3", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.10.0", path = "../tauri-utils", features = [ "isolation", "schema", "config-json5", @@ -134,7 +134,7 @@ libc = "0.2" [target."cfg(target_os = \"macos\")".dependencies] plist = "1" -tauri-macos-sign = { version = "2.3.4", path = "../tauri-macos-sign" } +tauri-macos-sign = { version = "2.4.0", path = "../tauri-macos-sign" } object = { version = "0.39", default-features = false, features = [ "macho", "read_core", diff --git a/crates/tauri-cli/config.schema.json b/crates/tauri-cli/config.schema.json index 83e3f88a3d0e..3fcc0123f687 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.11.5", + "$id": "https://schema.tauri.app/config/2.12.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 77f48d960760..e577ba8595b5 100644 --- a/crates/tauri-cli/metadata-v2.json +++ b/crates/tauri-cli/metadata-v2.json @@ -1,9 +1,9 @@ { "cli.js": { - "version": "2.11.4", + "version": "2.12.0", "node": ">= 10.0.0" }, - "tauri": "2.11.5", - "tauri-build": "2.6.3", - "tauri-plugin": "2.6.3" + "tauri": "2.12.0", + "tauri-build": "2.7.0", + "tauri-plugin": "2.7.0" } diff --git a/crates/tauri-codegen/CHANGELOG.md b/crates/tauri-codegen/CHANGELOG.md index 34118aaa4d9d..8a6c0b5c462d 100644 --- a/crates/tauri-codegen/CHANGELOG.md +++ b/crates/tauri-codegen/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.7.0] + +### What's Changed + +- [`1cffb01da`](https://www.github.com/tauri-apps/tauri/commit/1cffb01da55f5fcd5a0f74ef3281b5a715513e4d) ([#13221](https://www.github.com/tauri-apps/tauri/pull/13221) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Set MSRV to 1.90. + +### Dependencies + +- Upgraded to `tauri-utils@2.10.0` + ## \[2.6.3] ### Dependencies diff --git a/crates/tauri-codegen/Cargo.toml b/crates/tauri-codegen/Cargo.toml index 2f3ae4febe2f..e7e33cdd3a99 100644 --- a/crates/tauri-codegen/Cargo.toml +++ b/crates/tauri-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-codegen" -version = "2.6.3" +version = "2.7.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.9.3", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.10.0", path = "../tauri-utils", features = [ "build-2", ] } thiserror = "2" diff --git a/crates/tauri-driver/CHANGELOG.md b/crates/tauri-driver/CHANGELOG.md index fd67ede86919..ff54ecd59819 100644 --- a/crates/tauri-driver/CHANGELOG.md +++ b/crates/tauri-driver/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.1.0] + +### What's Changed + +- [`1cffb01da`](https://www.github.com/tauri-apps/tauri/commit/1cffb01da55f5fcd5a0f74ef3281b5a715513e4d) ([#13221](https://www.github.com/tauri-apps/tauri/pull/13221) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Set MSRV to 1.90. + ## \[2.0.6] ### What's Changed diff --git a/crates/tauri-driver/Cargo.toml b/crates/tauri-driver/Cargo.toml index 66eb25962189..cfe8f6bd0fc2 100644 --- a/crates/tauri-driver/Cargo.toml +++ b/crates/tauri-driver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-driver" -version = "2.0.6" +version = "2.1.0" authors = ["Tauri Programme within The Commons Conservancy"] categories = ["gui", "web-programming"] license = "Apache-2.0 OR MIT" diff --git a/crates/tauri-macos-sign/CHANGELOG.md b/crates/tauri-macos-sign/CHANGELOG.md index 9502ef75c3bb..f915a36b1e36 100644 --- a/crates/tauri-macos-sign/CHANGELOG.md +++ b/crates/tauri-macos-sign/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.4.0] + +### What's Changed + +- [`1cffb01da`](https://www.github.com/tauri-apps/tauri/commit/1cffb01da55f5fcd5a0f74ef3281b5a715513e4d) ([#13221](https://www.github.com/tauri-apps/tauri/pull/13221) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Set MSRV to 1.90. + +### Dependencies + +- [`6f1f9da69`](https://www.github.com/tauri-apps/tauri/commit/6f1f9da69ae58f90b9ad56430d981d58f4690734) ([#15593](https://www.github.com/tauri-apps/tauri/pull/15593) by [@sftse](https://www.github.com/tauri-apps/tauri/../../sftse)) Updated dependency `apple-codesign` to `0.29`, no user facing changes. + ## \[2.3.4] ### Enhancements diff --git a/crates/tauri-macos-sign/Cargo.toml b/crates/tauri-macos-sign/Cargo.toml index 24a9c66abaf1..d832ef5ce140 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.3.4" +version = "2.4.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 767e776ee6cb..594b2ba9f09f 100644 --- a/crates/tauri-macros/CHANGELOG.md +++ b/crates/tauri-macros/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[2.7.0] + +### What's Changed + +- [`1cffb01da`](https://www.github.com/tauri-apps/tauri/commit/1cffb01da55f5fcd5a0f74ef3281b5a715513e4d) ([#13221](https://www.github.com/tauri-apps/tauri/pull/13221) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Set MSRV to 1.90. + +### Dependencies + +- Upgraded to `tauri-utils@2.10.0` +- Upgraded to `tauri-codegen@2.7.0` + ## \[2.6.3] ### Dependencies diff --git a/crates/tauri-macros/Cargo.toml b/crates/tauri-macros/Cargo.toml index 860892a5b32b..e6624022e7f5 100644 --- a/crates/tauri-macros/Cargo.toml +++ b/crates/tauri-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-macros" -version = "2.6.3" +version = "2.7.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.6.3", default-features = false, path = "../tauri-codegen" } -tauri-utils = { version = "2.9.3", path = "../tauri-utils" } +tauri-codegen = { version = "2.7.0", default-features = false, path = "../tauri-codegen" } +tauri-utils = { version = "2.10.0", path = "../tauri-utils" } [features] custom-protocol = [] diff --git a/crates/tauri-plugin/CHANGELOG.md b/crates/tauri-plugin/CHANGELOG.md index 1a289a3ff881..1827c175d12a 100644 --- a/crates/tauri-plugin/CHANGELOG.md +++ b/crates/tauri-plugin/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.7.0] + +### What's Changed + +- [`1cffb01da`](https://www.github.com/tauri-apps/tauri/commit/1cffb01da55f5fcd5a0f74ef3281b5a715513e4d) ([#13221](https://www.github.com/tauri-apps/tauri/pull/13221) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Set MSRV to 1.90. + +### Dependencies + +- Upgraded to `tauri-utils@2.10.0` + ## \[2.6.3] ### Dependencies diff --git a/crates/tauri-plugin/Cargo.toml b/crates/tauri-plugin/Cargo.toml index 9e048ce1eb24..17f8c9b8e56e 100644 --- a/crates/tauri-plugin/Cargo.toml +++ b/crates/tauri-plugin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin" -version = "2.6.3" +version = "2.7.0" description = "Build script and runtime Tauri plugin definitions" authors.workspace = true homepage.workspace = true @@ -27,7 +27,7 @@ runtime = [] [dependencies] anyhow = { version = "1", optional = true } serde = { version = "1", optional = true } -tauri-utils = { version = "2.9.3", default-features = false, features = [ +tauri-utils = { version = "2.10.0", default-features = false, features = [ "build-2", ], 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 fbb2e1a8450b..8d707c099a19 100644 --- a/crates/tauri-runtime-wry/CHANGELOG.md +++ b/crates/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## \[2.12.0] + +### New Features + +- [`29265557c`](https://www.github.com/tauri-apps/tauri/commit/29265557c7a42ef6a1f982e0ef738208df1f6dd3) ([#15410](https://www.github.com/tauri-apps/tauri/pull/15410) by [@zetaloop](https://www.github.com/tauri-apps/tauri/../../zetaloop)) Added `WindowBuilder/WebviewWindowBuilder::no_redirection_bitmap` method to disable the window redirection bitmap on Windows. + +### Bug Fixes + +- [`a370f6533`](https://www.github.com/tauri-apps/tauri/commit/a370f653330506c2a5f59b643645a15b4cc30c18) ([#15224](https://www.github.com/tauri-apps/tauri/pull/15224) by [@krishpranav](https://www.github.com/tauri-apps/tauri/../../krishpranav)) Avoid leaking Objective-C objects in `WebviewMessage::WithWebview` on Apple targets by replacing `Retained::into_raw` with scoped retained bindings and `Retained::as_ptr` pointer handoff. +- [`1c573a075`](https://www.github.com/tauri-apps/tauri/commit/1c573a075a4e6d0754687d5ecfe7ded4c3d9e74d) ([#15508](https://www.github.com/tauri-apps/tauri/pull/15508) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) `create_window` and `create_webview` should wait for the window creation to complete before returning even if it's off main thread, it should also return the error if it failed + +### What's Changed + +- [`1cffb01da`](https://www.github.com/tauri-apps/tauri/commit/1cffb01da55f5fcd5a0f74ef3281b5a715513e4d) ([#13221](https://www.github.com/tauri-apps/tauri/pull/13221) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Set MSRV to 1.90. +- [`7fd603542`](https://www.github.com/tauri-apps/tauri/commit/7fd603542134fed792514a392af828555859c5d6) ([#15413](https://www.github.com/tauri-apps/tauri/pull/15413) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) `EventLoopIterationContext` and `UserMessageContext` now takes references to avoid clones + +### Dependencies + +- Upgraded to `tauri-utils@2.10.0` +- Upgraded to `tauri-runtime@2.12.0` + +### Breaking Changes + +- [`24cb6de2d`](https://www.github.com/tauri-apps/tauri/commit/24cb6de2d4fe4d350afce2fd852dcdcc6a1320f0) ([#15544](https://www.github.com/tauri-apps/tauri/pull/15544) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Removed unused dpi wrapper types like `PhysicalPositionWrapper` +- [`579c7e2d2`](https://www.github.com/tauri-apps/tauri/commit/579c7e2d2f97182fcd933ca560ee810261322d60) ([#14805](https://www.github.com/tauri-apps/tauri/pull/14805) by [@sftse](https://www.github.com/tauri-apps/tauri/../../sftse)) `WindowsStore` and `DispatcherMainThreadContext` are no longer `Send` and `Sync`, and unsafe impl has been moved to `Context` directly. + ## \[2.11.4] ### Bug Fixes diff --git a/crates/tauri-runtime-wry/Cargo.toml b/crates/tauri-runtime-wry/Cargo.toml index 7c576dea5ec2..1968349dcc79 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.11.4" +version = "2.12.0" description = "Wry bindings to the Tauri runtime" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -19,8 +19,8 @@ wry = { version = "0.55.0", default-features = false, features = [ "linux-body", ] } tao = { version = "0.35.0", default-features = false, features = ["rwh_06"] } -tauri-runtime = { version = "2.11.3", path = "../tauri-runtime" } -tauri-utils = { version = "2.9.3", path = "../tauri-utils" } +tauri-runtime = { version = "2.12.0", path = "../tauri-runtime" } +tauri-utils = { version = "2.10.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 b719f44f670b..e4a6269c1e24 100644 --- a/crates/tauri-runtime/CHANGELOG.md +++ b/crates/tauri-runtime/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## \[2.12.0] + +### New Features + +- [`29265557c`](https://www.github.com/tauri-apps/tauri/commit/29265557c7a42ef6a1f982e0ef738208df1f6dd3) ([#15410](https://www.github.com/tauri-apps/tauri/pull/15410) by [@zetaloop](https://www.github.com/tauri-apps/tauri/../../zetaloop)) Added `WindowBuilder/WebviewWindowBuilder::no_redirection_bitmap` method to disable the window redirection bitmap on Windows. + +### What's Changed + +- [`1cffb01da`](https://www.github.com/tauri-apps/tauri/commit/1cffb01da55f5fcd5a0f74ef3281b5a715513e4d) ([#13221](https://www.github.com/tauri-apps/tauri/pull/13221) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Set MSRV to 1.90. + +### Dependencies + +- Upgraded to `tauri-utils@2.10.0` + ## \[2.11.3] ### Dependencies diff --git a/crates/tauri-runtime/Cargo.toml b/crates/tauri-runtime/Cargo.toml index c2c54cccc519..2aef5cf3edbd 100644 --- a/crates/tauri-runtime/Cargo.toml +++ b/crates/tauri-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime" -version = "2.11.3" +version = "2.12.0" description = "Runtime for Tauri applications" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -27,7 +27,7 @@ targets = [ serde = { version = "1", features = ["derive"] } serde_json = "1" thiserror = "2" -tauri-utils = { version = "2.9.3", path = "../tauri-utils" } +tauri-utils = { version = "2.10.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 83e3f88a3d0e..3fcc0123f687 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.11.5", + "$id": "https://schema.tauri.app/config/2.12.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 0a4122486b22..05d103342f1e 100644 --- a/crates/tauri-utils/CHANGELOG.md +++ b/crates/tauri-utils/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## \[2.10.0] + +### New Features + +- [`f6c1eb253`](https://www.github.com/tauri-apps/tauri/commit/f6c1eb2533a0445e081c334931d67fee3e354c6f) ([#15401](https://www.github.com/tauri-apps/tauri/pull/15401) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Added `bundle.windows.bundleVCRuntime` to copy the Visual C++ runtime DLLs into Windows MSI and NSIS installers. The bundler locates the runtime through `VCTOOLS_REDIST_DIR` or the bundled `vswhere.exe`. +- [`29265557c`](https://www.github.com/tauri-apps/tauri/commit/29265557c7a42ef6a1f982e0ef738208df1f6dd3) ([#15410](https://www.github.com/tauri-apps/tauri/pull/15410) by [@zetaloop](https://www.github.com/tauri-apps/tauri/../../zetaloop)) Added `app > windows > noRedirectionBitmap` config option to disable the window redirection bitmap on Windows. +- [`f6c1eb253`](https://www.github.com/tauri-apps/tauri/commit/f6c1eb2533a0445e081c334931d67fee3e354c6f) ([#15401](https://www.github.com/tauri-apps/tauri/pull/15401) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Added `build.windows.staticVCRuntime` to control MSVC static runtime linking. The `STATIC_VCRUNTIME` environment variable is now deprecated and emits a migration warning when used. + +### What's Changed + +- [`1cffb01da`](https://www.github.com/tauri-apps/tauri/commit/1cffb01da55f5fcd5a0f74ef3281b5a715513e4d) ([#13221](https://www.github.com/tauri-apps/tauri/pull/13221) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Set MSRV to 1.90. + +### Dependencies + +- [`e9e6a5eef`](https://www.github.com/tauri-apps/tauri/commit/e9e6a5eefa8c09d5abed1f691cbc924d6f617947) ([#15677](https://www.github.com/tauri-apps/tauri/pull/15677) by [@sftse](https://www.github.com/tauri-apps/tauri/../../sftse)) Update `serial_test` to 3.5 to pull in the updated `scc` and fix RUSTSEC advisory +- [`8a97d387a`](https://www.github.com/tauri-apps/tauri/commit/8a97d387a3a1a52f7c501762517e294d8c94e119) ([#15352](https://www.github.com/tauri-apps/tauri/pull/15352) by [@renovate](https://www.github.com/tauri-apps/tauri/../../renovate)) Updated `ctor` crate to `1` + ## \[2.9.3] ### Enhancements diff --git a/crates/tauri-utils/Cargo.toml b/crates/tauri-utils/Cargo.toml index 5863f44bcdaf..5abc5e19fae7 100644 --- a/crates/tauri-utils/Cargo.toml +++ b/crates/tauri-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-utils" -version = "2.9.3" +version = "2.10.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 5f72ebae1375..47d04aba500f 100644 --- a/crates/tauri/CHANGELOG.md +++ b/crates/tauri/CHANGELOG.md @@ -1,5 +1,41 @@ # Changelog +## \[2.12.0] + +### New Features + +- [`29265557c`](https://www.github.com/tauri-apps/tauri/commit/29265557c7a42ef6a1f982e0ef738208df1f6dd3) ([#15410](https://www.github.com/tauri-apps/tauri/pull/15410) by [@zetaloop](https://www.github.com/tauri-apps/tauri/../../zetaloop)) Added `app > windows > noRedirectionBitmap` config option to disable the window redirection bitmap on Windows. +- [`29265557c`](https://www.github.com/tauri-apps/tauri/commit/29265557c7a42ef6a1f982e0ef738208df1f6dd3) ([#15410](https://www.github.com/tauri-apps/tauri/pull/15410) by [@zetaloop](https://www.github.com/tauri-apps/tauri/../../zetaloop)) Added `WindowBuilder/WebviewWindowBuilder::no_redirection_bitmap` method to disable the window redirection bitmap on Windows. + +### Enhancements + +- [`d3108ff9a`](https://www.github.com/tauri-apps/tauri/commit/d3108ff9a2b6c694f4cbe579d9a9c1d67917117f) ([#15578](https://www.github.com/tauri-apps/tauri/pull/15578) by [@sftse](https://www.github.com/tauri-apps/tauri/../../sftse)) `State` had `Send` and `Sync` trait bounds that were already implied, remove them from the struct definition. + +### Bug Fixes + +- [`4a0e1df18`](https://www.github.com/tauri-apps/tauri/commit/4a0e1df1829dab29cedc1164ff5e7fd1ce42e215) ([#15604](https://www.github.com/tauri-apps/tauri/pull/15604) by [@tenderdeve](https://www.github.com/tauri-apps/tauri/../../tenderdeve)) Remove a webview's JS event listeners from the backend `Listeners` map when that webview is destroyed. Previously the entries keyed by the source webview label lingered after the webview was dropped, so they could never be delivered and leaked until the app exited — forcing apps to manually `unlisten()` before closing a window. +- [`a370f6533`](https://www.github.com/tauri-apps/tauri/commit/a370f653330506c2a5f59b643645a15b4cc30c18) ([#15224](https://www.github.com/tauri-apps/tauri/pull/15224) by [@krishpranav](https://www.github.com/tauri-apps/tauri/../../krishpranav)) Avoid leaking Objective-C objects in `WebviewMessage::WithWebview` on Apple targets by replacing `Retained::into_raw` with scoped retained bindings and `Retained::as_ptr` pointer handoff. +- [`e517fa18e`](https://www.github.com/tauri-apps/tauri/commit/e517fa18ee45a451a60b681552547899d3e6a4b2) ([#15450](https://www.github.com/tauri-apps/tauri/pull/15450) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Fix `run_main_thread!` macro used by things like `MenuItem` and some other APIs deadlock when called on main thread with `MockRuntime` + +### What's Changed + +- [`1cffb01da`](https://www.github.com/tauri-apps/tauri/commit/1cffb01da55f5fcd5a0f74ef3281b5a715513e4d) ([#13221](https://www.github.com/tauri-apps/tauri/pull/13221) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Set MSRV to 1.90. + +### Dependencies + +- Upgraded to `tauri-utils@2.10.0` +- Upgraded to `tauri-build@2.7.0` +- Upgraded to `tauri-runtime-wry@2.12.0` +- Upgraded to `tauri-runtime@2.12.0` +- Upgraded to `tauri-macros@2.7.0` +- [`2bb4fdbd0`](https://www.github.com/tauri-apps/tauri/commit/2bb4fdbd0252ca414e28bdc9f0284ac4ff108f26) ([#15592](https://www.github.com/tauri-apps/tauri/pull/15592) by [@renovate](https://www.github.com/tauri-apps/tauri/../../renovate)) Updated `cargo_toml` crate to `1` + +### Breaking Changes + +- [`26cb3d665`](https://www.github.com/tauri-apps/tauri/commit/26cb3d665b881b44fa5cf95514776aee5c85c374) ([#15563](https://www.github.com/tauri-apps/tauri/pull/15563) by [@onehumandev](https://www.github.com/tauri-apps/tauri/../../onehumandev)) On Android, `$VIDEO` and `video_dir()` now resolve to the app-specific Movies directory instead of external cache storage. + + **Migration:** Files previously written to the old location (`.../cache`) will not be discovered at the new location (`.../files/Movies`). Migrate existing files or update path assumptions accordingly. + ## \[2.11.5] ### Dependencies diff --git a/crates/tauri/Cargo.toml b/crates/tauri/Cargo.toml index 3f1dd5f82e2d..f074f07ca6ea 100644 --- a/crates/tauri/Cargo.toml +++ b/crates/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "2.11.5" +version = "2.12.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.11.3", path = "../tauri-runtime" } -tauri-macros = { version = "2.6.3", path = "../tauri-macros" } -tauri-utils = { version = "2.9.3", features = [ +tauri-runtime = { version = "2.12.0", path = "../tauri-runtime" } +tauri-macros = { version = "2.7.0", path = "../tauri-macros" } +tauri-utils = { version = "2.10.0", features = [ "resources", ], path = "../tauri-utils" } -tauri-runtime-wry = { version = "2.11.4", path = "../tauri-runtime-wry", default-features = false, optional = true } +tauri-runtime-wry = { version = "2.12.0", path = "../tauri-runtime-wry", default-features = false, optional = true } getrandom = "0.3" serde_repr = "0.1" http = "1" @@ -169,8 +169,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.6.3" } -tauri-utils = { path = "../tauri-utils/", version = "2.9.3", features = [ +tauri-build = { path = "../tauri-build/", default-features = false, version = "2.7.0" } +tauri-utils = { path = "../tauri-utils/", version = "2.10.0", features = [ "build-2", ] } diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 14788715515c..a6cebed35efe 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.12.0] + +### New Features + +- [`29265557c`](https://www.github.com/tauri-apps/tauri/commit/29265557c7a42ef6a1f982e0ef738208df1f6dd3) ([#15410](https://www.github.com/tauri-apps/tauri/pull/15410) by [@zetaloop](https://www.github.com/tauri-apps/tauri/../../zetaloop)) Added `noRedirectionBitmap` option to the `Window` and `WebviewWindow` constructors on Windows. + ## \[2.11.1] ### Enhancements diff --git a/packages/api/package.json b/packages/api/package.json index b15baefd788c..b7e338832b4a 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "2.11.1", + "version": "2.12.0", "description": "Tauri API definitions", "funding": { "type": "opencollective", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index f4980d64eda8..0f80a335ab88 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## \[2.12.0] + +### New Features + +- [`f6c1eb253`](https://www.github.com/tauri-apps/tauri/commit/f6c1eb2533a0445e081c334931d67fee3e354c6f) ([#15401](https://www.github.com/tauri-apps/tauri/pull/15401) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Added `bundle.windows.bundleVCRuntime` to copy the Visual C++ runtime DLLs into Windows MSI and NSIS installers. The bundler locates the runtime through `VCTOOLS_REDIST_DIR` or the bundled `vswhere.exe`. +- [`f6c1eb253`](https://www.github.com/tauri-apps/tauri/commit/f6c1eb2533a0445e081c334931d67fee3e354c6f) ([#15401](https://www.github.com/tauri-apps/tauri/pull/15401) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Added `build.windows.staticVCRuntime` to control MSVC static runtime linking. The `STATIC_VCRUNTIME` environment variable is now deprecated and emits a migration warning when used. + +### Bug Fixes + +- [`adf5acf6f`](https://www.github.com/tauri-apps/tauri/commit/adf5acf6fbc0ef26de6b1eb30c47bb701c256954) ([#15651](https://www.github.com/tauri-apps/tauri/pull/15651) by [@justjavac](https://www.github.com/tauri-apps/tauri/../../justjavac)) Fix MSI bundling when an external binary filename starts with a digit. + +### Dependencies + +- Upgraded to `tauri-cli@2.12.0` + ## \[2.11.4] ### Bug Fixes diff --git a/packages/cli/package.json b/packages/cli/package.json index c54837a13f6e..6875c9329aa0 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "2.11.4", + "version": "2.12.0", "description": "Command line interface for building Tauri apps", "type": "commonjs", "funding": {