-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Rust crate reqwest to 0.12 #6307
Conversation
9bdb08b
to
b3a60c5
Compare
45e9cf8
to
e63f676
Compare
aa53f53
to
6286076
Compare
We're going to want to jump to hyper v1 all at once with dropshot and progenitor; I'm working on it. |
7a60195
to
42134c0
Compare
|
ea2caf1
to
516bae4
Compare
1b71fbd
to
526bed5
Compare
526bed5
to
cf54f1a
Compare
Blocked on #6580. |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update ( If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
0.11
->0.12
Release Notes
seanmonstar/reqwest (reqwest)
v0.12.7
Compare Source
impl Service<http::Request<_>>
forClient
.v0.12.6
Compare Source
danger_accept_invalid_hostnames
forrustls
.impl Service<http::Request<Body>>
forClient
and&'_ Client
.!Sync
bodies inBody::wrap_stream()
.hickory-dns
is used.Proxy
so thatHTTP(S)_PROXY
values take precendence overALL_PROXY
.blocking::RequestBuilder::header()
from unsettingsensitive
on passed header values.v0.12.5
Compare Source
blocking::ClientBuilder::dns_resolver()
method to change DNS resolver in blocking client.http3
feature back, still requiringreqwest_unstable
.rustls-tls-no-provider
Cargo feature to use rustls without a crypto provider.Accept-Encoding
header combinations.v0.12.4
Compare Source
zstd
support, enabled withzstd
Cargo feature.ClientBuilder::read_timeout(Duration)
, which applies the duration for each read operation. The timeout resets after a successful read.v0.12.3
Compare Source
FromStr
fordns::Name
.ClientBuilder::built_in_webpki_certs(bool)
to enable them separately.ClientBuilder::built_in_native_certs(bool)
to enable them separately.content-length: 0
for GET requests.content_length()
to return value when timeout is configured.ClientBuilder::resolve()
to use lowercase domain names.v0.12.2
Compare Source
v0.12.1
Compare Source
ClientBuilder::interface()
when no TLS is enabled.TlsInfo::peer_certificate()
being truncated with rustls.http2
feature disabled but TLS negotiated h2 in ALPN.Display
forError
to not include its source error.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.Configuration
📅 Schedule: Branch creation - "after 8pm,before 6am" in timezone America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone America/Los_Angeles.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.