Skip to content
Myr

Version 0.11.0 (#737)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* Version 0.11.0 * Update CHANGELOG.md Co-Authored-By: Florimond Manca <florimond.manca@gmail.com> * Update CHANGELOG.md Co-Authored-By: Florimond Manca <florimond.manca@gmail.com> * Update CHANGELOG.md Co-Authored-By: Florimond Manca <florimond.manca@gmail.com> * Bump status to beta * Update release date to today * Update changelog * Use www.python-httpx.org domain

authored by Tom Christie · committed by GitHub · parent 97807bf · Browse files · 4 files+32 added−3 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: Florimond Manca <florimond.manca@gmail.com>

Diff stats

4 files+32 added−3 removed

  • other:+32 added−3 removed

4 files+32 added−3 removed

modified:httpx/__version__.py+1 added-1 removed
1__title__ = "httpx"2__description__ = "A next generation HTTP client, for Python 3."3__version__ = "0.10.1"3__version__ = "0.11.0"
modified:CHANGELOG.md+29 added
2 unmodified lines
3All notable changes to this project will be documented in this file.45The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).67## 0.11.0 (January 9th, 2019)89The 0.11 release reintroduces our sync support, so that `httpx` now supports both a standard thread-concurrency API, and an async API.1011Existing async `httpx` users that are upgrading to 0.11 should ensure that:1213* Async codebases should always use a client instance to make requests, instead of the top-level API.14* The async client is named as `httpx.AsyncClient()`, instead of `httpx.Client()`.15* When instantiating proxy configurations use the `httpx.Proxy()` class, instead of the previous `httpx.HTTPProxy()`. This new configuration class works for configuring both sync and async clients.1617We believe the API is now pretty much stable, and are aiming for a 1.0 release sometime on or before April 2020.1819### Changed2021- Top level API such as `httpx.get(url, ...)`, `httpx.post(url, ...)`, `httpx.request(method, url, ...)` becomes synchronous.22- Added `httpx.Client()` for synchronous clients, with `httpx.AsyncClient` being used for async clients.23- Switched to `proxies=httpx.Proxy(...)` for proxy configuration.24- Network connection errors are wrapped in `httpx.NetworkError`, rather than exposing lower-level exception types directly.2526### Removed2728- The `request.url.origin` property and `httpx.Origin` class are no longer available.29- The per-request `cert`, `verify`, and `trust_env` arguments are escalated from raising errors if used, to no longer being available. These arguments should be used on a per-client instance instead, or in the top-level API.30- The `stream` argument has escalated from raising an error when used, to no longer being available. Use the `client.stream(...)` or `httpx.stream()` streaming API instead.3132### Fixed3334- Redirect loop detection matches against `(method, url)` rather than `url`. (Pull #734)3536## 0.10.1 (December 31st, 2019)3738### Fixed39
272 unmodified lines
modified:mkdocs.yml+1 added-1 removed
modified:setup.py+1 added-1 removed
60 unmodified lines
61 "sniffio==1.*",62 "urllib3==1.*",63 ],64 classifiers=[65 "Development Status :: 3 - Alpha",65 "Development Status :: 4 - Beta",66 "Environment :: Web Environment",67 "Intended Audience :: Developers",68 "License :: OSI Approved :: BSD License",69 "Operating System :: OS Independent",
9 unmodified lines