mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-09-15 16:32:43 +03:00
Bump to v1.41
This commit is contained in:
parent
293f8d5bd9
commit
5d07348faf
|
@ -13,6 +13,42 @@ it can take advantage of new goodies!
|
|||
|
||||
.. contents:: List of All Versions
|
||||
|
||||
New layer (v1.41)
|
||||
=================
|
||||
|
||||
+------------------------+
|
||||
| Scheme layer used: 214 |
|
||||
+------------------------+
|
||||
|
||||
`View new and changed raw API methods <https://diff.telethon.dev/?from=201&to=214>`__.
|
||||
|
||||
Additions
|
||||
~~~~~~~~~
|
||||
|
||||
* ``send_as`` and ``effect`` added to ``send_file``.
|
||||
* ``mime_type`` added to ``send_file``.
|
||||
* ``tg-emoji`` now works with HTML parse mode.
|
||||
* Clicking a button now lets you choose whether to open the browser.
|
||||
* Persistent and placeholder buttons.
|
||||
* More separate RPC error classes.
|
||||
|
||||
Enhancements
|
||||
~~~~~~~~~~~~
|
||||
|
||||
* Update entities should now be cached to session more reliably.
|
||||
* ``utils.get_display_name`` now handles more types.
|
||||
* Improved some type hints.
|
||||
* Reply properties for stories now behave as expected.
|
||||
* ``isal`` can now be used as an optional dependency for faster compression.
|
||||
* Potential slight speed improvements to deserialization.
|
||||
|
||||
Bug fixes
|
||||
~~~~~~~~~
|
||||
|
||||
* Library was not saving update sequence from certain updates.
|
||||
* Input peer cache should no longer overwrite valid data with min peers.
|
||||
* Spoiler for input photos and documents was not being respected.
|
||||
|
||||
New layer (v1.40)
|
||||
=================
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# Versions should comply with PEP440.
|
||||
# This line is parsed in setup.py:
|
||||
__version__ = '1.40.0'
|
||||
__version__ = '1.41.0'
|
||||
|
|
|
@ -42,6 +42,7 @@ KNOWN_NAMED_EXAMPLES = {
|
|||
|
||||
KNOWN_TYPED_EXAMPLES = {
|
||||
'int128': "int.from_bytes(os.urandom(16), 'big')",
|
||||
'int256': "int.from_bytes(os.urandom(32), 'big')",
|
||||
'bytes': "b'arbitrary\\x7f data \\xfa here'",
|
||||
'long': "-12398745604826",
|
||||
'string': "'some string here'",
|
||||
|
|
Loading…
Reference in New Issue
Block a user