Skip to content

Commit

Permalink
Version 0.20 (#1890)
Browse files Browse the repository at this point in the history
* Version 0.20

* Add date to changelog

* Freeze charset-normalizer to a known version for testing consistency
  • Loading branch information
tomchristie authored Oct 13, 2021
1 parent deb1a2b commit 35164b7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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...
Expand Down
12 changes: 5 additions & 7 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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...
Expand Down
2 changes: 1 addition & 1 deletion httpx/__version__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__title__ = "httpx"
__description__ = "A next generation HTTP client, for Python 3."
__version__ = "1.0.0.beta0"
__version__ = "0.20.0"
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 35164b7

Please sign in to comment.