Releases: seanmonstar/reqwest
Releases · seanmonstar/reqwest
v0.10.0-alpha.1
- Add
std::future::Future
support. - Add
wasm32-unknown-unknown
support (with fewer features). - Add ability to pass async
Response
as thebody
of anotherRequest
. - Change default
Client
API to async. The previous blocking client API is avaialble atreqwest::blocking
. - Change default feature set to reduce unnecessary dependencies. Most features are disabled by default:
blocking
: Thereqwest::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-defaultunstable-stream
feature. - Change
Error
internal design, removing severalError::is_*
inspector methods. - Update
url
to v2.0.
v0.9.21
- Add
executor
method toClientBuilder
. - Send
User-Agent
header inCONNECT
requests to proxies.
v0.9.20
- Improve error message when proxy connections fail to tunnel.
- Update
mime_guess
andrustls
dependencies.
v0.9.19
- 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 aFuture
of the full body decoded to aString
. - Add
Clone
forCertificate
.
v0.9.18
- Fix
Cookie
headers to no longer send as percent-encoded (instead, exactly as sent by the server).
v0.9.17
- Fix
Cookie
headers so as to not include attributes from theSet-Cookie
(likeHttpOnly
,Secure
, etc).
v0.9.16
- 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
Fixes
- Fix sending of "appended" request headers.
v0.9.14 (🍪 Cookies! 🍪)
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
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.