go-resty/resty (github.com/go-resty/resty/v2)
### [`v2.10.0`](https://togithub.com/go-resty/resty/releases/tag/v2.10.0): Release
[Compare Source](https://togithub.com/go-resty/resty/compare/v2.9.1...v2.10.0)
### Release Notes
#### Optimizations
- Add Benchmarks and Unit tests for parseRequestBody and improve it by [@SVilgelm](https://togithub.com/SVilgelm) in [https://github.com/go-resty/resty/pull/714](https://togithub.com/go-resty/resty/pull/714)
- Benchmarks and Improvements for parseRequestURL function by [@SVilgelm](https://togithub.com/SVilgelm) in [https://github.com/go-resty/resty/pull/711](https://togithub.com/go-resty/resty/pull/711)
#### Enhancements
- feat(enhancement): add SetBody method in Response struct [#721](https://togithub.com/go-resty/resty/issues/721) by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/724](https://togithub.com/go-resty/resty/pull/724)
- chore: update go mod dependency by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/731](https://togithub.com/go-resty/resty/pull/731)
- chore: version number bump by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/719](https://togithub.com/go-resty/resty/pull/719), release updates [#732](https://togithub.com/go-resty/resty/issues/732)
#### Bug Fixes
- fix: request debug log loss cookie header when cookiejar in use [#424](https://togithub.com/go-resty/resty/issues/424) by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/727](https://togithub.com/go-resty/resty/pull/727)
- Fix digest auth http: ContentLength=xxx with Body length 0 by [@icepie](https://togithub.com/icepie) in [https://github.com/go-resty/resty/pull/730](https://togithub.com/go-resty/resty/pull/730)
#### New Contributors
- [@icepie](https://togithub.com/icepie) made their first contribution in [https://github.com/go-resty/resty/pull/730](https://togithub.com/go-resty/resty/pull/730)
**Full Changelog**: https://github.com/go-resty/resty/compare/v2.9.1...v2.10.0
### [`v2.9.1`](https://togithub.com/go-resty/resty/releases/tag/v2.9.1): Release
[Compare Source](https://togithub.com/go-resty/resty/compare/v2.9.0...v2.9.1)
#### Release Notes
- chore: readme, docs, and version update by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/716](https://togithub.com/go-resty/resty/pull/716)
**Full Changelog**: https://github.com/go-resty/resty/compare/v2.9.0...v2.9.1
### [`v2.9.0`](https://togithub.com/go-resty/resty/releases/tag/v2.9.0): Release
[Compare Source](https://togithub.com/go-resty/resty/compare/v2.8.0...v2.9.0)
##### Release Notes
##### New Features
- Add rate limiter to client by [@SVilgelm](https://togithub.com/SVilgelm) in [https://github.com/go-resty/resty/pull/715](https://togithub.com/go-resty/resty/pull/715)
##### Enhancements
- refactor: inherit value from client enables clean request overrides [#516](https://togithub.com/go-resty/resty/issues/516) by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/706](https://togithub.com/go-resty/resty/pull/706)
- optimization: Improve parseRequestHeader function and add the unit tests and benchmarks by [@SVilgelm](https://togithub.com/SVilgelm) in [https://github.com/go-resty/resty/pull/712](https://togithub.com/go-resty/resty/pull/712)
##### Bug Fixes
- fix: parseResponseBody overrides original error code in case of unmar… by [@dmartinol](https://togithub.com/dmartinol) in [https://github.com/go-resty/resty/pull/674](https://togithub.com/go-resty/resty/pull/674)
- Set ContentLength to 0 when Body is nil by [@praem90](https://togithub.com/praem90) in [https://github.com/go-resty/resty/pull/698](https://togithub.com/go-resty/resty/pull/698)
- fix: improve regex expression for json and xml content type validation by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/702](https://togithub.com/go-resty/resty/pull/702)
- fix: add missing source files in the bazel build config [#700](https://togithub.com/go-resty/resty/issues/700) by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/707](https://togithub.com/go-resty/resty/pull/707)
##### Test Cases
- test: add test example for unix socket client and update readme [#589](https://togithub.com/go-resty/resty/issues/589) by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/703](https://togithub.com/go-resty/resty/pull/703)
- test: added validation test case, unable to reproduce [#524](https://togithub.com/go-resty/resty/issues/524) by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/704](https://togithub.com/go-resty/resty/pull/704)
- unit tests for parseRequestURL function by [@SVilgelm](https://togithub.com/SVilgelm) in [https://github.com/go-resty/resty/pull/709](https://togithub.com/go-resty/resty/pull/709)
- fix TestClientOnResponseError parallel tests by [@SVilgelm](https://togithub.com/SVilgelm) in [https://github.com/go-resty/resty/pull/710](https://togithub.com/go-resty/resty/pull/710)
##### Documentation
- docs: fix OnBeforeRequst doc application order by [@leejuyuu](https://togithub.com/leejuyuu) in [https://github.com/go-resty/resty/pull/701](https://togithub.com/go-resty/resty/pull/701)
##### New Contributors
- [@dmartinol](https://togithub.com/dmartinol) made their first contribution in [https://github.com/go-resty/resty/pull/674](https://togithub.com/go-resty/resty/pull/674)
- [@praem90](https://togithub.com/praem90) made their first contribution in [https://github.com/go-resty/resty/pull/698](https://togithub.com/go-resty/resty/pull/698)
- [@leejuyuu](https://togithub.com/leejuyuu) made their first contribution in [https://github.com/go-resty/resty/pull/701](https://togithub.com/go-resty/resty/pull/701)
**Full Changelog**: https://github.com/go-resty/resty/compare/v2.8.0...v2.9.0
### [`v2.8.0`](https://togithub.com/go-resty/resty/releases/tag/v2.8.0): Release
[Compare Source](https://togithub.com/go-resty/resty/compare/v2.7.0...v2.8.0)
### Release Notes
#### New Features
- Add digest authentication by [@segevda](https://togithub.com/segevda) in [https://github.com/go-resty/resty/pull/583](https://togithub.com/go-resty/resty/pull/583)
- feat: add SetLogger() method on Request by [@muir](https://togithub.com/muir) in [https://github.com/go-resty/resty/pull/584](https://togithub.com/go-resty/resty/pull/584)
- add OnSuccess, OnPanic, and OnInvalid hooks by [@muir](https://togithub.com/muir) in [https://github.com/go-resty/resty/pull/586](https://togithub.com/go-resty/resty/pull/586)
- Support RawPathParams without escaping by [@SVilgelm](https://togithub.com/SVilgelm) in [https://github.com/go-resty/resty/pull/664](https://togithub.com/go-resty/resty/pull/664)
- feat: add SetDebug() method on Request by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/693](https://togithub.com/go-resty/resty/pull/693)
#### Enhancements
- Allow multipart/form-data in PATCH request by [@sabandi](https://togithub.com/sabandi) in [https://github.com/go-resty/resty/pull/536](https://togithub.com/go-resty/resty/pull/536)
- feat: add nil check to SetResult ([#503](https://togithub.com/go-resty/resty/issues/503)) by [@tkrop](https://togithub.com/tkrop) in [https://github.com/go-resty/resty/pull/582](https://togithub.com/go-resty/resty/pull/582)
- Update log level to warning for errors within retry block by [@sandyydk](https://togithub.com/sandyydk) in [https://github.com/go-resty/resty/pull/587](https://togithub.com/go-resty/resty/pull/587)
- feat: do not escape HTML in the debug log when jsonEscapeHTML set to false, inspired by pr [#544](https://togithub.com/go-resty/resty/issues/544) by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/636](https://togithub.com/go-resty/resty/pull/636)
- feat: Export transport method to return current transport from the client by [@MicBun](https://togithub.com/MicBun) in [https://github.com/go-resty/resty/pull/605](https://togithub.com/go-resty/resty/pull/605)
- client: setters for JSON and XML Marshal/Unmarshal by [@GRbit](https://togithub.com/GRbit) in [https://github.com/go-resty/resty/pull/621](https://togithub.com/go-resty/resty/pull/621)
- feat: export NoRedirectPolicy error by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/637](https://togithub.com/go-resty/resty/pull/637)
- CVE-2021-43565 CVE-2022-27191 fix by [@testwill](https://togithub.com/testwill) in [https://github.com/go-resty/resty/pull/662](https://togithub.com/go-resty/resty/pull/662)
- Improve 204 no content handling by [@haivp3010](https://togithub.com/haivp3010) in [https://github.com/go-resty/resty/pull/654](https://togithub.com/go-resty/resty/pull/654)
- improve: support js,wasm by [@shynome](https://togithub.com/shynome) in [https://github.com/go-resty/resty/pull/683](https://togithub.com/go-resty/resty/pull/683)
- config: update golang.org/x/net dependency to latest version v0.15.0 by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/627](https://togithub.com/go-resty/resty/pull/627), [https://github.com/go-resty/resty/pull/694](https://togithub.com/go-resty/resty/pull/694)
#### Bug Fixes
- Fix multipart file readers not being reset when doing a retry by [@nikplx](https://togithub.com/nikplx) in [https://github.com/go-resty/resty/pull/549](https://togithub.com/go-resty/resty/pull/549)
- Fix redirect request body mismatch with origin request body caused by buffer reused by mistake by [@liguangbo](https://togithub.com/liguangbo) in [https://github.com/go-resty/resty/pull/568](https://togithub.com/go-resty/resty/pull/568)
- Fix race condition during request: Protect pre/post request hooks with RWMutex by [@jameshoulahan](https://togithub.com/jameshoulahan) in [https://github.com/go-resty/resty/pull/597](https://togithub.com/go-resty/resty/pull/597)
- fix: jitter maxWaitTime must be >= 1ns by [@segevda](https://togithub.com/segevda) in [https://github.com/go-resty/resty/pull/629](https://togithub.com/go-resty/resty/pull/629)
- fix: client panic on missing digest value by [@segevda](https://togithub.com/segevda) in [https://github.com/go-resty/resty/pull/633](https://togithub.com/go-resty/resty/pull/633)
- fix sync pool data race: deep copy by [@zhongdalu-trechina](https://togithub.com/zhongdalu-trechina) in [https://github.com/go-resty/resty/pull/635](https://togithub.com/go-resty/resty/pull/635)
- Fix SetAllowGetMethodPayload option ignored for io.Reader payload by [@picollomartin](https://togithub.com/picollomartin), [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/541](https://togithub.com/go-resty/resty/pull/541), [https://github.com/go-resty/resty/pull/692](https://togithub.com/go-resty/resty/pull/692)
#### Documentation
- Fix Send() documentation code by [@lordzsolt](https://togithub.com/lordzsolt) in [https://github.com/go-resty/resty/pull/528](https://togithub.com/go-resty/resty/pull/528)
- Reformat doc comments by [@segevda](https://togithub.com/segevda) in [https://github.com/go-resty/resty/pull/620](https://togithub.com/go-resty/resty/pull/620)
- update README.md about Proxy Settings, no Request level setting by [@maguowei](https://togithub.com/maguowei) in [https://github.com/go-resty/resty/pull/645](https://togithub.com/go-resty/resty/pull/645)
- docs: through typo by [@testwill](https://togithub.com/testwill) in [https://github.com/go-resty/resty/pull/685](https://togithub.com/go-resty/resty/pull/685)
- Enhance retry behavior documentation in README.md by [@utsushiiro](https://togithub.com/utsushiiro) in [https://github.com/go-resty/resty/pull/691](https://togithub.com/go-resty/resty/pull/691)
#### Build
- Add label based github actions [#562](https://togithub.com/go-resty/resty/issues/562) and go version update by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/563](https://togithub.com/go-resty/resty/pull/563)
- Add go fmt to github actions by [@segevda](https://togithub.com/segevda) in [https://github.com/go-resty/resty/pull/628](https://togithub.com/go-resty/resty/pull/628)
#### Deprecated Removal
- Remove usages of deprecated io/ioutil by [@segevda](https://togithub.com/segevda) in [https://github.com/go-resty/resty/pull/625](https://togithub.com/go-resty/resty/pull/625) (go minimum version go1.16)
#### New Contributors
- [@sabandi](https://togithub.com/sabandi) made their first contribution in [https://github.com/go-resty/resty/pull/536](https://togithub.com/go-resty/resty/pull/536)
- [@lordzsolt](https://togithub.com/lordzsolt) made their first contribution in [https://github.com/go-resty/resty/pull/528](https://togithub.com/go-resty/resty/pull/528)
- [@picollomartin](https://togithub.com/picollomartin) made their first contribution in [https://github.com/go-resty/resty/pull/541](https://togithub.com/go-resty/resty/pull/541)
- [@tkrop](https://togithub.com/tkrop) made their first contribution in [https://github.com/go-resty/resty/pull/582](https://togithub.com/go-resty/resty/pull/582)
- [@muir](https://togithub.com/muir) made their first contribution in [https://github.com/go-resty/resty/pull/584](https://togithub.com/go-resty/resty/pull/584)
- [@segevda](https://togithub.com/segevda) made their first contribution in [https://github.com/go-resty/resty/pull/620](https://togithub.com/go-resty/resty/pull/620)
- [@nikplx](https://togithub.com/nikplx) made their first contribution in [https://github.com/go-resty/resty/pull/549](https://togithub.com/go-resty/resty/pull/549)
- [@liguangbo](https://togithub.com/liguangbo) made their first contribution in [https://github.com/go-resty/resty/pull/568](https://togithub.com/go-resty/resty/pull/568)
- [@jameshoulahan](https://togithub.com/jameshoulahan) made their first contribution in [https://github.com/go-resty/resty/pull/597](https://togithub.com/go-resty/resty/pull/597)
- [@GRbit](https://togithub.com/GRbit) made their first contribution in [https://github.com/go-resty/resty/pull/621](https://togithub.com/go-resty/resty/pull/621)
- [@zhongdalu-trechina](https://togithub.com/zhongdalu-trechina) made their first contribution in [https://github.com/go-resty/resty/pull/635](https://togithub.com/go-resty/resty/pull/635)
- [@MicBun](https://togithub.com/MicBun) made their first contribution in [https://github.com/go-resty/resty/pull/605](https://togithub.com/go-resty/resty/pull/605)
- [@utsushiiro](https://togithub.com/utsushiiro) made their first contribution in [https://github.com/go-resty/resty/pull/691](https://togithub.com/go-resty/resty/pull/691)
- [@testwill](https://togithub.com/testwill) made their first contribution in [https://github.com/go-resty/resty/pull/685](https://togithub.com/go-resty/resty/pull/685)
- [@SVilgelm](https://togithub.com/SVilgelm) made their first contribution in [https://github.com/go-resty/resty/pull/664](https://togithub.com/go-resty/resty/pull/664)
- [@maguowei](https://togithub.com/maguowei) made their first contribution in [https://github.com/go-resty/resty/pull/645](https://togithub.com/go-resty/resty/pull/645)
- [@sandyydk](https://togithub.com/sandyydk) made their first contribution in [https://github.com/go-resty/resty/pull/587](https://togithub.com/go-resty/resty/pull/587)
- [@haivp3010](https://togithub.com/haivp3010) made their first contribution in [https://github.com/go-resty/resty/pull/654](https://togithub.com/go-resty/resty/pull/654)
- [@shynome](https://togithub.com/shynome) made their first contribution in [https://github.com/go-resty/resty/pull/683](https://togithub.com/go-resty/resty/pull/683)
**Full Changelog**: https://github.com/go-resty/resty/compare/v2.7.0...v2.8.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v2.7.0
->v2.10.0
Release Notes
go-resty/resty (github.com/go-resty/resty/v2)
### [`v2.10.0`](https://togithub.com/go-resty/resty/releases/tag/v2.10.0): Release [Compare Source](https://togithub.com/go-resty/resty/compare/v2.9.1...v2.10.0) ### Release Notes #### Optimizations - Add Benchmarks and Unit tests for parseRequestBody and improve it by [@SVilgelm](https://togithub.com/SVilgelm) in [https://github.com/go-resty/resty/pull/714](https://togithub.com/go-resty/resty/pull/714) - Benchmarks and Improvements for parseRequestURL function by [@SVilgelm](https://togithub.com/SVilgelm) in [https://github.com/go-resty/resty/pull/711](https://togithub.com/go-resty/resty/pull/711) #### Enhancements - feat(enhancement): add SetBody method in Response struct [#721](https://togithub.com/go-resty/resty/issues/721) by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/724](https://togithub.com/go-resty/resty/pull/724) - chore: update go mod dependency by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/731](https://togithub.com/go-resty/resty/pull/731) - chore: version number bump by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/719](https://togithub.com/go-resty/resty/pull/719), release updates [#732](https://togithub.com/go-resty/resty/issues/732) #### Bug Fixes - fix: request debug log loss cookie header when cookiejar in use [#424](https://togithub.com/go-resty/resty/issues/424) by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/727](https://togithub.com/go-resty/resty/pull/727) - Fix digest auth http: ContentLength=xxx with Body length 0 by [@icepie](https://togithub.com/icepie) in [https://github.com/go-resty/resty/pull/730](https://togithub.com/go-resty/resty/pull/730) #### New Contributors - [@icepie](https://togithub.com/icepie) made their first contribution in [https://github.com/go-resty/resty/pull/730](https://togithub.com/go-resty/resty/pull/730) **Full Changelog**: https://github.com/go-resty/resty/compare/v2.9.1...v2.10.0 ### [`v2.9.1`](https://togithub.com/go-resty/resty/releases/tag/v2.9.1): Release [Compare Source](https://togithub.com/go-resty/resty/compare/v2.9.0...v2.9.1) #### Release Notes - chore: readme, docs, and version update by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/716](https://togithub.com/go-resty/resty/pull/716) **Full Changelog**: https://github.com/go-resty/resty/compare/v2.9.0...v2.9.1 ### [`v2.9.0`](https://togithub.com/go-resty/resty/releases/tag/v2.9.0): Release [Compare Source](https://togithub.com/go-resty/resty/compare/v2.8.0...v2.9.0) ##### Release Notes ##### New Features - Add rate limiter to client by [@SVilgelm](https://togithub.com/SVilgelm) in [https://github.com/go-resty/resty/pull/715](https://togithub.com/go-resty/resty/pull/715) ##### Enhancements - refactor: inherit value from client enables clean request overrides [#516](https://togithub.com/go-resty/resty/issues/516) by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/706](https://togithub.com/go-resty/resty/pull/706) - optimization: Improve parseRequestHeader function and add the unit tests and benchmarks by [@SVilgelm](https://togithub.com/SVilgelm) in [https://github.com/go-resty/resty/pull/712](https://togithub.com/go-resty/resty/pull/712) ##### Bug Fixes - fix: parseResponseBody overrides original error code in case of unmar… by [@dmartinol](https://togithub.com/dmartinol) in [https://github.com/go-resty/resty/pull/674](https://togithub.com/go-resty/resty/pull/674) - Set ContentLength to 0 when Body is nil by [@praem90](https://togithub.com/praem90) in [https://github.com/go-resty/resty/pull/698](https://togithub.com/go-resty/resty/pull/698) - fix: improve regex expression for json and xml content type validation by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/702](https://togithub.com/go-resty/resty/pull/702) - fix: add missing source files in the bazel build config [#700](https://togithub.com/go-resty/resty/issues/700) by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/707](https://togithub.com/go-resty/resty/pull/707) ##### Test Cases - test: add test example for unix socket client and update readme [#589](https://togithub.com/go-resty/resty/issues/589) by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/703](https://togithub.com/go-resty/resty/pull/703) - test: added validation test case, unable to reproduce [#524](https://togithub.com/go-resty/resty/issues/524) by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/704](https://togithub.com/go-resty/resty/pull/704) - unit tests for parseRequestURL function by [@SVilgelm](https://togithub.com/SVilgelm) in [https://github.com/go-resty/resty/pull/709](https://togithub.com/go-resty/resty/pull/709) - fix TestClientOnResponseError parallel tests by [@SVilgelm](https://togithub.com/SVilgelm) in [https://github.com/go-resty/resty/pull/710](https://togithub.com/go-resty/resty/pull/710) ##### Documentation - docs: fix OnBeforeRequst doc application order by [@leejuyuu](https://togithub.com/leejuyuu) in [https://github.com/go-resty/resty/pull/701](https://togithub.com/go-resty/resty/pull/701) ##### New Contributors - [@dmartinol](https://togithub.com/dmartinol) made their first contribution in [https://github.com/go-resty/resty/pull/674](https://togithub.com/go-resty/resty/pull/674) - [@praem90](https://togithub.com/praem90) made their first contribution in [https://github.com/go-resty/resty/pull/698](https://togithub.com/go-resty/resty/pull/698) - [@leejuyuu](https://togithub.com/leejuyuu) made their first contribution in [https://github.com/go-resty/resty/pull/701](https://togithub.com/go-resty/resty/pull/701) **Full Changelog**: https://github.com/go-resty/resty/compare/v2.8.0...v2.9.0 ### [`v2.8.0`](https://togithub.com/go-resty/resty/releases/tag/v2.8.0): Release [Compare Source](https://togithub.com/go-resty/resty/compare/v2.7.0...v2.8.0) ### Release Notes #### New Features - Add digest authentication by [@segevda](https://togithub.com/segevda) in [https://github.com/go-resty/resty/pull/583](https://togithub.com/go-resty/resty/pull/583) - feat: add SetLogger() method on Request by [@muir](https://togithub.com/muir) in [https://github.com/go-resty/resty/pull/584](https://togithub.com/go-resty/resty/pull/584) - add OnSuccess, OnPanic, and OnInvalid hooks by [@muir](https://togithub.com/muir) in [https://github.com/go-resty/resty/pull/586](https://togithub.com/go-resty/resty/pull/586) - Support RawPathParams without escaping by [@SVilgelm](https://togithub.com/SVilgelm) in [https://github.com/go-resty/resty/pull/664](https://togithub.com/go-resty/resty/pull/664) - feat: add SetDebug() method on Request by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/693](https://togithub.com/go-resty/resty/pull/693) #### Enhancements - Allow multipart/form-data in PATCH request by [@sabandi](https://togithub.com/sabandi) in [https://github.com/go-resty/resty/pull/536](https://togithub.com/go-resty/resty/pull/536) - feat: add nil check to SetResult ([#503](https://togithub.com/go-resty/resty/issues/503)) by [@tkrop](https://togithub.com/tkrop) in [https://github.com/go-resty/resty/pull/582](https://togithub.com/go-resty/resty/pull/582) - Update log level to warning for errors within retry block by [@sandyydk](https://togithub.com/sandyydk) in [https://github.com/go-resty/resty/pull/587](https://togithub.com/go-resty/resty/pull/587) - feat: do not escape HTML in the debug log when jsonEscapeHTML set to false, inspired by pr [#544](https://togithub.com/go-resty/resty/issues/544) by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/636](https://togithub.com/go-resty/resty/pull/636) - feat: Export transport method to return current transport from the client by [@MicBun](https://togithub.com/MicBun) in [https://github.com/go-resty/resty/pull/605](https://togithub.com/go-resty/resty/pull/605) - client: setters for JSON and XML Marshal/Unmarshal by [@GRbit](https://togithub.com/GRbit) in [https://github.com/go-resty/resty/pull/621](https://togithub.com/go-resty/resty/pull/621) - feat: export NoRedirectPolicy error by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/637](https://togithub.com/go-resty/resty/pull/637) - CVE-2021-43565 CVE-2022-27191 fix by [@testwill](https://togithub.com/testwill) in [https://github.com/go-resty/resty/pull/662](https://togithub.com/go-resty/resty/pull/662) - Improve 204 no content handling by [@haivp3010](https://togithub.com/haivp3010) in [https://github.com/go-resty/resty/pull/654](https://togithub.com/go-resty/resty/pull/654) - improve: support js,wasm by [@shynome](https://togithub.com/shynome) in [https://github.com/go-resty/resty/pull/683](https://togithub.com/go-resty/resty/pull/683) - config: update golang.org/x/net dependency to latest version v0.15.0 by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/627](https://togithub.com/go-resty/resty/pull/627), [https://github.com/go-resty/resty/pull/694](https://togithub.com/go-resty/resty/pull/694) #### Bug Fixes - Fix multipart file readers not being reset when doing a retry by [@nikplx](https://togithub.com/nikplx) in [https://github.com/go-resty/resty/pull/549](https://togithub.com/go-resty/resty/pull/549) - Fix redirect request body mismatch with origin request body caused by buffer reused by mistake by [@liguangbo](https://togithub.com/liguangbo) in [https://github.com/go-resty/resty/pull/568](https://togithub.com/go-resty/resty/pull/568) - Fix race condition during request: Protect pre/post request hooks with RWMutex by [@jameshoulahan](https://togithub.com/jameshoulahan) in [https://github.com/go-resty/resty/pull/597](https://togithub.com/go-resty/resty/pull/597) - fix: jitter maxWaitTime must be >= 1ns by [@segevda](https://togithub.com/segevda) in [https://github.com/go-resty/resty/pull/629](https://togithub.com/go-resty/resty/pull/629) - fix: client panic on missing digest value by [@segevda](https://togithub.com/segevda) in [https://github.com/go-resty/resty/pull/633](https://togithub.com/go-resty/resty/pull/633) - fix sync pool data race: deep copy by [@zhongdalu-trechina](https://togithub.com/zhongdalu-trechina) in [https://github.com/go-resty/resty/pull/635](https://togithub.com/go-resty/resty/pull/635) - Fix SetAllowGetMethodPayload option ignored for io.Reader payload by [@picollomartin](https://togithub.com/picollomartin), [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/541](https://togithub.com/go-resty/resty/pull/541), [https://github.com/go-resty/resty/pull/692](https://togithub.com/go-resty/resty/pull/692) #### Documentation - Fix Send() documentation code by [@lordzsolt](https://togithub.com/lordzsolt) in [https://github.com/go-resty/resty/pull/528](https://togithub.com/go-resty/resty/pull/528) - Reformat doc comments by [@segevda](https://togithub.com/segevda) in [https://github.com/go-resty/resty/pull/620](https://togithub.com/go-resty/resty/pull/620) - update README.md about Proxy Settings, no Request level setting by [@maguowei](https://togithub.com/maguowei) in [https://github.com/go-resty/resty/pull/645](https://togithub.com/go-resty/resty/pull/645) - docs: through typo by [@testwill](https://togithub.com/testwill) in [https://github.com/go-resty/resty/pull/685](https://togithub.com/go-resty/resty/pull/685) - Enhance retry behavior documentation in README.md by [@utsushiiro](https://togithub.com/utsushiiro) in [https://github.com/go-resty/resty/pull/691](https://togithub.com/go-resty/resty/pull/691) #### Build - Add label based github actions [#562](https://togithub.com/go-resty/resty/issues/562) and go version update by [@jeevatkm](https://togithub.com/jeevatkm) in [https://github.com/go-resty/resty/pull/563](https://togithub.com/go-resty/resty/pull/563) - Add go fmt to github actions by [@segevda](https://togithub.com/segevda) in [https://github.com/go-resty/resty/pull/628](https://togithub.com/go-resty/resty/pull/628) #### Deprecated Removal - Remove usages of deprecated io/ioutil by [@segevda](https://togithub.com/segevda) in [https://github.com/go-resty/resty/pull/625](https://togithub.com/go-resty/resty/pull/625) (go minimum version go1.16) #### New Contributors - [@sabandi](https://togithub.com/sabandi) made their first contribution in [https://github.com/go-resty/resty/pull/536](https://togithub.com/go-resty/resty/pull/536) - [@lordzsolt](https://togithub.com/lordzsolt) made their first contribution in [https://github.com/go-resty/resty/pull/528](https://togithub.com/go-resty/resty/pull/528) - [@picollomartin](https://togithub.com/picollomartin) made their first contribution in [https://github.com/go-resty/resty/pull/541](https://togithub.com/go-resty/resty/pull/541) - [@tkrop](https://togithub.com/tkrop) made their first contribution in [https://github.com/go-resty/resty/pull/582](https://togithub.com/go-resty/resty/pull/582) - [@muir](https://togithub.com/muir) made their first contribution in [https://github.com/go-resty/resty/pull/584](https://togithub.com/go-resty/resty/pull/584) - [@segevda](https://togithub.com/segevda) made their first contribution in [https://github.com/go-resty/resty/pull/620](https://togithub.com/go-resty/resty/pull/620) - [@nikplx](https://togithub.com/nikplx) made their first contribution in [https://github.com/go-resty/resty/pull/549](https://togithub.com/go-resty/resty/pull/549) - [@liguangbo](https://togithub.com/liguangbo) made their first contribution in [https://github.com/go-resty/resty/pull/568](https://togithub.com/go-resty/resty/pull/568) - [@jameshoulahan](https://togithub.com/jameshoulahan) made their first contribution in [https://github.com/go-resty/resty/pull/597](https://togithub.com/go-resty/resty/pull/597) - [@GRbit](https://togithub.com/GRbit) made their first contribution in [https://github.com/go-resty/resty/pull/621](https://togithub.com/go-resty/resty/pull/621) - [@zhongdalu-trechina](https://togithub.com/zhongdalu-trechina) made their first contribution in [https://github.com/go-resty/resty/pull/635](https://togithub.com/go-resty/resty/pull/635) - [@MicBun](https://togithub.com/MicBun) made their first contribution in [https://github.com/go-resty/resty/pull/605](https://togithub.com/go-resty/resty/pull/605) - [@utsushiiro](https://togithub.com/utsushiiro) made their first contribution in [https://github.com/go-resty/resty/pull/691](https://togithub.com/go-resty/resty/pull/691) - [@testwill](https://togithub.com/testwill) made their first contribution in [https://github.com/go-resty/resty/pull/685](https://togithub.com/go-resty/resty/pull/685) - [@SVilgelm](https://togithub.com/SVilgelm) made their first contribution in [https://github.com/go-resty/resty/pull/664](https://togithub.com/go-resty/resty/pull/664) - [@maguowei](https://togithub.com/maguowei) made their first contribution in [https://github.com/go-resty/resty/pull/645](https://togithub.com/go-resty/resty/pull/645) - [@sandyydk](https://togithub.com/sandyydk) made their first contribution in [https://github.com/go-resty/resty/pull/587](https://togithub.com/go-resty/resty/pull/587) - [@haivp3010](https://togithub.com/haivp3010) made their first contribution in [https://github.com/go-resty/resty/pull/654](https://togithub.com/go-resty/resty/pull/654) - [@shynome](https://togithub.com/shynome) made their first contribution in [https://github.com/go-resty/resty/pull/683](https://togithub.com/go-resty/resty/pull/683) **Full Changelog**: https://github.com/go-resty/resty/compare/v2.7.0...v2.8.0Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.