Skip to content

Commit 59f65e2

Browse files
lovelydinosaurflorimondmancaJamie Hewland
authored
Version 0.17.0 (#1403)
* Version 0.17.0 * Update changelog * Tweak verbs * Fix backtick Co-authored-by: Jamie Hewland <jamie.hewland@hpe.com> Co-authored-by: Florimond Manca <florimond.manca@gmail.com> Co-authored-by: Jamie Hewland <jamie.hewland@hpe.com>
1 parent 0f280af commit 59f65e2

4 files changed

Lines changed: 24 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,27 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

7+
## 0.17.0
8+
9+
### Added
10+
11+
* Add `httpx.MockTransport()`, allowing to mock out a transport using pre-determined responses. (Pull #1401, Pull #1449)
12+
* Add `httpx.HTTPTransport()` and `httpx.AsyncHTTPTransport()` default transports. (Pull #1399)
13+
* Add mount API support, using `httpx.Client(mounts=...)`. (Pull #1362)
14+
* Add `chunk_size` parameter to `iter_raw()`, `iter_bytes()`, `iter_text()`. (Pull #1277)
15+
* Add `keepalive_expiry` parameter to `httpx.Limits()` configuration. (Pull #1398)
16+
* Add repr to `httpx.Cookies` to display available cookies. (Pull #1411)
17+
* Add support for `params=<tuple>` (previously only `params=<list>` was supported). (Pull #1426)
18+
19+
### Fixed
20+
21+
* Add missing `raw_path` to ASGI scope. (Pull #1357)
22+
* Tweak `create_ssl_context` defaults to use `trust_env=True`. (Pull #1447)
23+
* Properly URL-escape WSGI `PATH_INFO`. (Pull #1391)
24+
* Properly set default ports in WSGI transport. (Pull #1469)
25+
* Properly encode slashes when using `base_url`. (Pull #1407)
26+
* Properly map exceptions in `request.aclose()`. (Pull #1465)
27+
728
## 0.16.1 (October 8th, 2020)
829

930
### Fixed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
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.
1717

1818
**Note**: _HTTPX should be considered in beta. We believe we've got the public API to
19-
a stable point now, but would strongly recommend pinning your dependencies to the `0.16.*`
19+
a stable point now, but would strongly recommend pinning your dependencies to the `0.17.*`
2020
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._
2121

2222
---

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ HTTPX is a fully featured HTTP client for Python 3, which provides sync and asyn
2727
!!! note
2828
HTTPX should currently be considered in beta.
2929

30-
We believe we've got the public API to a stable point now, but would strongly recommend pinning your dependencies to the `0.16.*` release, so that you're able to properly review [API changes between package updates](https://github.com/encode/httpx/blob/master/CHANGELOG.md).
30+
We believe we've got the public API to a stable point now, but would strongly recommend pinning your dependencies to the `0.17.*` release, so that you're able to properly review [API changes between package updates](https://github.com/encode/httpx/blob/master/CHANGELOG.md).
3131

3232
A 1.0 release is expected to be issued sometime in 2021.
3333

httpx/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
__title__ = "httpx"
22
__description__ = "A next generation HTTP client, for Python 3."
3-
__version__ = "0.16.1"
3+
__version__ = "0.17.0"

0 commit comments

Comments
 (0)