Releases: laravel-notification-channels/telegram
Releases · laravel-notification-channels/telegram
6.0
What's Changed
- Add support for Laravel 12.
- Add
TelegramVenue
to supportsendVenue
method. - Add
sticker
method to theTelegramFile
to send sticker file. - Add
sendWhen
method to conditionally send a message. - Add ParseMode Enum and refactor parsing mode setting logic.
- Add
buttonWithWebApp
method to open web app from a button. - Add
onError
method to handle exceptions. Based of #201 by @Hesammousavi. - Refactor
sendFile
to support raw data sending. - Refactor
escapedLine
method. - Refactor
HasSharedLogic
trait. - Refactor classes to use PHP 8.2 features.
- Revise
keyboard
method parameters to$requestLocation
and$requestContact
to be consistent. - Fix sending document with content on-fly #200.
- Drop support for Laravel 10.
- Drop support for PHP 8.1.
New Contributors
- @Hesammousavi made their first contribution in #201
Full Changelog: 5.0.0...6.0.0
5.0
What's Changed
- Laravel 11 Support.
- Fix Call to a member function toArray() on array by @tantrus332 in #174
- Add keyboard function to messages by @abbasudo in #183
- Add ability to change default parsing mode by @abbasudo in #185
- Addition of 'lineIf' method to messages by @MammutAlex in #190
New Contributors
- @tantrus332 made their first contribution in #174
- @MammutAlex made their first contribution in #190
Full Changelog: 4.0.0...5.0.0
4.0
What's Changed
- Fix Chunk method error by @faissaloux in #163
- Add escapedLine() method to TelegramMessage by @ziming in #168
- Laravel 10.x Compatibility by @laravel-shift in #167
- Drop support for PHP
< 8.1
.
New Contributors
- @ziming made their first contribution in #168
- @laravel-shift made their first contribution in #167
Full Changelog: 3.0.0...4.0.0
3.0
What's Changed
- Send logic moved to drivers by @llabbasmkhll in #146
- Drop support for Laravel < 9.
- Convert tests to Pest and improve coverage in #151.
- Add TelegramUpdatesTests.
- Add PHPStan for static analysis using GitHub Action.
- Add Changelog updater workflow.
- Add Codecov for code coverage workflow.
- Improve GitHub action workflows.
- Clean and improve code.
- Remove the scrutinizer.
- Add
line()
method (adapted from a PR) by @llabbasmkhll in #149. - Upgrade required and dev packages.
- Normalize composer JSON file.
- Add type hints and return types were supported.
- Rename
TelegramSender
contract toTelegramSenderContract
- Harden error handling for JSON encode and decode methods.
- Improve doc blocks.
- Add
toArray()
method to TelegramUpdates to retrieve payload. - Restructure the tests directory.
- Add data to notification failed event in #156
- Add More Tests in #157
New Contributors
- @llabbasmkhll made their first contribution in #146
Full Changelog: 2.1.0...3.0.0
2.1
2.0
Notable Changes
- Add Laravel 9 Support.
- #139 - Add Laravel conditional trait to payload builder to use
when
on methods chain. Thanks, @foremtehan. - Drop support for the older versions of PHP
< 7.4
and Laravel< 8
.
Full Changelog: 1.0.0...2.0.0
1.0.0
Notable Changes
- Register Telegram instance to the container.
- #133 - Add
TelegramUpdates
to retrieve bot updates. Thanks, @faissaloux. - #136 - Refactor TelegramChannel. Thanks, @faissaloux.
- #138 - Add Contact Support. Thanks, @faissaloux.
- Add Retrieving Chat ID docs and improve docs.
- Add missing type declaration and minor improvements to various methods.
Full Changelog: 0.9.0...1.0.0
0.9.0
Notable Changes
- #130 - Add Poll Support. Thanks, @faissaloux.
- #131 - Add Code Style GitHub Actions workflow.
New Contributors
- @faissaloux made their first contribution in #130
Full Changelog: 0.8.0...0.9.0
0.8.0
0.7.0
Notable Changes
- #118 - Dropped PHP 7.1 support. Thanks @alexsoft.
- #119 - Dispatch event
NotificationFailed
on exception. Thanks @4irik. - #120 - Test against PHP 8.1. Thanks @sergiy-petrov.
- #122 - Add support to use
TelegramChannel::class
in on-demand notification route. - #122 - Refactor channel registration with the channel manager.
New Contributors
Full Changelog: 0.6.0...0.7.0