Skip to content

Releases: IBM/mocktail

0.3.2

16 Apr 22:36
6980e80

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.3.1...0.3.2

0.3.1

16 Apr 22:26
860e75e

Choose a tag to compare

What's Changed

Full Changelog: 0.3.0...0.3.1

0.3.0

11 Jul 20:02
0ca52ec

Choose a tag to compare

This is a small release but can be considered a breaking as the MockServer.grpc() builder method has been deprecated in favor of MockServer::new_grpc() in #53, which should be used instead of MockServer::new().grpc() to create a gRPC mock server. MockServer::new() is unchanged and still creates a HTTP mock server, with MockServer::new_http() added as an alternative.

Starting with this release, the -alpha suffix is dropped from the version, but 0.* releases should still be considered alpha.

What's Changed

  • [Enhancement] Add MockServer::new_http() and MockServer::new_grpc() to specify the server type more explicitly by @declark1 in #53
  • [Fix] Canonicalize headers when creating a HeaderMatcher by @bIgBV in #50

New Contributors

  • @bIgBV made their first contribution in #50

0.2.5-alpha

17 Apr 18:01
6296c27

Choose a tag to compare

What's Changed

  • [Feature] Add Mock limit option to limit the number of times a mock can be matched by @ferranjr in #33
  • [Enhancement] Add Mock id and match_count fields, add MockServerState, rename mock_with_priority to mock_with_options by @declark1 in #35
  • [Enhancement/Fix] Improve logic to find available port and add MockServerConfig with an initial set of options to make this configurable by @mdevino in #39
  • [Misc] Drop tonic dependency by @declark1 in #46
    • Also resolves bug in #43 due to breaking changes in v0.13.0
  • [Misc] Make MockServer Send by @mirosval in #44
  • [Misc] Add missing head() method to When and additional convenience methods to Then for common errors by @declark1 in #27
  • [Misc] Make MockSet Clone by @mdevino in #41

New Contributors

0.2.4-alpha

18 Mar 17:48
29d09ed

Choose a tag to compare

0.2.4-alpha Pre-release
Pre-release

What's Changed

  • [Fix] Refactored approach to enable comparing Matcher trait objects by @declark1 in #22
  • [Enhancement] Added service request validation by @declark1 in #23

0.2.3-alpha

13 Mar 16:55
5f1c95f

Choose a tag to compare

0.2.3-alpha Pre-release
Pre-release

What's Changed

  • [Feature] Added 4 new matchers and associated When methods by @declark1 in #14
    • PathPrefixMatcher (path_prefix)
    • QueryParamsMatcher (query_params)
    • QueryParamMatcher (query_param)
    • QueryParamExistsMatcher (query_param_exists)
  • [Enhancement] Several Request updates by @declark1 in #14
    • Added url field (replaces path and query fields)
    • Added methods: url, query_pairs, and method
    • Dropped with_query method
  • [Misc] Dropped Cargo.lock file and added it to .gitignore (woops) by @declark1
  • [Misc] Updated dependency version requirements to be less restrictive by @declark1
  • [Misc] Dropped unused dependencies, updated feature flags by @declark1 in #17

0.2.2-alpha

12 Mar 21:07
2e1ebc0

Choose a tag to compare

0.2.2-alpha Pre-release
Pre-release

What's Changed

  • [Fix] Dropped server graceful shutdown functionality for now by @declark1 in #13
    • We can revisit adding this properly at a later time
  • [Misc] Added StatusCode associated constants for all error codes by @mdevino in #12
  • [Misc] Added MockServer::hostname() convenience method, returning the ip string by @declark1 in #11
  • [Misc] Updated dependencies

New Contributors

0.2.1-alpha

12 Mar 17:25

Choose a tag to compare

0.2.1-alpha Pre-release
Pre-release
Improve module structure, reorganize exports, add doc comments, updat…

0.2.0-alpha

11 Mar 23:47
b8e6674

Choose a tag to compare

0.2.0-alpha Pre-release
Pre-release
Export StatusCode, add a couple of tests (#7)

Signed-off-by: declark1 <44146800+declark1@users.noreply.github.com>

0.1.3-alpha

06 Mar 03:31
38a5a0b

Choose a tag to compare

0.1.3-alpha Pre-release
Pre-release
Expose server mocks and enable mutability (#5)

Signed-off-by: declark1 <44146800+declark1@users.noreply.github.com>