Skip to content

Releases: seanmonstar/reqwest

v0.9.12

20 Mar 22:12
Compare
Choose a tag to compare

Features

  • Add ClientBuilder::tcp_nodelay() to allow disabling Nagle's algorithm.
  • Add ClientBuilder::max_idle_per_host() to allow reducing the number of idle pooled connections.
  • Add RequestBuilder::bearer_auth() method to async builder.

Fixes

  • Fix capitalization error in async RequestBuilder::basic_auth().
  • Fix ALPN causing issues when using a Proxy.

v0.9.11

20 Mar 22:12
Compare
Choose a tag to compare

Features

  • Add multipart::Form::percent_encode_noop() to allow for servers which don't support percent encoding of paramters.
  • Add ClientBuilder::http1_title_case_headers() to force request headers to use Title-Case.
  • Add ClientBuilder::connect_timeout() to allow setting only a connect timeout.

v0.9.10

20 Mar 22:12
Compare
Choose a tag to compare

Features

  • Add ClientBuilder::local_address() to bind to a local IP address.
  • Add Response::error_for_status_ref() to return an Error while borrowing a Response.

Fixes

  • Fix Identity::from_pem with rustls-tls backend when using RSA private keys.

v0.9.9

20 Mar 22:12
Compare
Choose a tag to compare

Features

  • Add ClientBuilder::h2_prior_knowledge() option to force HTTP2.
  • Add Response::content_length() to get the content-length of a response.
  • Enable ALPN h2 with the rustls-tls backend.

v0.9.8

20 Mar 22:12
Compare
Choose a tag to compare

Fixes

  • Revert default DNS resolver to getaddrinfo in a threadpool. There is now a trust-dns optional feature to enable the Trust-DNS resolver.
  • Detect Certificate and Identity errors at construction time.

v0.9.7

10 Jan 22:04
Compare
Choose a tag to compare

Fixes

  • Fix DNS resolver on Android (reverted back to getaddrinfo).
  • Fix sending unicode filenames in multipart/form-data requests.

v0.9.6

07 Jan 23:58
Compare
Choose a tag to compare

Features

  • Add Proxy::basic_auth method to support proxy authorization.
  • Add rustls-tls optional feature to use rustls instead of native-tls.
  • Add try_clone method to Request and RequestBuilder.
  • Add reqwest::async::multipart support, similar to the synchronous API.
  • Adds default-tls-vendored optional feature to vendor OpenSSL.

Fixes

  • Fix panic from top-level reqwest::get if client builder fails to build.
  • Removed timeout waiting for reqwest::Client runtime to startup.
  • Fix RequestBuilder::headers to properly append extra headers of the same name.

Performance

  • Replaced DNS threadpool using getaddrinfo with a non-blocking DNS resolver.

v0.9.5

13 Nov 22:15
Compare
Choose a tag to compare

Features

  • Adds Response::remote_addr() method to check the address of the connection used.
  • Adds default-tls crate feature, enabled by default, which allows users to disable TLS.

v0.9.4

13 Nov 22:17
Compare
Choose a tag to compare

Features

  • Adds percent_encoding_path_segment and percent_encoding_attr_char configuration to multipart::Form.

Fixes

  • Reverts multipart::Form default percent encoding format to path-segment.

v0.9.3

13 Nov 22:16
Compare
Choose a tag to compare

Features

  • Adds multipart::Part::bytes() to create a part of raw bytes.
  • Adds constructors for Response to help with testing.

Fixes

  • Properly percent-encoding more illegal characters in multipart filenames.
  • Ensure timed out requests cancel the associated async task.