Post content
We've just released v21.7. Thank you to everyone who contributed to this release. As usual, upgrade using pip install -U python-telegram-bot. This release brings full support for Bot API 7.11. Moreover, it removes support for Python 3.8, which reached EOL on September 6th, 2024 and adds stable support for Python 3.13. This is in line with our stability policy. For the full list of changes and improvements, please see the below changelog. Major Changes • Full Support for Bot API 7.11 (#4546 closes #4543) • Add Message.reply_paid_media (#4551) • Drop Support for Python 3.8 (#4398 by elpekenin) Minor Changes • Allow Sequence in Application.add_handlers (#4531 by roast-lord closes #4530) • Improve Exception Handling in File.download_* (#4542) • Use Stable Python 3.13 Release in Test Suite (#4535) Documentation Improvements • Documentation Improvements (#4536 by Ecode2, #4556) • Fix Linkcheck Workflow (#4545) • Use sphinx-build-compatibility to Keep Sphinx Compatibility (#4492) Internal Changes • Improve Test Instability Caused by Message Fixtures (#4507) • Stabilize Some Flaky Tests (#4500) • Reduce Creation of HTTP Clients in Tests (#4493) • Update pytest-xdist Usage (#4491) • Fix Failing Tests by Making Them Independent (#4494) • Introduce Codecov's Test Analysis (#4487) • Maintenance Work on Bot Tests (#4489) • Introduce conftest.py for File Related Tests (#4488) • Update Issue Templates to Use Issue Types (#4553) • Update Automation to Label Changes (#4552) Dependency Updates • Bump srvaroa/labeler from 1.11.0 to 1.11.1 (#4549) • Bump sphinx from 8.0.2 to 8.1.3 (#4532) • Bump sphinxcontrib-mermaid from 0.9.2 to 1.0.0 (#4529) • Bump srvaroa/labeler from 1.10.1 to 1.11.0 (#4509) • Bump Bibo-Joshi/pyright-type-completeness from 1.0.0 to 1.0.1 (#4510)