v2.7.0 Release
Release Notes
Enhancements
- Added method
SetHeaderMultiValues
for easier adding of multi-value http headers #432 PR #452 @mhdiiilham - Updated Bazel build to work with 4.0.0 PR #428 @tanyabouman
- Optimzed and improved the sync.Pool & Body Closure for json.NewEncoder buffers PR #421 @pborzenkov
- Added
RetryConditions
toresty.Request
#315, #324, #433, PR #436 @rohitkg98 - Update go mod for dependencies PR #459 @jeevatkm
- Added
SetBaseURL
and deprecatedSetHostURL
#441 PR #480 @jeevatkm - Made exported field on
client.PathParams
andrequest.PathParams
PR #476 @lavoiesl - Adding ability to customize the XML marshal/unmarshal functions #481, PR #484 @jeevatkm
Bug Fixes
- Fixed: Empty file upload on multipart form, handling EOF from file readers #431 PR #438 @NathanBaulch
- Fixed: SetScheme option side effects on schemeless Host URL #407 PR #460 @jeevatkm
Tests
- Add 1.16.x and remove 1.14.x from the Travis build PR #434 @kishaningithub
- Migrated from Travis CI to Github Actions #479 PR #480 @jeevatkm
- Thank you Travis CI for these many years of CI service to Resty project
Documentation
- Addressing broken members link in readme PR #435 @kishaningithub
- Version update 2.6.0 on readme for go.mod PR #453 @cnmade