Mautrix-telegram

Latest version: v0.15.1

Safety actively analyzes 629723 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

0.11.0

* Switched from SQLAlchemy to asyncpg/aiosqlite.
* The default database is now Postgres. If using SQLite, make sure you install
the `sqlite` [optional dependency](https://docs.mau.fi/bridges/python/optional-dependencies.html).
* **Alembic is no longer used**, schema migrations happen automatically on startup.
* **The automatic database migration requires you to be on the latest legacy
database version.** If you were running any v0.10.x version, you should be on
the latest version already. Otherwise, update to v0.10.2 first, upgrade the
database with `alembic`, then upgrade to v0.11.0 (or higher).
* Added support for contact messages.
* Added support for Telegram sponsored messages in channels.
* Only applies to broadcast channels with 1000+ members
(as per <https://t.me/durov/172>).
* Only applies if you're using puppeting with a normal user account,
because bots can't get sponsored messages.
* Fixed non-supergroup member sync incorrectly kicking one user from the Matrix
side if there was no limit on the number of members to sync (broke in v0.10.2).
* Updated animated sticker conversion to support [lottieconverter r0.2]
(thanks to [sot-tech] in [694]).
* Updated Docker image to Alpine 3.15.
* Formatted all code using [black](https://github.com/psf/black)
and [isort](https://github.com/PyCQA/isort).

[lottieconverter r0.2]: https://github.com/sot-tech/LottieConverter/releases/tag/r0.2
[694]: https://github.com/mautrix/telegram/pull/694

0.10.2

Added
* Added extensions when bridging unnamed files from Telegram.
* Added support for custom bridge bot welcome messages
(thanks to [justinbot] in [676]).

Improved
* Improved handling authorization errors if the bridge was logged out remotely.
* Updated room syncer to use existing power levels to find appropriate levels
for admins and normal users instead of hardcoding 50 and 0.
* Updated to Telegram API layer 133 to handle 64-bit user/chat/channel IDs.
* Stopped logging message contents when message handling failed
(thanks to [justinbot] in [681]).
* Removed Element iOS compatibility hack from non-sticker files.
* Made `max_initial_member_sync` work for non-supergroups too
(thanks to [tadzik] in [680]).
* SQLite is now supported for the crypto database. Pickle is no longer supported.
If you were using pickle, the bridge will create a new e2ee session and store
the data in SQLite this time.

Fixed
* Fixed generating reply fallbacks to encrypted messages.
* Fixed chat sync failing if the member list contained banned users.

[justinbot]: https://github.com/justinbot
[tadzik]: https://github.com/tadzik
[676]: https://github.com/mautrix/telegram/pull/676
[680]: https://github.com/mautrix/telegram/pull/680
[681]: https://github.com/mautrix/telegram/pull/681

0.10.1

**N.B.** Docker images have moved from `dock.mau.dev/tulir/mautrix-telegram`
to `dock.mau.dev/mautrix/telegram`. New versions are only available at the new
path.

Added

* Warning when bridging existing room if bridge bot doesn't have redaction
permissions.
* Custom flag to invite events that will be auto-accepted using double puppeting.
* Custom flags for animated stickers (same as what gifs already had).

Improved
* Updated to Telethon 1.22.
* Updated Docker image to Alpine 3.14.

Fixed
* Fixed Bridging Matrix location messages with additional flags in `geo_uri`.
* Editing encrypted messages will no longer add an asterisk on Telegram.
* Matrix typing notifications won't be echoed back for double puppeted users anymore.
* `AuthKeyDuplicatedError` is now handled properly instead of making the user
get stuck.
* Fixed `public_portals` setting not being respected on room creation.

0.10.0

* Added options to bridge archive, pin and mute status from Telegram to Matrix.
* Added custom fields in Matrix events indicating Telegram gifs.
* Allowed zero-width joiners in displaynames so things like multi-part emoji
would work correctly.
* Fixed Telegram->Matrix typing notifications.

rc1 (2021-04-05)

Added
* Support for multiple pins from/to Telegram.
* Option to resolve redirects when joining invite links, for people who use
custom URLs as invite links.
* Command to update about section in Telegram profile info
(thanks to [MadhuranS] in [599]).
* Own read marker/unread status from Telegram is now synced to Matrix after backfilling.
* Support for showing the individual slots in 🎰 dice rolls from Telegram.

Improved
* Improved invite link regex to allow joining with less precise invite links.
* Invite links can be customized with the `--uses=<amount>` and
`--expire=<delta>` flags for `!tg invite-link`.
* Read receipts where the target message is unknown will now cause the chat to
be marked as fully read instead of the read receipt event being ignored.
* WebP stickers are now sent as-is without converting to png.
* Default power levels in rooms now allow enabling encryption with PL 50 if
e2be is enabled in config (thanks to [Rafaeltheraven] in [550]).
* Updated Docker image to Alpine 3.13 and removed all edge repo stuff.

Fixed
* Matrix->Telegram location message bridging no longer flips the coordinates.
* Fixed some user displaynames constantly changing between contact/non-contact
names and other similar cases.

[Rafaeltheraven]: https://github.com/Rafaeltheraven
[MadhuranS]: https://github.com/MadhuranS
[550]: https://github.com/mautrix/telegram/pull/550
[599]: https://github.com/mautrix/telegram/pull/599

0.9.0

* Fixed cleaning unidentified rooms.

rc3 (2020-11-12)

Added
* Added retrying message sending if server returns 502.

Fixed
* Fixed Matrix → Telegram name mentions.
* Fixed some bugs with replies.

rc2 (2020-11-06)

Improved
* Ephemeral event handling should be faster by not checking the database for
user existence.
* Using the register command now sends a link to the Telegram terms of service.
* The `bridge_connected` metric is now only set for users who are logged in.

Fixed
* Fixed bug where syncing members sometimes kicked ghosts of users who were
actually still in the chat.
* Fixed sending captions to Telegram with `!tg caption` (broken in rc1).
* Logging out will now delete private chat portals, instead of only kicking the
user and leaving the portal in a broken state.
* Unbridging direct chat portals is now possible.

rc1 (2020-10-24)

Breaking changes
* Prometheus metric names are now prefixed with `bridge_`.
* An entrypoint script is no longer automatically generated. This won't affect
most users, as `python -m mautrix_telegram` has been the official way to start
the bridge for a long time.

Added
* Support for logging in by scanning a QR code from another Telegram client.
* Automatic backfilling of old messages when creating portals.
* Automatic backfilling of missed messages when starting bridge.
* Option to update `m.direct` list when using double puppeting.
* PNG thumbnails for animated stickers when converted to webm.
* Support for receiving ephemeral events pushed directly with [MSC2409]
(requires Synapse 1.22 or higher).

Improved
* Switched end-to-bridge encryption to mautrix-python instead of a hacky
matrix-nio solution.
* End-to-bridge encryption no longer requires `login_shared_secret`, it uses
[MSC2778] instead (requires Synapse 1.21 or higher).
* The bridge info state event is now updated whenever the chat name or avatar changes.
* Double puppeting is no longer limited to users on the same homeserver as the bridge.
* Delivery receipts are no longer sent in unencrypted private chat portals, as
the bridge bot is usually not present in them.

Fixed
* File captions are now sent as a separate message like photo captions.
* The relaybot no longer drops Telegram messages with commands.
* Bridging events of a user whose power level is malformed (i.e. a string
instead of an integer) now works.

[MSC2409]: https://github.com/matrix-org/matrix-spec-proposals/pull/2409
[MSC2778]: https://github.com/matrix-org/matrix-spec-proposals/pull/2778

0.8.2

* Fixed deleting messages from Matrix.
* Fixed Alpine edge dependencies in Docker image.

Note: this release is not on PyPI, as the only changes were a mautrix-python
update (v0.5.8) and a fix to the Docker image.

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.