Update to v1.0.1

This commit is contained in:
Lonami Exo 2018-06-27 19:48:45 +02:00
parent a6782ac6ea
commit 3154575ab6
2 changed files with 26 additions and 2 deletions

View File

@ -14,9 +14,33 @@ it can take advantage of new goodies!
.. contents:: List of All Versions
Bug Fixes (v1.0.1)
==================
*Published at 2018/06/27*
And as usual, every major release has a few bugs that make the library
unusable! This quick update should fix those, namely:
Bug fixes
~~~~~~~~~
- `client.start() <telethon.client.auth.AuthMethods.start>` was completely
broken due to a last-time change requiring named arguments everywhere.
- Since the rewrite, if your system clock was wrong, the connection would
get stuck in an infinite "bad message" loop of responses from Telegram.
- Accessing the buttons of a custom message wouldn't work in channels,
which lead to fix a completely different bug regarding starting bots.
- Disconnecting could complain if the magic ``telethon.sync`` was imported.
- Successful automatic reconnections now ask Telegram to send updates to us
once again as soon as the library is ready to listen for them.
Synchronous magic (v1.0)
========================
*Published at 2018/06/27*
.. important::
If you come from Telethon pre-1.0 you **really** want to read
@ -107,7 +131,7 @@ Additions
.. code-block:: python
with TelegramClient(name, api_id, api_hash).star(bot_token=token) as bot:
with TelegramClient(name, api_id, api_hash).start(bot_token=token) as bot:
bot.send_message(chat, 'Hello!')

View File

@ -1,3 +1,3 @@
# Versions should comply with PEP440.
# This line is parsed in setup.py:
__version__ = '1.0'
__version__ = '1.0.1'