Update Rust crate reqwest to 0.12 #172
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/reqwest-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.11
->0.12
Release Notes
seanmonstar/reqwest (reqwest)
v0.12.0
Compare Source
hyper
,http
, andhttp-body
v1.http::Request
andhttp::Response
.http2
optional cargo feature, default on.charset
optional cargo feature, default on.macos-system-configuration
cargo feature, default on.ClientBuilder::interface(str)
to specify the local interface to bind to.http3
feature temporarily.v0.11.27
hickory-dns
feature, deprecatingtrust-dns
.Form::text()
to not set octet-stream for plain text fields.v0.11.26
system-configuration
upgrade, which broke MSRV on macOS.v0.11.25
Certificate::from_pem_bundle()
parsing.v0.11.24
Certificate::from_pem_bundle()
to add a bundle.http3_prior_knowledge()
to blocking client builder.Sync
bounds requirement forBody::wrap_stream()
.REFUSED_STREAM
requests.Url
toUri
that could panic.v0.11.23
Proxy::custom_http_auth(val)
for setting the rawProxy-Authorization
header when connecting to proxies.http://
orhttps://
.nodelay
when TLS is enabled but URL is HTTP.ClientBuilder::user_agent(val)
.multipart::Form::headers(headers)
.v0.11.22
trust-dns
is enabled.v0.11.21
ClientBuilder::tls_info(bool)
, which will puttls::TlsInfo
into the response extensions.v0.11.20
deflate
decompression back to using zlib, as outlined in the spec.v0.11.19
ClientBuilder::http1_ignore_invalid_headers_in_responses()
option.ClientBuilder::http1_allow_spaces_after_header_name_in_responses()
option.ALL_PROXY
environment variable.use_preconfigured_tls
when combined with HTTP/3.deflate
decompression from using the zlib decoder.Response::{text, text_with_charset}()
to strip BOM characters.v0.11.18
RequestBuilder::json()
method from overriding a previously setcontent-type
header. An existing value will be left in place.v0.11.17
v0.11.16
Cargo.toml
.v0.11.15
RequestBuilder
methods to split and reconstruct from its parts.connection_verbose
to logwrite_vectored
calls.v0.11.14
Proxy::no_proxy(url)
that works like the NO_PROXY environment variable.multipart::Part::headers(headers)
method to add custom headers.Response::bytes_stream()
.v0.11.13
ClientBuilder::dns_resolver()
option for custom DNS resolvers.ClientBuilder::tls_sni(bool)
option to enable or disable TLS Server Name Indication.Identity::from_pkcs8_pem()
constructor when usingnative-tls
.redirect::Policy::limited(0)
from following any redirects.v0.11.12
ClientBuilder::resolve_to_addrs()
which allows a slice of IP addresses to be specified for a single host.Response::upgrade()
to await whether the server agrees to an HTTP upgrade.v0.11.11
ClientBuilder
.ClientBuilder::http1_allow_obsolete_multiline_headers_in_responses()
.impl Service<Request>
forClient
and&'_ Client
.RequestBuilder::basic_auth()
.RequestBuilder::header
to not overridesensitive
if user explicitly set on aHeaderValue
.v0.11.10
Error::url()
to access the URL of an error.Response::extensions()
to access thehttp::Extensions
of a response.rustls-native-certs
to log an error instead of panicking when loading an invalid system certificate.v0.11.9
ClientBuilder::http09_responses(bool)
option to allow receiving HTTP/0.9 responses.v0.11.8
v0.11.7
blocking::ClientBuilder::resolve()
option, matching the async builder.From<tokio::fs::File>
forBody
.blocking
request-scoped timeout applying to bodies as well.rustls
to 0.20.v0.11.6
v0.11.5
ClientBuilder::http1_only()
method.tls::Version
type, andClientBuilder::min_tls_version()
andClientBuilder::max_tls_version()
methods.TryFrom<Request>
forhttp::Request
.Clone
forIdentity
.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.https_only
option.Body::as_bytes()
method.JsValue
.v0.11.4
ClientBuilder::resolve()
option to override DNS resolution for specific domains.native-tls-alpn
Cargo feature to use ALPN with the native-tls backend.ClientBuilder::deflate()
option anddeflate
Cargo feature to support decoding response bodies using deflate.RequestBuilder::version()
to allow setting the HTTP version of a request.rustls-tls
backend, when the server uses TLS v1.2 or v1.3.try_clone
toRequest
andRequestBuilder
v0.11.3
impl From<hyper::Body> for reqwest::Body
.RequestBuilder
.v0.11.2
CookieStore
trait to customize the type that stores and retrieves cookies for a session.cookie::Jar
as a defaultCookieStore
, easing creating some session cookies before creating theClient
.ClientBuilder::http2_adaptive_window()
option to configure an adaptive HTTP2 flow control behavior.ClientBuilder::http2_max_frame_size()
option to adjust the maximum HTTP2 frame size that can be received.IntoUrl
forString
, making it more convenient to create requests withformat!
.v0.11.1
ClientBuilder::tls_built_in_root_certs()
option to disable built-in root certificates.rustls-tls
glue to more often support ALPN to upgrade to HTTP/2.http://
if no scheme is found.runtime
feature.Request::new()
constructor.v0.11.27
Compare Source
hickory-dns
feature, deprecatingtrust-dns
.Form::text()
to not set octet-stream for plain text fields.v0.11.26
Compare Source
system-configuration
upgrade, which broke MSRV on macOS.v0.11.25
Compare Source
Certificate::from_pem_bundle()
parsing.v0.11.24
Compare Source
Certificate::from_pem_bundle()
to add a bundle.http3_prior_knowledge()
to blocking client builder.Sync
bounds requirement forBody::wrap_stream()
.REFUSED_STREAM
requests.Url
toUri
that could panic.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.