Skip to content

Releases: koot-labs/telegram-bot-dialogs

1.1.0

20 Jan 20:08
8c3c655
Compare
Choose a tag to compare

What's changed:

  • Allow specifying null as TTL to store dialogs as long as possible (follow PSR-16 rules)

⚠️ Note, this release has a BC break if you used -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

03 Dec 14:26
fa43001
Compare
Choose a tag to compare

What's Changed

This release contains BC breaks, please check the UPGRADE guide

Full Changelog: 0.15.0...1.0.0

1.0.0-beta.4 🧸🧸🧸🧸

01 Dec 10:01
fa43001
Compare
Choose a tag to compare
Pre-release

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 🧸🧸🧸

24 Nov 22:22
0efd47f
Compare
Choose a tag to compare
Pre-release

What's changed

Full Changelog: 1.0.0-beta.2...1.0.0-beta.3

1.0.0-beta.2 🧸🧸

24 Nov 21:55
60d2433
Compare
Choose a tag to compare
1.0.0-beta.2 🧸🧸 Pre-release
Pre-release

What's Changed

Full Changelog: 1.0.0-beta.1...1.0.0-beta.2

1.0.0-beta.1 🧸

20 Nov 19:37
44dd443
Compare
Choose a tag to compare
1.0.0-beta.1 🧸 Pre-release
Pre-release

What's changed

See UPGRADE.md guide

Full Changelog: 0.15.0...1.0.0-beta.1

0.15.0

20 Nov 18:47
8720aed
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.14.0...0.15.0

0.14.0

20 Nov 00:14
0cdea4b
Compare
Choose a tag to compare

What's changed

Full Changelog: 0.13.5...0.14.0

0.13.5

19 Nov 14:25
4260628
Compare
Choose a tag to compare

What's Changed

  • Process nextStep parameter by proceedConfiguredStep by @dimaodnokoz in #34

Full Changelog: 0.13.4...0.13.5

0.13.4

19 Nov 13:54
9d372cc
Compare
Choose a tag to compare

What's changed

Full Changelog: 0.13.3...0.13.4