Skip to content

Releases: SpectoLabs/hoverfly

v1.6.0

Choose a tag to compare

@tommysitu tommysitu released this 12 Sep 22:08

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.

v1.5.3

Choose a tag to compare

@tommysitu tommysitu released this 22 Jun 21:24

Security updates.

v1.5.2

Choose a tag to compare

@tommysitu tommysitu released this 18 Mar 10:46

Bug fixes related to the Form and Array matcher. Thanks to @kapishmalik

v1.5.1

Choose a tag to compare

@tommysitu tommysitu released this 05 Mar 20:00

Bug fix for URL-encoded form request data capturing.

v1.5.0

Choose a tag to compare

@tommysitu tommysitu released this 26 Feb 00:11

Massive thanks to @kapishmalik and @petkostas! Hoverfly's simulation schema has been bumped to v5.2 to support these new awesome matchers 🚀 :

  • Array matcher: supports loose matching for array values, and this will be the default matcher for multi-value query param or header in captured data.
  • Form matcher: matches request payload with URL encoded form.
  • JWT matcher: has a built-in JWT parser, and lets you match JWT with its decoded JSON form directly.

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 )

v1.4.0

Choose a tag to compare

@tommysitu tommysitu released this 02 Nov 22:26

v1.3.7

Choose a tag to compare

@tommysitu tommysitu released this 22 Aug 21:16

Add support for Apple silicon and ARM64 architecture support for Hoverfly Docker image.

v1.3.6

Choose a tag to compare

@tommysitu tommysitu released this 27 Mar 22:19

Renew default Hoverfly CA cert

v1.3.5

Choose a tag to compare

@tommysitu tommysitu released this 08 Mar 22:42

Pre-load cache bugfix: #1009

v1.3.4

Choose a tag to compare

@tommysitu tommysitu released this 23 Feb 21:08

Bug fixes including xpath library upgrade. Add templating support for transitionsState, thanks to @ns3777k