Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Oct 27, 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 - On day 1 and 15 of the month ( * * 1,15 * * ) in timezone Asia/Singapore, 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.

@vercel
Copy link

vercel bot commented Oct 27, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
pbn Ready Ready Preview Comment Dec 12, 2025 8:49am

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.

1 participant