发布日期: 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

New Contributors

Full Changelog: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.27.2...v2.27.3

下载链接