From a999fb1d03ee5c41827e68250f100b5353d97210 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 27 Jul 2023 20:10:04 +0300 Subject: [PATCH] Apply Version Updates From Current Changes (#72) Co-authored-by: amrbashir --- .changes/builders.md | 5 ----- .changes/context-menu-pos.md | 5 ----- .changes/gtk-optional-container.md | 5 ----- .changes/menu-item-kind.md | 5 ----- .changes/menu-item-trait-name.md | 5 ----- .changes/try-from.md | 5 ----- CHANGELOG.md | 9 +++++++++ Cargo.toml | 2 +- 8 files changed, 10 insertions(+), 31 deletions(-) delete mode 100644 .changes/builders.md delete mode 100644 .changes/context-menu-pos.md delete mode 100644 .changes/gtk-optional-container.md delete mode 100644 .changes/menu-item-kind.md delete mode 100644 .changes/menu-item-trait-name.md delete mode 100644 .changes/try-from.md diff --git a/.changes/builders.md b/.changes/builders.md deleted file mode 100644 index a3e00f4..0000000 --- a/.changes/builders.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"muda": "patch" ---- - -Added the `builders` which contains convenient builder types, like `AboutMetadataBuilder`, `MenuItemBuilder`, `SubmenuBuilder` ...etc. diff --git a/.changes/context-menu-pos.md b/.changes/context-menu-pos.md deleted file mode 100644 index ac3b25d..0000000 --- a/.changes/context-menu-pos.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"muda": "minor" ---- - -**Breaking Change**: `ContextMenu::show_context_menu_for_hwnd`, `ContextMenu::show_context_menu_for_gtk_window` and `ContextMenu::show_context_menu_for_nsview` has been changed to take an optional `Into` type instead of `x` and `y`. if `None` is provided, it will use the current cursor position. diff --git a/.changes/gtk-optional-container.md b/.changes/gtk-optional-container.md deleted file mode 100644 index cd52ea5..0000000 --- a/.changes/gtk-optional-container.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"muda": "minor" ---- - -**Breaking Change**: Changed `Menu::init_for_gtk_window` to accept a second argument for a container to which the menu bar should be added, if `None` was provided, it will add it to the window directly. The method will no longer create a `gtk::Box` and append it to the window, instead you should add the box to the window yourself, then pass a reference to it to the method so it can be used as the container for the menu bar. diff --git a/.changes/menu-item-kind.md b/.changes/menu-item-kind.md deleted file mode 100644 index 36253d9..0000000 --- a/.changes/menu-item-kind.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"muda": "minor" ---- - -**Breaking Change**: Removed `MenuItemType` enum and replaced with `MenuItemKind` enum. `Menu::items` and `Submenu::items` methods will now return `Vec` instead of `Vec>` diff --git a/.changes/menu-item-trait-name.md b/.changes/menu-item-trait-name.md deleted file mode 100644 index c0da5c8..0000000 --- a/.changes/menu-item-trait-name.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"muda": "minor" ---- - -**Breaking Change**: Changed `MenuItemExt` trait name to `IsMenuItem` diff --git a/.changes/try-from.md b/.changes/try-from.md deleted file mode 100644 index 62afaac..0000000 --- a/.changes/try-from.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"muda": "patch" ---- - -Impl `TryFrom<&str>` and `TryFrom` for `Accelerator`. diff --git a/CHANGELOG.md b/CHANGELOG.md index 742b7cc..48d5951 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## \[0.7.0] + +- [`ee30bf8`](https://www.github.com/tauri-apps/muda/commit/ee30bf8d29895c35d7cda0d67d9d64b71910380a)([#73](https://www.github.com/tauri-apps/muda/pull/73)) Added the `builders` which contains convenient builder types, like `AboutMetadataBuilder`, `MenuItemBuilder`, `SubmenuBuilder` ...etc. +- [`c7ec320`](https://www.github.com/tauri-apps/muda/commit/c7ec3207388947b5572847e589eb494d0222373d)([#78](https://www.github.com/tauri-apps/muda/pull/78)) **Breaking Change**: `ContextMenu::show_context_menu_for_hwnd`, `ContextMenu::show_context_menu_for_gtk_window` and `ContextMenu::show_context_menu_for_nsview` has been changed to take an optional `Into` type instead of `x` and `y`. if `None` is provided, it will use the current cursor position. +- [`98701d0`](https://www.github.com/tauri-apps/muda/commit/98701d0b3277dcb63ee50a8a11f5b008ed432307)([#75](https://www.github.com/tauri-apps/muda/pull/75)) **Breaking Change**: Changed `Menu::init_for_gtk_window` to accept a second argument for a container to which the menu bar should be added, if `None` was provided, it will add it to the window directly. The method will no longer create a `gtk::Box` and append it to the window, instead you should add the box to the window yourself, then pass a reference to it to the method so it can be used as the container for the menu bar. +- [`20c05ce`](https://www.github.com/tauri-apps/muda/commit/20c05ceae677338b2b9dbf247a86d4049280cc90)([#79](https://www.github.com/tauri-apps/muda/pull/79)) **Breaking Change**: Removed `MenuItemType` enum and replaced with `MenuItemKind` enum. `Menu::items` and `Submenu::items` methods will now return `Vec` instead of `Vec>` +- [`0000e56`](https://www.github.com/tauri-apps/muda/commit/0000e569746e7cb630a1453a401bf8f6b0568e9d)([#71](https://www.github.com/tauri-apps/muda/pull/71)) **Breaking Change**: Changed `MenuItemExt` trait name to `IsMenuItem` +- [`ee30bf8`](https://www.github.com/tauri-apps/muda/commit/ee30bf8d29895c35d7cda0d67d9d64b71910380a)([#73](https://www.github.com/tauri-apps/muda/pull/73)) Impl `TryFrom<&str>` and `TryFrom` for `Accelerator`. + ## \[0.6.0] - [`ac14222`](https://www.github.com/tauri-apps/muda/commit/ac142229340c8ded63316fbc1cd1c11bf27e0890)([#69](https://www.github.com/tauri-apps/muda/pull/69)) Add `common-controls-v6` feature flag, disabled by default, which could be used to enable usage of `TaskDialogIndirect` API from `ComCtl32.dll` v6 on Windows for The predefined `About` menu item. diff --git a/Cargo.toml b/Cargo.toml index b25d5c9..f75c1ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "muda" -version = "0.6.0" +version = "0.7.0" description = "Menu Utilities for Desktop Applications" edition = "2021" keywords = [ "windowing", "menu" ]