Skip to content

Releases: SpectoLabs/hoverfly

v1.5.0

26 Feb 00:11
Compare
Choose a tag to compare

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

02 Nov 22:26
Compare
Choose a tag to compare

v1.3.7

22 Aug 21:16
Compare
Choose a tag to compare

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

v1.3.6

27 Mar 22:19
Compare
Choose a tag to compare

Renew default Hoverfly CA cert

v1.3.5

08 Mar 22:42
Compare
Choose a tag to compare

Pre-load cache bugfix: #1009

v1.3.4

23 Feb 21:08
Compare
Choose a tag to compare

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

v1.3.3

18 Aug 22:33
Compare
Choose a tag to compare

go 1.16 upgrade and some dependency bumps. Minor bug fixes, mainly for the JSON matcher, also handle gzipped request body for simulate and capture a bit better.

v1.3.2

01 Feb 22:06
Compare
Choose a tag to compare

Supports remote response body file: doc (thanks to @ns3777k)

Also build Hoverfly for Linux/ARM64 as requested by the community.

v1.3.1

05 Sep 20:11
Compare
Choose a tag to compare

bug fixes

v1.3.0

26 Jun 21:09
Compare
Choose a tag to compare

Simulation schema is upgraded to v5.1 to support the following new features (a big thanks to @ns3777k):

The binary size is up a few MBs after switching to go mod since v1.2.0, so this release strip off the debugger info to squeeze it down a little bit while we come up with a plan for hoverfly to lose some weight.