diff --git a/.changes/pre.json b/.changes/pre.json index 65cf7030d652..52f321abca5d 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -13,6 +13,7 @@ ".changes/api-isTauri.md", ".changes/api-position-size-args.md", ".changes/api-readd-window-created-event.md", + ".changes/api-reparent-focus.md", ".changes/api-simplify-unc-paths.md", ".changes/api-tauri-event-file-drop-rename.md", ".changes/api-tray-by-id.md", @@ -170,6 +171,7 @@ ".changes/fix-tauri-build-license-field.md", ".changes/fix-tauri-build-unix.md", ".changes/fix-temp-permission-file-name.md", + ".changes/fix-updater-warning.md", ".changes/fix-visibility-change.md", ".changes/fix-webview-close.md", ".changes/fix-window-center-monitor-scale.md", @@ -221,6 +223,7 @@ ".changes/nsis-ifmacrodef.md", ".changes/nsis-migrate-shortcut.md", ".changes/nsis-no-compression.md", + ".changes/nsis-pre-hooks-timing.md", ".changes/nsis-run-as-user.md", ".changes/nsis-run-progrma-space.md", ".changes/nsis-shortcuts-regression.md", @@ -259,6 +262,7 @@ ".changes/runtime-capability-dynamic.md", ".changes/runtime-dpi-mod-moved.md", ".changes/runtime-icon-lifetime.md", + ".changes/runtime-macos-default-visible-titlebat.md", ".changes/runtime-window-builder-get-theme.md", ".changes/rustc-check-cfg.md", ".changes/rwh-06.md", @@ -268,6 +272,11 @@ ".changes/set-auto-resize.md", ".changes/set-zoom.md", ".changes/skip-webview-install-mod.md", + ".changes/specta-derive-feature.md", + ".changes/split-min-max-constraints-apis-runtime-js.md", + ".changes/split-min-max-constraints-apis-runtime.md", + ".changes/split-min-max-constraints-apis.md", + ".changes/split-min-max-constraints.md", ".changes/strict-csp-isolation-frame.md", ".changes/tauri-build-codegen-capabilities.md", ".changes/tauri-build-dev-changes.md", diff --git a/Cargo.lock b/Cargo.lock index 2bd90b1235db..459f9881484c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3660,7 +3660,7 @@ checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" [[package]] name = "tauri" -version = "2.0.0-beta.24" +version = "2.0.0-beta.25" dependencies = [ "anyhow", "bytes", @@ -3815,7 +3815,7 @@ dependencies = [ [[package]] name = "tauri-runtime" -version = "2.0.0-beta.20" +version = "2.0.0-beta.21" dependencies = [ "dpi", "gtk", @@ -3832,7 +3832,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "2.0.0-beta.20" +version = "2.0.0-beta.21" dependencies = [ "cocoa", "gtk", diff --git a/core/tauri-runtime-wry/CHANGELOG.md b/core/tauri-runtime-wry/CHANGELOG.md index 83309294055f..eccfd6e277ea 100644 --- a/core/tauri-runtime-wry/CHANGELOG.md +++ b/core/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[2.0.0-beta.21] + +### What's Changed + +- [`9546548ec`](https://www.github.com/tauri-apps/tauri/commit/9546548ec0c83ba620b1bc9d1d424a7009d0b423) ([#10297](https://www.github.com/tauri-apps/tauri/pull/10297) by [@pewsheen](https://www.github.com/tauri-apps/tauri/../../pewsheen)) On macOS, set default titlebar style to `Visible` to prevent webview move out of the view. +- [`da25f7353`](https://www.github.com/tauri-apps/tauri/commit/da25f7353070477ba969851e974379d7666d6806) ([#10242](https://www.github.com/tauri-apps/tauri/pull/10242) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `inner_size_constraints` method on `WindowBuilder` trait and `set_size_constraints` method on `WindowDispatch` trait. + +### Dependencies + +- Upgraded to `tauri-runtime@2.0.0-beta.21` + ## \[2.0.0-beta.20] ### Bug Fixes diff --git a/core/tauri-runtime-wry/Cargo.toml b/core/tauri-runtime-wry/Cargo.toml index e9de3540eae5..6813d6c0b089 100644 --- a/core/tauri-runtime-wry/Cargo.toml +++ b/core/tauri-runtime-wry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime-wry" -version = "2.0.0-beta.20" +version = "2.0.0-beta.21" description = "Wry bindings to the Tauri runtime" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -15,7 +15,7 @@ rust-version = { workspace = true } [dependencies] wry = { version = "0.41", default-features = false, features = [ "drag-drop", "protocol", "os-webview" ] } tao = { version = "0.28.1", default-features = false, features = [ "rwh_06" ] } -tauri-runtime = { version = "2.0.0-beta.20", path = "../tauri-runtime" } +tauri-runtime = { version = "2.0.0-beta.21", path = "../tauri-runtime" } tauri-utils = { version = "2.0.0-beta.19", path = "../tauri-utils" } raw-window-handle = "0.6" http = "1.1" diff --git a/core/tauri-runtime/CHANGELOG.md b/core/tauri-runtime/CHANGELOG.md index 52d2dbfa6137..103e96e2452f 100644 --- a/core/tauri-runtime/CHANGELOG.md +++ b/core/tauri-runtime/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-beta.21] + +### What's Changed + +- [`da25f7353`](https://www.github.com/tauri-apps/tauri/commit/da25f7353070477ba969851e974379d7666d6806) ([#10242](https://www.github.com/tauri-apps/tauri/pull/10242) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `inner_size_constraints` method on `WindowBuilder` trait and `set_size_constraints` method on `WindowDispatch` trait. + ## \[2.0.0-beta.20] ### Dependencies diff --git a/core/tauri-runtime/Cargo.toml b/core/tauri-runtime/Cargo.toml index 8b308fecc55e..49ef3a848cec 100644 --- a/core/tauri-runtime/Cargo.toml +++ b/core/tauri-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime" -version = "2.0.0-beta.20" +version = "2.0.0-beta.21" description = "Runtime for Tauri applications" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" diff --git a/core/tauri/CHANGELOG.md b/core/tauri/CHANGELOG.md index 66aaabdc4f2a..1dc719adedda 100644 --- a/core/tauri/CHANGELOG.md +++ b/core/tauri/CHANGELOG.md @@ -1,5 +1,29 @@ # Changelog +## \[2.0.0-beta.25] + +### New Features + +- [`da25f7353`](https://www.github.com/tauri-apps/tauri/commit/da25f7353070477ba969851e974379d7666d6806) ([#10242](https://www.github.com/tauri-apps/tauri/pull/10242) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add APIs to enable setting window size constraints separately: + + - Added `WindowBuilder::inner_size_constraints` and `WebviewWindowBuilder::inner_size_constraints` which can be used for setting granular constraints. + - Added `WindowSizeConstraints` struct + - Added `Window::set_size_constraints` and `WebviewWindow::set_size_constraints` + +### Bug Fixes + +- [`e1776946a`](https://www.github.com/tauri-apps/tauri/commit/e1776946ad034d7a6e005834a754773671d9f7ef) ([#10362](https://www.github.com/tauri-apps/tauri/pull/10362) by [@Brendonovich](https://www.github.com/tauri-apps/tauri/../../Brendonovich)) Use ` specta rc.15's `derive\` feature which fixes build issues in docs.rs. +- [`da25f7353`](https://www.github.com/tauri-apps/tauri/commit/da25f7353070477ba969851e974379d7666d6806) ([#10242](https://www.github.com/tauri-apps/tauri/pull/10242) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Apply `minWidth`, `minHieght`, `maxWidth` and `maxHeight` constraints separately, which fixes a long standing bug where these constraints were never applied unless width and height were constrained together. + +### What's Changed + +- [`9546548ec`](https://www.github.com/tauri-apps/tauri/commit/9546548ec0c83ba620b1bc9d1d424a7009d0b423) ([#10297](https://www.github.com/tauri-apps/tauri/pull/10297) by [@pewsheen](https://www.github.com/tauri-apps/tauri/../../pewsheen)) On macOS, set default titlebar style to `Visible` to prevent webview move out of the view. + +### Dependencies + +- Upgraded to `tauri-runtime-wry@2.0.0-beta.21` +- Upgraded to `tauri-runtime@2.0.0-beta.21` + ## \[2.0.0-beta.24] ### New Features diff --git a/core/tauri/Cargo.toml b/core/tauri/Cargo.toml index 04b400411d21..4872dcb0e1da 100644 --- a/core/tauri/Cargo.toml +++ b/core/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "2.0.0-beta.24" +version = "2.0.0-beta.25" description = "Make tiny, secure apps for all desktop platforms with Tauri" exclude = [ "/test", "/.scripts", "CHANGELOG.md", "/target" ] readme = "README.md" @@ -51,10 +51,10 @@ uuid = { version = "1", features = [ "v4" ], optional = true } url = "2" anyhow = "1.0" thiserror = "1.0" -tauri-runtime = { version = "2.0.0-beta.20", path = "../tauri-runtime" } +tauri-runtime = { version = "2.0.0-beta.21", path = "../tauri-runtime" } tauri-macros = { version = "2.0.0-beta.19", path = "../tauri-macros" } tauri-utils = { version = "2.0.0-beta.19", features = [ "resources" ], path = "../tauri-utils" } -tauri-runtime-wry = { version = "2.0.0-beta.20", path = "../tauri-runtime-wry", optional = true } +tauri-runtime-wry = { version = "2.0.0-beta.21", path = "../tauri-runtime-wry", optional = true } getrandom = "0.2" serde_repr = "0.1" state = "0.6" diff --git a/tooling/api/CHANGELOG.md b/tooling/api/CHANGELOG.md index c195ec667ff0..bdff2a38e4cc 100644 --- a/tooling/api/CHANGELOG.md +++ b/tooling/api/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## \[2.0.0-beta.16] + +### New Features + +- [`da25f7353`](https://www.github.com/tauri-apps/tauri/commit/da25f7353070477ba969851e974379d7666d6806) ([#10242](https://www.github.com/tauri-apps/tauri/pull/10242) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add APIs to enable setting window size constraints separately: + + - Added `WindowSizeConstraints` interface in `window` and `webviewWindow` modules. + - Added `Window.setSizeConstraints` and `WebviewWindow.setSizeConstraints` + +### Bug Fixes + +- [`3c17fb64f`](https://www.github.com/tauri-apps/tauri/commit/3c17fb64fd822597d5cc16ee7e7b3f9e1023637b) ([#10277](https://www.github.com/tauri-apps/tauri/pull/10277) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Fix `Webview.reparent` pointing to `set_webview_focus` instead of `reparent` Rust API +- [`da25f7353`](https://www.github.com/tauri-apps/tauri/commit/da25f7353070477ba969851e974379d7666d6806) ([#10242](https://www.github.com/tauri-apps/tauri/pull/10242) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Apply `minWidth`, `minHieght`, `maxWidth` and `maxHeight` constraints separately, which fixes a long standing bug where these constraints were never applied unless width and height were constrained together. + ## \[2.0.0-beta.15] ### New Features diff --git a/tooling/api/package.json b/tooling/api/package.json index 967f461dd799..dcdb82ae8ad1 100644 --- a/tooling/api/package.json +++ b/tooling/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "2.0.0-beta.15", + "version": "2.0.0-beta.16", "description": "Tauri API definitions", "funding": { "type": "opencollective", diff --git a/tooling/bundler/CHANGELOG.md b/tooling/bundler/CHANGELOG.md index 3aca86209cb2..c3b06980d48a 100644 --- a/tooling/bundler/CHANGELOG.md +++ b/tooling/bundler/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.0.1-beta.19] + +### Bug Fixes + +- [`d1df6be70`](https://www.github.com/tauri-apps/tauri/commit/d1df6be701fc1cd64fd227d68041a1096386d3b5) ([#10270](https://www.github.com/tauri-apps/tauri/pull/10270) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Fix bundler warns about no updater-enabled targets were built for self contained updaters like app image, nsis, msi + +### What's Changed + +- [`9f0a5fcea`](https://www.github.com/tauri-apps/tauri/commit/9f0a5fceaced7862c8a57beba6616c21ff3b17f8) ([#10271](https://www.github.com/tauri-apps/tauri/pull/10271) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Make `NSIS_HOOK_PREINSTALL` and `NSIS_HOOK_PREUNINSTALL` run before `CheckIfAppIsRunning` (which checks if the app is running and asks the user if they want to kill the app) + ## \[2.0.1-beta.18] ### New Features diff --git a/tooling/bundler/Cargo.toml b/tooling/bundler/Cargo.toml index 320356170f8a..2892b45fa9e3 100644 --- a/tooling/bundler/Cargo.toml +++ b/tooling/bundler/Cargo.toml @@ -2,7 +2,7 @@ workspace = { } [package] name = "tauri-bundler" -version = "2.0.1-beta.18" +version = "2.0.1-beta.19" authors = [ "George Burton ", "Tauri Programme within The Commons Conservancy" diff --git a/tooling/cli/CHANGELOG.md b/tooling/cli/CHANGELOG.md index 5d2ad297706a..cf04ae8c1990 100644 --- a/tooling/cli/CHANGELOG.md +++ b/tooling/cli/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-beta.23] + +### Dependencies + +- Upgraded to `tauri-bundler@2.0.1-beta.19` + ## \[2.0.0-beta.22] ### New Features diff --git a/tooling/cli/Cargo.lock b/tooling/cli/Cargo.lock index 2e21668a849c..333331b13e0e 100644 --- a/tooling/cli/Cargo.lock +++ b/tooling/cli/Cargo.lock @@ -5074,7 +5074,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "2.0.1-beta.18" +version = "2.0.1-beta.19" dependencies = [ "anyhow", "ar", @@ -5117,7 +5117,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "2.0.0-beta.22" +version = "2.0.0-beta.23" dependencies = [ "anyhow", "axum", diff --git a/tooling/cli/Cargo.toml b/tooling/cli/Cargo.toml index 72cc2ca3f4ca..f3e097172695 100644 --- a/tooling/cli/Cargo.toml +++ b/tooling/cli/Cargo.toml @@ -3,7 +3,7 @@ members = [ "node" ] [package] name = "tauri-cli" -version = "2.0.0-beta.22" +version = "2.0.0-beta.23" authors = [ "Tauri Programme within The Commons Conservancy" ] edition = "2021" rust-version = "1.70" @@ -48,7 +48,7 @@ sublime_fuzzy = "0.7" clap_complete = "4" clap = { version = "4.5", features = [ "derive", "env" ] } anyhow = "1.0" -tauri-bundler = { version = "2.0.1-beta.18", default-features = false, path = "../bundler" } +tauri-bundler = { version = "2.0.1-beta.19", default-features = false, path = "../bundler" } colored = "2.1" serde = { version = "1.0", features = [ "derive" ] } serde_json = { version = "1.0", features = [ "preserve_order" ] } diff --git a/tooling/cli/metadata-v2.json b/tooling/cli/metadata-v2.json index 30b6f59593e0..12feeebaf0f1 100644 --- a/tooling/cli/metadata-v2.json +++ b/tooling/cli/metadata-v2.json @@ -1,9 +1,9 @@ { "cli.js": { - "version": "2.0.0-beta.22", + "version": "2.0.0-beta.23", "node": ">= 10.0.0" }, - "tauri": "2.0.0-beta.24", + "tauri": "2.0.0-beta.25", "tauri-build": "2.0.0-beta.19", "tauri-plugin": "2.0.0-beta.19" } diff --git a/tooling/cli/node/CHANGELOG.md b/tooling/cli/node/CHANGELOG.md index eecc5679b738..02da46747c26 100644 --- a/tooling/cli/node/CHANGELOG.md +++ b/tooling/cli/node/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-beta.23] + +### Dependencies + +- Upgraded to `tauri-cli@2.0.0-beta.23` + ## \[2.0.0-beta.22] ### New Features diff --git a/tooling/cli/node/package.json b/tooling/cli/node/package.json index b149f6a1b2b5..901e7cf93375 100644 --- a/tooling/cli/node/package.json +++ b/tooling/cli/node/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "2.0.0-beta.22", + "version": "2.0.0-beta.23", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective",