v2.13.1
- fix: correct resty version number which was missed in the previous release by @jeevatkm in https://github.com/go-resty/resty/pull/793
Full Changelog: https://github.com/go-resty/resty/compare/v2.13.0...v2.13.1
v2.13.0
- build: update github actions by @segevda in https://github.com/go-resty/resty/pull/785
- update dependency golang.org/x/net and codecov ci integration by @jeevatkm in https://github.com/go-resty/resty/pull/792
- fix: digest auth by @phw in https://github.com/go-resty/resty/pull/789
- @phw made their first contribution in https://github.com/go-resty/resty/pull/789
Full Changelog: https://github.com/go-resty/resty/compare/v2.12.0...v2.13.0
v2.12.0
- Add Client.Clone function by @fabiante in https://github.com/go-resty/resty/pull/774
- Fixed JSON request logging data race. by @buglloc in https://github.com/go-resty/resty/pull/775
- fix: trailing NULL bytes in buffer while detecting a content type by @jeevatkm in https://github.com/go-resty/resty/pull/779
- fix: encode path params with BaseURL and the first param at index zero (#781) by @sakateka in https://github.com/go-resty/resty/pull/782
- fix: doc typo by @victoraugustolls in https://github.com/go-resty/resty/pull/769
- docs: replace
SetHostURL
toSetBaseURL
by @purofle in https://github.com/go-resty/resty/pull/772 - for v2.12.0 release by @jeevatkm in https://github.com/go-resty/resty/pull/783
- @victoraugustolls made their first contribution in https://github.com/go-resty/resty/pull/769
- @purofle made their first contribution in https://github.com/go-resty/resty/pull/772
- @buglloc made their first contribution in https://github.com/go-resty/resty/pull/775
- @fabiante made their first contribution in https://github.com/go-resty/resty/pull/774
- @sakateka made their first contribution in https://github.com/go-resty/resty/pull/782
Full Changelog: https://github.com/go-resty/resty/compare/v2.11.0...v2.12.0
v2.11.0 Release
Release Notes
Bug Fixes
- Security: Don't put the same bytes.Buffer into sync.Pool twice by @lattwood in https://github.com/go-resty/resty/pull/745, #764, #756
- fix: Improve Digest WWW-Authenticate response header parsing compatibility by @bearki in https://github.com/go-resty/resty/pull/735
New Contributors
- @lattwood made their first contribution in https://github.com/go-resty/resty/pull/745
- @bearki made their first contribution in https://github.com/go-resty/resty/pull/735
Full Changelog: https://github.com/go-resty/resty/compare/v2.10.0...v2.11.0
v2.10.0 Release
Release Notes
Optimizations
- Add Benchmarks and Unit tests for parseRequestBody and improve it by @SVilgelm in https://github.com/go-resty/resty/pull/714
- Benchmarks and Improvements for parseRequestURL function by @SVilgelm in https://github.com/go-resty/resty/pull/711
Enhancements
- feat(enhancement): add SetBody method in Response struct #721 by @jeevatkm in https://github.com/go-resty/resty/pull/724
- chore: update go mod dependency by @jeevatkm in https://github.com/go-resty/resty/pull/731
- chore: version number bump by @jeevatkm in https://github.com/go-resty/resty/pull/719, release updates #732
Bug Fixes
- fix: request debug log loss cookie header when cookiejar in use #424 by @jeevatkm in https://github.com/go-resty/resty/pull/727
- Fix digest auth http: ContentLength=xxx with Body length 0 by @icepie in https://github.com/go-resty/resty/pull/730
New Contributors
- @icepie made their first contribution in https://github.com/go-resty/resty/pull/730
Full Changelog: https://github.com/go-resty/resty/compare/v2.9.1...v2.10.0
v2.10.0-rc.3
Third RC for v2.10.0
Enhancements
- fix: request debug log loss cookie header when cookiejar in use #424 by @jeevatkm in https://github.com/go-resty/resty/pull/727
Full Changelog: https://github.com/go-resty/resty/compare/v2.10.0-rc.2...v2.10.0-rc.3
v2.10.0-rc.2
Second RC for v2.10.0
Enhancements
- feat(enhancement): add SetBody method in Response struct #721 by @jeevatkm in https://github.com/go-resty/resty/pull/724
Full Changelog: https://github.com/go-resty/resty/compare/v2.10.0-rc.1...v2.10.0-rc.2
v2.10.0-rc.1
First RC for v2.10.0
Enhancements
- optimization: Add Benchmarks and Unit tests for parseRequestBody and improve it by @SVilgelm in https://github.com/go-resty/resty/pull/714
- optimization: Benchmarks and Improvements for parseRequestURL function by @SVilgelm in https://github.com/go-resty/resty/pull/711
- chore: version number bump by @jeevatkm in https://github.com/go-resty/resty/pull/719
Full Changelog: https://github.com/go-resty/resty/compare/v2.9.1...v2.10.0-rc.1
v2.9.1 Release
Release Notes
- chore: readme, docs, and version update by @jeevatkm in https://github.com/go-resty/resty/pull/716
Full Changelog: https://github.com/go-resty/resty/compare/v2.9.0...v2.9.1
v2.9.0 Release
Release Notes
New Features
- Add rate limiter to client by @SVilgelm in https://github.com/go-resty/resty/pull/715
Enhancements
- refactor: inherit value from client enables clean request overrides #516 by @jeevatkm in https://github.com/go-resty/resty/pull/706
- optimization: Improve parseRequestHeader function and add the unit tests and benchmarks by @SVilgelm in https://github.com/go-resty/resty/pull/712
Bug Fixes
- fix: parseResponseBody overrides original error code in case of unmar… by @dmartinol in https://github.com/go-resty/resty/pull/674
- Set ContentLength to 0 when Body is nil by @praem90 in https://github.com/go-resty/resty/pull/698
- fix: improve regex expression for json and xml content type validation by @jeevatkm in https://github.com/go-resty/resty/pull/702
- fix: add missing source files in the bazel build config #700 by @jeevatkm in https://github.com/go-resty/resty/pull/707
Test Cases
- test: add test example for unix socket client and update readme #589 by @jeevatkm in https://github.com/go-resty/resty/pull/703
- test: added validation test case, unable to reproduce #524 by @jeevatkm in https://github.com/go-resty/resty/pull/704
- unit tests for parseRequestURL function by @SVilgelm in https://github.com/go-resty/resty/pull/709
- fix TestClientOnResponseError parallel tests by @SVilgelm in https://github.com/go-resty/resty/pull/710
Documentation
- docs: fix OnBeforeRequst doc application order by @leejuyuu in https://github.com/go-resty/resty/pull/701
New Contributors
- @dmartinol made their first contribution in https://github.com/go-resty/resty/pull/674
- @praem90 made their first contribution in https://github.com/go-resty/resty/pull/698
- @leejuyuu made their first contribution in https://github.com/go-resty/resty/pull/701
Full Changelog: https://github.com/go-resty/resty/compare/v2.8.0...v2.9.0