Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 12 Jan 02:19
· 118 commits to main since this release

What's Changed

Code Quality & Cleanup

  • Deduplicated key rendering logic - Extracted shared renderModifierIcons, renderKeyContent, renderSeqElem, and renderKeySeq helpers into KeyElements.tsx, reducing ~100 lines of duplicate code across SequenceModal, LookupModal, Kbd, and ShortcutsModal
  • Removed deprecated APIs - Removed parseCombinationId (use parseHotkeyString) and the combination field from RecordHotkeyResult (use sequence)
  • Fixed navigator.platform deprecation - Now uses navigator.userAgentData.platform with fallback to userAgent
  • Consolidated isMac detection - Single implementation in utils.ts instead of duplicates

Bug Fixes

  • Fixed void function return value being used with ?? operator in ShortcutsModal
  • Removed unused matchState parameter from internal tryExecuteKeySeq function

Internal

  • Simplified score calculation in fuzzy search (removed redundant * 1)
  • Added comment explaining --kbd-bg CSS override in site styles (demonstrates theming customization)

Full Changelog: v0.4.0...v0.5.0