All Versions
15
Latest Version
Avg Release Cycle
41 days
Latest Release
512 days ago

Changelog History
Page 1

  • v2.3.0 Changes

    May 21, 2020

    ๐Ÿš€ Release Notes

    ๐Ÿ†• New Features

    โœจ Enhancements

    ๐Ÿ› Bug Fixes

  • v2.3.0-rc.2 Changes

    May 12, 2020

    ๐Ÿš€ Next release candidate ๐Ÿ˜„

  • v2.3.0-rc.1 Changes

    May 11, 2020

    ๐Ÿš€ First release candidate for v2.3.0.

  • v2.2.0 Changes

    February 24, 2020

    ๐Ÿš€ 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 Changes

    October 10, 2019

    ๐Ÿš€ 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

    • ๐Ÿ›  Fixed missing cookie values in the debug log from Cookie Jar #260, PR #261 @matthewpoer
    • ๐Ÿ›  Fixed Debug emits incorrect body when body contains % #270, PR #270 @kmanley
  • v2.0.0 Changes

    July 17, 2019

    ๐Ÿš€ Release Notes

    How to use Resty v2?

    Please refer to README

    ๐Ÿ†• New Features

    โœจ Enhancements

    • ๐Ÿ— Build User-Agent string only once PR #221 @moorereason
    • Retry Backoff algorthim and follow enhancement PR #237 @neganovalexey
    • ๐ŸŒฒ Log request and response debug log together for easy debugging, its highly helpful for parallel #218 @jeevatkm
    • 0๏ธโƒฃ Default values set while http.Transport creation simliar to Langauge default client #212 @jeevatkm
      • Timeout, KeepAlive, MaxIdleConns, IdleConnTimeout, TLSHandshakeTimeout, ExpectContinueTimeout, MaxIdleConnsPerHost
    • โž• Added support to multipart/form-data payload without filename and content type values PR #236 @larryhu
    • โž• Added HTTP verb PATCH into multipart support #239 @jeevatkm

    ๐Ÿ’ฅ Breaking Changes - Migrating v1.x to v2

    • Resty v2 import path have changed to github.com/go-resty/resty #215 @jeevatkm
      • Resty v1 import path is not affected.
    • ๐Ÿšš Resty Default Client approach have been removed. Create an instance of Resty client with appropriate settings for usage #232 @jeevatkm
    • PreRequestHook signature have been updated to func(cl *Client, r *http.Request) error #217 @jeevatkm
    • โšก๏ธ Retry condition function signature updated to RetryConditionFunc func(*Response, error) bool #237, #214 @neganovalexey, @jeevatkm
    • Resty v2 brings new Logger interface #229, refer to godoc @jeevatkm
    • Methods to accept type url.Values for Query string and Form data on Request struct #213 @jeevatkm
      • Refactored method from Request.SetMultiValueQueryParams to Request.SetQueryParamsFromValues
      • Refactored method from Request.SetMultiValueFormData to Request.SetFormDataFromValues
  • v2.0.0-rc.4

    July 16, 2019
  • v2.0.0-rc.3 Changes

    June 18, 2019

    ๐Ÿš€ Third release candidate ๐Ÿ˜„

  • v2.0.0-rc.2 Changes

    March 28, 2019

    ๐Ÿš€ Second release candidate ๐Ÿ˜„

  • v2.0.0-rc.1 Changes

    March 13, 2019

    ๐Ÿš€ First Release Candidate