Python Telegram Bot Versions Save

We have made you a wrapper you can't refuse

v21.1.1

1 week ago

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

  • Remove Deprecation Warning in JobQueue.run_daily (#4206 by @Konano)
  • Fix Annotation of EncryptedCredentials.decrypted_secret (#4199 by @marinelay closes #4198)

v21.1

2 weeks ago

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_*_stories Required (API 7.1) (#4192)

Minor Changes

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

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

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

1 month ago

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 docs from Package (#4150)

v21.0

1 month ago

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

  • Remove Functionality Deprecated in API 7.0 (#4114 closes #4099)
  • API 7.1 (#4118)

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

  • Add Missing Slot to Updater (#4130 closes #4127)

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-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.7

5 months ago

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

  • Bump pytest-xdist from 3.3.1 to 3.4.0 (#3975)
  • pre-commit autoupdate (#3967)
  • Update httpx requirement from ~=0.25.1 to ~=0.25.2 (#3983)
  • Bump pytest-xdist from 3.4.0 to 3.5.0 (#3982)
  • Update httpx requirement from ~=0.25.0 to ~=0.25.1 (#3961)
  • Bump srvaroa/labeler from 1.6.1 to 1.7.0 (#3958)
  • Update cachetools requirement from ~=5.3.1 to ~=5.3.2 (#3954)
  • Bump pytest from 7.4.2 to 7.4.3 (#3953)

v20.6

6 months ago

Version 20.6

Released 2023-10-03

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

Major Changes

  • Drop Backward Compatibility Layer Introduced in #3853 (API 6.8) (#3873)
  • Full Support for Bot API 6.9 (#3898)

New Features

  • Add Rich Equality Comparison to WriteAccessAllowed (#3911 closes #3909)
  • Add __repr__ Methods Added in #3826 closes #3770 to Sphinx Documentation (#3901 closes #3889)
  • Add String Representation for Selected Classes (#3826 closes #3770)

Minor Changes

  • Add Support Python 3.12 (#3915)
  • Documentation Improvements (#3910)

Internal Changes

  • Verify Type Hints for Bot Method & Telegram Class Parameters (#3868)
  • Move Bot API Tests to Separate Workflow File (#3912)
  • Fix Failing file_size Tests (#3906)
  • Set Threshold for DeepSource's PY-R1000 to High (#3888)
  • One-Time Code Formatting Improvement via --preview Flag of black (#3882)
  • Move Dunder Methods to the Top of Class Bodies (#3883)
  • Remove Superfluous Defaults.__ne__ (#3884)

Dependency Updates

  • pre-commit autoupdate (#3876)
  • Update pre-commit Dependencies (#3916)
  • Bump actions/checkout from 3 to 4 (#3914)
  • Update httpx requirement from ~=0.24.1 to ~=0.25.0 (#3891)
  • Bump furo from 2023.8.19 to 2023.9.10 (#3890)
  • Bump sphinx from 7.2.5 to 7.2.6 (#3892)
  • Update tornado requirement from ~=6.2 to ~=6.3.3 (#3675)
  • Bump pytest from 7.4.0 to 7.4.2 (#3881)

v20.5

7 months ago

Version 20.5

Released 2023-09-03

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

Major Changes

  • API 6.8 (#3853)
  • Remove Functionality Deprecated Since Bot API 6.5, 6.6 or 6.7 (#3858)

New Features

  • Extend Allowed Values for HTTP Version (#3823 closes #3821)
  • Add has_args Parameter to CommandHandler (#3854 by @thatguylah closes #3798)
  • Add Application.stop_running() and Improve Marking Updates as Read on Updater.stop() (#3804)

Minor Changes

  • Type Hinting Fixes for WebhookInfo (#3871)
  • Test and Document Exception.__cause__ on NetworkError (#3792 closes #3778)
  • Add Support for Python 3.12 RC (#3847)

Documentation Improvements

  • Remove Version Check from Examples (#3846)
  • Documentation Improvements (#3803, #3797, #3816 by @trim21, #3829 by @aelkheir)
  • Provide Versions of customwebhookbot.py with Different Frameworks (#3820 closes #3717)

Dependency Updates

  • pre-commit autoupdate (#3824)
  • Bump srvaroa/labeler from 1.6.0 to 1.6.1 (#3870)
  • Bump sphinx from 7.0.1 to 7.1.1 (#3818)
  • Bump sphinx from 7.2.3 to 7.2.5 (#3869)
  • Bump furo from 2023.5.20 to 2023.7.26 (#3817)
  • Update apscheduler requirement from ~=3.10.3 to ~=3.10.4 (#3862)
  • Bump sphinx from 7.2.2 to 7.2.3 (#3861)
  • Bump pytest-asyncio from 0.21.0 to 0.21.1 (#3801)
  • Bump sphinx-paramlinks from 0.5.4 to 0.6.0 (#3840)
  • Update apscheduler requirement from ~=3.10.1 to ~=3.10.3 (#3851)
  • Bump furo from 2023.7.26 to 2023.8.19 (#3850)
  • Bump sphinx from 7.1.2 to 7.2.2 (#3852)
  • Bump sphinx from 7.1.1 to 7.1.2 (#3827)

v20.4

9 months ago

Version 20.4

Released 2023-07-09

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

Major Changes

  • Drop Support for Python 3.7 (#3728, #3742 by @Trifase, #3749 by @thefunkycat, #3740 closes #3732, #3754 closes #3731, #3753, #3764, #3762, #3759 closes #3733)

New Features

  • Make Integration of APScheduler into JobQueue More Explicit (#3695)
  • Introduce BaseUpdateProcessor for Customized Concurrent Handling of Updates (#3654 closes #3509)

Minor Changes

  • Fix Inconsistent Type Hints for timeout Parameter of Bot.get_updates (#3709 by @revolter)
  • Use Explicit Optionals (#3692 by @MiguelX413)

Bug Fixes

  • Fix Wrong Warning Text in KeyboardButton.__eq__ (#3768)

Documentation Improvements

  • Explicitly set allowed_updates in Examples (#3741 by @Trifase closes #3726)
  • Bump furo and sphinx (#3719)
  • Documentation Improvements (#3698, #3708 by @revolter, #3767)
  • Add Quotes for Installation Instructions With Optional Dependencies (#3780)
  • Exclude Type Hints from Stability Policy (#3712)
  • Set httpx Logging Level to Warning in Examples (#3746 closes #3743)

Internal Changes

  • Drop a Legacy pre-commit.ci Configuration (#3697)
  • Add Python 3.12 Beta to the Test Matrix (#3751)
  • Use Temporary Files for Testing File Downloads (#3777)
  • Auto-Update Changed Version in Other Files After Dependabot PRs (#3716)
  • Add More ruff Rules (#3763)
  • Rename _handler.py to _basehandler.py (#3761)
  • Automatically Label pre-commit-ci PRs (#3713)
  • Rework pytest Integration into GitHub Actions (#3776)
  • Fix Two Bugs in GitHub Actions Workflows (#3739)

Dependency Updates

  • Update cachetools requirement from ~=5.3.0 to ~=5.3.1 (#3738)
  • Update aiolimiter requirement from ~=1.0.0 to ~=1.1.0 (#3707)
  • pre-commit autoupdate (#3791)
  • Bump sphinxcontrib-mermaid from 0.8.1 to 0.9.2 (#3737)
  • Bump pytest-xdist from 3.2.1 to 3.3.0 (#3705)
  • Bump srvaroa/labeler from 1.5.0 to 1.6.0 (#3786)
  • Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 (#3787)
  • Bump dessant/lock-threads from 4.0.0 to 4.0.1 (#3785)
  • Bump pytest from 7.3.2 to 7.4.0 (#3774)
  • Update httpx requirement from ~=0.24.0 to ~=0.24.1 (#3715)
  • Bump pytest-xdist from 3.3.0 to 3.3.1 (#3714)
  • Bump pytest from 7.3.1 to 7.3.2 (#3758)
  • pre-commit autoupdate (#3747)

v20.3

11 months ago

Version 20.3

Released 2023-05-07

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

Major Changes

  • Full support for API 6.7 (#3673)
  • Add a Stability Policy (#3622)

New Features

  • Add Application.mark_data_for_update_persistence (#3607)
  • Make Message.link Point to Thread View Where Possible (#3640)
  • Localize Received datetime Objects According to Defaults.tzinfo (#3632)

Minor Changes, Documentation Improvements and CI

  • Empower ruff (#3594)
  • Drop Usage of sys.maxunicode (#3630)
  • Add String Representation for RequestParameter (#3634)
  • Stabilize CI by Rerunning Failed Tests (#3631)
  • Give Loggers Better Names (#3623)
  • Add Logging for Invalid JSON Data in BasePersistence.parse_json_payload (#3668)
  • Improve Warning Categories & Stacklevels (#3674)
  • Stabilize test_delete_sticker_set (#3685)
  • Shield Update Fetcher Task in Application.start (#3657)
  • Recover 100% Type Completeness (#3676)
  • Documentation Improvements (#3628, #3636, #3694)

Dependencies

  • Bump actions/stale from 7 to 8 (#3644)
  • Bump furo from 2023.3.23 to 2023.3.27 (#3643)
  • pre-commit autoupdate (#3646, #3688)
  • Remove Deprecated codecov Package from CI (#3664)
  • Bump sphinx-copybutton from 0.5.1 to 0.5.2 (#3662)
  • Update httpx requirement from ~=0.23.3 to ~=0.24.0 (#3660)
  • Bump pytest from 7.2.2 to 7.3.1 (#3661)

v20.2

1 year ago

Version 20.2

Released 2023-03-25

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

Major Changes

  • Full Support for API 6.6 (#3584)
  • Revert to HTTP/1.1 as Default and make HTTP/2 an Optional Dependency (#3576)

Minor Changes, Documentation Improvements and CI

  • Documentation Improvements (#3565, #3600)
  • Handle Symbolic Links in was_called_by (#3552)
  • Tidy Up Tests Directory (#3553)
  • Enhance Application.create_task (#3543)
  • Make Type Completeness Workflow Usable for PRs from Forks (#3551)
  • Refactor and Overhaul the Test Suite (#3426)

Dependencies

  • Bump pytest-asyncio from 0.20.3 to 0.21.0 (#3624)
  • Bump furo from 2022.12.7 to 2023.3.23 (#3625)
  • Bump pytest-xdist from 3.2.0 to 3.2.1 (#3606)
  • pre-commit autoupdate (#3577)
  • Update apscheduler requirement from ~=3.10.0 to ~=3.10.1 (#3572)
  • Bump pytest from 7.2.1 to 7.2.2 (#3573)
  • Bump pytest-xdist from 3.1.0 to 3.2.0 (#3550)
  • Bump sphinxcontrib-mermaid from 0.7.1 to 0.8 (#3549)