Releases: php-telegram-bot/core
Releases · php-telegram-bot/core
Version 0.74.0
Notes
Added
- Bot API 5.3 (Personalized Commands, Keyboard Placeholders). (@TiiFuchs, @noplanman) (#1229, #1231)
Version 0.73.1
Notes
Fixed
Version 0.73.0
Version 0.72.0
Notes
Added
- Bot API 5.1 (ChatMember Update types, Improved Invite Links, Voice Chat). (@massadm, @noplanman) (#1199)
- Method to allow adding command classes directly. (@Alligator77, @noplanman) (#1207, #1209)
Deprecated
Telegram::handleGetUpdates
method should be passed a$data
array for parameters. (#1202)
Fixed
Version 0.71.0
Notes
Added
- Define a custom Bot API server and file download URI. (#1168)
Changed
- Improved error messages for empty input. (#1164)
- Log update when processing it, not when fetching input. (#1164)
Fixed
getUpdates
method wrongly sends only 1 Update when a limit of 0 is passed. (#1169)Telegram::runCommands()
now passes the correct message text to the commands. (#1181)- Request limiter accepts chat ID as integer and string. (#1182)
- Calling Keyboard constructor without any parameters. (@hutattedonmyarm) (#1184)
Version 0.70.1
Version 0.70.0
Notes
- 📒 View file changes ∙ 📃 DB migration script
- ❗ PHP 7.3+ required, so make sure your code is up to date with correct types!
Added
- Bot API 5.0 (Big update!). (#1147)
Changed
- Upgrade code to PHP 7.3. (#1136, #1158)
- Speed up
/clean
query. (@dva-re) (#1139) - Various code prettifications. (@akalongman) (#1140, #1141, #1142, #1143)
Security
Version 0.64.0
Notes
Added
- Support for Guzzle 7. (@KristobalJunta) (#1133)
Fixed
- Correct SQL migration script for older versions of MySQL. (#1135)
Version 0.63.1
Version 0.63.0
Notes
Added
- New method
setUpdateFilter($callback)
used to filterprocessUpdate(Update $update)
calls. If$callback
returnsfalse
the update isn't processed and an empty falseyServerResponse
is returned. (@VRciF) (#1045) - Replaced 'generic' and 'genericmessage' strings with Telegram::GENERIC_COMMAND and Telegram::GENERIC_MESSAGE_COMMAND constants. (@1int) (#1074)
- Bot API 4.8 (Extra Poll and Dice features). (#1082)
- Allow custom MySQL port to be defined for tests. (#1090)
- New static method
Entity::escapeMarkdownV2
for MarkdownV2. (#1094) - Remove bot token from debug http logs, this can be disabled by setting
TelegramLog::$remove_bot_token
parameter tofalse
. (@jacklul) (#1095) TelegramLog::$always_log_request_and_response
parameter to force output of the request and response data to the debug log, also for successful requests. (#1089)- Bot API 4.9 (New
via_bot
field). (#1112)
Changed
- ❗ Made
Entity::escapeMarkdown
static, to not require anEntity
object. (#1094) - Allow custom namespacing for commands. (@Jonybang) (#689)