Skip to content

⬆️ Update sindresorhus/KeyboardShortcuts to v2#492

Open
renovate[bot] wants to merge 2 commits into
mainfrom
renovate/sindresorhus-keyboardshortcuts-2.x
Open

⬆️ Update sindresorhus/KeyboardShortcuts to v2#492
renovate[bot] wants to merge 2 commits into
mainfrom
renovate/sindresorhus-keyboardshortcuts-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 28, 2026

This PR contains the following updates:

Package Update Change
sindresorhus/KeyboardShortcuts major 1.10.02.4.0

Release Notes

sindresorhus/KeyboardShortcuts (sindresorhus/KeyboardShortcuts)

v2.4.0

Compare Source

  • Add NSEvent.ModifierFlags#ks_symbolicRepresentation
  • Add isEnabled() method (#​215)
  • Add removeHandler() method (#​216)
  • Fix RecorderCocoa zero-size issue when added without constraints
  • Fix first responder warning in SwiftUI contexts
  • Fix localization issues
  • Add Italian localization (#​224)

v2.3.0

Compare Source

  • Add Shortcut#nsMenuItemKeyEquivalent property 045cf17
  • Fix compilation of the package in multi-platform projects 2d6b49e

v2.2.4

Compare Source


v2.2.3

Compare Source

  • Fix logic for .globalKeyboardShortcut() 323d9f8

v2.2.2

Compare Source

  • Fix using Control+C keyboard shortcut

v2.2.1

Compare Source

  • Fix recorder not allowing multiple modifiers when option is present on macOS 15
  • Fix zh localizations

v2.2.0

Compare Source

  • Add .resetAll() method

v2.1.0

Compare Source

  • Add SwiftUI.View#globalKeyboardShortcut() method
  • Show a dialog to the user when setting a shortcut with the Option key without Command or Control on macOS 15 or later in sandboxed apps

v2.0.2

Compare Source

  • Improve localizations

v2.0.1

Compare Source

  • Fix missing localization for the “Space” key shortcut

v2.0.0

Compare Source

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

v1.17.0

Compare Source

  • Add LocalizedStringKey initializer to Recorder to support localizing the title
  • Add Slovak localization

v1.16.1

Compare Source

  • Fix memory leak for NSMenuItem#setShortcut
  • Fix iOS previews for multiplatform apps

v1.16.0

Compare Source

  • Allow overriding system-reserved shortcuts de40257

v1.15.0

Compare Source

  • Add pt-BR localization

v1.14.1

Compare Source

  • 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

v1.14.0

Compare Source

  • 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.

v1.13.0

Compare Source

  • Improve compatibility with macOS 14

v1.12.0

Compare Source

  • 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

v1.11.0

Compare Source

  • 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.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/sindresorhus-keyboardshortcuts-2.x branch 12 times, most recently from e3049af to 6db52cd Compare May 28, 2026 06:48
@renovate renovate Bot force-pushed the renovate/sindresorhus-keyboardshortcuts-2.x branch from 6db52cd to 7738e53 Compare May 28, 2026 06:51
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented May 28, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants