Skip to content

Releases: alexliesenfeld/httpmock

v0.5.0

12 Oct 08:15
Compare
Choose a tag to compare
  • Breaking Change: Function Mock::expect_json_body was renamed to expect_json_body_obj.
  • Breaking Change: Function Mock::return_json_body was renamed to return_json_body_obj.
  • 🚀 Attention: A new API for mock definition was added. The old API is still available and functional,
    but is deprecated from now on. Please consider switching to the new API.
  • 🚀 Attention: The following new assertion functions have been added that will provide you smart and helpful
    error output to support debugging:
    • MockRef::assert
    • MockRef::assert_hits
    • MockRef::assert_async
    • MockRef::assert_hits_async
  • The two methods MockRef::times_called and MockRef::times_called_async are now deprecated. Consider using
    MockRef::hits and MockRef::hits_async.
  • The two methods Mock::return_body and Then::body now accept binary content.
  • The following new methods accept a serde_json::Value:
    • Mock::expect_json_body
    • Mock::return_json_body
    • When::json_body
    • Then::json_body
  • 🔥 Improved documentation (a lot!).
  • 👏 Debug log output is now pretty printed!
  • 🍪 Cookie matching support.
  • Support for convenient temporary and permanent redirect.
  • The log level of some log messages was changed from debug to trace to make debugging easier.

v0.5.0-beta.1

09 Oct 22:15
Compare
Choose a tag to compare
Raised version number

v0.4.5

18 Sep 21:32
Compare
Choose a tag to compare
(cargo-release) httpmock version 0.4.5

v.0.4.4

18 Sep 20:10
Compare
Choose a tag to compare
v0.4.4

(cargo-release) httpmock version 0.4.4

v0.4.3

02 Sep 06:42
116fc2b
Compare
Choose a tag to compare
Merge pull request #9 from ivd-git/typo-in-readme

Fix typo

v0.4.2

09 Jul 18:34
Compare
Choose a tag to compare
Documentation improvements

v0.4.1

09 Jul 18:32
Compare
Choose a tag to compare
Documentation improvements

v0.4.0

03 Jul 22:12
bc0fb63
Compare
Choose a tag to compare
Update README.md

v0.3.5

01 Jul 07:27
Compare
Choose a tag to compare
v0.3.5 Pre-release
Pre-release
Version number increased in documentation.