From: Tom Christie Date: Thu, 30 Apr 2020 16:09:49 +0000 (+0100) Subject: Version 0.13.0.dev0 (#915) X-Git-Tag: 0.13.0.dev0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bed3d8bd38e0271607013510c216cb94979918b9;p=thirdparty%2Fhttpx.git Version 0.13.0.dev0 (#915) * Version 0.13.0.dev0 * Bump httpcore * Include packaging in requirements * Include note on UDS support * Update CHANGELOG --- diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 1d646694..2e844a70 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -23,5 +23,7 @@ jobs: run: "scripts/install" - name: "Run linting checks" run: "scripts/check" + - name: "Build package & docs" + run: "scripts/build" - name: "Run tests" run: "scripts/test" diff --git a/CHANGELOG.md b/CHANGELOG.md index 748ac94a..81263781 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,37 @@ 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/). +## 0.13.0.dev0 (April 30th, 2020) + +The 0.13.0.dev0 is a *pre-release* version. To install it, use `pip install httpx --pre`. + +This release switches to `httpcore` for all the internal networking, which means: + +* We're using the same codebase for both our sync and async clients. +* HTTP/2 support is now available with the sync client. +* We no longer have a `urllib3` dependency for our sync client, although there is still an *optional* `URLLib3Dispatcher` class. + +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. + +### Changed + +* Use `httpcore` for underlying HTTP transport. Drop `urllib3` requirement. (Pull #804) + +### Added + +* Added `URLLib3Dispatcher` class for optional `urllib3` transport support. (Pull #804) +* Streaming multipart uploads. (Pull #857) + +### Fixed + +* Performance improvement in brotli decoder. (Pull #906) +* Proper warning level of deprecation notice in `Response.stream` and `Response.raw`. (Pull #908) +* Fix support for generator based WSGI apps. (Pull #887) + +### Removed + +* Dropped support for `Client(uds=...)` (Pull #804) + ## 0.12.1 (March 19th, 2020) ### Fixed diff --git a/README.md b/README.md index fa7a3ea9..d0c5a25a 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ HTTPX is a fully featured HTTP client for Python 3, which provides sync and asyn **Note**: _HTTPX should 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). A 1.0 release is expected to be issued sometime on or before April 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 around mid-2020._ --- diff --git a/docs/index.md b/docs/index.md index 401c7a15..d862519d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -29,7 +29,7 @@ HTTPX is a fully featured HTTP client for Python 3, which provides sync and asyn 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). - A 1.0 release is expected to be issued sometime on or before April 2020. + A 1.0 release is expected to be issued sometime around mid-2020. --- diff --git a/requirements.txt b/requirements.txt index 056a393f..e5ac1a2e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,6 +3,16 @@ # Optional brotlipy==0.7.* +# Documentation +mkdocs +mkautodoc +mkdocs-material + +# Packaging +twine +wheel + +# Tests & Linting autoflake black cryptography @@ -10,9 +20,6 @@ flake8 flake8-bugbear flake8-pie isort -mkdocs -mkautodoc -mkdocs-material mypy pytest pytest-asyncio diff --git a/setup.py b/setup.py index f3d74015..02191049 100644 --- a/setup.py +++ b/setup.py @@ -60,7 +60,7 @@ setup( "chardet==3.*", "idna==2.*", "rfc3986>=1.3,<2", - "httpcore==0.7.*", + "httpcore>=0.8.1", ], classifiers=[ "Development Status :: 4 - Beta",