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
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 ofblack
(#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)