From 8194288797e757b77260dceea2e32d92da3a792b Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Thu, 15 Feb 2018 12:11:26 +0100 Subject: [PATCH] Update to v0.17.2 --- readthedocs/extra/changelog.rst | 35 +++++++++++++++++++++++++++++++++ telethon/version.py | 2 +- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/readthedocs/extra/changelog.rst b/readthedocs/extra/changelog.rst index 57b11bec..34609615 100644 --- a/readthedocs/extra/changelog.rst +++ b/readthedocs/extra/changelog.rst @@ -14,6 +14,41 @@ it can take advantage of new goodies! .. contents:: List of All Versions +New small convenience functions (v0.17.2) +========================================= + +*Published at 2018/02/15* + +Primarily bug fixing and a few welcomed additions. + +Additions +~~~~~~~~~ + +- New convenience ``.edit_message()`` method on the ``TelegramClient``. +- New ``.edit()`` and ``.delete()`` shorthands on the ``NewMessage`` event. +- Default to markdown parsing when sending and editing messages. +- Support for inline mentions when sending and editing messages. They work + like inline urls (e.g. ``[text](@username)``) and also support the Bot-API + style (see `here `__). + +Bug fixes +~~~~~~~~~ + +- Periodically send ``GetStateRequest`` automatically to keep the server + sending updates even if you're not invoking any request yourself. +- HTML parsing was failing due to not handling surrogates properly. +- ``.sign_up`` was not accepting ``int`` codes. +- Whitelisting more than one chat on ``events`` wasn't working. +- Video files are sent as a video by default unless ``force_document``. + +Internal changes +~~~~~~~~~~~~~~~~ + +- More ``logging`` calls to help spot some bugs in the future. +- Some more logic to retrieve input entities on events. +- Clarified a few parts of the documentation. + + Updates as Events (v0.17.1) =========================== diff --git a/telethon/version.py b/telethon/version.py index 6cf35eba..4ead720b 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.17.1' +__version__ = '0.17.2'