Skip to content

Releases: encode/httpcore

Version 0.14.4

05 Jan 14:45
ba6d737
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

0.13.6 (June 15th, 2021)

Fixed

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

Version 0.13.5

14 Jun 15:52
0137177
Compare
Choose a tag to compare

0.13.5 (June 14th, 2021)

Fixed

  • Resolved niggles with AnyIO EOF behaviours. (Pull #358, #362)

Version 0.13.4

09 Jun 11:28
5baf209
Compare
Choose a tag to compare

0.13.4 (June 9th, 2021)

Added

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

Fixed

  • Switched to anyio as the default backend implementation when running with asyncio. Resolves some awkward TLS timeout issues.

Version 0.13.3

06 May 15:59
3eff24e
Compare
Choose a tag to compare

0.13.3 (May 6th, 2021)

Added

  • Support HTTP/2 prior knowledge, using httpcore.SyncConnectionPool(http1=False). (Pull #333)

Fixed

  • Handle cases where environment does not provide select.poll support. (Pull #331)