resty v3.0.0-alpha.8 版本更新介绍
发布日期: 2025-01-13
版本号: v3.0.0-alpha.8
本次更新包含以下功能改进和测试调整:新增multipart功能在文件路径为空时自动从路径提取文件名;优化断路器测试的时间参数并更新文档说明;补充缺失的SetHeaderAuthorizationKey方法的互斥锁实现及调用流程;当请求路径为空或为根路径时,使用主机名作为默认响应保存名称;引入flate对象池实现读取器复用以提升性能。所有改动由开发者jeevatkm提交完成。
更新内容 (中文)
- feat(enhancement): 当文件路径值为空时,从路径自动填充多部分文件名 by @jeevatkm in https://github.com/go-resty/resty/pull/944
- test: 调整断路器测试的时间持续时间及更新README by @jeevatkm in https://github.com/go-resty/resty/pull/945
- feat(enhancement): 添加缺失的 SetHeaderAuthorizationKey 方法,涉及互斥锁实现及其流程 by @jeevatkm in https://github.com/go-resty/resty/pull/947
- feat(enhancement): 当路径为空或’/‘时使用请求主机名作为保存响应文件名 by @jeevatkm in https://github.com/go-resty/resty/pull/948
- feat: 添加 flate 池以复用读取器 by @jeevatkm in https://github.com/go-resty/resty/pull/949
更新内容 (原始)
NOTE: Documentation https://resty.dev, also use godoc and test cases for the time being.
- feat(enhancement): multipart populate filename from path if file path value is empty by @jeevatkm in https://github.com/go-resty/resty/pull/944
- test: adjust time duration on circuit breaker test and readme update by @jeevatkm in https://github.com/go-resty/resty/pull/945
- feat(enhancement): add missing SetHeaderAuthorizationKey from the mutex implementation and the flow of it by @jeevatkm in https://github.com/go-resty/resty/pull/947
- feat(enhancement): use request hostname if path is empty or ‘/’ for save response by @jeevatkm in https://github.com/go-resty/resty/pull/948
- feat: add flate pool to reuse the reader by @jeevatkm in https://github.com/go-resty/resty/pull/949