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
intoJobQueue
More Explicit (#3695) - Introduce
BaseUpdateProcessor
for Customized Concurrent Handling of Updates (#3654 closes #3509)
Minor Changes
- Fix Inconsistent Type Hints for
timeout
Parameter ofBot.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
andsphinx
(#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)