Here you can see the full list of changes between each Telegram Git Notifier release.
- Platform Enum: Added
CSlant\TelegramGitNotifier\Enums\Platformbacked string enum for type-safe GitHub/GitLab handling - ChatTarget DTO: Added
CSlant\TelegramGitNotifier\DTOs\ChatTargetreadonly class for structured chat ID parsing with thread support - In-Memory Caching: Event and Setting models now cache config files in memory with dirty flag for efficient I/O
- PSR-3 Logger: Validator now accepts optional
LoggerInterfacefor standardized logging - API Retry Logic: Added exponential backoff for Telegram API rate limits (HTTP 429 handling)
- Safe Template Rendering: Closure-isolated scope for view templates in ConfigHelper
- NoDiscard Attribute:
sendNotify()method uses#[\NoDiscard]to ensure return value is checked
- PHP Version: Upgraded to PHP ^8.4|^8.5
- Type Safety: All implicit nullable params now use explicit
?Type $param = null - Strict Comparisons: All loose
==comparisons replaced with strict=== - Removed
empty(): Allempty()calls replaced with explicit checks ($var !== [],$var !== '',isset()) - Readonly Properties: Added
readonlyto DTOs and immutable properties
- Fixed
EventTraitwhere string was incorrectly assigned toEventobject property - Fixed undefined array key in
setCallbackContentMessage() - Fixed default platform file paths in tests
- PHP
^8.4|^8.5now required psr/logdependency addedConfigHelper::$configis nowprivate readonly- useexecConfig()method
Full Changelog: https://github.com/cslant/telegram-git-notifier/compare/v1.5.0...v2.0.0
- @hokhacminhtri made their first contribution in #47
Full Changelog: https://github.com/cslant/telegram-git-notifier/compare/v1.4.0...v1.5.0
- chore(deps): bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 by @dependabot in #45
- chore(deps): bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 by @dependabot in #46
Update dependency to support Laravel 11.x
- @dependabot made their first contribution in #45
Full Changelog: https://github.com/cslant/telegram-git-notifier/compare/v1.3.9...v1.4.0
- Adjust owner instead of setting full permissions for json files by @tanhongit in #43
- Laravel 11.x Support by @tanhongit in #44
Full Changelog: https://github.com/cslant/telegram-git-notifier/compare/v1.3.8...v1.3.9
- fix duplicate notification of star event by @kenautomus in #41
- @kenautomus made their first contribution in #41
Full Changelog: https://github.com/cslant/telegram-git-notifier/compare/v1.3.7...v1.3.8
- @avaelo made their first contribution in #40
Full Changelog: https://github.com/cslant/telegram-git-notifier/compare/v1.3.6...v1.3.7
- feat: add request_verify fro
Client Requestto work correctly on window and linux by @LuongTienThinh in #38
- @LuongTienThinh made their first contribution in #38
Full Changelog: https://github.com/cslant/telegram-git-notifier/compare/v1.3.5...v1.3.6
- Allows adding ignore message string to view files to prevent sending notifications. (#35)
- Optimize: Remove redundant param in setting event
- Change the return type for view function of core
- @pxthinh made their first contribution in #35
- Fixed the error with the function view if need to use namespace in the Laravel package #31
- Enhanced Exception Handling: We've expanded our exception handling to give you clearer insights into what's going wrong and why. (#29, #30)
- Config File Integrity Checks: To ensure the integrity and reliability of your notification system. (#29)
- Fixed some functions that conflict with Laravel framework.(b41efea)
- Fixed helper function conflict with Laravel by ensuring config and view are not redefined if they already exist. #28
In this release, we've made some important fixes that streamline the setup process and ensure a smoother experience for all users.
- Automated Config Setup: Integration configuration files without navigating through complex installation steps. c4b4187
We are thrilled to announce the latest release with several new features and improvements:
- Bash install.sh Integration configuration files without navigating through complex installation steps. d2982b1
- Codebase refactoring for cleaner, more intuitive structures. #21, #23
- Integration of comprehensive test cases to ensure product reliability. #26
- Incorporated extensive testing for multiple PHP versions, ensuring increased robustness and optimal compatibility across different PHP editions. #24
- chatIDs Param for Notifier: Pass the chatIDs parameter when using the Notifier, allowing for more flexible and personalized notifications. #26
- Update namespaces recent branding changes #27, UPGRADING.md
- Add support for sending notifications in topics (threads in supergroups)
- Enhanced capability to send notifications across multiple topics simultaneously
- Add support for Telegram bot commands
- Refactor source code
- Update support for custom commands and buttons
- Enhanced support for custom callbacks
- Add support for GitLab and GitHub events
- Add support for custom commands and buttons
- Add support for custom callbacks
- Better support sends notifications to multiple chats
- Validate the configuration platform events
- Refactor services
- Conditions to check if the configuration is valid
- And a lot more ...
- Initial release
- Add support for webhook actions