Skip to content

Releases: encode/httpcore

Version 0.18.0

08 Sep 14:18
2d0945c

Choose a tag to compare

0.18.0 (8th Sept 2023)

  • Add support for HTTPS proxies. (#745, # 786)
  • Handle sni_hostname extension with SOCKS proxy. (#774)
  • Change the type of Extensions from Mapping[Str, Any] to MutableMapping[Str, Any]. (#762)
  • Handle HTTP/1.1 half-closed connections gracefully. (#641)
  • Drop Python 3.7 support. (#727)

Version 0.17.3

05 Jul 12:07
327e8bd

Choose a tag to compare

0.17.3 (5th July 2023)

  • Support async cancellations, ensuring that the connection pool is left in a clean state when cancellations occur. (#726)
  • The networking backend interface has been added to the public API. Some classes which were previously private implementation detail are now part of the top-level public API. (#699)
  • Graceful handling of HTTP/2 GoAway frames, with requests being transparently retried on a new connection. (#730)
  • Add exceptions when a synchronous trace callback is passed to an asynchronous request or an asynchronous trace callback is passed to a synchronous request. (#717)

Version 0.17.2

23 May 10:51
be4035d

Choose a tag to compare

0.17.2 (May 23th, 2023)

  • Add socket_options argument to ConnectionPool and HTTProxy classes. (#668)
  • Improve logging with per-module logger names. (#690)
  • Add sni_hostname request extension. (#696)
  • Resolve race condition during import of anyio package. (#692)
  • Enable TCP_NODELAY for all synchronous sockets. (#651)

Version 0.17.1

17 May 15:41
c353ce2

Choose a tag to compare

0.17.1 (May 17th, 2023)

  • If 'retries' is set, then allow retries if an SSL handshake error occurs. (#669)
  • Improve correctness of tracebacks on network exceptions, by raising properly chained exceptions. (#678)
  • Prevent connection-hanging behaviour when HTTP/2 connections are closed by a server-sent 'GoAway' frame". (#679)
  • Fix edge-case exception when removing requests from the connection pool. (#680)
  • Fix pool timeout edge-case. (#688)

Version 0.17.0

16 Mar 13:41
21450a7

Choose a tag to compare

0.17.0 (16th March 2023)

  • Add DEBUG level logging. (#648)
  • Respect HTTP/2 max concurrent streams when settings updates are sent by server. (#652)
  • Increase the allowable HTTP header size to 100kB. (#647)
  • Add retries option to SOCKS proxy classes. (#643)

Version 0.16.3

20 Dec 12:10
f0657cb

Choose a tag to compare

0.16.3 (December 20th, 2022)

  • Allow ws and wss schemes. Allows us to properly support websocket upgrade connections. (#625)
  • Forwarding HTTP proxies use a connection-per-remote-host. Required by some proxy implementations. (#637)
  • Don't raise RuntimeError when closing a connection pool with active connections. Removes some error cases when cancellations are used. (#631)
  • Lazy import anyio, so that it's no longer a hard dependancy, and isn't imported if unused. (#639)

Version 0.16.2

25 Nov 15:02
d3ca620

Choose a tag to compare

0.16.2 (November 25th, 2022)

  • Revert 'Fix async cancellation behaviour', which introduced race conditions. (#627)
  • Raise RuntimeError if attempting to us UNIX domain sockets on Windows. (#619)

Version 0.16.1

17 Nov 14:36
5d2eed0

Choose a tag to compare

0.16.1

  • Fix HTTP/1.1 interim informational responses, such as "100 Continue". (#605)

Version 0.16.0

07 Nov 13:54
db0d4e1

Choose a tag to compare

0.16.0

  • Support HTTP/1.1 informational responses. (#581)
  • Fix async cancellation behaviour. (#580)
  • Support h11 0.14. (#579)

Version 0.15.0

17 May 12:40
b76afce

Choose a tag to compare

0.15.0 (May 17th, 2022)

  • Drop Python 3.6 support (#535)
  • Ensure HTTP proxy CONNECT requests include timeout configuration. (#506)
  • Switch to explicit typing.Optional for type hints (#513)
  • For trio map OSError exceptions to ConnectError (#543)