Skip to content

Releases: EdJoPaTo/grammy-inline-menu

v5.0.0-beta.4

24 May 23:29
7d8c6ae
Compare
Choose a tag to compare
v5.0.0-beta.4 Pre-release
Pre-release
  • feat: add formatState function to select and toggle e7cff1a
  • feat(body): disable_web_page_preview c8d40e7

BREAKING CHANGE: select multiselect is renamed to showFalseEmoji

v5.0.0-beta.3...v5.0.0-beta.4

v5.0.0-beta.3

21 May 18:35
ce0bc0a
Compare
Choose a tag to compare
v5.0.0-beta.3 Pre-release
Pre-release

leaveOnChildInteraction is replaced by returnable strings on do functions. When you return a relative path like '..' the menu will be shown after the do function is done. Check out the changes in the example as they represent the Breaking changes by this well. fa77f57 4b0e47a

An addition to understand the things this library is doing is the MenuMiddleware tree() method. It returns the submenus and actions handled by the middleware in a formatted string. 4cccae8

  • feat: allow for relative path as return value fa77f57
  • refactor: remove leaveOnChildInteraction 4b0e47a
  • feat(menu-middleware): add tree() 4cccae8
  • fix(select): allow hideFalseEmoji to be overriden df84fb0

v5.0.0-beta.2...v5.0.0-beta.3

v5.0.0-beta.2

20 May 17:32
2eae3e9
Compare
Choose a tag to compare
v5.0.0-beta.2 Pre-release
Pre-release

This is still in testing and lacks documentation.
API might change until release.
I appreciate feedback!

also see migration notes

  • fix(manualRow): remove constant argument 3eb5a8f
  • feat(send-menu): add delete and resend methods 80b4112
  • feat: allow for more media in body f20fe2f
  • fix(toggle): hide keyboard button when hidden 6bfc7f6

v5.0.0-beta.1...v5.0.0-beta.2

v5.0.0-beta.1

01 May 16:40
58da393
Compare
Choose a tag to compare
v5.0.0-beta.1 Pre-release
Pre-release

rework library d24d6b2

This is still in testing and lacks documentation.
API might change until release.
I appreciate feedback!

also see migration notes

v4.0.1...v5.0.0-beta.1

v4.0.1

25 Apr 06:06
c0fee12
Compare
Choose a tag to compare
  • fix: adapt types to telegraf@3.38.0 7a138fe
  • and a bunch of refactorings

Compability:

  • NodeJS 8 is no longer actively supported (as it ran out of LTS) 12f5e79
  • Typescript Users require telegraf@3.38 for types to work 7a138fe

v4.0.0...v4.0.1

v4.0.0

01 Nov 20:43
2f2a87b
Compare
Choose a tag to compare

menu.question does now allow for a questionText function. This allows for translation. As the questionText itself isn't unique anymore a new uniqueIdentifier has to be given. fd8fd2b

menu.select with option submenu does no longer work. This was already deprecated since introducing TypeScript types and is now entirely removed. Use menu.selectSubmenu instead. 8731b2d

v3.6.3...v4.0.0

v3.6.3

08 Oct 09:35
2f59887
Compare
Choose a tag to compare
  • fix(select): allow readonly options array 4739ec0

v3.6.2...v3.6.3

v3.6.2

09 Sep 21:55
ea66ea6
Compare
Choose a tag to compare
  • fixup! fix(pagination): currentPage can return undefined 31c6ea1

v3.6.1...v3.6.2

v3.6.1

09 Sep 21:41
b22aaba
Compare
Choose a tag to compare
  • fix(pagination): currentPage can return undefined 0a3fe0f

v3.6.0...v3.6.1

v3.6.0

17 Jun 10:38
3f08b19
Compare
Choose a tag to compare
  • feat(select): select options can be numeric 0006f94
  • fix: correct typo in error output 3e9a7bd

v3.5.5...v3.6.0