diff --git a/readthedocs/extra/changelog.rst b/readthedocs/extra/changelog.rst index 25de48da..08f0395f 100644 --- a/readthedocs/extra/changelog.rst +++ b/readthedocs/extra/changelog.rst @@ -13,6 +13,20 @@ it can take advantage of new goodies! .. contents:: List of All Versions +Fix-up for Photo Downloads (v1.7.1) +=================================== + +*Published at 2019/04/24* + +Telegram changed the way thumbnails (which includes photos) are downloaded, +so you can no longer use a :tl:`PhotoSize` alone to download a particular +thumbnail size (this is a **breaking change**). + +Instead, you will have to specify the new ``thumb`` parameter in +`client.download_media() ` +to download a particular thumbnail size. This addition enables you to easily +download thumbnails from documents, something you couldn't do easily before. + Easier Events (v1.7) ==================== @@ -69,6 +83,9 @@ Breaking Changes * The layer changed, and a lot of things did too. If you are using raw API, you should be careful with this. In addition, some attributes weren't of type ``datetime`` when they should be, which has been fixed. +* Due to the layer change, you can no longer download photos with just + their :tl:`PhotoSize`. Version 1.7.1 introduces a new way to download + thumbnails to work around this issue. * `client.disconnect() ` is now asynchronous again. This means you need to ``await`` it. You @@ -94,6 +111,11 @@ Additions You can also easily use this for sending files, playing games, etc. +New bugs +~~~~~~~~ + +* Downloading photos is broken. This is fixed in v1.7.1. + Bug fixes ~~~~~~~~~ diff --git a/readthedocs/extra/examples/projects-using-telethon.rst b/readthedocs/extra/examples/projects-using-telethon.rst index bbeff910..122e02a7 100644 --- a/readthedocs/extra/examples/projects-using-telethon.rst +++ b/readthedocs/extra/examples/projects-using-telethon.rst @@ -53,3 +53,12 @@ TelegramTUI `Author's website `_ A Telegram client on your terminal. + +spotify_telegram_bio_updater +**************************** + +`Link `_ / +`Author's website `_ + +Small project that updates the biography of a telegram user according +to their current Spotify playback, or revert it if no playback is active. diff --git a/telethon/version.py b/telethon/version.py index 377717e4..43212309 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.7' +__version__ = '1.7.1'