Releases: StephanHCB/go-autumn-restclient
Releases · StephanHCB/go-autumn-restclient
v0.8.0 less warning spam
- requestlogger and retry both allow controlling log messages a bit more. Use NewWithOpts(...) to set up.
v0.7.3 fix support for raw body pointer during playback
This change adds a compatibility layer so old recordings continue to work when migrating to a client using **[]byte. New recordings will still record the response as a string.
v0.7.2 Support raw body pointer during playback
WIth our generator using the raw body pointer more, we noticed that this feature was forgotten in the playback implementation. This release fixes that bug.
v0.7.1 fix verifier for non-json request bodies
Merge pull request #23 from StephanHCB/issue-21-fix-nonjson-body fix(#21): support non-json body types
v0.7.0 add simple interaction verifier
Merge pull request #22 from StephanHCB/issue-21-interaction-checker Issue 21 interaction checker
v0.6.0 playback recording improvements, go 1.18
- update to go 1.18 minimum requirement (needed for current tinylru)
- allow providing an external filename function for recording and playback
- pass request body to filename function (unused in the default implementation)
v0.5.0 support arbitrary request bodies (e.g. file uploads)
Merge pull request #15 from StephanHCB/issue-14-mime-uploads feat(#14): support any custom body reader and content type
v0.4.4
Support moving recordings during test run
(helps with cleaning up old recordings and adapting to changed filename schemes)
v0.4.3 sort query parameters when recording
old file names still work, new file names are logged
v0.4.2 allow access to raw byte slice response body
If you pass in a **[]byte in the response body field, you will be provided with the response body []byte slice (zero copy).
This is useful for downloading files or for other requests that do not return application/json.