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
toHTTPXRequest
(#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
toproxy
and Allowhttpx.{Proxy, URL}
as Input (#3939 closes #3844)
Bug Fixes & Changes
- Adjust
read_timeout
Behavior forBot.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)