diff --git a/.changes/exit.md b/.changes/exit.md deleted file mode 100644 index f898727786..0000000000 --- a/.changes/exit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tao: patch ---- - -Fix LoopDestroyed to really exit the application. diff --git a/.changes/flow.md b/.changes/flow.md deleted file mode 100644 index 55ac4c96b4..0000000000 --- a/.changes/flow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tao: patch ---- - -Implement all control flow variants diff --git a/.changes/focus.md b/.changes/focus.md deleted file mode 100644 index 19bec1989f..0000000000 --- a/.changes/focus.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tao: patch ---- - -Add checks before focusing window diff --git a/.changes/is-visible.md b/.changes/is-visible.md deleted file mode 100644 index 2481442b75..0000000000 --- a/.changes/is-visible.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tao": patch ---- - -Add `is_visible` getter on `Window` \ No newline at end of file diff --git a/.changes/menu-refactor.md b/.changes/menu-refactor.md deleted file mode 100644 index d0c588aff0..0000000000 --- a/.changes/menu-refactor.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"tao": minor ---- - -**Breaking change**: New menu/tray API. - -System tray now expose `set_icon()` to update the tray icon after initialization. The `system_tray::SystemTrayBuilder` has been moved to the root of the package as a module and available on Windows, Linux and macOS, only when the `tray` feature is enabled. Windows expose a `remove()` function available with `SystemTrayExtWindows`. - -Menu builder has been rebuilt from scratch, exposing 2 different types, `ContextMenu` and `MenuBar`. - -Please refer to the docs and examples for more details. diff --git a/.changes/runloop.md b/.changes/runloop.md deleted file mode 100644 index f8048597f6..0000000000 --- a/.changes/runloop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tao: patch ---- - -Fix match branch of run loop observer on iOS. diff --git a/.changes/skip_taskbar_refactor.md b/.changes/skip_taskbar_refactor.md deleted file mode 100644 index 22d6669f8b..0000000000 --- a/.changes/skip_taskbar_refactor.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -tao: patch ---- - -- `skip_taskbar` is renamed to `set_skip_taskbar`. -- `set_skip_taskbar` is now available on `Window` and is no longer behind a PlatformExt. -- `set_skip_taskbar` takes a boolean to either show or hide the window icon from the taskbar. -- Add `with_skip_taskbar` to `WindowBuilder`. \ No newline at end of file diff --git a/.changes/skip_taskbar_windows.md b/.changes/skip_taskbar_windows.md deleted file mode 100644 index bf27e5d010..0000000000 --- a/.changes/skip_taskbar_windows.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tao: patch ---- - -Add `skip_taskbar` implementation for windows \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 167e2aa18e..18ed02d783 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## \[0.3.0] + +- Fix LoopDestroyed to really exit the application. + - [55e52a91](https://github.com/tauri-apps/tao/commit/55e52a9149adf37131e365fa667a97f9a24f1e4f) Fix LoopDestroy condition to really exit the app on 2021-06-01 +- Implement all control flow variants + - [16e2ac06](https://github.com/tauri-apps/tao/commit/16e2ac06c2f0c180a17fb8021005dec51a57af49) Add change file on 2021-05-19 +- Add checks before focusing window + - [1bd3b1c0](https://github.com/tauri-apps/tao/commit/1bd3b1c0fbdbf4e8a9bfade34a7e217f26114859) Add change file on 2021-05-22 +- Add `is_visible` getter on `Window` + - [c402a38b](https://github.com/tauri-apps/tao/commit/c402a38b1bbf240f4d2553c3f2b4edf86f03c270) feat: Add `is_visible` getter to `Window` ([#61](https://github.com/tauri-apps/tao/pull/61)) on 2021-05-27 +- **Breaking change**: New menu/tray API. + +System tray now expose `set_icon()` to update the tray icon after initialization. The `system_tray::SystemTrayBuilder` has been moved to the root of the package as a module and available on Windows, Linux and macOS, only when the `tray` feature is enabled. Windows expose a `remove()` function available with `SystemTrayExtWindows`. + +Menu builder has been rebuilt from scratch, exposing 2 different types, `ContextMenu` and `MenuBar`. + +Please refer to the docs and examples for more details. + +- [7546dbd1](https://github.com/tauri-apps/tao/commit/7546dbd157b5387249337c5166849e2868c0ab7c) refactor: menu & tray ([#77](https://github.com/tauri-apps/tao/pull/77)) on 2021-06-03 +- Fix match branch of run loop observer on iOS. + - [4e9fede6](https://github.com/tauri-apps/tao/commit/4e9fede6b63d4cf60ea0a6b974a61a00bd2b47df) Add change file on 2021-05-23 +- - `skip_taskbar` is renamed to `set_skip_taskbar`. +- `set_skip_taskbar` is now available on `Window` and is no longer behind a PlatformExt. +- `set_skip_taskbar` takes a boolean to either show or hide the window icon from the taskbar. +- Add `with_skip_taskbar` to `WindowBuilder`. +- [c0aac091](https://github.com/tauri-apps/tao/commit/c0aac0911e77b8b0b709d20fa9d1a3297b38e7ee) add `with_skip_taskbar` on 2021-05-29 +- Add `skip_taskbar` implementation for windows + - [83341701](https://github.com/tauri-apps/tao/commit/83341701843122f57139cf7583db345385b81d3c) feat: add `skip_taskabr` impl for windows ([#78](https://github.com/tauri-apps/tao/pull/78)) on 2021-05-29 + ## \[0.2.6] - Add `is_decorated` getter on `Window` diff --git a/Cargo.toml b/Cargo.toml index f2c69f2ed8..6f8c1dc73a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tao" -version = "0.2.6" +version = "0.3.0" description = "Cross-platform window manager library." authors = [ "Tauri Programme within The Commons Conservancy", @@ -27,9 +27,7 @@ targets = [ [features] default = [ "tray" ] -# Menu is unstable. menu = [ "sourceview" ] -# Tray is unstable. tray = [ "sourceview", "libappindicator" ] dox = [ "gtk/dox", "sourceview/dox" ]