tl;dr
- πΊπ©πΈ Add
ClientBuilder::unix_socket(path)
option that will force all requests over that Unix Domain Socket. - π Add
ClientBuilder::retries(policy)
andreqwest::retry::Builder
to configure automatic retries. - Add
ClientBuilder::dns_resolver2()
with more ergonomic argument bounds, allowing more resolver implementations. - Add
http3_*
options toblocking::ClientBuilder
. - Fix default TCP timeout values to enabled and faster.
- Fix SOCKS proxies to default to port 1080
- (wasm) Add cache methods to
RequestBuilder
.
What's Changed
- Minimize package size by @weiznich in #2759
- chore(dev-dependencies): bump brotli by @seanmonstar in #2760
- upgrade hickory-dns to 0.25 by @seanmonstar in #2761
- Re-expose http3 options in blocking::clientBuilder by @ducaale in #2770
- fix(proxy): restore default port 1080 for SOCKS proxies without explicit port by @0x676e67 in #2771
- ci: use msrv-aware cargo in msrv job by @seanmonstar in #2779
- feat: add request cache option for wasm by @Spxg in #2775
- style(client): use
std::task::ready!
macro to simplifyPoll
branch match by @0x676e67 in #2781 - fix: add default tcp keepalive and user_timeout values by @seanmonstar in #2780
- feat: add unix_socket() option to client builder by @seanmonstar in #2624
- Add retry policies by @seanmonstar in #2763
- refactor: loosen retry
for_host
parameter bounds by @Enduriel in #2792 - feat: add dns_resolver2 that is more ergonomic and flexible by @seanmonstar in #2793
- Prepare v0.12.23 by @seanmonstar in #2795
New Contributors
- @weiznich made their first contribution in #2759
- @Spxg made their first contribution in #2775
- @Enduriel made their first contribution in #2792
Full Changelog: v0.12.22...v0.12.23