v0.13.1
- http3: depend on quinn/rustls-aws-lc-rs to avoid ring dependency by @djc in https://github.com/seanmonstar/reqwest/pull/2917
- fix rustls on android by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2918
Full Changelog: https://github.com/seanmonstar/reqwest/compare/v0.13.0...v0.13.1
v0.13.0
rustlsis now the default TLS backend, instead ofnative-tls.rustlscrypto provider defaults to aws-lc instead of ring. (rustls-no-providerexists if you want a different crypto provider)rustls-tlshas been renamed torustls.- rustls roots features removed,
rustls-platform-verifieris used by default.- To use different roots, call
tls_certs_only(your_roots).
- To use different roots, call
native-tlsnow includes ALPN. To disable, usenative-tls-no-alpn.queryandformare now crate features, disabled by default.- Long-deprecated methods and crate features have been removed (such as
trust-dns, which was renamedhickory-dnsa while ago). - Many TLS-related methods renamed to improve autocompletion and discovery, but previous name left in place with a "soft" deprecation. (just documented, no warnings)
- For example, prefer
tls_backend_rustls()overuse_rustls_tls().
- For example, prefer
- start 0.13 dev by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2894
- Make
serdeoptional by introducingquery,formfeatures, and re-working WASM header parsing by @CathalMullan in https://github.com/seanmonstar/reqwest/pull/2858 - replace
ClientBuilder::dns_resolverwithdns_resolver2by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2898 - feat: make Rustls the default TLS provider by @calavera in https://github.com/seanmonstar/reqwest/pull/2897
- feat: consolidate TLS options with rustls-platform-verifier by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2891
- remove long-deprecated methods: trust-dns and non-wasm-cors by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2899
- rename rustls-tls feature to just rustls by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2900
- remove deprecated features trust-dns and macos-system-configuration by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2901
- chore: separate rustls and rustls-no-provider features by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2903
- rustls: allow windows to use extra roots by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2904
- v0.13.0-rc.1 by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2905
- Enable ALPN by default in native-tls by @ducaale in https://github.com/seanmonstar/reqwest/pull/2907
- v0.13.0 by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2915
- @CathalMullan made their first contribution in https://github.com/seanmonstar/reqwest/pull/2858
Full Changelog: https://github.com/seanmonstar/reqwest/compare/v0.12.28...v0.13.0
v0.13.0-rc.1
👀 Discussion here if you give it try, thanks!
- rustls is now default instead of native-tls
- rustls provider defaults to aws-lc instead of ring (
rustls-no-providerexists if you want to enable a different one) - rustls-tls renamed to rustls
- rustls roots features removed, platform-verifier is used instead
- To use different roots instead, use
tls_certs_only(your_roots).
- To use different roots instead, use
- Many TLS-related methods renamed, but previous name left in place with a "soft" deprecated (just documented, no warnings).
- query and form are now crate features, disabled by default
- Long-deprecated methods and crate features have been removed.
- start 0.13 dev by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2894
- Make
serdeoptional by introducingquery,formfeatures, and re-working WASM header parsing by @CathalMullan in https://github.com/seanmonstar/reqwest/pull/2858 - replace
ClientBuilder::dns_resolverwithdns_resolver2by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2898 - feat: make Rustls the default TLS provider by @calavera in https://github.com/seanmonstar/reqwest/pull/2897
- feat: consolidate TLS options with rustls-platform-verifier by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2891
- remove long-deprecated methods: trust-dns and non-wasm-cors by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2899
- rename rustls-tls feature to just rustls by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2900
- remove deprecated features trust-dns and macos-system-configuration by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2901
- chore: separate rustls and rustls-no-provider features by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2903
- rustls: allow windows to use extra roots by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2904
- v0.13.0-rc.1 by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2905
- @CathalMullan made their first contribution in https://github.com/seanmonstar/reqwest/pull/2858
Full Changelog: https://github.com/seanmonstar/reqwest/compare/v0.12.28...v0.13.0-rc.1
v0.12.28
- fix: correctly import TokioIo on Windows by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2896
Full Changelog: https://github.com/seanmonstar/reqwest/compare/v0.12.27...v0.12.28
v0.12.27
- Add
ClientBuilder::windows_named_pipe(name)option that will force all requests over that Windows Named Pipe.
- chore: Disable unused tokio-util codec feature by @tottoto in https://github.com/seanmonstar/reqwest/pull/2893
- chore: Use http_body_util::BodyDataStream by @tottoto in https://github.com/seanmonstar/reqwest/pull/2892
- feat: add windows_named_pipe() option to client builder by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2789
Full Changelog: https://github.com/seanmonstar/reqwest/compare/v0.12.26...v0.12.27
v0.12.26
- Fix sending
Accept-Encodingheader only with values configured with reqwest, regardless of underlying tower-http config.
- deps: update cookie_store by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2886
- fix: disable default compression from tower-http if not enabled in reqwest by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2889
- fix(http3): correct compression defaults by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2890
Full Changelog: https://github.com/seanmonstar/reqwest/compare/v0.12.25...v0.12.26
v0.12.25
- Add
Error::is_upgrade()to determine if the error was from an HTTP upgrade. - Fix sending
Proxy-Authorizationif only username is configured. - Fix sending
Proxy-Authorizationto HTTPS proxies when the target is HTTP. - Refactor internal decompression handling to use tower-http.
- tests: fix wasm timeout test with uncached response by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2853
- docs: document connection pooling behavior by @vinzmyko in https://github.com/seanmonstar/reqwest/pull/2851
- docs: document WASM client by @vinzmyko in https://github.com/seanmonstar/reqwest/pull/2859
- chore: minor improvement for docs by @black5box in https://github.com/seanmonstar/reqwest/pull/2862
- fix: send
proxy-authorizationeven with emptypasswordby @barjin in https://github.com/seanmonstar/reqwest/pull/2868 - feat(error): add
is_upgrademethod to detect protocol upgrade errors by @0x676e67 in https://github.com/seanmonstar/reqwest/pull/2822 - Use decompression from tower-http by @ducaale in https://github.com/seanmonstar/reqwest/pull/2840
- fix(proxy): forward Proxy-Authorization header to HTTPS proxies for HTTP targets by @0x676e67 in https://github.com/seanmonstar/reqwest/pull/2872
- v0.12.25 by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2880
- @vinzmyko made their first contribution in https://github.com/seanmonstar/reqwest/pull/2851
- @black5box made their first contribution in https://github.com/seanmonstar/reqwest/pull/2862
- @barjin made their first contribution in https://github.com/seanmonstar/reqwest/pull/2868
Full Changelog: https://github.com/seanmonstar/reqwest/compare/v0.12.24...v0.12.25
v0.12.24
- Refactor cookie handling to an internal middleware.
- Refactor internal random generator.
- Refactor base64 encoding to reduce a copy.
- Documentation updates.
- build(deps): silence unused deps in WASM build by @0x676e67 in https://github.com/seanmonstar/reqwest/pull/2799
- perf(util): avoid extra copy when base64 encoding by @0x676e67 in https://github.com/seanmonstar/reqwest/pull/2805
- docs: fix method name in changelog entry by @johannespfrang in https://github.com/seanmonstar/reqwest/pull/2807
- chore: Align the name usage of TotalTimeout by @Xuanwo in https://github.com/seanmonstar/reqwest/pull/2657
- refactor(cookie): add
CookieServiceby @linyihai in https://github.com/seanmonstar/reqwest/pull/2787 - Fixes typo in retry max_retries_per_request doc comment re 2813 by @dmackinn in https://github.com/seanmonstar/reqwest/pull/2824
- test(multipart): fix build failure with
no-default-featuresby @0x676e67 in https://github.com/seanmonstar/reqwest/pull/2801 - refactor(cookie): avoid duplicate cookie insertion by @0x676e67 in https://github.com/seanmonstar/reqwest/pull/2834
- @johannespfrang made their first contribution in https://github.com/seanmonstar/reqwest/pull/2807
- @dmackinn made their first contribution in https://github.com/seanmonstar/reqwest/pull/2824
Full Changelog: https://github.com/seanmonstar/reqwest/compare/v0.12.23...v0.12.24
v0.12.23
- 🇺🇩🇸 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.
- 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
- @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
v0.12.22
- Fix socks proxies when resolving IPv6 destinations.
- fix(socks): bracket IPv6 addresses when formatting destination host by @0x676e67 in https://github.com/seanmonstar/reqwest/pull/2753
- Prepare v0.12.22 by @seanmonstar in https://github.com/seanmonstar/reqwest/pull/2754
Full Changelog: https://github.com/seanmonstar/reqwest/compare/v0.12.21...v0.12.22