Skip to content

Releases: encode/httpcore

Version 0.10.0

07 Aug 12:47
d8e7c83
Compare
Choose a tag to compare

0.10.0 (August 7th, 2020)

The most notable change in the 0.10.0 release is that HTTP/2 support is now fully optional.

Use either pip install httpcore for HTTP/1.1 support only, or pip install httpcore[http2] for HTTP/1.1 and HTTP/2 support.

Added

  • HTTP/2 support becomes optional. (Pull #121, #130)
  • Add local_address=... support. (Pull #100, #134)
  • Add PlainByteStream, IteratorByteStream, AsyncIteratorByteStream. The AsyncByteSteam and SyncByteStream classes are now pure interface classes. (#133)
  • Add LocalProtocolError, RemoteProtocolError exceptions. (Pull #129)
  • Add UnsupportedProtocol exception. (Pull #128)
  • Add .get_connection_info() method. (Pull #102, #137)
  • Add better TRACE logs. (Pull #101)

Changed

  • max_keepalive is deprecated in favour of max_keepalive_connections. (Pull #140)

Fixed

  • Improve handling of server disconnects. (Pull #112)

Version 0.9.1

27 May 14:56
888c163
Compare
Choose a tag to compare

0.9.1 (May 27th, 2020)

Fixed

  • Proper host resolution for sync case, including IPv6 support. (Pull #97)
  • Close outstanding connections when connection pool is closed. (Pull #98)

Version 0.9.0

21 May 11:33
221754b
Compare
Choose a tag to compare

0.9.0 (May 21th, 2020)

Changed

  • URL port becomes an Optional[int] instead of int. (Pull #92)

Fixed

  • Honor HTTP/2 max concurrent streams settings. (Pull #89, #90)
  • Remove incorrect debug log. (Pull #83)

Version 0.8.4

11 May 15:54
e80de87
Compare
Choose a tag to compare

0.8.4 (May 11th, 2020)

Added

  • Logging via HTTPCORE_LOG_LEVEL and HTTPX_LOG_LEVEL environment variables
    and TRACE level logging. (Pull #79)

Fixed

  • Reuse of connections on HTTP/2 in close concurrency situations. (Pull #81)

Version 0.8.3

06 May 13:21
2bde5f6
Compare
Choose a tag to compare

0.8.3 (May 6rd, 2020)

Fixed

  • Include Host and Accept headers on proxy "CONNECT" requests.
  • De-duplicate any headers also contained in proxy_headers.
  • HTTP/2 flag not being passed down to proxy connections.

Version 0.8.2

03 May 08:50
98e9b5b
Compare
Choose a tag to compare

0.8.2 (May 3rd, 2020)

Fixed

  • Fix connections using proxy forwarding requests not being added to the
    connection pool properly. (Pull #70)

Version 0.8.1

30 Apr 14:51
ea63f14
Compare
Choose a tag to compare

0.8.1 (April 30th, 2020)

Changed

  • Allow inheritance of both httpcore.AsyncByteStream, httpcore.SyncByteStream without type conflicts.

Version 0.8.0

30 Apr 10:05
5c04534
Compare
Choose a tag to compare

0.8.0 (April 30th, 2020)

Fixed

  • Fixed tunnel proxy support.

Added

  • New TimeoutException base class.