Skip to content

Latest commit

 

History

History
197 lines (118 loc) · 7.82 KB

File metadata and controls

197 lines (118 loc) · 7.82 KB

Changelog

Here you can see the full list of changes between each Telegram Git Notifier release.

v2.0.0 - 2026-03-03

🚀 Major Release - PHP 8.4+ & Modern Architecture

✨ New Features

  • Platform Enum: Added CSlant\TelegramGitNotifier\Enums\Platform backed string enum for type-safe GitHub/GitLab handling
  • ChatTarget DTO: Added CSlant\TelegramGitNotifier\DTOs\ChatTarget readonly 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 LoggerInterface for 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

🔧 Improvements

  • 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(): All empty() calls replaced with explicit checks ($var !== [], $var !== '', isset())
  • Readonly Properties: Added readonly to DTOs and immutable properties

🐛 Bug Fixes

  • Fixed EventTrait where string was incorrectly assigned to Event object property
  • Fixed undefined array key in setCallbackContentMessage()
  • Fixed default platform file paths in tests

💥 Breaking Changes

  • PHP ^8.4|^8.5 now required
  • psr/log dependency added
  • ConfigHelper::$config is now private readonly - use execConfig() method

Full Changelog: https://github.com/cslant/telegram-git-notifier/compare/v1.5.0...v2.0.0

v1.5.0 - 2024-05-23

What's Changed

  • feature/team by @hokhacminhtri in #47
  • Update config for gitlab actions by @tanhongit in #48

New Contributors

  • @hokhacminhtri made their first contribution in #47

Full Changelog: https://github.com/cslant/telegram-git-notifier/compare/v1.4.0...v1.5.0

v1.4.0 - 2024-04-30

What's Changed

  • 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

New Contributors

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

v1.3.9 - 2024-03-19

What's Changed

  • 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

v1.3.8 - 2024-02-10

What's Changed

  • fix duplicate notification of star event by @kenautomus in #41

New Contributors

  • @kenautomus made their first contribution in #41

Full Changelog: https://github.com/cslant/telegram-git-notifier/compare/v1.3.7...v1.3.8

v1.3.7 - 2024-02-08

What's Changed

  • Update config & package by @tanhongit in #39
  • add config for sent delete event by @avaelo in #40

New Contributors

  • @avaelo made their first contribution in #40

Full Changelog: https://github.com/cslant/telegram-git-notifier/compare/v1.3.6...v1.3.7

v1.3.6 - 2024-01-25

What's Changed

  • feat: add request_verify fro Client Request to work correctly on window and linux by @LuongTienThinh in #38

New Contributors

  • @LuongTienThinh made their first contribution in #38

Full Changelog: https://github.com/cslant/telegram-git-notifier/compare/v1.3.5...v1.3.6

v1.3.5 - 2023-12-03

✨ New Features:

  • Allows adding ignore message string to view files to prevent sending notifications. (#35)

📝 What's Changed

  • Optimize: Remove redundant param in setting event
  • Change the return type for view function of core

✍ New Contributors

  • @pxthinh made their first contribution in #35

v1.3.4 - 2023-11-11

🔧 Improvements and Fixes

  • Fixed the error with the function view if need to use namespace in the Laravel package #31

v1.3.3 - 2023-11-08

📝 What's Changed

  • 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)

🔧 Improvements and Fixes

  • Fixed some functions that conflict with Laravel framework.(b41efea)

v1.3.2 - 2023-11-04

🔧 Improvements and Fixes

  • Fixed helper function conflict with Laravel by ensuring config and view are not redefined if they already exist. #28

v1.3.1 - 2023-11-03

🔧 Improvements and Fixes

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

v1.3.0 - 2023-11-03

✨ New Release: Enhanced Features and Optimizations!

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

v1.2.0 - 2023-10-20

  • 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

v1.1.0 - 2023-10-14

  • 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 ...

v1.0.0 - 2023-09-28

  • Initial release
  • Add support for webhook actions