react-hotkeys v2.0.0-pre4 Release Notes

Release Date: 2019-01-27 // about 5 years ago
  • ๐Ÿ’ฅ Breaking Changes

    ๐Ÿ›  Bugfixes

    • HotKeys not working for form fields/inputs #138
    • ๐Ÿ›  Fix a number of issues with the TypeScript definitions in index.d.ts
    • ๐Ÿ›  Fix Escape not being treated as a "special key" (non single char key name)
    • ๐Ÿ›  Fix incorrect JSDoc @private annotations
    • ๐Ÿ›  Fix incorrect object JSDoc @typedefs

    ๐Ÿ†• New Features

    • cmd is now an accepted alias for Command/Meta key
    • โž• Added a way of filtering key maps to the example app
    • โž• Add an <ObserveKeys /> component (and corresponding withObserveKeys method to avoid wrapper div) for defining white-list exceptions to the the default ignoreEventsCondition

      this.setState({ filter: value })} value={filter} placeholder='Filter' />

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ‘Œ Improvements to the way the test suite is run #135 #139 #142
    • Readme improvements #139
    • ๐ŸŒฒ Standardise and improve logging statements
    • ๐Ÿ›  Fix various minor typos and static analysis suggestions
    • โœ‚ Remove internal concepts no longer used