diff --git a/.changes/pre.json b/.changes/pre.json index 74891f63f748..fb5f0d2417f8 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -6,6 +6,7 @@ ".changes/acl-scope-refactor.md", ".changes/acl-urlpattern.md", ".changes/allow-recursive-asset-scope-on-file-drop-directory.md", + ".changes/api-readd-window-created-event.md", ".changes/api-tauri-event-file-drop-rename.md", ".changes/api-tray-by-id.md", ".changes/api-webview-window-new-methods.md", @@ -23,8 +24,10 @@ ".changes/capability-builder-platform.md", ".changes/capability-context-refactor.md", ".changes/cli-acl-subcommands.md", + ".changes/cli-add-@-spec.md", ".changes/cli-build-no-bundle.md", ".changes/cli-empty-responses.md", + ".changes/cli-include-dir-cargo-manifest-dir.md", ".changes/cli-mobile-init-partition.md", ".changes/cli-openssl-cargo-mobile2-removal.md", ".changes/cli-plugin-android-init.md", @@ -42,15 +45,19 @@ ".changes/context-runtime-authority.md", ".changes/core-app-tray-remove-tray-apis-removed.md", ".changes/core-center-window.md", + ".changes/core-emit-created-events.md", ".changes/core-emit-js-all-targets.md", ".changes/core-js-event-anytarget.md", ".changes/core-once-event-return-event-id.md", ".changes/core-path-basename-replace.md", ".changes/core-window-hasdisplayhandle.md", ".changes/csp-header-linux.md", + ".changes/deb-rpm-post-pre-scripts-bundler.md", + ".changes/deb-rpm-post-pre-scripts-config.md", ".changes/dev-fn.md", ".changes/downgrade-minisign.md", ".changes/enhance-event-emit.md", + ".changes/enhance-ipc-url-check.md", ".changes/enhance-resource-dir-resolution.md", ".changes/expose-image-constructor.md", ".changes/expose-js-image.md", @@ -63,6 +70,7 @@ ".changes/fix-codegen-rerun-if-changed.md", ".changes/fix-config-arg.md", ".changes/fix-fs-scope-check-symlink.md", + ".changes/fix-inner-size.md", ".changes/fix-invoke-devtools-by-hotkey.md", ".changes/fix-ios-dev-logs.md", ".changes/fix-ipc-error-json.md", @@ -77,11 +85,13 @@ ".changes/fix-scope-resolution.md", ".changes/fix-tauri-build-license-field.md", ".changes/fix-tauri-build-unix.md", + ".changes/fix-visibility-change.md", ".changes/fix-webview-close.md", ".changes/fix-window-center-monitor-scale.md", ".changes/fix-window-destroy-deadlock.md", ".changes/global-api-script-path-plugins.md", ".changes/handle-empty-permissions.md", + ".changes/http-v1.md", ".changes/ico-featrue-flags.md", ".changes/image-crate.md", ".changes/image-rgba-uint8array.md", @@ -89,6 +99,9 @@ ".changes/inline-plugins.md", ".changes/ios-signing-optional.md", ".changes/ipc-post-message-fallback.md", + ".changes/ipc-request-param-refactor.md", + ".changes/isolation-pattern-key-extractable.md", + ".changes/isolation-script-remove-itself.md", ".changes/mobile-watcher.md", ".changes/multiwebview-bounds-fixes.md", ".changes/nsis-dpi-aware.md", @@ -99,16 +112,20 @@ ".changes/preserve-channel-order.md", ".changes/progress-bar-state-refactor.md", ".changes/re-export-progress-bar-status.md", + ".changes/rect-strcut.md", ".changes/refactor-capabilities-schema.md", ".changes/refactor-capability-remote-option.md", ".changes/refactor-scope-ret-value.md", ".changes/remove-app-custom-protocol-feature.md", ".changes/remove-from-format-image.md", ".changes/remove-unit-uri.md", + ".changes/rename-file-drop.md", ".changes/reparent.md", ".changes/rerun-if-permission-created.md", + ".changes/resources_table_access.md", ".changes/runtime-add-capability.md", ".changes/runtime-capability-dynamic.md", + ".changes/runtime-dpi-mod-moved.md", ".changes/runtime-icon-lifetime.md", ".changes/rwh-06.md", ".changes/schema_str.md", @@ -129,6 +146,7 @@ ".changes/tauri-utils-capability-refactor.md", ".changes/tauri-utils-plugin-module.md", ".changes/tauri-webview-events.md", + ".changes/tray-rect.md", ".changes/truncate-before-write-buildtask.md", ".changes/unstable-child-webview.md", ".changes/update-acl-paths-cli.md", @@ -139,7 +157,9 @@ ".changes/utils-debug-eprintln.md", ".changes/utils-named-capability-file.md", ".changes/utils-remove-asset-trait.md", + ".changes/webview-bounds.md", ".changes/wry-0.36.md", - ".changes/wry-0.37.md" + ".changes/wry-0.37.md", + ".changes/wry-0.38.md" ] } diff --git a/Cargo.lock b/Cargo.lock index 9507cc681e44..20f33b24fa05 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3495,7 +3495,7 @@ checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" [[package]] name = "tauri" -version = "2.0.0-beta.13" +version = "2.0.0-beta.14" dependencies = [ "anyhow", "bytes", @@ -3551,7 +3551,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.0.0-beta.10" +version = "2.0.0-beta.11" dependencies = [ "anyhow", "cargo_toml", @@ -3573,7 +3573,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.0.0-beta.10" +version = "2.0.0-beta.11" dependencies = [ "base64 0.22.0", "brotli", @@ -3610,7 +3610,7 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.0.0-beta.10" +version = "2.0.0-beta.11" dependencies = [ "heck 0.4.1", "proc-macro2", @@ -3622,7 +3622,7 @@ dependencies = [ [[package]] name = "tauri-plugin" -version = "2.0.0-beta.10" +version = "2.0.0-beta.11" dependencies = [ "anyhow", "glob", @@ -3637,7 +3637,7 @@ dependencies = [ [[package]] name = "tauri-runtime" -version = "2.0.0-beta.10" +version = "2.0.0-beta.11" dependencies = [ "dpi", "gtk", @@ -3654,7 +3654,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "2.0.0-beta.10" +version = "2.0.0-beta.11" dependencies = [ "cocoa", "gtk", @@ -3677,7 +3677,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.0.0-beta.10" +version = "2.0.0-beta.11" dependencies = [ "aes-gcm", "brotli", diff --git a/core/tauri-build/CHANGELOG.md b/core/tauri-build/CHANGELOG.md index 235d648ba2d8..13cefd392bf9 100644 --- a/core/tauri-build/CHANGELOG.md +++ b/core/tauri-build/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.0.0-beta.11] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.11` +- Upgraded to `tauri-codegen@2.0.0-beta.11` + ## \[2.0.0-beta.10] ### New Features diff --git a/core/tauri-build/Cargo.toml b/core/tauri-build/Cargo.toml index 59e6a7dc6b26..2c3ad55e0b52 100644 --- a/core/tauri-build/Cargo.toml +++ b/core/tauri-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-build" -version = "2.0.0-beta.10" +version = "2.0.0-beta.11" description = "build time code to pair with https://crates.io/crates/tauri" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -28,8 +28,8 @@ rustdoc-args = [ "--cfg", "docsrs" ] [dependencies] anyhow = "1" quote = { version = "1", optional = true } -tauri-codegen = { version = "2.0.0-beta.10", path = "../tauri-codegen", optional = true } -tauri-utils = { version = "2.0.0-beta.10", path = "../tauri-utils", features = [ "build", "resources" ] } +tauri-codegen = { version = "2.0.0-beta.11", path = "../tauri-codegen", optional = true } +tauri-utils = { version = "2.0.0-beta.11", path = "../tauri-utils", features = [ "build", "resources" ] } cargo_toml = "0.17" serde = "1" serde_json = "1" diff --git a/core/tauri-codegen/CHANGELOG.md b/core/tauri-codegen/CHANGELOG.md index f2367e6a7616..e5c068f5aafb 100644 --- a/core/tauri-codegen/CHANGELOG.md +++ b/core/tauri-codegen/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-beta.11] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.11` + ## \[2.0.0-beta.10] ### New Features diff --git a/core/tauri-codegen/Cargo.toml b/core/tauri-codegen/Cargo.toml index 96a6a631348e..ff3855f7d1a1 100644 --- a/core/tauri-codegen/Cargo.toml +++ b/core/tauri-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-codegen" -version = "2.0.0-beta.10" +version = "2.0.0-beta.11" 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.0.0-beta.10", path = "../tauri-utils", features = [ "build" ] } +tauri-utils = { version = "2.0.0-beta.11", path = "../tauri-utils", features = [ "build" ] } thiserror = "1" walkdir = "2" brotli = { version = "3", optional = true, default-features = false, features = [ "std" ] } diff --git a/core/tauri-macros/CHANGELOG.md b/core/tauri-macros/CHANGELOG.md index 98cb466f7ebf..52a40da48cd7 100644 --- a/core/tauri-macros/CHANGELOG.md +++ b/core/tauri-macros/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.0.0-beta.11] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.11` +- Upgraded to `tauri-codegen@2.0.0-beta.11` + ## \[2.0.0-beta.10] ### Dependencies diff --git a/core/tauri-macros/Cargo.toml b/core/tauri-macros/Cargo.toml index 64079e4f3ff8..eb554aa1619e 100644 --- a/core/tauri-macros/Cargo.toml +++ b/core/tauri-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-macros" -version = "2.0.0-beta.10" +version = "2.0.0-beta.11" 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.4" -tauri-codegen = { version = "2.0.0-beta.10", default-features = false, path = "../tauri-codegen" } -tauri-utils = { version = "2.0.0-beta.10", path = "../tauri-utils" } +tauri-codegen = { version = "2.0.0-beta.11", default-features = false, path = "../tauri-codegen" } +tauri-utils = { version = "2.0.0-beta.11", path = "../tauri-utils" } [features] custom-protocol = [ ] diff --git a/core/tauri-plugin/CHANGELOG.md b/core/tauri-plugin/CHANGELOG.md index fb0894ab24a6..4a7ace686944 100644 --- a/core/tauri-plugin/CHANGELOG.md +++ b/core/tauri-plugin/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-beta.11] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.11` + ## \[2.0.0-beta.10] ### New Features diff --git a/core/tauri-plugin/Cargo.toml b/core/tauri-plugin/Cargo.toml index 36f72f80f0d6..86e798fd1628 100644 --- a/core/tauri-plugin/Cargo.toml +++ b/core/tauri-plugin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin" -version = "2.0.0-beta.10" +version = "2.0.0-beta.11" 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.0.0-beta.10", default-features = false, features = [ "build" ], path = "../tauri-utils" } +tauri-utils = { version = "2.0.0-beta.11", default-features = false, features = [ "build" ], path = "../tauri-utils" } serde_json = { version = "1", optional = true } glob = { version = "0.3", optional = true } toml = { version = "0.8", optional = true } diff --git a/core/tauri-runtime-wry/CHANGELOG.md b/core/tauri-runtime-wry/CHANGELOG.md index 71379763b7e0..d6b26d395cce 100644 --- a/core/tauri-runtime-wry/CHANGELOG.md +++ b/core/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## \[2.0.0-beta.11] + +### Bug Fixes + +- [`4c0c780e0`](https://www.github.com/tauri-apps/tauri/commit/4c0c780e00d8851be38cb1c22f636d9e4ed34a23)([#2690](https://www.github.com/tauri-apps/tauri/pull/2690)) Fix window inner size evaluation on macOS. +- [`5bd47b446`](https://www.github.com/tauri-apps/tauri/commit/5bd47b44673f74b1b4e8d704b7a95539915ede76)([#9246](https://www.github.com/tauri-apps/tauri/pull/9246)) Fix webview's visibility doesn't change with the app window + +### What's Changed + +- [`06833f4fa`](https://www.github.com/tauri-apps/tauri/commit/06833f4fa8e63ecc55fe3fc874a9e397e77a5709)([#9100](https://www.github.com/tauri-apps/tauri/pull/9100)) Updated `http` crate to `1.1` + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.11` +- Upgraded to `tauri-runtime@2.0.0-beta.11` +- [`06833f4fa`](https://www.github.com/tauri-apps/tauri/commit/06833f4fa8e63ecc55fe3fc874a9e397e77a5709)([#9100](https://www.github.com/tauri-apps/tauri/pull/9100)) Upgraded to `wry@0.38.0` + +### Breaking Changes + +- [`06833f4fa`](https://www.github.com/tauri-apps/tauri/commit/06833f4fa8e63ecc55fe3fc874a9e397e77a5709)([#9100](https://www.github.com/tauri-apps/tauri/pull/9100)) The IPC handler closure now receives a `http::Request` instead of a String representing the request body. +- [`06833f4fa`](https://www.github.com/tauri-apps/tauri/commit/06833f4fa8e63ecc55fe3fc874a9e397e77a5709)([#9100](https://www.github.com/tauri-apps/tauri/pull/9100)) Rename `FileDrop` to `DragDrop` on structs, enums and enum variants. Also renamed `file_drop` to `drag_drop` on fields and function names. + ## \[2.0.0-beta.10] ### Dependencies diff --git a/core/tauri-runtime-wry/Cargo.toml b/core/tauri-runtime-wry/Cargo.toml index 60bee603e48c..b4465b19e430 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.10" +version = "2.0.0-beta.11" description = "Wry bindings to the Tauri runtime" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -15,8 +15,8 @@ rust-version = { workspace = true } [dependencies] wry = { version = "0.39", default-features = false, features = [ "drag-drop", "protocol", "os-webview" ] } tao = { version = "0.27", default-features = false, features = [ "rwh_06" ] } -tauri-runtime = { version = "2.0.0-beta.10", path = "../tauri-runtime" } -tauri-utils = { version = "2.0.0-beta.10", path = "../tauri-utils" } +tauri-runtime = { version = "2.0.0-beta.11", path = "../tauri-runtime" } +tauri-utils = { version = "2.0.0-beta.11", path = "../tauri-utils" } raw-window-handle = "0.6" http = "1.1" url = "2" diff --git a/core/tauri-runtime/CHANGELOG.md b/core/tauri-runtime/CHANGELOG.md index 994a1e85515a..0893587fa888 100644 --- a/core/tauri-runtime/CHANGELOG.md +++ b/core/tauri-runtime/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## \[2.0.0-beta.11] + +### What's Changed + +- [`06833f4fa`](https://www.github.com/tauri-apps/tauri/commit/06833f4fa8e63ecc55fe3fc874a9e397e77a5709)([#9100](https://www.github.com/tauri-apps/tauri/pull/9100)) Updated `http` crate to `1.1` + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.11` + +### Breaking Changes + +- [`06833f4fa`](https://www.github.com/tauri-apps/tauri/commit/06833f4fa8e63ecc55fe3fc874a9e397e77a5709)([#9100](https://www.github.com/tauri-apps/tauri/pull/9100)) The IPC handler closure now receives a `http::Request` instead of a String representing the request body. +- [`06833f4fa`](https://www.github.com/tauri-apps/tauri/commit/06833f4fa8e63ecc55fe3fc874a9e397e77a5709)([#9100](https://www.github.com/tauri-apps/tauri/pull/9100)) Rename `FileDrop` to `DragDrop` on structs, enums and enum variants. Also renamed `file_drop` to `drag_drop` on fields and function names. +- [`06833f4fa`](https://www.github.com/tauri-apps/tauri/commit/06833f4fa8e63ecc55fe3fc874a9e397e77a5709)([#9100](https://www.github.com/tauri-apps/tauri/pull/9100)) Moved `window::dpi` module to the root of the crate. + ## \[2.0.0-beta.10] ### Dependencies diff --git a/core/tauri-runtime/Cargo.toml b/core/tauri-runtime/Cargo.toml index 25cc1edf87d3..7e0b5d33379b 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.10" +version = "2.0.0-beta.11" description = "Runtime for Tauri applications" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -29,11 +29,11 @@ targets = [ serde = { version = "1.0", features = [ "derive" ] } serde_json = "1.0" thiserror = "1.0" -tauri-utils = { version = "2.0.0-beta.10", path = "../tauri-utils" } +tauri-utils = { version = "2.0.0-beta.11", path = "../tauri-utils" } http = "1.1" raw-window-handle = "0.6" url = { version = "2" } -dpi = { version = "0.1", features = ["serde"] } +dpi = { version = "0.1", features = [ "serde" ] } [target."cfg(windows)".dependencies.windows] version = "0.54" diff --git a/core/tauri-utils/CHANGELOG.md b/core/tauri-utils/CHANGELOG.md index 2ffca5e6ec76..3fbbd6bfd9b6 100644 --- a/core/tauri-utils/CHANGELOG.md +++ b/core/tauri-utils/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## \[2.0.0-beta.11] + +### New Features + +- [`259d84529`](https://www.github.com/tauri-apps/tauri/commit/259d845290dde40639537258b2810567910f47f3)([#9209](https://www.github.com/tauri-apps/tauri/pull/9209)) Added `preInstallScript`, `postInstallScript`, `preRemoveScript` and `postRemoveScript` options for `bundler > deb` and `bundler > rpm` configs. + +### Enhancements + +- [`7c334cb18`](https://www.github.com/tauri-apps/tauri/commit/7c334cb1851ab034a3cfb472dd99dfc61ad3ca7f)([#9327](https://www.github.com/tauri-apps/tauri/pull/9327)) Make the isolation pattern encrypt key unextractable. +- [`a804a70a7`](https://www.github.com/tauri-apps/tauri/commit/a804a70a7aa1dc40fa9043206ad2265c6a5a437b)([#9328](https://www.github.com/tauri-apps/tauri/pull/9328)) The isolation iframe script now removes itself after execution. + +### Breaking Changes + +- [`06833f4fa`](https://www.github.com/tauri-apps/tauri/commit/06833f4fa8e63ecc55fe3fc874a9e397e77a5709)([#9100](https://www.github.com/tauri-apps/tauri/pull/9100)) Rename `FileDrop` to `DragDrop` on structs, enums and enum variants. Also renamed `file_drop` to `drag_drop` on fields and function names. + ## \[2.0.0-beta.10] ### New Features diff --git a/core/tauri-utils/Cargo.toml b/core/tauri-utils/Cargo.toml index b2e4b7a5816a..5f48e1c77d3b 100644 --- a/core/tauri-utils/Cargo.toml +++ b/core/tauri-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-utils" -version = "2.0.0-beta.10" +version = "2.0.0-beta.11" description = "Utilities for Tauri" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" diff --git a/core/tauri/CHANGELOG.md b/core/tauri/CHANGELOG.md index 63a578a50efd..c175ba1f986b 100644 --- a/core/tauri/CHANGELOG.md +++ b/core/tauri/CHANGELOG.md @@ -1,5 +1,42 @@ # Changelog +## \[2.0.0-beta.14] + +### New Features + +- [`06833f4fa`](https://www.github.com/tauri-apps/tauri/commit/06833f4fa8e63ecc55fe3fc874a9e397e77a5709)([#9100](https://www.github.com/tauri-apps/tauri/pull/9100)) Added `Rect` struct. +- [`06833f4fa`](https://www.github.com/tauri-apps/tauri/commit/06833f4fa8e63ecc55fe3fc874a9e397e77a5709)([#9100](https://www.github.com/tauri-apps/tauri/pull/9100)) Add `Webview::bounds` and `Webview::set_bounds` APIs. + +### Enhancements + +- [`06833f4fa`](https://www.github.com/tauri-apps/tauri/commit/06833f4fa8e63ecc55fe3fc874a9e397e77a5709)([#9100](https://www.github.com/tauri-apps/tauri/pull/9100)) Enhance the IPC URL check by using the Origin header on the custom protocol IPC and the new request URI field on the postMessage IPC instead of using `Webview::url()` which only returns the URL of the main frame and is not suitable for iframes (iframe URL fetch is still not supported on Android and on Linux when using the postMessage IPC). + +### Bug Fixes + +- [`c33f6e6cf`](https://www.github.com/tauri-apps/tauri/commit/c33f6e6cf35a0d34b5598875a2e5b642a01c8b38)([#9211](https://www.github.com/tauri-apps/tauri/pull/9211)) Fixed an issue preventing webview/window creation events to not be emitted. This also fixed the `getByLabel` and `getAll` JavaScript functions. + +### What's Changed + +- [`06833f4fa`](https://www.github.com/tauri-apps/tauri/commit/06833f4fa8e63ecc55fe3fc874a9e397e77a5709)([#9100](https://www.github.com/tauri-apps/tauri/pull/9100)) Updated `http` crate to `1.1` + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.11` +- Upgraded to `tauri-runtime-wry@2.0.0-beta.11` +- Upgraded to `tauri-runtime@2.0.0-beta.11` +- Upgraded to `tauri-macros@2.0.0-beta.11` +- Upgraded to `tauri-build@2.0.0-beta.11` + +### Breaking Changes + +- [`06833f4fa`](https://www.github.com/tauri-apps/tauri/commit/06833f4fa8e63ecc55fe3fc874a9e397e77a5709)([#9100](https://www.github.com/tauri-apps/tauri/pull/9100)) Rename `FileDrop` to `DragDrop` on structs, enums and enum variants. Also renamed `file_drop` to `drag_drop` on fields and function names. +- [`284eca9ef`](https://www.github.com/tauri-apps/tauri/commit/284eca9ef2396b76ce3df6f32fb3b2d2c40044ad)([#9272](https://www.github.com/tauri-apps/tauri/pull/9272)) `Manager::resources_table` is now scoped so each `App/AppHandle/Window/Webview/WebviewWindow` has its own resource collection. +- [`06833f4fa`](https://www.github.com/tauri-apps/tauri/commit/06833f4fa8e63ecc55fe3fc874a9e397e77a5709)([#9100](https://www.github.com/tauri-apps/tauri/pull/9100)) Refactored the tray icon event struct: + + - Changed `TrayIconEvent.icon_rect` type to use the new `tauri::Rect` type. + - Removed `TrayIconEvent.x` and `TrayIconEvent.y` fields and combined them into `TrayIconEvent.position` field. + - Removed `tauri::tray::Rectangle` struct. + ## \[2.0.0-beta.13] ### Enhancements diff --git a/core/tauri/Cargo.toml b/core/tauri/Cargo.toml index a110ae020a99..52cb69bbc919 100644 --- a/core/tauri/Cargo.toml +++ b/core/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "2.0.0-beta.13" +version = "2.0.0-beta.14" description = "Make tiny, secure apps for all desktop platforms with Tauri" exclude = [ "/test", "/.scripts", "CHANGELOG.md", "/target" ] readme = "README.md" @@ -50,10 +50,10 @@ uuid = { version = "1", features = [ "v4" ], optional = true } url = "2" anyhow = "1.0" thiserror = "1.0" -tauri-runtime = { version = "2.0.0-beta.10", path = "../tauri-runtime" } -tauri-macros = { version = "2.0.0-beta.10", path = "../tauri-macros" } -tauri-utils = { version = "2.0.0-beta.10", features = [ "resources" ], path = "../tauri-utils" } -tauri-runtime-wry = { version = "2.0.0-beta.10", path = "../tauri-runtime-wry", optional = true } +tauri-runtime = { version = "2.0.0-beta.11", path = "../tauri-runtime" } +tauri-macros = { version = "2.0.0-beta.11", path = "../tauri-macros" } +tauri-utils = { version = "2.0.0-beta.11", features = [ "resources" ], path = "../tauri-utils" } +tauri-runtime-wry = { version = "2.0.0-beta.11", path = "../tauri-runtime-wry", optional = true } getrandom = "0.2" serde_repr = "0.1" state = "0.6" @@ -107,8 +107,8 @@ swift-rs = "1.0.6" [build-dependencies] heck = "0.4" -tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.0-beta.10" } -tauri-utils = { path = "../tauri-utils/", version = "2.0.0-beta.10", features = [ "build" ] } +tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.0-beta.11" } +tauri-utils = { path = "../tauri-utils/", version = "2.0.0-beta.11", features = [ "build" ] } [dev-dependencies] proptest = "1.4.0" diff --git a/tooling/api/CHANGELOG.md b/tooling/api/CHANGELOG.md index 23f8d416130a..023242980071 100644 --- a/tooling/api/CHANGELOG.md +++ b/tooling/api/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.0.0-beta.7] + +### Bug Fixes + +- [`c33f6e6cf`](https://www.github.com/tauri-apps/tauri/commit/c33f6e6cf35a0d34b5598875a2e5b642a01c8b38)([#9211](https://www.github.com/tauri-apps/tauri/pull/9211)) Re-added the `TauriEvent.WINDOW_CREATED` (`tauri://window-created`) event. + +### Breaking Changes + +- [`06833f4fa`](https://www.github.com/tauri-apps/tauri/commit/06833f4fa8e63ecc55fe3fc874a9e397e77a5709)([#9100](https://www.github.com/tauri-apps/tauri/pull/9100)) Rename `FileDrop` to `DragDrop` on structs, enums and enum variants. Also renamed `file_drop` to `drag_drop` on fields and function names. + ## \[2.0.0-beta.6] ### New Features diff --git a/tooling/api/package.json b/tooling/api/package.json index 17fa6d51fc84..84116159ba98 100644 --- a/tooling/api/package.json +++ b/tooling/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "2.0.0-beta.6", + "version": "2.0.0-beta.7", "description": "Tauri API definitions", "funding": { "type": "opencollective", diff --git a/tooling/bundler/CHANGELOG.md b/tooling/bundler/CHANGELOG.md index 7485df66b7c4..be1f53b8a1aa 100644 --- a/tooling/bundler/CHANGELOG.md +++ b/tooling/bundler/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.0.1-beta.8] + +### New Features + +- [`259d84529`](https://www.github.com/tauri-apps/tauri/commit/259d845290dde40639537258b2810567910f47f3)([#9209](https://www.github.com/tauri-apps/tauri/pull/9209)) Add suport for include `preinstall`, `postinstall`, `preremove` and `postremove` scripts into Debian and RPM packages. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.11` + ## \[2.0.1-beta.7] ### Bug Fixes diff --git a/tooling/bundler/Cargo.toml b/tooling/bundler/Cargo.toml index 28b8ce60092b..9932b3f6013b 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.7" +version = "2.0.1-beta.8" authors = [ "George Burton ", "Tauri Programme within The Commons Conservancy" @@ -17,7 +17,7 @@ rust-version = "1.70" exclude = [ "CHANGELOG.md", "/target", "rustfmt.toml" ] [dependencies] -tauri-utils = { version = "2.0.0-beta.10", path = "../../core/tauri-utils", features = [ "resources" ] } +tauri-utils = { version = "2.0.0-beta.11", path = "../../core/tauri-utils", features = [ "resources" ] } image = "0.24.9" flate2 = "1.0" anyhow = "1.0" diff --git a/tooling/cli/CHANGELOG.md b/tooling/cli/CHANGELOG.md index cb2ae94d6c2a..4b30cc84b369 100644 --- a/tooling/cli/CHANGELOG.md +++ b/tooling/cli/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## \[2.0.0-beta.12] + +### New Features + +- [`93e0e1392`](https://www.github.com/tauri-apps/tauri/commit/93e0e1392ec341fcadf696c03e78f0ca1e73c941) Support specifying a version for `tauri add` subcommand, for example: `tauri add window-state@2.0.0-beta.2` + +### Enhancements + +- [`6703b7cbc`](https://www.github.com/tauri-apps/tauri/commit/6703b7cbca3ade84e534c121c63fb22c5f7abbfd)([#9310](https://www.github.com/tauri-apps/tauri/pull/9310)) Use `$CARGO_MANIFEST_DIR` when including templates at build-time. + +### Dependencies + +- Upgraded to `tauri-bundler@2.0.1-beta.8` +- Upgraded to `tauri-utils@2.0.0-beta.11` + ## \[2.0.0-beta.11] ### Enhancements diff --git a/tooling/cli/Cargo.lock b/tooling/cli/Cargo.lock index 24007be2e988..e19bff426c72 100644 --- a/tooling/cli/Cargo.lock +++ b/tooling/cli/Cargo.lock @@ -4856,7 +4856,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "2.0.1-beta.7" +version = "2.0.1-beta.8" dependencies = [ "anyhow", "ar", @@ -4884,7 +4884,7 @@ dependencies = [ "strsim 0.11.0", "tar", "tauri-icns", - "tauri-utils 2.0.0-beta.10", + "tauri-utils 2.0.0-beta.11", "tempfile", "thiserror", "time", @@ -4898,7 +4898,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "2.0.0-beta.11" +version = "2.0.0-beta.12" dependencies = [ "anyhow", "axum", @@ -4950,7 +4950,7 @@ dependencies = [ "tauri-bundler", "tauri-icns", "tauri-utils 1.5.3", - "tauri-utils 2.0.0-beta.10", + "tauri-utils 2.0.0-beta.11", "thiserror", "tokio", "toml 0.8.10", @@ -5016,7 +5016,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.0.0-beta.10" +version = "2.0.0-beta.11" dependencies = [ "aes-gcm", "ctor", diff --git a/tooling/cli/Cargo.toml b/tooling/cli/Cargo.toml index 1d020fcd76bd..206a29a84332 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.11" +version = "2.0.0-beta.12" authors = [ "Tauri Programme within The Commons Conservancy" ] edition = "2021" rust-version = "1.70" @@ -49,7 +49,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.7", default-features = false, path = "../bundler" } +tauri-bundler = { version = "2.0.1-beta.8", default-features = false, path = "../bundler" } colored = "2.1" serde = { version = "1.0", features = [ "derive" ] } serde_json = { version = "1.0", features = [ "preserve_order" ] } @@ -59,7 +59,7 @@ shared_child = "1.0" duct = "0.13" toml_edit = { version = "0.22", features = [ "serde" ] } json-patch = "1.2" -tauri-utils = { version = "2.0.0-beta.10", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] } +tauri-utils = { version = "2.0.0-beta.11", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] } tauri-utils-v1 = { version = "1", package = "tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] } toml = "0.8" jsonschema = "0.17" diff --git a/tooling/cli/metadata-v2.json b/tooling/cli/metadata-v2.json index 0407d960933c..53ace87435b5 100644 --- a/tooling/cli/metadata-v2.json +++ b/tooling/cli/metadata-v2.json @@ -1,9 +1,9 @@ { "cli.js": { - "version": "2.0.0-beta.11", + "version": "2.0.0-beta.12", "node": ">= 10.0.0" }, - "tauri": "2.0.0-beta.13", - "tauri-build": "2.0.0-beta.10", - "tauri-plugin": "2.0.0-beta.10" + "tauri": "2.0.0-beta.14", + "tauri-build": "2.0.0-beta.11", + "tauri-plugin": "2.0.0-beta.11" } diff --git a/tooling/cli/node/CHANGELOG.md b/tooling/cli/node/CHANGELOG.md index dc82b425a68a..781b108fa738 100644 --- a/tooling/cli/node/CHANGELOG.md +++ b/tooling/cli/node/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.0.0-beta.12] + +### New Features + +- [`93e0e1392`](https://www.github.com/tauri-apps/tauri/commit/93e0e1392ec341fcadf696c03e78f0ca1e73c941) Support specifying a version for `tauri add` subcommand, for example: `tauri add window-state@2.0.0-beta.2` + +### Dependencies + +- Upgraded to `tauri-cli@2.0.0-beta.12` + ## \[2.0.0-beta.11] ### Enhancements diff --git a/tooling/cli/node/package.json b/tooling/cli/node/package.json index 35989e1427d0..bbbbde864385 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.11", + "version": "2.0.0-beta.12", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective",