This is the technical changelog for version 21.2. More elaborate release notes can be found in the news channel @pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>_.
Major Changes
Full Support for Bot API 7.3 (:pr:4246, :pr:4260, :pr:4243, :pr:4248, :pr:4242 closes :issue:4236, :pr:4247 by aelkheir <https://github.com/aelkheir>_)
Remove Functionality Deprecated by Bot API 7.2 (:pr:4245)
New Features
Add Version to PTBDeprecationWarning (:pr:4262 closes :issue:4261)
Handle Exceptions in building CallbackContext (:pr:4222)
Bug Fixes
Call Application.post_stop Only if Application.stop was called (:pr:4211 closes :issue:4210)
Handle SystemExit raised in Handlers (:pr:4157 closes :issue:4155 and :issue:4156)
Make Birthdate.to_date Return a datetime.date Object (:pr:4251)
Documentation Improvements
Documentation Improvements (:pr:4217)
Internal Changes
Add New Rules to ruff Config (:pr:4250)
Adapt Test Suite to Changes in Error Messages (:pr:4238)
Dependency Updates
Bump furo from 2024.4.27 to 2024.5.6 (:pr:4252)
pre-commit autoupdate (:pr:4239)
Bump pytest from 8.1.1 to 8.2.0 (:pr:4231)
Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 (:pr:4228)
Bump pytest-asyncio from 0.21.1 to 0.21.2 (:pr:4232)
Bump pytest-xdist from 3.6.0 to 3.6.1 (:pr:4233)
Bump furo from 2024.1.29 to 2024.4.27 (:pr:4230)
Bump srvaroa/labeler from 1.10.0 to 1.10.1 (:pr:4227)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps python-telegram-bot from 21.1.1 to 21.2.
Release notes
Sourced from python-telegram-bot's releases.
Changelog
Sourced from python-telegram-bot's changelog.
... (truncated)
Commits
6fc45a8
Bump version to v21.2512a0b7
Add Version toPTBDeprecationWarning
(#4262)7d952d8
Documentation Improvements (#4217)b496fab
CallApplication.post_stop
Only ifApplication.stop
was called (#4211)637b8e2
HandleSystemExit
raised in Handlers (#4157)912fe45
Handle Exceptions in buildingCallbackContext
(#4222)805b7bf
API 7.3 (#4243, #4248, #4247, #4242, #4246, #4260)f3bd0f1
Add New Rules toruff
Config (#4250)5b0e0b5
Bumpfuro
from 2024.4.27 to 2024.5.6 (#4252)c4623c4
MakeBirthdate.to_date
Return adatetime.date
Object (#4251)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show