Skip to content

Releases: jawah/urllib3.future

Version 2.7.902

03 Apr 07:25
dc7c91f
Compare
Choose a tag to compare

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

27 Mar 06:56
f84257f
Compare
Choose a tag to compare

2.7.901 (2024-03-27)

  • Fixed an edge case with Response::read() confusing situation where passing a positive amount to read then
    passing None 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

25 Mar 03:31
cba67fa
Compare
Choose a tag to compare

2.7.900 (2024-03-25)

  • Added Happy-Eyeballs support.
    This feature is disabled by default, you can enable it by passing happy_eyeballs=True
    into AsyncPoolManager, 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

18 Mar 20:58
b47c0b8
Compare
Choose a tag to compare

2.6.906 (2024-03-18)

  • Fixed SSL context cache construction that did not take key_password into account.
  • Prefer return NotImplemented instead of raising NotImplementedError 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

17 Mar 10:51
d3a06c3
Compare
Choose a tag to compare

2.6.905 (2024-03-17)

  • Fixed traffic police shutdown procedure to avoid killing needlessly a new connection or pool.

Version 2.6.904

17 Mar 08:51
Compare
Choose a tag to compare

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

10 Mar 03:38
98f6e71
Compare
Choose a tag to compare

2.6.903 (2024-03-10)

  • Overall performance improvements for both async and sync calls.

Version 2.6.902

04 Mar 06:14
a2dcd0b
Compare
Choose a tag to compare

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 either PoolManager or ConnectionPool with anything else than a ResponsePromise.

Version 2.6.901

28 Feb 21:12
684a309
Compare
Choose a tag to compare

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

26 Feb 13:08
6bd4f0c
Compare
Choose a tag to compare

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, and async_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.