resty v3.0.0-alpha.7 版本更新介绍
发布日期: 2025-01-05
版本号: v3.0.0-alpha.7
Resty项目文档正在完善中,当前v3版本Godoc文档已同步更新,建议开发过程中可参考测试案例作为临时指引。近期更新包含:1) 构建配置优化及包文档更新;2)新增通过文件路径或字符串设置证书的功能;3)修复重试机制中查询参数重复的问题;4)引入可覆盖重试条件与钩子函数的能力(破坏性变更)。以上更新均由贡献者@jeevatkm提交并合并至主分支。
更新内容 (中文)
注意: 文档编写工作仍在进行中 (https://resty.dev)。v3 Godoc 已保持最新状态,建议暂时参考测试用例。
- build: 配置更新与包 godoc 更新 by @jeevatkm in https://github.com/go-resty/resty/pull/937
- feat: 新增 SetCertificateFromFile 和 SetCertificateFromString 方法 by @jeevatkm in https://github.com/go-resty/resty/pull/941
- fix: 修复重试时重复添加查询参数的问题 #938 by @jeevatkm in https://github.com/go-resty/resty/pull/942
- feat!: 新增重试条件和钩子的覆盖能力 #868 by @jeevatkm in https://github.com/go-resty/resty/pull/943
更新内容 (原始)
NOTE: Documentation work is in progress (https://resty.dev). v3 Godoc is up-to-date. Also, refer to test cases for the time being.
- build: config updates and package godoc update by @jeevatkm in https://github.com/go-resty/resty/pull/937
- feat: add SetCertificateFromFile and SetCertificateFromString by @jeevatkm in https://github.com/go-resty/resty/pull/941
- fix: retry duplicates query parameters #938 by @jeevatkm in https://github.com/go-resty/resty/pull/942
- feat!: add overwrite ability for retry conditions and hooks #868 by @jeevatkm in https://github.com/go-resty/resty/pull/943