urllib3 v1.26.9 Release Notes
Release Date: 2022-03-16 // 4 months ago-
- ๐ Changed
urllib3[brotli]
extra to favor installing Brotli libraries that are still receiving updates likebrotli
andbrotlicffi
instead ofbrotlipy
. This change does not impact behavior of urllib3, only which dependencies are installed. - ๐ Fixed a socket leaking when
HTTPSConnection.connect()
raises an exception. - ๐ Fixed
server_hostname
being forwarded fromPoolManager
toHTTPConnectionPool
when requesting an HTTP URL. Should only be forwarded when requesting an HTTPS URL.
- ๐ Changed
Previous changes from v1.26.8
-
- โ Added extra message to
urllib3.exceptions.ProxyError
when urllib3 detects that a proxy is configured to use HTTPS but the proxy itself appears to only use HTTP. - โ Added a mention of the size of the connection pool when discarding a connection due to the pool being full.
- โ Added explicit support for Python 3.11.
- 0๏ธโฃ Deprecated the
Retry.MAX_BACKOFF
class property in favor ofRetry.DEFAULT_MAX_BACKOFF
to better match the rest of the default parameter names.Retry.MAX_BACKOFF
is removed in v2.0. - ๐ฆ Changed location of the vendored
ssl.match_hostname
function fromurllib3.packages.ssl_match_hostname
tourllib3.util.ssl_match_hostname
to ensure Python 3.10+ compatibility after being repackaged by downstream distributors. - ๐ Fixed absolute imports, all imports are now relative.
- โ Added extra message to