Releases: seanmonstar/reqwest
Releases Β· seanmonstar/reqwest
v0.12.20
Highlights
- Add
ClientBuilder::tcp_user_timeout(Duration)
option to setTCP_USER_TIMEOUT
. - Fix proxy headers only using the first matched proxy.
- (wasm) Fix re-adding
Error::is_status()
.
What's Changed
- fix(client): apply authorization header to first matching proxy only by @0x676e67 in #2714
- wasm: re-add Error::is_status() by @seanmonstar in #2720
- properly match error variants in test by @Ruben2424 in #2721
- refactor: reduce size of Pending request future by @seanmonstar in #2725
- feat: add tcp_user_timeout builder option by @seanmonstar in #2724
- refactor: use hyper-util Socks connectors by @seanmonstar in #2726
- Remove some unused dependencies by @DaniPopes in #2716
New Contributors
- @DaniPopes made their first contribution in #2716
Full Changelog: v0.12.19...v0.12.20
v0.12.19
What's Changed
- refactor: report custom reason phrase in error message by @chanbengz in #2697
- fix: only check scheme after Policy return
follow
by @linyihai in #2710 - ci: check cookies feature on wasm target by @seanmonstar in #2711
- fix(redirect): Using
tower-http
patch to fix invalidcontent-length
header by @linyihai in #2709
Full Changelog: v0.12.18...v0.12.19
v0.12.18
What's Changed
- Fix compilation when
socks
enabled without TLS.
v0.12.17
v0.12.16
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-Length
header in docs by @babolivier in #2588 - docs: link to
char::REPLACEMENT_CHARACTER
by @marcospb19 in #1880 - feat: add H3 client config support by @smalls0098 in #2609
- chore: update brotli to v7 by @nyurik in #2620
- Do not pull in an entirely different DEFLATE implementation just for tests by @Shnatsel in #2625
- chore: fix some typos in comment by @xixishidibei in #2628
- fix(wasm): handle null body in bytes_stream by @alongubkin in #2632
ClientBuilder::interface
on macOS/Solarish OSes by @hawkw in #2623- ci: use ubuntu-latest in nightly job by @seanmonstar in #2646
- feat: BBR congestion control for http3 by @threeninesixseven in #2642
- feat: Add extentions for Request by @Xuanwo in #2647
- refactor: Store request timeout in request extensions instead by @Xuanwo in #2650
- chore: make ci pass by @linyihai in #2666
- update h3 dependencys by @Ruben2424 in #2670
- Document reqwest can make TLS and cookie requests with Wasm by @nickbabcock in #2661
- fix(redirect): make the number of redirects of policy matches its maximum limit. by @linyihai in #2664
- Exposed hyper tcp keepalive interval and retries parameters by @mackliet in #2675
- refactor: use hyper-util's proxy::Matcher by @seanmonstar in #2681
- Support streaming request body in HTTP/3 by @ducaale in #2673
- refactor: use hyper-util
Tunnel
by @seanmonstar in #2684 - Upgrade webpki-roots to 1 by @djc in #2688
- refactor: remove
futures-util
unless usingstream
/multipart
/compression/blocking
by @paolobarbolini in #2692 - chore: replace rustls-pemfile with rustls-pki-types by @tottoto in #2541
- Ensure H3ResponseFuture Implements Sync by @ducaale in #2685
- feat(redirect): Using
FollowRedirect
fromtower-http
to handle theredirect
loop by @linyihai in #2617 - feat: add customizable headers in proxy mode by @chanbengz in #2600
- Prepare v0.12.16 by @seanmonstar in #2694
New Contributors
- @babolivier made their first contribution in #2588
- @marcospb19 made their first contribution in #1880
- @smalls0098 made their first contribution in #2609
- @Shnatsel made their first contribution in #2625
- @xixishidibei made their first contribution in #2628
- @alongubkin made their first contribution in #2632
- @hawkw made their first contribution in #2623
- @threeninesixseven made their first contribution in #2642
- @linyihai made their first contribution in #2666
- @Ruben2424 made their first contribution in #2670
- @nickbabcock made their first contribution in #2661
- @mackliet made their first contribution in #2675
- @tottoto made their first contribution in #2541
- @chanbengz made their first contribution in #2600
Full Changelog: v0.12.15...v0.12.16
v0.12.15
What's Changed
- Fix http3 to support streaming response bodies by @ducaale in #2517
- Fix Windows to support both
ProxyOverride
andNO_PROXY
by @drewkett in #2601 - Fix http3 dependency from public API misuse by @seanmonstar in #2605
New Contributors
Full Changelog: v0.12.14...v0.12.15
v0.12.14
What's Changed
- re-add fetch_mode_no_cors shim when not in wasm, but deprecated by @seanmonstar in #2598
Full Changelog: v0.12.13...v0.12.14
v0.12.13
What's Changed
- Add
Form::into_reader()
for blockingmultipart
forms. - Add
Form::into_stream()
for asyncmultipart
forms. - Add support for SOCKS4a proxies.
- Fix decoding responses with multiple zstd frames.
- Fix
RequestBuilder::form()
from overwriting a previously setContent-Type
header, like the other builder methods. - Fix cloning of request timeout in
blocking::Request
. - Fix http3 synchronization of connection creation, reducing unneccesary extra connections.
- Fix Windows system proxy to use
ProxyOverride
as aNO_PROXY
value. - Fix blocking read to correctly reserve and zero read buffer.
- (wasm) Add support for request timeouts.
- (wasm) Fix
Error::is_timeout()
to return true when from a request timeout.
New Contributors
- @obi1kenobi made their first contribution in #2524
- @decathorpe made their first contribution in #2529
- @flisky made their first contribution in #1760
- @0x676e67 made their first contribution in #2527
- @maximevtush made their first contribution in #2534
- @Property404 made their first contribution in #2554
- @G1gg1L3s made their first contribution in #2544
- @coastalwhite made their first contribution in #2562
- @Fizcko made their first contribution in #2559
- @markussilvan made their first contribution in #2573
- @aunovis-heidrich made their first contribution in #2593
Thanks!
Full Changelog: v0.12.12...v0.12.13
v0.12.12
What's Changed
Full Changelog: v0.12.11...v0.12.12
v0.12.11
What's Changed
- Fix decompression returning an error when HTTP/2 ends with an empty data frame by @seanmonstar in #2508
Full Changelog: v0.12.10...v0.12.11