From 045df418dfbfe7858288a0a1f8e287260e5e852d Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Thu, 20 Feb 2025 18:26:00 +0100 Subject: [PATCH] Update to v1.39 --- readthedocs/misc/changelog.rst | 31 +++++++++++++++++++++++++++++++ telethon/version.py | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/readthedocs/misc/changelog.rst b/readthedocs/misc/changelog.rst index 0155a934..639af35e 100644 --- a/readthedocs/misc/changelog.rst +++ b/readthedocs/misc/changelog.rst @@ -13,6 +13,37 @@ it can take advantage of new goodies! .. contents:: List of All Versions +New layer (v1.39) +================= + ++------------------------+ +| Scheme layer used: 199 | ++------------------------+ + +`View new and changed raw API methods `__. + +Additions +~~~~~~~~~ + +* ``drop_media_captions`` added to ``forward_messages``, and documented together with ``drop_author``. +* :tl:`InputMediaDocumentExternal` is now recognized when sending albums. + +Enhancements +~~~~~~~~~~~~ + +* ``receive_updates=False`` now covers more cases, however, Telegram is still free to ignore it. +* Better type-hints in several methods. +* Markdown parsing of inline links should cover more cases. +* ``range`` is now considered "list-like" and can be used on e.g. ``ids`` parameters. + +Bug fixes +~~~~~~~~~ + +* Session is now saved after setting the DC. +* Fixed rare crash in entity cache handling when iterating through dialogs. +* Fixed IOError that could occur during automatic resizing of some photos. + + New layer (v1.38) ================= diff --git a/telethon/version.py b/telethon/version.py index f27eec37..75010b87 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.38.1' +__version__ = '1.39.0'