tl;dr
- 馃嚭馃嚛馃嚫 Add
ClientBuilder::unix_socket(path)option that will force all requests over that Unix Domain Socket. - 馃攣 Add
ClientBuilder::retries(policy)andreqwest::retry::Builderto 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 https://github.com/seanmonstar/reqwest/pull/2759
- chore(dev-dependencies): bump brotli by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2760
- upgrade hickory-dns to 0.25 by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2761
- Re-expose http3 options in blocking::clientBuilder by @ducaale in https://github.com/seanmonstar/reqwest/pull/2770
- fix(proxy): restore default port 1080 for SOCKS proxies without explicit port by @0x676e67 in https://github.com/seanmonstar/reqwest/pull/2771
- ci: use msrv-aware cargo in msrv job by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2779
- feat: add request cache option for wasm by @Spxg in https://github.com/seanmonstar/reqwest/pull/2775
- style(client): use
std::task::ready!macro to simplifyPollbranch match by @0x676e67 in https://github.com/seanmonstar/reqwest/pull/2781 - fix: add default tcp keepalive and user_timeout values by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2780
- feat: add unix_socket() option to client builder by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2624
- Add retry policies by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2763
- refactor: loosen retry
for_hostparameter bounds by @Enduriel in https://github.com/seanmonstar/reqwest/pull/2792 - feat: add dns_resolver2 that is more ergonomic and flexible by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2793
- Prepare v0.12.23 by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2795
New Contributors
- @weiznich made their first contribution in https://github.com/seanmonstar/reqwest/pull/2759
- @Spxg made their first contribution in https://github.com/seanmonstar/reqwest/pull/2775
- @Enduriel made their first contribution in https://github.com/seanmonstar/reqwest/pull/2792
Full Changelog: https://github.com/seanmonstar/reqwest/compare/v0.12.22...v0.12.23