diff --git a/.changes/pre.json b/.changes/pre.json index a95db7bb70..7f30a622bf 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -1,9 +1,31 @@ { "tag": "alpha", "changes": [ + ".changes/dialog-async-message-dialog.md", + ".changes/disable-window-controls-api-options.md", + ".changes/disable-window-controls-api.md", + ".changes/fs-wiret-binary-file.md", + ".changes/http-multipart-refactor.md", + ".changes/http-plugin-refactor.md", ".changes/notification-init-script.md", + ".changes/notification-revert-sound.md", ".changes/notification-sound.md", + ".changes/os-plugin-refactor.md", + ".changes/persisted-scope-asset.md", + ".changes/persisted-scope-glob.md", + ".changes/shell-command-apis.md", + ".changes/shell-detached.md", + ".changes/stronghold-arg-name.md", ".changes/stronghold-constructor.md", - ".changes/v2-alpha.md" + ".changes/updater-nsis-admin.md", + ".changes/updater-nsis.md", + ".changes/updater-plugin-refactor.md", + ".changes/v2-alpha.md", + ".changes/window-incognito.md", + ".changes/window-is-focused.md", + ".changes/window-plugin-refactor.md", + ".changes/window-set-effects.md", + ".changes/window-state-decorated.md", + ".changes/window-state-promise.md" ] } diff --git a/examples/api/CHANGELOG.md b/examples/api/CHANGELOG.md index 4da28c4f50..543696eb5d 100644 --- a/examples/api/CHANGELOG.md +++ b/examples/api/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.0.0-alpha.1] + +### Dependencies + +- Upgraded to `window-js@2.0.0-alpha.1` +- Upgraded to `fs-js@2.0.0-alpha.1` +- Upgraded to `http-js@2.0.0-alpha.1` +- Upgraded to `os-js@2.0.0-alpha.1` +- Upgraded to `updater-js@2.0.0-alpha.1` + ## \[2.0.0-alpha.0] ### Dependencies diff --git a/examples/api/package.json b/examples/api/package.json index d6cc383d1d..6735e27fd9 100644 --- a/examples/api/package.json +++ b/examples/api/package.json @@ -1,7 +1,7 @@ { "name": "svelte-app", "private": true, - "version": "2.0.0-alpha.0", + "version": "2.0.0-alpha.1", "type": "module", "scripts": { "dev": "vite --clearScreen false", @@ -14,15 +14,15 @@ "@tauri-apps/plugin-cli": "2.0.0-alpha.0", "@tauri-apps/plugin-clipboard-manager": "2.0.0-alpha.0", "@tauri-apps/plugin-dialog": "2.0.0-alpha.0", - "@tauri-apps/plugin-fs": "2.0.0-alpha.0", + "@tauri-apps/plugin-fs": "2.0.0-alpha.1", "@tauri-apps/plugin-global-shortcut": "2.0.0-alpha.0", - "@tauri-apps/plugin-http": "2.0.0-alpha.0", + "@tauri-apps/plugin-http": "2.0.0-alpha.1", "@tauri-apps/plugin-notification": "2.0.0-alpha.0", - "@tauri-apps/plugin-os": "2.0.0-alpha.0", + "@tauri-apps/plugin-os": "2.0.0-alpha.1", "@tauri-apps/plugin-process": "2.0.0-alpha.0", "@tauri-apps/plugin-shell": "2.0.0-alpha.0", - "@tauri-apps/plugin-updater": "2.0.0-alpha.0", - "@tauri-apps/plugin-window": "2.0.0-alpha.0", + "@tauri-apps/plugin-updater": "2.0.0-alpha.1", + "@tauri-apps/plugin-window": "2.0.0-alpha.1", "@zerodevx/svelte-json-view": "1.0.5" }, "devDependencies": { diff --git a/examples/api/src-tauri/CHANGELOG.md b/examples/api/src-tauri/CHANGELOG.md index 22d9cf7a54..d0c0c9d7aa 100644 --- a/examples/api/src-tauri/CHANGELOG.md +++ b/examples/api/src-tauri/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## \[2.0.0-alpha.2] + +### Dependencies + +- Upgraded to `dialog@2.0.0-alpha.1` +- Upgraded to `window@2.0.0-alpha.1` +- Upgraded to `http@2.0.0-alpha.1` +- Upgraded to `notification@2.0.0-alpha.2` +- Upgraded to `os@2.0.0-alpha.1` +- Upgraded to `shell@2.0.0-alpha.1` +- Upgraded to `updater@2.0.0-alpha.1` + ## \[2.0.0-alpha.1] ### Dependencies diff --git a/examples/api/src-tauri/Cargo.toml b/examples/api/src-tauri/Cargo.toml index b1f1b09dda..f92bb97663 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-alpha.1" +version = "2.0.0-alpha.2" description = "An example Tauri Application showcasing the api" edition = "2021" rust-version = { workspace = true } @@ -22,13 +22,13 @@ tauri-plugin-app = { path = "../../../plugins/app", version = "2.0.0-alpha.0" } tauri-plugin-log = { path = "../../../plugins/log", version = "2.0.0-alpha.0" } tauri-plugin-fs = { path = "../../../plugins/fs", version = "2.0.0-alpha.0" } tauri-plugin-clipboard-manager = { path = "../../../plugins/clipboard-manager", version = "2.0.0-alpha.0" } -tauri-plugin-dialog = { path = "../../../plugins/dialog", version = "2.0.0-alpha.0" } -tauri-plugin-http = { path = "../../../plugins/http", features = [ "multipart" ], version = "2.0.0-alpha.0" } -tauri-plugin-notification = { path = "../../../plugins/notification", version = "2.0.0-alpha.0", features = [ "windows7-compat" ] } -tauri-plugin-os = { path = "../../../plugins/os", version = "2.0.0-alpha.0" } +tauri-plugin-dialog = { path = "../../../plugins/dialog", version = "2.0.0-alpha.1" } +tauri-plugin-http = { path = "../../../plugins/http", features = [ "multipart" ], version = "2.0.0-alpha.1" } +tauri-plugin-notification = { path = "../../../plugins/notification", version = "2.0.0-alpha.2", features = [ "windows7-compat" ] } +tauri-plugin-os = { path = "../../../plugins/os", version = "2.0.0-alpha.1" } tauri-plugin-process = { path = "../../../plugins/process", version = "2.0.0-alpha.0" } -tauri-plugin-shell = { path = "../../../plugins/shell", version = "2.0.0-alpha.0" } -tauri-plugin-window = { path = "../../../plugins/window", version = "2.0.0-alpha.0", features = [ "devtools", "icon-ico", "icon-png" ] } +tauri-plugin-shell = { path = "../../../plugins/shell", version = "2.0.0-alpha.1" } +tauri-plugin-window = { path = "../../../plugins/window", version = "2.0.0-alpha.1", features = [ "devtools", "icon-ico", "icon-png" ] } [dependencies.tauri] workspace = true @@ -44,7 +44,7 @@ tauri-plugin-window = { path = "../../../plugins/window", version = "2.0.0-alpha [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-alpha.0" } tauri-plugin-global-shortcut = { path = "../../../plugins/global-shortcut", version = "2.0.0-alpha.0" } -tauri-plugin-updater = { path = "../../../plugins/updater", version = "2.0.0-alpha.0" } +tauri-plugin-updater = { path = "../../../plugins/updater", version = "2.0.0-alpha.1" } [target."cfg(target_os = \"windows\")".dependencies] window-shadows = "0.2" diff --git a/plugins/dialog/CHANGELOG.md b/plugins/dialog/CHANGELOG.md index a70b10ecad..186d6d2114 100644 --- a/plugins/dialog/CHANGELOG.md +++ b/plugins/dialog/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## \[2.0.0-alpha.1] + +- [`be591d2`](https://github.com/tauri-apps/plugins-workspace/commit/be591d2feb6896b6fe4b85e696d500df8a3a95bb)([#7182](https://github.com/tauri-apps/plugins-workspace/pull/7182)) On non-Linux system, use `AsyncMessageDialog` instead of `MessageDialog`. [(tauri#7182)](https://github.com/tauri-apps/tauri/issues/7182) + ## \[2.0.0-alpha.0] - [`717ae67`](https://github.com/tauri-apps/plugins-workspace/commit/717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! diff --git a/plugins/dialog/Cargo.toml b/plugins/dialog/Cargo.toml index 7ca498701f..b106a2987c 100644 --- a/plugins/dialog/Cargo.toml +++ b/plugins/dialog/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-dialog" -version = "2.0.0-alpha.0" +version = "2.0.0-alpha.1" description = "Native system dialogs for opening and saving files along with message dialogs on your Tauri application." edition = { workspace = true } authors = { workspace = true } diff --git a/plugins/fs/CHANGELOG.md b/plugins/fs/CHANGELOG.md index a70b10ecad..34321eb483 100644 --- a/plugins/fs/CHANGELOG.md +++ b/plugins/fs/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## \[2.0.0-alpha.1] + +- [`0bba693`](https://github.com/tauri-apps/plugins-workspace/commit/0bba6932c09da5267a9dbf75ba52252e39458420)([#454](https://github.com/tauri-apps/plugins-workspace/pull/454)) Fix `writeBinaryFile` crashing with `command 'write_binary_file' not found` + ## \[2.0.0-alpha.0] - [`717ae67`](https://github.com/tauri-apps/plugins-workspace/commit/717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! diff --git a/plugins/fs/package.json b/plugins/fs/package.json index 2943c5681d..f0fa147900 100644 --- a/plugins/fs/package.json +++ b/plugins/fs/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/plugin-fs", - "version": "2.0.0-alpha.0", + "version": "2.0.0-alpha.1", "description": "Access the file system.", "license": "MIT or APACHE-2.0", "authors": [ diff --git a/plugins/http/CHANGELOG.md b/plugins/http/CHANGELOG.md index a70b10ecad..b2f903b0b5 100644 --- a/plugins/http/CHANGELOG.md +++ b/plugins/http/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## \[2.0.0-alpha.1] + +- [`7d9df72`](https://github.com/tauri-apps/plugins-workspace/commit/7d9df7297a221a64d9de945ffc2cd8313d3104dc)([#428](https://github.com/tauri-apps/plugins-workspace/pull/428)) Multipart requests are now handled in JavaScript by the `Request` JavaScript class so you just need to use a `FormData` body and not set the content-type header to `multipart/form-data`. `application/x-www-form-urlencoded` requests must be done manually. +- [`7d9df72`](https://github.com/tauri-apps/plugins-workspace/commit/7d9df7297a221a64d9de945ffc2cd8313d3104dc)([#428](https://github.com/tauri-apps/plugins-workspace/pull/428)) The http plugin has been rewritten from scratch and now only exposes a `fetch` function in Javascript and Re-exports `reqwest` crate in Rust. The new `fetch` method tries to be as close and compliant to the `fetch` Web API as possible. + ## \[2.0.0-alpha.0] - [`717ae67`](https://github.com/tauri-apps/plugins-workspace/commit/717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! diff --git a/plugins/http/Cargo.toml b/plugins/http/Cargo.toml index 95f74bfe2d..ffddf80c26 100644 --- a/plugins/http/Cargo.toml +++ b/plugins/http/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-http" -version = "2.0.0-alpha.0" +version = "2.0.0-alpha.1" description = "Access an HTTP client written in Rust." edition = { workspace = true } authors = { workspace = true } @@ -19,22 +19,22 @@ url = "2.4" data-url = "0.3" [features] -multipart = ["reqwest/multipart"] -json = ["reqwest/json"] -stream = ["reqwest/stream"] -native-tls = ["reqwest/native-tls"] -native-tls-vendored = ["reqwest/native-tls-vendored"] -rustls-tls = ["reqwest/rustls-tls"] -default-tls = ["reqwest/default-tls"] -native-tls-alpn = ["reqwest/native-tls-alpn"] -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"] -http3 = ["reqwest/http3"] +multipart = [ "reqwest/multipart" ] +json = [ "reqwest/json" ] +stream = [ "reqwest/stream" ] +native-tls = [ "reqwest/native-tls" ] +native-tls-vendored = [ "reqwest/native-tls-vendored" ] +rustls-tls = [ "reqwest/rustls-tls" ] +default-tls = [ "reqwest/default-tls" ] +native-tls-alpn = [ "reqwest/native-tls-alpn" ] +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" ] +http3 = [ "reqwest/http3" ] diff --git a/plugins/http/package.json b/plugins/http/package.json index 81d3bc4081..1d2ee9eae0 100644 --- a/plugins/http/package.json +++ b/plugins/http/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/plugin-http", - "version": "2.0.0-alpha.0", + "version": "2.0.0-alpha.1", "license": "MIT or APACHE-2.0", "authors": [ "Tauri Programme within The Commons Conservancy" diff --git a/plugins/notification/CHANGELOG.md b/plugins/notification/CHANGELOG.md index 263a20f057..bf010bf476 100644 --- a/plugins/notification/CHANGELOG.md +++ b/plugins/notification/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## \[2.0.0-alpha.2] + +- [`c81dff2`](https://github.com/tauri-apps/plugins-workspace/commit/c81dff292afc9e9f52470a8d9e34b5a00c14b3a0)([#440](https://github.com/tauri-apps/plugins-workspace/pull/440)) Revert [7d71ad4e5](https://github.com/tauri-apps/plugins-workspace/commit/7d71ad4e587bcf47ea34645f5b226945e487b765) which added a default sound for notifications on Windows. This introduced inconsistency with other platforms that has silent notifications by default. In the upcoming releases, we will add support for modifying the notification sound across all platforms. + ## \[2.0.0-alpha.1] - [`d8b4aca`](https://github.com/tauri-apps/plugins-workspace/commit/d8b4aca69f628b170804ecb982e2c319d026ef47)([#414](https://github.com/tauri-apps/plugins-workspace/pull/414)) Use `window.__TAURI_INVOKE__` instead of `window.__TAURI__` in init.js, fixes usage in apps without `withGlobalTauri` enabled. diff --git a/plugins/notification/Cargo.toml b/plugins/notification/Cargo.toml index fddbde5c86..d02f161270 100644 --- a/plugins/notification/Cargo.toml +++ b/plugins/notification/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-notification" -version = "2.0.0-alpha.1" +version = "2.0.0-alpha.2" description = "Send desktop and mobile notifications on your Tauri application." edition = { workspace = true } authors = { workspace = true } diff --git a/plugins/os/CHANGELOG.md b/plugins/os/CHANGELOG.md index a70b10ecad..1cc4f9755e 100644 --- a/plugins/os/CHANGELOG.md +++ b/plugins/os/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.0.0-alpha.1] + +- [`1091d6d`](https://github.com/tauri-apps/plugins-workspace/commit/1091d6d6ac5081f2c7526b0f492ae4f34b306f1d)([#419](https://github.com/tauri-apps/plugins-workspace/pull/419)) The os plugin is recieving a few changes to improve consistency and add new features: + + - Renamed `Kind` enum to `OsType` and `kind()` function to `os_type()`. + - Added `family()`,`exe_extension()`, and `hostname()` functions and their equivalents for JS. + - Removed `tempdir()` function and its equivalent on JS, use `std::env::temp_dir` instead of `temp_dir` from `tauri::path::PathResolver::temp_dir` and `path.tempDir` on JS. + - Modified `platform()` implementation to return `windows` instead of `win32` and `macos` instead of `darwin` to align with Rust's `std::env::consts::OS` + - `EOL` const in JS has been modified into a function `eol()` fix import issues in frameworks like `next.js` + ## \[2.0.0-alpha.0] - [`717ae67`](https://github.com/tauri-apps/plugins-workspace/commit/717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! diff --git a/plugins/os/Cargo.toml b/plugins/os/Cargo.toml index e228041056..2d09e8347a 100644 --- a/plugins/os/Cargo.toml +++ b/plugins/os/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-os" -version = "2.0.0-alpha.0" +version = "2.0.0-alpha.1" description = "Read information about the operating system." edition = { workspace = true } authors = { workspace = true } diff --git a/plugins/os/package.json b/plugins/os/package.json index 93a51096a5..dca9fa3cb0 100644 --- a/plugins/os/package.json +++ b/plugins/os/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/plugin-os", - "version": "2.0.0-alpha.0", + "version": "2.0.0-alpha.1", "license": "MIT or APACHE-2.0", "authors": [ "Tauri Programme within The Commons Conservancy" diff --git a/plugins/persisted-scope/CHANGELOG.md b/plugins/persisted-scope/CHANGELOG.md index fea6e6de4a..7dc9542a2f 100644 --- a/plugins/persisted-scope/CHANGELOG.md +++ b/plugins/persisted-scope/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## \[2.0.0-alpha.1] + +- [`aba07c2`](https://github.com/tauri-apps/plugins-workspace/commit/aba07c27b887c1cc54026024227cb3f74c91e21a)([#468](https://github.com/tauri-apps/plugins-workspace/pull/468)) Split up fs and asset scopes. **This will reset the asset protocol scope once!** +- [`aba07c2`](https://github.com/tauri-apps/plugins-workspace/commit/aba07c27b887c1cc54026024227cb3f74c91e21a)([#468](https://github.com/tauri-apps/plugins-workspace/pull/468)) Fix usage of directory patterns by removing glob asterisks at the end before allowing/forbidding them. This was causing them to be escaped, and so undesirable paths were allowed/forbidden while polluting the `.persisted-scope` file. + ## \[2.0.0-alpha.0] - [`ebb2eb2`](https://github.com/tauri-apps/plugins-workspace/commit/ebb2eb2fe2ebfbb70530d16a983d396aa5829aa1)([#274](https://github.com/tauri-apps/plugins-workspace/pull/274)) Recursively unescape saved patterns before allowing/forbidding them. This effectively prevents `.persisted-scope` files from blowing up, which caused Out-Of-Memory issues, while automatically fixing existing broken files seamlessly. diff --git a/plugins/persisted-scope/Cargo.toml b/plugins/persisted-scope/Cargo.toml index ea38618d51..6f9bcfe100 100644 --- a/plugins/persisted-scope/Cargo.toml +++ b/plugins/persisted-scope/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-persisted-scope" -version = "2.0.0-alpha.0" +version = "2.0.0-alpha.1" description = "Save filesystem and asset scopes and restore them when the app is reopened." authors = { workspace = true } license = { workspace = true } diff --git a/plugins/shell/CHANGELOG.md b/plugins/shell/CHANGELOG.md index a70b10ecad..9e95adc495 100644 --- a/plugins/shell/CHANGELOG.md +++ b/plugins/shell/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## \[2.0.0-alpha.1] + +- [`5b3210c`](https://github.com/tauri-apps/plugins-workspace/commit/5b3210c22451eddd60d998c75c241aed03294afa)([#526](https://github.com/tauri-apps/plugins-workspace/pull/526)) Added `Command::arg`, `Command::env` and changed `Command::new` input type. +- [`52ef0ad`](https://github.com/tauri-apps/plugins-workspace/commit/52ef0addd84a1737a4e1a4b07113a30d3d496fa1)([#463](https://github.com/tauri-apps/plugins-workspace/pull/463)) Ensure the launched process is detached so it can out-live your tauri app and does not shutdown with it. + ## \[2.0.0-alpha.0] - [`717ae67`](https://github.com/tauri-apps/plugins-workspace/commit/717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! diff --git a/plugins/shell/Cargo.toml b/plugins/shell/Cargo.toml index 2502b78230..e45e5fc188 100644 --- a/plugins/shell/Cargo.toml +++ b/plugins/shell/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-shell" -version = "2.0.0-alpha.0" +version = "2.0.0-alpha.1" description = "Access the system shell. Allows you to spawn child processes and manage files and URLs using their default application." edition = { workspace = true } authors = { workspace = true } diff --git a/plugins/stronghold/CHANGELOG.md b/plugins/stronghold/CHANGELOG.md index ae13dabe9b..673444b83a 100644 --- a/plugins/stronghold/CHANGELOG.md +++ b/plugins/stronghold/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## \[2.0.0-alpha.2] + +- [`aba07c2`](https://github.com/tauri-apps/plugins-workspace/commit/aba07c27b887c1cc54026024227cb3f74c91e21a)([#468](https://github.com/tauri-apps/plugins-workspace/pull/468)) Change the argument name of the `Stronghold.remove` from `location` to `recordPath` to match the Stronghold command argument + ## \[2.0.0-alpha.1] - [`b3d7d11`](https://github.com/tauri-apps/plugins-workspace/commit/b3d7d11ae32e0970184f53be26e2c5530f78cdf0)([#416](https://github.com/tauri-apps/plugins-workspace/pull/416)) Added `Stronghold.load` and removed its constructor. diff --git a/plugins/stronghold/package.json b/plugins/stronghold/package.json index 8d3ed06bfd..d4332b7261 100644 --- a/plugins/stronghold/package.json +++ b/plugins/stronghold/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/plugin-stronghold", - "version": "2.0.0-alpha.1", + "version": "2.0.0-alpha.2", "description": "Store secrets and keys using the IOTA Stronghold encrypted database.", "license": "MIT or APACHE-2.0", "authors": [ diff --git a/plugins/updater/CHANGELOG.md b/plugins/updater/CHANGELOG.md index a70b10ecad..1b59c29bb4 100644 --- a/plugins/updater/CHANGELOG.md +++ b/plugins/updater/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.0.0-alpha.1] + +- [`4ab90f0`](https://github.com/tauri-apps/plugins-workspace/commit/4ab90f048eab2918344f97dc8e04413a404e392d)([#431](https://github.com/tauri-apps/plugins-workspace/pull/431)) The updater plugin is recieving a few changes to improve consistency and ergonomics of the Rust and JS APIs + +## \[2.0.0-alpha.0] + +- [`717ae67`](https://github.com/tauri-apps/plugins-workspace/commit/717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! + after NSIS update. +- [`4ab90f0`](https://github.com/tauri-apps/plugins-workspace/commit/4ab90f048eab2918344f97dc8e04413a404e392d)([#431](https://github.com/tauri-apps/plugins-workspace/pull/431)) The updater plugin is recieving a few changes to improve consistency and ergonomics of the Rust and JS APIs + ## \[2.0.0-alpha.0] - [`717ae67`](https://github.com/tauri-apps/plugins-workspace/commit/717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! diff --git a/plugins/updater/Cargo.toml b/plugins/updater/Cargo.toml index f2492ea219..67c6cf0579 100644 --- a/plugins/updater/Cargo.toml +++ b/plugins/updater/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-updater" -version = "2.0.0-alpha.0" +version = "2.0.0-alpha.1" description = "In-app updates for Tauri applications." edition = { workspace = true } authors = { workspace = true } diff --git a/plugins/updater/package.json b/plugins/updater/package.json index ef19ccab36..4f48c55b54 100644 --- a/plugins/updater/package.json +++ b/plugins/updater/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/plugin-updater", - "version": "2.0.0-alpha.0", + "version": "2.0.0-alpha.1", "license": "MIT or APACHE-2.0", "authors": [ "Tauri Programme within The Commons Conservancy" diff --git a/plugins/window-state/CHANGELOG.md b/plugins/window-state/CHANGELOG.md index a70b10ecad..9798001437 100644 --- a/plugins/window-state/CHANGELOG.md +++ b/plugins/window-state/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## \[2.0.0-alpha.1] + +- [`84b3612`](https://github.com/tauri-apps/plugins-workspace/commit/84b3612393e3d0d4faeebe1e61cb7d7973556503)([#436](https://github.com/tauri-apps/plugins-workspace/pull/436)) Correctly propagate the promise inside `saveWindowState`, `restoreState` and `restoreStateCurrent` so callers can choose to `await` them. + ## \[2.0.0-alpha.0] - [`717ae67`](https://github.com/tauri-apps/plugins-workspace/commit/717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! diff --git a/plugins/window-state/Cargo.toml b/plugins/window-state/Cargo.toml index b1f6c802d7..884b9c7083 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-alpha.0" +version = "2.0.0-alpha.1" description = "Save window positions and sizes and restore them when the app is reopened." authors = { workspace = true } license = { workspace = true } diff --git a/plugins/window-state/package.json b/plugins/window-state/package.json index ad169f1750..f317745fbb 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-alpha.0", + "version": "2.0.0-alpha.1", "description": "Save window positions and sizes and restore them when the app is reopened.", "license": "MIT or APACHE-2.0", "authors": [ diff --git a/plugins/window/CHANGELOG.md b/plugins/window/CHANGELOG.md index a70b10ecad..4791793c13 100644 --- a/plugins/window/CHANGELOG.md +++ b/plugins/window/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## \[2.0.0-alpha.1] + +- [`2fc420b`](https://github.com/tauri-apps/plugins-workspace/commit/2fc420ba375de924f236f5b32d26667f742fcd6b)([#418](https://github.com/tauri-apps/plugins-workspace/pull/418)) Add `incognito` window configuration option +- [`84133b5`](https://github.com/tauri-apps/plugins-workspace/commit/84133b57b8c443007c728dd8dbe32b08804009f9)([#426](https://github.com/tauri-apps/plugins-workspace/pull/426)) The window plugin is recieving a few changes to improve consistency and add new features: + + - Removed `appWindow` variable from JS module, use `getCurrent` or `Window.getCurrent`. + - Removed `WindowManager`, `WebviewWindow` and `WebviewHandle` types and merged them into one `Window` type that matches the name of the rust window type. + - Added `Window.getCurrent` and `Window.getAll` which is a convenient method for `getCurrent` and `getAll` functions. +- [`c8c3191`](https://github.com/tauri-apps/plugins-workspace/commit/c8c3191565aef518037f9f4519886ca98329fe47)([#392](https://github.com/tauri-apps/plugins-workspace/pull/392)) Added the `setEffects` and `clearEffects` API. + +### feat + +- [`a79d6d9`](https://github.com/tauri-apps/plugins-workspace/commit/a79d6d94bdbf6d1919adff8e65f79240c31d4a14)([#406](https://github.com/tauri-apps/plugins-workspace/pull/406)) Added the `maximizable`, `minimizable` and `closable` fields on `WindowOptions`. +- [`a79d6d9`](https://github.com/tauri-apps/plugins-workspace/commit/a79d6d94bdbf6d1919adff8e65f79240c31d4a14)([#406](https://github.com/tauri-apps/plugins-workspace/pull/406)) Added the `setMaximizable`, `setMinimizable`, `setClosable`, `isMaximizable`, `isMinimizable` and `isClosable` methods. +- [`83abea3`](https://github.com/tauri-apps/plugins-workspace/commit/83abea3cae8408ce262f3815c1a6cc506e73c486)([#407](https://github.com/tauri-apps/plugins-workspace/pull/407)) Add `WebviewWindow.is_focused` and `WebviewWindow.getFocusedWindow` getters. + ## \[2.0.0-alpha.0] - [`717ae67`](https://github.com/tauri-apps/plugins-workspace/commit/717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! diff --git a/plugins/window/Cargo.toml b/plugins/window/Cargo.toml index 7e52814d6f..dd09be244f 100644 --- a/plugins/window/Cargo.toml +++ b/plugins/window/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-window" -version = "2.0.0-alpha.0" +version = "2.0.0-alpha.1" description = "Interact with the Tauri window." edition = { workspace = true } authors = { workspace = true } diff --git a/plugins/window/package.json b/plugins/window/package.json index 2efeb0e895..dc2387a2db 100644 --- a/plugins/window/package.json +++ b/plugins/window/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/plugin-window", - "version": "2.0.0-alpha.0", + "version": "2.0.0-alpha.1", "license": "MIT or APACHE-2.0", "authors": [ "Tauri Programme within The Commons Conservancy"