Skip to content

Releases: encode/httpcore

Version 1.0.5

27 Mar 18:27
1851ac3
Compare
Choose a tag to compare

1.0.5 (March 27th, 2024)

  • Handle EndOfStream for anyio backend. (#899)
  • Allow trio 0.25.* series in package dependancies. (#903)

Version 1.0.4

21 Feb 13:01
14bda52
Compare
Choose a tag to compare

1.0.4 (February 21st, 2024)

  • Add target request extension. (#888)
  • Fix support for connection Upgrade and CONNECT when some data in the stream has been read. (#882)

Version 1.0.3

14 Feb 18:00
908013c
Compare
Choose a tag to compare

1.0.3 (February 13th, 2024)

  • Fix support for async cancellations. (#880)
  • Fix trace extension when used with socks proxy. (#849)
  • Fix SSL context for connections using the "wss" scheme (#869)

Version 1.0.2

10 Nov 13:36
0d2c93c
Compare
Choose a tag to compare

1.0.2 (November 10th, 2023)

  • Fix float("inf") timeouts in Event.wait function. (#846)

Version 1.0.1

03 Nov 13:13
9c818e9
Compare
Choose a tag to compare

1.0.1 (November 3rd, 2023)

  • Fix pool timeout to account for the total time spent retrying. (#823)
  • Raise a neater RuntimeError when the correct async deps are not installed. (#826)
  • Add support for synchronous TLS-in-TLS streams. (#840)

Version 1.0.0

06 Oct 11:30
8780c9c
Compare
Choose a tag to compare

1.0.0 (6th Oct 2023)

From version 1.0 our async support is now optional, as the package has minimal dependencies by default.

For async support use either pip install 'httpcore[asyncio]' or pip install 'httpcore[trio]'.

The project versioning policy is now explicitly governed by SEMVER. See https://semver.org/.

  • Async support becomes fully optional. (#809)
  • Add support for Python 3.12. (#807)

Version 0.18.0

08 Sep 14:18
2d0945c
Compare
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
Compare
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
Compare
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
Compare
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)