diff --git a/.changes/pre.json b/.changes/pre.json index 2e1570594..cb9271778 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -23,6 +23,7 @@ ".changes/bundler-deep-link-reg-path.md", ".changes/bundler-license.md", ".changes/bundler-long_description.md", + ".changes/bundler-nsis-tauri-utils.md", ".changes/bundler-r-flag.md", ".changes/bundler-resources-unix.md", ".changes/bundler-rpm-license.md", @@ -48,6 +49,7 @@ ".changes/cli-update-deps-fix-log.md", ".changes/cli-updater-unkown-fields.md", ".changes/cli-windows-build-tools-detect-utf8.md", + ".changes/cli-windows-sys.md", ".changes/closeable-maximizable.md", ".changes/codegen-capabilities-attribute.md", ".changes/codegen-set-assets.md", @@ -68,14 +70,18 @@ ".changes/core-menu-resources-deadlock.md", ".changes/core-once-event-return-event-id.md", ".changes/core-path-basename-replace.md", + ".changes/core-specta-integration.md", ".changes/core-start-resize-permission.md", ".changes/core-window-hasdisplayhandle.md", ".changes/csp-header-linux.md", + ".changes/cursor_position.md", + ".changes/cursor_position_js.md", ".changes/deb-rpm-post-pre-scripts-bundler.md", ".changes/deb-rpm-post-pre-scripts-config.md", ".changes/deb-rpm-provides-conflicts-replaces.md", ".changes/dev-fn.md", ".changes/downgrade-minisign.md", + ".changes/drop-nsis-applicationid.md", ".changes/enhance-event-emit.md", ".changes/enhance-ipc-url-check.md", ".changes/enhance-resource-dir-resolution.md", @@ -124,6 +130,7 @@ ".changes/image-size-refactor.md", ".changes/inline-plugins.md", ".changes/ios-signing-optional.md", + ".changes/ipc-allow-headers.md", ".changes/ipc-post-message-fallback.md", ".changes/ipc-request-param-refactor.md", ".changes/isolation-pattern-key-extractable.md", @@ -136,6 +143,7 @@ ".changes/permission-platforms.md", ".changes/permission-table.md", ".changes/plugin-global-api-script.md", + ".changes/plugin-init-script-context.md", ".changes/preserve-channel-order.md", ".changes/progress-bar-state-refactor.md", ".changes/re-export-progress-bar-status.md", diff --git a/Cargo.lock b/Cargo.lock index cd86135eb..37c1425d3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3527,7 +3527,7 @@ checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" [[package]] name = "tauri" -version = "2.0.0-beta.16" +version = "2.0.0-beta.17" dependencies = [ "anyhow", "bytes", @@ -4885,9 +4885,9 @@ dependencies = [ [[package]] name = "wry" -version = "0.39.2" +version = "0.39.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a4e9d37c0bbf497cd42bc2e0ba12e0040ab42e454f2907dc1e9ddb2eaf52d34" +checksum = "6e180ac2740d6cb4d5cec0abf63eacbea90f1b7e5e3803043b13c1c84c4b7884" dependencies = [ "base64 0.22.0", "block", diff --git a/core/tauri-runtime-wry/Cargo.toml b/core/tauri-runtime-wry/Cargo.toml index fc1220d87..be4b0e488 100644 --- a/core/tauri-runtime-wry/Cargo.toml +++ b/core/tauri-runtime-wry/Cargo.toml @@ -13,7 +13,7 @@ edition = { workspace = true } rust-version = { workspace = true } [dependencies] -wry = { version = "0.39", default-features = false, features = [ "drag-drop", "protocol", "os-webview" ] } +wry = { version = "0.39.3", 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.13", path = "../tauri-runtime" } tauri-utils = { version = "2.0.0-beta.13", path = "../tauri-utils" } diff --git a/core/tauri/CHANGELOG.md b/core/tauri/CHANGELOG.md index 7a0c86957..ad6f1608c 100644 --- a/core/tauri/CHANGELOG.md +++ b/core/tauri/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## \[2.0.0-beta.17] + +### New Features + +- [`12b4159bd`](https://www.github.com/tauri-apps/tauri/commit/12b4159bdaf6e1f8d7b58ed8ff96345fa69c2ef0)([#9392](https://www.github.com/tauri-apps/tauri/pull/9392)) Add `specta` feature flag which adds `specta` support for `AppHandle`, `State`, `Window`, `Webview` and `WebviewWindow` types. +- [`477bb8cd4`](https://www.github.com/tauri-apps/tauri/commit/477bb8cd4ea88ade3f6c1f268ad1701a68150161)([#9297](https://www.github.com/tauri-apps/tauri/pull/9297)) Add `App/AppHandle/Window/Webview/WebviewWindow::cursor_position` getter to get the current cursor position. + +### Enhancements + +- [`eff778b8f`](https://www.github.com/tauri-apps/tauri/commit/eff778b8f0c675fda3f6f6d1041bc94afd765d1c)([#9571](https://www.github.com/tauri-apps/tauri/pull/9571)) Run each plugin initialization script on its own context so they do not interfere with each other or the Tauri init script. + +### Bug Fixes + +- [`98101cb17`](https://www.github.com/tauri-apps/tauri/commit/98101cb17fe49f305a75fcb4267f82d89f7ac0c3)([#9561](https://www.github.com/tauri-apps/tauri/pull/9561)) Allow any headers on the IPC custom protocol. + ## \[2.0.0-beta.16] ### New Features diff --git a/core/tauri/Cargo.toml b/core/tauri/Cargo.toml index debb529df..d31ad2f3d 100644 --- a/core/tauri/Cargo.toml +++ b/core/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "2.0.0-beta.16" +version = "2.0.0-beta.17" description = "Make tiny, secure apps for all desktop platforms with Tauri" exclude = [ "/test", "/.scripts", "CHANGELOG.md", "/target" ] readme = "README.md" @@ -75,7 +75,7 @@ tracing = { version = "0.1", optional = true } heck = "0.5" log = "0.4" dunce = "1" -specta = { version = "^2.0.0-rc.9", optional = true, default-features = false, features = ["function"] } +specta = { version = "^2.0.0-rc.9", optional = true, default-features = false, features = [ "function" ] } [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\", target_os = \"windows\", target_os = \"macos\"))".dependencies] muda = { version = "0.13", default-features = false, features = [ "serde" ] } @@ -158,7 +158,7 @@ config-toml = [ "tauri-macros/config-toml" ] image-ico = [ "image/ico" ] image-png = [ "image/png" ] macos-proxy = [ "tauri-runtime-wry/macos-proxy" ] -specta = ["dep:specta"] +specta = [ "dep:specta" ] [[example]] name = "commands" diff --git a/tooling/api/CHANGELOG.md b/tooling/api/CHANGELOG.md index 5e9427ba6..314e2e2ec 100644 --- a/tooling/api/CHANGELOG.md +++ b/tooling/api/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-beta.10] + +### New Features + +- [`477bb8cd4`](https://www.github.com/tauri-apps/tauri/commit/477bb8cd4ea88ade3f6c1f268ad1701a68150161)([#9297](https://www.github.com/tauri-apps/tauri/pull/9297)) Add `cursorPosition` function in `window` module to get the current cursor position. + ## \[2.0.0-beta.9] ### New Features diff --git a/tooling/api/package.json b/tooling/api/package.json index 55183fcdf..ec9a50428 100644 --- a/tooling/api/package.json +++ b/tooling/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "2.0.0-beta.9", + "version": "2.0.0-beta.10", "description": "Tauri API definitions", "funding": { "type": "opencollective", diff --git a/tooling/bundler/CHANGELOG.md b/tooling/bundler/CHANGELOG.md index acfd9bff1..2991072e9 100644 --- a/tooling/bundler/CHANGELOG.md +++ b/tooling/bundler/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.0.1-beta.11] + +### Enhancements + +- [`128c58000`](https://www.github.com/tauri-apps/tauri/commit/128c5800091b7fda54bf7d157b785066281e0c74)([#9604](https://www.github.com/tauri-apps/tauri/pull/9604)) Update `nsis_tauri_utils` plugin to `0.3` and use the built-in NSIS download plugin, which reduces the NSIS installer size by 775kb. +- [`68c39b8c0`](https://www.github.com/tauri-apps/tauri/commit/68c39b8c0ca79e2fa9e250fccdf966136af18c0e)([#9527](https://www.github.com/tauri-apps/tauri/pull/9527)) Use nsis's built-in COM plugin instead of `ApplicationID` plugin, this reduces the installer size by 100 KB, and also fixes pinned shortcut not getting cleaned up on uninstall. + ## \[2.0.1-beta.10] ### New Features diff --git a/tooling/bundler/Cargo.toml b/tooling/bundler/Cargo.toml index dccbf800b..8b1e8d1df 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.10" +version = "2.0.1-beta.11" authors = [ "George Burton ", "Tauri Programme within The Commons Conservancy" diff --git a/tooling/cli/CHANGELOG.md b/tooling/cli/CHANGELOG.md index 6e7b1f804..1e77ef730 100644 --- a/tooling/cli/CHANGELOG.md +++ b/tooling/cli/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.0.0-beta.15] + +### Bug Fixes + +- [`3f0805488`](https://www.github.com/tauri-apps/tauri/commit/3f0805488506e013e15cfb3cc1cfc8c2c5f84bd2)([#9603](https://www.github.com/tauri-apps/tauri/pull/9603)) Use `windows-sys` crate instead of `winapi` which fixes installing the published cli from crates.io using `cargo install tauri-cli --version "^2.0.0-beta"`. + +### Dependencies + +- Upgraded to `tauri-bundler@2.0.1-beta.11` + ## \[2.0.0-beta.14] ### Enhancements diff --git a/tooling/cli/Cargo.lock b/tooling/cli/Cargo.lock index eceac9f54..c732623e9 100644 --- a/tooling/cli/Cargo.lock +++ b/tooling/cli/Cargo.lock @@ -4853,7 +4853,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "2.0.1-beta.10" +version = "2.0.1-beta.11" dependencies = [ "anyhow", "ar", @@ -4895,7 +4895,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "2.0.0-beta.14" +version = "2.0.0-beta.15" dependencies = [ "anyhow", "axum", diff --git a/tooling/cli/Cargo.toml b/tooling/cli/Cargo.toml index 6bd75119f..1ac3fb715 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.14" +version = "2.0.0-beta.15" 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.10", default-features = false, path = "../bundler" } +tauri-bundler = { version = "2.0.1-beta.11", 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 1be24f99d..f399c75ea 100644 --- a/tooling/cli/metadata-v2.json +++ b/tooling/cli/metadata-v2.json @@ -1,9 +1,9 @@ { "cli.js": { - "version": "2.0.0-beta.14", + "version": "2.0.0-beta.15", "node": ">= 10.0.0" }, - "tauri": "2.0.0-beta.16", + "tauri": "2.0.0-beta.17", "tauri-build": "2.0.0-beta.13", "tauri-plugin": "2.0.0-beta.13" } diff --git a/tooling/cli/node/CHANGELOG.md b/tooling/cli/node/CHANGELOG.md index f20325225..b018ca81e 100644 --- a/tooling/cli/node/CHANGELOG.md +++ b/tooling/cli/node/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-beta.15] + +### Dependencies + +- Upgraded to `tauri-cli@2.0.0-beta.15` + ## \[2.0.0-beta.14] ### Enhancements diff --git a/tooling/cli/node/package.json b/tooling/cli/node/package.json index 3bf84aa20..10063839a 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.14", + "version": "2.0.0-beta.15", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective",