v0.8.0-alpha.1
Pre-release
Pre-release
alexliesenfeld
released this
01 Sep 20:37
·
26 commits
to master
since this release
BREAKING CHANGES
- A new MockServer::reset method was added that resets a mock server. Thanks for providing the pull request for this feature, @dax.
- The default port for standalone server was changed from
5000
to5050
due to conflicts with system services on macOS. - Custom matcher functions are now closures rather than functions.
- When::json_body_partial was renamed to
json_body_includes
. - When::x_www_form_urlencoded_tuple was renamed to
form_urlencoded_tuple
. - When::x_www_form_urlencoded_key_exists was renamed to
form_urlencoded_key_exists
. - Error message output has been changed for better readability (e.g., when calling
Mock::assert
). - Custom matcher function
When::matches
has been renamed toWhen::is_true
.
Improvements
- Record and Playback mode was added
- Many new matchers functions have been added
- Proxy Mode was added
- Website docs have been created (see https://alexliesenfeld.github.io/httpmock/)
- HTTPS support added
- Internal implementation was entirely rewritten