Releases: sindresorhus/KeyboardShortcuts
Releases · sindresorhus/KeyboardShortcuts
2.0.0
Breaking
- Require macOS 10.15 or later 04b8db6
- Remove deprecated
KeyboardShortcuts.on()
method 09e4a10
- The
NSMenuItem#setShortcut()
method is now marked with @MainActor
3b11952
Improvements
- Improve support for strict concurrency 3b11952
1.17.0...2.0.0
1.17.0
- Add
LocalizedStringKey
initializer to Recorder
to support localizing the title
- Add Slovak localization
1.16.1...1.17.0
1.16.1
- Fix memory leak for
NSMenuItem#setShortcut
- Fix iOS previews for multiplatform apps
1.16.0...1.16.1
1.14.1
- Fix shortcut recorder not properly stopping when window gets hidden b878f81
- Fix initial focus prevention not working when window is unhidden or the parent view goes from hidden to visible b878f81
1.14.0...1.14.1
1.14.0
- Use
Space
to indicate the space key instead of ⎵
.
⌘⎵
was confusing to users and macOS itself uses ⌘Space
in their keyboard shortcut recorders and in menu items.
1.13.0...1.14.0
1.12.0
- Automatically observe
NSMenu
's f0d470d
- This means you no longer need to set
KeyboardShortcuts.isMenuOpen
, and the property has been made private.
- Improve compatibility with macOS 14 f0d470d
1.11.0...1.12.0
1.11.0
- Support disabling/enabling multiple keyboard shortcuts in a single call 018e445
- Improve display of keypad keys 746f74e
- Fix cursor disappearing when switching to other textfield when using
RecorderCocoa
921c77e
Note: The tag is now without a v
prefix since Xcode cannot handle the prefix.
v1.10.0...1.11.0