Skip to content

Releases: danog/MadelineProto

RPC error classes, default cancellations, IPC fixes

02 Jul 15:09
Compare
Choose a tag to compare

Features:

  • Add \danog\MadelineProto\RPCError\RateLimitError - Represents a generic rate limiting RPC (FLOOD_WAIT_, FLOOD_PREMIUM_WAIT_, etc) error returned by telegram, extends RPCErrorException.
  • Add \danog\MadelineProto\RPCError\TimeoutError - Represents a request timeout RPC error returned by telegram (as opposed to one returned by MadelineProto, which will be an \Amp\TimeoutException).
  • Add over 65 more RPC errors in the danog\MadelineProto\RPCError namespace that extend RPCErrorException, to allow usage of specialized catch blocks for the most common RPC errors, instead of just catching RPCErrorException and checking $e->rpc.
  • Improve docker image defaults.
  • Add support for invokeWithBusinessConnection via the businessConnectionId parameter on supported methods.

Fixes:

  • Handle FLOOD_PREMIUM_WAIT_ errors during file operations.
  • Automatically refresh peer info on bot_info_version changes and updatePeerBlocked updates.
  • Fix issues with reverse IPC method calls.
  • Multiple other bugfixes.

Layer 181

13 Jun 15:18
Compare
Choose a tag to compare

Updated to layer 181 (this is a minor release because new features in the low-level API are not covered by the BC promise).

Features:

  • Add chinese translation!

Fixes:

  • Fix an issue where some participant flags might not get returned by getPwrChat
  • Change error reporting endpoint

New Methods:

Changed Methods:

New Constructors:

Changed Constructors:

Grafana dashboard

30 May 12:28
Compare
Choose a tag to compare

This release introduces an official Grafana dashboard for MadelineProto!

See here for more info on how to configure the Prometheus metrics endpoint and Grafana dashboard!

Features:

Fixes:

  • Fix a possible bug in sendVideo
  • Fix a possible bug in parseMode parsing
  • Fix SecretMessage::delete
  • Fix passing of seekable streams to IPC methods
  • Other minor bugfixes
  • Performance improvements

Entities in polls

28 Apr 15:20
Compare
Choose a tag to compare

Add support for styled text entities in polls, by adding a questionEntities property and a getQuestionHTML method to Poll a answerEntities property and a getHTML method to PollAnswer.

To avoid confusion with getQuestionHTML, the inproperly named getHTML method of QuizPoll was renamed to getSolutionHTML.

First stable release of MadelineProto v8!

27 Apr 14:49
aeb3d18
Compare
Choose a tag to compare

This is the first stable release of MadelineProto v8!

For the full changelog, see the messages on the official MadelineProto channel, starting from https://t.me/MadelineProto/591!

Here are the main highlights:

Major parts of the MadelineProto core were split into standalone libraries that can be used without requiring all of MadelineProto:

The next releases will focus on even more features and performance improvements, such as prometheus and grafana statistics, a static TL parser and much, much more!

Cheers!
Daniil Gentili.

Layer 179, getPropicInfo & getFullInfo improvements

27 Apr 14:31
Compare
Choose a tag to compare

Features:

  • Make getPropicInfo, getFullInfo and getPwrChat return Photo objects for profile pictures, compatible with sendPhoto methods.
  • Make getPwrChat return a bit more info with fullfetch=false
  • Update to layer 179

New Methods:

New Constructors:

Layer 178, multiple fixes

25 Apr 16:05
Compare
Choose a tag to compare

Fixes:

  • Improve markdown parsing
  • Remove temporary files created during error reporting
  • Fix bug in getFullInfo

New Methods:

Changed Methods:

New Constructors:

Changed Constructors:

Deleted Constructors:

  • sponsoredWebPage

Fixes

23 Apr 13:32
Compare
Choose a tag to compare

Fixes:

  • Fix upload callbacks in the send* methods
  • Fix issue with plugins in a phar

Minor entity fixes

22 Apr 15:36
Compare
Choose a tag to compare

Minor fixes to the telegram styled text entity conversion module.

Fix performance issue

21 Apr 13:31
Compare
Choose a tag to compare

Fixes:

  • Fix performance issue caused by excessive GC-ing
  • Fix Message::forward