diff --git a/readthedocs/extra/changelog.rst b/readthedocs/extra/changelog.rst index e0d01b7d..fe0b50a2 100644 --- a/readthedocs/extra/changelog.rst +++ b/readthedocs/extra/changelog.rst @@ -14,6 +14,58 @@ it can take advantage of new goodies! .. contents:: List of All Versions +New HTTP(S) Connection Mode (v1.0.4) +==================================== + +*Published at 2018/07/09* + +This release implements the HTTP connection mode to the library, which +means certain proxies that only allow HTTP connections should now work +properly. You can use it doing the following, like any other mode: + +.. code-block:: python + + from telethon import TelegramClient, sync + from telethon.network import ConnectionHttp + + client = TelegramClient(..., connection=ConnectionHttp) + with client: + client.send_message('me', 'Hi!') + + +Additions +~~~~~~~~~ + +- ``add_mark=`` is now back on ``utils.get_input_peer`` and also on + `client.get_input_entity `. +- New `client.get_peer_id ` + convenience for ``utils.get_peer_id(await client.get_input_entity(peer))``. + + +Bug fixes +~~~~~~~~~ + +- If several `TLMessage` in a `MessageContainer` exceeds 1MB, it will no + longer be automatically turned into one. This basically means that e.g. + uploading 10 file parts at once will work properly again. +- Documentation fixes and some missing ``await``. +- Revert named argument for `client.forward_messages + ` + +Enhancements +~~~~~~~~~~~~ + +- New auto-casts to :tl:`InputNotifyPeer` and ``chat_id``. + +Internal changes +~~~~~~~~~~~~~~~~ + +- Outgoing `TLMessage` are now pre-packed so if there's an error when + serializing the raw requests, the library will no longer swallow it. + This also means re-sending packets doesn't need to re-pack their bytes. + + + Iterate Messages in Reverse (v1.0.3) ==================================== diff --git a/telethon/version.py b/telethon/version.py index eb620e48..85dfd0b3 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.3' +__version__ = '1.0.4'