From 3c56a6db4d54ddb2ae7a9063f08cc9c2a61080fc Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Mon, 10 Aug 2020 16:19:31 +0200 Subject: [PATCH] Update to v1.16.1 --- readthedocs/misc/changelog.rst | 30 ++++++++++++++++++++++++++++++ telethon/version.py | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/readthedocs/misc/changelog.rst b/readthedocs/misc/changelog.rst index e275533c..8d6484de 100644 --- a/readthedocs/misc/changelog.rst +++ b/readthedocs/misc/changelog.rst @@ -13,6 +13,36 @@ it can take advantage of new goodies! .. contents:: List of All Versions +Bug Fixes (v1.16.1) +=================== + +The last release added support to ``force_file`` on any media, including +things that were not possible before like ``.webp`` files. However, the +``force_document`` toggle commonly used for photos was applied "twice" +(one told the library to send it as a document, and then to send that +document as file), which prevented Telegram for analyzing the images. Long +story short, sending files to the stickers bot stopped working, but that's +been fixed now, and sending photos as documents include the size attribute +again as long as Telegram adds it. + +Enhancements +~~~~~~~~~~~~ + +* When trying to `client.start() ` to + another account if you were previously logged in, the library will now warn + you because this is probably not intended. To avoid the warning, make sure + you're logging in to the right account or logout from the other first. +* Sending a copy of messages with polls will now work when possible. +* The library now automatically retries on inter-dc call errors (which occur + when Telegram has internal issues). + +Bug Fixes +~~~~~~~~~ + +* The aforementioned issue with ``force_document``. +* Square brackets removed from IPv6 addresses. This may fix IPv6 support. + + Channel Statistics (v1.16) ========================== diff --git a/telethon/version.py b/telethon/version.py index 19d6596d..a05c72ca 100644 --- a/telethon/version.py +++ b/telethon/version.py @@ -1,3 +1,3 @@ # Versions should comply with PEP440. # This line is parsed in setup.py: -__version__ = '1.16.0' +__version__ = '1.16.1'