Skip to content

0.18.0

Compare
Choose a tag to compare
@lipanski lipanski released this 11 Jul 18:38
· 220 commits to master since this release
  • [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 existing Matcher::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 with Matcher::UrlEncoded. The old behaviour of matching the query as part of the path argument in a mock call has been preserved, but using Mock#match_query has the effect of overriding that.

🎈 🎈 🎈