All Versions
59
Latest Version
Avg Release Cycle
30 days
Latest Release
7 days ago

Changelog History
Page 1

  • v0.10.9

    November 20, 2020
    • ➕ Add rustls-tls-native-roots, rustls-tls-webpki-roots, and rustls-tls-manual-roots Cargo features, to configure which certificate roots to use with rustls.
    • ➕ Add ClientBuilder::tcp_keepalive() method to enable TCP keepalive.
    • ➕ Add ClientBuilder::http1_writev() method to force enable or disable vectored writes.
    • ➕ Add Error::is_connect() method to identify if the error is related to connection-establishment.
    • ➕ Add blocking::ClientBuilder::brotli() method.
    • ⚡️ Windows: Update default protocol to HTTP for HTTPS system proxies, when a protocol is not specified.
    • 👷 (wasm) Add support for Cloudflare workers runtime.
    • 0️⃣ (wasm) Add ClientBuilder::default_headers() method.
    • 🏗 (wasm) Add RequestBuilder::build() method.
  • v0.10.8

    August 25, 2020
    • ➕ Add must_use to RequestBuilder and ClientBuilder.
    • 🛠 Fix Windows system proxy detection of Fiddler proxies.
    • (wasm) Add headers method to RequestBuilder.
    • (wasm) Add execute method to Client.
    • (wasm) Add TryFrom<http::Request> for Request.
    • 💻 (wasm) Fix checking for global window to work in non-browser environments.
    • (wasm) Fix sending of an empty body when not required.
  • v0.10.7

    July 24, 2020
    • ➕ Add NO_PROXY environment variable support.
    • Add more Error::{is_request, is_body, is_decode} getters.
    • ➕ Add conversion of reqwest::ClientBuilder to reqwest::blocking::ClientBuilder.
    • ➕ Add headers_mut() to reqwest::blocking::Response.
    • (wasm) Add form(), query(), multipart and bearer_auth() to RequestBuilder.
  • v0.10.6

    May 29, 2020
    • 🔄 Changed handling of URLs that don't have http: or https: schemes, returning an error instead.
    • 🛠 Fixed a potential hyper-rustls feature conflict.
  • v0.10.5

    May 28, 2020
    • Add ClientBuilder::pool_idle_timeout option.
    • Add ClientBuilder::pool_max_idle_per_host option, deprecate max_idle_per_host.
    • ➕ Add Response::content_length for WASM target.
    • 0️⃣ Enable TCP_NODELAY by default.
    • Implement TryFrom<http::Request> for blocking::Request.
    • Implement TryFrom<http::Request> for Request.
      • Removes From<http::Request> for Request.
      • This is technically a breaking change, but was a mistake. It was not valid to convert from an http::Request to a reqwest::Request in an infallible fashion. It would panic if the conversion was not possible. Instead, the implementation has been changed to TryFrom to indicate it could fail.
  • v0.10.4

    March 04, 2020
    • ➕ Add trust-dns optional feature to change DNS resolver.
    • ➕ Add bytes() method to reqwest::blocking::Response.
    • ➕ Add buffer() method to reqwest::blocking::Body.
    • Implement From<http::Request> for reqwest::Request.
  • v0.10.3

    February 27, 2020
    • ⬆️ Upgrade internal rustls version.
  • v0.10.2

    February 21, 2020
    • ➕ Add Brotli support, enabled with the optional brotli feature. ✨
    • Add Client::use_preconfigured_tls(tls_connector) allowing manual configuration of TLS options.
    • 0️⃣ Implement Default for blocking Client, ClientBuilder, and multipart::Form.
    • (wasm) Add Response::error_for_status() method.
    • (wasm) Add Response::json() method.
    • 0️⃣ (wasm) Implement Default for Client and ClientBuilder.
  • v0.10.1

    January 09, 2020
    • ➕ 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

    December 30, 2019

    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.