Requests-doh

Latest version: v1.0.0

Safety actively analyzes 682251 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.0.0

In summary, this update introduce some breaking changes to resolver session and update library dependencies.

Breaking changes

Now function `requests_doh.resolver.set_resolver_session` only accept `httpx.Client` rather than `requests.Client`.
This is because [dnspython changes](https://dnspython.readthedocs.io/en/stable/whatsnew.html#id6) makes it no longer
accepting `requests.Client`

And `requests_doh.resolver.get_resolver_session` are now returning `httpx.Client` rather than `requests.Client`

Dependencies

- Bump requests from v2.31.0 to v2.32.3 due to [CVE-2024-35195](https://github.com/advisories/GHSA-9wx4-h78v-vm56)
- Bump dnspython from v2.3.0 to v2.6.1 due to [CVE-2023-29483](https://github.com/advisories/GHSA-3rq5-2g8h-59hc)

0.3.3

Not secure
Fix bugs

- Fixed missing dependencies (`ModuleNotFoundError: No module named socks`)

0.3.2

Not secure
Fix bugs

- Fixed requests with socks proxy is not working 3

Note: Potential breaking changes

Functions `set_dns_cache_expire_time()` and `purge_dns_cache()` imported from module `requests_doh.connector` are no longer exists. Instead you can import it from `requests_doh.cachemanager`

If you usually import those functions from `requests_doh` (root library), these changes doesn't affect you at all.

For example:

python
If you do this starting from v0.3.2, you will get `ImportError`
from requests_doh.connector import set_dns_cache_expire_time, purge_dns_cache

Do this instead
from requests_doh.cachemanager import set_dns_cache_expire_time, purge_dns_cache

Those changes doesn't affect you if you use this import method
from requests_doh import set_dns_cache_expire_time, purge_dns_cache

0.3.1

Not secure
This update fix `requests` dependencies because of [CVE-202-32681](https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q)

Dependencies

- Bump requests from v2.28.2 to v2.31.0

0.3.0

Not secure
New features

- Added ability to add custom DNS over HTTPS provider [1](https://github.com/mansuf/requests-doh/issues/1)
- Added ability to remove DNS over HTTPS provider

Improvements

- Improved performance for querying DNS over HTTPS

0.2.4

Not secure
Dependecies

- Updated requests from v2.28.1 to v2.28.2
- Updated dnspython from v2.2.1 to v2.3.0

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.