tl;dr
- Add
Error::is_dns()to identify errors caused by DNS resolution failures. - Add
ClientBuilder::http1_max_headers(usize)to configure the maximum number of headers accepted in an HTTP/1 response (default 100). - Add TLS version to
TlsInfoextension. - Fix hickory-dns feature to use
Ipv6AndIpv4strategy to prefer IPv6. - Fix sending wrong proxy-auth if multiple proxies intercept a given URL.
What's Changed
- fix(blocking): preserve version and extensions in TryFromhttp::Request by @wwhsaber in #3050
- Remove unnecessary clones by @FranciscoTGouveia in #3052
- Add
ReferrerandReferrer Policymethods to WASM Request API by @Billy-Sheppard in #3049 - chore(deps): bump actions/checkout from 6 to 7 by @dependabot[bot] in #3058
- feat: add
Error::is_dns()to identify DNS resolution failures by @JoakoI98 in #3057 - Fix blocking client timeout panic by @V-Mann-Nick in #3060
- Use
LookupIpStrategy::Ipv6AndIpv4to actually prefer IPv6 when usinghickory-dnsby @FalkWoldmann in #3063 - feat: Add ClientBuilder::http1_max_headers by @smaeda-ks in #3065
- feat: expose the negotiated TLS version via
TlsInfoby @dennisameling in #3067 - fix(error): detect timeouts wrapped in body decode errors by @raphaelroshan in #3064
- Remove unnecessary clones and a cast by @FranciscoTGouveia in #3071
- chore(deps): upgrade base64 to 0.23 by @paolobarbolini in #3074
- perf(body): reuse tokio::time::Sleep timer via reset() in ReadTimeoutBody by @spellsaif in #3085
- fix(cookie): avoid cloning store and url on Poll::Pending in ResponseFuture::poll by @spellsaif in #3084
- src/async_impl/request.rs_improved_doc_for_json_fn: by @Athleteg in #3082
- fix: proxy could use wrong credentials if many matched by @seanmonstar in #3098
New Contributors
- @wwhsaber made their first contribution in #3050
- @FranciscoTGouveia made their first contribution in #3052
- @Billy-Sheppard made their first contribution in #3049
- @JoakoI98 made their first contribution in #3057
- @V-Mann-Nick made their first contribution in #3060
- @FalkWoldmann made their first contribution in #3063
- @smaeda-ks made their first contribution in #3065
- @raphaelroshan made their first contribution in #3064
- @spellsaif made their first contribution in #3085
- @Athleteg made their first contribution in #3082
Full Changelog: v0.13.4...v0.13.5