Update to v1.11

This commit is contained in:
Lonami Exo 2020-02-20 20:57:17 +01:00
parent 1e94fe25fa
commit f21abcd529
4 changed files with 39 additions and 2 deletions

View File

@ -13,6 +13,42 @@ it can take advantage of new goodies!
.. contents:: List of All Versions
Bug Fixes (v1.11)
=================
*Published at 2019/02/20*
+------------------------+
| Scheme layer used: 110 |
+------------------------+
It has been a while since the last release, and a few bug fixes have been
made since then. This release includes them and updates the scheme layer.
Bug fixes
~~~~~~~~~
* Fix ``MemoryError`` when casting certain media.
* Fix `client.get_entity() <telethon.client.users.UserMethods.get_entity>`
on small group chats.
* `client.delete_dialog() <telethon.client.dialogs.DialogMethods.delete_dialog>`
now handles deactivated chats more gracefully.
* Fixed some imports on macOS Catalina.
* Sending a message with ``file=`` would ignore some of the parameters.
* Errors are now un-pickle-able once again.
* Fixed some issues regarding markdown and HTML (un)parsing.
Enhancements
~~~~~~~~~~~~
* Videos can now be included when sending albums.
* Getting updates after reconnect should be more reliable.
* Updated documentation and added more examples.
* More security checks during the generation of the authorization key.
Scheduled Messages (v1.10)
==========================

View File

@ -1,3 +1,3 @@
# Versions should comply with PEP440.
# This line is parsed in setup.py:
__version__ = '1.10.10'
__version__ = '1.11.0'

View File

@ -153,6 +153,7 @@ MESSAGE_ID_INVALID,400,"The specified message ID is invalid or you can't do that
MESSAGE_NOT_MODIFIED,400,Content of the message was not modified
MESSAGE_POLL_CLOSED,400,The poll was closed and can no longer be voted on
MESSAGE_TOO_LONG,400,Message was too long. Current maximum length is 4096 UTF-8 characters
MSGID_DECREASE_RETRY,500,The request should be retried with a lower message ID
MSG_ID_INVALID,400,The message ID used in the peer was invalid
MSG_WAIT_FAILED,400,A waiting call returned an error
MT_SEND_QUEUE_TOO_LONG,500,

1 name codes description
153 MESSAGE_NOT_MODIFIED 400 Content of the message was not modified
154 MESSAGE_POLL_CLOSED 400 The poll was closed and can no longer be voted on
155 MESSAGE_TOO_LONG 400 Message was too long. Current maximum length is 4096 UTF-8 characters
156 MSGID_DECREASE_RETRY 500 The request should be retried with a lower message ID
157 MSG_ID_INVALID 400 The message ID used in the peer was invalid
158 MSG_WAIT_FAILED 400 A waiting call returned an error
159 MT_SEND_QUEUE_TOO_LONG 500

View File

@ -286,7 +286,7 @@ stickers.createStickerSet,bot,BOT_MISSING PACK_SHORT_NAME_INVALID PACK_SHORT_NAM
stickers.removeStickerFromSet,bot,BOT_MISSING STICKER_INVALID
updates.getChannelDifference,both,CHANNEL_INVALID CHANNEL_PRIVATE CHANNEL_PUBLIC_GROUP_NA HISTORY_GET_FAILED PERSISTENT_TIMESTAMP_EMPTY PERSISTENT_TIMESTAMP_INVALID PERSISTENT_TIMESTAMP_OUTDATED RANGES_INVALID Timeout
updates.getDifference,both,AUTH_KEY_PERM_EMPTY CDN_METHOD_INVALID DATE_EMPTY NEED_MEMBER_INVALID PERSISTENT_TIMESTAMP_EMPTY PERSISTENT_TIMESTAMP_INVALID SESSION_PASSWORD_NEEDED STORE_INVALID_SCALAR_TYPE Timeout
updates.getState,both,AUTH_KEY_DUPLICATED SESSION_PASSWORD_NEEDED Timeout
updates.getState,both,AUTH_KEY_DUPLICATED MSGID_DECREASE_RETRY SESSION_PASSWORD_NEEDED Timeout
upload.getCdnFile,user,UNKNOWN_METHOD
upload.getCdnFileHashes,both,CDN_METHOD_INVALID RSA_DECRYPT_FAILED
upload.getFile,both,AUTH_KEY_PERM_EMPTY FILE_ID_INVALID INPUT_FETCH_FAIL LIMIT_INVALID LOCATION_INVALID OFFSET_INVALID Timeout

1 method usability errors
286 stickers.removeStickerFromSet bot BOT_MISSING STICKER_INVALID
287 updates.getChannelDifference both CHANNEL_INVALID CHANNEL_PRIVATE CHANNEL_PUBLIC_GROUP_NA HISTORY_GET_FAILED PERSISTENT_TIMESTAMP_EMPTY PERSISTENT_TIMESTAMP_INVALID PERSISTENT_TIMESTAMP_OUTDATED RANGES_INVALID Timeout
288 updates.getDifference both AUTH_KEY_PERM_EMPTY CDN_METHOD_INVALID DATE_EMPTY NEED_MEMBER_INVALID PERSISTENT_TIMESTAMP_EMPTY PERSISTENT_TIMESTAMP_INVALID SESSION_PASSWORD_NEEDED STORE_INVALID_SCALAR_TYPE Timeout
289 updates.getState both AUTH_KEY_DUPLICATED SESSION_PASSWORD_NEEDED Timeout AUTH_KEY_DUPLICATED MSGID_DECREASE_RETRY SESSION_PASSWORD_NEEDED Timeout
290 upload.getCdnFile user UNKNOWN_METHOD
291 upload.getCdnFileHashes both CDN_METHOD_INVALID RSA_DECRYPT_FAILED
292 upload.getFile both AUTH_KEY_PERM_EMPTY FILE_ID_INVALID INPUT_FETCH_FAIL LIMIT_INVALID LOCATION_INVALID OFFSET_INVALID Timeout