Skip to content

Version 0.45.0

Compare
Choose a tag to compare
@noplanman noplanman released this 25 Jun 09:34
· 808 commits to master since this release
6d10752

Notes

Added

  • Documents can be sent by providing its contents via Psr7 stream (as opposed to passing a file path).
  • Allow setting a custom Guzzle HTTP Client for requests (#511).
  • First implementations towards Bots API 3.0.

Changed

  • โ— Request::sendToActiveChats and DB::selectChats now accept parameters as an options array and allow selecting of channels.

Deprecated

  • Deprecated Message::getNewChatMember() (Use Message::getNewChatMembers() instead to get an array of all newly added members).

Removed

  • โ— Upload and download directories are not set any more by default and must be set manually.
  • โ— Completely removed Telegram::getBotName() and Entity::getBotName() (Use ::getBotUsername() instead).
  • โ— Completely removed deprecated Telegram::unsetWebhook() (Use Telegram::deleteWebhook() instead).

Fixed

  • ID fields are now typed with PARAM_STR PDO data type, to allow huge numbers.
  • Message type data type for PDO corrected.
  • Indexed table columns now have a fitting length.
  • Take custom_input into account when using getUpdates method (mainly for testing).
  • Request limiter has been fixed to correctly support channels.