Releases: senseyeio/mbgo
Bug fix release
Logical predicate operator support
Adds proper logical operator support for predicates, where JSON marshaling and un-marshaling will now handle a nested predicate or list of predicates in the "Request" field.
v2.1 support
This PR updates the client with some v2.1 features in mountebank, namely:
- Support mutating stubs without restarting the imposter.
- Support using JavaScript injection to generate predicates.
The existing API should remain intact but will be expanded upon, so things are being re-tagged on a new minor version.
Context support
This release introduces a breaking change to the API as well as some bug fixes and general cleanup:
-
All mountebank client methods now take a
context.Contextvalue as their first argument. -
Updated the type for HTTP request headers and query parameters to use the
http.Headerandurl.Valuestypes, respectively. This will make things more idiomatic by working with stdlib types, but also addresses a JSON un-marshaling bug when more than one value was provided per key on either structure. -
Cleaned up the godocs in various places.
-
Added new function to the internal assertion library, updated testing in some spots.
Initial release
Initial release