Skip to content

Releases: go-resty/resty

v2.8.0 Release

18 Sep 01:21
d9bcfaa
Compare
Choose a tag to compare

Release Notes

New Features

  • Add digest authentication by @segevda in #583
  • feat: add SetLogger() method on Request by @muir in #584
  • add OnSuccess, OnPanic, and OnInvalid hooks by @muir in #586
  • Support RawPathParams without escaping by @SVilgelm in #664
  • feat: add SetDebug() method on Request by @jeevatkm in #693

Enhancements

Bug Fixes

Documentation

Build

Deprecated Removal

  • Remove usages of deprecated io/ioutil by @segevda in #625 (go minimum version go1.16)

New Contributors

Full Changelog: v2.7.0...v2.8.0

v2.7.0 Release

04 Nov 05:33
3d08b36
Compare
Choose a tag to compare

Release Notes

Enhancements

Bug Fixes

Tests

  • Add 1.16.x and remove 1.14.x from the Travis build PR #434 @kishaningithub
  • Migrated from Travis CI to Github Actions #479 PR #480 @jeevatkm
    • Thank you Travis CI for these many years of CI service to Resty project

Documentation

v2.6.0 Release

09 Apr 07:55
70336cb
Compare
Choose a tag to compare

Release Notes

Features

Enhancements

  • Added AddRetryAfterErrorCondition() option PR #384 @gtpaulose
  • Refactor(retry.sleepDuration): ♻️ extract jitterBackoff function PR #406 @ninedraft
  • Added a way set a Non-Canonical Header PR #413 @Lao-Tuo
  • Test case update When SetRetryCount -1, both resp and error are nil PR #392 @yjhmelody

General

  • Addressing checksum issue on v2.5.0 with this release

v2.5.0 Release

11 Feb 10:22
a4a0c5d
Compare
Choose a tag to compare

Release Notes

Bug Fixes

v2.4.0 Release

11 Jan 22:57
e3917a5
Compare
Choose a tag to compare

Release Notes

Features

  • Added a new OnError hook that is called when a Resty request returns an error PR #398 @justenwalker

Enhancements

Bug Fixes

  • Fixed - Trace timing issue when reused connections #346 PR #347 @moorereason
  • Fixed - Request, execute user defined middlewares after resty's internal middlewares PR #355 @lggomez
  • Fixed - Incorrect response time when saving the response file PR #357 @iwaltgen
  • Fixed - Set supplied argument value to the field PR #368 @lewisay
  • Fixed - Body size 0 when HTTP status code is 307, 308 #300 PR #380 @shiguangyin
  • Fixed - Travis Build issue, many PRs are waiting PR #366 @jeevatkm
  • Fixed - Retry sleep computation for 32bit arch PR #388 @creekorful

Documentation

v2.3.0 Release

21 May 07:40
19d4968
Compare
Choose a tag to compare

Release Notes

New Features

Enhancements

Bug Fixes

v2.3.0-rc.2

12 May 06:11
e7fae0d
Compare
Choose a tag to compare
v2.3.0-rc.2 Pre-release
Pre-release

Next release candidate 😄

v2.3.0-rc.1

11 May 01:35
98f59aa
Compare
Choose a tag to compare
v2.3.0-rc.1 Pre-release
Pre-release

First release candidate for v2.3.0.

v2.2.0 Release

24 Feb 04:26
bcec4e0
Compare
Choose a tag to compare

Release Notes

Enhancements

  • Added Request.Send() method to execute Request as-is PR #286 @dan-rising
  • Applied debugBodySizeLimit to Request debug logger PR #297 @viennadd
  • Added SetRootCertificateFromString method to read cert from string PR #313 @dzaytsev91

Bug Fixes

  • Fixed - Trace context overrides request context if EnableTrace #285, PR #284 @xixinjie
  • Fixed - Failing first request and successfully retrying carries error from first #289, PR #290 @phillc
  • Fixed - Panic When Calling TraceInfo But Tracing Has Not Been Enabled #293, PR #296 @JonnyPillar

Documentation

v2.1.0 Release

10 Oct 09:05
de0735f
Compare
Choose a tag to compare

Release Notes

Enhancements

  • Added support for func http.Request.GetBody, so request body manipalation can be done via PreRequestHook (such as adding Content-MD5 entity-header, etc) #242 @jeevatkm
  • Added SetCookie and SetCookies method added into Request object #257 @jeevatkm
  • Updated default JSON request content-type value without charset per RFC e.g., application/json #258 @jeevatkm
  • Reducing memory allocation during debug log processing PR #277 @vivekv96
  • Code improvements @jeevatkm

Bug Fixes