]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Version 0.20 (#1890) 0.20.0
authorTom Christie <tom@tomchristie.com>
Wed, 13 Oct 2021 09:43:58 +0000 (10:43 +0100)
committerGitHub <noreply@github.com>
Wed, 13 Oct 2021 09:43:58 +0000 (10:43 +0100)
* Version 0.20

* Add date to changelog

* Freeze charset-normalizer to a known version for testing consistency

CHANGELOG.md
README.md
docs/index.md
httpx/__version__.py
requirements.txt

index d7cd8ba27d04d1855b19bbeaf42487a07f5dde1c..699f6e7d7c29ee764c4c7c87b5f572052e2307dc 100644 (file)
@@ -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.
 
index 3f7b2ef9c1b38eb4b9731997bf291ada57917a65..b52f60b58f1915a82c7c268b32b71637d5550583 100644 (file)
--- 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...
index 7c3e1b60575a809d931e7c2f3fd518a71514e3c4..20cb71864db60efefd8c6f0949f6158b808004e1 100644 (file)
@@ -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...
index 27b0a99f475447a5c6a8e281aae8cea519b3579a..448f37f4ada4c77ffc8b5919d5acfa67c6377459 100644 (file)
@@ -1,3 +1,3 @@
 __title__ = "httpx"
 __description__ = "A next generation HTTP client, for Python 3."
-__version__ = "1.0.0.beta0"
+__version__ = "0.20.0"
index 8d9286435730595be0884039ee4356e5ecf96b21..3c6a6b4cbcb0a831f05678429f02b5967a14f1be 100644 (file)
@@ -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