l3uddz / wantarr

CLI Tool to find wanted media for the *arr suite
66 stars 10 forks source link

fix(deps): update module github.com/imroc/req to v3 #38

Open renovate[bot] opened 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/imroc/req v0.3.0 -> v3.43.7 age adoption passing confidence

Release Notes

imroc/req (github.com/imroc/req) ### [`v3.43.7`](https://togithub.com/imroc/req/releases/tag/v3.43.7): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.43.6...v3.43.7) - fix digest auth parse ([#​359](https://togithub.com/imroc/req/issues/359)) ### [`v3.43.6`](https://togithub.com/imroc/req/releases/tag/v3.43.6): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.43.5...v3.43.6) - fix: header cleanup([#​355](https://togithub.com/imroc/req/issues/355)) - add SetContextData and GetContextData([#​358](https://togithub.com/imroc/req/issues/358)) ### [`v3.43.5`](https://togithub.com/imroc/req/releases/tag/v3.43.5): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.43.4...v3.43.5) - fix: avoid repeated append cookies when retry ([#​353](https://togithub.com/imroc/req/issues/353)) ### [`v3.43.4`](https://togithub.com/imroc/req/releases/tag/v3.43.4): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.43.3...v3.43.4) - prevent successful requests from invalid host ### [`v3.43.3`](https://togithub.com/imroc/req/releases/tag/v3.43.3): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.43.2...v3.43.3) - Allow logger creation from an existing standard logger ([#​345](https://togithub.com/imroc/req/issues/345) ) ### [`v3.43.2`](https://togithub.com/imroc/req/releases/tag/v3.43.2): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.43.1...v3.43.2) - fix: Cancel retry if the request failed due to a canceled context ([#​339](https://togithub.com/imroc/req/issues/339)) - allow RetryCondition and RetryHook wrap the original error ([#​340](https://togithub.com/imroc/req/issues/340)) - fix: use correct context for dial ([#​341](https://togithub.com/imroc/req/issues/341)) ### [`v3.43.1`](https://togithub.com/imroc/req/releases/tag/v3.43.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.43.0...v3.43.1) - fix DisableForceMultipart ([#​333](https://togithub.com/imroc/req/issues/333)) ### [`v3.43.0`](https://togithub.com/imroc/req/releases/tag/v3.43.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.42.3...v3.43.0) - upgrade go modules - merge upstream quic-go - merge upstream net/http - merge upstream x/net/http2 ### [`v3.42.3`](https://togithub.com/imroc/req/releases/tag/v3.42.3): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.42.2...v3.42.3) - update go modules, support quic-go v0.40.1 ### [`v3.42.2`](https://togithub.com/imroc/req/releases/tag/v3.42.2): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.42.1...v3.42.2) - Fix retry in SetFileBytes ([#​300](https://togithub.com/imroc/req/issues/300)) ### [`v3.42.1`](https://togithub.com/imroc/req/releases/tag/v3.42.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.42.0...v3.42.1) - fix SetTLSFingerprintXXX does not take effect in subsequent requests([#​290](https://togithub.com/imroc/req/issues/290)) ### [`v3.42.0`](https://togithub.com/imroc/req/releases/tag/v3.42.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.41.12...v3.42.0) - feat: Add OnError to Client (Support the error hook, which will be executed if any error will be returned, e.g. dns lookup error, invalid URL and etc) ### [`v3.41.12`](https://togithub.com/imroc/req/releases/tag/v3.41.12): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.41.11...v3.41.12) - Fix RootCAs setting when using utls ([#​280](https://togithub.com/imroc/req/issues/280)) ### [`v3.41.11`](https://togithub.com/imroc/req/releases/tag/v3.41.11): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.41.10...v3.41.11) - Update dependencies ### [`v3.41.10`](https://togithub.com/imroc/req/releases/tag/v3.41.10): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.41.9...v3.41.10) - Fix FLOW_CONTROL_ERROR in ImpersonateXXX ([#​275](https://togithub.com/imroc/req/issues/275)) ### [`v3.41.9`](https://togithub.com/imroc/req/releases/tag/v3.41.9): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.41.8...v3.41.9) - Fix COMPRESSION_ERROR in ImpersonateXXX ([#​275](https://togithub.com/imroc/req/issues/275)) ### [`v3.41.8`](https://togithub.com/imroc/req/releases/tag/v3.41.8): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.41.7...v3.41.8) - Do not try charset conversion if Accept-Encoding specified - Fix http3 in go1.21([#​274](https://togithub.com/imroc/req/issues/274)) ### [`v3.41.7`](https://togithub.com/imroc/req/releases/tag/v3.41.7): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.41.6...v3.41.7) - Support http digest calculation that does not follow the RFC specification ([#​269](https://togithub.com/imroc/req/issues/269)) ### [`v3.41.6`](https://togithub.com/imroc/req/releases/tag/v3.41.6): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.41.5...v3.41.6) - Allow splitting digest parameters without spaces ([#​269](https://togithub.com/imroc/req/issues/269)). - Clear common cookies in ClearCookies. ### [`v3.41.5`](https://togithub.com/imroc/req/releases/tag/v3.41.5): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.41.4...v3.41.5) - Default qop to "auth" in HTTPDigestAuth([#​269](https://togithub.com/imroc/req/issues/269)) ### [`v3.41.4`](https://togithub.com/imroc/req/releases/tag/v3.41.4): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.41.3...v3.41.4) - Fix InsecureSkipVerify ([#​268](https://togithub.com/imroc/req/issues/268)) - Upgrade utls to v1.4.3 ### [`v3.41.3`](https://togithub.com/imroc/req/releases/tag/v3.41.3): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.41.2...v3.41.3) - Fix transport middleware cannot access common header and cookies ### [`v3.41.2`](https://togithub.com/imroc/req/releases/tag/v3.41.2): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.41.1...v3.41.2) - Fix SetCommonContentType is not respected when SetBody is called ([#​265](https://togithub.com/imroc/req/issues/265)) ### [`v3.41.1`](https://togithub.com/imroc/req/releases/tag/v3.41.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.41.0...v3.41.1) - Update dependencies to fix [#​263](https://togithub.com/imroc/req/issues/263) ### [`v3.41.0`](https://togithub.com/imroc/req/releases/tag/v3.41.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.40.1...v3.41.0) - Update dependencies. - Support go1.21. - Add `SetCookeJarFactory`. - Use memoryCookieJarFactory to create cookie jar by default when create Client. ### [`v3.40.1`](https://togithub.com/imroc/req/releases/tag/v3.40.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.40.0...v3.40.1) - Support ImpersonateSafari. - Improve code with generics. - Improve Client.Clone. ### [`v3.40.0`](https://togithub.com/imroc/req/releases/tag/v3.40.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.39.0...v3.40.0) - [Supported HTTP Fingerprint Impersonation to Bypass Anti-Crawler Detection Effortlessly](https://req.cool/blog/supported-http-fingerprint-impersonation-to-bypass-anti-crawler-detection-effortlessly/) - Some code refactor and optimization. - Execute retry condition and retry hook in reverse order to reduce unnecessary execution. ### [`v3.39.0`](https://togithub.com/imroc/req/releases/tag/v3.39.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.38.0...v3.39.0) HTTP fingerprinting: Support to control the order of header (see [docs](https://req.cool/docs/tutorial/set-header/)). - Add `SetHeaderOrder` and `SetPseudoHeaderOrder` for `Request` and `Transport`. - Add `SetCommonHeaderOrder` and `SetCommonPseudoHeaderOrder` for `Client`. ### [`v3.38.0`](https://togithub.com/imroc/req/releases/tag/v3.38.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.37.2...v3.38.0) - Support quic-go v0.37.0 and drop go1.19 ### [`v3.37.2`](https://togithub.com/imroc/req/releases/tag/v3.37.2): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.37.1...v3.37.2) - Make sure beforeRequests executed before client middleware(fix [#​248](https://togithub.com/imroc/req/issues/248)) ### [`v3.37.1`](https://togithub.com/imroc/req/releases/tag/v3.37.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.37.0...v3.37.1) - Ensure err in client.roundTrip ([#​246](https://togithub.com/imroc/req/issues/246) ) ### [`v3.37.0`](https://togithub.com/imroc/req/releases/tag/v3.37.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.36.2...v3.37.0) - Support HTTP Digest Authentication: https://req.cool/docs/tutorial/authentication/#set-digest-auth - Add global wrappers. - Reset file reader when retry a multipart file upload. - Add nil check to SetSuccessResult and SetErrorResult. - Allow PATCH multipart request. - Fix transport middleware not work after clone([#​233](https://togithub.com/imroc/req/issues/233)). - Fix client middleware not work after clone. ### [`v3.36.2`](https://togithub.com/imroc/req/releases/tag/v3.36.2): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.36.1...v3.36.2) - Support quic-go v0.35.1. - Do not detect alt-svc if it's already http3. ### [`v3.36.1`](https://togithub.com/imroc/req/releases/tag/v3.36.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.36.0...v3.36.1) - Let TLS fingerprinting works even a proxy is set. - Add SetTLSFingerprintRandomized. - Merge upstream from latest `net/http` and `http2`. ### [`v3.36.0`](https://togithub.com/imroc/req/releases/tag/v3.36.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.35.2...v3.36.0) Integrate utls to support tls fingerprinting resistance: https://req.cool/docs/tutorial/tls-fingerprinting/ ### [`v3.35.2`](https://togithub.com/imroc/req/releases/tag/v3.35.2): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.35.1...v3.35.2) Fix: cookies to be added multiple times in retrying ([#​242](https://togithub.com/imroc/req/issues/242) [@​RonaldinhoL](https://togithub.com/RonaldinhoL) ) ### [`v3.35.1`](https://togithub.com/imroc/req/releases/tag/v3.35.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.35.0...v3.35.1) - Support quic-go v0.35.0 ([#​241](https://togithub.com/imroc/req/issues/241) ) ### [`v3.35.0`](https://togithub.com/imroc/req/releases/tag/v3.35.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.34.0...v3.35.0) - Add GetCookies for Client. ### [`v3.34.0`](https://togithub.com/imroc/req/releases/tag/v3.34.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.33.3...v3.34.0) - Support latest quic-go version, requires go1.19 ### [`v3.33.3`](https://togithub.com/imroc/req/compare/v3.33.2...v3.33.3) [Compare Source](https://togithub.com/imroc/req/compare/v3.33.2...v3.33.3) ### [`v3.33.2`](https://togithub.com/imroc/req/releases/tag/v3.33.2): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.33.1...v3.33.2) - Fix http3 upgrade: use host and port from alt-svc header ### [`v3.33.1`](https://togithub.com/imroc/req/releases/tag/v3.33.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.33.0...v3.33.1) - Only auto-read response if code > 199 ### [`v3.33.0`](https://togithub.com/imroc/req/releases/tag/v3.33.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.32.3...v3.33.0) - Expose more http2 settings to client and transport ### [`v3.32.3`](https://togithub.com/imroc/req/releases/tag/v3.32.3): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.32.2...v3.32.3) - Ensure response middleware executed when internal middleware returns error ### [`v3.32.2`](https://togithub.com/imroc/req/releases/tag/v3.32.2): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.32.1...v3.32.2) Fix: avoid resp.Err been overridden ### [`v3.32.1`](https://togithub.com/imroc/req/releases/tag/v3.32.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.32.0...v3.32.1) - Fix: do not retry when RetryCount eq 0 - Fix: negative resp.TotalTime() ([#​214](https://togithub.com/imroc/req/issues/214)) ### [`v3.32.0`](https://togithub.com/imroc/req/releases/tag/v3.32.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.31.2...v3.32.0) - Refactor http3 implementation, remove embedded quic-go. - Add go1.20 to ci. - Remove deprecated ioutil functions. ### [`v3.31.2`](https://togithub.com/imroc/req/releases/tag/v3.31.2): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.31.1...v3.31.2) - Move github.com/marten-seemann/qpack to github.com/quic-go/qpack ### [`v3.31.1`](https://togithub.com/imroc/req/releases/tag/v3.31.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.31.0...v3.31.1) - Avoid err been override when response middleware is set. - Support infinity retry. - Support slice and array in SetBody. ### [`v3.31.0`](https://togithub.com/imroc/req/releases/tag/v3.31.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.30.0...v3.31.0) Refactor API style: - For Client: - Deprecate SetCommonError, add SetCommonErrorResult - Add SetResultStateCheckFunc - For Request: \* Deprecate SetResult, add SetSuccessResult \* Deprecate SetError, add SetErrorResult - For Response: \* Deprecate IsSuccess, add IsSuccessState \* Deprecate IsError, add IsErrorState \* Deprecate Result, add SuccessResult \* Deprecate Error, add ErrorResult \* Add ResultState ### [`v3.30.0`](https://togithub.com/imroc/req/releases/tag/v3.30.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.29.0...v3.30.0) - embed quic-go and support go1.20 ### [`v3.29.0`](https://togithub.com/imroc/req/releases/tag/v3.29.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.28.1...v3.29.0) - Ensure response middleware executed when error occurs ### [`v3.28.1`](https://togithub.com/imroc/req/compare/v3.28.0...v3.28.1) [Compare Source](https://togithub.com/imroc/req/compare/v3.28.0...v3.28.1) ### [`v3.28.0`](https://togithub.com/imroc/req/releases/tag/v3.28.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.27.0...v3.28.0) - Support SetResponseBodyTransformer. ### [`v3.27.0`](https://togithub.com/imroc/req/releases/tag/v3.27.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.26.7...v3.27.0) - Update go modules. - Merge upstream `goalng/x/net/http2` commits. - Unexpose unnecessary NetConnWrapper interface. - Improve comments for Transport settings. ### [`v3.26.7`](https://togithub.com/imroc/req/releases/tag/v3.26.7): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.26.6...v3.26.7) - Fix missing TraceInfo when download callback is set([#​200](https://togithub.com/imroc/req/issues/200)) ### [`v3.26.6`](https://togithub.com/imroc/req/releases/tag/v3.26.6): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.26.5...v3.26.6) - Fix data race in http2 dump([#​181](https://togithub.com/imroc/req/issues/181)) - Add comments to explain the Request.URL field ([#​197](https://togithub.com/imroc/req/issues/197)) ### [`v3.26.5`](https://togithub.com/imroc/req/releases/tag/v3.26.5): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.26.4...v3.26.5) - Execute user defined middleware at first([#​190](https://togithub.com/imroc/req/issues/190)) ### [`v3.26.4`](https://togithub.com/imroc/req/releases/tag/v3.26.4): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.26.3...v3.26.4) - Support DisableAutoReadResponse at request level ([@​hoslo](https://togithub.com/hoslo) [#​188](https://togithub.com/imroc/req/issues/188)) - Update go mod: require go1.16 ### [`v3.26.3`](https://togithub.com/imroc/req/releases/tag/v3.26.3): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.26.2...v3.26.3) - SetDialTLS should override dial func in EnableH2C. ### [`v3.26.2`](https://togithub.com/imroc/req/releases/tag/v3.26.2): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.26.1...v3.26.2) - Fix Transport.SetDialTLS not work in http2 ### [`v3.26.1`](https://togithub.com/imroc/req/releases/tag/v3.26.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.26.0...v3.26.1) - Support EnableCloseConnection ([#​183](https://togithub.com/imroc/req/issues/183)) ### [`v3.26.0`](https://togithub.com/imroc/req/releases/tag/v3.26.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.25.0...v3.26.0) - Support customize Content-Type when uploading multipart. ### [`v3.25.0`](https://togithub.com/imroc/req/releases/tag/v3.25.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.24.1...v3.25.0) - Support flexible dump. ### [`v3.24.1`](https://togithub.com/imroc/req/releases/tag/v3.24.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.24.0...v3.24.1) - Still return body when Response.ToBytes() got an error. ### [`v3.24.0`](https://togithub.com/imroc/req/releases/tag/v3.24.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.23.0...v3.24.0) - Support [Parallel Download](https://req.cool/docs/tutorial/download/#parallel-download). ### [`v3.23.0`](https://togithub.com/imroc/req/releases/tag/v3.23.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.22.1...v3.23.0) - Support AddQueryParams ([#​164](https://togithub.com/imroc/req/issues/164)) - Record original request in http3 ([#​165](https://togithub.com/imroc/req/issues/165)) ### [`v3.22.1`](https://togithub.com/imroc/req/releases/tag/v3.22.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.22.0...v3.22.1) - Optimize debug log level when cannot determine the unmarshal function ### [`v3.22.0`](https://togithub.com/imroc/req/releases/tag/v3.22.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.21.1...v3.22.0) - Support change the client of request dynamically (examples: [Automatically Change IP When Request Fails](https://req.cool/docs/examples/easily-write-crawlers-with-req/)) ### [`v3.21.1`](https://togithub.com/imroc/req/releases/tag/v3.21.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.21.0...v3.21.1) - Add EnableForceMultipart/DisableForceMultipart for Request. ### [`v3.21.0`](https://togithub.com/imroc/req/releases/tag/v3.21.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.20.1...v3.21.0) - Not use chunked encoding by default when uploading ([#​160](https://togithub.com/imroc/req/issues/160)) - Support `EnableForceChunkedEncoding` and `DisableForceChunkedEncoding` on Request. ### [`v3.20.1`](https://togithub.com/imroc/req/releases/tag/v3.20.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.20.0...v3.20.1) - Fix data race ([#​159](https://togithub.com/imroc/req/issues/159)) ### [`v3.20.0`](https://togithub.com/imroc/req/releases/tag/v3.20.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.19.2...v3.20.0) - Support h2c. ### [`v3.19.2`](https://togithub.com/imroc/req/releases/tag/v3.19.2): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.19.1...v3.19.2) - Fix concurrent map in Client.Clone() when high concurrency ([#​157](https://togithub.com/imroc/req/issues/157)). - Fix no Host in URL when SetScheme invoked. ### [`v3.19.1`](https://togithub.com/imroc/req/releases/tag/v3.19.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.19.0...v3.19.1) - Support http3 in go1.19 ### [`v3.19.0`](https://togithub.com/imroc/req/releases/tag/v3.19.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.18.0...v3.19.0) - Add ClearCookies for Client. - Fix autodecode when html page is small. ### [`v3.18.0`](https://togithub.com/imroc/req/releases/tag/v3.18.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.17.7...v3.18.0) - Add EnableDumpEachRequestXXX methods (syntax sugar) for Client. ### [`v3.17.7`](https://togithub.com/imroc/req/releases/tag/v3.17.7): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.17.6...v3.17.7) - Enable allow GET with body by default, discard body if disabled([#​153](https://togithub.com/imroc/req/issues/153)) ### [`v3.17.6`](https://togithub.com/imroc/req/releases/tag/v3.17.6): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.17.5...v3.17.6) - Restore Response.Body when AutoReadResponse is enabled([#​152](https://togithub.com/imroc/req/issues/152)). ### [`v3.17.5`](https://togithub.com/imroc/req/releases/tag/v3.17.5): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.17.4...v3.17.5) - Update example. - Unexpose Client's RoundTrip. ### [`v3.17.4`](https://togithub.com/imroc/req/releases/tag/v3.17.4): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.17.3...v3.17.4) - Use `http.ErrUseLastResponse` to prevent return error in NoRedirectPolicy. ### [`v3.17.3`](https://togithub.com/imroc/req/releases/tag/v3.17.3): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.17.2...v3.17.3) - Add `HeaderToString()` for req and resp. - Make sure the `resp.Err` set in the ResponseMiddleware is propagated to the caller. - Update examples. ### [`v3.17.2`](https://togithub.com/imroc/req/releases/tag/v3.17.2): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.17.1...v3.17.2) - Request.Do() accepts 0 or 1 context. - Support 0 or 1 url in Client's Get, Post and etc. - Support Request.SetQueryParamsAnyType. ### [`v3.17.1`](https://togithub.com/imroc/req/releases/tag/v3.17.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.17.0...v3.17.1) - Support SetFormDataAnyType([#​148](https://togithub.com/imroc/req/issues/148)) ### [`v3.17.0`](https://togithub.com/imroc/req/releases/tag/v3.17.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.16.0...v3.17.0) - Support middleware in Client([#​138](https://togithub.com/imroc/req/issues/138)). - Expose Body and GetBody in Request. ### [`v3.16.0`](https://togithub.com/imroc/req/releases/tag/v3.16.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.15.0...v3.16.0) - Support pointer of pointer in resp.Unmarshal and resp.Into - Support middleware in Transport([#​138](https://togithub.com/imroc/req/issues/138)) ### [`v3.15.0`](https://togithub.com/imroc/req/releases/tag/v3.15.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.14.4...v3.15.0) - Support nil pointer and pointer of pointer in SetResult and SetError([#​139](https://togithub.com/imroc/req/issues/139)) - Support Do API style([#​137](https://togithub.com/imroc/req/issues/137)) - SetBody support basic types ### [`v3.14.4`](https://togithub.com/imroc/req/releases/tag/v3.14.4): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.14.3...v3.14.4) - Support response middleware executed even error is not nil ([#​140](https://togithub.com/imroc/req/issues/140)) ### [`v3.14.3`](https://togithub.com/imroc/req/releases/tag/v3.14.3): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.14.2...v3.14.3) - Merge commit from upstream `net/http` and `quic-go`. - Support go1.19. ### [`v3.14.2`](https://togithub.com/imroc/req/releases/tag/v3.14.2): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.14.1...v3.14.2) - Ignore empty proxy url in SetProxyURL ([#​145](https://togithub.com/imroc/req/issues/145)) ### [`v3.14.1`](https://togithub.com/imroc/req/releases/tag/v3.14.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.14.0...v3.14.1) Ajust log level to debug when cannot determine the unmarshal function([#​133](https://togithub.com/imroc/req/issues/133)) ### [`v3.14.0`](https://togithub.com/imroc/req/releases/tag/v3.14.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.13.2...v3.14.0) - [Support HTTP3](https://req.cool/blog/http3-is-now-officially-supported/). - Support chainable methods for Transport. - Expose Client.GetTransport(). - Cancel set header in DevMode ([#​134](https://togithub.com/imroc/req/issues/134)). - Add Client.GetLogger() to expose internal logger ([#​132](https://togithub.com/imroc/req/issues/132)). - Refactor the code structure to make it easier to extend. ### [`v3.13.2`](https://togithub.com/imroc/req/releases/tag/v3.13.2): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.13.1...v3.13.2) - Fix potential nil pointer issue when retrying with request ([@​88250](https://togithub.com/88250) [#​131](https://togithub.com/imroc/req/issues/131) ) ### [`v3.13.1`](https://togithub.com/imroc/req/releases/tag/v3.13.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.13.0...v3.13.1) - Run user-defined request middleware after internal middleware. Make it possible to read generated info in request middleware, e.g. record req.URL.Path in request middleware. - Fix typos and update readme. ### [`v3.13.0`](https://togithub.com/imroc/req/releases/tag/v3.13.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.12.0...v3.13.0) - Wrap more methods for Response. - Fix typo. ### [`v3.12.0`](https://togithub.com/imroc/req/releases/tag/v3.12.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.11.5...v3.12.0) - Optimize SetError and SetResult. - Client support SetCommonError. ### [`v3.11.5`](https://togithub.com/imroc/req/releases/tag/v3.11.5): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.11.4...v3.11.5) - Improve response unmarshal. ### [`v3.11.4`](https://togithub.com/imroc/req/releases/tag/v3.11.4): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.11.3...v3.11.4) - Expose method of Request ### [`v3.11.3`](https://togithub.com/imroc/req/releases/tag/v3.11.3): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.11.2...v3.11.3) - Improve debug log: show http version of requests. - Let EnableForceHTTP1 also take effect when called when there is already an http2 connection. ### [`v3.11.2`](https://togithub.com/imroc/req/releases/tag/v3.11.2): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.11.1...v3.11.2) - Avoid panic when invoke Response if error happened. ### [`v3.11.1`](https://togithub.com/imroc/req/releases/tag/v3.11.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.11.0...v3.11.1) - Merge commits from upstream(net/http and x/net/http2) ### [`v3.11.0`](https://togithub.com/imroc/req/releases/tag/v3.11.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.10.1...v3.11.0) - Support SetHeaderNonCanonical and SetHeadersNonCanonical ([#​112](https://togithub.com/imroc/req/issues/112)). - Support SetCommonHeaderNonCanonical and SetCommonHeadersNonCanonical. ### [`v3.10.1`](https://togithub.com/imroc/req/releases/tag/v3.10.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.10.0...v3.10.1) - Default unmarshal to json if Content-Type is not sure([#​107](https://togithub.com/imroc/req/issues/107)) - Avoid concurrent map iteration and map write([#​111](https://togithub.com/imroc/req/issues/111)) ### [`v3.10.0`](https://togithub.com/imroc/req/releases/tag/v3.10.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.9.6...v3.10.0) - Support UploadCallback ([#​104](https://togithub.com/imroc/req/issues/104)) - Support DownloadCallback ### [`v3.9.6`](https://togithub.com/imroc/req/releases/tag/v3.9.6): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.9.5...v3.9.6) - Support AlwaysCopyHeaderRedirectPolicy ([#​103](https://togithub.com/imroc/req/issues/103)) ### [`v3.9.5`](https://togithub.com/imroc/req/releases/tag/v3.9.5): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.9.4...v3.9.5) - support js && wasm ### [`v3.9.4`](https://togithub.com/imroc/req/releases/tag/v3.9.4): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.9.3...v3.9.4) - update go.mod: require go1.15 ### [`v3.9.3`](https://togithub.com/imroc/req/releases/tag/v3.9.3): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.9.2...v3.9.3) - Refactor a lot of tests. - Reuse dump.Output if missing in Client.SetCommonDumpOptions. - SetFile support retry. ### [`v3.9.2`](https://togithub.com/imroc/req/releases/tag/v3.9.2): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.9.1...v3.9.2) - Support update request in retry hook ([#​98](https://togithub.com/imroc/req/issues/98)) - Refactor tests. ### [`v3.9.1`](https://togithub.com/imroc/req/releases/tag/v3.9.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.9.0...v3.9.1) - Fix miss executing ResponseMiddlewares ([#​97](https://togithub.com/imroc/req/issues/97)) ### [`v3.9.0`](https://togithub.com/imroc/req/releases/tag/v3.9.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.8.2...v3.9.0) - Support retry (see [retry doc](https://togithub.com/imroc/req#Retry)). - Support unix socket (see [unix socket doc](https://togithub.com/imroc/req#Unix)). ### [`v3.8.2`](https://togithub.com/imroc/req/releases/tag/v3.8.2): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.8.1...v3.8.2) - Fix typo ([#​95](https://togithub.com/imroc/req/issues/95)). - Set ContentLength and guess ContentType if body is in-memory \[]byte. - Use variadic parameter in SetFileUpload. - Improve doc: Quick API Reference. ### [`v3.8.1`](https://togithub.com/imroc/req/releases/tag/v3.8.1): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.8.0...v3.8.1) - Try sniff and auto-decode when Content-Type is malformed. ### [`v3.8.0`](https://togithub.com/imroc/req/releases/tag/v3.8.0): Release [Compare Source](https://togithub.com/imroc/req/compare/v3.7.7...v3.8.0) - Expose `http.Client`, so req can work with gock or httpmock ([#​93](https://togithub.com/imroc/req/issues/93)) ### [`v3.7.7`](https://togithub.com/imroc/req/compare/v3.7.6...v3.7.7) [Compare Source](https://togithub.com/imroc/req/compare/v3.7.6...v3.7.7) ### [`v3.7.6`](https://togithub.com/imroc/req/compare/v3.7.5...v3.7.6) [Compare Source](https://togithub.com/imroc/req/compare/v3.7.5...v3.7.6) ### [`v3.7.5`](https://togithub.com/imroc/req/compare/v3.7.4...v3.7.5) [Compare Source](https://togithub.com/imroc/req/compare/v3.7.4...v3.7.5) ### [`v3.7.4`](https://togithub.com/imroc/req/compare/v3.7.3...v3.7.4) [Compare Source](https://togithub.com/imroc/req/compare/v3.7.3...v3.7.4) ### [`v3.7.3`](https://togithub.com/imroc/req/compare/v3.7.2...v3.7.3) [Compare Source](https://togithub.com/imroc/req/compare/v3.7.2...v3.7.3) ### [`v3.7.2`](https://togithub.com/imroc/req/compare/v3.7.1...v3.7.2) [Compare Source](https://togithub.com/imroc/req/compare/v3.7.1...v3.7.2) ### [`v3.7.1`](https://togithub.com/imroc/req/compare/v3.7.0...v3.7.1) [Compare Source](https://togithub.com/imroc/req/compare/v3.7.0...v3.7.1) ### [`v3.7.0`](https://togithub.com/imroc/req/compare/v3.6.4...v3.7.0) [Compare Source](https://togithub.com/imroc/req/compare/v3.6.4...v3.7.0) ### [`v3.6.4`](https://togithub.com/imroc/req/compare/v3.6.3...v3.6.4) [Compare Source](https://togithub.com/imroc/req/compare/v3.6.3...v3.6.4) ### [`v3.6.3`](https://togithub.com/imroc/req/compare/v3.6.2...v3.6.3) [Compare Source](https://togithub.com/imroc/req/compare/v3.6.2...v3.6.3) ### [`v3.6.2`](https://togithub.com/imroc/req/compare/v3.6.1...v3.6.2) [Compare Source](https://togithub.com/imroc/req/compare/v3.6.1...v3.6.2) ### [`v3.6.1`](https://togithub.com/imroc/req/compare/v3.6.0...v3.6.1) [Compare Source](https://togithub.com/imroc/req/compare/v3.6.0...v3.6.1) ### [`v3.6.0`](https://togithub.com/imroc/req/compare/v3.5.4...v3.6.0) [Compare Source](https://togithub.com/imroc/req/compare/v3.5.4...v3.6.0) ### [`v3.5.4`](https://togithub.com/imroc/req/compare/v3.5.3...v3.5.4) [Compare Source](https://togithub.com/imroc/req/compare/v3.5.3...v3.5.4) ### [`v3.5.3`](https://togithub.com/imroc/req/compare/v3.5.2...v3.5.3) [Compare Source](https://togithub.com/imroc/req/compare/v3.5.2...v3.5.3) ### [`v3.5.2`](https://togithub.com/imroc/req/compare/v3.5.1...v3.5.2) [Compare Source](https://togithub.com/imroc/req/compare/v3.5.1...v3.5.2) ### [`v3.5.1`](https://togithub.com/imroc/req/compare/v3.5.0...v3.5.1) [Compare Source](https://togithub.com/imroc/req/compare/v3.5.0...v3.5.1) ### [`v3.5.0`](https://togithub.com/imroc/req/compare/v3.4.1...v3.5.0) [Compare Source](https://togithub.com/imroc/req/compare/v3.4.1...v3.5.0) ### [`v3.4.1`](https://togithub.com/imroc/req/compare/v3.4.0...v3.4.1) [Compare Source](https://togithub.com/imroc/req/compare/v3.4.0...v3.4.1) ### [`v3.4.0`](https://togithub.com/imroc/req/compare/v3.3.1...v3.4.0) [Compare Source](https://togithub.com/imroc/req/compare/v3.3.1...v3.4.0) ### [`v3.3.1`](https://togithub.com/imroc/req/compare/v3.3.0...v3.3.1) [Compare Source](https://togithub.com/imroc/req/compare/v3.3.0...v3.3.1) ### [`v3.3.0`](https://togithub.com/imroc/req/compare/v3.2.3...v3.3.0) [Compare Source](https://togithub.com/imroc/req/compare/v3.2.3...v3.3.0) ### [`v3.2.3`](https://togithub.com/imroc/req/compare/v3.2.2...v3.2.3) [Compare Source](https://togithub.com/imroc/req/compare/v3.2.2...v3.2.3) ### [`v3.2.2`](https://togithub.com/imroc/req/compare/v3.2.1...v3.2.2) [Compare Source](https://togithub.com/imroc/req/compare/v3.2.1...v3.2.2) ### [`v3.2.1`](https://togithub.com/imroc/req/compare/v3.2.0...v3.2.1) [Compare Source](https://togithub.com/imroc/req/compare/v3.2.0...v3.2.1) ### [`v3.2.0`](https://togithub.com/imroc/req/compare/v3.1.0...v3.2.0) [Compare Source](https://togithub.com/imroc/req/compare/v3.1.0...v3.2.0) ### [`v3.1.0`](https://togithub.com/imroc/req/compare/v3.0.1...v3.1.0) [Compare Source](https://togithub.com/imroc/req/compare/v3.0.1...v3.1.0) ### [`v3.0.1`](https://togithub.com/imroc/req/compare/v3.0.0...v3.0.1) [Compare Source](https://togithub.com/imroc/req/compare/v3.0.0...v3.0.1) ### [`v3.0.0`](https://togithub.com/imroc/req/compare/v2.1.0...v3.0.0) [Compare Source](https://togithub.com/imroc/req/compare/v2.1.0...v3.0.0) ### [`v2.1.0`](https://togithub.com/imroc/req/compare/v2.0.6...v2.1.0) [Compare Source](https://togithub.com/imroc/req/compare/v2.0.6...v2.1.0) ### [`v2.0.6`](https://togithub.com/imroc/req/compare/v2.0.5...v2.0.6) [Compare Source](https://togithub.com/imroc/req/compare/v2.0.5...v2.0.6) ### [`v2.0.5`](https://togithub.com/imroc/req/compare/v2.0.4...v2.0.5) [Compare Source](https://togithub.com/imroc/req/compare/v2.0.4...v2.0.5) ### [`v2.0.4`](https://togithub.com/imroc/req/compare/v2.0.3...v2.0.4) [Compare Source](https://togithub.com/imroc/req/compare/v2.0.3...v2.0.4) ### [`v2.0.3`](https://togithub.com/imroc/req/compare/v2.0.2...v2.0.3) [Compare Source](https://togithub.com/imroc/req/compare/v2.0.2...v2.0.3) ### [`v2.0.2`](https://togithub.com/imroc/req/compare/v2.0.1...v2.0.2) [Compare Source](https://togithub.com/imroc/req/compare/v2.0.1...v2.0.2) ### [`v2.0.1`](https://togithub.com/imroc/req/compare/v2.0.0...v2.0.1) [Compare Source](https://togithub.com/imroc/req/compare/v2.0.0...v2.0.1) ### [`v2.0.0`](https://togithub.com/imroc/req/compare/v0.3.2...v2.0.0) [Compare Source](https://togithub.com/imroc/req/compare/v0.3.2...v2.0.0) ### [`v0.3.2`](https://togithub.com/imroc/req/compare/v0.3.1...v0.3.2) [Compare Source](https://togithub.com/imroc/req/compare/v0.3.1...v0.3.2) ### [`v0.3.1`](https://togithub.com/imroc/req/compare/v0.3.0...v0.3.1) [Compare Source](https://togithub.com/imroc/req/compare/v0.3.0...v0.3.1)

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.



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 1 month ago

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

Details:

Package Change
go 1.13 -> 1.22.5