Skip to content

Releases: seanmonstar/reqwest

v0.5.0

25 Mar 00:32
Compare
Choose a tag to compare

Features

  • Automatic GZIP decoding: By default, Client will try to decode any responses that appear to be gzip encoded (based on headers). This can be disabled via client.gzip(false) (ab5e477)
  • Specify a timeout for requests using client.timeout(duration). (ec049fe)
  • Request bodies with a known length can be constructed with Body::sized() (82f1877)
  • Add Client.put, Client.patch, and Client.delete convenience methods (c37b8aa, 4d6582d, a3983f3)
  • Add reqwest::mime (0615c6d)

Breaking Changes

The only breaking change is a behavioral one, all programs should still compile without modification. The automatic GZIP decoding could interfere in cases where a user was expecting the GZIP bytes, either to save to a file or decode themselves. To restore this functionality, set client.gzip(false).

Thanks

All features were from these contributors, so thanks!

v0.4.0

31 Jan 23:03
Compare
Choose a tag to compare
  • updated to serde 0.9

v0.3.0

31 Jan 23:02
Compare
Choose a tag to compare
  • updated to hyper 0.10

v0.2.0

14 Dec 18:18
Compare
Choose a tag to compare

Features

  • add Response.json() method (2d10ecc)
  • add RedirectPolicy (e92b3e8)
  • set an Accept: */* header by default if no Accept header is set (559ae80)
  • add support for 307 and 308 redirects (a54447c)
  • implement Sync for Client, and Send for RequestBuilder and Response (d18a53b)
  • implement Send for Error (20b1610)
  • implement std::fmt::Debug for all public types (d624b0e)

Breaking Changes

  • Error::Serialize now has a Box<StdError + Send + Sync> instead of Box<StdError>
  • RequestBuilder no longer has an associated lifetime (was RequestBuilder<'a>)

v0.1.0

10 Dec 19:57
Compare
Choose a tag to compare