]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Version 0.16 (#1347) 0.16.0
authorTom Christie <tom@tomchristie.com>
Tue, 6 Oct 2020 14:29:40 +0000 (15:29 +0100)
committerGitHub <noreply@github.com>
Tue, 6 Oct 2020 14:29:40 +0000 (15:29 +0100)
CHANGELOG.md
README.md
docs/index.md
httpx/__version__.py
setup.py

index 63dedb21129247ad63ef9ca2b62eefa7c49e52ad..8c2cdd8348cde74b49c78c4b2d33d090507d6dda 100644 (file)
@@ -4,6 +4,19 @@ 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.16.0 (October 6th, 2020)
+
+### Changed
+
+* Preserve HTTP header casing. (Pull #1338, encode/httpcore#216, python-hyper/h11#104)
+* Drop `response.next()` and `response.anext()` methods in favour of `response.next_request` attribute. (Pull #1339)
+* Closed clients now raise a runtime error if attempting to send a request. (Pull #1346)
+
+### Added
+
+* Add Python 3.9 to officially supported versions.
+* Type annotate `__enter__`/`__exit__`/`__aenter__`/`__aexit__` in a way that supports subclasses of `Client` and `AsyncClient`. (Pull #1336)
+
 ## 0.15.5 (October 1st, 2020)
 
 ### Added
index 00935fb421e64564ba0d9983cf3b9cddf360af8a..6f674feb1088b9d43274163fe958731f7077b34e 100644 (file)
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@
 HTTPX is a fully featured HTTP client for Python 3, which provides sync and async APIs, and support for both HTTP/1.1 and HTTP/2.
 
 **Note**: _HTTPX should be considered in beta. We believe we've got the public API to
-a stable point now, but would strongly recommend pinning your dependencies to the `0.15.*`
+a stable point now, but would strongly recommend pinning your dependencies to the `0.16.*`
 release, so that you're able to properly review [API changes between package updates](https://github.com/encode/httpx/blob/master/CHANGELOG.md). A 1.0 release is expected to be issued sometime in late 2020._
 
 ---
index 16194decb9ad23abcfebc664a7a54d11a27205e7..1fee60618486c095185939e8ffe9faf7dd2d8dc1 100644 (file)
@@ -27,7 +27,7 @@ HTTPX is a fully featured HTTP client for Python 3, which provides sync and asyn
 !!! note
     HTTPX should currently be considered in beta.
 
-    We believe we've got the public API to a stable point now, but would strongly recommend pinning your dependencies to the `0.15.*` release, so that you're able to properly review [API changes between package updates](https://github.com/encode/httpx/blob/master/CHANGELOG.md).
+    We believe we've got the public API to a stable point now, but would strongly recommend pinning your dependencies to the `0.16.*` release, so that you're able to properly review [API changes between package updates](https://github.com/encode/httpx/blob/master/CHANGELOG.md).
 
     A 1.0 release is expected to be issued sometime in late 2020.
 
index fe401bde725b2c17514dbd33ad1d189e04db1e88..80b7eae8443d8ac83ce917a750118961d07caec4 100644 (file)
@@ -1,3 +1,3 @@
 __title__ = "httpx"
 __description__ = "A next generation HTTP client, for Python 3."
-__version__ = "0.15.5"
+__version__ = "0.16.0"
index b162a300f4cdd102c577f4fc20558c242c4f02ba..075673ee6f02a7c71a30fbbccc1b4d350d79c41b 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -58,7 +58,7 @@ setup(
         "certifi",
         "sniffio",
         "rfc3986[idna2008]>=1.3,<2",
-        "httpcore==0.11.*",
+        "httpcore==0.12.*",
     ],
     extras_require={
         "http2": "h2==3.*",