diff --git a/readthedocs/extra/changelog.rst b/readthedocs/extra/changelog.rst index 96f59b47..228fc8ab 100644 --- a/readthedocs/extra/changelog.rst +++ b/readthedocs/extra/changelog.rst @@ -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() ` 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!') diff --git a/telethon/version.py b/telethon/version.py index 22b1312a..d070cb2a 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.0' +__version__ = '1.0.1'