0.18.0
- [Breaking] The minimum supported Rust version was increased to 1.32, after upgrading the rand crate dependency to 0.7.0.
- Introduced
Matcher::AllOf
, which can be used to check a set of matchers in conjunction. It works in a similar way to the existingMatcher::AnyOf
. - Introduced
Matcher::UrlEncoded
to match key/value pairs in URL-encoded strings. - Introduced
Mock#match_query
to be able to match the URL query part distinctly from the path. The function supports all known matchers but works best withMatcher::UrlEncoded
. The old behaviour of matching the query as part of the path argument in amock
call has been preserved, but usingMock#match_query
has the effect of overriding that.
🎈 🎈 🎈