3.12.0 - 2023-05-20
download
HTTP method for the file downloader.- Added support for Pest
1.x
and2.x
.
- Updated Guzzle version to
7.5.1
to address security concerns. - Refactored codebase for improved performance, readability, and optimizations.
3.11.0 - 2023-04-16
argument($name, $default)
method incommand
.is_persistent
field of theReplyKeyboardMarkup
object by @pavel-mironchik in #1063.- Unicode support for command parser.
- Refactored command system to improve arguments support. Supported patterns:
{argument}
{ regex: \w+ }
- Updated
TelegramResponse.php
to improve decoding and other misc by @irpcpro in #1053, #1054, #1057.
setChatPhoto
method to properly upload photo file.
3.10.0 - 2023-04-02
- Telegram Facade PHPDoc blocks.
- 3.10 Changes by @irazasyed in #1047
- Support League Event 2 and 3 by @irazasyed in #1050
- Convert all tests to PEST.
- Refactor to improve readibility and performance.
- Refactor WebhookCommand.
- Bugfixes
3.9.1 - 2023-04-01
- Add support for PSR-11 Container and update dependencies.
- make BASE_BOT_URL customizable by @ariaieboy in #1017
- Supported Versions table by @lptn in #997
- Laravel 10 support by @Serpichenko in #1034
- Add WebApp compatibility by @dmtrbskkv in #1028
- Emit
UpdateEvent
event similar to SDK v4 by @lptn in #998 - Change visibility of get method in TelegramResponseException by @foremtehan in #1030
- Refactor TelegramClient.php by @Thajudecodes in #1031
- Several minor bugfixes.
- Fix PHPDoc and return types: use
EmitterInterface
instead ofEmitter
implementation by @lptn in #990 - Fix links to docs by @lptn in #993
- fix chat trait by @kolirt in #999
- Fix Telegram.php docblock by @foremtehan in #1004
- Fix showing the webhook information in an Artisan command by @pavel-mironchik in #1044
- Drop support for Laravel < 9 and PHP < 8.
- Drop command bus singleton.
3.9.0 - 2022-08-03
- Add GitHub issue template for bug reports by @lptn in #981
- Add missing
param
andreturn
types to PHPDoc blocks by @lptn in #983
- Make TelegramServiceProvider really deferrable by @lptn in #978
- FIX: Set correct Api/Bot instance when add/init Commands by @lptn in #984
- Fix
Update::getChat()
for cases when a User banned and/or unbanned a bot by @lptn in #977 - Fix return type error on method findType by @MaizerGomes in #985
- createChatInvitelink returns array and solves the create link issue by @arifjawad in #986
- Drop
username
config key used by WebhookCommand only by @lptn in #979
3.8.0 - 2022-07-10
- Add php-cs-fixer to CI to use the same style as for SDK v4 by @lptn in #973
- Improve PHPDoc (for Telegram + add more deprecations to methods removed in SDK v4) by @lptn in #972
- Cleanup php cs fixer config: remove cache from repository by @lptn in #976
- Fix package to work on PHP 7.3 by @lptn in #969
- Fix CI: do not use guzzle versions with know vulnerabilities by @lptn in #970
- Remove invalid imports by @lptn in #975
3.7.0 - 2022-07-08
- Add missing types by @lptn in #961
- Backport some v4 features by @lptn in #965
- Fix PHPDoc: mark optional properties as nullables by @lptn in #963
- Fix one-to-many relations by @lptn in #964
- Fix type issue parsing "entities" by @lptn in #967
- Drop PHP 7.2 support and update phpunit by @lptn in #966
3.6.0 - 2022-03-31
- Added PHPDoc templates for Keyboard classes by @Kravets1996 in #928
- add copyMessage by @mrjavadseydi in #927
- Added missing message type:
video_note
by @andrey-helldar in #930 - Added missing message types by @andrey-helldar in #932
- Fix
is not valid header value
by @andrey-helldar in #934
3.5.0 - 2022-02-11
- Laravel 9 Support.
- Add support for RequestInterface for webhooks by @mattiabasone in #908
- Psr7 v2 support by @DoctorLines in #907
- Anonymous Admins by @alexmorbo in #832
- Handle all possible Guzzle request exceptions by @b1rdex in #879
- Fixed: method ReflectionParameter::getClass() is deprecated, PHP8 by @semsphy in #854
- Fixed arrow sign by @semsphy in #870
- Fix namespace case by @netesin in #892
- Fixed conflict command aliases by @korkoshko in #885
- Fix: Aliased command not received arguments by @arispati in #857
- Fix an error in validateInputFileField by @mihard in #829
- Fixed commands receiving argument names instead of values by @roelofr in #821
3.4.0 - 2020-12-05
3.3.0 - 2020-09-10
- Refactored Service Provider
3.2.0 - 2020-09-09
- Laravel 8 Support by @faustbrian in #786
- Replace "array_wrap" with "Arr::wrap" by @andriihorpenko in #763
- Replace "array_intersect_key" with "intersectByKeys" by @slavkluev in #778
- Allow Guzzle 7 by @matthewnessworthy in #782
- Fix triggerCommand issues by @jonnywilliamson in #733
- Offset issue when triggering a command by @KielD-01 in #772
3.1.0 - 2020-04-18
- Laravel 7 Support.
- Poll support by @arsamme in #727
- Bot API 4.7 by @jonnywilliamson in #730
- Latest Bot API changes by @jonnywilliamson in #657
- Bot API 4.5 by @jonnywilliamson in #699
- Bot API 4.4 by @jonnywilliamson in #659
- BotAPI 4.0 by @jonnywilliamson in #596
- Add proxy to GuzzleHttpClient by @vokamut in #721
- Update .travis.yml by @sergiy-petrov in #707
- Update phpunit/phpunit requirement from ^6.1 to ^6.1 || ^8.0 by @dependabot in #708
2.3.0 - 2019-09-08
- Laravel 6 Support!
2.2.0 - 2017-01-05
- Lumen Support!
2.1.0 - 2016-11-02
- Laravel 5.3 Support!
2.0.0 - 2015-12-28
- More doc blocks to the code.
- New
getFile()
method & File Object - Thanks @jonnywilliamson (#39). - Channel Username Support.
- Dependency Injection in Commands - Thanks @antoniomadonna (#53).
- PHPUnit Tests - Thanks @antoniomadonna (#58).
- Travis Config.
- PHPUnit 4.8 Version to Support PHP5.5 Testing.
- Git Attributes File.
- Composer Config & Other Options.
- Composer script test to make it easier to run phpunit by firing
composer test
. - Nitpick Config.
- New
removeCommand()
&removeCommands()
methods to the API & their Tests - Thanks @jonnywilliamson (#66). - New Remote Files Upload Support - (#42).
- Laravel 5.2 Support.
- New Message Object Properties - Thanks @jonnywilliamson (#75).
- More PHPUnit Tests & Mocking 'Telegram Response' class - Thanks @jonnywilliamson (#76).
- Added ability to change request timeout and connection timeout globally for all Telegram API requests - Thanks @ihoru (#81).
- Methods' Params to Array, To support constant changes by Telegram - (#54) [BC].
- Revise Doc Blocks.
- Update Commands Class to Reflect Param Changes.
- Update Help Command.
- Refactor Command Magic Method Arguments.
- Refactor Laravel Service Provider to Support DI.
- Message Detecting methods to support Message object too - Thanks @jonnywilliamson (#37).
- Switch to POST requests method to make API requests - Thanks @jonnywilliamson (#40).
- Update Chat field change to new Chat Object in place of GroupChat Object - Thanks @jonnywilliamson (#46).
- Improve
mapRelatives
to initialize inner properties - Thanks @alexsoft (#49). - Tests Namespace.
- Tests to Autoload in Dev.
- PHPUnit Tests Config.
- Applied Scrutinizer's Best Practises & Other Fixes.
- CS Fixes & Doc Block Updates - Thanks @jonnywilliamson (#72).
- Get Updates & Process command enhancements to prevent errors - Thanks @autowp (#85) & (#88).
- Library Documentation Rewritten for V2 - Thanks @jonnywilliamson (#89).
ReplyWith
Params Bug.uploadFile
Bug Opening Webhook URL.
- Group Chat Object.
1.0.0 - 2015-09-08
- New
sendVoice()
method as per API Changes - Thanks @jonnywilliamson (#19). - Branch Alias to Composer to install
dev-master
easily. - Commands System: Automated Inbound Commands Handler.
- Commands Handler Support for Laravel.
- Command Bus Methods to Super Class.
- Default Help Command.
- Chat Actions Helper Class.
- CHANGELOG File.
- Magic Methods Documentation for Commands Class and Object Classes - Thanks @jonnywilliamson (#26).
- API Object Classes Magic Method PHPDocs - Thanks @jonnywilliamson (#30).
- New Documentation Page.
- Telegram Bot SDK API Docs.
- Upgrade Guide.
- Methods to Detect and Determine Message/Update Type.
uploadFile()
method to support loading resource directly - Thanks @rkhitin - (#17).- Added optional
performer
andtitle
fields tosendAudio()
as per official API Changes - Thanks @jonnywilliamson (#19) - [BC]. - Added
certificate
param tosetWebhook()
method as per Official API Changes. - Refactor Upload File Method.
- Format Code, Simplify FQNs, Code Cleanup and Revise Doc Blocks.
- Revise Token Exception Text.
- Clean Up Base Object Class.
- Rename Namespace from
Irazasyed\Telegram
toTelegram\Bot
- [BC]. - Rename Telegram.php -
Irazasyed\Telegram\Telegram
to Api.php -Telegram\Bot\Api
- [BC]. - Move PHPDocs to its own home.
- Revise README.
0.2.6 - 2015-08-18
- Video Caption Support to
sendVideo()
method as per Official API Changes - Thanks @jonnywilliamson. - Duration Support to
sendVideo()
andsendAudio()
methods as per Official API Changes.
- Contact Object Namespace - Thanks DmitryNek.
HTTPClientHandlerInterface
Laravel Config Typo.
0.2.5 - 2015-07-20
- Custom HTTP Client Handler Not Found - Thanks @codengine.
getLastName()
example from README.
0.2.4 - 2015-07-12
- Installation Requirements in README.
- Laravel Service Provider.
- Revise README.
- Laravel 4 Support.
0.2.3 - 2015-07-12
- Message Object Relatives.
ReplyMarkupKeyboard
Example in README.- Composer Keywords.
- Profile Links in README.
- Invalid resource type issue (#6).
- KeyboardMarkup Class Import Statement.
0.2.2 - 2015-07-02
Irazasyed\Telegram\Exceptions\TelegramSDKException
not found issue (#4).
0.2.1 - 2015-07-02
recentMessage()
to Update object class.
- Make
$token
param optional in constructor - Thanks @orloffv issue (#1).
0.2.0 - 2015-07-02
getWebhookUpdates()
method.- Documentation in README for
getWebhookUpdates()
method. - Contributing Guidelines.
- Disclaimer and Note to README.
- Banner Image in README.
- Link back to Telegram Bot API Page.
- Refactor
getUpdates()
method. - Project LICENSE.
- Revise README.
- Initial Release.