Releases: grammyjs/commands
Releases · grammyjs/commands
v0.10.0
What's Changed
- BREAKING CHANGE: rename Commands class to CommandGroup by @carafelix in #35
- feat: Add method for accessing command entities hydrated with matching custom prefixes by @carafelix in #31
- feat: add
commandNotFound
filter / helper function for setting up adid you mean?
handler by @carafelix in #35 - chore: add git hooks and lint-staged by @roziscoding in #40
- feat: add API compliance validation to setMyCommands calls by @roziscoding in #36
- chore: change indentWidth to 2 by @roziscoding in #41
- docs: update README to CommandGroup vs Commands by @roziscoding in #42
- v0.10.0 by @roziscoding in #43
Full Changelog: v0.9.0...v0.10.0
v0.9.0
What's Changed
- fix incorrect docs by @dcdunkan in #33
- feat: allow command casing to be ignored by @roziscoding and @carafelix in #30
New Contributors
Full Changelog: v0.8.1...v0.9.0
v0.8.1
What's Changed
- fix: do not create infinite middleware loops by @KnorpelSenf in #28
New Contributors
- @KnorpelSenf made their first contribution in #28
Full Changelog: 0.8.0...v0.8.1
0.8.0
What's Changed
- chore: 0.8 release by @carafelix in #26
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
v0.7.0
What's Changed
- fix: localization command names being empty by @carafelix in #14
- feat: add mixin of commands on ctx by @carafelix in #15
Full Changelog: v0.6.1...v0.7.0
v0.6.1
What's Changed
- Fix middleware command context type by @carafelix in #10
New Contributors
- @carafelix made their first contribution in #10
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
- feat: allow specifying default scope by @roziscoding in #8
Full Changelog: v0.5.1...v0.6.0
v0.5.1
v0.5.0
What's Changed
- chore: new deno fmt rules by @roziscoding in #4
- feat: Add ctx.getNearestCommand using jaro-winkler algorithm by @Camelik in #5
- Minor improvements by @roziscoding in #6
New Contributors
Full Changelog: v0.4.0...v0.5.0
v0.4.0
What's Changed
- custom prefixes
- support for regex commands
- support for commands in the middle of messages
- option to disable or require bot's username for commands to work
BREAKING CHANGE: multiple middleware can no longer be passed as multiple parameters. use an array instead
Full Changelog: v0.3.1...v0.4.0