chore(deps): bump urllib3 from 2.1.0 to 2.2.0
Bumps urllib3 from 2.1.0 to 2.2.0.
Release notes
Sourced from urllib3's releases.
2.2.0
🖥 ️ urllib3 now works in the browser
🎉 This release adds experimental support for using urllib3 in the browser with Pyodide!🎉 Thanks to Joe Marshall (
@joemarshall
) for contributing this feature. This change was possible thanks to work done in urllib3 v2.0 to detach our API fromhttp.client
. Please report all bugs to the urllib3 issue tracker.
🚀 urllib3 is fundraising for HTTP/2 supporturllib3 is raising ~$40,000 USD to release HTTP/2 support and ensure long-term sustainable maintenance of the project after a sharp decline in financial support for 2023. If your company or organization uses Python and would benefit from HTTP/2 support in Requests, pip, cloud SDKs, and thousands of other projects please consider contributing financially to ensure HTTP/2 support is developed sustainably and maintained for the long-haul.
Thank you for your support.
Changes
- Added support for Emscripten and Pyodide, including streaming support in cross-origin isolated browser environments where threading is enabled. (#2951)
- Added support for
HTTPResponse.read1()
method. (#3186)- Added rudimentary support for HTTP/2. (#3284)
- Fixed issue where requests against urls with trailing dots were failing due to SSL errors when using proxy. (#2244)
- Fixed
HTTPConnection.proxy_is_verified
andHTTPSConnection.proxy_is_verified
to be always set to a boolean after connecting to a proxy. It could beNone
in some cases previously. (#3130)- Fixed an issue where
headers
passed in a request withjson=
would be mutated (#3203)- Fixed
HTTPSConnection.is_verified
to be set toFalse
when connecting from a HTTPS proxy to an HTTP target. It was set toTrue
previously. (#3267)- Fixed handling of new error message from OpenSSL 3.2.0 when configuring an HTTP proxy as HTTPS (#3268)
- Fixed TLS 1.3 post-handshake auth when the server certificate validation is disabled (#3325)
Note for downstream distributors: To run integration tests, you now need to run the tests a second time with the
--integration
pytest flag. (#3181)
Changelog
Sourced from urllib3's changelog.
2.2.0 (2024-01-30)
- Added support for
Emscripten and Pyodide <https://urllib3.readthedocs.io/en/latest/reference/contrib/emscripten.html>
, including streaming support in cross-origin isolated browser environments where threading is enabled. ([#2951](https://github.com/urllib3/urllib3/issues/2951) <https://github.com/urllib3/urllib3/issues/2951>
)- Added support for
HTTPResponse.read1()
method. ([#3186](https://github.com/urllib3/urllib3/issues/3186) <https://github.com/urllib3/urllib3/issues/3186>
__)- Added rudimentary support for HTTP/2. (
[#3284](https://github.com/urllib3/urllib3/issues/3284) <https://github.com/urllib3/urllib3/issues/3284>
__)- Fixed issue where requests against urls with trailing dots were failing due to SSL errors when using proxy. (
[#2244](https://github.com/urllib3/urllib3/issues/2244) <https://github.com/urllib3/urllib3/issues/2244>
__)- Fixed
HTTPConnection.proxy_is_verified
andHTTPSConnection.proxy_is_verified
to be always set to a boolean after connecting to a proxy. It could beNone
in some cases previously. ([#3130](https://github.com/urllib3/urllib3/issues/3130) <https://github.com/urllib3/urllib3/issues/3130>
__)- Fixed an issue where
headers
passed in a request withjson=
would be mutated ([#3203](https://github.com/urllib3/urllib3/issues/3203) <https://github.com/urllib3/urllib3/issues/3203>
__)- Fixed
HTTPSConnection.is_verified
to be set toFalse
when connecting from a HTTPS proxy to an HTTP target. It was set toTrue
previously. ([#3267](https://github.com/urllib3/urllib3/issues/3267) <https://github.com/urllib3/urllib3/issues/3267>
__)- Fixed handling of new error message from OpenSSL 3.2.0 when configuring an HTTP proxy as HTTPS (
[#3268](https://github.com/urllib3/urllib3/issues/3268) <https://github.com/urllib3/urllib3/issues/3268>
__)- Fixed TLS 1.3 post-handshake auth when the server certificate validation is disabled (
[#3325](https://github.com/urllib3/urllib3/issues/3325) <https://github.com/urllib3/urllib3/issues/3325>
__)- Note for downstream distributors: To run integration tests, you now need to run the tests a second time with the
--integration
pytest flag. ([#3181](https://github.com/urllib3/urllib3/issues/3181) <https://github.com/urllib3/urllib3/issues/3181>
__)
Commits
-
04df048
Release 2.2.0 -
2aec09f
Add documentation for Emscripten support -
6d2f0f6
Annotate response attributelength_remaining
in BaseHTTPResponse (#3317) -
d7bb83b
Fix TLS 1.3 post-handshake auth -
8c8e26d
Hide H2Connection inside _LockedObject (#3318) -
26a07db
Make BaseHTTPResponse a base class of HTTP2Response (#3311) -
71e7c35
Allow testing HTTP/1.1 and HTTP/2 in the same test (#3310) -
89ed0d6
Add test-pypy 3.8 3.9 3.10 nox sessions (#3304) -
fb6cf2d
Pin to pypy-3.9-v7.3.13 to not timeout CI -
03f7b65
Skip memray on pypy (#3286) - Additional commits viewable in compare view