Skip to content

Commit

Permalink
Bump to v1.28.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Lonami committed Apr 6, 2023
1 parent af18538 commit 10c74f8
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
43 changes: 43 additions & 0 deletions readthedocs/misc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,49 @@ it can take advantage of new goodies!

.. contents:: List of All Versions

New Layer and housekeeping (v1.28)
==================================

+------------------------+
| Scheme layer used: 155 |
+------------------------+

Plenty of stale issues closed, as well as improvements for some others.

Additions
~~~~~~~~~

* New ``entity_cache_limit`` parameter in the ``TelegramClient`` constructor.
This should help a bit in keeping memory usage in check.

Enhancements
~~~~~~~~~~~~

* ``progress_callback`` is now called when dealing with albums. See the
documentation on `client.send_file() <telethon.client.uploads.UploadMethods.send_file>`
for details.
* Update state and entities are now periodically saved, so that the information
isn't lost in the case of crash or unexpected script terminations. You should
still be calling ``disconnect`` or using the context-manager, though.
* The client should no longer unnecessarily call ``get_me`` every time it's started.

Bug fixes
~~~~~~~~~

* Messages obtained via raw API could not be used in ``forward_messages``.
* ``force_sms`` and ``sign_up`` have been deprecated. See `issue 4050`_ for details.
It is no longer possible for third-party applications, such as those made with
Telethon, to use those features.
* ``events.ChatAction`` should now work in more cases in groups with hidden members.
* Errors that occur at the connection level should now be properly propagated, so that
you can actually have a chance to handle them.
* Update handling should be more resilient.
* ``PhoneCodeExpiredError`` will correctly clear the stored hash if it occurs in ``sign_in``.


.. _issue 4050: https://github.com/LonamiWebs/Telethon/issues/4050


New Layer and some Bug fixes (v1.27)
====================================

Expand Down
2 changes: 1 addition & 1 deletion telethon/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Versions should comply with PEP440.
# This line is parsed in setup.py:
__version__ = '1.27.0'
__version__ = '1.28.0'

0 comments on commit 10c74f8

Please sign in to comment.