diff --git a/.changes/pre.json b/.changes/pre.json index 73c50026..fb58405d 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -2,6 +2,7 @@ "tag": "beta", "changes": [ ".changes/beta.md", + ".changes/clipboard-expose-struct.md", ".changes/clipboard-html.md", ".changes/clipboard-manager-image.md", ".changes/clipboard-text-command-rename.md", @@ -11,11 +12,17 @@ ".changes/dialog-path-return-mismatch.md", ".changes/enhance-fs-scope-type.md", ".changes/enhance-http-scope.md", + ".changes/feat-log-attachlogger.md", + ".changes/feat-single-instance-semver.md", + ".changes/feat-websocket-tls-connector.md", ".changes/file-autogen-fix.md", ".changes/fix-autolaunch-macos.md", ".changes/fix-fs-watcher-basedir.md", + ".changes/fix-http-default-features.md", ".changes/fix-http-scope-url-match.md", ".changes/fix-shutdown-timing.md", + ".changes/fix-updater-cleanup.md", + ".changes/fix-updater-default-features.md", ".changes/fix-updater-installer-args-deserialization.md", ".changes/fix-updater-installmode.md", ".changes/fix-updater-powershell-flashing.md", @@ -27,13 +34,22 @@ ".changes/msrv-1.75.md", ".changes/notification-fix-dev-check.md", ".changes/public-with-store.md", + ".changes/remove-unc-path-prefix.md", + ".changes/reqwest-0.12.md", + ".changes/scoped-resources-table.md", ".changes/shell-fix-schema-command-property-name.md", ".changes/shell-shellexcute.md", ".changes/single-instance.macos.md", + ".changes/tauri-beta-14-dependencies.md", ".changes/tauri-beta-14.md", + ".changes/tauri-beta-15.md", ".changes/tauri-beta-4.md", ".changes/tauri-beta-8.md", ".changes/tauri-beta-9.md", + ".changes/upload-returnval.md", + ".changes/window-state-custom-filename.md", + ".changes/window-state-default-filename.md", + ".changes/window-state-js-binding.md", ".changes/window-state-json.md" ] } diff --git a/examples/api/CHANGELOG.md b/examples/api/CHANGELOG.md index 4133e4f0..d9e8e63c 100644 --- a/examples/api/CHANGELOG.md +++ b/examples/api/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-beta.4] + +### Dependencies + +- Upgraded to `log-js@2.0.0-beta.3` + ## \[2.0.0-beta.3] ### Dependencies diff --git a/examples/api/package.json b/examples/api/package.json index 719f1a4e..bdeedee9 100644 --- a/examples/api/package.json +++ b/examples/api/package.json @@ -1,7 +1,7 @@ { "name": "svelte-app", "private": true, - "version": "2.0.0-beta.3", + "version": "2.0.0-beta.4", "type": "module", "scripts": { "dev": "vite --clearScreen false", diff --git a/examples/api/src-tauri/CHANGELOG.md b/examples/api/src-tauri/CHANGELOG.md index 5f6e98ec..647c0a96 100644 --- a/examples/api/src-tauri/CHANGELOG.md +++ b/examples/api/src-tauri/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.0.0-beta.5] + +### Dependencies + +- Upgraded to `clipboard-manager@2.1.0-beta.1` +- Upgraded to `http@2.0.0-beta.5` +- Upgraded to `updater@2.0.0-beta.4` +- Upgraded to `dialog@2.0.0-beta.5` +- Upgraded to `fs@2.0.0-beta.5` + ## \[2.0.0-beta.4] ### Dependencies diff --git a/examples/api/src-tauri/Cargo.toml b/examples/api/src-tauri/Cargo.toml index 9881602f..d2435b1d 100644 --- a/examples/api/src-tauri/Cargo.toml +++ b/examples/api/src-tauri/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "api" publish = false -version = "2.0.0-beta.4" +version = "2.0.0-beta.5" description = "An example Tauri Application showcasing the api" edition = "2021" rust-version = { workspace = true } @@ -20,10 +20,10 @@ serde = { workspace = true } tiny_http = "0.12" log = { workspace = true } tauri-plugin-log = { path = "../../../plugins/log", version = "2.0.0-beta.3" } -tauri-plugin-fs = { path = "../../../plugins/fs", version = "2.0.0-beta.4", features = [ "watch" ] } -tauri-plugin-clipboard-manager = { path = "../../../plugins/clipboard-manager", version = "2.1.0-beta.0" } -tauri-plugin-dialog = { path = "../../../plugins/dialog", version = "2.0.0-beta.4" } -tauri-plugin-http = { path = "../../../plugins/http", features = [ "multipart" ], version = "2.0.0-beta.4" } +tauri-plugin-fs = { path = "../../../plugins/fs", version = "2.0.0-beta.5", features = [ "watch" ] } +tauri-plugin-clipboard-manager = { path = "../../../plugins/clipboard-manager", version = "2.1.0-beta.1" } +tauri-plugin-dialog = { path = "../../../plugins/dialog", version = "2.0.0-beta.5" } +tauri-plugin-http = { path = "../../../plugins/http", features = [ "multipart" ], version = "2.0.0-beta.5" } tauri-plugin-notification = { path = "../../../plugins/notification", version = "2.0.0-beta.3", features = [ "windows7-compat" ] } tauri-plugin-os = { path = "../../../plugins/os", version = "2.0.0-beta.3" } tauri-plugin-process = { path = "../../../plugins/process", version = "2.0.0-beta.3" } @@ -43,7 +43,7 @@ tauri-plugin-shell = { path = "../../../plugins/shell", version = "2.0.0-beta.3" [target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies] tauri-plugin-cli = { path = "../../../plugins/cli", version = "2.0.0-beta.3" } tauri-plugin-global-shortcut = { path = "../../../plugins/global-shortcut", version = "2.0.0-beta.3" } -tauri-plugin-updater = { path = "../../../plugins/updater", version = "2.0.0-beta.3" } +tauri-plugin-updater = { path = "../../../plugins/updater", version = "2.0.0-beta.4" } [target."cfg(any(target_os = \"android\", target_os = \"ios\"))".dependencies] tauri-plugin-barcode-scanner = { path = "../../../plugins/barcode-scanner/", version = "2.0.0-beta.3" } diff --git a/plugins/authenticator/CHANGELOG.md b/plugins/authenticator/CHANGELOG.md index 5b48ed78..4b37773e 100644 --- a/plugins/authenticator/CHANGELOG.md +++ b/plugins/authenticator/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## \[2.0.0-beta.4] + +- [`7e2fcc5`](https://github.com/tauri-apps/plugins-workspace/commit/7e2fcc5e74df7c3c718e40f75bfb0eafc7d69d8d)([#1146](https://github.com/tauri-apps/plugins-workspace/pull/1146)) Update dependencies to align with tauri 2.0.0-beta.14. + ## \[2.0.0-beta.3] - [`a04ea2f`](https://github.com/tauri-apps/plugins-workspace/commit/a04ea2f38294d5a3987578283badc8eec87a7752)([#1071](https://github.com/tauri-apps/plugins-workspace/pull/1071)) The global API script is now only added to the binary when the `withGlobalTauri` config is true. diff --git a/plugins/authenticator/Cargo.toml b/plugins/authenticator/Cargo.toml index 37531f58..209e3955 100644 --- a/plugins/authenticator/Cargo.toml +++ b/plugins/authenticator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-authenticator" -version = "2.0.0-beta.3" +version = "2.0.0-beta.4" description = "Use hardware security-keys in your Tauri App." authors = { workspace = true } license = { workspace = true } @@ -10,11 +10,11 @@ repository = { workspace = true } links = "tauri-plugin-authenticator" [package.metadata.docs.rs] -rustc-args = ["--cfg", "docsrs"] -rustdoc-args = ["--cfg", "docsrs"] +rustc-args = [ "--cfg", "docsrs" ] +rustdoc-args = [ "--cfg", "docsrs" ] [build-dependencies] -tauri-plugin = { workspace = true, features = ["build"] } +tauri-plugin = { workspace = true, features = [ "build" ] } [dependencies] serde = { workspace = true } diff --git a/plugins/clipboard-manager/CHANGELOG.md b/plugins/clipboard-manager/CHANGELOG.md index c7ea5067..c41653b5 100644 --- a/plugins/clipboard-manager/CHANGELOG.md +++ b/plugins/clipboard-manager/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.1.0-beta.1] + +- [`27b258c`](https://github.com/tauri-apps/plugins-workspace/commit/27b258cf31ae5557c99ae66537fb9196368d4d8b)([#1185](https://github.com/tauri-apps/plugins-workspace/pull/1185)) Expose `Clipboard` struct +- [`e3d41f4`](https://github.com/tauri-apps/plugins-workspace/commit/e3d41f4011bd3ea3ce281bb38bbe31d3709f8e0f)([#1191](https://github.com/tauri-apps/plugins-workspace/pull/1191)) Internally use the webview scoped resources table instead of the app one, so other webviews can't access other webviews resources. +- [`e3d41f4`](https://github.com/tauri-apps/plugins-workspace/commit/e3d41f4011bd3ea3ce281bb38bbe31d3709f8e0f)([#1191](https://github.com/tauri-apps/plugins-workspace/pull/1191)) Update for tauri 2.0.0-beta.15. + ## \[2.1.0-beta.0] - [`9dec960`](https://github.com/tauri-apps/plugins-workspace/commit/9dec9605ed1ce19dbef697e55debddf9008ecba1)([#845](https://github.com/tauri-apps/plugins-workspace/pull/845)) Add support for `read_image` and `write_image` to the clipboard plugin (desktop). @@ -51,7 +57,7 @@ - [`717ae67`](https://github.com/tauri-apps/plugins-workspace/commit/717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! 717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! -`](https://github.com/tauri-apps/plugins-workspace/commit/717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! + \`]\(https://github.com/tauri-apps/plugins-workspace/commit/717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! te to alpha.11. ## \[2.0.0-alpha.0] diff --git a/plugins/clipboard-manager/Cargo.toml b/plugins/clipboard-manager/Cargo.toml index 68add942..a008ce09 100644 --- a/plugins/clipboard-manager/Cargo.toml +++ b/plugins/clipboard-manager/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-clipboard-manager" -version = "2.1.0-beta.0" +version = "2.1.0-beta.1" description = "Read and write to the system clipboard." edition = { workspace = true } authors = { workspace = true } @@ -10,12 +10,12 @@ repository = { workspace = true } links = "tauri-plugin-clipboard-manager" [package.metadata.docs.rs] -rustc-args = ["--cfg", "docsrs"] -rustdoc-args = ["--cfg", "docsrs"] -targets = ["x86_64-unknown-linux-gnu", "x86_64-linux-android"] +rustc-args = [ "--cfg", "docsrs" ] +rustdoc-args = [ "--cfg", "docsrs" ] +targets = [ "x86_64-unknown-linux-gnu", "x86_64-linux-android" ] [build-dependencies] -tauri-plugin = { workspace = true, features = ["build"] } +tauri-plugin = { workspace = true, features = [ "build" ] } [dependencies] serde = { workspace = true } diff --git a/plugins/dialog/CHANGELOG.md b/plugins/dialog/CHANGELOG.md index aac54e10..9555fe8e 100644 --- a/plugins/dialog/CHANGELOG.md +++ b/plugins/dialog/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## \[2.0.0-beta.5] + +- [`bb51a41`](https://github.com/tauri-apps/plugins-workspace/commit/bb51a41d67ebf989e8aedf10c4b1a7f9514d1bdf)([#1168](https://github.com/tauri-apps/plugins-workspace/pull/1168)) **Breaking Change:** All apis that return paths to the frontend will now remove the `\\?\` UNC prefix on Windows. + +### Dependencies + +- Upgraded to `fs@2.0.0-beta.5` + ## \[2.0.0-beta.4] - [`4cd8112`](https://github.com/tauri-apps/plugins-workspace/commit/4cd81126fdf25e1847546f8fdbd924aa4bfeabb5)([#1056](https://github.com/tauri-apps/plugins-workspace/pull/1056)) Fixed an issue where dialogs on android would return the Content URI instead of the file path diff --git a/plugins/dialog/Cargo.toml b/plugins/dialog/Cargo.toml index 4db6b077..109c71ac 100644 --- a/plugins/dialog/Cargo.toml +++ b/plugins/dialog/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-dialog" -version = "2.0.0-beta.4" +version = "2.0.0-beta.5" description = "Native system dialogs for opening and saving files along with message dialogs on your Tauri application." edition = { workspace = true } authors = { workspace = true } @@ -10,12 +10,12 @@ repository = { workspace = true } links = "tauri-plugin-dialog" [package.metadata.docs.rs] -rustc-args = ["--cfg", "docsrs"] -rustdoc-args = ["--cfg", "docsrs"] -targets = ["x86_64-unknown-linux-gnu", "x86_64-linux-android"] +rustc-args = [ "--cfg", "docsrs" ] +rustdoc-args = [ "--cfg", "docsrs" ] +targets = [ "x86_64-unknown-linux-gnu", "x86_64-linux-android" ] [build-dependencies] -tauri-plugin = { workspace = true, features = ["build"] } +tauri-plugin = { workspace = true, features = [ "build" ] } [dependencies] serde = { workspace = true } @@ -24,12 +24,8 @@ tauri = { workspace = true } log = { workspace = true } thiserror = { workspace = true } dunce = { workspace = true } -tauri-plugin-fs = { path = "../fs", version = "2.0.0-beta.4" } +tauri-plugin-fs = { path = "../fs", version = "2.0.0-beta.5" } [target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies] -rfd = { version = "0.14", default-features = false, features = [ - "tokio", - "gtk3", - "common-controls-v6", -] } +rfd = { version = "0.14", default-features = false, features = [ "tokio", "gtk3", "common-controls-v6" ] } raw-window-handle = "0.6" diff --git a/plugins/fs/CHANGELOG.md b/plugins/fs/CHANGELOG.md index 4aeb8a3b..19adab71 100644 --- a/plugins/fs/CHANGELOG.md +++ b/plugins/fs/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-beta.5] + +- [`bb51a41`](https://github.com/tauri-apps/plugins-workspace/commit/bb51a41d67ebf989e8aedf10c4b1a7f9514d1bdf)([#1168](https://github.com/tauri-apps/plugins-workspace/pull/1168)) **Breaking Change:** All apis that return paths to the frontend will now remove the `\\?\` UNC prefix on Windows. +- [`e3d41f4`](https://github.com/tauri-apps/plugins-workspace/commit/e3d41f4011bd3ea3ce281bb38bbe31d3709f8e0f)([#1191](https://github.com/tauri-apps/plugins-workspace/pull/1191)) Internally use the webview scoped resources table instead of the app one, so other webviews can't access other webviews resources. +- [`e3d41f4`](https://github.com/tauri-apps/plugins-workspace/commit/e3d41f4011bd3ea3ce281bb38bbe31d3709f8e0f)([#1191](https://github.com/tauri-apps/plugins-workspace/pull/1191)) Update for tauri 2.0.0-beta.15. + ## \[2.0.0-beta.4] - [`9c2fb93`](https://github.com/tauri-apps/plugins-workspace/commit/9c2fb9306ecd3936a2aef56b3c012899036db098) Enhance the scope type to also allow a plain string representing the path to allow or deny. diff --git a/plugins/fs/Cargo.toml b/plugins/fs/Cargo.toml index 8bcdcf86..7363cf28 100644 --- a/plugins/fs/Cargo.toml +++ b/plugins/fs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-fs" -version = "2.0.0-beta.4" +version = "2.0.0-beta.5" description = "Access the file system." authors = { workspace = true } license = { workspace = true } @@ -10,11 +10,11 @@ repository = { workspace = true } links = "tauri-plugin-fs" [package.metadata.docs.rs] -rustc-args = ["--cfg", "docsrs"] -rustdoc-args = ["--cfg", "docsrs"] +rustc-args = [ "--cfg", "docsrs" ] +rustdoc-args = [ "--cfg", "docsrs" ] [build-dependencies] -tauri-plugin = { workspace = true, features = ["build"] } +tauri-plugin = { workspace = true, features = [ "build" ] } schemars = { workspace = true } serde = { workspace = true } @@ -26,10 +26,10 @@ tauri = { workspace = true } thiserror = { workspace = true } url = { workspace = true } anyhow = "1" -uuid = { version = "1", features = ["v4"] } +uuid = { version = "1", features = [ "v4" ] } glob = "0.3" -notify = { version = "6", optional = true, features = ["serde"] } +notify = { version = "6", optional = true, features = [ "serde" ] } notify-debouncer-full = { version = "0.3", optional = true } [features] -watch = ["notify", "notify-debouncer-full"] +watch = [ "notify", "notify-debouncer-full" ] diff --git a/plugins/http/CHANGELOG.md b/plugins/http/CHANGELOG.md index 3e4dc268..1a4bc68c 100644 --- a/plugins/http/CHANGELOG.md +++ b/plugins/http/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[2.0.0-beta.5] + +- [`500ff10`](https://github.com/tauri-apps/plugins-workspace/commit/500ff10fbd89fdfc73caf9d153029dad567b4ff1)([#1166](https://github.com/tauri-apps/plugins-workspace/pull/1166)) **Breaking change:** Removed the `default-tls` feature flag. The `rustls-tls`, `http2`, `macos-system-configuration`, and `charset` feature flags are now enabled by default. +- [`e3d41f4`](https://github.com/tauri-apps/plugins-workspace/commit/e3d41f4011bd3ea3ce281bb38bbe31d3709f8e0f)([#1191](https://github.com/tauri-apps/plugins-workspace/pull/1191)) Internally use the webview scoped resources table instead of the app one, so other webviews can't access other webviews resources. +- [`7e2fcc5`](https://github.com/tauri-apps/plugins-workspace/commit/7e2fcc5e74df7c3c718e40f75bfb0eafc7d69d8d)([#1146](https://github.com/tauri-apps/plugins-workspace/pull/1146)) Update dependencies to align with tauri 2.0.0-beta.14. +- [`e3d41f4`](https://github.com/tauri-apps/plugins-workspace/commit/e3d41f4011bd3ea3ce281bb38bbe31d3709f8e0f)([#1191](https://github.com/tauri-apps/plugins-workspace/pull/1191)) Update for tauri 2.0.0-beta.15. + +### Dependencies + +- Upgraded to `fs@2.0.0-beta.5` + ## \[2.0.0-beta.4] ### Dependencies diff --git a/plugins/http/Cargo.toml b/plugins/http/Cargo.toml index 193ef4ca..ae5c03a9 100644 --- a/plugins/http/Cargo.toml +++ b/plugins/http/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-http" -version = "2.0.0-beta.4" +version = "2.0.0-beta.5" description = "Access an HTTP client written in Rust." edition = { workspace = true } authors = { workspace = true } @@ -10,11 +10,11 @@ repository = { workspace = true } links = "tauri-plugin-http" [package.metadata.docs.rs] -rustc-args = ["--cfg", "docsrs"] -rustdoc-args = ["--cfg", "docsrs"] +rustc-args = [ "--cfg", "docsrs" ] +rustdoc-args = [ "--cfg", "docsrs" ] [build-dependencies] -tauri-plugin = { workspace = true, features = ["build"] } +tauri-plugin = { workspace = true, features = [ "build" ] } schemars = { workspace = true } serde = { workspace = true } url = { workspace = true } @@ -26,7 +26,7 @@ serde = { workspace = true } serde_json = { workspace = true } tauri = { workspace = true } thiserror = { workspace = true } -tauri-plugin-fs = { path = "../fs", version = "2.0.0-beta.4" } +tauri-plugin-fs = { path = "../fs", version = "2.0.0-beta.5" } urlpattern = "0.2" regex = "1" http = "1" @@ -35,25 +35,30 @@ url = { workspace = true } data-url = "0.3" [features] -default = ["rustls-tls", "http2", "charset", "macos-system-configuration"] -multipart = ["reqwest/multipart"] -json = ["reqwest/json"] -stream = ["reqwest/stream"] -native-tls = ["reqwest/native-tls"] -native-tls-vendored = ["reqwest/native-tls-vendored"] -native-tls-alpn = ["reqwest/native-tls-alpn"] -rustls-tls = ["reqwest/rustls-tls"] -rustls-tls-manual-roots = ["reqwest/rustls-tls-manual-roots"] -rustls-tls-webpki-roots = ["reqwest/rustls-tls-webpki-roots"] -rustls-tls-native-roots = ["reqwest/rustls-tls-native-roots"] -blocking = ["reqwest/blocking"] -cookies = ["reqwest/cookies"] -gzip = ["reqwest/gzip"] -brotli = ["reqwest/brotli"] -deflate = ["reqwest/deflate"] -trust-dns = ["reqwest/trust-dns"] -socks = ["reqwest/socks"] -http2 = ["reqwest/http2"] -charset = ["reqwest/charset"] -macos-system-configuration = ["reqwest/macos-system-configuration"] -unsafe-headers = [] +default = [ + "rustls-tls", + "http2", + "charset", + "macos-system-configuration" +] +multipart = [ "reqwest/multipart" ] +json = [ "reqwest/json" ] +stream = [ "reqwest/stream" ] +native-tls = [ "reqwest/native-tls" ] +native-tls-vendored = [ "reqwest/native-tls-vendored" ] +native-tls-alpn = [ "reqwest/native-tls-alpn" ] +rustls-tls = [ "reqwest/rustls-tls" ] +rustls-tls-manual-roots = [ "reqwest/rustls-tls-manual-roots" ] +rustls-tls-webpki-roots = [ "reqwest/rustls-tls-webpki-roots" ] +rustls-tls-native-roots = [ "reqwest/rustls-tls-native-roots" ] +blocking = [ "reqwest/blocking" ] +cookies = [ "reqwest/cookies" ] +gzip = [ "reqwest/gzip" ] +brotli = [ "reqwest/brotli" ] +deflate = [ "reqwest/deflate" ] +trust-dns = [ "reqwest/trust-dns" ] +socks = [ "reqwest/socks" ] +http2 = [ "reqwest/http2" ] +charset = [ "reqwest/charset" ] +macos-system-configuration = [ "reqwest/macos-system-configuration" ] +unsafe-headers = [ ] diff --git a/plugins/log/CHANGELOG.md b/plugins/log/CHANGELOG.md index 976a0b0e..33ae4b7e 100644 --- a/plugins/log/CHANGELOG.md +++ b/plugins/log/CHANGELOG.md @@ -2,6 +2,10 @@ ## \[2.0.0-beta.3] +- [`ed46dca`](https://github.com/tauri-apps/plugins-workspace/commit/ed46dca74ff3947dbbcb26a7b571c129bf925698) Added `attachLogger` helper function to register a function that should be called for each log entry. + +## \[2.0.0-beta.3] + - [`a04ea2f`](https://github.com/tauri-apps/plugins-workspace/commit/a04ea2f38294d5a3987578283badc8eec87a7752)([#1071](https://github.com/tauri-apps/plugins-workspace/pull/1071)) The global API script is now only added to the binary when the `withGlobalTauri` config is true. ## \[2.0.0-beta.2] diff --git a/plugins/log/package.json b/plugins/log/package.json index 4d3a9c95..ff5a8aa7 100644 --- a/plugins/log/package.json +++ b/plugins/log/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/plugin-log", - "version": "2.0.0-beta.2", + "version": "2.0.0-beta.3", "description": "Configurable logging for your Tauri app.", "license": "MIT or APACHE-2.0", "authors": [ diff --git a/plugins/persisted-scope/CHANGELOG.md b/plugins/persisted-scope/CHANGELOG.md index 749a366e..f74a41a0 100644 --- a/plugins/persisted-scope/CHANGELOG.md +++ b/plugins/persisted-scope/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-beta.5] + +### Dependencies + +- Upgraded to `fs@2.0.0-beta.5` + ## \[2.0.0-beta.4] ### Dependencies diff --git a/plugins/persisted-scope/Cargo.toml b/plugins/persisted-scope/Cargo.toml index 7361d3a6..372b97f3 100644 --- a/plugins/persisted-scope/Cargo.toml +++ b/plugins/persisted-scope/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "tauri-plugin-persisted-scope" -version = "2.0.0-beta.4" +version = "2.0.0-beta.5" description = "Save filesystem and asset scopes and restore them when the app is reopened." authors = { workspace = true } license = { workspace = true } edition = { workspace = true } rust-version = { workspace = true } -repository = { workspace = true } +repository = { workspace = true } [package.metadata.docs.rs] rustc-args = [ "--cfg", "docsrs" ] @@ -20,7 +20,7 @@ log = { workspace = true } thiserror = { workspace = true } aho-corasick = "1" bincode = "1" -tauri-plugin-fs = { path = "../fs", version = "2.0.0-beta.4" } +tauri-plugin-fs = { path = "../fs", version = "2.0.0-beta.5" } [features] protocol-asset = [ "tauri/protocol-asset" ] diff --git a/plugins/single-instance/CHANGELOG.md b/plugins/single-instance/CHANGELOG.md index 93ec13b0..aff4f550 100644 --- a/plugins/single-instance/CHANGELOG.md +++ b/plugins/single-instance/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## \[2.0.0-beta.6] + +- [`ed46dca`](https://github.com/tauri-apps/plugins-workspace/commit/ed46dca74ff3947dbbcb26a7b571c129bf925698) Added the `semver` feature flag to make the single instance mechanism only trigger for semver compatible versions. + ## \[2.0.0-beta.5] - [`dabac0e`](https://github.com/tauri-apps/plugins-workspace/commit/dabac0eedfd6e6d192c6c5a214e708b3c0223f6f)([#1035](https://github.com/tauri-apps/plugins-workspace/pull/1035)) Added implementation for MacOS. diff --git a/plugins/single-instance/Cargo.toml b/plugins/single-instance/Cargo.toml index 585e174c..edf7e7bc 100644 --- a/plugins/single-instance/Cargo.toml +++ b/plugins/single-instance/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "tauri-plugin-single-instance" -version = "2.0.0-beta.5" +version = "2.0.0-beta.6" description = "Ensure a single instance of your tauri app is running." authors = { workspace = true } license = { workspace = true } edition = { workspace = true } rust-version = { workspace = true } -repository = { workspace = true } +repository = { workspace = true } exclude = [ "/examples" ] [package.metadata.docs.rs] @@ -37,4 +37,4 @@ features = [ zbus = "4" [features] -semver = ["dep:semver"] +semver = [ "dep:semver" ] diff --git a/plugins/store/CHANGELOG.md b/plugins/store/CHANGELOG.md index 056125e5..e1d0b2c3 100644 --- a/plugins/store/CHANGELOG.md +++ b/plugins/store/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## \[2.0.0-beta.5] + +- [`bb51a41`](https://github.com/tauri-apps/plugins-workspace/commit/bb51a41d67ebf989e8aedf10c4b1a7f9514d1bdf)([#1168](https://github.com/tauri-apps/plugins-workspace/pull/1168)) **Breaking Change:** All apis that return paths to the frontend will now remove the `\\?\` UNC prefix on Windows. + ## \[2.0.0-beta.4] - [`a04ea2f`](https://github.com/tauri-apps/plugins-workspace/commit/a04ea2f38294d5a3987578283badc8eec87a7752)([#1071](https://github.com/tauri-apps/plugins-workspace/pull/1071)) The global API script is now only added to the binary when the `withGlobalTauri` config is true. diff --git a/plugins/store/Cargo.toml b/plugins/store/Cargo.toml index 04eabb52..ca94d08b 100644 --- a/plugins/store/Cargo.toml +++ b/plugins/store/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-store" -version = "2.0.0-beta.4" +version = "2.0.0-beta.5" description = "Simple, persistent key-value store." authors = { workspace = true } license = { workspace = true } @@ -10,11 +10,11 @@ repository = { workspace = true } links = "tauri-plugin-store" [package.metadata.docs.rs] -rustc-args = ["--cfg", "docsrs"] -rustdoc-args = ["--cfg", "docsrs"] +rustc-args = [ "--cfg", "docsrs" ] +rustdoc-args = [ "--cfg", "docsrs" ] [build-dependencies] -tauri-plugin = { workspace = true, features = ["build"] } +tauri-plugin = { workspace = true, features = [ "build" ] } [dependencies] serde = { workspace = true } @@ -22,4 +22,4 @@ serde_json = { workspace = true } tauri = { workspace = true } log = { workspace = true } thiserror = { workspace = true } -dunce = { workspace = true } \ No newline at end of file +dunce = { workspace = true } diff --git a/plugins/updater/CHANGELOG.md b/plugins/updater/CHANGELOG.md index 3e02a3a9..e49dff5c 100644 --- a/plugins/updater/CHANGELOG.md +++ b/plugins/updater/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## \[2.0.0-beta.4] + +- [`293f363`](https://github.com/tauri-apps/plugins-workspace/commit/293f363c0dccc43e8403729fdc8cc2b4311c2d5b)([#1175](https://github.com/tauri-apps/plugins-workspace/pull/1175)) Add a `on_before_exit` hook for cleanup before spawning the updater on Windows, defaults to `app.cleanup_before_exit` when used through `UpdaterExt` +- [`293f363`](https://github.com/tauri-apps/plugins-workspace/commit/293f363c0dccc43e8403729fdc8cc2b4311c2d5b)([#1175](https://github.com/tauri-apps/plugins-workspace/pull/1175)) **Breaking change:** The `rustls-tls` feature flag is now enabled by default. +- [`e3d41f4`](https://github.com/tauri-apps/plugins-workspace/commit/e3d41f4011bd3ea3ce281bb38bbe31d3709f8e0f)([#1191](https://github.com/tauri-apps/plugins-workspace/pull/1191)) Internally use the webview scoped resources table instead of the app one, so other webviews can't access other webviews resources. +- [`7e2fcc5`](https://github.com/tauri-apps/plugins-workspace/commit/7e2fcc5e74df7c3c718e40f75bfb0eafc7d69d8d)([#1146](https://github.com/tauri-apps/plugins-workspace/pull/1146)) Update dependencies to align with tauri 2.0.0-beta.14. +- [`e3d41f4`](https://github.com/tauri-apps/plugins-workspace/commit/e3d41f4011bd3ea3ce281bb38bbe31d3709f8e0f)([#1191](https://github.com/tauri-apps/plugins-workspace/pull/1191)) Update for tauri 2.0.0-beta.15. + ## \[2.0.0-beta.3] - [`4e37316`](https://github.com/tauri-apps/plugins-workspace/commit/4e37316af0d6532bf9a9bd0e712b5b14b0598285)([#1051](https://github.com/tauri-apps/plugins-workspace/pull/1051)) Fix deserialization of `windows > installerArgs` config field. diff --git a/plugins/updater/Cargo.toml b/plugins/updater/Cargo.toml index b9424dbb..ccbbb042 100644 --- a/plugins/updater/Cargo.toml +++ b/plugins/updater/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-updater" -version = "2.0.0-beta.3" +version = "2.0.0-beta.4" description = "In-app updates for Tauri applications." edition = { workspace = true } authors = { workspace = true } @@ -10,11 +10,11 @@ repository = { workspace = true } links = "tauri-plugin-updater" [package.metadata.docs.rs] -rustc-args = ["--cfg", "docsrs"] -rustdoc-args = ["--cfg", "docsrs"] +rustc-args = [ "--cfg", "docsrs" ] +rustdoc-args = [ "--cfg", "docsrs" ] [build-dependencies] -tauri-plugin = { workspace = true, features = ["build"] } +tauri-plugin = { workspace = true, features = [ "build" ] } [dependencies] tauri = { workspace = true } @@ -22,26 +22,20 @@ serde = { workspace = true } serde_json = { workspace = true } thiserror = { workspace = true } tokio = "1" -reqwest = { version = "0.12", default-features = false, features = [ - "json", - "stream", -] } +reqwest = { version = "0.12", default-features = false, features = [ "json", "stream" ] } url = { workspace = true } http = "1" dirs-next = "2" minisign-verify = "0.2" -time = { version = "0.3", features = ["parsing", "formatting"] } +time = { version = "0.3", features = [ "parsing", "formatting" ] } base64 = "0.22" -semver = { version = "1", features = ["serde"] } +semver = { version = "1", features = [ "serde" ] } futures-util = "0.3" tempfile = "3" zip = "0.6" [target."cfg(target_os = \"windows\")".dependencies] -windows-sys = { version = "0.52.0", features = [ - "Win32_Foundation", - "Win32_UI_WindowsAndMessaging", -] } +windows-sys = { version = "0.52.0", features = [ "Win32_Foundation", "Win32_UI_WindowsAndMessaging" ] } [target."cfg(any(target_os = \"macos\", target_os = \"linux\"))".dependencies] tar = "0.4" @@ -52,6 +46,6 @@ mockito = "0.31" [features] default = [ "rustls-tls" ] -native-tls = ["reqwest/native-tls"] -native-tls-vendored = ["reqwest/native-tls-vendored"] -rustls-tls = ["reqwest/rustls-tls"] +native-tls = [ "reqwest/native-tls" ] +native-tls-vendored = [ "reqwest/native-tls-vendored" ] +rustls-tls = [ "reqwest/rustls-tls" ] diff --git a/plugins/upload/CHANGELOG.md b/plugins/upload/CHANGELOG.md index 4a671e8b..60443348 100644 --- a/plugins/upload/CHANGELOG.md +++ b/plugins/upload/CHANGELOG.md @@ -2,6 +2,10 @@ ## \[2.0.0-beta.3] +- [`4a5ab18`](https://github.com/tauri-apps/plugins-workspace/commit/4a5ab18a229b902314f242d656b3a2290a8b9065)([#976](https://github.com/tauri-apps/plugins-workspace/pull/976)) Return the upload response as a string and error out if the status code is not within 200-299. + +## \[2.0.0-beta.3] + - [`a04ea2f`](https://github.com/tauri-apps/plugins-workspace/commit/a04ea2f38294d5a3987578283badc8eec87a7752)([#1071](https://github.com/tauri-apps/plugins-workspace/pull/1071)) The global API script is now only added to the binary when the `withGlobalTauri` config is true. ## \[2.0.0-beta.2] @@ -51,3 +55,6 @@ 17ae67\`]\(https://github.com/tauri-apps/plugins-workspace/commit/717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! 67\`]\(https://github.com/tauri-apps/plugins-workspace/commit/717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! 717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! +s-workspace/commit/717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! + 67\`]\(https://github.com/tauri-apps/plugins-workspace/commit/717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! + 717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! diff --git a/plugins/upload/Cargo.toml b/plugins/upload/Cargo.toml index d4a1de71..471b5545 100644 --- a/plugins/upload/Cargo.toml +++ b/plugins/upload/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-upload" -version = "2.0.0-beta.3" +version = "2.0.0-beta.4" description = "Upload files from disk to a remote server over HTTP." authors = { workspace = true } license = { workspace = true } @@ -10,11 +10,11 @@ repository = { workspace = true } links = "tauri-plugin-upload" [package.metadata.docs.rs] -rustc-args = ["--cfg", "docsrs"] -rustdoc-args = ["--cfg", "docsrs"] +rustc-args = [ "--cfg", "docsrs" ] +rustdoc-args = [ "--cfg", "docsrs" ] [build-dependencies] -tauri-plugin = { workspace = true, features = ["build"] } +tauri-plugin = { workspace = true, features = [ "build" ] } [dependencies] serde = { workspace = true } @@ -22,16 +22,13 @@ serde_json = { workspace = true } tauri = { workspace = true } log = { workspace = true } thiserror = { workspace = true } -tokio = { version = "1", features = ["fs"] } -tokio-util = { version = "0.7", features = ["codec"] } -reqwest = { version = "0.12", default-features = false, features = [ - "json", - "stream", -] } +tokio = { version = "1", features = [ "fs" ] } +tokio-util = { version = "0.7", features = [ "codec" ] } +reqwest = { version = "0.12", default-features = false, features = [ "json", "stream" ] } futures-util = "0.3" read-progress-stream = "1.0.0" [features] -native-tls = ["reqwest/native-tls"] -native-tls-vendored = ["reqwest/native-tls-vendored"] -rustls-tls = ["reqwest/rustls-tls"] +native-tls = [ "reqwest/native-tls" ] +native-tls-vendored = [ "reqwest/native-tls-vendored" ] +rustls-tls = [ "reqwest/rustls-tls" ] diff --git a/plugins/upload/package.json b/plugins/upload/package.json index 63090704..bd0f3df3 100644 --- a/plugins/upload/package.json +++ b/plugins/upload/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/plugin-upload", - "version": "2.0.0-beta.2", + "version": "2.0.0-beta.3", "description": "Upload files from disk to a remote server over HTTP.", "license": "MIT or APACHE-2.0", "authors": [ diff --git a/plugins/websocket/CHANGELOG.md b/plugins/websocket/CHANGELOG.md index 39f1394d..84ca34ee 100644 --- a/plugins/websocket/CHANGELOG.md +++ b/plugins/websocket/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## \[2.0.0-beta.4] + +- [`ed46dca`](https://github.com/tauri-apps/plugins-workspace/commit/ed46dca74ff3947dbbcb26a7b571c129bf925698) **Breaking change:** Enable rustls by default and added a method to configure the TLS Connector for tungstenite. + ## \[2.0.0-beta.3] - [`a04ea2f`](https://github.com/tauri-apps/plugins-workspace/commit/a04ea2f38294d5a3987578283badc8eec87a7752)([#1071](https://github.com/tauri-apps/plugins-workspace/pull/1071)) The global API script is now only added to the binary when the `withGlobalTauri` config is true. diff --git a/plugins/websocket/Cargo.toml b/plugins/websocket/Cargo.toml index bfaca477..9ece6266 100644 --- a/plugins/websocket/Cargo.toml +++ b/plugins/websocket/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-websocket" -version = "2.0.0-beta.3" +version = "2.0.0-beta.4" description = "Expose a WebSocket server to your Tauri frontend." authors = { workspace = true } license = { workspace = true } @@ -8,14 +8,14 @@ edition = { workspace = true } rust-version = { workspace = true } repository = { workspace = true } links = "tauri-plugin-websocket" -exclude = ["/examples"] +exclude = [ "/examples" ] [package.metadata.docs.rs] -rustc-args = ["--cfg", "docsrs"] -rustdoc-args = ["--cfg", "docsrs"] +rustc-args = [ "--cfg", "docsrs" ] +rustdoc-args = [ "--cfg", "docsrs" ] [build-dependencies] -tauri-plugin = { workspace = true, features = ["build"] } +tauri-plugin = { workspace = true, features = [ "build" ] } [dependencies] serde = { workspace = true } @@ -26,12 +26,12 @@ thiserror = { workspace = true } http = "1" rand = "0.8" futures-util = "0.3" -tokio = { version = "1", features = ["net", "sync"] } +tokio = { version = "1", features = [ "net", "sync" ] } tokio-tungstenite = { version = "0.21" } [features] -default = ["rustls-tls"] -native-tls = ["tokio-tungstenite/native-tls"] -native-tls-vendored = ["native-tls", "tokio-tungstenite/native-tls-vendored"] -rustls-tls = ["tokio-tungstenite/rustls-tls-webpki-roots"] -rustls-tls-native-roots = ["tokio-tungstenite/rustls-tls-native-roots"] +default = [ "rustls-tls" ] +native-tls = [ "tokio-tungstenite/native-tls" ] +native-tls-vendored = [ "native-tls", "tokio-tungstenite/native-tls-vendored" ] +rustls-tls = [ "tokio-tungstenite/rustls-tls-webpki-roots" ] +rustls-tls-native-roots = [ "tokio-tungstenite/rustls-tls-native-roots" ] diff --git a/plugins/window-state/CHANGELOG.md b/plugins/window-state/CHANGELOG.md index 388bd7f9..8c498e9a 100644 --- a/plugins/window-state/CHANGELOG.md +++ b/plugins/window-state/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## \[2.0.0-beta.3] + +- [`0e9541f`](https://github.com/tauri-apps/plugins-workspace/commit/0e9541fe8990395de7cc8887bc46b3f3665b44e1)([#1138](https://github.com/tauri-apps/plugins-workspace/pull/1138)) Add `Builder::with_filename` to support using a custom filename. Also add `AppHandleExt::file_name` and a similar function in JS, to retrieve it later. + ## \[2.0.0-beta.4] - [`c013fa5`](https://github.com/tauri-apps/plugins-workspace/commit/c013fa52cd66885cf457a64e75373cb2066bc849)([#1078](https://github.com/tauri-apps/plugins-workspace/pull/1078)) **Breaking change**: Changed the format of the state file from bincode to json. Also changed the filename to from `.window-state` to `.window-state.json`. @@ -68,3 +72,10 @@ - Fix restore maximization state only maximized on main monitor. - [70d9908](https://github.com/tauri-apps/plugins-workspace/commit/70d99086de3a58189d65c49954a3495972880725) fix(window-state): restore window position if the one of the window corners intersects with monitor ([#898](https://github.com/tauri-apps/plugins-workspace/pull/898)) on 2024-01-25 +sues with restoring positions: + +- Fix restoring window positions correctly when the top-left corner of the window was outside of the monitor. + +- Fix restore maximization state only maximized on main monitor. + +- [70d9908](https://github.com/tauri-apps/plugins-workspace/commit/70d99086de3a58189d65c49954a3495972880725) fix(window-state): restore window position if the one of the window corners intersects with monitor ([#898](https://github.com/tauri-apps/plugins-workspace/pull/898)) on 2024-01-25 diff --git a/plugins/window-state/Cargo.toml b/plugins/window-state/Cargo.toml index d39bc836..884b583f 100644 --- a/plugins/window-state/Cargo.toml +++ b/plugins/window-state/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-window-state" -version = "2.0.0-beta.4" +version = "2.0.0-beta.5" description = "Save window positions and sizes and restore them when the app is reopened." authors = { workspace = true } license = { workspace = true } @@ -10,11 +10,11 @@ repository = { workspace = true } links = "tauri-plugin-window-state" [package.metadata.docs.rs] -rustc-args = ["--cfg", "docsrs"] -rustdoc-args = ["--cfg", "docsrs"] +rustc-args = [ "--cfg", "docsrs" ] +rustdoc-args = [ "--cfg", "docsrs" ] [build-dependencies] -tauri-plugin = { workspace = true, features = ["build"] } +tauri-plugin = { workspace = true, features = [ "build" ] } [dependencies] serde = { workspace = true } diff --git a/plugins/window-state/package.json b/plugins/window-state/package.json index 81f7a34f..13c9f539 100644 --- a/plugins/window-state/package.json +++ b/plugins/window-state/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/plugin-window-state", - "version": "2.0.0-beta.2", + "version": "2.0.0-beta.3", "description": "Save window positions and sizes and restore them when the app is reopened.", "license": "MIT or APACHE-2.0", "authors": [