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 and deflate 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 to Request and RequestBuilder
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 default CookieStore, easing creating some session cookies before creating the Client.
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 for String, making it more convenient to create requests with format!.
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 to blocking::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 be https.
Change default tcp_keepalive value to be disabled.
v0.10.9
Add rustls-tls-native-roots, rustls-tls-webpki-roots, and rustls-tls-manual-roots Cargo features, to configure which certificate roots to use with rustls.
Add ClientBuilder::tcp_keepalive() method to enable TCP keepalive.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Updates the requirements on reqwest to permit the latest version.
Release notes
Sourced from reqwest's releases.
Changelog
Sourced from reqwest's changelog.
... (truncated)
Commits
f5fe178
v0.11.48e5af45
Allow overriding of DNS resolution to specified IP addresses(#561) (#1277)c4388fc
WASM: Addtry_clone
implementations toRequest
andRequestBuilder
(#1286)b48cb4a
Add native-tls-alpn feature (#1283)bbeb1ed
Bump ssri from 6.0.1 to 6.0.2 in /examples/wasm_github_fetch (#1262)841d47c
Bump url-parse from 1.4.7 to 1.5.1 in /examples/wasm_github_fetch (#1267)33bc793
Bump lodash from 4.17.19 to 4.17.21 in /examples/wasm_github_fetch (#1269)b0af278
Implement "default" functions of the trait to fix "insecure" mode (#1259)8d3e279
use ZlibDecoder for deflate responses (#1257)b88f309
Fix small typos inClient
docs (#1253)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)