From 0644e8793806f8824d164ddc89d993d574fa673f Mon Sep 17 00:00:00 2001 From: amrbashir Date: Tue, 4 Jul 2023 11:31:15 +0000 Subject: [PATCH] publish new versions --- .changes/pre.json | 14 +++++++++++++- examples/api/CHANGELOG.md | 6 ++++++ examples/api/package.json | 2 +- examples/api/src-tauri/CHANGELOG.md | 6 ++++++ examples/api/src-tauri/Cargo.toml | 2 +- plugins/notification/CHANGELOG.md | 4 ++++ plugins/notification/Cargo.toml | 2 +- plugins/os/CHANGELOG.md | 10 ++++++++++ plugins/os/Cargo.toml | 2 +- plugins/os/package.json | 2 +- plugins/shell/CHANGELOG.md | 4 ++++ plugins/shell/Cargo.toml | 2 +- plugins/updater/CHANGELOG.md | 5 +++++ plugins/updater/Cargo.toml | 2 +- plugins/window-state/CHANGELOG.md | 4 ++++ plugins/window-state/Cargo.toml | 2 +- plugins/window-state/package.json | 2 +- plugins/window/CHANGELOG.md | 11 +++++++++++ plugins/window/Cargo.toml | 2 +- plugins/window/package.json | 2 +- 20 files changed, 74 insertions(+), 12 deletions(-) diff --git a/.changes/pre.json b/.changes/pre.json index a95db7bb70..9cb5dd4684 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -1,9 +1,21 @@ { "tag": "alpha", "changes": [ + ".changes/disable-window-controls-api-options.md", + ".changes/disable-window-controls-api.md", ".changes/notification-init-script.md", + ".changes/notification-revert-sound.md", ".changes/notification-sound.md", + ".changes/os-plugin-refactor.md", + ".changes/shell-detached.md", ".changes/stronghold-constructor.md", - ".changes/v2-alpha.md" + ".changes/updater-nsis-admin.md", + ".changes/updater-nsis.md", + ".changes/v2-alpha.md", + ".changes/window-incognito.md", + ".changes/window-is-focused.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..3d15e15558 100644 --- a/examples/api/CHANGELOG.md +++ b/examples/api/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-alpha.1] + +### Dependencies + +- Updated to latest `window-js` + ## \[2.0.0-alpha.0] ### Dependencies diff --git a/examples/api/package.json b/examples/api/package.json index d6cc383d1d..97603d251c 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", diff --git a/examples/api/src-tauri/CHANGELOG.md b/examples/api/src-tauri/CHANGELOG.md index 22d9cf7a54..d9ce8b5165 100644 --- a/examples/api/src-tauri/CHANGELOG.md +++ b/examples/api/src-tauri/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-alpha.2] + +### Dependencies + +- Updated to latest `window` + ## \[2.0.0-alpha.1] ### Dependencies diff --git a/examples/api/src-tauri/Cargo.toml b/examples/api/src-tauri/Cargo.toml index 2431dc2f74..58effc2b15 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 = "1.65" 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 51524b542e..65e783e5b3 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/shell/CHANGELOG.md b/plugins/shell/CHANGELOG.md index a70b10ecad..7dcd724441 100644 --- a/plugins/shell/CHANGELOG.md +++ b/plugins/shell/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## \[2.0.0-alpha.1] + +- [`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/updater/CHANGELOG.md b/plugins/updater/CHANGELOG.md index a70b10ecad..d95ba1a1a8 100644 --- a/plugins/updater/CHANGELOG.md +++ b/plugins/updater/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## \[2.0.0-alpha.1] + +- [`56d455d`](https://github.com/tauri-apps/plugins-workspace/commit/56d455d3434dab407bab03bbe38fa3b803d52461)([#444](https://github.com/tauri-apps/plugins-workspace/pull/444)) On Windows, fix NSIS installers requiring administrator rights failing to be launched by updater. +- [`1cb8311`](https://github.com/tauri-apps/plugins-workspace/commit/1cb831183c63ba5bd3f72d8a482992f6467d950d)([#405](https://github.com/tauri-apps/plugins-workspace/pull/405)) Implement passive mode on NSIS and automatically restart after NSIS update. + ## \[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 7342e8d853..912e1e9df9 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/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 47cba0c097..d237e4ed67 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..3eb9b0e2e3 100644 --- a/plugins/window/CHANGELOG.md +++ b/plugins/window/CHANGELOG.md @@ -1,5 +1,16 @@ # 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 +- [`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"