diff --git a/readthedocs/misc/changelog.rst b/readthedocs/misc/changelog.rst index 8dcb39f5..d6a9e081 100644 --- a/readthedocs/misc/changelog.rst +++ b/readthedocs/misc/changelog.rst @@ -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() ` + on small group chats. +* `client.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) ========================== diff --git a/telethon/version.py b/telethon/version.py index 78e2aa94..30855c7a 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.10.10' +__version__ = '1.11.0' diff --git a/telethon_generator/data/errors.csv b/telethon_generator/data/errors.csv index 9c6949e7..302b0e6b 100644 --- a/telethon_generator/data/errors.csv +++ b/telethon_generator/data/errors.csv @@ -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, diff --git a/telethon_generator/data/methods.csv b/telethon_generator/data/methods.csv index 358ebdc1..e1d04b86 100644 --- a/telethon_generator/data/methods.csv +++ b/telethon_generator/data/methods.csv @@ -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