发布日期: 2026-02-10
版本号: v2.27.8

grpc-gateway v2.27.8版本更新包含以下修复:解决了OpenAPI生成时缺失导入的大小写问题;回退了针对多文件生成时防止恐慌的修复;修复了多文件生成中的命名缓存问题;并在proto3字段语义下排除了oneof字段的必填要求。此外,用户@sessa首次为该项目做出了贡献。

更新内容 (中文)

变更内容

  • 修复不透明缺失导入的大小写问题,由 @kellen-miller 提交:https://github.com/grpc-ecosystem/grpc-gateway/pull/6304
  • 撤回"修复(protoc-gen-openapiv2):防止为多个文件生成OpenAPI时发生恐慌",由 @johanbrandhorst 提交:https://github.com/grpc-ecosystem/grpc-gateway/pull/6309
  • 修复(protoc-gen-openapiv2):修复多文件生成时的命名缓存问题,由 @franchb 提交:https://github.com/grpc-ecosystem/grpc-gateway/pull/6315
  • 修复(openapiv2):根据proto3字段语义将oneof字段从必填项中排除,由 @sessa 提交:https://github.com/grpc-ecosystem/grpc-gateway/pull/6335

新贡献者

  • @sessa 在此贡献中首次参与:https://github.com/grpc-ecosystem/grpc-gateway/pull/6335

完整变更日志:https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.27.7…v2.27.8

更新内容 (原始)

What’s Changed

New Contributors

Full Changelog: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.27.7...v2.27.8

下载链接