Version 21.2
Released 2024-05-20
This is the technical changelog for version 21.2. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.
Major Changes
- Full Support for Bot API 7.3 (#4246, #4260, #4243, #4248, #4242 closes #4236, #4247 by aelkheir)
- Remove Functionality Deprecated by Bot API 7.2 (#4245)
New Features
- Add Version to
PTBDeprecationWarning
(#4262 closes #4261) - Handle Exceptions in building
CallbackContext
(#4222)
Bug Fixes
- Call
Application.post_stop
Only ifApplication.stop
was called (#4211 closes #4210) - Handle
SystemExit
raised in Handlers (#4157 closes #4155 and #4156) - Make
Birthdate.to_date
Return adatetime.date
Object (#4251)
Documentation Improvements
- Documentation Improvements (#4217)
Internal Changes
Dependency Updates
- Bump
furo
from 2024.4.27 to 2024.5.6 (#4252) pre-commit
autoupdate (#4239)- Bump
pytest
from 8.1.1 to 8.2.0 (#4231) - Bump
dependabot/fetch-metadata
from 2.0.0 to 2.1.0 (#4228) - Bump
pytest-asyncio
from 0.21.1 to 0.21.2 (#4232) - Bump
pytest-xdist
from 3.6.0 to 3.6.1 (#4233) - Bump
furo
from 2024.1.29 to 2024.4.27 (#4230) - Bump
srvaroa/labeler
from 1.10.0 to 1.10.1 (#4227) - Bump
pytest
from 7.4.4 to 8.1.1 (#4218) - Bump
sphinx
from 7.2.6 to 7.3.7 (#4215) - Bump
pytest-xdist
from 3.5.0 to 3.6.0 (#4215)