Releases: seanmonstar/reqwest
Releases · seanmonstar/reqwest
v0.11.1
- Add
ClientBuilder::tls_built_in_root_certs()
option to disable built-in root certificates. - Fix
rustls-tls
glue to more often support ALPN to upgrade to HTTP/2. - Fix proxy parsing to assume
http://
if no scheme is found. - Fix connection pool idle reaping by enabling hyper's
runtime
feature. - (wasm) Add
Request::new()
constructor.
v0.11.0
- Change
multipart
to be an optional cargo feature. - Remove deprecated methods.
- Update to Tokio v1.0.
- Update to Bytes v1.0.
- Update to hyper v0.14.
v0.10.10
- Add
tcp_keepalive
option toblocking::ClientBuilder
. - Add
multipart::Part::stream_with_length
constructor, to create a streaming part with a known length. - Add
ClientBuilder::https_only
option, to allow requiring URLs to behttps
. - Change default
tcp_keepalive
value to be disabled.
v0.10.9
- Add
rustls-tls-native-roots
,rustls-tls-webpki-roots
, andrustls-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.
- (wasm) Add
ClientBuilder::default_headers()
method. - (wasm) Add
RequestBuilder::build()
method.
v0.10.8
- Add
must_use
toRequestBuilder
andClientBuilder
. - Fix Windows system proxy detection of Fiddler proxies.
- (wasm) Add
headers
method toRequestBuilder
. - (wasm) Add
execute
method toClient
. - (wasm) Add
TryFrom<http::Request>
forRequest
. - (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
- Add
NO_PROXY
environment variable support. - Add more
Error::{is_request, is_body, is_decode}
getters. - Add conversion of
reqwest::ClientBuilder
toreqwest::blocking::ClientBuilder
. - Add
headers_mut()
toreqwest::blocking::Response
. - (wasm) Add
form()
,query()
,multipart
andbearer_auth()
toRequestBuilder
.
v0.10.6
- Changed handling of URLs that don't have
http:
orhttps:
schemes, returning an error instead. - Fixed a potential hyper-rustls feature conflict.
v0.10.5
- Add
ClientBuilder::pool_idle_timeout
option. - Add
ClientBuilder::pool_max_idle_per_host
option, deprecatemax_idle_per_host
. - Add
Response::content_length
for WASM target. - Enable TCP_NODELAY by default.
- Implement
TryFrom<http::Request>
forblocking::Request
. - Implement
TryFrom<http::Request>
forRequest
.- Removes
From<http::Request>
forRequest
. - This is technically a breaking change, but was a mistake. It was not valid to convert from an
http::Request
to areqwest::Request
in an infallible fashion. It would panic if the conversion was not possible. Instead, the implementation has been changed toTryFrom
to indicate it could fail.
- Removes
v0.10.4
- Add
trust-dns
optional feature to change DNS resolver. - Add
bytes()
method toreqwest::blocking::Response
. - Add
buffer()
method toreqwest::blocking::Body
. - Implement
From<http::Request>
forreqwest::Request
.
v0.10.2
- Add Brotli support, enabled with the optional
brotli
feature. ✨ - Add
Client::use_preconfigured_tls(tls_connector)
allowing manual configuration of TLS options. - Implement
Default
for blockingClient
,ClientBuilder
, andmultipart::Form
. - (wasm) Add
Response::error_for_status()
method. - (wasm) Add
Response::json()
method. - (wasm) Implement
Default
forClient
andClientBuilder
.