Releases: alexliesenfeld/httpmock
Releases · alexliesenfeld/httpmock
v0.5.0
- ❌ Breaking Change: Function
Mock::expect_json_body
was renamed toexpect_json_body_obj
. - ❌ Breaking Change: Function
Mock::return_json_body
was renamed toreturn_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
andMockRef::times_called_async
are now deprecated. Consider using
MockRef::hits
andMockRef::hits_async
. - The two methods
Mock::return_body
andThen::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
totrace
to make debugging easier.
v0.5.0-beta.1
Raised version number
v0.4.5
(cargo-release) httpmock version 0.4.5
v.0.4.4
v0.4.4 (cargo-release) httpmock version 0.4.4
v0.4.3
Merge pull request #9 from ivd-git/typo-in-readme Fix typo
v0.4.2
Documentation improvements
v0.4.1
Documentation improvements
v0.4.0
Update README.md
v0.3.5
Version number increased in documentation.