Skip to content

Commit

Permalink
Apply Version Updates From Current Changes (#62)
Browse files Browse the repository at this point in the history
Co-authored-by: amrbashir <[email protected]>
  • Loading branch information
github-actions[bot] and amrbashir authored Mar 6, 2024
1 parent 7d99bd7 commit 89f9679
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 17 deletions.
11 changes: 0 additions & 11 deletions .changes/hotkey-error.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/panic-hotkey-from-str.md

This file was deleted.

11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## \[0.5.0]

- [`7d99bd7`](https://www.github.com/tauri-apps/global-hotkey/commit/7d99bd78a383e11ae6bb8fce0525afcc9e427c8f)([#61](https://www.github.com/tauri-apps/global-hotkey/pull/61)) Refactored the errors when parsing accelerator from string:

- Added `HotKeyParseError` error enum.
- Removed `Error::UnrecognizedHotKeyCode` enum variant
- Removed `Error::EmptyHotKeyToken` enum variant
- Removed `Error::UnexpectedHotKeyFormat` enum variant
- Changed `Error::HotKeyParseError` inner value from `String` to the newly added `HotKeyParseError` enum.
- [`7d99bd7`](https://www.github.com/tauri-apps/global-hotkey/commit/7d99bd78a383e11ae6bb8fce0525afcc9e427c8f)([#61](https://www.github.com/tauri-apps/global-hotkey/pull/61)) Avoid panicing when parsing an invalid `HotKey` from a string such as `SHIFT+SHIFT` and return an error instead.

## \[0.4.2]

- [`b538534`](https://www.github.com/tauri-apps/global-hotkey/commit/b538534f9181ccd38e76d93368378fc6ed3a3a08) Changed window class name used interally so it wouldn't conflict with `tray-icon` crate implementation.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "global-hotkey"
version = "0.4.2"
version = "0.5.0"
description = "Global hotkeys for Desktop Applications"
edition = "2021"
keywords = [ "windowing", "global", "global-hotkey", "hotkey" ]
Expand Down

0 comments on commit 89f9679

Please sign in to comment.