Skip to content

Releases: seanmonstar/reqwest

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.

v0.9.15

19 Apr 19:39
Compare
Choose a tag to compare

Fixes

  • Fix sending of "appended" request headers.

v0.9.14 (🍪 Cookies! 🍪)

19 Apr 19:38
Compare
Choose a tag to compare

Features

  • Add optional support for SOCKS5 proxies, by enabling the socks5 cargo feature.
  • Add Cookie Store support to Client, automatically handling cookies for a session.
  • Add ClientBuilder::cookie_store(enable: bool) method to enable a cookie store that persists across requests.
  • Add Response::cookies() accessor that allows iterating over response cookies.
  • Fix Proxy to check the URL for a username and password.

v0.9.13

19 Apr 19:37
Compare
Choose a tag to compare

Fixes

  • Fix panic on some invalid Location headers during redirects (error is logged and redirect response is returned instead).
  • Fix instance when server notices streaming request body is complete before reqwest does.