Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Apr 26, 2025

This PR contains the following updates:

Package Change Age Confidence
react-hotkeys-hook (source) ^4.4.1 -> ^5.0.0 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

v4.6.2

Compare Source

What's Changed

New Contributors

Full Changelog: JohannesKlauss/react-hotkeys-hook@v4.6.1...v4.6.2

v4.6.1

Compare Source

What's Changed

New Contributors

Full Changelog: JohannesKlauss/react-hotkeys-hook@v4.6.0...v4.6.1

v4.6.0

Compare Source

  • Added 'hotkey' field, which shows which combination triggered the handler

v4.5.1

Compare Source

What's Changed

New Contributors

Full Changelog: JohannesKlauss/react-hotkeys-hook@v4.5.0...v4.5.1

v4.5.0

Compare Source

What's Changed

New Contributors

Full Changelog: JohannesKlauss/react-hotkeys-hook@v4.4.4...v4.5.0

v4.4.4

Compare Source

What's Changed

Full Changelog: JohannesKlauss/react-hotkeys-hook@v4.4.3...v4.4.4

v4.4.3

Compare Source

What's Changed

New Contributors

Full Changelog: JohannesKlauss/react-hotkeys-hook@v4.4.2...v4.4.3

v4.4.2

Compare Source

What's Changed

New Contributors

Full Changelog: JohannesKlauss/react-hotkeys-hook@v4.4.1...v4.4.2


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.

@renovate renovate bot force-pushed the renovate/react-hotkeys-hook-5.x branch from ed2b1dc to 4182ecf Compare May 3, 2025 03:56
@renovate renovate bot force-pushed the renovate/react-hotkeys-hook-5.x branch from 4182ecf to 124e459 Compare August 16, 2025 23:38
@renovate renovate bot force-pushed the renovate/react-hotkeys-hook-5.x branch from 124e459 to 1380e69 Compare September 27, 2025 07:47
@renovate renovate bot force-pushed the renovate/react-hotkeys-hook-5.x branch from 1380e69 to b394945 Compare October 18, 2025 07:12
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.

0 participants