Skip to content

Releases: StephanHCB/go-autumn-restclient

v0.8.0 less warning spam

20 Feb 11:31
7cf1a5e
Compare
Choose a tag to compare
  • 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

22 Aug 10:41
177d92f
Compare
Choose a tag to compare

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

18 Aug 07:56
1cf4096
Compare
Choose a tag to compare

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

21 Jul 11:16
cc43337
Compare
Choose a tag to compare
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

21 Jul 09:55
0506148
Compare
Choose a tag to compare
Merge pull request #22 from StephanHCB/issue-21-interaction-checker

Issue 21 interaction checker

v0.6.0 playback recording improvements, go 1.18

08 Jun 12:17
70ccc61
Compare
Choose a tag to compare
  • 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)

18 Jan 13:36
f83d7ec
Compare
Choose a tag to compare
Merge pull request #15 from StephanHCB/issue-14-mime-uploads

feat(#14): support any custom body reader and content type

v0.4.4

02 Nov 12:21
f31460e
Compare
Choose a tag to compare

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

01 Nov 11:58
8ca20bb
Compare
Choose a tag to compare

old file names still work, new file names are logged

v0.4.2 allow access to raw byte slice response body

17 Oct 14:27
86fa277
Compare
Choose a tag to compare

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.