Skip to content
Myr

Version 0.9 (#606)

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

* Version 0.9 * Final CHANGELOG entries for 0.9

authored by Tom Christie · committed by GitHub · parent ec40d04 · Browse files · 2 files+19 added−2 removed
This commit

State

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

Diff stats

2 files+19 added−2 removed

  • other:+19 added−2 removed

2 files+19 added−2 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.8.0"3__version__ = "0.9.0"
modified:CHANGELOG.md+18 added-1 removed
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## Master7## 0.9.0 (December 6th, 2019)89The 0.9 releases brings some major new features, including:1011* A new streaming API.12* Autodetection of either asyncio or trio.13* Nicer timeout configuration.14* HTTP/2 support off by default, but can be enabled.1516We've also removed all private types from the top-level package export.1718In order to ensure you are only ever working with public API you should make19sure to only import the top-level package eg. `import httpx`, rather than20importing modules within the package.2122### Added2324- Added concurrency backend autodetection. (Pull #585)25- Added `Client(backend='trio')` and `Client(backend='asyncio')` API. (Pull #585)
8 unmodified lines
34- Files without a filename no longer set a Content-Type in multipart data. (Commit ed94950)3536### Changed3738- Added `httpx.stream()` API. Using `stream=True` now results in a warning. (Pull #600, #610)39- HTTP/2 support is switched to "off by default", but can be enabled explicitly. (Pull #584)40- Switched to `Client(http2=True)` API from `Client(http_versions=["HTTP/1.1", "HTTP/2"])`. (Pull #586)41- Removed all private types from the top-level package export. (Pull #608)42- The SSL configuration settings of `verify`, `cert`, and `trust_env` now raise warnings if used per-request when using a Client instance. They should always be set on the Client instance itself. (Pull #597)43- Use plain strings "TUNNEL_ONLY" or "FORWARD_ONLY" on the HTTPProxy `proxy_mode` argument. The `HTTPProxyMode` enum still exists, but its usage will raise warnings. (#610)44- Pool timeouts are now on the timeout configuration, not the pool limits configuration. (Pull #563)45- The timeout configuration is now named `httpx.Timeout(...)`, not `httpx.TimeoutConfig(...)`. The old version currently remains as a synonym for backwards compatability. (Pull #591)4647## 0.8.0 (November 27, 2019)
171 unmodified lines