mirror of
https://github.com/italicsjenga/muda.git
synced 2024-12-23 12:01:31 +11:00
Apply Version Updates From Current Changes (#72)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
This commit is contained in:
parent
25526d7f12
commit
a999fb1d03
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
"muda": "patch"
|
||||
---
|
||||
|
||||
Added the `builders` which contains convenient builder types, like `AboutMetadataBuilder`, `MenuItemBuilder`, `SubmenuBuilder` ...etc.
|
|
@ -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<Position>` type instead of `x` and `y`. if `None` is provided, it will use the current cursor position.
|
|
@ -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.
|
|
@ -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<MenuItemKind>` instead of `Vec<Box<dyn MenuItemExt>>`
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
"muda": "minor"
|
||||
---
|
||||
|
||||
**Breaking Change**: Changed `MenuItemExt` trait name to `IsMenuItem`
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
"muda": "patch"
|
||||
---
|
||||
|
||||
Impl `TryFrom<&str>` and `TryFrom<String>` for `Accelerator`.
|
|
@ -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<Position>` 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<MenuItemKind>` instead of `Vec<Box<dyn MenuItemExt>>`
|
||||
- [`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<String>` 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.
|
||||
|
|
|
@ -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" ]
|
||||
|
|
Loading…
Reference in a new issue