Skip to content

Releases: seanmonstar/reqwest

v0.12.4

19 Apr 17:39
Compare
Choose a tag to compare

What's Changed

  • Add zstd support, enabled with zstd Cargo feature (thanks @paolobarbolini!)
  • Add ClientBuilder::read_timeout(Duration), which applies the duration for each read operation. The timeout resets after a successful read.

New Contributors

v0.12.3

05 Apr 14:30
Compare
Choose a tag to compare

What's Changed

  • Add FromStr for dns::Name.
  • Add ClientBuilder::built_in_webpki_certs(bool) to enable them separately.
  • Add ClientBuilder::built_in_native_certs(bool) to enable them separately.
  • Fix sending content-length: 0 for GET requests.
  • Fix response body content_length() to return value when timeout is configured.
  • Fix ClientBuilder::resolve() to use lowercase domain names.

New Contributors

Full Changelog: v0.12.2...v0.12.3

v0.12.2

25 Mar 14:19
Compare
Choose a tag to compare

What's Changed

  • Fix missing ALPN when connecting to socks5 proxy with rustls.
  • Fix TLS version limits with rustls.
  • Fix not detected ALPN h2 from server with native-tls.

New Contributors

Full Changelog: v0.12.1...v0.12.2

v0.12.1

22 Mar 14:01
Compare
Choose a tag to compare

What's Changed

  • Fix ClientBuilder::interface() when no TLS is enabled.
  • Fix TlsInfo::peer_certificate() being truncated with rustls.
  • Fix panic if http2 feature disabled but TLS negotiated h2 in ALPN.
  • Fix Display for Error to not include its source error.

New Contributors

Full Changelog: v0.12.0...v0.12.1

v0.12.0

20 Mar 15:54
Compare
Choose a tag to compare

What's Changed

  • Upgrade to hyper, http, and http-body v1.
  • Add better support for converting to and from http::Request and http::Response.
  • Add http2 optional cargo feature, default on.
  • Add charset optional cargo feature, default on.
  • Add macos-system-configuration cargo feature, default on.
  • Change all optional dependencies to no longer be exposed as implicit features.
  • Add ClientBuilder::interface(str) to specify the local interface to bind to.
  • Experimental: disables the http3 feature temporarily.

Full Changelog: v0.11.27...v0.12.0

v0.11.27

19 Mar 18:29
Compare
Choose a tag to compare

What's Changed

  • Add hickory-dns feature, deprecating trust-dns.
  • (wasm) Fix Form::text() to not set octet-stream for plain text fields.

New Contributors

Full Changelog: v0.11.26...v0.11.27

v0.11.26

12 Mar 15:28
Compare
Choose a tag to compare
  • Revert system-configuration upgrade, which broke MSRV on macOS.

v0.11.25

08 Mar 21:10
Compare
Choose a tag to compare

What's Changed

  • Fix Certificate::from_pem_bundle() parsing.
  • Fix Apple linker errors from detecting system proxies.

New Contributors

Full Changelog: v0.11.24...v0.11.25

v0.11.24

31 Jan 16:49
Compare
Choose a tag to compare

What's Changed

  • Add Certificate::from_pem_bundle() to add a bundle.
  • Add http3_prior_knowledge() to blocking client builder.
  • Remove Sync bounds requirement for Body::wrap_stream().
  • Fix HTTP/2 to retry REFUSED_STREAM requests.
  • Fix instances of converting Url to Uri that could panic.

New Contributors

Full Changelog: v0.11.23...v0.11.24

v0.11.23

18 Dec 20:43
Compare
Choose a tag to compare

What's Changed

  • Add Proxy::custom_http_auth(val) for setting the raw Proxy-Authorization header when connecting to proxies.
  • Fix redirect to reject locations that are not http:// or https://.
  • Fix setting nodelay when TLS is enabled but URL is HTTP.
  • (wasm) Add ClientBuilder::user_agent(val).
  • (wasm) add multipart::Form::headers(headers).

New Contributors