grpc-gateway v2.27.3 版本更新介绍
发布日期: 2025-10-02
版本号: v2.27.3
grpc-gateway v2.27.3版本发布,主要更新包括:重构runtime以使用reflect.TypeFor;修复即使没有传入头部时也为上下文添加注释的功能;新增Opaque API和Protobuf Editions支持;修复healthz端点处理程序的注释;以及改进expand_slash_patterns=true设置下对包含连字符参数的处理。本次更新由cuiweixie、boolangery、kop、ZY-Ang和goulashify等五位贡献者首次参与提交。完整变更日志可在v2.27.2与v2.27.3版本间对比查看。
更新内容 (中文)
更新内容
- 重构(runtime):使用reflect.TypeFor,由@cuiweixie在https://github.com/grpc-ecosystem/grpc-gateway/pull/5868中贡献
- 修复(runtime):即使没有传入请求头也标注上下文,由@boolangery在https://github.com/grpc-ecosystem/grpc-gateway/pull/5887中贡献
- 新特性:添加Opaque API与Protobuf Editions支持,由@kop在https://github.com/grpc-ecosystem/grpc-gateway/pull/5723中贡献
- 修复:标注healthz端点处理器,由@ZY-Ang在https://github.com/grpc-ecosystem/grpc-gateway/pull/5914中贡献
- 设置expand_slash_patterns=true后现在能正确处理带连字符的参数,由@goulashify在https://github.com/grpc-ecosystem/grpc-gateway/pull/5938中贡献
新贡献者
- @cuiweixie在https://github.com/grpc-ecosystem/grpc-gateway/pull/5868中完成首次贡献
- @boolangery在https://github.com/grpc-ecosystem/grpc-gateway/pull/5887中完成首次贡献
- @kop在https://github.com/grpc-ecosystem/grpc-gateway/pull/5723中完成首次贡献
- @ZY-Ang在https://github.com/grpc-ecosystem/grpc-gateway/pull/5914中完成首次贡献
- @goulashify在https://github.com/grpc-ecosystem/grpc-gateway/pull/5938中完成首次贡献
完整变更日志:https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.27.2…v2.27.3
更新内容 (原始)
What’s Changed
- refactor(runtime): using reflect.TypeFor by @cuiweixie in https://github.com/grpc-ecosystem/grpc-gateway/pull/5868
- fix(runtime): annotate context even if no incoming headers by @boolangery in https://github.com/grpc-ecosystem/grpc-gateway/pull/5887
- feat: add Opaque API and Protobuf Editions support by @kop in https://github.com/grpc-ecosystem/grpc-gateway/pull/5723
- fix: annotate healthz endpoint handler by @ZY-Ang in https://github.com/grpc-ecosystem/grpc-gateway/pull/5914
- expand_slash_patterns=true now converts parameters with hyphens correctly by @goulashify in https://github.com/grpc-ecosystem/grpc-gateway/pull/5938
New Contributors
- @cuiweixie made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/5868
- @boolangery made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/5887
- @kop made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/5723
- @ZY-Ang made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/5914
- @goulashify made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/5938
Full Changelog: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.27.2...v2.27.3
下载链接
- grpc-gateway-v2.27.3.tar.gz
- grpc-gateway_2.27.3_checksums.txt
- multiple.intoto.jsonl
- protoc-gen-grpc-gateway-v2.27.3-darwin-arm64
- protoc-gen-grpc-gateway-v2.27.3-darwin-x86_64
- protoc-gen-grpc-gateway-v2.27.3-linux-arm64
- protoc-gen-grpc-gateway-v2.27.3-linux-x86_64
- protoc-gen-grpc-gateway-v2.27.3-windows-arm64.exe
- protoc-gen-grpc-gateway-v2.27.3-windows-x86_64.exe
- protoc-gen-openapiv2-v2.27.3-darwin-arm64
- protoc-gen-openapiv2-v2.27.3-darwin-x86_64
- protoc-gen-openapiv2-v2.27.3-linux-arm64
- protoc-gen-openapiv2-v2.27.3-linux-x86_64
- protoc-gen-openapiv2-v2.27.3-windows-arm64.exe
- protoc-gen-openapiv2-v2.27.3-windows-x86_64.exe