Version 0.20 (#1890)
* Version 0.20 * Add date to changelog * Freeze charset-normalizer to a known version for testing consistency
This commit is contained in:
parent
deb1a2b921
commit
35164b7a64
@ -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.
|
||||
|
||||
|
||||
10
README.md
10
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...
|
||||
|
||||
@ -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...
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
__title__ = "httpx"
|
||||
__description__ = "A next generation HTTP client, for Python 3."
|
||||
__version__ = "1.0.0.beta0"
|
||||
__version__ = "0.20.0"
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user