grpc-gateway v2.27.8 版本更新介绍
发布日期: 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
- Fix opaque missing imports casing by @kellen-miller in https://github.com/grpc-ecosystem/grpc-gateway/pull/6304
- Revert “fix(protoc-gen-openapiv2): prevent panic when generating OpenAPI for multiple files” by @johanbrandhorst in https://github.com/grpc-ecosystem/grpc-gateway/pull/6309
- fix(protoc-gen-openapiv2): fix naming cache for multi-file generation by @franchb in https://github.com/grpc-ecosystem/grpc-gateway/pull/6315
- fix(openapiv2): exclude oneof fields from required with proto3 field semantics by @sessa in https://github.com/grpc-ecosystem/grpc-gateway/pull/6335
New Contributors
- @sessa made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/6335
Full Changelog: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.27.7...v2.27.8
下载链接
- grpc-gateway-v2.27.8.tar.gz
- grpc-gateway_2.27.8_checksums.txt
- multiple.intoto.jsonl
- protoc-gen-grpc-gateway-v2.27.8-darwin-arm64
- protoc-gen-grpc-gateway-v2.27.8-darwin-x86_64
- protoc-gen-grpc-gateway-v2.27.8-linux-arm64
- protoc-gen-grpc-gateway-v2.27.8-linux-x86_64
- protoc-gen-grpc-gateway-v2.27.8-windows-arm64.exe
- protoc-gen-grpc-gateway-v2.27.8-windows-x86_64.exe
- protoc-gen-openapiv2-v2.27.8-darwin-arm64
- protoc-gen-openapiv2-v2.27.8-darwin-x86_64
- protoc-gen-openapiv2-v2.27.8-linux-arm64
- protoc-gen-openapiv2-v2.27.8-linux-x86_64
- protoc-gen-openapiv2-v2.27.8-windows-arm64.exe
- protoc-gen-openapiv2-v2.27.8-windows-x86_64.exe