Skip to content

0.5 Alpha 3

Pre-release
Pre-release
Compare
Choose a tag to compare
@release-drafter release-drafter released this 20 Jul 20:28
· 429 commits to master since this release
c21be73

Breaking Changes

  • Rename Client to HttpClient and ClientBuilder to HttpClientBuilder. For usability it helps to include the client type in our prelude, but the name Client is just a little too generic to do that. Using the name HttpClient is much less ambiguous as to what kind of client is in question. It's also a very common type name for HTTP clients and adds to familiarity. (#46)

Added

  • Make ResponseFuture part of public API.
  • Add convenience method for downloading to a file.

Fixed

  • Fix a bug where sending a HEAD request might hang waiting on the response until the server closes the connection.
  • Fix various potential bugs in how certain HTTP verbs are handled by using explicit curl options for a verb if one exists.
  • Fix some warning emitted by Clippy.

Changed

  • Update parking_lot requirement from 0.8 to 0.9 (#45) @dependabot-preview
  • Replace usages of rouille with mockito in integration tests, as it has a lot of nice convenience methods and is a little lighter on the dependencies.