Releases: StephanHCB/go-autumn-restclient
Releases · StephanHCB/go-autumn-restclient
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.
v0.4.1 shorten recording filenames for new recordings
- fixes not being able to check repos out on windows git bash due to path length limitations
v0.4.0 add instrumentation callbacks
- add instrumentation callbacks (metrics etc.) to http client, request cache, retryer
- also adds an error log line and cache cleanup if the cache encounters an entry of the wrong type (which should never actually happen)
v0.3.2 expose request time (even when caching)
expose request time with testing and cache support
v0.3.1 limit filename length even more, small logging fixes
fixes and more testing, limit filename length some more
v0.3.0 docs, testing tools
- add request capture
- add recorder and playback (for mocking in integration tests)
- expand documentation and example code
v0.2.1 fix caching
fix caching, allow customization of cache key generation
v0.2.0 caching with tidwall/tinylru
- add flexible request caching using tidwall/tinylru (MIT licensed zero dependencies LRU cache)