Skip to content

Commit faffee1

Browse files
authored
Update CHANGELOG for version 3.2.2
1 parent 80bed9e commit faffee1

1 file changed

Lines changed: 29 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -130,31 +130,27 @@ Added functionality to send initial status messages when gathering peers and sta
130130
## [3.0.1] - 2026-01-11
131131

132132
### Fixed:
133-
134133
* lastBroadcastData
135134

136135
---
137136

138137
## [3.0.2] - 2026-01-11
139138

140139
### Added:
141-
142140
* setDataDir & getDataDir
143141

144142
---
145143

146144
## [3.0.3] - 2026-01-11
147145

148146
### Fixed:
149-
150147
* Fix getDataDir() to handle uninitialized $dataDir
151148

152149
---
153150

154151
## [3.0.4] - 2026-01-13
155152

156153
### Added & Fixed:
157-
158154
* Extracted peer filtering from broadcast execution
159155
* Reduced unnecessary processing during broadcasts
160156

@@ -163,7 +159,6 @@ Added functionality to send initial status messages when gathering peers and sta
163159
## [3.0.5] - 2026-01-18
164160

165161
### Added & Fixed:
166-
167162
* Handle additional RPCErrorException cases
168163

169164
---
@@ -186,7 +181,6 @@ Added functionality to send initial status messages when gathering peers and sta
186181
## [3.2.0] - 2026-06-13
187182

188183
### Added
189-
190184
- Edit last broadcast message with `editLastBroadcastForAll()`.
191185
- Optional `broadcastId` targeting for editing or deleting the last message of a specific broadcast.
192186
- Metadata peer loading for targeted edit/delete calls when `allUsers` is empty and `broadcastId` is provided.
@@ -198,7 +192,6 @@ Added functionality to send initial status messages when gathering peers and sta
198192
- Internal error logging to `data/broadcast-errors.log`.
199193

200194
### Changed
201-
202195
- Safer state handling using shared state references by broadcast id.
203196
- Safer cancel behavior: `cancel()` now marks cancellation without clearing in-flight requests.
204197
- `progress()` now includes edit, scheduled, self-destruct, total, elapsed, and TPS fields.
@@ -207,7 +200,6 @@ Added functionality to send initial status messages when gathering peers and sta
207200
- `deleteAllBroadcastsForAll()` now uses one progress loop instead of concurrent progress edits from workers.
208201

209202
### Fixed
210-
211203
- Pause/resume/cancel state reference issue.
212204
- Workers not stopping after `done`.
213205
- Unsafe watchdog behavior that could duplicate sends.
@@ -218,16 +210,42 @@ Added functionality to send initial status messages when gathering peers and sta
218210
## [3.2.1] - 2026-06-13
219211

220212
### Added
221-
222213
- Added support for editing last broadcast messages with media loaded from `data/{adminId}/media.txt`.
223214
- Added compatibility for passing saved media values / `botApiFileId` into `editLastBroadcastForAll()`.
224215

225216
### Changed
226-
227217
- Relaxed the `$media` parameter in `BroadcastManager::editLastBroadcastForAll()` so it is no longer limited to `?array`.
228218
- Edit-last-broadcast flow can now reuse the same saved media format used by regular broadcast sending.
229219

230220
### Notes
231-
232221
- Passing `null` as media keeps the existing media unchanged.
233222
- Passing a saved media value attempts to update the edited message media/caption.
223+
224+
---
225+
226+
## [3.2.2] - 2026-06-15
227+
228+
### Changed
229+
* Reduced default broadcast concurrency from `20` to `10`.
230+
* Reduced the maximum allowed concurrency limit from `50` to `30` to reduce pressure on the MadelineProto event loop during large broadcasts.
231+
* Progress status messages are now edited every `5` seconds instead of every second.
232+
* Progress status updates now also perform a final update when the operation reaches completion.
233+
* Slowed down broadcast workers with a small delay between processed jobs.
234+
* Added a delay after each media album chunk sent with `sendMultiMedia`.
235+
* Added a delay between sequential messages sent to the same peer.
236+
* Broadcast control buttons are now displayed in English:
237+
* `Pause`
238+
* `Resume`
239+
* `Cancel`
240+
241+
### Fixed
242+
* Reduced the chance of `Timeout while waiting for updates.getChannelDifference` after heavy broadcasts.
243+
* Reduced unnecessary progress-message edit calls during active broadcasts.
244+
* Prevented noisy logs for harmless `MESSAGE_NOT_MODIFIED` errors during progress updates.
245+
* Improved progress update stability by ignoring unchanged status edits instead of logging them as failures.
246+
247+
### Notes
248+
* This release keeps the custom BroadcastManager flow, including saved message IDs, edit-last-broadcast, delete-last-broadcast, scheduled broadcasts, and self-destruct broadcasts.
249+
* This is a stability and load-reduction update; it does not migrate to MadelineProto's official Broadcast API.
250+
251+
---

0 commit comments

Comments
 (0)