Releases: danog/MadelineProto
Grafana dashboard
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:
- Official grafana dashboard, powered by danog/better-prometheus!
- Extract bot API dialog ID handling logic into a separate library, danog/tg-dialog-id!
- Add a previously missing
$deleteHistory
flag todiscardSecretChat
! - Add messages.getEmojiStickerGroups method
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
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!
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:
- Amp v3 & revolt (fibers) support!
- A new simplified, stable and object-oriented event handler API based on filters and plugins!
- New
sendVideo
,sendAudio
,sendDocument
, etc methods with automatic metadata extraction via ffmpeg. - A new getDownloadLink method for files up to 4gb!
- A new broadcast API, that can be used to asynchronously broadcast messages to all users of a bot or userbot in the background, automatically fetching all users of the bot!
- A pure PHP async VoIP implementation to make Telegram voice calls even on limited webhosts!
- An official docker image!
- Built-in static analysis of event handler code!
- Major performance and stability improvements!
- Many other new features and UX improvements, see all messages starting from https://t.me/MadelineProto/591 for more info!
Major parts of the MadelineProto core were split into standalone libraries that can be used without requiring all of MadelineProto:
- https://github.com/danog/AsyncOrm - Async ORM based on AMPHP v3 and fibers.
- https://github.com/danog/telegram-entities - A library to work with Telegram UTF-16 styled text entities.
- https://github.com/danog/tg-file-decoder - A library to work with Telegram bot API file IDs (recently updated).
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
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
Fixes:
- Improve markdown parsing
- Remove temporary files created during error reporting
- Fix bug in getFullInfo
New Methods:
- account.toggleSponsoredMessages
- account.getReactionsNotifySettings
- account.setReactionsNotifySettings
- stories.togglePinnedToTop
Changed Methods:
- Added broadcasts_only param to messages.searchGlobal
- Added reactions_limit param to messages.setChatAvailableReactions
New Constructors:
- updateNewStoryReaction
- webPageAttributeStickerSet
- reactionNotificationsFromContacts
- reactionNotificationsFromAll
- reactionsNotifySettings
Changed Constructors:
- Added reactions_limit param to chatFull
- Added reactions_limit param to channelFull
- Added sponsored_enabled param to userFull
- Added unknown_number param to codeSettings
- Added url param to sponsoredMessage
- Added title param to sponsoredMessage
- Added photo param to sponsoredMessage
- Added color param to sponsoredMessage
- Removed show_peer_photo param from sponsoredMessage
- Removed from_id param from sponsoredMessage
- Removed chat_invite param from sponsoredMessage
- Removed chat_invite_hash param from sponsoredMessage
- Removed channel_post param from sponsoredMessage
- Removed start_param param from sponsoredMessage
- Removed webpage param from sponsoredMessage
- Removed app param from sponsoredMessage
- Added pinned_to_top param to stories.stories
Deleted Constructors:
- sponsoredWebPage
Fixes
Fixes:
- Fix upload callbacks in the send* methods
- Fix issue with plugins in a phar
Minor entity fixes
Minor fixes to the telegram styled text entity conversion module.
Fix performance issue
Fixes:
- Fix performance issue caused by excessive GC-ing
- Fix Message::forward
sendVideo/sendAudio methods, and much more!
MadelineProto 8.0.0-beta200 introduces new simple sendVideo
, sendAudio
, sendVoice
, sendSticker
, sendGif
, sendDocumentPhoto
methods that automatically extract duration, thumbnails and other metadata from audio and video files!
Also, sendDocument
now supports automatic mime type detection for secret chats.
Additionally, Markdown and HTML parsing functionality was extracted in a separate library with bot API support, https://github.com/danog/telegram-entities!
Features:
- Add a new scheduled flag to the Message class for scheduled messages
- Split the markdown and HTML parser into a separate library, https://github.com/danog/telegram-entities
- Add new simple
sendVideo
,sendAudio
,sendVoice
,sendSticker
,sendGif
,sendDocumentPhoto
methods and the Message::replyXXX variants that automatically extract duration, thumbnails and other metadata from audio and video files! sendDocument
now supports automatic mime type detection for secret chats.
Fixes:
- Fix
getPwrChat
- Fix methods that use legacy chats
- Multiple other bug fixes
Multiple fixes
Fixes:
- Fix issue with the peer database caused by the ORM migration (a relogin is recommended to fix peer database issues)
- Fix an issue where ReadableBuffers and other streams could not be used when uploading stories in certain conditions
- Move legacy polyfill classes to namespace to fix composer issues