Lightweight service virtualization/ API simulation / API mocking tool for developers and testers
-log-no-quotes
CLI flag to disable quoting/escaping of fields in logs by @benediktwerner in https://github.com/SpectoLabs/hoverfly/pull/1115
Full Changelog: https://github.com/SpectoLabs/hoverfly/compare/v1.7.0...v1.8.0
and most importantly, supporting CSV data for response templating!! Please check out the doc here. Great work by @kapishmalik 👏
Full Changelog: https://github.com/SpectoLabs/hoverfly/compare/v1.6.3...v1.7.0
Minor bug fixes for journal search endpoint.
Minor bug fix and security update.
Small release with a security update and revamp of the Hoverfly readthedocs with a more recent version of Sphinx v5.3.0.
You can specify and invoke a callback for an HTTP response using post-serve action. More details can be found in this tutorial.
This release also includes a journal bug fix for handling binary data in the request body.
Security updates.
Bug fixes related to the Form and Array matcher. Thanks to @kapishmalik
Bug fix for URL-encoded form request data capturing.
Massive thanks to @kapishmalik and @petkostas! Hoverfly's simulation schema has been bumped to v5.2 to support these new awesome matchers 🚀 :
Most excitingly new schema lets you do matcher chaining to create powerful matchers, for example, you can match a JWT token's payload containing a name JSON field with the value "John Doe", and the JWT token is present in a URL encoded form.
"body": [{
"matcher": "form",
"value": {
"client_assertion": [{
"matcher": "jwt",
"value": "{\"header\":{\"alg\":\"HS256\"},\"payload\":{}}",
"doMatch": {
"matcher": "jsonpath",
"value": "$.payload",
"doMatch": {
"matcher": "jsonpath",
"value": "$.name",
"doMatch": {
"matcher": "exact",
"value": "John Doe"
}
}
}
}]
}
}]
For more info, please check out the doc here.
v5.2 simulation also supports declaring global literals and variables for templated response. These are the constants and helper methods which you want to re-use for templating throughout a simulation.
Other changes include Go version upgrade to 1.18 and other dependency bumps (thanks @joobus )