Skip to content

Releases: EdJoPaTo/grammy-inline-menu

v7.0.0-beta.1

23 Sep 06:31
Compare
Choose a tag to compare
v7.0.0-beta.1 Pre-release
Pre-release

v6.3.0...v7.0.0-beta.1

v6.3.0

22 Jul 15:09
Compare
Choose a tag to compare
  • feat(body): add InvoiceBody 955dec8

v6.2.1...v6.3.0

v6.2.1

25 Mar 03:43
Compare
Choose a tag to compare
  • fix: adapt to new internal typing locations f7fb05c

Somewhat breaking: requires telegraf v4.3

v6.2.0...v6.2.1

v6.2.0

22 Feb 22:03
Compare
Choose a tag to compare
  • feat(template): add manualAction 3d2e6e7
  • fix(middleware): improve detection of bad rootTriggers cd23a88

v6.1.0...v6.2.0

v6.1.0

02 Feb 22:22
c426783
Compare
Choose a tag to compare
  • refactor(send-menu): improve return type of edit functions ed79741

v6.0.0...v6.1.0

v6.0 - Migrate to telegraf v4

26 Jan 20:39
2898974
Compare
Choose a tag to compare
  • migrate to telegraf v4

v5.3.0...v6.0.0

Migrate from version 5 to version 6

Version 6 switched from telegraf 3.38 to 4.0. See the telegraf migration guide for this set of changes.

telegraf-inline-menu is relativly unaffected by this.
The only change required besides the telegraf changes is the change of ctx.match.
Simply add match to your MyContext type:

export interface MyContext extends TelegrafContext {
	readonly match: RegExpExecArray | undefined;
	
}

telegraf knows when match is available or not.
The default Context does not have match anymore.
telegraf-inline-menu should also know this in a future release.

v6.0.0-alpha1

11 Jan 22:20
ac5331d
Compare
Choose a tag to compare
v6.0.0-alpha1 Pre-release
Pre-release
  • feat: migrate to telegraf v4 3a2698f

Known issue: context.match typings are not available like they are when using bot.action(context => { console.log(context.match); }.
Check details in #144

v5.3.0...v6.0.0-alpha1

v5.3.0

08 Oct 09:31
6e7fff4
Compare
Choose a tag to compare
  • feat(choices): allow usage of Map<number, string> 83b0d3b
  • fix(choices): readonly record 8c8c6d5

v5.2.1...v5.3.0

v5.2.1

30 Sep 00:17
f514f29
Compare
Choose a tag to compare
  • chore(npm): using types is a dependency d495d9b

v5.2.0...v5.2.1

v5.2.0

29 Sep 23:54
693cc9b
Compare
Choose a tag to compare
  • feat(body): add LocationBody and VenueBody 26348af

v5.1.0...v5.2.0