Releases: php-telegram-bot/core
Releases · php-telegram-bot/core
0.56.0
Notes
- 📒 View file changes ∙ [📃 DB migration script][0.56.0-sql-migration]
- ❕ This is a big update, so please review the changelog carefully!
Added
- Helper for sending
InputMedia
objects usingRequest::sendMediaGroup()
andRequest::editMediaMessage()
methods. - Allow passing absolute file path for InputFile fields, instead of
Request::encodeFile($path)
. (#934)
Changed
- All Message field types dynamically search for an existing Command class that can handle them. (#940)
- Upgrade dependencies. (#945)
Deprecated
- Botan.io service has been discontinued. (#925)
- Most built-in System Commands will be handled by GenericmessageCommand by default in a future release and will require a custom implementation. (#940)
Fixed
0.55.1
0.55.0
Notes
Added
Changed
- ❗ Move Animation entity out of Games namespace.
Fixed
- Added missing
video_note
toMessage
types.
0.54.1
0.54.0
Notes
Added
ChatAction
class to simplify chat action selection. (#859)- Telegram Games platform! (#732)
- Ability to set custom MySQL port. (#860)
- New
InvalidBotTokenException
exception. (#855)
Changed
- ❗ Rename and ensure no redefinition of constants:
BASE_PATH
->TB_BASE_PATH
,BASE_COMMANDS_PATH
->TB_BASE_COMMANDS_PATH
. (#813) - Improve readability of readme code snippets. (#861)
Fixed
- Response from
getStickerSet
. (#838)
0.53.0
Notes
Added
- Implemented new changes for Bot API 3.6 (streamable InputMediaVideo, connected website). (#799)
Telegram::getLastUpdateId()
method, returns ID of the last update that was processed. (#767)Telegram::useGetUpdatesWithoutDatabase()
method, enablesTelegram::handleGetUpdates()
to run without a database. (#767)
Changed
- Updated Travis to use Trusty containers (for HHVM) and add PHP 7.2 to the tests. (#739)
- Add debug log entry instead of throwing an exception for duplicate updates. (#765)
Telegram::handleGetUpdates()
can now work without a database connection (not enabled by default). (#767)- Improved
/sendtochannel
and/sendtoall
commands, using new message helpers. (#810)
Fixed
0.52.0
Notes
Fixed
Version 0.51.0
0.50.0
0.49.0
Notes
Added
- Donation section and links in readme.
- Missing payment methods in
Request
class. - Some helper methods for replying to commands and answering queries.
Changed
- Updated and optimised all DB classes, removing a lot of bulky code.
Fixed
- Ensure named SQL statement parameters are unique.
- Channel selection when using
DB::selectChats()
.