Releases: jawah/urllib3.future
Releases · jawah/urllib3.future
Version 2.7.902
2.7.902 (2024-04-03)
- Fixed a rare racing condition occurring on PyPy when using DNS-over-HTTPS leading to a socket.gaierror exception.
- Fixed retrieving the dict peer certificate when
cert_reqs=0
aka. disabled TLS over TCP verification.
Version 2.7.901
2.7.901 (2024-03-27)
- Fixed an edge case with Response::read() confusing situation where passing a positive amount to read then
passingNone
n-times would continuously return cached data if the stream was closed (content consumed). - Fixed IncompleteRead exception property
expected
that did not contain the "remaining" amount expected but rather
the total expected.
Version 2.7.900
2.7.900 (2024-03-25)
- Added Happy-Eyeballs support.
This feature is disabled by default, you can enable it by passinghappy_eyeballs=True
intoAsyncPoolManager
,AsyncHTTPConnectionPool
or its synchronous counterparts.
See the documentation to learn more. - Fixed an issue where passing a IPv6 address to the in-memory resolver provider would be improperly registered.
- Fixed unclosed socket when the user attempt to set a impossible port to bind on (i.e. not in range 0-65535) leading to a ResourceWarning.
- Fixed a rare issue with DNS-over-HTTPS where a HTTPS record would also be interpreted as a normal record.
Version 2.6.906
2.6.906 (2024-03-18)
- Fixed SSL context cache construction that did not take key_password into account.
- Prefer return
NotImplemented
instead of raisingNotImplementedError
to avoid polluting the stack trace when trying to
initialize the external tls layer when not concerned (e.g. not http3 over QUIC).
Version 2.6.905
2.6.905 (2024-03-17)
- Fixed traffic police shutdown procedure to avoid killing needlessly a new connection or pool.
Version 2.6.904
2.6.904 (2024-03-17)
- Overall performance improvements for both async and sync calls.
- Removed
TrafficPolice
internal caching for obj states of contained elements due to its inability to be up-to-date in some cases. - Fixed SSLError wrong message displayed when using the underlying
qh3
library (HTTP/3 only). - Fixed graceful shutdown for rare HTTP/2 servers configured to immediately forbid opening new streams.
Version 2.6.903
2.6.903 (2024-03-10)
- Overall performance improvements for both async and sync calls.
Version 2.6.902
2.6.902 (2024-03-04)
- Fixed PyPy error when running asynchronous code on Windows after trying to create a datagram socket.
This error is due to an incomplete implementation of the Windows socket API. We silently disabled HTTP/3
if running PyPy+Windows+asyncio until upstream issue resolution. - Overall performance improvements for both async and sync calls.
- Fixed ProtocolError (No recent network activity after XYZ) error when it should recycle the connection automatically (sync only).
- Added a user-friendly error message when invoking
get_response
from eitherPoolManager
orConnectionPool
with anything else than aResponsePromise
.
Version 2.6.901
2.6.901 (2024-02-28)
- Fixed blocking IO just after HTTP/3 is negotiated in an asynchronous
context. - Added explicit warning in case your pool of connections is
insufficiently sized for the given charge in an asynchronous context. - Fixed automatic retrieval of the issuer certificate in an asynchronous
context (ConnectionInfo
).
Version 2.6.900
2.6.900 (2024-02-26)
-
Added full asynchronous support using asyncio.
urllib3.future officially support asyncio as his asynchronous scheduler.
The following public classes are immediately available:AsyncPoolManager
,AsyncHTTPConnectionPool
,AsyncHTTPSConnectionPool
,AsyncProxyManager
,
AsyncResolverDescription
.Finally, bellow functions are also available:
async_proxy_from_url
, andasync_connection_from_url
.Explore the documentation section about async to learn more about this awesome feature with detailed
examples. No extra dependencies are required. We rely exclusively on the standard library.Async SOCKS proxies are also supported at no additional costs with
contrib.socks.AsyncSOCKSProxyManager
.