diff --git a/.changes/pre.json b/.changes/pre.json index 9b0b7f4423f5..adbe01f319fd 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -9,17 +9,21 @@ ".changes/api-window-on-filedrop.md", ".changes/app-manifest.md", ".changes/beta.md", + ".changes/build-schema-generation.md", ".changes/bundler-license.md", ".changes/bundler-rpm-license.md", ".changes/capabilities-multiwebview.md", ".changes/capabilities-tauri-conf.md", ".changes/capability-context-refactor.md", ".changes/cli-acl-subcommands.md", + ".changes/cli-build-no-bundle.md", ".changes/cli-mobile-init-partition.md", ".changes/cli-plugin-android-init.md", ".changes/cli-plugins-migrate.md", + ".changes/cli-update-deps-fix-log.md", ".changes/cli-windows-build-tools-detect-utf8.md", ".changes/codegen-capabilities-attribute.md", + ".changes/color-context-generation.md", ".changes/context-runtime-authority.md", ".changes/core-center-window.md", ".changes/core-js-event-anytarget.md", @@ -31,8 +35,10 @@ ".changes/fix-add-child-deadlock.md", ".changes/fix-capability-schema-definitions.md", ".changes/fix-clear-residual-listeners.md", + ".changes/fix-cli-migration-http-acl.md", ".changes/fix-codegen-rerun-if-changed.md", ".changes/fix-config-arg.md", + ".changes/fix-fs-scope-check-symlink.md", ".changes/fix-invoke-devtools-by-hotkey.md", ".changes/fix-ios-dev-logs.md", ".changes/fix-migrate-updater.md", @@ -41,43 +47,62 @@ ".changes/fix-process-ipc-message-fn.md", ".changes/fix-reparent.md", ".changes/fix-rewrite-schema.md", + ".changes/fix-scope-resolution.md", ".changes/fix-tauri-build-license-field.md", ".changes/fix-tauri-build-unix.md", ".changes/fix-webview-close.md", ".changes/fix-window-center-monitor-scale.md", ".changes/fix-window-destroy-deadlock.md", ".changes/handle-empty-permissions.md", + ".changes/ico-featrue-flags.md", ".changes/inline-plugins.md", ".changes/ios-signing-optional.md", + ".changes/ipc-post-message-fallback.md", ".changes/mobile-watcher.md", ".changes/multiwebview-bounds-fixes.md", ".changes/nsis-dpi-aware.md", + ".changes/path-result-error-rexport.md", ".changes/permission-platforms.md", ".changes/permission-table.md", + ".changes/preserve-channel-order.md", ".changes/progress-bar-state-refactor.md", ".changes/re-export-progress-bar-status.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-unit-uri.md", ".changes/reparent.md", ".changes/rerun-if-permission-created.md", ".changes/runtime-add-capability.md", + ".changes/runtime-capability-dynamic.md", + ".changes/runtime-icon-lifetime.md", ".changes/rwh-06.md", ".changes/schema_str.md", + ".changes/set-auto-resize.md", + ".changes/strict-csp-isolation-frame.md", ".changes/tauri-build-codegen-capabilities.md", ".changes/tauri-build-dev-changes.md", ".changes/tauri-close-requested-target-specific.md", + ".changes/tauri-context-icon-methods.md", ".changes/tauri-error-sync.md", + ".changes/tauri-icon-removed.md", + ".changes/tauri-image-codegen.md", + ".changes/tauri-image.md", ".changes/tauri-plugin-identifier-alphanumeric.md", ".changes/tauri-runtime-webview-events.md", ".changes/tauri-scope-object-error-sync.md", ".changes/tauri-utils-capability-refactor.md", ".changes/tauri-webview-events.md", ".changes/truncate-before-write-buildtask.md", + ".changes/unstable-child-webview.md", ".changes/update-acl-paths-cli.md", ".changes/update-app-template-capabilities-conf.md", ".changes/update-plugin-template.md", + ".changes/utils-bundle-target-all.md", + ".changes/utils-bundle-type-all.md", + ".changes/utils-debug-eprintln.md", + ".changes/utils-named-capability-file.md", ".changes/wry-0.36.md", ".changes/wry-0.37.md" ] diff --git a/Cargo.lock b/Cargo.lock index 7acdaf0095c0..5da2a63d57c6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -162,6 +162,12 @@ version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" +[[package]] +name = "base64" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9475866fec1451be56a3c2400fd081ff546538961565ccb5b7142cbd22bc7a51" + [[package]] name = "bit-set" version = "0.5.3" @@ -2514,7 +2520,7 @@ version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5699cc8a63d1aa2b1ee8e12b9ad70ac790d65788cd36101fa37f87ea46c4cef" dependencies = [ - "base64", + "base64 0.21.7", "indexmap 2.2.3", "line-wrap", "quick-xml", @@ -2862,7 +2868,7 @@ version = "0.11.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c6920094eb85afde5e4a138be3f2de8bbdf28000f0029e72c45025a56b042251" dependencies = [ - "base64", + "base64 0.21.7", "bytes", "encoding_rs", "futures-core", @@ -2971,7 +2977,7 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" dependencies = [ - "base64", + "base64 0.21.7", ] [[package]] @@ -3212,7 +3218,7 @@ version = "3.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "15d167997bd841ec232f5b2b8e0e26606df2e7caa4c31b95ea9ca52b200bd270" dependencies = [ - "base64", + "base64 0.21.7", "chrono", "hex", "indexmap 1.9.3", @@ -3462,7 +3468,7 @@ version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bbdb58577b6301f8d17ae2561f32002a5bae056d444e0f69e611e504a276204" dependencies = [ - "base64", + "base64 0.21.7", "serde", "serde_json", ] @@ -3588,7 +3594,7 @@ checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" [[package]] name = "tauri" -version = "2.0.0-beta.8" +version = "2.0.0-beta.9" dependencies = [ "anyhow", "bytes", @@ -3645,7 +3651,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.0.0-beta.6" +version = "2.0.0-beta.7" dependencies = [ "anyhow", "cargo_toml", @@ -3667,9 +3673,9 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.0.0-beta.6" +version = "2.0.0-beta.7" dependencies = [ - "base64", + "base64 0.22.0", "brotli", "ico", "json-patch", @@ -3704,7 +3710,7 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.0.0-beta.6" +version = "2.0.0-beta.7" dependencies = [ "heck", "proc-macro2", @@ -3716,7 +3722,7 @@ dependencies = [ [[package]] name = "tauri-plugin" -version = "2.0.0-beta.6" +version = "2.0.0-beta.7" dependencies = [ "anyhow", "glob", @@ -3731,7 +3737,7 @@ dependencies = [ [[package]] name = "tauri-runtime" -version = "2.0.0-beta.6" +version = "2.0.0-beta.7" dependencies = [ "gtk", "http", @@ -3747,7 +3753,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "2.0.0-beta.6" +version = "2.0.0-beta.7" dependencies = [ "cocoa", "gtk", @@ -3770,7 +3776,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.0.0-beta.6" +version = "2.0.0-beta.7" dependencies = [ "aes-gcm", "brotli", @@ -4909,7 +4915,7 @@ version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b717040ba9771fd88eb428c6ea6b555f8e734ff8534f02c13e8f10d97f5935e" dependencies = [ - "base64", + "base64 0.21.7", "block", "cfg_aliases 0.1.1", "cocoa", diff --git a/core/tauri-build/CHANGELOG.md b/core/tauri-build/CHANGELOG.md index d0777311ec05..415be646c9a8 100644 --- a/core/tauri-build/CHANGELOG.md +++ b/core/tauri-build/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[2.0.0-beta.7] + +### Bug Fixes + +- [`bb23511ea`](https://www.github.com/tauri-apps/tauri/commit/bb23511ea80bcaffbdebf057301e463fff268c90)([#9079](https://www.github.com/tauri-apps/tauri/pull/9079)) Fixed generation of capability schema for permissions field which previously disallowed mixed (strings and objects) permission definition. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.7` +- Upgraded to `tauri-codegen@2.0.0-beta.7` + ## \[2.0.0-beta.6] ### Dependencies diff --git a/core/tauri-build/Cargo.toml b/core/tauri-build/Cargo.toml index 85abf01bc6f0..8677ef359aa0 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.6" +version = "2.0.0-beta.7" 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.6", path = "../tauri-codegen", optional = true } -tauri-utils = { version = "2.0.0-beta.6", path = "../tauri-utils", features = [ "build", "resources" ] } +tauri-codegen = { version = "2.0.0-beta.7", path = "../tauri-codegen", optional = true } +tauri-utils = { version = "2.0.0-beta.7", 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 dc7ef02486aa..41e5ec7d589c 100644 --- a/core/tauri-codegen/CHANGELOG.md +++ b/core/tauri-codegen/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.0.0-beta.7] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.7` + +### Breaking Changes + +- [`d1e77acd8`](https://www.github.com/tauri-apps/tauri/commit/d1e77acd8dfdf554b90b542513a58a2de1ef2360)([#9011](https://www.github.com/tauri-apps/tauri/pull/9011)) Change the generated context code to use the new `Image` type in tauri. + ## \[2.0.0-beta.6] ### Dependencies diff --git a/core/tauri-codegen/Cargo.toml b/core/tauri-codegen/Cargo.toml index dc2c3257e0a1..859890513f3c 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.6" +version = "2.0.0-beta.7" 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.6", path = "../tauri-utils", features = [ "build" ] } +tauri-utils = { version = "2.0.0-beta.7", 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 e04e1f07e64e..e6202b77daff 100644 --- a/core/tauri-macros/CHANGELOG.md +++ b/core/tauri-macros/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.0.0-beta.7] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.7` +- Upgraded to `tauri-codegen@2.0.0-beta.7` + ## \[2.0.0-beta.6] ### Dependencies diff --git a/core/tauri-macros/Cargo.toml b/core/tauri-macros/Cargo.toml index 1696574e4524..bfbac65ab3d8 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.6" +version = "2.0.0-beta.7" 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.6", default-features = false, path = "../tauri-codegen" } -tauri-utils = { version = "2.0.0-beta.6", path = "../tauri-utils" } +tauri-codegen = { version = "2.0.0-beta.7", default-features = false, path = "../tauri-codegen" } +tauri-utils = { version = "2.0.0-beta.7", path = "../tauri-utils" } [features] custom-protocol = [ ] diff --git a/core/tauri-plugin/CHANGELOG.md b/core/tauri-plugin/CHANGELOG.md index b37c61a2884e..b9b929fbcbd9 100644 --- a/core/tauri-plugin/CHANGELOG.md +++ b/core/tauri-plugin/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-beta.7] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.7` + ## \[2.0.0-beta.6] ### Dependencies diff --git a/core/tauri-plugin/Cargo.toml b/core/tauri-plugin/Cargo.toml index ffbcedd35c71..8a84efb2f44d 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.6" +version = "2.0.0-beta.7" 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.6", default-features = false, path = "../tauri-utils" } +tauri-utils = { version = "2.0.0-beta.7", default-features = false, 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 22d27a412523..eeabe11d309d 100644 --- a/core/tauri-runtime-wry/CHANGELOG.md +++ b/core/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## \[2.0.0-beta.7] + +### New Features + +- [`46de49aaa`](https://www.github.com/tauri-apps/tauri/commit/46de49aaad4a148fafc31d591be0e2ed12256507)([#9059](https://www.github.com/tauri-apps/tauri/pull/9059)) Added `set_auto_resize` method for the webview. + +### Enhancements + +- [`46de49aaa`](https://www.github.com/tauri-apps/tauri/commit/46de49aaad4a148fafc31d591be0e2ed12256507)([#9059](https://www.github.com/tauri-apps/tauri/pull/9059)) When using the `unstable` feature flag, `WebviewWindow` will internally use the child webview interface for flexibility. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.7` +- Upgraded to `tauri-runtime@2.0.0-beta.7` + ## \[2.0.0-beta.6] ### Bug Fixes diff --git a/core/tauri-runtime-wry/Cargo.toml b/core/tauri-runtime-wry/Cargo.toml index 106413bc26ce..004f066a4519 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.6" +version = "2.0.0-beta.7" 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.37", default-features = false, features = [ "file-drop", "protocol", "os-webview" ] } tao = { version = "0.26", default-features = false, features = [ "rwh_06" ] } -tauri-runtime = { version = "2.0.0-beta.6", path = "../tauri-runtime" } -tauri-utils = { version = "2.0.0-beta.6", path = "../tauri-utils" } +tauri-runtime = { version = "2.0.0-beta.7", path = "../tauri-runtime" } +tauri-utils = { version = "2.0.0-beta.7", path = "../tauri-utils" } raw-window-handle = "0.6" http = "0.2" url = "2" diff --git a/core/tauri-runtime/CHANGELOG.md b/core/tauri-runtime/CHANGELOG.md index 47cce98698e8..b2b3d9c9696c 100644 --- a/core/tauri-runtime/CHANGELOG.md +++ b/core/tauri-runtime/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## \[2.0.0-beta.7] + +### New Features + +- [`46de49aaa`](https://www.github.com/tauri-apps/tauri/commit/46de49aaad4a148fafc31d591be0e2ed12256507)([#9059](https://www.github.com/tauri-apps/tauri/pull/9059)) Added `set_auto_resize` method for the webview. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.7` + +### Breaking Changes + +- [`d1e77acd8`](https://www.github.com/tauri-apps/tauri/commit/d1e77acd8dfdf554b90b542513a58a2de1ef2360)([#9011](https://www.github.com/tauri-apps/tauri/pull/9011)) Add a lifetime parameter for `Icon` type. Also changed `rgba` field to be `Cow<'a, [u8]>` + ## \[2.0.0-beta.6] ### Dependencies diff --git a/core/tauri-runtime/Cargo.toml b/core/tauri-runtime/Cargo.toml index c13e04638926..277db06ec94d 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.6" +version = "2.0.0-beta.7" description = "Runtime for Tauri applications" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -29,7 +29,7 @@ targets = [ serde = { version = "1.0", features = [ "derive" ] } serde_json = "1.0" thiserror = "1.0" -tauri-utils = { version = "2.0.0-beta.6", path = "../tauri-utils" } +tauri-utils = { version = "2.0.0-beta.7", path = "../tauri-utils" } http = "0.2.4" raw-window-handle = "0.6" url = { version = "2" } diff --git a/core/tauri-utils/CHANGELOG.md b/core/tauri-utils/CHANGELOG.md index b6012a825b2e..b2e236b28808 100644 --- a/core/tauri-utils/CHANGELOG.md +++ b/core/tauri-utils/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## \[2.0.0-beta.7] + +### Bug Fixes + +- [`86fa339de`](https://www.github.com/tauri-apps/tauri/commit/86fa339de7b176efafa9b3e89f94dcad5fcd03da)([#9071](https://www.github.com/tauri-apps/tauri/pull/9071)) Fix compile time error in context generation when using `app.windows.windowEffects.color` +- [`6c0683224`](https://www.github.com/tauri-apps/tauri/commit/6c068322460300e9d56a4fac5b018d4c437daa9e)([#9068](https://www.github.com/tauri-apps/tauri/pull/9068)) Fixes scope resolution grouping scopes for all windows. +- [`c68218b36`](https://www.github.com/tauri-apps/tauri/commit/c68218b362c417b62e56c7a2b5b32c13fe035a83)([#8990](https://www.github.com/tauri-apps/tauri/pull/8990)) Fix `BundleTarget::to_vec` returning an empty vec for `BundleTarget::All` variant. +- [`c68218b36`](https://www.github.com/tauri-apps/tauri/commit/c68218b362c417b62e56c7a2b5b32c13fe035a83)([#8990](https://www.github.com/tauri-apps/tauri/pull/8990)) Add `BundleType::all` method to return all possible `BundleType` variants. + +### Breaking Changes + +- [`9aa0d6e95`](https://www.github.com/tauri-apps/tauri/commit/9aa0d6e959269a9d99ff474e7f12bd397ea75fcd)([#9069](https://www.github.com/tauri-apps/tauri/pull/9069)) Removed `debug_eprintln!` and `consume_unused_variable` macros. +- [`bb23511ea`](https://www.github.com/tauri-apps/tauri/commit/bb23511ea80bcaffbdebf057301e463fff268c90)([#9079](https://www.github.com/tauri-apps/tauri/pull/9079)) Changed `CapabiltyFile::List` enum variant to be a tuple-struct and added `CapabiltyFile::NamedList`. This allows more flexibility when parsing capabilties from JSON files. + ## \[2.0.0-beta.6] ### New Features diff --git a/core/tauri-utils/Cargo.toml b/core/tauri-utils/Cargo.toml index 6f7257966b94..e49f814a5ec8 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.6" +version = "2.0.0-beta.7" description = "Utilities for Tauri" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" diff --git a/core/tauri/CHANGELOG.md b/core/tauri/CHANGELOG.md index 137e2849d431..5088c727a66b 100644 --- a/core/tauri/CHANGELOG.md +++ b/core/tauri/CHANGELOG.md @@ -1,5 +1,43 @@ # Changelog +## \[2.0.0-beta.9] + +### New Features + +- [`46de49aaa`](https://www.github.com/tauri-apps/tauri/commit/46de49aaad4a148fafc31d591be0e2ed12256507)([#9059](https://www.github.com/tauri-apps/tauri/pull/9059)) Added `set_auto_resize` method for the webview. +- [`d1e77acd8`](https://www.github.com/tauri-apps/tauri/commit/d1e77acd8dfdf554b90b542513a58a2de1ef2360)([#9011](https://www.github.com/tauri-apps/tauri/pull/9011)) Add a new `Image` type in Rust and JS. + +### Enhancements + +- [`a77be9747`](https://www.github.com/tauri-apps/tauri/commit/a77be9747443ffc29c34160b55893483bb5f0d74)([#9038](https://www.github.com/tauri-apps/tauri/pull/9038)) Fallback to the postMessage IPC interface if we cannot reach the IPC custom protocol. +- [`e62ca4ee9`](https://www.github.com/tauri-apps/tauri/commit/e62ca4ee95f4308a6ad128d0f100c85634e28223)([#9070](https://www.github.com/tauri-apps/tauri/pull/9070)) Added a mechanism to preserve channel message order. +- [`03098b531`](https://www.github.com/tauri-apps/tauri/commit/03098b531562e4d58ab12ad9da2acb1eb3480497)([#9036](https://www.github.com/tauri-apps/tauri/pull/9036)) `Manager::add_capability` now allows adding a dynamically defined capability instead of only relying on static strings. +- [`b5c743276`](https://www.github.com/tauri-apps/tauri/commit/b5c7432769b84ffe22db721dcfc6af218026f5d4)([#9086](https://www.github.com/tauri-apps/tauri/pull/9086)) Use a strict content security policy on the isolation pattern iframe. +- [`46de49aaa`](https://www.github.com/tauri-apps/tauri/commit/46de49aaad4a148fafc31d591be0e2ed12256507)([#9059](https://www.github.com/tauri-apps/tauri/pull/9059)) When using the `unstable` feature flag, `WebviewWindow` will internally use the child webview interface for flexibility. + +### Bug Fixes + +- [`86fa339de`](https://www.github.com/tauri-apps/tauri/commit/86fa339de7b176efafa9b3e89f94dcad5fcd03da)([#9071](https://www.github.com/tauri-apps/tauri/pull/9071)) Fix compile time error in context generation when using `app.windows.windowEffects.color` +- [`947a50b8e`](https://www.github.com/tauri-apps/tauri/commit/947a50b8e28379c452c32eddc3e0101870e50055)([#9049](https://www.github.com/tauri-apps/tauri/pull/9049)) Fix `tauri migrate` for http plugin ACL. +- [`fe18012d3`](https://www.github.com/tauri-apps/tauri/commit/fe18012d30d1d8b3ffa10c8e321710eba644ef94)([#9072](https://www.github.com/tauri-apps/tauri/pull/9072)) Resolve symlinks on the filesystem scope check. +- [`6c0683224`](https://www.github.com/tauri-apps/tauri/commit/6c068322460300e9d56a4fac5b018d4c437daa9e)([#9068](https://www.github.com/tauri-apps/tauri/pull/9068)) Fixes scope resolution grouping scopes for all windows. + +### Dependencies + +- Upgraded to `tauri-build@2.0.0-beta.7` +- Upgraded to `tauri-utils@2.0.0-beta.7` +- Upgraded to `tauri-runtime@2.0.0-beta.7` +- Upgraded to `tauri-runtime-wry@2.0.0-beta.7` +- Upgraded to `tauri-macros@2.0.0-beta.7` + +### Breaking Changes + +- [`d1e77acd8`](https://www.github.com/tauri-apps/tauri/commit/d1e77acd8dfdf554b90b542513a58a2de1ef2360)([#9011](https://www.github.com/tauri-apps/tauri/pull/9011)) Renamed `icon-ico` and `icon-png` feature flags to `image-ico` and `image-png` respectively +- [`720357fd5`](https://www.github.com/tauri-apps/tauri/commit/720357fd5cd1fefef8485077dfb116ee39ef4ab4)([#9104](https://www.github.com/tauri-apps/tauri/pull/9104)) Removed `tauri::path::Result` and `tauri::path::Error` which were merely an unintentional re-export of `tauri::Result` and `tauri::Error` so use those instead. +- [`6c0683224`](https://www.github.com/tauri-apps/tauri/commit/6c068322460300e9d56a4fac5b018d4c437daa9e)([#9068](https://www.github.com/tauri-apps/tauri/pull/9068)) The `allows` and `denies` methods from `ipc::ScopeValue`, `ipc::CommandScope` and `ipc::GlobalScope` now returns `&Vec>` instead of `&Vec`. +- [`d1e77acd8`](https://www.github.com/tauri-apps/tauri/commit/d1e77acd8dfdf554b90b542513a58a2de1ef2360)([#9011](https://www.github.com/tauri-apps/tauri/pull/9011)) Removed `Context::default_window_icon_mut` and `Context::tray_icon_mut`, use `Context::set_default_window_icon` and `Context::set_tray_icon` instead. Also changed `Context::set_tray_icon` to accept `Option`. +- [`d1e77acd8`](https://www.github.com/tauri-apps/tauri/commit/d1e77acd8dfdf554b90b542513a58a2de1ef2360)([#9011](https://www.github.com/tauri-apps/tauri/pull/9011)) Removed `Icon` enum, use the new `Image` type instead. All APIs that previously accepted `Icon` have changed to accept `Image` instead. + ## \[2.0.0-beta.8] ### New Features diff --git a/core/tauri/Cargo.toml b/core/tauri/Cargo.toml index a3b2bfc39a5c..7d197f0cb65a 100644 --- a/core/tauri/Cargo.toml +++ b/core/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "2.0.0-beta.8" +version = "2.0.0-beta.9" 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.6", path = "../tauri-runtime" } -tauri-macros = { version = "2.0.0-beta.6", path = "../tauri-macros" } -tauri-utils = { version = "2.0.0-beta.6", features = [ "resources" ], path = "../tauri-utils" } -tauri-runtime-wry = { version = "2.0.0-beta.6", path = "../tauri-runtime-wry", optional = true } +tauri-runtime = { version = "2.0.0-beta.7", path = "../tauri-runtime" } +tauri-macros = { version = "2.0.0-beta.7", path = "../tauri-macros" } +tauri-utils = { version = "2.0.0-beta.7", features = [ "resources" ], path = "../tauri-utils" } +tauri-runtime-wry = { version = "2.0.0-beta.7", path = "../tauri-runtime-wry", optional = true } getrandom = "0.2" serde_repr = "0.1" state = "0.6" @@ -108,8 +108,8 @@ swift-rs = "1.0.6" [build-dependencies] heck = "0.4" -tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.0-beta.6" } -tauri-utils = { path = "../tauri-utils/", version = "2.0.0-beta.6", features = [ "build" ] } +tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.0-beta.7" } +tauri-utils = { path = "../tauri-utils/", version = "2.0.0-beta.7", features = [ "build" ] } [dev-dependencies] proptest = "1.4.0" diff --git a/tooling/api/CHANGELOG.md b/tooling/api/CHANGELOG.md index d466aecfcdb2..63891546ef2c 100644 --- a/tooling/api/CHANGELOG.md +++ b/tooling/api/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.0.0-beta.4] + +### New Features + +- [`d1e77acd8`](https://www.github.com/tauri-apps/tauri/commit/d1e77acd8dfdf554b90b542513a58a2de1ef2360)([#9011](https://www.github.com/tauri-apps/tauri/pull/9011)) Add a new `Image` type in Rust and JS. + +### Enhancements + +- [`e62ca4ee9`](https://www.github.com/tauri-apps/tauri/commit/e62ca4ee95f4308a6ad128d0f100c85634e28223)([#9070](https://www.github.com/tauri-apps/tauri/pull/9070)) Added a mechanism to preserve channel message order. + ## \[2.0.0-beta.3] ### New Features diff --git a/tooling/api/package.json b/tooling/api/package.json index f6efa6f5c4a7..9e567fc63793 100644 --- a/tooling/api/package.json +++ b/tooling/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "2.0.0-beta.3", + "version": "2.0.0-beta.4", "description": "Tauri API definitions", "funding": { "type": "opencollective", diff --git a/tooling/bundler/CHANGELOG.md b/tooling/bundler/CHANGELOG.md index 071f63947ec4..2c8859fee675 100644 --- a/tooling/bundler/CHANGELOG.md +++ b/tooling/bundler/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.1-beta.3] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.7` + ## \[2.0.1-beta.2] ### Dependencies diff --git a/tooling/bundler/Cargo.toml b/tooling/bundler/Cargo.toml index 583e601009ed..df7da67de859 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.2" +version = "2.0.1-beta.3" 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.6", path = "../../core/tauri-utils", features = [ "resources" ] } +tauri-utils = { version = "2.0.0-beta.7", 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 4d628662c3f8..d8c21d678ad9 100644 --- a/tooling/cli/CHANGELOG.md +++ b/tooling/cli/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## \[2.0.0-beta.7] + +### Enhancements + +- [`c68218b36`](https://www.github.com/tauri-apps/tauri/commit/c68218b362c417b62e56c7a2b5b32c13fe035a83)([#8990](https://www.github.com/tauri-apps/tauri/pull/8990)) Add `--no-bundle` flag for `tauri build` command to skip bundling. Previously `none` was used to skip bundling, it will now be treated as invalid format and a warning will be emitted instead. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-beta.7` +- Upgraded to `tauri-bundler@2.0.1-beta.3` +- [`4f7894176`](https://www.github.com/tauri-apps/tauri/commit/4f789417630b8a32dcf9c0daec448ea8182daca1)([#9034](https://www.github.com/tauri-apps/tauri/pull/9034)) Update dependencies, fix `log` compilation issue. + ## \[2.0.0-beta.6] ### Bug Fixes diff --git a/tooling/cli/Cargo.lock b/tooling/cli/Cargo.lock index 92a80d728a85..018dab8ff6d3 100644 --- a/tooling/cli/Cargo.lock +++ b/tooling/cli/Cargo.lock @@ -4760,7 +4760,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "2.0.1-beta.2" +version = "2.0.1-beta.3" dependencies = [ "anyhow", "ar", @@ -4788,7 +4788,7 @@ dependencies = [ "strsim 0.11.0", "tar", "tauri-icns", - "tauri-utils 2.0.0-beta.6", + "tauri-utils 2.0.0-beta.7", "tempfile", "thiserror", "time", @@ -4802,7 +4802,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "2.0.0-beta.6" +version = "2.0.0-beta.7" dependencies = [ "anyhow", "axum", @@ -4854,7 +4854,7 @@ dependencies = [ "tauri-bundler", "tauri-icns", "tauri-utils 1.5.3", - "tauri-utils 2.0.0-beta.6", + "tauri-utils 2.0.0-beta.7", "thiserror", "tokio", "toml 0.8.10", @@ -4920,7 +4920,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.0.0-beta.6" +version = "2.0.0-beta.7" dependencies = [ "aes-gcm", "ctor", diff --git a/tooling/cli/Cargo.toml b/tooling/cli/Cargo.toml index 8b07b50bd403..8f8d2bf8fbba 100644 --- a/tooling/cli/Cargo.toml +++ b/tooling/cli/Cargo.toml @@ -1,13 +1,13 @@ [workspace] -members = ["node"] +members = [ "node" ] [package] name = "tauri-cli" -version = "2.0.0-beta.6" -authors = ["Tauri Programme within The Commons Conservancy"] +version = "2.0.0-beta.7" +authors = [ "Tauri Programme within The Commons Conservancy" ] edition = "2021" rust-version = "1.70" -categories = ["gui", "web-programming"] +categories = [ "gui", "web-programming" ] license = "Apache-2.0 OR MIT" homepage = "https://tauri.app" repository = "https://github.com/tauri-apps/tauri" @@ -20,7 +20,7 @@ include = [ "*.rs", "tauri.gitignore", "tauri-dev-watcher.gitignore", - "LICENSE*", + "LICENSE*" ] [package.metadata.binstall] @@ -40,63 +40,53 @@ path = "src/main.rs" [dependencies] cargo-mobile2 = { version = "0.10.3", default-features = false } -jsonrpsee = { version = "0.22", features = ["server"] } +jsonrpsee = { version = "0.22", features = [ "server" ] } jsonrpsee-core = "0.22" -jsonrpsee-client-transport = { version = "0.22", features = ["ws"] } +jsonrpsee-client-transport = { version = "0.22", features = [ "ws" ] } jsonrpsee-ws-client = { version = "0.22", default-features = false } thiserror = "1" sublime_fuzzy = "0.7" clap_complete = "4" -clap = { version = "4.5", features = ["derive", "env"] } +clap = { version = "4.5", features = [ "derive", "env" ] } anyhow = "1.0" -tauri-bundler = { version = "2.0.1-beta.2", default-features = false, path = "../bundler" } +tauri-bundler = { version = "2.0.1-beta.3", default-features = false, path = "../bundler" } colored = "2.1" -serde = { version = "1.0", features = ["derive"] } -serde_json = { version = "1.0", features = ["preserve_order"] } +serde = { version = "1.0", features = [ "derive" ] } +serde_json = { version = "1.0", features = [ "preserve_order" ] } notify = "6.1" notify-debouncer-mini = "0.4" shared_child = "1.0" duct = "0.13" -toml_edit = { version = "0.22", features = ["serde"] } +toml_edit = { version = "0.22", features = [ "serde" ] } json-patch = "1.2" -tauri-utils = { version = "2.0.0-beta.6", 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", -] } +tauri-utils = { version = "2.0.0-beta.7", 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" handlebars = "5.1" include_dir = "0.7" minisign = "=0.7.3" base64 = "0.22.0" -ureq = { version = "2.9.6", default-features = false, features = ["gzip"] } +ureq = { version = "2.9.6", default-features = false, features = [ "gzip" ] } os_info = "3" semver = "1.0" regex = "1.10.3" unicode-width = "0.1" zeroize = "1.7" -heck = { version = "0.4", features = ["unicode"] } +heck = { version = "0.4", features = [ "unicode" ] } dialoguer = "0.11" -url = { version = "2.5", features = ["serde"] } +url = { version = "2.5", features = [ "serde" ] } os_pipe = "1" ignore = "0.4" ctrlc = "3.4" -log = { version = "0.4.21", features = ["kv", "kv_std"] } +log = { version = "0.4.21", features = [ "kv", "kv_std" ] } env_logger = "0.11.3" icns = { package = "tauri-icns", version = "0.1" } -image = { version = "0.24", default-features = false, features = ["ico"] } -axum = { version = "0.7.4", features = ["ws"] } +image = { version = "0.24", default-features = false, features = [ "ico" ] } +axum = { version = "0.7.4", features = [ "ws" ] } html5ever = "0.26" kuchiki = { package = "kuchikiki", version = "0.8" } -tokio = { version = "1", features = ["macros", "sync"] } +tokio = { version = "1", features = [ "macros", "sync" ] } common-path = "1" serde-value = "0.7.0" itertools = "0.12" @@ -107,13 +97,7 @@ dunce = "1" glob = "0.3" [target."cfg(windows)".dependencies] -winapi = { version = "0.3", features = [ - "handleapi", - "processenv", - "winbase", - "wincon", - "winnt", -] } +winapi = { version = "0.3", features = [ "handleapi", "processenv", "winbase", "wincon", "winnt" ] } cc = "1" [target."cfg(unix)".dependencies] @@ -123,18 +107,18 @@ libc = "0.2" plist = "1" [features] -default = ["rustls"] +default = [ "rustls" ] native-tls = [ "tauri-bundler/native-tls", "cargo-mobile2/native-tls", - "ureq/native-tls", + "ureq/native-tls" ] native-tls-vendored = [ "native-tls", "tauri-bundler/native-tls-vendored", - "cargo-mobile2/openssl-vendored", + "cargo-mobile2/openssl-vendored" ] -rustls = ["tauri-bundler/rustls", "cargo-mobile2/rustls", "ureq/tls"] +rustls = [ "tauri-bundler/rustls", "cargo-mobile2/rustls", "ureq/tls" ] [profile.release-size-optimized] inherits = "release" diff --git a/tooling/cli/metadata-v2.json b/tooling/cli/metadata-v2.json index 015902d26b67..e2cae31863e7 100644 --- a/tooling/cli/metadata-v2.json +++ b/tooling/cli/metadata-v2.json @@ -1,9 +1,9 @@ { "cli.js": { - "version": "2.0.0-beta.6", + "version": "2.0.0-beta.7", "node": ">= 10.0.0" }, - "tauri": "2.0.0-beta.8", - "tauri-build": "2.0.0-beta.6", - "tauri-plugin": "2.0.0-beta.6" + "tauri": "2.0.0-beta.9", + "tauri-build": "2.0.0-beta.7", + "tauri-plugin": "2.0.0-beta.7" } diff --git a/tooling/cli/node/CHANGELOG.md b/tooling/cli/node/CHANGELOG.md index 2a984e1b549c..163a8d1542be 100644 --- a/tooling/cli/node/CHANGELOG.md +++ b/tooling/cli/node/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.0.0-beta.7] + +### Enhancements + +- [`c68218b36`](https://www.github.com/tauri-apps/tauri/commit/c68218b362c417b62e56c7a2b5b32c13fe035a83)([#8990](https://www.github.com/tauri-apps/tauri/pull/8990)) Add `--no-bundle` flag for `tauri build` command to skip bundling. Previously `none` was used to skip bundling, it will now be treated as invalid format and a warning will be emitted instead. + +### Dependencies + +- Upgraded to `tauri-cli@2.0.0-beta.7` + ## \[2.0.0-beta.6] ### Bug Fixes diff --git a/tooling/cli/node/package.json b/tooling/cli/node/package.json index 6bc51bcb5cd3..535d90acdc24 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.6", + "version": "2.0.0-beta.7", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective",