All Versions
56
Latest Version
Avg Release Cycle
20 days
Latest Release
63 days ago

Changelog History
Page 3

  • v0.13.1 Changes

    May 22, 2020

    0.13.1 (May 22nd, 2020)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix pool options deprecation warning. (Pull #980)
    • Include httpx.URLLib3ProxyTransport in top-level API. (Pull #979)
  • v0.13.0 Changes

    May 22, 2020

    0.13.0 (May 22nd, 2020)

    ๐Ÿš€ 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", 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. (Pull #804, #967)
    • Rename pool limit options from soft_limit/hard_limit to max_keepalive/max_connections. (Pull #968)
    • ๐Ÿ—„ 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)

    โž• Added

    • โž• Added URLLib3Transport class for optional urllib3 transport support. (Pull #804, #963)
    • Streaming multipart uploads. (Pull #857)
    • ๐ŸŒฒ Logging via HTTPCORE_LOG_LEVEL and HTTPX_LOG_LEVEL environment variables
      ๐ŸŒฒ and TRACE level logging. (Pull encode/httpcore#79)

    ๐Ÿ›  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)
    • Reuse of connections on HTTP/2 in close concurrency situations. (Pull encode/httpcore#81)
    • Honor HTTP/2 max concurrent streams settings (Pull encode/httpcore#89, encode/httpcore#90)
    • ๐Ÿ›  Fix bytes support in multipart uploads. (Pull #974)
    • ๐Ÿ‘Œ Improve typing support for files=.... (Pull #976)

    โœ‚ Removed

    • โฌ‡๏ธ Dropped support for Client(uds=...) (Pull #804)

    0.13.0.dev2 (May 12th, 2020)

    ๐Ÿš€ The 0.13.0.dev2 is a pre-release version. To install it, use pip install httpx --pre.

    โž• Added

    • ๐ŸŒฒ Logging via HTTPCORE_LOG_LEVEL and HTTPX_LOG_LEVEL environment variables
      ๐ŸŒฒ and TRACE level logging. (HTTPCore Pull #79)

    ๐Ÿ›  Fixed

    • Reuse of connections on HTTP/2 in close concurrency situations. (HTTPCore Pull #81)
    • When using an app=<ASGI app> observe neater disconnect behaviour instead of sending empty body messages. (Pull #919)
  • v0.13.0.dev2 Changes

    May 12, 2020

    0.13.0.dev2 (May 12th, 2020)

    ๐Ÿš€ The 0.13.0.dev2 is a pre-release version. To install it, use pip install httpx --pre.

    โž• Added

    • ๐ŸŒฒ Logging via HTTPCORE_LOG_LEVEL and HTTPX_LOG_LEVEL environment variables
      ๐ŸŒฒ and TRACE level logging. (HTTPCore Pull #79)

    ๐Ÿ›  Fixed

    • Reuse of connections on HTTP/2 in close concurrency situations. (HTTPCore Pull #81)
    • When using an app=<ASGI app> observe neater disconnect behaviour instead of sending empty body messages. (Pull #919)
  • v0.13.0.dev1 Changes

    May 06, 2020

    0.13.0.dev1 (May 6th, 2020)

    ๐Ÿš€ The 0.13.0.dev1 is a pre-release version. To install it, use pip install httpx --pre.

    ๐Ÿ›  Fixed

    • Passing http2 flag to proxy dispatchers. (Pull #934)
    • ๐Ÿš€ Use httpcore v0.8.3
      which addresses problems in handling of headers when using proxies.
  • v0.13.0.dev0 Changes

    April 30, 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)

  • v0.12.1 Changes

    March 19, 2020

    ๐Ÿ›  Fixed

    • Resolved packaging issue, where additional files were being included.
  • v0.12.0 Changes

    March 05, 2020

    ๐Ÿš€ 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. (Pull #803)
    • ๐Ÿ‘ท Export NetworkError exception. (Pull #814)
    • โž• Add support for NO_PROXY environment variable. (Pull #835)

    ๐Ÿ”„ Changed

    • Switched to private module names. (Pull #785)
    • โฌ‡๏ธ Drop redirect looping detection and the RedirectLoop exception, instead using TooManyRedirects. (Pull #819)
    • โฌ‡๏ธ Drop backend=... parameter on AsyncClient, in favour of always autodetecting trio/asyncio. (Pull #791)

    ๐Ÿ›  Fixed

    • ๐Ÿ‘Œ Support basic auth credentials in proxy URLs. (Pull #780)
    • ๐Ÿ›  Fix httpx.Proxy(url, mode="FORWARD_ONLY") configuration. (Pull #788)
    • Fallback to setting headers as UTF-8 if no encoding is specified. (Pull #820)
    • Close proxy dispatches classes on client close. (Pull #826)
    • ๐Ÿ‘Œ Support custom cert parameters even if verify=False. (Pull #796)
    • ๐Ÿ‘ Don't support invalid dict-of-dicts form data in data=.... (Pull #811)

  • v0.11.1 Changes

    January 17, 2020

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed usage of proxies=... on Client(). (Pull #763)
    • ๐Ÿ‘Œ Support both zlib and deflate style encodings on Content-Encoding: deflate. (Pull #758)
    • ๐Ÿ›  Fix for streaming a redirect response body with allow_redirects=False. (Pull #766)
    • ๐Ÿ– Handle redirect with malformed Location headers missing host. (Pull #774)
  • v0.11.0 Changes

    January 09, 2020

    ๐Ÿš€ 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. (Pull #734)

  • v0.10.1 Changes

    December 31, 2019

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix issue with concurrent connection acquiry. (Pull #700)
    • ๐Ÿ›  Fix write error on closing HTTP/2 connections. (Pull #699)