Highlights
- Add
ClientBuilder::http3_congestion_bbr()to enable BBR congestion control. - Add
ClientBuilder::http3_send_grease()to configure whether to send use QUIC grease. - Add
ClientBuilder::http3_max_field_section_size()to configure the maximum response headers. - Add
ClientBuilder::tcp_keepalive_interval()to configure TCP probe interval. - Add
ClientBuilder::tcp_keepalive_retries()to configure TCP probe count. - Add
Proxy::headers()to add extra headers that should be sent to a proxy. - Fix
redirect::Policy::limit()which had an off-by-1 error, allowing 1 more redirect than specified. - Fix HTTP/3 to support streaming request bodies.
- (wasm) Fix null bodies when calling
Response::bytes_stream().
What's Changed
- Clarify that
Response::content_length()is not derived from aContent-Lengthheader in docs by @babolivier in https://github.com/seanmonstar/reqwest/pull/2588 - docs: link to
char::REPLACEMENT_CHARACTERby @marcospb19 in https://github.com/seanmonstar/reqwest/pull/1880 - feat: add H3 client config support by @smalls0098 in https://github.com/seanmonstar/reqwest/pull/2609
- chore: update brotli to v7 by @nyurik in https://github.com/seanmonstar/reqwest/pull/2620
- Do not pull in an entirely different DEFLATE implementation just for tests by @Shnatsel in https://github.com/seanmonstar/reqwest/pull/2625
- chore: fix some typos in comment by @xixishidibei in https://github.com/seanmonstar/reqwest/pull/2628
- fix(wasm): handle null body in bytes_stream by @alongubkin in https://github.com/seanmonstar/reqwest/pull/2632
ClientBuilder::interfaceon macOS/Solarish OSes by @hawkw in https://github.com/seanmonstar/reqwest/pull/2623- ci: use ubuntu-latest in nightly job by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2646
- feat: BBR congestion control for http3 by @threeninesixseven in https://github.com/seanmonstar/reqwest/pull/2642
- feat: Add extentions for Request by @Xuanwo in https://github.com/seanmonstar/reqwest/pull/2647
- refactor: Store request timeout in request extensions instead by @Xuanwo in https://github.com/seanmonstar/reqwest/pull/2650
- chore: make ci pass by @linyihai in https://github.com/seanmonstar/reqwest/pull/2666
- update h3 dependencys by @Ruben2424 in https://github.com/seanmonstar/reqwest/pull/2670
- Document reqwest can make TLS and cookie requests with Wasm by @nickbabcock in https://github.com/seanmonstar/reqwest/pull/2661
- fix(redirect): make the number of redirects of policy matches its maximum limit. by @linyihai in https://github.com/seanmonstar/reqwest/pull/2664
- Exposed hyper tcp keepalive interval and retries parameters by @mackliet in https://github.com/seanmonstar/reqwest/pull/2675
- refactor: use hyper-util's proxy::Matcher by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2681
- Support streaming request body in HTTP/3 by @ducaale in https://github.com/seanmonstar/reqwest/pull/2673
- refactor: use hyper-util
Tunnelby @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2684 - Upgrade webpki-roots to 1 by @djc in https://github.com/seanmonstar/reqwest/pull/2688
- refactor: remove
futures-utilunless usingstream/multipart/compression/blockingby @paolobarbolini in https://github.com/seanmonstar/reqwest/pull/2692 - chore: replace rustls-pemfile with rustls-pki-types by @tottoto in https://github.com/seanmonstar/reqwest/pull/2541
- Ensure H3ResponseFuture Implements Sync by @ducaale in https://github.com/seanmonstar/reqwest/pull/2685
- feat(redirect): Using
FollowRedirectfromtower-httpto handle theredirectloop by @linyihai in https://github.com/seanmonstar/reqwest/pull/2617 - feat: add customizable headers in proxy mode by @chanbengz in https://github.com/seanmonstar/reqwest/pull/2600
- Prepare v0.12.16 by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2694
New Contributors
- @babolivier made their first contribution in https://github.com/seanmonstar/reqwest/pull/2588
- @marcospb19 made their first contribution in https://github.com/seanmonstar/reqwest/pull/1880
- @smalls0098 made their first contribution in https://github.com/seanmonstar/reqwest/pull/2609
- @Shnatsel made their first contribution in https://github.com/seanmonstar/reqwest/pull/2625
- @xixishidibei made their first contribution in https://github.com/seanmonstar/reqwest/pull/2628
- @alongubkin made their first contribution in https://github.com/seanmonstar/reqwest/pull/2632
- @hawkw made their first contribution in https://github.com/seanmonstar/reqwest/pull/2623
- @threeninesixseven made their first contribution in https://github.com/seanmonstar/reqwest/pull/2642
- @linyihai made their first contribution in https://github.com/seanmonstar/reqwest/pull/2666
- @Ruben2424 made their first contribution in https://github.com/seanmonstar/reqwest/pull/2670
- @nickbabcock made their first contribution in https://github.com/seanmonstar/reqwest/pull/2661
- @mackliet made their first contribution in https://github.com/seanmonstar/reqwest/pull/2675
- @tottoto made their first contribution in https://github.com/seanmonstar/reqwest/pull/2541
- @chanbengz made their first contribution in https://github.com/seanmonstar/reqwest/pull/2600
Full Changelog: https://github.com/seanmonstar/reqwest/compare/v0.12.15...v0.12.16