Version 20.1
Released 2023-02-09
This is the technical changelog for version 20.1. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.
Major Changes
- Full Support for Bot API 6.5 (#3530)
New Features
- Add
Application(Builder).post_stop
(#3466) - Add
Chat.effective_name
Convenience Property (#3485) - Allow to Adjust HTTP Version and Use HTTP/2 by Default (#3506)
Documentation Improvements
- Enhance
chatmemberbot
Example (#3500) - Automatically Generate Cross-Reference Links (#3501, #3529, #3523)
- Add Some Graphic Elements to Docs (#3535)
- Various Smaller Improvements (#3464, #3483, #3484, #3497, #3512, #3515, #3498)
Minor Changes, Documentation Improvements and CI
- Update Copyright to 2023 (#3459)
- Stabilize Tests on Closing and Hiding the General Forum Topic (#3460)
- Fix Dependency Warning Typo (#3474)
- Cache Dependencies on
GitHub
Actions (#3469) - Store Documentation Builts as
GitHub
Actions Artifacts (#3468) - Add
ruff
topre-commit
Hooks (#3488) - Improve Warning for
days
Parameter ofJobQueue.run_daily
(#3503) - Improve Error Message for
NetworkError
(#3505) - Lock Inactive Threads Only Once Each Day (#3510)
- Bump
pytest
from 7.2.0 to 7.2.1 (#3513) - Check for 3D Arrays in
check_keyboard_type
(#3514) - Explicit Type Annotations (#3508)
- Increase Verbosity of Type Completeness CI Job (#3531)
- Fix CI on Python 3.11 + Windows (#3547)
Dependencies
- Bump
actions/stale
from 6 to 7 (#3461) - Bump
dessant/lock-threads
from 3.0.0 to 4.0.0 (#3462) pre-commit
autoupdate (#3470)- Update
httpx
requirement from ~=0.23.1 to ~=0.23.3 (#3489) - Update
cachetools
requirement from ~=5.2.0 to ~=5.2.1 (#3502) - Improve Config for
ruff
and Bump to v0.0.222 (#3507) - Update
cachetools
requirement from ~=5.2.1 to ~=5.3.0 (#3520) - Bump
isort
to 5.12.0 (#3525) - Update
apscheduler
requirement from ~=3.9.1 to ~=3.10.0 (#3532) pre-commit
autoupdate (#3537)- Update
cryptography
requirement to >=39.0.1 to address Vulnerability (#3539)