Skip to content

Releases: go-resty/resty

v2.9.0 Release

01 Oct 02:06
e52a7e0
Compare
Choose a tag to compare

Release Notes

New Features

Enhancements

  • refactor: inherit value from client enables clean request overrides #516 by @jeevatkm in #706
  • optimization: Improve parseRequestHeader function and add the unit tests and benchmarks by @SVilgelm in #712

Bug Fixes

  • fix: parseResponseBody overrides original error code in case of unmar… by @dmartinol in #674
  • Set ContentLength to 0 when Body is nil by @praem90 in #698
  • fix: improve regex expression for json and xml content type validation by @jeevatkm in #702
  • fix: add missing source files in the bazel build config #700 by @jeevatkm in #707

Test Cases

Documentation

  • docs: fix OnBeforeRequst doc application order by @leejuyuu in #701

New Contributors

Full Changelog: v2.8.0...v2.9.0

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