Update dependency python-telegram-bot to v22 #428
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot]
.This notice will be removed on 2025-10-07.
This PR contains the following updates:
==13.12
->==22.5
Release Notes
python-telegram-bot/python-telegram-bot (python-telegram-bot)
v22.5
Compare Source
We've just released v22.5.
Thank you to everyone who contributed to this release.
As usual, upgrade using
pip install -U python-telegram-bot
.The release notes can be found here.
v22.4
Compare Source
We've just released v22.4.
Thank you to everyone who contributed to this release.
As usual, upgrade using
pip install -U python-telegram-bot
.The release notes can be found here.
v22.3
Compare Source
We've just released v22.3.
Thank you to everyone who contributed to this release.
As usual, upgrade using
pip install -U python-telegram-bot
.The release notes can be found here.
v22.2
Compare Source
We've just released v22.2.
Thank you to everyone who contributed to this release.
As usual, upgrade using
pip install -U python-telegram-bot
.The release notes can be found here.
v22.1
Compare Source
We've just released v22.1.
Thank you to everyone who contributed to this release.
As usual, upgrade using
pip install -U python-telegram-bot
.The release notes can be found here.
v22.0
Compare Source
We've just released v22.0.
Thank you to everyone who contributed to this release.
As usual, upgrade using
pip install -U python-telegram-bot
.The release notes can be found here.
v21.11.1
Compare Source
Version 21.11.1
Released 2025-03-01
This is the technical changelog for version 21.11.1. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.
Documentation Improvements
v21.11
Compare Source
Version 21.11
Released 2025-03-01
This is the technical changelog for version 21.11. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.
Major Changes and New Features
provider_token
Argument Optional (#4689)InlineQueryResultArticle.hide_url
(#4640 closes #4638)datetime.timedelta
Input inBot
Method Parameters (#4651)Bot.base_(file_)url
(#4632 closes #3355)allow_paid_broadcast
inAIORateLimiter
(#4627 closes #4578)BaseUpdateProcessor.current_concurrent_updates
(#4626 closes #3984)Minor Changes and Bug Fixes
Application.run_*
(#4673 closes #4657)edit_user_star_subscription
(#4681 by @vavasik800)TelegramObject.de_json
and Friends (#4617 closes #4614)Documentation Improvements
Internal Changes
pre-commit
Hooks to Latest Versions (#4643)TelegramObject
Classes with Subclasses (#4654 closes #4652)Dependency Updates
actions/setup-python
from 5.3.0 to 5.4.0 (#4665)dependabot/fetch-metadata
from 2.2.0 to 2.3.0 (#4666)actions/stale
from 9.0.0 to 9.1.0 (#4667)astral-sh/setup-uv
from 5.1.0 to 5.2.2 (#4664)codecov/test-results-action
from 1.0.1 to 1.0.2 (#4663)v21.10
Compare Source
Version 21.10
Released 2025-01-03
This is the technical changelog for version 21.10. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.
Major Changes
apscheduler
& Deprecatepytz
Support (#4582)New Features
pattern
toJobQueue.jobs()
(#4613 closes #4544)Sticker
for Several Methods (#4616 closes #4580)Bug Fixes
Gift
andGifts
(#4634 closes #4637)Documentation Improvements & Internal Changes
dependabot
PRs (#4621)pylint
Suppressions (#4628)datetime
Imports (#4605 by @cuevasrja closes #4577)Dependency Updates
astral-sh/setup-uv
from 4.2.0 to 5.1.0 (#4625)codecov/codecov-action
from 5.1.1 to 5.1.2 (#4622)actions/upload-artifact
from 4.4.3 to 4.5.0 (#4623)github/codeql-action
from 3.27.9 to 3.28.0 (#4624)v21.9
Compare Source
Version 21.9
Released 2024-12-07
This is the technical changelog for version 21.9. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.
Major Changes
Minor Changes
MessageLimit.DEEP_LINK_LENGTH
inhelpers.create_deep_linked_url
(#4597 by @nemacysts)Sequence
Input forallowed_updates
inApplication
andUpdater
Methods (#4589 by @nemacysts)Dependency Updates
aiolimiter
requirement from ~=1.1.0 to >=1.1,<1.3 (#4595)pytest
from 8.3.3 to 8.3.4 (#4596)codecov/codecov-action
from 4 to 5 (#4585)pylint
to v3.3.2 to Improve Python 3.13 Support (#4590 by @nemacysts)srvaroa/labeler
from 1.11.1 to 1.12.0 (#4586)v21.8
Compare Source
Version 21.8
Released 2024-12-01
This is the technical changelog for version 21.8. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.
Major Changes
Documentation Improvements
v21.7
Compare Source
Version 21.7
Released 2024-11-04
This is the technical changelog for version 21.7. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.
Major Changes
Message.reply_paid_media
(#4551)Minor Changes
Sequence
inApplication.add_handlers
(#4531 by @roast-lord closes #4530)File.download_*
(#4542)Documentation Improvements
sphinx-build-compatibility
to Keep Sphinx Compatibility (#4492)Internal Changes
Message
Fixtures (#4507)pytest-xdist
Usage (#4491)Bot
Tests (#4489)conftest.py
for File Related Tests (#4488)Dependency Updates
srvaroa/labeler
from 1.11.0 to 1.11.1 (#4549)sphinx
from 8.0.2 to 8.1.3 (#4532)sphinxcontrib-mermaid
from 0.9.2 to 1.0.0 (#4529)srvaroa/labeler
from 1.10.1 to 1.11.0 (#4509)Bibo-Joshi/pyright-type-completeness
from 1.0.0 to 1.0.1 (#4510)v21.6
Compare Source
Version 21.6
Released 2024-09-19
This is the technical changelog for version 21.6. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.
New Features
httpx_kwargs
toHTTPXRequest
(#4451 closes #4424)Minor Changes
Internal Changes
offline_bot
Fixture inTest*WithoutRequest
(#4465)telegram.ext
Independent of Networking (#4454)Dependency Updates
pytest
from 8.3.2 to 8.3.3 (#4475)v21.5
Compare Source
Version 21.5
Released 2024-09-01
This is the technical changelog for version 21.5. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.
Major Changes
New Features
MessageEntity.shift_entities
andMessageEntity.concatenate
(#4376 closes #4372)game_pattern
toCallbackQueryHandler
(#4353 by @jainamoswal closes #4269)read_file_handle
toInputFile
(#4388 closes #4339)Documentation Improvements
RequestData
Members (#4396)Minor and Internal Changes
Updater
Network Loop (#4432 by @MartinHjelmare)test_message.py
(#4431 by @Palaptin)ruff
and Add New Rules (#4416)Dependency Updates
cachetools
requirement from <5.5.0,>=5.3.3 to >=5.3.3,<5.6.0 (#4437)sphinx
from 7.4.7 to 8.0.2 andfuro
from 2024.7.18 to 2024.8.6 (#4412)test-summary/action
from 2.3 to 2.4 (#4410)pytest
from 8.2.2 to 8.3.2 (#4403)dependabot/fetch-metadata
from 2.1.0 to 2.2.0 (#4411)cachetools
requirement from ~=5.3.3 to >=5.3.3,<5.5.0 (#4390)sphinx
from 7.3.7 to 7.4.7 (#4395)furo
from 2024.5.6 to 2024.7.18 (#4392)v21.4
Compare Source
Version 21.4
Released 2024-07-12
This is the technical changelog for version 21.4. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.
Major Changes
python-telegram-bot-raw
And Switch topyproject.toml
Based Packaging (#4288 closes #4129 and #4296)successful_payment
inMessage.effective_attachment
(#4365 closes #4350)New Features
filters.PAID_MEDIA
(#4357)MessageEntity.adjust_message_entities_to_utf_16
Utility Function (#4323 by Antares0982 closes #4319)bot
ofTelegramObject.de_json
Optional (#4320)Documentation Improvements
Internal Changes
mise-en-place
to.gitignore
(#4300)MenuButton
(#4363)SuccessfulPayment
Test (#4349)test_stars.py
(#4347)Dependency Updates
ruff
and Add New Rules (#4329)pre-commit
Hooks to Latest Versions (#4337)flaky
Dependency (#4322 by Palaptin)pytest
from 8.2.1 to 8.2.2 (#4294)v21.3
Compare Source
Version 21.3
Released 2024-06-07
This is the technical changelog for version 21.3. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.
Major Changes
python-telegram-bot-raw
(#4270)New Features
chat_id
toChatMemberHandler
(#4290 by uniquetrij closes #4287)Documentation Improvements
Internal Changes
setuptools
torequirements-dev.txt
(#4282)Dependency Updates
pytest
from 8.2.0 to 8.2.1 (#4272)v21.2
Compare Source
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
New Features
PTBDeprecationWarning
(#4262 closes #4261)CallbackContext
(#4222)Bug Fixes
Application.post_stop
Only ifApplication.stop
was called (#4211 closes #4210)SystemExit
raised in Handlers (#4157 closes #4155 and #4156)Birthdate.to_date
Return adatetime.date
Object (#4251)Documentation Improvements
Internal Changes
ruff
Config (#4250)Dependency Updates
furo
from 2024.4.27 to 2024.5.6 (#4252)pre-commit
autoupdate (#4239)pytest
from 8.1.1 to 8.2.0 (#4231)dependabot/fetch-metadata
from 2.0.0 to 2.1.0 (#4228)pytest-asyncio
from 0.21.1 to 0.21.2 (#4232)pytest-xdist
from 3.6.0 to 3.6.1 (#4233)furo
from 2024.1.29 to 2024.4.27 (#4230)srvaroa/labeler
from 1.10.0 to 1.10.1 (#4227)pytest
from 7.4.4 to 8.1.1 (#4218)sphinx
from 7.2.6 to 7.3.7 (#4215)pytest-xdist
from 3.5.0 to 3.6.0 (#4215)v21.1.1
Compare Source
Version 21.1.1
Released 2024-04-15
This is the technical changelog for version 21.1.1. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.
Bug Fixes
message_thread_id
ofMessage.reply_*
(#4207 closes #4205)Minor Changes
JobQueue.run_daily
(#4206 by @Konano)EncryptedCredentials.decrypted_secret
(#4199 by @marinelay closes #4198)v21.1
Compare Source
Version 21.1
Released 2024-04-12
This is the technical changelog for version 21.1. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.
Major Changes
ChatAdministratorRights/ChatMemberAdministrator.can_*_stories
Required (API 7.1) (#4192)Minor Changes
Bot
to Improve Type Hinting (#4151 closes #4010)New Features
Message.reply_*
Reply in the Same Topic by Default (#4170 by @aelkheir closes #4139)Update.effective_sender
(#4168 by @aelkheir closes #4085)Documentation Improvements
Internal Changes
get_sticker_set
as XFAIL due to API 7.2 Update (#4190)Dependency Updates
pre-commit
autoupdate (#4184)dependabot/fetch-metadata
from 1.6.0 to 2.0.0 (#4185)v21.0.1
Compare Source
Version 21.0.1
Released 2024-03-06
This is the technical changelog for version 21.0.1. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.
Bug Fixes
docs
from Package (#4150)v21.0
Compare Source
Version 21.0
Released 2024-03-06
This is the technical changelog for version 21.0. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.
Major Changes
New Features
media_write_timeout
toHTTPXRequest
and MethodApplicationBuilder.media_write_timeout
(#4120 closes #3864)TelegramObject.__setstate__
(#4134 closes #4111)Bug Fixes
Updater
(#4130 closes #4127)Documentation Improvements
Internal Changes
pre-commit
Checks More Widely (#4135)test_official
(#4087 closes #3874)Updater.stop
Independent ofCancelledError
(#4126)Dependency Updates
httpx
Dependency (#4148)test-summary/action
from 2.2 to 2.3 (#4142)cachetools
requirement from ~=5.3.2 to ~=5.3.3 (#4141)httpx
requirement from ~=0.26.0 to ~=0.27.0 (#4131)v20.8
Compare Source
Version 20.8
Released 2024-02-08
This is the technical changelog for version 20.8. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.
Major Changes
Minor Changes
filters
Parameter ofMessageHandler
(#4039 by @Palaptin)filters.CHAT
(#4083 closes #4062)New Features
pattern
toPreCheckoutQueryHandler
andfilters.SuccessfulPayment
(#4005 by @aelkheir closes #3752)type
to Corresponding Enum fromtelegram.constants
(#4067)Updater.start_webhook
(#3986 closes #3978)Bot.do_api_request
(#4084 closes #4053)AsyncContextManager
as Parent Class toBaseUpdateProcessor
(#4001)Documentation Improvements
Internal Changes
ruff
and Removesort-all
(#4075)_handlers
Subdirectory (#4064 by @lucasmolinari closes #4060)sort-all
Hook forpre-commit
(#4052)pre-commit
Mirror forblack
(#4051)DEFAULT_20
(#3997)setup.cfg
topyproject.toml
Where Possible (#4088)Dependency Updates
black
andruff
(#4089)srvaroa/labeler
from 1.8.0 to 1.10.0 (#4048)tornado
requirement from ~=6.3.3 to ~=6.4 (#3992)actions/stale
from 8 to 9 (#4046)actions/setup-python
from 4 to 5 (#4047)pre-commit
autoupdate (#4101)actions/upload-artifact
from 3 to 4 (#4045)pre-commit
autoupdate (#3996)furo
from 2023.9.10 to 2024.1.29 (#4094)pre-commit
autoupdate (#4043)codecov/codecov-action
from 3 to 4 (#4091)EndBug/add-and-commit
from 9.1.3 to 9.1.4 (#4090)httpx
requirement from ~=0.25.2 to ~=0.26.0 ([#4024](https://redirect.github.com/python-telegram-bot/python-Configuration
📅 Schedule: Branch creation - "after 6pm,every weekend" in timezone Australia/Sydney, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.