Skip to content

Version 0.63.0

Compare
Choose a tag to compare
@noplanman noplanman released this 17 Jun 19:28
· 331 commits to master since this release
fb0f340

Notes

Added

  • New method setUpdateFilter($callback) used to filter processUpdate(Update $update) calls. If $callback returns false the update isn't processed and an empty falsey ServerResponse 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 to false. (@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 an Entity object. (#1094)
  • Allow custom namespacing for commands. (@Jonybang) (#689)

Fixed

  • Primary key for poll_answer also requires the user_id. (#1087)
  • Small SQL foreign key fixes. (#1105)