Version 0.13 (#971)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* Version 0.13 * Update docs to 0.13 as the latest * Whitespacing tweak * More explicit notes about transport API renamings * Update changelog
authored by Tom Christie · committed by GitHub · parent b57482d · Browse files · 4 files·+47 added−8 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Co-authored-by: florimondmanca <florimond.manca@gmail.com>
Diff stats
4 files+47 added−8 removed
- other:+47 added−8 removed
Provenance
- Commit
2c2c6a7- Tree
50243e9- Author
Tom Christie <tom@tomchristie.com>- Committer
GitHub <noreply@github.com>- Parent
b57482d
4 files changed+47 added−8 removed
modified:docs/index.md+1 added-1 removed
25 unmodified lines26272829303031323334101 unmodified linesExpand all25 unmodified lines
!!! note HTTPX should currently be considered in beta.
We believe we've got the public API to a stable point now, but would strongly recommend pinning your dependencies to the `0.12.*` release, so that you're able to properly review [API changes between package updates](https://github.com/encode/httpx/blob/master/CHANGELOG.md). We believe we've got the public API to a stable point now, but would strongly recommend pinning your dependencies to the `0.13.*` 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 around mid-2020.
---101 unmodified linesExpand allmodified:httpx/__version__.py+1 added-1 removed
1 __title__ = "httpx"2 __description__ = "A next generation HTTP client, for Python 3."3-__version__ = "0.13.0.dev2"3+__version__ = "0.13.0"modified:CHANGELOG.md+44 added-5 removed
2 unmodified lines3 All notable changes to this project will be documented in this file.4 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).6 7+## 0.13.0 (May 22nd, 2020)8+9+This release switches to `httpcore` for all the internal networking, which means:10+11+* We're using the same codebase for both our sync and async clients.12+* HTTP/2 support is now available with the sync client.13+* We no longer have a `urllib3` dependency for our sync client, although there is still an *optional* `URLLib3Transport` class.14+15+It also means we've had to remove our UDS support, since maintaining that would have meant having to push back our work towards a 1.0 release, which isn't a trade-off we wanted to make.16+17+We also now have [a public "Transport API"](https://www.python-httpx.org/advanced/#custom-transports), which you can use to implement custom transport implementations against. This formalises and replaces our previously private "Dispatch API".18+19+### Changed20+21+* Use `httpcore` for underlying HTTP transport. Drop `urllib3` requirement. (Pull #804, #967)22+* Rename pool limit options from `soft_limit`/`hard_limit` to `max_keepalive`/`max_connections`. (Pull #968)23+* The previous private "Dispatch API" has now been promoted to a public "Transport API". When customizing the transport use `transport=...`. The `ASGIDispatch` and `WSGIDispatch` class naming is deprecated in favour of `ASGITransport` and `WSGITransport`. (Pull #963)24+25+### Added26+27+* Added `URLLib3Transport` class for optional `urllib3` transport support. (Pull #804, #963)28+* Streaming multipart uploads. (Pull #857)29+* Logging via HTTPCORE_LOG_LEVEL and HTTPX_LOG_LEVEL environment variables30+and TRACE level logging. (Pull encode/httpcore#79)31+32+### Fixed33+34+* Performance improvement in brotli decoder. (Pull #906)35+* Proper warning level of deprecation notice in `Response.stream` and `Response.raw`. (Pull #908)36+* Fix support for generator based WSGI apps. (Pull #887)37+* Reuse of connections on HTTP/2 in close concurrency situations. (Pull encode/httpcore#81)38+* Honor HTTP/2 max concurrent streams settings (Pull encode/httpcore#89, encode/httpcore#90)39+* Fix bytes support in multipart uploads. (Pull #974)40+* Improve typing support for `files=...`. (Pull #976)41+42+### Removed43+44+* Dropped support for `Client(uds=...)` (Pull #804)45+46 ## 0.13.0.dev2 (May 12th, 2020)47 48 The 0.13.0.dev2 is a *pre-release* version. To install it, use `pip install httpx --pre`.49 50 ### Added51 13-- Logging via HTTPCORE_LOG_LEVEL and HTTPX_LOG_LEVEL environment variables52+* Logging via HTTPCORE_LOG_LEVEL and HTTPX_LOG_LEVEL environment variables53 and TRACE level logging. (HTTPCore Pull #79)54 55 ### Fixed56 18-- Reuse of connections on HTTP/2 in close concurrency situations. (HTTPCore Pull #81)19-- When using an `app=<ASGI app>` observe neater disconnect behaviour instead of sending empty body messages. (Pull #919)57+* Reuse of connections on HTTP/2 in close concurrency situations. (HTTPCore Pull #81)58+* When using an `app=<ASGI app>` observe neater disconnect behaviour instead of sending empty body messages. (Pull #919)59 60 ## 0.13.0.dev1 (May 6th, 2020)61 62 The 0.13.0.dev1 is a *pre-release* version. To install it, use `pip install httpx --pre`.63 64 ### Fixed65 27-- Passing `http2` flag to proxy dispatchers. (Pull #934)28-- Use [`httpcore` v0.8.3](https://github.com/encode/httpcore/releases/tag/0.8.3)66+* Passing `http2` flag to proxy dispatchers. (Pull #934)67+* Use [`httpcore` v0.8.3](https://github.com/encode/httpcore/releases/tag/0.8.3)68 which addresses problems in handling of headers when using proxies.69 70 ## 0.13.0.dev0 (April 30th, 2020)71 376 unmodified linesmodified:README.md+1 added-1 removed
14 unmodified lines15 16 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.17 18 **Note**: _HTTPX should be considered in beta. We believe we've got the public API to19-a stable point now, but would strongly recommend pinning your dependencies to the `0.12.*`19+a stable point now, but would strongly recommend pinning your dependencies to the `0.13.*`20 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 around mid-2020._21 22 ---23 105 unmodified lines