From: Tom Christie Date: Thu, 19 Aug 2021 11:37:25 +0000 (+0100) Subject: Version 0.19.0 (#1809) X-Git-Tag: 0.19.0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d7c4caada43324cb3b6ebe4101745c0f7f575db;p=thirdparty%2Fhttpx.git Version 0.19.0 (#1809) * Update CHANGELOG * Update CHANGELOG * Version 0.19.0 * Update CHANGELOG --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 61aa2813..7b03a893 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +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/). +## 0.19.0 (19th June, 2021) + +### Added + +* Add support for `Client(allow_redirects=)`. (Pull #1790) +* Add automatic character set detection, when no `charset` is included in the response `Content-Type` header. (Pull #1791) + +### Changed + +* Event hooks are now also called for any additional redirect or auth requests/responses. (Pull #1806) +* Strictly enforce that upload files must be opened in binary mode. (Pull #1736) +* Strictly enforce that client instances can only be opened and closed once, and cannot be re-opened. (Pull #1800) +* Drop `mode` argument from `httpx.Proxy(..., mode=...)`. (Pull #1795) + ## 0.18.2 (17th June, 2021) ### Added diff --git a/README.md b/README.md index 268a8512..985359d2 100644 --- 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.18.*` +a stable point now, but would strongly recommend pinning your dependencies to the `0.19.*` 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 2021._ --- diff --git a/docs/index.md b/docs/index.md index b6476859..e7f25043 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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.18.*` 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.19.*` 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 2021. diff --git a/httpx/__version__.py b/httpx/__version__.py index cc829654..bab8a1c0 100644 --- a/httpx/__version__.py +++ b/httpx/__version__.py @@ -1,3 +1,3 @@ __title__ = "httpx" __description__ = "A next generation HTTP client, for Python 3." -__version__ = "0.18.2" +__version__ = "0.19.0"