Releases: seanmonstar/reqwest
Releases Β· seanmonstar/reqwest
v0.11.11
What's Changed
- Add HTTP/2 keep-alive configuration methods on
ClientBuilder
. - Add
ClientBuilder::http1_allow_obsolete_multiline_headers_in_responses()
. - Add
impl Service<Request>
forClient
and&'_ Client
. - (wasm) Add
RequestBuilder::basic_auth()
. - Fix
RequestBuilder::header
to not overridesensitive
if user explicitly set on aHeaderValue
. - Fix rustls parsing of elliptic curve private keys.
- Fix Proxy URL parsing of some invalid targets.
New Contributors
- @jqnatividad made their first contribution in #1509
- @MisileLab made their first contribution in #1527
- @flavio made their first contribution in #1526
- @eyalsatori made their first contribution in #1523
- @Mathspy made their first contribution in #1420
- @cuishuang made their first contribution in #1531
- @Coding-Badly made their first contribution in #1539
- @Osteoporosis made their first contribution in #1543
- @neoeinstein made their first contribution in #1556
v0.11.10
What's Changed
- Add
Error::url()
to access the URL of an error. - Add
Response::extensions()
to access thehttp::Extensions
of a response. - Fix
rustls-native-certs
to log an error instead of panicking when loading an invalid system certificate. - Fix passing Basic Authorization header to proxies.
New Contributors
- @nikstur made their first contribution in #1448
- @ecclarke42 made their first contribution in #1442
- @TjeuKayim made their first contribution in #1316
- @kraktus made their first contribution in #1456
- @edmorley made their first contribution in #1482
- @ViddeM made their first contribution in #1480
- @nihaals made their first contribution in #1490
- @biluohc made their first contribution in #1491
v0.11.9
v0.11.8
- Update internal webpki-roots dependency.
New Contributors
- @complexspaces made their first contribution in #1396
v0.11.7
- Add
blocking::ClientBuilder::resolve()
option, matching the async builder. - Implement
From<tokio::fs::File>
forBody
. - Fix
blocking
request-scoped timeout applying to bodies as well. - (wasm) Fix request bodies using multipart vs formdata.
- Update internal
rustls
to 0.20.
New Contributors β€οΈ
- @jeschkies made their first contribution in #1362
- @niuhuan made their first contribution in #1384
- @BiagioFesta made their first contribution in #1388
v0.11.6
v0.11.5
- Add
ClientBuilder::http1_only()
method. - Add
tls::Version
type, andClientBuilder::min_tls_version()
andClientBuilder::max_tls_version()
methods. - Implement
TryFrom<Request>
forhttp::Request
. - Implement
Clone
forIdentity
. - Fix
NO_PROXY
environment variable parsing to more closely match curl's. Comma-separated entries are now trimmed for whitespace, and*
is allowed to match everything. - Fix redirection to respect
https_only
option. - (wasm) Add
Body::as_bytes()
method. - (wasm) Fix sometimes wrong conversation of bytes into a
JsValue
. - (wasm) Avoid dependency on serde-serialize feature.
New Contributors π
- @blyxxyz made their first contribution in #1294
- @Saruniks made their first contribution in #1296
- @dlesl made their first contribution in #1313
- @Dr-Emann made their first contribution in #1322
- @jmgilman made their first contribution in #1335
- @silvioprog made their first contribution in #1334
- @skystar-p made their first contribution in #1341
- @abatkin made their first contribution in #1332
- @VictorBulba made their first contribution in #1270
v0.11.4
- Add
ClientBuilder::resolve()
option to override DNS resolution for specific domains. - Add
native-tls-alpn
Cargo feature to use ALPN with the native-tls backend. - Add
ClientBuilder::deflate()
option anddeflate
Cargo feature to support decoding response bodies using deflate. - Add
RequestBuilder::version()
to allow setting the HTTP version of a request. - Fix allowing "invalid" certificates with the
rustls-tls
backend, when the server uses TLS v1.2 or v1.3. - (wasm) Add
try_clone
toRequest
andRequestBuilder
v0.11.3
- Add
impl From<hyper::Body> for reqwest::Body
. - (wasm) Add credentials mode methods to
RequestBuilder
.
v0.11.2
- Add
CookieStore
trait to customize the type that stores and retrieves cookies for a session. - Add
cookie::Jar
as a defaultCookieStore
, easing creating some session cookies before creating theClient
. - Add
ClientBuilder::http2_adaptive_window()
option to configure an adaptive HTTP2 flow control behavior. - Add
ClientBuilder::http2_max_frame_size()
option to adjust the maximum HTTP2 frame size that can be received. - Implement
IntoUrl
forString
, making it more convenient to create requests withformat!
.