Next | Query returned 6 messages, browsing 1 to 10 | previous

History of commit frequency

CVS Commit History:


   2020-06-03 16:21:26 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-httpx: updated to 0.13.3

0.13.3:

Fixed

* Include missing keepalive expiry configuration.
* Improved error message when URL redirect has a custom scheme.

0.13.2:

Fixed

* Include explicit "Content-Length: 0" on POST, PUT, PATCH if no \ 
request body is used.
* Add `http2` option to `httpx.Client`.
* Tighten up API typing in places.

0.13.1:

Fixed

* Fix pool options deprecation warning.
* Include `httpx.URLLib3ProxyTransport` in top-level API.

0.13.0:

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* `URLLib3Transport` 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.

We also now have [a public "Transport \ 
API"](https://www.python-httpx.org/advanced/# … transports), which you \ 
can use to implement custom transport implementations against. This formalises \ 
and replaces our previously private "Dispatch API".

Changed

* Use `httpcore` for underlying HTTP transport. Drop `urllib3` requirement.
* Rename pool limit options from `soft_limit`/`hard_limit` to \ 
`max_keepalive`/`max_connections`.
* 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`.

Added

* Added `URLLib3Transport` class for optional `urllib3` transport support.
* Streaming multipart uploads.
* Logging via HTTPCORE_LOG_LEVEL and HTTPX_LOG_LEVEL environment variables
and TRACE level logging.

Fixed

* Performance improvement in brotli decoder.
* Proper warning level of deprecation notice in `Response.stream` and `Response.raw`.
* Fix support for generator based WSGI apps.
* Reuse of connections on HTTP/2 in close concurrency situations.
* Honor HTTP/2 max concurrent streams settings
* Fix bytes support in multipart uploads.
* Improve typing support for `files=...`.

Removed

* Dropped support for `Client(uds=...)`
   2020-03-20 08:43:06 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-httpx: updated to 0.12.1

0.12.1:

Fixed
* Resolved packaging issue, where additional files were being included.
   2020-03-10 08:36:17 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-httpx: updated to 0.12.0

0.12.0:

The 0.12 release tightens up the API expectations for httpx by switching to \ 
private module names to enforce better clarity around public API.

All imports of httpx should import from the top-level package only, such as from \ 
httpx import Request, rather than importing from privately namespaced modules \ 
such as from httpx._models import Request.

Added
Support making response body available to auth classes with .requires_response_body.
Export NetworkError exception.
Add support for NO_PROXY environment variable.

Changed
Switched to private module names.
Drop redirect looping detection and the RedirectLoop exception, instead using \ 
TooManyRedirects.
Drop backend=... parameter on AsyncClient, in favour of always autodetecting \ 
trio/asyncio.

Fixed
Support basic auth credentials in proxy URLs.
Fix httpx.Proxy(url, mode="FORWARD_ONLY") configuration.
Fallback to setting headers as UTF-8 if no encoding is specified.
Close proxy dispatches classes on client close.
Support custom cert parameters even if verify=False.
Don't support invalid dict-of-dicts form data in data=....
   2020-01-20 12:50:48 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-httpx: updated to 0.11.1

0.11.1:
Fixed
* Fixed usage of `proxies=...` on `Client()`.
* Support both `zlib` and `deflate` style encodings on `Content-Encoding: deflate`.
* Fix for streaming a redirect response body with `allow_redirects=False`.
* Handle redirect with malformed Location headers missing host.
   2020-01-14 17:10:53 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-httpx: updated to 0.11.0

0.11.0:

The 0.11 release reintroduces our sync support, so that `httpx` now supports \ 
both a standard thread-concurrency API, and an async API.

Existing async `httpx` users that are upgrading to 0.11 should ensure that:

* Async codebases should always use a client instance to make requests, instead \ 
of the top-level API.
* The async client is named as `httpx.AsyncClient()`, instead of `httpx.Client()`.
* 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.

We believe the API is now pretty much stable, and are aiming for a 1.0 release \ 
sometime on or before April 2020.

Changed
- Top level API such as `httpx.get(url, ...)`, `httpx.post(url, ...)`, \ 
`httpx.request(method, url, ...)` becomes synchronous.
- Added `httpx.Client()` for synchronous clients, with `httpx.AsyncClient` being \ 
used for async clients.
- Switched to `proxies=httpx.Proxy(...)` for proxy configuration.
- Network connection errors are wrapped in `httpx.NetworkError`, rather than \ 
exposing lower-level exception types directly.

Removed
- The `request.url.origin` property and `httpx.Origin` class are no longer available.
- 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.
- 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.

Fixed
- Redirect loop detection matches against `(method, url)` rather than `url`.
   2020-01-08 21:54:27 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
py-httpx: added version 0.10.1

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.

Next | Query returned 6 messages, browsing 1 to 10 | previous