Releases: lipanski/mockito
Releases · lipanski/mockito
0.4.2
- Fix a bug where response headers were unordered & duplicate header field names were not allowed.
Thanks to @alyssais
0.4.1
- Run the mock server on
127.0.0.1
(instead of 0.0.0.0
).
Thanks to @alyssais
0.4.0
- 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
- 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
- Explicitly set an empty body for non-matching routes (prevents hanging requests for non-matching routes).
- Added more tests.