Skip to content

Releases: encode/httpcore

Version 0.14.7

04 Feb 12:16
cad62bf

Choose a tag to compare

0.14.7 (February 4th, 2022)

  • Requests which raise a PoolTimeout need to be removed from the pool queue. (#502)
  • Fix AttributeError that happened when Socks5Connection were terminated. (#501)

Version 0.14.6

01 Feb 13:54
e75cf70

Choose a tag to compare

0.14.6 (February 1st, 2022)

  • Fix SOCKS support for http:// URLs. (#492)
  • Resolve race condition around exceptions during streaming a response. (#491)

Version 0.14.5

18 Jan 11:44
c1401eb

Choose a tag to compare

0.14.5 (January 18th, 2022)

  • SOCKS proxy support. (#478)
  • Add proxy_auth argument to HTTPProxy (#481)
  • Improve error message on 'RemoteProtocolError' exception when server disconnects without sending a response (#479)

Version 0.14.4

05 Jan 14:45
ba6d737

Choose a tag to compare

0.14.4 (January 5th, 2021)

  • Support HTTP/2 on HTTPS tunnelling proxies. (#468)
  • Fix proxy headers missing on HTTP forwarding. (#456)
  • Only instantiate SSL context if required. (#457)
  • More robust HTTP/2 handling. (#253, #439, #440, #441)

Version 0.14.3

17 Nov 14:18
8239813

Choose a tag to compare

0.14.3 (November 17th, 2021)

  • Fix race condition when removing closed connections from the pool (#437)

Version 0.14.2

16 Nov 11:25
aed635a

Choose a tag to compare

0.14.2 (November 16th, 2021)

  • Failed connections no longer remain in the pool. (Pull #433)

Version 0.14.1

12 Nov 11:39
fd2d865

Choose a tag to compare

0.14.1 (November 12th, 2021)

  • max_connections becomes optional. (Pull #429)
  • certifi is now included in the install dependancies. (Pull #428)
  • h2 is now strictly optional. (Pull #428)

Version 0.14.0

11 Nov 14:00
22b980f

Choose a tag to compare

0.14.0 (November 11th, 2021)

The 0.14 release is a complete reworking of httpcore, comprehensively addressing some underlying issues in the connection pooling, as well as substantially redesigning the API to be more user friendly.

Some of the lower-level API design also makes the components more easily testable in isolation, and the package now has 100% test coverage.

See discussion #419 for a little more background.

There's some other neat bits in there too, such as the "trace" extension, which gives a hook into inspecting the internal events that occur during the request/response cycle. This extension is needed for the HTTPX cli, in order to...

  • Log the point at which the connection is established, and the IP/port on which it is made.
  • Determine if the outgoing request should log as HTTP/1.1 or HTTP/2, rather than having to assume it's HTTP/2 if the --http2 flag was passed. (Which may not actually be true.)
  • Log SSL version info / certificate info.

Note that curio support is not currently available in 0.14.0. If you're using httpcore with curio please get in touch, so we can assess if we ought to prioritize it as a feature or not.

Version 0.13.7

13 Sep 08:48
772805e

Choose a tag to compare

0.13.7 (September 13th, 2021)

  • Fix broken error messaging when URL scheme is missing, or a non HTTP(S) scheme is used. (Pull #403)

Version 0.13.6

15 Jun 14:00
f0d16e9

Choose a tag to compare

0.13.6 (June 15th, 2021)

Fixed

  • Close sockets when read or write timeouts occur. (Pull #365)