Skip to content

Releases: lipanski/mockito

0.5.0

22 May 17:32

Choose a tag to compare

  • Replaced hyper with curl + http-muncher: resulted in a significant speed improvement and support for Windows.

0.4.2

20 May 21:21

Choose a tag to compare

  • Fix a bug where response headers were unordered & duplicate header field names were not allowed.

Thanks to @alyssais

0.4.1

20 May 12:59

Choose a tag to compare

  • Run the mock server on 127.0.0.1 (instead of 0.0.0.0).

Thanks to @alyssais

0.4.0

19 May 20:29

Choose a tag to compare

  • Update serde suite to v1.
  • Rewrite internal server to talk JSON (via serde).
  • Expose the mockito::start() method so Mockito can be used as a standalone mock server (API documentation on that is missing though).

0.3.0

02 Apr 22:07

Choose a tag to compare

  • Introduced advanced header matchers: Matcher::Any to match only by the field name and Matcher::Missing to match the absence of a particular header. These are used within the Mock::match_header call.
  • The old behaviour of matching the header value by &str was kept backwards compatible.

0.2.5

26 Feb 20:31

Choose a tag to compare

  • Explicitly set an empty body for non-matching routes (prevents hanging requests for non-matching routes).
  • Added more tests.