Skip to content

Releases: danog/MadelineProto

8.0.0-beta178

15 Dec 16:38
Compare
Choose a tag to compare

Improve TL traces of IPC exceptions.

8.0.0-beta177

15 Dec 13:59
Compare
Choose a tag to compare

Peer bugfixes.

8.0.0-beta176

15 Dec 13:11
Compare
Choose a tag to compare

Features:

  • Add delete, pin, unpin, report methods to ChatButtonQuery and ChatGameQuery by @mtalaeii

Features:

  • Fix broadcasts with bot API file IDs by @danog
  • Fix MTProtoToBotAPI @danog

Small bugfix

14 Dec 23:16
Compare
Choose a tag to compare

Small bugfix in update handling and remove ancient zend hashmap memory leak.

ChannelParticipant, FilterTopicId, refactoring & update bugfixes

14 Dec 19:05
Compare
Choose a tag to compare

Breaking changes:

  • Removed the flush() method: the postpone flag will now only postpone flushing to the end of the event loop queue, instead of never triggering it until flush() or a non-postponed method is called by @danog
  • Removed the deprecated getDialogs method, please use getDialogIds instead by @danog

Features:

  • Add ChannelParticipant update, received whenever a participant leaves, joins or is banned or admined in a channel or supergroup by @ahjdev
  • Add a FilterTopicId filter to filter messages by topic ID by @ahjdev
  • Add queueId parameter to methods to allow enforcing server-side execution order when using postpone or invoking methods concurrently by @danog

Fixes:

  • Completely refactor message and update handling, improving performance and fixing various bugs by @danog

  • Fix BotChatInviteRequest by @danog

  • Update the source code of downloadRenameBot.php by @ahjdev

  • Report exceptions thrown from event handler to the report peer(s) of the current event handler when using multiple event handler with startAndLoopMulti or EventLoop::queue(MyEventHandler::startAndLoop(...), '...madeline'); by @danog
    Note that for performance reasons, some internal or connection exceptions not thrown from the event handler and exceptions thrown from onStart may still get reported (only to, or also to) the last started event handler.

  • Completely remove postponing from the API to avoid unwanted side effects (sequentially queued requests are still bundled in a single container anyway by @danog

  • Use async output buffer stream with downloadToBrowser by @danog

  • Secret chat media improvements by @danog

ChannelParticipant, FilterTopicId, refactoring & bugfixes

14 Dec 15:28
Compare
Choose a tag to compare

Breaking changes:

  • Remove flush() method: the postpone flag will now only postpone flushing to the end of the event loop queue, instead of never triggering it until flush() or a non-postponed method is called by @danog

Features:

  • Add ChannelParticipant update, received whenever a participant leaves, joins or is banned or admined in a channel or supergroup by @ahjdev
  • Add a FilterTopicId filter to filter messages by topic ID by @ahjdev
  • Add queueId parameter to methods to allow enforcing server-side execution order when using postpone or invoking methods concurrently by @danog

Fixes:

  • Completely refactor message and update handling, improving performance and fixing various bugs by @danog
  • Fix BotChatInviteRequest by @danog
  • Update the source code of downloadRenameBot.php by @ahjdev

Small fix

13 Dec 21:57
Compare
Choose a tag to compare

Small fix in message handling logic.

Remove low-level peer constructors

13 Dec 21:34
Compare
Choose a tag to compare

Breaking changes:

  • Remove low-level peerChannel, peerChat, peerUser constructors everywhere from the API, replacing them with bot API IDs (integers).
  • Remove legacy to_id field from legacy raw updates (the new SimpleEventHandler API has not changed, because it's covered by the backwards compatibility promise, unlike legacy raw updates)

Features:

Fixes:

  • Fix update gap handling, broken in the v7->v8 update due to changed resume semantics in danog/loop.

Layer 167 and fix broadcasts

07 Dec 18:16
Compare
Choose a tag to compare

Features:

  • Support forwarding stories through sendMedia

Fixes:

New Methods:

Changed Methods:

New Constructors:

Changed Constructors:

Layer 167

04 Dec 09:41
Compare
Choose a tag to compare
Layer 167 Pre-release
Pre-release

Features:

  • Support forwarding stories through sendMedia

New Methods:

Changed Methods:

New Constructors:

Changed Constructors: