Subject: CVS commit: pkgsrc/chat/mautrix-telegram
From: Jonathan Schleifer
Date: 2022-01-15 21:22:06
Message id: 20220115202206.AE82DFB24@cvs.NetBSD.org

Log Message:
Update chat/mautrix-telegram to 0.11.1

v0.10.2
Deprecation unwarning

While switching away from SQLAlchemy is still planned for v0.11, SQLite is no \ 
longer deprecated and will still be supported in the future using aiosqlite.
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.

v0.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.
      * 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 and isort.

v0.11.1

  * Added support for message reactions.
  * Added support for spoiler text.
  * Improved support for voice messages.
  * Improved color of blue text from Telegram to be more readable on dark themes.
  * Fixed syncing contacts throwing an error for new accounts.
  * Fixed migrating pre-v0.11 legacy databases if the database schema had been \ 
corrupted (e.g. by using 3rd party tools for SQLite -> Postgres migration).
  * Fixed converting animated stickers to webm with >33 FPS.
  * Fixed a bug in v0.11.0 that broke mentioning users in groups (thanks to \ 
@dfuchss in #724).

Files:
RevisionActionfile
1.10modifypkgsrc/chat/mautrix-telegram/Makefile
1.3modifypkgsrc/chat/mautrix-telegram/PLIST
1.5modifypkgsrc/chat/mautrix-telegram/distinfo