Skip to content

Releases: danog/MadelineProto

Fix webhost support

18 Dec 16:02
Compare
Choose a tag to compare

This release fixes webhost support.

Fixes:

  • Fix webhost support (PHP 8.2+)
  • Fix sponsored messages
  • Improve sponsored message API docs

Star payments, FilterBotCommand, layer 195

14 Dec 18:27
Compare
Choose a tag to compare

What's Changed

  • Add full support for star payments with the new object-based DialogGiftStars, DialogStarGift updates by @mtalaeii in #1582
  • Add support fo commands (automatically and optionally postfixed with the current bot's username) with FilterBotCommand by @mtalaeii in #1587
  • Added the getWaitTimeLeft method and expires property to all RateLimitErrors, to obtain the exact time when the rate limit will expire by @danog
  • Update to layer 195

Fixes:

  • Fix handling of rate limiting and other errors during file uploads, fixing upload hangs by @danog
  • Now wait()ing a RateLimitError will only wait until the exact expiration date of the rate limit by @danog
  • Fix GOAWAY errors by bumping amphp/http-client

New Methods:

Changed Methods:

New Constructors:

Changed Constructors:

Deleted Constructors:

  • updateBotSubscriptionExpire

Full Changelog: 8.3.7...8.4.0

Layer 193

22 Nov 18:45
Compare
Choose a tag to compare

New Methods:

Changed Methods:

New Constructors:

Changed Constructors:

Fixes:

  • Add proper error when uploading empty files

Layer 192, callback query fixes

15 Nov 18:20
Compare
Choose a tag to compare

New Methods:

Changed Methods:

Deleted Methods:

  • channels.viewSponsoredMessage
  • channels.getSponsoredMessages
  • channels.clickSponsoredMessage
  • channels.reportSponsoredMessage

New Constructors:

Changed Constructors:

Fixes:

  • Make the $message param of CallbackQuery::answer nullable by @mtalaeii in #1581

Full Changelog: 8.3.5...8.3.6

File upload fixes

21 Oct 15:57
Compare
Choose a tag to compare

Avoid inactivity timeouts when uploading files with RemoteUrl

Misc fixes

19 Oct 15:12
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 8.3.3...8.3.4

Layer 190

14 Oct 22:27
Compare
Choose a tag to compare

Layer 188 and multiple fixes

28 Sep 07:00
Compare
Choose a tag to compare

Features:

  • Update to layer 188
  • AsyncOrm: Allow specifying custom serializers in OrmMappedArray attributes

Fixes:

  • Support @s in FilterCommand
  • Clear entries from the username database when the corresponding peer database entry is removed
  • Fix minor Poll wrapping bug
  • Ensure typing actions are broadcasted to the group, not directed to the sender by @ging-dev in #1557

Changed Methods:

New Constructors:

Changed Constructors:

New Contributors

Full Changelog: 8.3.1...8.3.2

Layer 187

13 Sep 15:08
Compare
Choose a tag to compare

Fixes:

  • Fix getEventHandler when passing the class name of the main event handler class
  • Allow passing no language tag in <pre> tags

Features:

  • Update to layer 187
  • Bump PHP version of docker image

New Methods:

New Constructors:

Changed Constructors:

editHide, broadcast improvements

23 Aug 12:35
Compare
Choose a tag to compare

Features:

  • Add editHide field to Messages

Fixes:

  • Pre-upload media when broadcasting for improved performance
  • Improve cancellation logic