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 #1017
- fix: Fixed functions of decodeJson do not return. by @Khachi-at in #1002
- fix(circuit breaker): protect access to lastFailureAt by atomic operations to avoid race conditions by @liuzengh in #1019
- fix: Cookie Clone Issue in Client.Clone() by @jackcipher in #1036
- fix: be able to invoke Close in SSE callback by @invzhi in #1048
- fix: negative trace substraction when using SetTimeout by @nicolasbeauvais in #1038
- fix: add missing flow and check for do not parse response #1051 by @jeevatkm in #1068
Features & Enhancements
- feat: Add close hooks by @pior in #1054
- feat(enhancement): Use crypto/sha256 instead of crypto/md5 for FIPS compliance. by @BillBuilt in #1056
- feat(enhancement): add MaxConnsPerHost setting into TransportSettings #1058 by @jeevatkm in #1069
- docs: correct code grammar in comments by @invzhi in #1049
- ci: update go.mod package and build config by @jeevatkm in #1067
- release: version bump and readme update by @jeevatkm in #1070
Tests
- test: Add HTTPS request with trace test for coverage by @nicolasbeauvais in #1064
- chore: fix typos in tests by @alexandear in #1063
New Contributors
- @Khachi-at made their first contribution in #1002
- @jackcipher made their first contribution in #1036
- @invzhi made their first contribution in #1049
- @pior made their first contribution in #1054
- @BillBuilt made their first contribution in #1056
- @alexandear made their first contribution in #1063
Full Changelog: v3.0.0-beta.3...v3.0.0-beta.4