Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 16, 2025

This PR contains the following updates:

Package Change Age Confidence
react-hotkeys-hook (source) 4.6.2 -> 5.2.1 age confidence

Release Notes

JohannesKlauss/react-keymap-hook (react-hotkeys-hook)

v5.2.1

Compare Source


Full Changelog: JohannesKlauss/react-hotkeys-hook@v5.2.0...v5.2.1

v5.2.0

Compare Source

  • Introduced global scopes via HotkeysProvider and useHotkeysContext to group and control hotkeys across the app (enableScope/disableScope/toggleScope)
  • Added support for key sequences (e.g. "g>g") with configurable sequenceSplitKey (default ">") and sequenceTimeoutMs
  • New options: useKey, delimiter, splitKey, keyup/keydown toggles, description, document, ignoreModifiers, eventListenerOptions, enableOnContentEditable, ignoreEventWhen
  • Accessibility: enableOnFormTags can now accept ARIA roles and works with composedPath() in shadow DOM/custom elements
  • Improved key mapping (mod/meta/OS, code→key normalization) and standardized HotkeysEvent passed to callbacks
  • Internal: refactors and stability improvements around pressed-keys tracking and listener cleanup

v5.1.0

Compare Source

  • Added BoundHotkeysProxyProvider for advanced scenarios and performance
  • Added helpers and warnings for missing provider when using scopes
  • Fixed various edge cases with modifier-only hotkeys and OS/meta key handling

v5.0.1

Compare Source

v5.0.0

Compare Source

  • Major refactor of the hook internals to support scopes and sequences
  • BREAKING: Package is ESM-only; ensure your toolchain supports ES modules
  • BREAKING: The callback now receives (keyboardEvent, hotkeysEvent) consistently; update your typings if you relied on the previous shape

Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, 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.

@hugo-vrijswijk hugo-vrijswijk merged commit e17d3cb into main Oct 16, 2025
17 checks passed
@hugo-vrijswijk hugo-vrijswijk deleted the renovate/react-hotkeys-hook-5.x branch October 16, 2025 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant