:warning: This release will be the last release supporting Python 3.5. Please upgrade to a non-EOL Python version.
Changed urllib3[brotli] extra to favor installing Brotli libraries that are still receiving updates like brotli and brotlicffi instead of brotlipy. 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 from PoolManager to HTTPConnectionPool
when requesting an HTTP URL. Should only be forwarded when requesting an HTTPS URL.
Changed urllib3[brotli] extra to favor installing Brotli libraries that are still
receiving updates like brotli and brotlicffi instead of brotlipy.
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 from PoolManager to HTTPConnectionPool
when requesting an HTTP URL. Should only be forwarded when requesting an HTTPS URL.
1.26.8 (2022-01-07)
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.
Deprecated the Retry.MAX_BACKOFF class property in favor of Retry.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 from urllib3.packages.ssl_match_hostname
to urllib3.util.ssl_match_hostname to ensure Python 3.10+ compatibility after being repackaged
by downstream distributors.
Fixed absolute imports, all imports are now relative.
1.26.7 (2021-09-22)
Fixed a bug with HTTPS hostname verification involving IP addresses and lack
of SNI. (Issue #2400)
Fixed a bug where IPv6 braces weren't stripped during certificate hostname
matching. (Issue #2240)
1.26.6 (2021-06-25)
Deprecated the urllib3.contrib.ntlmpool module. urllib3 is not able to support
it properly due to reasons listed in this issue <https://github.com/urllib3/urllib3/issues/2282>_.
If you are a user of this module please leave a comment.
Changed HTTPConnection.request_chunked() to not erroneously emit multiple
Transfer-Encoding headers in the case that one is already specified.
Fixed typo in deprecation message to recommend Retry.DEFAULT_ALLOWED_METHODS.
1.26.5 (2021-05-26)
Fixed deprecation warnings emitted in Python 3.10.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on urllib3 to permit the latest version.
Release notes
Sourced from urllib3's releases.
Changelog
Sourced from urllib3's changelog.
... (truncated)
Commits
6de3330
Release 1.26.95ea33e1
[1.26] Switch to Brotli C bindings for CPython, brotlicffi for non-CPythonc0a182c
[1.26] Avoid socket leak if HTTPSConnection.connect() fails5cf6d03
[1.26] Fix formatting in changelog834dd1e
[1.26] Complete test coverage of urllib3.util.ssl_match_hostname.match_hostname048c0ba
[1.26] Combine UnicodeError and ValueError branches in ssl_match_hostname for...a4539fb
[1.26] Add test to complete the coverage of urllib3.util.ssl_match_hostname.m...d662fcd
[1.26] Stop advertising python setup.py install778e585
[1.26] Show missing lines in coverage reportf1d40fd
[1.26] Add server_hostname to SSL_KEYWORDSDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)