Update dependency python-telegram-bot to v22
Note: This PR body was truncated due to platform limits.
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| python-telegram-bot (changelog) | ==13.12 -> ==22.5 |
Release Notes
python-telegram-bot/python-telegram-bot (python-telegram-bot)
v22.5
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
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
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
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
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
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
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
- Fix ReadTheDocs Build (#4695)
v21.11
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
- Full Support for Bot API 8.3 (#4676 closes #4677, #4682 by @aelkheir, #4690 by @aelkheir, #4691 by @aelkheir)
- Make
provider_tokenArgument Optional (#4689) - Remove Deprecated
InlineQueryResultArticle.hide_url(#4640 closes #4638) - Accept
datetime.timedeltaInput inBotMethod Parameters (#4651) - Extend Customization Support for
Bot.base_(file_)url(#4632 closes #3355) - Support
allow_paid_broadcastinAIORateLimiter(#4627 closes #4578) - Add
BaseUpdateProcessor.current_concurrent_updates(#4626 closes #3984)
Minor Changes and Bug Fixes
- Add Bootstrapping Logic to
Application.run_*(#4673 closes #4657) - Fix a Bug in
edit_user_star_subscription(#4681 by @vavasik800) - Simplify Handling of Empty Data in
TelegramObject.de_jsonand Friends (#4617 closes #4614)
Documentation Improvements
- Documentation Improvements (#4641)
- Overhaul Admonition Insertion in Documentation (#4462 closes #4414)
Internal Changes
- Stabilize Linkcheck Test (#4693)
- Bump
pre-commitHooks to Latest Versions (#4643) - Refactor Tests for
TelegramObjectClasses with Subclasses (#4654 closes #4652) - Use Fine Grained Permissions for GitHub Actions Workflows (#4668)
Dependency Updates
- Bump
actions/setup-pythonfrom 5.3.0 to 5.4.0 (#4665) - Bump
dependabot/fetch-metadatafrom 2.2.0 to 2.3.0 (#4666) - Bump
actions/stalefrom 9.0.0 to 9.1.0 (#4667) - Bump
astral-sh/setup-uvfrom 5.1.0 to 5.2.2 (#4664) - Bump
codecov/test-results-actionfrom 1.0.1 to 1.0.2 (#4663)
v21.10
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
New Features
- Add Parameter
patterntoJobQueue.jobs()(#4613 closes #4544) - Allow Input of Type
Stickerfor Several Methods (#4616 closes #4580)
Bug Fixes
Documentation Improvements & Internal Changes
- Use Custom Labels for
dependabotPRs (#4621) - Remove Redundant
pylintSuppressions (#4628) - Update Copyright to 2025 (#4631)
- Refactor Module Structure and Tests for Star Payments Classes (#4615 closes #4593)
- Unify
datetimeImports (#4605 by @cuevasrja closes #4577) - Add Static Security Analysis of GitHub Actions Workflows (#4606)
Dependency Updates
- Bump
astral-sh/setup-uvfrom 4.2.0 to 5.1.0 (#4625) - Bump
codecov/codecov-actionfrom 5.1.1 to 5.1.2 (#4622) - Bump
actions/upload-artifactfrom 4.4.3 to 4.5.0 (#4623) - Bump
github/codeql-actionfrom 3.27.9 to 3.28.0 (#4624)
v21.9
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
- Use
MessageLimit.DEEP_LINK_LENGTHinhelpers.create_deep_linked_url(#4597 by @nemacysts) - Allow
SequenceInput forallowed_updatesinApplicationandUpdaterMethods (#4589 by @nemacysts)
Dependency Updates
- Update
aiolimiterrequirement from ~=1.1.0 to >=1.1,<1.3 (#4595) - Bump
pytestfrom 8.3.3 to 8.3.4 (#4596) - Bump
codecov/codecov-actionfrom 4 to 5 (#4585) - Bump
pylintto v3.3.2 to Improve Python 3.13 Support (#4590 by @nemacysts) - Bump
srvaroa/labelerfrom 1.11.1 to 1.12.0 (#4586)
v21.8
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
- Documentation Improvements (#4565 by @Snehashish06, #4573)
v21.7
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
- 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
SequenceinApplication.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-compatibilityto Keep Sphinx Compatibility (#4492)
Internal Changes
- Improve Test Instability Caused by
MessageFixtures (#4507) - Stabilize Some Flaky Tests (#4500)
- Reduce Creation of HTTP Clients in Tests (#4493)
- Update
pytest-xdistUsage (#4491) - Fix Failing Tests by Making Them Independent (#4494)
- Introduce Codecov's Test Analysis (#4487)
- Maintenance Work on
BotTests (#4489) - Introduce
conftest.pyfor File Related Tests (#4488) - Update Issue Templates to Use Issue Types (#4553)
- Update Automation to Label Changes (#4552)
Dependency Updates
- Bump
srvaroa/labelerfrom 1.11.0 to 1.11.1 (#4549) - Bump
sphinxfrom 8.0.2 to 8.1.3 (#4532) - Bump
sphinxcontrib-mermaidfrom 0.9.2 to 1.0.0 (#4529) - Bump
srvaroa/labelerfrom 1.10.1 to 1.11.0 (#4509) - Bump
Bibo-Joshi/pyright-type-completenessfrom 1.0.0 to 1.0.1 (#4510)
v21.6
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
- Full Support for Bot API 7.10 (#4461 closes #4459, #4460, #4463 by aelkheir, #4464)
- Add Parameter
httpx_kwargstoHTTPXRequest(#4451 closes #4424)
Minor Changes
- Improve Type Completeness (#4466)
Internal Changes
- Update Python 3.13 Test Suite to RC2 (#4471)
- Enforce the
offline_botFixture inTest*WithoutRequest(#4465) - Make Tests for
telegram.extIndependent of Networking (#4454) - Rename Testing Base Classes (#4453)
Dependency Updates
- Bump
pytestfrom 8.3.2 to 8.3.3 (#4475)
v21.5
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
- Add
MessageEntity.shift_entitiesandMessageEntity.concatenate(#4376 closes #4372) - Add Parameter
game_patterntoCallbackQueryHandler(#4353 by @jainamoswal closes #4269) - Add Parameter
read_file_handletoInputFile(#4388 closes #4339)
Documentation Improvements
- Bugfix for "Available In" Admonitions (#4413)
- Documentation Improvements (#4400 closes #4446, #4448 by @Palaptin)
- Document Return Types of
RequestDataMembers (#4396) - Add Introductory Paragraphs to Telegram Types Subsections (#4389 by @mohdyusuf2312 closes #4380)
- Start Adapting to RTD Addons (#4386)
Minor and Internal Changes
- Remove Surplus Logging from
UpdaterNetwork Loop (#4432 by @MartinHjelmare) - Add Internal Constants for Encodings (#4378 by @elpekenin)
- Improve PyPI Automation (#4375 closes #4373)
- Update Test Suite to New Test Channel Setup (#4435)
- Improve Fixture Usage in
test_message.py(#4431 by @Palaptin) - Update Python 3.13 Test Suite to RC1 (#4415)
- Bump
ruffand Add New Rules (#4416)
Dependency Updates
- Update
cachetoolsrequirement from <5.5.0,>=5.3.3 to >=5.3.3,<5.6.0 (#4437) - Bump
sphinxfrom 7.4.7 to 8.0.2 andfurofrom 2024.7.18 to 2024.8.6 (#4412) - Bump
test-summary/actionfrom 2.3 to 2.4 (#4410) - Bump
pytestfrom 8.2.2 to 8.3.2 (#4403) - Bump
dependabot/fetch-metadatafrom 2.1.0 to 2.2.0 (#4411) - Update
cachetoolsrequirement from ~=5.3.3 to >=5.3.3,<5.5.0 (#4390) - Bump
sphinxfrom 7.3.7 to 7.4.7 (#4395) - Bump
furofrom 2024.5.6 to 2024.7.18 (#4392)
v21.4
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
- Full Support for API 7.5 (#4328, #4316, #4315, #4312 closes #4310, #4311)
- Full Support for API 7.6 (#4333 closes #4331, #4344, #4341, #4334, #4335, #4351, #4342, #4348)
- Full Support for API 7.7 (#4356 closes #4355)
- Drop
python-telegram-bot-rawAnd Switch topyproject.tomlBased Packaging (#4288 closes #4129 and #4296) - Deprecate Inclusion of
successful_paymentinMessage.effective_attachment(#4365 closes #4350)
New Features
- Add Support for Python 3.13 Beta (#4253)
- Add
filters.PAID_MEDIA(#4357) - Log Received Data on Deserialization Errors (#4304)
- Add
MessageEntity.adjust_message_entities_to_utf_16Utility Function (#4323 by Antares0982 closes #4319) - Make Argument
botofTelegramObject.de_jsonOptional (#4320)
Documentation Improvements
- Documentation Improvements (#4303 closes #4301)
- Restructure Readme (#4362)
- Fix Link-Check Workflow (#4332)
Internal Changes
- Automate PyPI Releases (#4364 closes #4318)
- Add
mise-en-placeto.gitignore(#4300) - Use a Composite Action for Testing Type Completeness (#4367)
- Stabilize Some Concurrency Usages in Test Suite (#4360)
- Add a Test Case for
MenuButton(#4363) - Extend
SuccessfulPaymentTest (#4349) - Small Fixes for
test_stars.py(#4347) - Use Python 3.13 Beta 3 in Test Suite (#4336)
Dependency Updates
- Bump
ruffand Add New Rules (#4329) - Bump
pre-commitHooks to Latest Versions (#4337) - Add Lower Bound for
flakyDependency (#4322 by Palaptin) - Bump
pytestfrom 8.2.1 to 8.2.2 (#4294)
v21.3
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
- Full Support for Bot API 7.4 (#4286, #4276 closes #4275, #4285, #4283, #4280, #4278, #4279)
- Deprecate
python-telegram-bot-raw(#4270) - Remove Functionality Deprecated in Bot API 7.3 (#4266 closes #4244)
New Features
Documentation Improvements
Internal Changes
Dependency Updates
- Bump
pytestfrom 8.2.0 to 8.2.1 (#4272)
v21.2
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_stopOnly ifApplication.stopwas called (#4211 closes #4210) - Handle
SystemExitraised in Handlers (#4157 closes #4155 and #4156) - Make
Birthdate.to_dateReturn adatetime.dateObject (#4251)
Documentation Improvements
- Documentation Improvements (#4217)
Internal Changes
Dependency Updates
- Bump
furofrom 2024.4.27 to 2024.5.6 (#4252) pre-commitautoupdate (#4239)- Bump
pytestfrom 8.1.1 to 8.2.0 (#4231) - Bump
dependabot/fetch-metadatafrom 2.0.0 to 2.1.0 (#4228) - Bump
pytest-asynciofrom 0.21.1 to 0.21.2 (#4232) - Bump
pytest-xdistfrom 3.6.0 to 3.6.1 (#4233) - Bump
furofrom 2024.1.29 to 2024.4.27 (#4230) - Bump
srvaroa/labelerfrom 1.10.0 to 1.10.1 (#4227) - Bump
pytestfrom 7.4.4 to 8.1.1 (#4218) - Bump
sphinxfrom 7.2.6 to 7.3.7 (#4215) - Bump
pytest-xdistfrom 3.5.0 to 3.6.0 (#4215)
v21.1.1
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
Minor Changes
- Remove Deprecation Warning in
JobQueue.run_daily(#4206 by @Konano) - Fix Annotation of
EncryptedCredentials.decrypted_secret(#4199 by @marinelay closes #4198)
v21.1
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
- API 7.2 (#4180 closes #4179 and #4181, #4181)
- Make
ChatAdministratorRights/ChatMemberAdministrator.can_*_storiesRequired (API 7.1) (#4192)
Minor Changes
New Features
- Make
Message.reply_*Reply in the Same Topic by Default (#4170 by @aelkheir closes #4139) - Accept Socket Objects for Webhooks (#4161 closes #4078)
- Add
Update.effective_sender(#4168 by @aelkheir closes #4085)
Documentation Improvements
- Documentation Improvements (#4171, #4158 by @teslaedison)
Internal Changes
- Temporarily Mark Tests with
get_sticker_setas XFAIL due to API 7.2 Update (#4190)
Dependency Updates
v21.0.1
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
- Remove
docsfrom Package (#4150)
v21.0
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
- Add Parameter
media_write_timeouttoHTTPXRequestand MethodApplicationBuilder.media_write_timeout(#4120 closes #3864) - Handle Properties in
TelegramObject.__setstate__(#4134 closes #4111)
Bug Fixes
Documentation Improvements
- Improve HTML Download of Documentation (#4146 closes #4050)
- Documentation Improvements (#4109, #4116)
- Update Copyright to 2024 (#4121 by @aelkheir closes #4041)
Internal Changes
- Apply
pre-commitChecks More Widely (#4135) - Refactor and Overhaul
test_official(#4087 closes #3874) - Run Unit Tests in PRs on Requirements Changes (#4144)
- Make
Updater.stopIndependent ofCancelledError(#4126)
Dependency Updates
- Relax Upper Bound for
httpxDependency (#4148) - Bump
test-summary/actionfrom 2.2 to 2.3 (#4142) - Update
cachetoolsrequirement from ~=5.3.2 to ~=5.3.3 (#4141) - Update
httpxrequirement from ~=0.26.0 to ~=0.27.0 (#4131)
v20.8
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
- API 7.0 (#4034 closes #4033, #4038 by @aelkheir)
Minor Changes
- Fix Type Hint for
filtersParameter ofMessageHandler(#4039 by @Palaptin) - Deprecate
filters.CHAT(#4083 closes #4062) - Improve Error Handling in Built-In Webhook Handler (#3987 closes #3979)
New Features
- Add Parameter
patterntoPreCheckoutQueryHandlerandfilters.SuccessfulPayment(#4005 by @aelkheir closes #3752) - Add Missing Conversions of
typeto Corresponding Enum fromtelegram.constants(#4067) - Add Support for Unix Sockets to
Updater.start_webhook(#3986 closes #3978) - Add
Bot.do_api_request(#4084 closes #4053) - Add
AsyncContextManageras Parent Class toBaseUpdateProcessor(#4001)
Documentation Improvements
- Documentation Improvements (#3919)
- Add Docstring to Dunder Methods (#3929 closes #3926)
- Documentation Improvements (#4002, #4079 by @kenjitagawa, #4104 by @xTudoS)
Internal Changes
- Drop Usage of DeepSource (#4100)
- Improve Type Completeness & Corresponding Workflow (#4035)
- Bump
ruffand Removesort-all(#4075) - Move Handler Files to
_handlersSubdirectory (#4064 by @lucasmolinari closes #4060) - Introduce
sort-allHook forpre-commit(#4052) - Use Recommended
pre-commitMirror forblack(#4051) - Remove Unused
DEFAULT_20(#3997) - Migrate From
setup.cfgtopyproject.tomlWhere Possible (#4088)
Dependency Updates
- Bump
blackandruff(#4089) - Bump
srvaroa/labelerfrom 1.8.0 to 1.10.0 (#4048) - Update
tornadorequirement from ~=6.3.3 to ~=6.4 (#3992) - Bump
actions/stalefrom 8 to 9 (#4046) - Bump
actions/setup-pythonfrom 4 to 5 (#4047) pre-commitautoupdate (#4101)- Bump
actions/upload-artifactfrom 3 to 4 (#4045) pre-commitautoupdate (#3996)- Bump
furofrom 2023.9.10 to 2024.1.29 (#4094) pre-commitautoupdate (#4043)- Bump
codecov/codecov-actionfrom 3 to 4 (#4091) - Bump
EndBug/add-and-commitfrom 9.1.3 to 9.1.4 (#4090) - Update
httpxrequirement from ~=0.25.2 to ~=0.26.0 (#4024) - Bump
pytestfrom 7.4.3 to 7.4.4 (#4056) - Bump `srvaro
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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.