Releases: koot-labs/telegram-bot-dialogs
1.1.0
What's changed:
- Allow specifying
null
as TTL to store dialogs as long as possible (follow PSR-16 rules)
-1
for TTL to store dialog state forever (but in reality your PSR-16 implementation should treat such cache as expired, so it's a BC break only for PSR-16 implementations that don't follow all the PSR-16 rules)
Full Changelog: 1.0.0...1.1.0
1.0.0
What's Changed
- Use more consistent variable and method names to improve developer experience @alies-dev and @dimaodnokoz
- Remove all deprecated functionality @alies-dev
- Enhance package documentation and examples @alies-dev and @dimaodnokoz
This release contains BC breaks, please check the UPGRADE guide
Full Changelog: 0.15.0...1.0.0
1.0.0-beta.4 🧸🧸🧸🧸
What's Changed
- Bugfix in proceedConfiguredStep function in dialog.php: json_encode of reply_markup added by @dimaodnokoz in #37
- BC break: Reorganize array shape for configured steps by @alies-dev in #38
The new array shape for configured steps better reflects the real Telegram Bit API:
[
'name' => 'menu',
'sendMessage' => [
'text' => 'Please choose an option:',
'reply_markup' => [
'keyboard' => [
['Help', 'About'],
['Exit'],
],
'resize_keyboard' => true,
],
],
],
but you still can use the simple version if you just need to send some text:
// Before
[
'name' => 'step-name',
'response' => 'Hi!',
'options' => ['parse_mode' => 'HTML'],
],
// After
[
'name' => 'step-name',
'sendMessage' => [
'text' => 'Hi!',
'parse_mode' => 'HTML',
],
]
Full Changelog: 1.0.0-beta.3...1.0.0-beta.4
1.0.0-beta.3 🧸🧸🧸
What's changed
- Changed (simplified) constructor of the
BotInitiatedUpdate
class @alies-dev and @dimaodnokoz - Minor doc fixes @alies-dev
Full Changelog: 1.0.0-beta.2...1.0.0-beta.3
1.0.0-beta.2 🧸🧸
What's Changed
- Fix typos in .md, +1 method to Dialogs facade by @dimaodnokoz in #36 and @alies-dev
- Properly process step switch by @dimaodnokoz in #36
Full Changelog: 1.0.0-beta.1...1.0.0-beta.2
1.0.0-beta.1 🧸
What's changed
- Remove deprecated methods @alies-dev
See UPGRADE.md guide
Full Changelog: 0.15.0...1.0.0-beta.1
0.15.0
What's Changed
- Cleaner method names (use method names that will be used in v1.0) @alies-dev in #35
- Improve docs @alies-dev
- Added UPGRADE guide https://github.com/koot-labs/telegram-bot-dialogs/blob/master/UPGRADE.md
Full Changelog: 0.14.0...0.15.0
0.14.0
What's changed
- Bump the min PHP version to 8.1 @alies-dev
- Add more tests @alies-dev
Full Changelog: 0.13.5...0.14.0
0.13.5
What's Changed
- Process
nextStep
parameter by proceedConfiguredStep by @dimaodnokoz in #34
Full Changelog: 0.13.4...0.13.5