TGTGInsighttelegram intelligenceLIVE / telegram public index
← python-telegram-bot
python-telegram-bot avatar

TGINSIGHT POST

Post #97

@pythontelegrambotchannel

python-telegram-bot

Views10,200Post view count
PostedFeb 1902/19/2021, 07:12 PM
Post content

Post content

We've just released v13.3. Thank you to everyone who contributed to this release. As usual, upgrade using pip install -U python-telegram-bot. This update brings the awaited bug fix for Defaults - they are now again correctly handled by the shortcut methods like Message.reply_text. Apart from that, v13.3 includes two more notable changes: First, the cryptography package is no longer a required dependency. The package is only necessary, if you use Telegram Passports and in that case, you'll now have to install PTB via pip install python-telegram-bot[passport]. Apart from reducing the required dependencies to a minimum, this change was motivated by the recent releases of the cryptography library, which make it harder to install it on some special setups. Secondly, this release officially deprecated MessageQueue. The framework was intended to allow for easy flood limit control, but was unfortunately never tightly integrated into PTB and as a consequence currently suffers from some bugs (see here for more details). Of course, flood limit control is an important functionality. We're planning to provide a different, better integrated and more customizable mechanism for that after the switch to asyncio in v14. For the full list of changes and improvements, please see below. Major Changes: • Make cryptography Dependency Optional & Refactor Some Tests (#2386, #2370) • Deprecate MessageQueue (#2393) Bug Fixes: • Refactor Defaults Integration (#2363) • Add Missing telegram.SecureValue to init and Docs (#2398) Minor changes: • Doc Fixes (#2359)