From 1fdf976c04ed44044f7215e6f8b3d762c2a85b2b Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Tue, 27 Mar 2018 18:02:55 +0200 Subject: [PATCH] Update to v0.18.2 --- readthedocs/extra/changelog.rst | 30 ++++++++++++++++++++++++++++++ telethon/version.py | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/readthedocs/extra/changelog.rst b/readthedocs/extra/changelog.rst index 612547af..e7973363 100644 --- a/readthedocs/extra/changelog.rst +++ b/readthedocs/extra/changelog.rst @@ -14,6 +14,36 @@ it can take advantage of new goodies! .. contents:: List of All Versions +Several bug fixes (v0.18.2) +=========================== + +*Published at 2018/03/27* + +Just a few bug fixes before they become too many. + +Additions +~~~~~~~~~ + +- Getting an entity by its positive ID should be enough, regardless of their + type (whether it's an ``User``, a ``Chat`` or a ``Channel``). Although + wrapping them inside a ``Peer`` is still recommended, it's not necessary. +- New ``client.edit_2fa`` function to change your Two Factor Authentication + settings. +- ``.stringify()`` and string representation for custom ``Dialog/Draft``. + +Bug fixes +~~~~~~~~~ + +- Some bug regarding ``.get_input_peer``. +- ``events.ChatAction`` wasn't picking up all the pins. +- ``force_document=True`` was being ignored for albums. +- Now you're able to send ``Photo`` and ``Document`` as files. +- Wrong access to a member on chat forbidden error for ``.get_participants``. + An empty list is returned instead. +- ``me/self`` check for ``.get[_input]_entity`` has been moved up so if + someone has "me" or "self" as their name they won't be retrieved. + + Iterator methods (v0.18.1) ========================== diff --git a/telethon/version.py b/telethon/version.py index 90266dbf..20c74dd3 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__ = '0.18.1' +__version__ = '0.18.2'