]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Version 0.9 (#606) 0.9.0
authorTom Christie <tom@tomchristie.com>
Fri, 6 Dec 2019 15:32:22 +0000 (15:32 +0000)
committerGitHub <noreply@github.com>
Fri, 6 Dec 2019 15:32:22 +0000 (15:32 +0000)
* Version 0.9

* Final CHANGELOG entries for 0.9

CHANGELOG.md
httpx/__version__.py

index a589d30ba92d124587d203dbb5dfd9939807e11d..5b80666b849b70a57c7d713e1dc211e7ca945f5a 100644 (file)
@@ -4,7 +4,20 @@ 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/).
 
-## Master
+## 0.9.0 (December 6th, 2019)
+
+The 0.9 releases brings some major new features, including:
+
+* A new streaming API.
+* Autodetection of either asyncio or trio.
+* Nicer timeout configuration.
+* HTTP/2 support off by default, but can be enabled.
+
+We've also removed all private types from the top-level package export.
+
+In order to ensure you are only ever working with public API you should make
+sure to only import the top-level package eg. `import httpx`, rather than
+importing modules within the package.
 
 ### Added
 
@@ -22,8 +35,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
 
 ### Changed
 
+- Added `httpx.stream()` API. Using `stream=True` now results in a warning. (Pull #600, #610)
 - HTTP/2 support is switched to "off by default", but can be enabled explicitly. (Pull #584)
 - Switched to `Client(http2=True)` API from `Client(http_versions=["HTTP/1.1", "HTTP/2"])`. (Pull #586)
+- Removed all private types from the top-level package export. (Pull #608)
+- The SSL configuration settings of `verify`, `cert`, and `trust_env` now raise warnings if used per-request when using a Client instance. They should always be set on the Client instance itself. (Pull #597)
+- Use plain strings "TUNNEL_ONLY" or "FORWARD_ONLY" on the HTTPProxy `proxy_mode` argument. The `HTTPProxyMode` enum still exists, but its usage will raise warnings. (#610)
 - Pool timeouts are now on the timeout configuration, not the pool limits configuration. (Pull #563)
 - The timeout configuration is now named `httpx.Timeout(...)`, not `httpx.TimeoutConfig(...)`. The old version currently remains as a synonym for backwards compatability.  (Pull #591)
 
index d376d147a4352d6d385460aded49167f06be07db..35a256dd5774abe8e6945170d86423e9d31b1636 100644 (file)
@@ -1,3 +1,3 @@
 __title__ = "httpx"
 __description__ = "A next generation HTTP client, for Python 3."
-__version__ = "0.8.0"
+__version__ = "0.9.0"