Breaking changes
Now function requests_doh.resolver.set_resolver_session
only accept httpx.Client
rather than requests.Client
.
This is because dnspython changes makes it no longer accepting requests.Client
And requests_doh.resolver.get_resolver_session
are now returning httpx.Client
rather than requests.Client
If you're already installed request-doh and wanna update requests-doh to v1.0.0. You need to update dnspython and requests as well.
pip install -U "dnspython[doh]==2.6.1" "requests[socks]==2.32.3"
Dependencies
- Bump requests from v2.31.0 to v2.32.3 due to CVE-2024-35195
- Bump dnspython from v2.3.0 to v2.6.1 due to CVE-2023-29483