Skip to content

Releases: sindresorhus/KeyboardShortcuts

2.0.0

20 Feb 11:22
Compare
Choose a tag to compare

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

14 Jan 06:49
Compare
Choose a tag to compare
  • Add LocalizedStringKey initializer to Recorder to support localizing the title
  • Add Slovak localization

1.16.1...1.17.0

1.16.1

27 Nov 21:36
c252200
Compare
Choose a tag to compare
  • Fix memory leak for NSMenuItem#setShortcut
  • Fix iOS previews for multiplatform apps

1.16.0...1.16.1

1.16.0

15 Nov 06:41
Compare
Choose a tag to compare
  • Allow overriding system-reserved shortcuts de40257

1.15.0...1.16.0

1.15.0

19 Sep 16:26
ac302e2
Compare
Choose a tag to compare
  • Add pt-BR localization

1.14.1...1.15.0

1.14.1

01 Sep 20:06
Compare
Choose a tag to compare
  • 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

15 Aug 19:14
Compare
Choose a tag to compare
  • 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.13.0

16 Jul 12:00
8b1a9ce
Compare
Choose a tag to compare
  • Improve compatibility with macOS 14

1.12.0...1.13.0

1.12.0

09 Jul 10:47
Compare
Choose a tag to compare
  • 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

04 May 18:11
Compare
Choose a tag to compare
  • 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