Improved
v3.0.0-beta.4
v3 Beta Release
v3 Upgrade Guide
https://resty.dev/docs/upgrading-to-v3/
New Features and Enhancements
https://resty.dev/docs/new-features-and-enhancements/
Bug Fixes
- fix: potential wrong total time in trace info when the request is invalid (#1016) by @git-hulk in https://github.com/go-resty/resty/pull/1017
- fix: Fixed functions of decodeJson do not return. by @Khachi-at in https://github.com/go-resty/resty/pull/1002
- fix(circuit breaker): protect access to lastFailureAt by atomic operations to avoid race conditions by @liuzengh in https://github.com/go-resty/resty/pull/1019
- fix: Cookie Clone Issue in Client.Clone() by @jackcipher in https://github.com/go-resty/resty/pull/1036
- fix: be able to invoke Close in SSE callback by @invzhi in https://github.com/go-resty/resty/pull/1048
- fix: negative trace substraction when using SetTimeout by @nicolasbeauvais in https://github.com/go-resty/resty/pull/1038
- fix: add missing flow and check for do not parse response #1051 by @jeevatkm in https://github.com/go-resty/resty/pull/1068
Features & Enhancements
- feat: Add close hooks by @pior in https://github.com/go-resty/resty/pull/1054
- feat(enhancement): Use crypto/sha256 instead of crypto/md5 for FIPS compliance. by @BillBuilt in https://github.com/go-resty/resty/pull/1056
- feat(enhancement): add MaxConnsPerHost setting into TransportSettings #1058 by @jeevatkm in https://github.com/go-resty/resty/pull/1069
- docs: correct code grammar in comments by @invzhi in https://github.com/go-resty/resty/pull/1049
- ci: update go.mod package and build config by @jeevatkm in https://github.com/go-resty/resty/pull/1067
- release: version bump and readme update by @jeevatkm in https://github.com/go-resty/resty/pull/1070
Tests
- test: Add HTTPS request with trace test for coverage by @nicolasbeauvais in https://github.com/go-resty/resty/pull/1064
- chore: fix typos in tests by @alexandear in https://github.com/go-resty/resty/pull/1063
New Contributors
- @Khachi-at made their first contribution in https://github.com/go-resty/resty/pull/1002
- @jackcipher made their first contribution in https://github.com/go-resty/resty/pull/1036
- @invzhi made their first contribution in https://github.com/go-resty/resty/pull/1049
- @pior made their first contribution in https://github.com/go-resty/resty/pull/1054
- @BillBuilt made their first contribution in https://github.com/go-resty/resty/pull/1056
- @alexandear made their first contribution in https://github.com/go-resty/resty/pull/1063
Full Changelog: https://github.com/go-resty/resty/compare/v3.0.0-beta.3...v3.0.0-beta.4