grpc-gateway v2.26.0 版本更新介绍
发布日期: 2025-01-21
版本号: v2.26.0
本次更新包含以下主要变更:1. 放宽了项目对Go语言最低版本的要求(由@bobrik提交);2. protoc-gen-openapiv2工具不再将不可见枚举值设置为默认值(由@navruzm提交);3. 优化Content-Length头写入逻辑,仅在使用runtime.WithWriteContentLength()选项时才添加该响应头(由@joshgarnett提交)。两位新贡献者@bobrik和@navruzm首次参与了项目开发。版本从v2.25.1升级至v2.26.0。
更新内容 (中文)
主要变化
- fix(deps): 进一步放宽最低要求的 Go 版本 by @bobrik in https://github.com/grpc-ecosystem/grpc-gateway/pull/5094
- protoc-gen-openapiv2: 不再将不可见枚举值添加为默认值 by @navruzm in https://github.com/grpc-ecosystem/grpc-gateway/pull/5129
- 仅在指定 runtime.WithWriteContentLength() 选项时写入 Content-Length 头 by @joshgarnett in https://github.com/grpc-ecosystem/grpc-gateway/pull/5151
新贡献者
- @bobrik 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/5094 完成首次贡献
- @navruzm 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/5129 完成首次贡献
完整更新日志: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.25.1...v2.26.0
更新内容 (原始)
What’s Changed
- fix(deps): Relax the minimum required go version further by @bobrik in https://github.com/grpc-ecosystem/grpc-gateway/pull/5094
- protoc-gen-openapiv2: Do not add invisible enum values as default by @navruzm in https://github.com/grpc-ecosystem/grpc-gateway/pull/5129
- Only write Content-Length if the runtime.WithWriteContentLength() option is specified by @joshgarnett in https://github.com/grpc-ecosystem/grpc-gateway/pull/5151
New Contributors
- @bobrik made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/5094
- @navruzm made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/5129
Full Changelog: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.25.1...v2.26.0
下载链接
- grpc-gateway_2.26.0_checksums.txt
- multiple.intoto.jsonl
- protoc-gen-grpc-gateway-v2.26.0-darwin-arm64
- protoc-gen-grpc-gateway-v2.26.0-darwin-x86_64
- protoc-gen-grpc-gateway-v2.26.0-linux-arm64
- protoc-gen-grpc-gateway-v2.26.0-linux-x86_64
- protoc-gen-grpc-gateway-v2.26.0-windows-arm64.exe
- protoc-gen-grpc-gateway-v2.26.0-windows-x86_64.exe
- protoc-gen-openapiv2-v2.26.0-darwin-arm64
- protoc-gen-openapiv2-v2.26.0-darwin-x86_64
- protoc-gen-openapiv2-v2.26.0-linux-arm64
- protoc-gen-openapiv2-v2.26.0-linux-x86_64
- protoc-gen-openapiv2-v2.26.0-windows-arm64.exe
- protoc-gen-openapiv2-v2.26.0-windows-x86_64.exe