Skip to content

Releases: seanmonstar/reqwest

v0.10.1

09 Jan 21:54
Compare
Choose a tag to compare
  • Add socks optional feature to support SOCKS5 proxies.
  • Add RequestBuilder::timeout() to configure a timeout for a single request, instead of using the client's timeout.
  • Add ClientBuilder::connection_verbose() option to enable verbose IO logs.
  • (wasm) Add RequestBuilder::fetch_mode_no_cors() option.
  • (wasm) Add Response::url() getter method.

v0.10.0

30 Dec 18:59
Compare
Choose a tag to compare

v0.10.0

  • Add std::future::Future support.

  • Add wasm32-unknown-unknown support (with fewer features).

  • Add ability to pass async Response as the body of another Request.

  • Add Body::as_bytes() method.

  • Add Response::bytes_stream() method to get body as an impl Stream.

  • Add Request::try_clone() method.

  • Change default Client API to async. The previous blocking client API is avaialble at reqwest::blocking.

  • Change to no longer send a default User-Agent header. Add one via ClientBuilder::user_agent().

  • Change to enable system/environment proxy detection by default.

  • Change default-tls feature to only include ClientBuilder options that both native-tls and rustls support.

  • Change default feature set to reduce unnecessary dependencies. Most features are disabled by default:

    • blocking: The reqwest::blocking (synchronous) client API.
    • cookies: Cookie store support.
    • gzip: Automatic response body decompression.
    • json: Request and response JSON body methods.
    • stream: futures::Stream support.
  • Change Error internal design, removing several Error::is_* inspector methods.

  • Change Redirect API:

    • Renamed types to be part of the redirect module (for example, reqwest::RedirectPolicy is now reqwest::redirect::Policy).
    • Removed loop_detected and too_many_redirect methods from redirect::Attempt, replaced with a generic error method.
    • The default policy no longer specifically looks for redirect loops (but they should be caught by the maximum limit).
  • Fix checking HTTP_PROXY environment variable if it the environment is from a CGI script.

  • Fix removal of username/password of parsed proxy URL.

  • Update url to v2.0.

  • Update hyper to v0.13.

  • Update http to v0.2.

v0.10.0-alpha.2

12 Nov 20:51
Compare
Choose a tag to compare
  • Add Request::try_clone() method.
  • Add HTTP2 window size configuration to ClientBuilder.
  • Add Body::as_bytes() method.
  • Add Response::bytes() method for WASM target.
  • Add RequestBuilder::body() method for WASM target.
  • Change to enable system/environment proxy detection by default.
  • Fix checking HTTP_PROXY environment variable if it the environment is from a CGI script.
  • Fix removal of username/password of parsed proxy URL.
  • Fix pinning async-compression dependency to last alpha.

v0.10.0-alpha.1

08 Oct 21:06
Compare
Choose a tag to compare
v0.10.0-alpha.1 Pre-release
Pre-release
  • Add std::future::Future support.
  • Add wasm32-unknown-unknown support (with fewer features).
  • Add ability to pass async Response as the body of another Request.
  • Change default Client API to async. The previous blocking client API is avaialble at reqwest::blocking.
  • Change default feature set to reduce unnecessary dependencies. Most features are disabled by default:
    • blocking: The reqwest::blocking (synchronous) client API.
    • cookies: Cookie store support.
    • gzip: Automatic response body decompression.
    • json: Request and response JSON body methods.
  • Change futures::Stream support to a disabled-by-default unstable-stream feature.
  • Change Error internal design, removing several Error::is_* inspector methods.
  • Update url to v2.0.

v0.9.21

08 Oct 21:11
Compare
Choose a tag to compare
  • Add executor method to ClientBuilder.
  • Send User-Agent header in CONNECT requests to proxies.

v0.9.20

08 Oct 21:11
Compare
Choose a tag to compare
  • Improve error message when proxy connections fail to tunnel.
  • Update mime_guess and rustls dependencies.

v0.9.19

19 Jul 19:34
Compare
Choose a tag to compare
  • Add ClientBuilder::use_sys_proxy() to enable automatic detect of HTTP proxies configured on the system.
  • Add ClientBuilder::no_proxy() to disable system proxies. This is the default for 0.9, but will change to detecting system proxies by default in 0.10.
  • Add support for streaming request bodies in the async client.
  • Add async::Response::text() that returns a Future of the full body decoded to a String.
  • Add Clone for Certificate.

v0.9.18

19 Jul 19:33
Compare
Choose a tag to compare
  • Fix Cookie headers to no longer send as percent-encoded (instead, exactly as sent by the server).

v0.9.17

19 Jul 19:33
Compare
Choose a tag to compare
  • Fix Cookie headers so as to not include attributes from the Set-Cookie (like HttpOnly, Secure, etc).

v0.9.16

19 Jul 19:33
Compare
Choose a tag to compare
  • Add Response::text_with_charset() to allow setting the default charset to decode.
  • Add Error::source() implementation.
  • Add async::ClientBuilder::timeout() option, will timeout the connect, request, and response body futures.
  • Fix gzip + chunked transfer encoding issue preventing connection reuse.
  • Fix RequestBuilder::query() to not add just "?" if the encoded query is empty.
  • Fix including new cookie headers when response is a redirect.