Bump urllib3 from 2.2.3 to 2.3.0
Bumps urllib3 from 2.2.3 to 2.3.0.
Release notes
Sourced from urllib3's releases.
2.3.0
🚀 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.
Features
- Added
HTTPResponse.shutdown()
to stop any ongoing or future reads for a specific response. It callsshutdown(SHUT_RD)
on the underlying socket. This feature was sponsored by LaunchDarkly. (urllib3/urllib3#2868)- Added support for JavaScript Promise Integration on Emscripten. This enables more efficient WebAssembly requests and streaming, and makes it possible to use in Node.js if you launch it as node
--experimental-wasm-stack-switching
. (urllib3/urllib3#3400)- Added the
proxy_is_tunneling
property toHTTPConnection
andHTTPSConnection
. (urllib3/urllib3#3285)- Added pickling support to
NewConnectionError
andNameResolutionError
. (urllib3/urllib3#3480)Bugfixes
- Fixed an issue in debug logs where the HTTP version was rendering as "HTTP/11" instead of "HTTP/1.1". (urllib3/urllib3#3489)
Deprecations and Removals
- Removed support for Python 3.8. (urllib3/urllib3#3492)
Full Changelog: https://github.com/urllib3/urllib3/compare/2.2.3...2.3.0
Changelog
Sourced from urllib3's changelog.
2.3.0 (2024-12-22)
Features
- Added
HTTPResponse.shutdown()
to stop any ongoing or future reads for a specific response. It callsshutdown(SHUT_RD)
on the underlying socket. This feature wassponsored by LaunchDarkly <https://opencollective.com/urllib3/contributions/815307>
. ([#2868](https://github.com/urllib3/urllib3/issues/2868) <https://github.com/urllib3/urllib3/issues/2868>
)- Added support for JavaScript Promise Integration on Emscripten. This enables more efficient WebAssembly requests and streaming, and makes it possible to use in Node.js if you launch it as
node --experimental-wasm-stack-switching
. ([#3400](https://github.com/urllib3/urllib3/issues/3400) <https://github.com/urllib3/urllib3/issues/3400>
__)- Added the
proxy_is_tunneling
property toHTTPConnection
andHTTPSConnection
. ([#3285](https://github.com/urllib3/urllib3/issues/3285) <https://github.com/urllib3/urllib3/issues/3285>
__)- Added pickling support to
NewConnectionError
andNameResolutionError
. ([#3480](https://github.com/urllib3/urllib3/issues/3480) <https://github.com/urllib3/urllib3/issues/3480>
__)Bugfixes
- Fixed an issue in debug logs where the HTTP version was rendering as "HTTP/11" instead of "HTTP/1.1". (
[#3489](https://github.com/urllib3/urllib3/issues/3489) <https://github.com/urllib3/urllib3/issues/3489>
__)Deprecations and Removals
- Removed support for Python 3.8. (
[#3492](https://github.com/urllib3/urllib3/issues/3492) <https://github.com/urllib3/urllib3/issues/3492>
__)
Commits
-
2f68c53
Release 2.3.0 -
f7bcf69
Add HTTPResponse.shutdown() to stop blocking reads (#3527) -
e942249
Update .readthedocs.yml addressing a deprecation (#3534) -
905549d
Upgrade Python pre-commit tools (#3529) -
716d834
Fix PyPI publish with Core metadata 2.4 (#3531) -
7ab935c
Address zizmor issues -
181357e
Bump Quart to fix CI (#3524) -
0e7e0df
Start testing with Python 3.14 -
d67d09b
Bump mypy version -
20032ec
Drop unneeded dependency pins and a warning filter - Additional commits viewable in compare view