Skip to content

Releases: mautrix/telegram

v0.6.1-rc2

02 Sep 21:39
Compare
Choose a tag to compare
v0.6.1-rc2 Pre-release
Pre-release
  • Removed invalid reply fallbacks from edits
  • Added .gitlab-ci.yml

v0.6.1-rc1

02 Sep 21:31
Compare
Choose a tag to compare
v0.6.1-rc1 Pre-release
Pre-release
  • Started ignoring invalid reply fallbacks sent by Riot web in edits
  • Added invalid reply fallbacks to edits
  • Added 100-character displayname limit to avoid synapse errors
  • Fixed one user's startup failing causing the bridge to crash (#292)
  • Fixed one portal's sync failing causing the whole sync to fail (#358)

v0.6.0

09 Jul 16:44
Compare
Choose a tag to compare
Changes since v0.6.0-rc2
  • Fixed vulnerability in event handling
Changes since v0.5.2

Added

  • Native Matrix edit support and new fallback format.
  • Config options for retry_delay and other TelegramClient constructor fields.
  • Config option for maximum document size to let through the bridge (#335).
  • External URL field for chat and private channel messages (#308).
  • Telegram user info (puppet displayname & avatar) is now updated every time the user sends a message.
  • Command to change Telegram displayname (#249).
  • Possibility to override config fields with environment variables (thanks to @pacien in #332).
  • Nested formatting is now supported by Telegram, so the bridge also supports it.

Improved

  • Simplified bridged poll message.
  • Telegram user info updates are now accepted from any logged in user as long as the logged in user doesn't see a phone number for the Telegram user.
  • Some image errors are now handled by resending the image as a document (#324).
  • Made getting started more user-friendly (#327).
  • Strikethrough and underline are now bridged into native Telegram formatting rather than unicode hacks.
  • Updated to Telethon 1.9.
  • Updated docker image to Alpine 3.10.

Fixed

  • Portal peer type not being saved in database after Telegram chat upgrade (#304).
  • Newlines in unformatted messages not being bridged when using relaybot (#306).
  • Mime type info field for stickers converted to PNG (#307).
  • Content after newlines being stripped in messages sent by some clients (#309).
  • Potential NoneType is not iterable exception when logging out (thanks to @turt2live in #315).
  • Handling of Matrix messages where m.relates_to is null (#317).
  • Internal server error when logging in with an account on another DC (#314).
  • Spaces between command and arguments are now trimmed (#322).
  • Vulnerability in event handling.
  • Changed migrations to use batch_alter_table for adding columns to have less warnings with SQLite.
  • Error when pinging without being logged in.
  • Terminating sessions with negative hashes.
  • State cache not being updated when sending events, causing invalid cache if the server doesn't echo the sent events (#278).

v0.6.0-rc2

06 Jul 18:09
Compare
Choose a tag to compare
v0.6.0-rc2 Pre-release
Pre-release
Changes since v0.6.0-rc1
  • Nested formatting is now supported by Telegram, so the bridge also supports it.
  • Strikethrough and underline are now bridged into native Telegram formatting rather than unicode hacks.
  • Fixed displayname not updating for users who the bridge only saw via a logged in user who had the problematic user in their contacts.
  • Fixed handling unsupported media.
  • Added handling for FileIdInvalidError in file transfers that could disrupt syncs.
Changes since v0.5.2

Added

  • Native Matrix edit support and new fallback format.
  • Config options for retry_delay and other TelegramClient constructor fields.
  • Config option for maximum document size to let through the bridge (#335).
  • External URL field for chat and private channel messages (#308).
  • Telegram user info (puppet displayname & avatar) is now updated every time the user sends a message.
  • Command to change Telegram displayname (#249).
  • Possibility to override config fields with environment variables (thanks to @pacien in #332).
  • Nested formatting is now supported by Telegram, so the bridge also supports it.

Improved

  • Simplified bridged poll message.
  • Telegram user info updates are now accepted from any logged in user as long as the logged in user doesn't see a phone number for the Telegram user.
  • Some image errors are now handled by resending the image as a document (#324).
  • Made getting started more user-friendly (#327).
  • Strikethrough and underline are now bridged into native Telegram formatting rather than unicode hacks.
  • Updated to Telethon 1.9.
  • Updated docker image to Alpine 3.10.

Fixed

  • Portal peer type not being saved in database after Telegram chat upgrade (#304).
  • Newlines in unformatted messages not being bridged when using relaybot (#306).
  • Mime type info field for stickers converted to PNG (#307).
  • Content after newlines being stripped in messages sent by some clients (#309).
  • Potential NoneType is not iterable exception when logging out (thanks to @turt2live in #315).
  • Handling of Matrix messages where m.relates_to is null (#317).
  • Internal server error when logging in with an account on another DC (#314).
  • Spaces between command and arguments are now trimmed (#322).
  • Changed migrations to use batch_alter_table for adding columns to have less warnings with SQLite.
  • Error when pinging without being logged in.
  • Terminating sessions with negative hashes.
  • State cache not being updated when sending events, causing invalid cache if the server doesn't echo the sent events (#278).

v0.6.0-rc1

22 Jun 15:59
Compare
Choose a tag to compare
v0.6.0-rc1 Pre-release
Pre-release

Added

  • Native Matrix edit support and new fallback format.
  • Config options for retry_delay and other TelegramClient constructor fields.
  • Config option for maximum document size to let through the bridge (#335).
  • External URL field for chat and private channel messages (#308).
  • Telegram user info (puppet displayname & avatar) is now updated every time the user sends a message.
  • Command to change Telegram displayname (#249).
  • Possibility to override config fields with environment variables (thanks to @pacien in #332)

Improved

  • Simplified bridged poll message.
  • Telegram user info updates are now accepted from any logged in user as long as the logged in user doesn't see a phone number for the Telegram user.
  • Some image errors are now handled by resending the image as a document (#324).
  • Made getting started more user-friendly (#327).
  • Updated to Telethon 1.8.

Fixed

  • Portal peer type not being saved in database after Telegram chat upgrade (#304).
  • Newlines in unformatted messages not being bridged when using relaybot (#306).
  • Mime type info field for stickers converted to PNG (#307).
  • Content after newlines being stripped in messages sent by some clients (#309).
  • Potential NoneType is not iterable exception when logging out (thanks to @turt2live in #315).
  • Handling of Matrix messages where m.relates_to is null (#317).
  • Internal server error when logging in with an account on another DC (#314).
  • Spaces between command and arguments are now trimmed (#322).
  • Changed migrations to use batch_alter_table for adding columns to have less warnings with SQLite.
  • Error when pinging without being logged in.
  • Terminating sessions with negative hashes.
  • State cache not being updated when sending events, causing invalid cache if the server doesn't echo the sent events (#278).

v0.5.2

25 May 13:13
Compare
Choose a tag to compare
  • Fixed null m.relates_to's that break Synapse 0.99.5

v0.5.1

21 Mar 13:34
Compare
Choose a tag to compare
  • Fixed Python 3.5 compatibility
  • Fixed DBMS migration script

v0.5.0

19 Mar 18:13
Compare
Choose a tag to compare
Changes since v0.5.0-rc4
  • Replaced rawgit with cdnjs in public website as rawgit is deprecated (#289).
  • Fixed login command throwing error when web login is enabled (#300).
  • Updated telethon-session-sqlalchemy to fix logging into an account on another DC (#301).
  • Stopped adding reply fallback to caption when sending caption and image as separate messages (#285).
Changes since v0.4.0

Added

  • More config options
    • Option to to use Telegram test servers.
    • Option to disable link previews on Telegram (#244).
    • Option to disable startup sync (#176).
    • Option to skip deleted members when syncing member lists (#192).
    • Option to change number of dialogs to handle in startup sync.
    • Option to set maximum size of image to send to Telegram (#141). Images above the size limit will be sent as documents without the compression Telegram applies to images.
  • More commands
    • username for setting Telegram username (#249).
    • sync-state for updating Matrix room state cache.
    • matrix-ping for checking Matrix login status (#270, thanks to @krombel).
    • clear-db-cache for clearing internal database caches.
    • reload-user for reloading and reconnecting a Telegram user.
    • session for listing and terminating other Telegram sessions.
    • Added argument to login to allow admins to log in for other users (#251).
  • Added warning when logging in that it grants the bridge full access to the telegram account (#248).
  • Added verbose flag to DBMS migration script.
  • Telegram->Matrix bridging
    • Telegram games (#256)
    • Telegram polls (#257)
    • Message pins in normal groups (#259)
    • Custom message for unsupported media like polls (#258)
  • Added client ID in logs when making requests to telegram (#265).
  • Added handling for Matrix room upgrades (#277).
  • Added pytest setup and some tests (thanks to @V02460)

Improved

  • Replaced lxml with native Python HTMLParser in the better Matrix->Telegram format converter and removed the old converter completely.
  • Stopped using SQLAlchemy ORM completely. This should speed things up and remove problems with the ORM getting stuck (#263).
  • ensure_started is now only called for logged in users, which should improve performance for large instances (#247).
  • Displayname template extras (e.g. the (Telegram) suffix) are now stripped when mentioning Telegram users with no username (#138).
  • Updated to Telethon 1.6.
  • Switched Dockerfile to use setup.py for dependencies to avoid dependency updates breaking stuff.
  • The telematrix import script will now warn about and skip over duplicate portals (#243).
  • Relaybot will now be used for users who have logged in, but are not in the chat (#205).
  • Replaced rawgit with cdnjs in public website as rawgit is deprecated (#289).
  • Stopped adding reply fallback to caption when sending caption and image as separate messages (#285).
  • New style for release notes that have release notes since two different versions (e.g. this release has "since v0.5.0-rc4" and "since v0.4.0") using <details> and <summary>.

Fixed

  • Bug where stickers with an unidentified emoji failed to bridge (#252).
  • Invalid letter prefixes in clean-rooms output.
  • Messages forwarded from channels showing up as "Unknown source" (#107).
  • Matrix->Telegram room avatar bridging (#165).
  • Telegram chat upgrade handling for relaybot (#283).

v0.5.0-rc4

16 Mar 15:42
Compare
Choose a tag to compare
v0.5.0-rc4 Pre-release
Pre-release
  • Added verbose flag to migration script
  • Added pytest setup and some tests (thanks to @V02460)
  • Fixed scripts (DBMS migration and Telematrix import) not being included in builds
  • Fixed some database problems
  • Removed remaining traces of ORM that might have been the causes of some other database problems (#296)
  • Removed option to use lxml in HTML parsing as it was messing up emoji offset handling. The new HTML parser supports using the default python HTMLParser class since 0.5.0rc1, so lxml wasn't really useful anway.

v0.5.0-rc3

16 Feb 18:21
Compare
Choose a tag to compare
v0.5.0-rc3 Pre-release
Pre-release
  • Fixed bridging documents without thumbnails to Matrix
  • Added option to set maximum size of image to send to Telegram (#141). Images above the size limit will be sent as documents without the compression Telegram applies to images.
  • Fixed saving user portals and contacts (#284)
  • Added Telegram -> Matrix poll bridging and a command to vote in polls (#257)