Skip to content

Releases: koot-labs/telegram-bot-dialogs

0.13.0

22 Jun 11:51
ba89c67
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.12.0...0.13.0

0.12.0

06 Jun 11:14
12801d1
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.11.1...0.12.0

0.11.1

17 May 14:58
0a75501
Compare
Choose a tag to compare

What's Changed

  • Fix calling afterLastStep by @dimaodnokoz in #26
  • Move Dialog store key generation to a single place by @dimaodnokoz
  • Make HelloExampleDialog more advanced: add keyboard, change data flow @lptn

New Contributors

Full Changelog: 0.11.0...0.11.1

0.11.0

14 May 22:53
70abcee
Compare
Choose a tag to compare

What's Changed

  • Solely Use Laravel Cache and PSR-16. Remove custom Store interface and implementations. By @alies-dev in #22
  • Use Laravel Collection for Dialog Memory (instead of array) by @alies-dev in #23

Internal changes:

  • Add a new GitHub workflow to build a new Laravel app and run a bot for 20 seconds @alies-dev

BC breaks:

Changes should not effect your apps and you setup everything properly and didn't code created for internal usage.

  • [BC] REMOVED: Class KootLabs\TelegramBotDialogs\Laravel\Stores\RedisStoreAdapter has been deleted
  • [BC] REMOVED: Class KootLabs\TelegramBotDialogs\Storages\Store has been deleted
  • [BC] REMOVED: Class KootLabs\TelegramBotDialogs\Storages\Drivers\RedisStore has been deleted
  • [BC] CHANGED: Type of property KootLabs\TelegramBotDialogs\Dialog#$memory changed from array to Illuminate\Support\Collection
  • [BC] CHANGED: The parameter $store of KootLabs\TelegramBotDialogs\DialogManager#__construct() changed from KootLabs\TelegramBotDialogs\Storages\Store|Psr\SimpleCache\CacheInterface to a non-contravariant KootLabs\TelegramBotDialogs\DialogRepository

Full Changelog: 0.10.2...0.11.0

0.10.2

14 May 13:17
72dd582
Compare
Choose a tag to compare

What's changed

  • Updated docs to avoid confusion between Dialog and DialogManager public APIs @alies-dev
  • Fix user-bounded dialogs: properly generate keys to store dialog states (see 18e2cd6) @alies-dev
  • Add more tests @alies-dev

Minor BC breaks:

  • [BC] CHANGED: Type of property KootLabs\TelegramBotDialogs\Exceptions\ControlFlow\SwitchToAnotherDialog#$nextDialog changed from Dialog|null to Dialog
  • [BC] CHANGED: KootLabs\TelegramBotDialogs\Dialog#proceed() was marked @internal

Full Changelog: 0.10.1...0.10.2

0.10.1

12 May 22:38
7bd91ce
Compare
Choose a tag to compare

What's Changed

  • Improve documentation and examples @alies-dev
  • Deprecate beforeAllStep in favor of beforeFirstStep @alies-dev
  • Deprecate afterAllStep in favor of afterLastStep @alies-dev

Internal changes:

Full Changelog: 0.10.0...0.10.1

0.10.0

10 May 19:13
6be552e
Compare
Choose a tag to compare

What's Changed

  • Allow starting new dialogs by a server (for existing charts with a bot) by @alies-dev in #10
  • Allow switching from new current Dialog to a new one by @alies-dev in #11

Full Changelog: 0.9.2...0.10.0

0.9.2

10 May 15:28
fd8ad29
Compare
Choose a tag to compare

What's changed

  • Support \DateInterval when set Dialog TTL @alies-dev

Full Changelog: 0.9.1...0.9.2

0.9.1

10 May 14:58
7fa0298
Compare
Choose a tag to compare

What's changed

Full Changelog: 0.9.0...0.9.1

0.9.0

10 May 14:20
0f57349
Compare
Choose a tag to compare

What's Changed

  • Support PSR-16 cache to store Dialog states by @alies-dev in #9

⚠️ This release has breaking changes if you used custom \KootLabs\TelegramBotDialogs\Storages\Store interface implementations

Full Changelog: 0.8.0...0.9.0