Releases: danog/MadelineProto
Releases · danog/MadelineProto
Add htmlEscape function
Features:
- Add a
htmlEscape
helper function for MadelineProto's HTML entity converter
Fixes:
- Fix entity escaping in the entitiesToHtml method (entities were always escaped even before, but backwards conversion back to entities did not work due to a now fixed issue)
- Fix translation percentage
PHP 8.3
This release bumps the official MadelineProto docker image to PHP 8.3, and updates/improves some localization keys.
Invite to translate MadelineProto, bugfixes
Features:
- The login page now features an invitation to translate MadelineProto in your language, using weblate.madelineproto.xyz!
Fixes:
- Small auth logic bugfix
Fix QR code login, improved codeblock escaping
Fixes:
- Fix QR code login in certain conditions
- Use different escaping rules for single-backtick `codeblocks` (only ` and \ need to be escaped inside of them now, escaping can be done with the new
markdownCodeEscape
method).
Enable jemalloc, function JIT in docker image
Features:
- Enable jemalloc and function JIT in docker image to improve performance
Fixes:
- Small db bugfix
Improve ephemeral filesystem support
Improved support for ephemeral filesystems (i.e. docker containers with no volumes, storing all data on Mysql/Postgres/Redis) by setting a table prefix manually in the settings, see here » for more info.
Ephemeral filesystem support
Features:
- Added support for ephemeral filesystems (i.e. docker containers with no volumes, storing all data on Mysql/Postgres/Redis) by setting a table prefix manually in the settings, see here » for more info.
Fixes:
- UNIX socket database connections
- Fix revoltphp bug
- Fix updatePinnedMessages conversion
Switch to LONGBLOB for session database
Fixes:
- Switch to LONGBLOB for session database, to cover some edge cases with event handlers with a lot of non-ORM properties.
8.0.0-beta159
Features:
- New updates by @ahjbyte in #1424
- Add
sendText
method toAbstractMessage
- Add
BotCommands
,MessageForwards
,MessageViewsChanged
,UpdateChannel
,BotChatInviteRequest
,PendingJoinRequests
,DeleteChannelMessages
,DeleteMessages
,DeleteScheduledMessages
PinnedChannelMessages
,PinnedGroupMessages
,PinnedPrivateMessages
SimpleEventHandler updates - Add
ChatInvite
,ChatInviteExported
,ChatInvitePublicJoin
,Command
SimpleEventHandler objects - Multiple improvements
- Add
- Update to layer 166
New Methods:
- account.updateColor
- account.getDefaultBackgroundEmojis
- channels.updateColor
- payments.getPremiumGiftCodeOptions
- payments.checkGiftCode
- payments.applyGiftCode
- payments.getGiveawayInfo
- payments.launchPrepaidGiveaway
- premium.getBoostsList
- premium.getMyBoosts
- premium.applyBoost
- premium.getBoostsStatus
Changed Methods:
- Added invert_media param to messages.sendMessage
- Added invert_media param to messages.sendMedia
- Added invert_media param to messages.editMessage
- Added invert_media param to messages.editInlineBotMessage
- Added invert_media param to messages.saveDraft
- Added reply_to param to messages.saveDraft
- Added media param to messages.saveDraft
- Removed reply_to_msg_id param from messages.saveDraft
- Removed top_msg_id param from messages.saveDraft
- Added invert_media param to messages.sendMultiMedia
New Constructors:
- inputMediaWebPage
- messageMediaGiveaway
- messageActionGiftCode
- messageActionGiveawayLaunch
- inputBotInlineMessageMediaWebPage
- botInlineMessageMediaWebPage
- channelAdminLogEventActionChangeColor
- channelAdminLogEventActionChangeBackgroundEmoji
- inputInvoicePremiumGiftCode
- inputStorePaymentPremiumGiftCode
- inputStorePaymentPremiumGiveaway
- premiumGiftCodeOption
- payments.checkedGiftCode
- payments.giveawayInfo
- payments.giveawayInfoResults
- prepaidGiveaway
- boost
- premium.boostsList
- myBoost
- premium.myBoosts
- premium.boostsStatus
Changed Constructors:
- Added color param to user
- Added background_emoji_id param to user
- Added color param to channel
- Added background_emoji_id param to channel
- Added invert_media param to message
- Added force_large_media param to messageMediaWebPage
- Added force_small_media param to messageMediaWebPage
- Added manual param to messageMediaWebPage
- Added safe param to messageMediaWebPage
- Added invert_media param to updateServiceNotification
- Added url param to webPageEmpty
- Added url param to webPagePending
- Added has_large_media param to webPage
- Added color param to chatInvite
- Added text_color param to stickerSet
- Added invert_media param to inputBotInlineMessageMediaAuto
- Added invert_media param to inputBotInlineMessageText
- Added invert_media param to botInlineMessageMediaAuto
- Added invert_media param to botInlineMessageText
- Added invert_media param to draftMessage
- Added reply_to param to draftMessage
- Added media param to draftMessage
- Removed reply_to_msg_id param from draftMessage
- Added quote param to messageReplyHeader
- Added reply_from param to messageReplyHeader
- Added reply_media param to messageReplyHeader
- Added quote_text param to messageReplyHeader
- Added quote_entities param to messageReplyHeader
- Added reply_to_peer_id param to inputReplyToMessage
- Added quote_text param to inputReplyToMessage
- Added quote_entities param to inputReplyToMessage
Fixes:
- Fix progress calculation in Broadcast module by @xcgu in #1438
- Various performance improvements by @danog
- Multiple bugfixes by @danog
- Fix MyTelegramOrgWrapper by @danog
- Fix composer event handler plugins by @danog
Full Changelog: 8.0.0-beta158...8.0.0-beta159
Restart plugin, bugfixes
Features:
- Added a
RestartPlugin
that can be included to offer a/restart
command to admins
Fixes:
- Fixed composer plugins
- Fix importAuthorization
- Improved public API a bit