Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency python-telegram-bot to v22 #428

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 19, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
python-telegram-bot (changelog) ==13.12 -> ==22.0 age adoption passing confidence

Release Notes

python-telegram-bot/python-telegram-bot (python-telegram-bot)

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

Minor Changes and Bug Fixes

Documentation Improvements

Internal Changes

  • Stabilize Linkcheck Test (#​4693)
  • Bump pre-commit Hooks to Latest Versions (#​4643)
  • Refactor Tests for TelegramObject Classes with Subclasses (#​4654 closes #​4652)
  • Use Fine Grained Permissions for GitHub Actions Workflows (#​4668)

Dependency Updates

  • Bump actions/setup-python from 5.3.0 to 5.4.0 (#​4665)
  • Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 (#​4666)
  • Bump actions/stale from 9.0.0 to 9.1.0 (#​4667)
  • Bump astral-sh/setup-uv from 5.1.0 to 5.2.2 (#​4664)
  • Bump 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

  • Full Support for Bot API 8.2 (#​4633)
  • Bump apscheduler & Deprecate pytz Support (#​4582)

New Features

Bug Fixes

Documentation Improvements & Internal Changes

Dependency Updates

  • Bump astral-sh/setup-uv from 4.2.0 to 5.1.0 (#​4625)
  • Bump codecov/codecov-action from 5.1.1 to 5.1.2 (#​4622)
  • Bump actions/upload-artifact from 4.4.3 to 4.5.0 (#​4623)
  • Bump 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

Dependency Updates

  • Update aiolimiter requirement from ~=1.1.0 to >=1.1,<1.3 (#​4595)
  • Bump pytest from 8.3.3 to 8.3.4 (#​4596)
  • Bump codecov/codecov-action from 4 to 5 (#​4585)
  • Bump pylint to v3.3.2 to Improve Python 3.13 Support (#​4590 by @​nemacysts)
  • Bump 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

Minor Changes

Documentation Improvements

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)

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

Minor Changes

Internal Changes

  • Update Python 3.13 Test Suite to RC2 (#​4471)
  • Enforce the offline_bot Fixture in Test*WithoutRequest (#​4465)
  • Make Tests for telegram.ext Independent of Networking (#​4454)
  • Rename Testing Base Classes (#​4453)

Dependency Updates

  • Bump 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

  • Full Support for Bot API 7.9 (#​4429)
  • Full Support for Bot API 7.8 (#​4408)

New Features

Documentation Improvements

Minor and Internal Changes

Dependency Updates

  • Update cachetools requirement from <5.5.0,>=5.3.3 to >=5.3.3,<5.6.0 (#​4437)
  • Bump sphinx from 7.4.7 to 8.0.2 and furo from 2024.7.18 to 2024.8.6 (#​4412)
  • Bump test-summary/action from 2.3 to 2.4 (#​4410)
  • Bump pytest from 8.2.2 to 8.3.2 (#​4403)
  • Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 (#​4411)
  • Update cachetools requirement from ~=5.3.3 to >=5.3.3,<5.5.0 (#​4390)
  • Bump sphinx from 7.3.7 to 7.4.7 (#​4395)
  • Bump 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

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_16 Utility Function (#​4323 by Antares0982 closes #​4319)
  • Make Argument bot of TelegramObject.de_json Optional (#​4320)

Documentation Improvements

Internal Changes

  • Automate PyPI Releases (#​4364 closes #​4318)
  • Add mise-en-place to .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 SuccessfulPayment Test (#​4349)
  • Small Fixes for test_stars.py (#​4347)
  • Use Python 3.13 Beta 3 in Test Suite (#​4336)

Dependency Updates

  • Bump ruff and Add New Rules (#​4329)
  • Bump pre-commit Hooks to Latest Versions (#​4337)
  • Add Lower Bound for flaky Dependency (#​4322 by Palaptin)
  • Bump 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

New Features

  • Add Parameter chat_id to ChatMemberHandler (#​4290 by uniquetrij closes #​4287)

Documentation Improvements

Internal Changes

  • Add setuptools to requirements-dev.txt (#​4282)
  • Update Settings for pre-commit.ci (#​4265)

Dependency Updates

  • Bump 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

  • Add Version to PTBDeprecationWarning (#​4262 closes #​4261)
  • Handle Exceptions in building CallbackContext (#​4222)

Bug Fixes

Documentation Improvements

Internal Changes

  • Add New Rules to ruff Config (#​4250)
  • Adapt Test Suite to Changes in Error Messages (#​4238)

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)

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

  • Fix Bug With Parameter message_thread_id of Message.reply_* (#​4207 closes #​4205)

Minor Changes

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

Minor Changes

  • Refactor Debug logging in Bot to Improve Type Hinting (#​4151 closes #​4010)

New Features

Documentation Improvements

Internal Changes

  • Temporarily Mark Tests with get_sticker_set as XFAIL due to API 7.2 Update (#​4190)

Dependency Updates

  • pre-commit autoupdate (#​4184)
  • Bump 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

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

  • Add Parameter media_write_timeout to HTTPXRequest and Method ApplicationBuilder.media_write_timeout (#​4120 closes #​3864)
  • Handle Properties in TelegramObject.__setstate__ (#​4134 closes #​4111)

Bug Fixes

Documentation Improvements

Internal Changes

  • Apply pre-commit Checks More Widely (#​4135)
  • Refactor and Overhaul test_official (#​4087 closes #​3874)
  • Run Unit Tests in PRs on Requirements Changes (#​4144)
  • Make Updater.stop Independent of CancelledError (#​4126)

Dependency Updates

  • Relax Upper Bound for httpx Dependency (#​4148)
  • Bump test-summary/action from 2.2 to 2.3 (#​4142)
  • Update cachetools requirement from ~=5.3.2 to ~=5.3.3 (#​4141)
  • Update 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

New Features

  • Add Parameter pattern to PreCheckoutQueryHandler and filters.SuccessfulPayment (#​4005 by @​aelkheir closes #​3752)
  • Add Missing Conversions of type to Corresponding Enum from telegram.constants (#​4067)
  • Add Support for Unix Sockets to Updater.start_webhook (#​3986 closes #​3978)
  • Add Bot.do_api_request (#​4084 closes #​4053)
  • Add AsyncContextManager as Parent Class to BaseUpdateProcessor (#​4001)

Documentation Improvements

Internal Changes

Dependency Updates

  • Bump black and ruff (#​4089)
  • Bump srvaroa/labeler from 1.8.0 to 1.10.0 (#​4048)
  • Update tornado requirement from ~=6.3.3 to ~=6.4 (#​3992)
  • Bump actions/stale from 8 to 9 (#​4046)
  • Bump actions/setup-python from 4 to 5 (#​4047)
  • pre-commit autoupdate (#​4101)
  • Bump actions/upload-artifact from 3 to 4 (#​4045)
  • pre-commit autoupdate (#​3996)
  • Bump furo from 2023.9.10 to 2024.1.29 (#​4094)
  • pre-commit autoupdate (#​4043)
  • Bump codecov/codecov-action from 3 to 4 (#​4091)
  • Bump EndBug/add-and-commit from 9.1.3 to 9.1.4 (#​4090)
  • Update httpx requirement from ~=0.25.2 to ~=0.26.0 (#​4024)
  • Bump pytest from 7.4.3 to 7.4.4 (#​4056)
  • Bump srvaroa/labeler from 1.7.0 to 1.8.0 (#​3993)
  • Bump test-summary/action from 2.1 to 2.2 (#​4044)
  • Bump dessant/lock-threads from 4.0.1 to 5.0.1 (#​3994)

v20.7

Compare Source

Version 20.7

Released 2023-11-27

This is the technical changelog for version 20.6. More elaborate release notes can be found in the news channel @​pythontelegrambotchannel.

New Features

  • Add JobQueue.scheduler_configuration and Corresponding Warnings (#​3913 closes #​3837)
  • Add Parameter socket_options to HTTPXRequest (#​3935 closes #​2965)
  • Add ApplicationBuilder.(get_updates_)socket_options (#​3943)
  • Improve write_timeout Handling for Media Methods (#​3952)
  • Add filters.Mention (#​3941 closes #​3799)
  • Rename proxy_url to proxy and Allow httpx.{Proxy, URL} as Input (#​3939 closes #​3844)

Bug Fixes & Changes

  • Adjust read_timeout Behavior for Bot.get_updates (#​3963 closes #​3893)
  • Improve BaseHandler.__repr__ for Callbacks without __qualname__ (#​3934)
  • Fix Persistency Issue with Ended Non-Blocking Conversations (#​3962)
  • Improve Type Hinting for Arguments with Default Values in Bot (#​3942)

Documentation Improvements

  • Add Documentation for __aenter__ and __aexit__ Methods (#​3907 closes #​3886)
  • Improve Insertion of Kwargs into Bot Methods (#​3965)

Internal Changes

  • Adjust Tests to New Error Messages (#​3970)

Dependency Updates


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.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants