Releases: koot-labs/telegram-bot-dialogs
Releases · koot-labs/telegram-bot-dialogs
0.13.0
What's Changed
- Feature:
switch()
method added @dimaodnokoz in #30 - Added
Dialog::nextStep
alias forDialog::jump
method and deprecateDialog::jump()
@alies-dev - Fix typo in method name by @szepeviktor in #29
New Contributors
- @szepeviktor made their first contribution in #29
Full Changelog: 0.12.0...0.13.0
0.12.0
What's Changed
- Add
DialogManager::forgetActiveDialog
by @dimaodnokoz in #28 - Update examples @alies-dev
Full Changelog: 0.11.1...0.12.0
0.11.1
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
- @dimaodnokoz made their first contribution in #24
Full Changelog: 0.11.0...0.11.1
0.11.0
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 fromarray
toIlluminate\Support\Collection
- [BC] CHANGED: The parameter $store of
KootLabs\TelegramBotDialogs\DialogManager#__construct()
changed fromKootLabs\TelegramBotDialogs\Storages\Store|Psr\SimpleCache\CacheInterface
to a non-contravariantKootLabs\TelegramBotDialogs\DialogRepository
Full Changelog: 0.10.2...0.11.0
0.10.2
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 fromDialog|null
toDialog
- [BC] CHANGED:
KootLabs\TelegramBotDialogs\Dialog#proceed()
was marked@internal
Full Changelog: 0.10.1...0.10.2
0.10.1
What's Changed
- Improve documentation and examples @alies-dev
- Deprecate
beforeAllStep
in favor ofbeforeFirstStep
@alies-dev - Deprecate
afterAllStep
in favor ofafterLastStep
@alies-dev
Internal changes:
- Bump ramsey/composer-install from 2 to 3 by @dependabot in #15
Full Changelog: 0.10.0...0.10.1
0.10.0
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
0.9.1
What's changed
- Fix type issues in RedisStoreAdapter @alies-dev
- Add Psalm @alies-dev
Full Changelog: 0.9.0...0.9.1
0.9.0
What's Changed
- Support PSR-16 cache to store Dialog states by @alies-dev in #9
\KootLabs\TelegramBotDialogs\Storages\Store
interface implementations
Full Changelog: 0.8.0...0.9.0