v0.16.0
Diff Mode
Thanks to @MatousJobanek for adding a new mode to Hoverfly. By switching Hoverfly into diff mode, you can now execute requests against Hoverfly and it will work out the difference between the original service's response and the response stored in the simulation.
hoverctl mode capture
curl http://time.jsontest.com --proxy http://localhost:8500
hoverctl mode diff
curl http://time.jsontest.com --proxy http://localhost:8500
hoverctl diff get
New JSON Path Matching
We have switched all JSON path matching in Hoverfly to now use k8s.io/client-go/util/jsonpath. The end result should be better JSON path matching that should support more queries.
Fixes
- Fixed a bug where responses over HTTPS would lose their
Content-Length
header - Added listen-on-host flag to hoverctl, thanks @fuyivara
- Fixed a bug with scored matching where exactMatch scored the same as a loose matcher
- Improved error logging around JSON Path and XPath matching
- Updated build to use golang 1.10
- Now using dep instead of godeps to manage vendored dependencies