This is the technical changelog for version 20.4. More elaborate release notes can be found in the news channel @pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>__.
Major Changes
Drop Support for Python 3.7 (:pr:3728, :pr:3742 by @Trifase <https://github.com/Trifase>, :pr:3749 by @thefunkycat <https://github.com/thefunkycat>, :pr:3740 closes :issue:3732, :pr:3754 closes :issue:3731, :pr:3753, :pr:3764, :pr:3762, :pr:3759 closes :issue:3733)
New Features
Make Integration of APScheduler into JobQueue More Explicit (:pr:3695)
Introduce BaseUpdateProcessor for Customized Concurrent Handling of Updates (:pr:3654 closes :issue:3509)
Minor Changes
Fix Inconsistent Type Hints for timeout Parameter of Bot.get_updates (:pr:3709 by @revolter <https://github.com/revolter>__)
Use Explicit Optionals (:pr:3692 by @MiguelX413 <https://github.com/MiguelX413>__)
Bug Fixes
Fix Wrong Warning Text in KeyboardButton.__eq__ (:pr:3768)
Documentation Improvements
Explicitly set allowed_updates in Examples (:pr:3741 by @Trifase <https://github.com/Trifase>__ closes :issue:3726)
Bump furo and sphinx (:pr:3719)
Documentation Improvements (:pr:3698, :pr:3708 by @revolter <https://github.com/revolter>__, :pr:3767)
Add Quotes for Installation Instructions With Optional Dependencies (:pr:3780)
Exclude Type Hints from Stability Policy (:pr:3712)
Set httpx Logging Level to Warning in Examples (:pr:3746 closes :issue:3743)
Internal Changes
Drop a Legacy pre-commit.ci Configuration (:pr:3697)
Add Python 3.12 Beta to the Test Matrix (:pr:3751)
Use Temporary Files for Testing File Downloads (:pr:3777)
Auto-Update Changed Version in Other Files After Dependabot PRs (:pr:3716)
Add More ruff Rules (:pr:3763)
Rename _handler.py to _basehandler.py (:pr:3761)
Automatically Label pre-commit-ci PRs (:pr:3713)
Rework pytest Integration into GitHub Actions (:pr:3776)
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 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 20.3 to 20.4.
Release notes
Sourced from python-telegram-bot's releases.
... (truncated)
Changelog
Sourced from python-telegram-bot's changelog.
... (truncated)
Commits
59105b2
Bump Version to v20.4db6030e
Documentation Improvements (#3698, #3708, #3767)7d52ead
pre-commit
autoupdate (#3791)589047d
Add Python 3.12 Beta to the Test Matrix (#3751)5534ddf
Use Temporary Files for Testing File Downloads (#3777)1d27a0f
Bumpsrvaroa/labeler
from 1.5.0 to 1.6.0 (#3786)79cda75
Bumpdependabot/fetch-metadata
from 1.5.1 to 1.6.0 (#3787)dccf62e
Bumpdessant/lock-threads
from 4.0.0 to 4.0.1 (#3785)fb86bb3
Drop Support for Python 3.7 (#3728, #3742, #3749, #3740, #3754, #3753, #3764,...58b89cf
Add Moreruff
Rules (#3763)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 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)