Releases: seanmonstar/reqwest
Releases Β· seanmonstar/reqwest
v0.12.24
Highlights
- Refactor cookie handling to an internal middleware.
- Refactor internal random generator.
- Refactor base64 encoding to reduce a copy.
- Documentation updates.
What's Changed
- build(deps): silence unused deps in WASM build by @0x676e67 in #2799
- perf(util): avoid extra copy when base64 encoding by @0x676e67 in #2805
- docs: fix method name in changelog entry by @johannespfrang in #2807
- chore: Align the name usage of TotalTimeout by @Xuanwo in #2657
- refactor(cookie): add CookieServiceby @linyihai in #2787
- Fixes typo in retry max_retries_per_request doc comment re 2813 by @dmackinn in #2824
- test(multipart): fix build failure with no-default-featuresby @0x676e67 in #2801
- refactor(cookie): avoid duplicate cookie insertion by @0x676e67 in #2834
New Contributors
- @johannespfrang made their first contribution in #2807
- @dmackinn made their first contribution in #2824
Full Changelog: v0.12.23...v0.12.24
v0.12.23
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 #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 simplifyPollbranch 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_hostparameter 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
v0.12.22
tl;dr
- Fix socks proxies when resolving IPv6 destinations.
What's Changed
- fix(socks): bracket IPv6 addresses when formatting destination host by @0x676e67 in #2753
- Prepare v0.12.22 by @seanmonstar in #2754
Full Changelog: v0.12.21...v0.12.22
v0.12.21
tl;dr
- Fix socks proxy to use socks4a://instead ofsocks4h://.
- Fix Error::is_timeout()to check for hyper and IO timeouts too.
- Fix request Errorto again include URLs when possible.
- Fix socks connect error to include more context.
- (wasm) implement DefaultforBody.
What's Changed
- chore: remove unused slab dep by @seanmonstar in #2729
- docs: mention requiring Tokio by @seanmonstar in #2731
- Fix Typos in Comments for Multipart and Redirect Tests by @leopardracer in #2738
- fix: request errors should include url by @seanmonstar in #2741
- fix: consider timeout from hyper::Error by @flisky in #2742
- feat: add Default impl for wasm::Body by @jpopesculian in #2746
- fix: Fix SOCKS4a proxy protocol matching by @0x676e67 in #2732
- fix: add more context and description to SOCKS errors by @seanmonstar in #2750
- Prepare v0.12.21 by @seanmonstar in #2751
New Contributors
- @leopardracer made their first contribution in #2738
- @jpopesculian made their first contribution in #2746
Full Changelog: v0.12.20...v0.12.21
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 followby @linyihai in #2710
- ci: check cookies feature on wasm target by @seanmonstar in #2711
- fix(redirect): Using tower-httppatch to fix invalidcontent-lengthheader by @linyihai in #2709
Full Changelog: v0.12.18...v0.12.19
v0.12.18
What's Changed
- Fix compilation when socksenabled 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-Lengthheader in docs by @babolivier in #2588
- docs: link to char::REPLACEMENT_CHARACTERby @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::interfaceon 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 Tunnelby @seanmonstar in #2684
- Upgrade webpki-roots to 1 by @djc in #2688
- refactor: remove futures-utilunless usingstream/multipart/compression/blockingby @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 FollowRedirectfromtower-httpto handle theredirectloop 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 ProxyOverrideandNO_PROXYby @drewkett in #2601
- Fix http3 dependency from public API misuse by @seanmonstar in #2605
New Contributors
Full Changelog: v0.12.14...v0.12.15