Apply Version Updates From Current Changes #222
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Version Updates
Merging this PR will release new versions of the following packages based on your change files.
muda
[0.15.0]
40d06c5 (fix!:
acccelerator
typo ->accelerator
#226 by @amrbashir) Breaking change Renamed theacccelerator
method (which has an extrac
) onMenuItemBuilder
,CheckMenuItemBuilder
, andIconMenuItemBuilder
toaccelerator
.0d368bb (Don't expose macOS implementation details in the public API #220 by @madsmtm) Breaking Change Changed the type of the pointer passed in
show_context_menu_for_nsview
toc_void
, and make the methodunsafe
.63c9f28 (fix:
set_theme_for_hwnd
always resulting dark on Windows #224 by @Legend-Master) Fixset_theme_for_hwnd
always resulting in dark on Windows, and doesn't refresh until losing and regaining focusf781c0e (refctor!: mark functions as unsafe and document its safety #227 by @amrbashir) Breaking change Marked a few methods with
unsafe
to better represent the safety guarantees:ContextMenu::show_context_menu_for_hwnd
ContextMenu::attach_menu_subclass_for_hwnd
ContextMenu::detach_menu_subclass_from_hwnd
Menu::init_for_hwnd
Menu::init_for_hwnd_with_theme
Menu::set_theme_for_hwnd
Menu::remove_for_hwnd
Menu::hide_for_hwnd
Menu::show_for_hwnd
Menu::is_visible_on_hwnd
5c8971a (Migrate from
objc
/cocoa
toobjc2
#221 by @madsmtm) Useobjc2
internally, leading to much better memory safety. The crate will panic now if used from a thread that is not the main thread.