Skip to content

Commit e7cc936

Browse files
authored
Merge pull request #13 from WizardLoop/dev
Version 3.0.0
2 parents f8338c7 + d59c5a2 commit e7cc936

3 files changed

Lines changed: 804 additions & 397 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,20 @@ Implement deleteAllBroadcastsForAll method to delete all broadcast messages for
107107
* Enhance status messaging in BroadcastManager
108108
Added functionality to send initial status messages when gathering peers and starting broadcasts. Updated the methods to edit messages instead of sending new ones for status updates.
109109

110+
---
111+
112+
## [3.0.0] - 2026-01-11
113+
114+
## Version 3.0.0 - Async Upgrade
115+
116+
### Added:
117+
* Added `hasAllBroadcast()`.
118+
119+
### Improvements:
120+
* Watchdog monitors stuck jobs and re-enqueues them.
121+
* Improved file handling for `lastBroadcast.txt` and `messages.txt`.
122+
* Modularized code structure for readability and maintainability.
123+
124+
### Fixed:
125+
* Better error handling for missing files or blocked users.
126+
* Proper cleanup of message files after deletion.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ Check state:
127127
```php
128128
if ($manager->isPaused()) echo "Paused";
129129
if ($manager->isCancelled()) echo "Cancelled";
130+
if (!$manager->hasLastBroadcast()) echo "No last Broadcast do delete";
131+
if (!$manager->hasAllBroadcast()) echo "No all Broadcast to delete";
130132
print_r($manager->progress());
131133
```
132134

0 commit comments

Comments
 (0)