diff --git a/CHANGELOG.md b/CHANGELOG.md index d7cd8ba27d..699f6e7d7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,9 @@ 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/). -## 1.0.0.beta0 +## 0.20.0 (13th October, 2021) -The 1.0 pre-release adds an integrated command-line client, and also includes some +The 0.20.0 release adds an integrated command-line client, and also includes some design changes. The most notable of these is that redirect responses are no longer automatically followed, unless specifically requested. diff --git a/README.md b/README.md index 3f7b2ef9c1..b52f60b58f 100644 --- a/README.md +++ b/README.md @@ -17,17 +17,17 @@ HTTPX is a fully featured HTTP client library for Python 3. It includes **an int command line client**, has support for both **HTTP/1.1 and HTTP/2**, and provides both **sync and async APIs**. -**Note**: *This is the README for the 1.0 pre-release. This release adds support for an integrated command-line client, and also includes a couple of design changes from 0.19. Redirects are no longer followed by default, and the low-level Transport API has been updated. Upgrades from 0.19 will need to see [the CHANGELOG](https://github.com/encode/httpx/blob/master/CHANGELOG.md) for more details.* +**Note**: *The 0.20 release adds support for an integrated command-line client, and also includes a couple of design changes from 0.19. Redirects are no longer followed by default, and the low-level Transport API has been updated. Upgrades from 0.19 will need to see [the CHANGELOG](https://github.com/encode/httpx/blob/master/CHANGELOG.md) for more details.* --- -Installing HTTPX. +Install HTTPX using pip: ```shell -$ pip install httpx --pre +$ pip install httpx ``` -Now, let's get started... +Now, let's get started: ```pycon >>> import httpx @@ -45,7 +45,7 @@ Now, let's get started... Or, using the command-line client. ```shell -$ pip install --pre 'httpx[cli]' # The command line client is an optional dependency. +$ pip install 'httpx[cli]' # The command line client is an optional dependency. ``` Which now allows us to use HTTPX directly from the command-line... diff --git a/docs/index.md b/docs/index.md index 7c3e1b6057..20cb71864d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -25,19 +25,17 @@ HTTPX is a fully featured HTTP client for Python 3, which provides sync and asyn !!! note - This is the documentation for the 1.0 pre-release. - - This release adds support for an integrated command-line client, and also includes a couple of design changes from 0.19. Redirects are no longer followed by default, and the low-level Transport API has been updated. See [the CHANGELOG](https://github.com/encode/httpx/blob/master/CHANGELOG.md) for more details. + The 0.20 release adds support for an integrated command-line client, and also includes a couple of design changes from 0.19. Redirects are no longer followed by default, and the low-level Transport API has been updated. See [the CHANGELOG](https://github.com/encode/httpx/blob/master/CHANGELOG.md) for more details. --- -Installing the HTTPX 1.0 pre-release. +Install HTTPX using pip: ```shell -$ pip install httpx --pre +$ pip install httpx ``` -Now, let's get started... +Now, let's get started: ```pycon >>> import httpx @@ -56,7 +54,7 @@ Or, using the command-line client. ```shell # The command line client is an optional dependency. -$ pip install --pre 'httpx[cli]' +$ pip install 'httpx[cli]' ``` Which now allows us to use HTTPX directly from the command-line... diff --git a/httpx/__version__.py b/httpx/__version__.py index 27b0a99f47..448f37f4ad 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__ = "1.0.0.beta0" +__version__ = "0.20.0" diff --git a/requirements.txt b/requirements.txt index 8d92864357..3c6a6b4cbc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,8 @@ # Reference: https://github.com/encode/httpx/pull/1721#discussion_r661241588 -e .[cli,http2,brotli] +charset-normalizer==2.0.6 + # Documentation mkdocs==1.2.2 mkautodoc==0.1.0