Skip to content

0.8.0

Compare
Choose a tag to compare
@carafelix carafelix released this 19 Jun 01:02
· 43 commits to main since this release

What's Changed

Major changes:

  • add LanguageCode type to interfaces that used language_code
  • narrow getNearestCommand output based on the user language, add ignoreLocalization flag to revert this
  • expand search of getNearestCommand to multiple Commands instances
  • add .toElementals method, which serialize all register commands, and their localizations.
  • refactor mergeMyCommandsParams function into MyCommandParams static class

minor:

  • lower default similarity threshold for FuzzyMatch
  • add array support for setMyCommands
  • jsdoc improvements

Full Changelog: v0.7.0...0.8.0