From d8e7c83217d6a50eabf83a0f5f76433fd39c4de6 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Fri, 7 Aug 2020 13:47:26 +0100 Subject: [PATCH] Version 0.10.0 (#131) * Version 0.10.0 --- CHANGELOG.md | 24 ++++++++++++++++++++++++ httpcore/__init__.py | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c30d9de..8bf6628c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,30 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## 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) + ## 0.9.1 (May 27th, 2020) ### Fixed diff --git a/httpcore/__init__.py b/httpcore/__init__.py index 6a52acde..cc34180c 100644 --- a/httpcore/__init__.py +++ b/httpcore/__init__.py @@ -49,4 +49,4 @@ "IteratorByteStream", "PlainByteStream", ] -__version__ = "0.9.1" +__version__ = "0.10.0"