]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Version 0.12 (#849)
authorTom Christie <tom@tomchristie.com>
Fri, 6 Mar 2020 09:10:50 +0000 (09:10 +0000)
committerGitHub <noreply@github.com>
Fri, 6 Mar 2020 09:10:50 +0000 (09:10 +0000)
* Version 0.12

* Tweak whicespacing

CHANGELOG.md

index 5d813369ae1e4b7279d7ae5501e0fc1196274040..ffd896fc50ce3fcffd15b5953e80f90731337cbc 100644 (file)
@@ -4,6 +4,33 @@ 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.12.0 (March 5th, 2020)
+
+The 0.12 release tightens up the API expectations for `httpx` by switching to private module names to enforce better clarity around public API.
+
+All imports of `httpx` should import from the top-level package only, such as `from httpx import Request`, rather than importing from privately namespaced modules such as `from httpx._models import Request`.
+
+### Added
+
+* Support making response body available to auth classes with `.requires_response_body`. (Pull #803)
+* Export `NetworkError` exception. (Pull #814)
+* Add support for `NO_PROXY` environment variable. (Pull #835)
+
+### Changed
+
+* Switched to private module names. (Pull #785)
+* Drop redirect looping detection and the `RedirectLoop` exception, instead using `TooManyRedirects`. (Pull #819)
+* Drop `backend=...` parameter on `AsyncClient`, in favour of always autodetecting `trio`/`asyncio`. (Pull #791)
+
+### Fixed
+
+* Support basic auth credentials in proxy URLs. (Pull #780)
+* Fix `httpx.Proxy(url, mode="FORWARD_ONLY")` configuration. (Pull #788)
+* Fallback to setting headers as UTF-8 if no encoding is specified. (Pull #820)
+* Close proxy dispatches classes on client close. (Pull #826)
+* Support custom `cert` parameters even if `verify=False`. (Pull #796)
+* Don't support invalid dict-of-dicts form data in `data=...`. (Pull #811)
+
 ## 0.11.1 (January 17th, 2020)
 
 ### Fixed