Skip to content

v0.2.0

Choose a tag to compare

@seanmonstar seanmonstar released this 14 Dec 18:18
· 1253 commits to master since this release

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>)