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

TGINSIGHT POST

Post #132

@pythontelegrambotchannel

python-telegram-bot

Views25,900Post view count
PostedMar 2503/25/2023, 12:51 PM
Post content

Post content

We've just released v20.2. Thank you to everyone who contributed to this release. As usual, upgrade using pip install -U python-telegram-bot. This update brings full support for Bot API 6.6. Bot API 6.6 renamed several arguments and attributes from thumb to thumbnail and refactored some arguments of sticker related methods. We made these changes largely backwards compatible (also by slightly deviating from the official Bot API here and there). We still highly recommend to adapt your code to the new namings as we will eventually remove the deprecated arguments and attributes. Deprecation warnings are issued for all affected methods and attributes, which should help with these adaptions. Moreover, since several users reported networking issues with HTTP/2, we reverted to HTTP/1.1 as the default protocol. HTTP/2 is still available via an optional dependency. Major Changes • Full Support for API 6.6 (#3584) • Revert to HTTP/1.1 as Default and make HTTP/2 an Optional Dependency (#3576) Minor Changes, Documentation Improvements and CI • Documentation Improvements (#3565, #3600 by beiluonever) • Handle Symbolic Links in was_called_by (#3552) • Tidy Up Tests Directory (#3553) • Enhance Application.create_task (#3543 by sam-mosleh) • Make Type Completeness Workflow Usable for PRs from Forks (#3551) • Refactor and Overhaul the Test Suite (#3426) Dependencies • Bump pytest-asyncio from 0.20.3 to 0.21.0 (#3624) • Bump furo from 2022.12.7 to 2023.3.23 (#3625) • Bump pytest-xdist from 3.2.0 to 3.2.1 (#3606) • pre-commit autoupdate (#3577) • Update apscheduler requirement from ~=3.10.0 to ~=3.10.1 (#3572) • Bump pytest from 7.2.1 to 7.2.2 (#3573) • Bump pytest-xdist from 3.1.0 to 3.2.0 (#3550) • Bump sphinxcontrib-mermaid from 0.7.1 to 0.8 (#3549)