grpc-gateway v2.13.0 版本更新介绍
发布日期: 2022-11-01
版本号: v2.13.0
本次更新包含多项改进:将gRPC的取消状态码替换为HTTP 499状态码,修复了默认服务标签自动生成的问题,改用标签替代has pin作为SLSA生成器参数,将Conduit添加至项目采用者列表,并为gen-openapiv2功能新增对尾部注释的支持及保留与"$ref"字段相邻的其他字段。此外,三位新贡献者@tech-sumit、@hariso和@ionling首次参与了项目提交。
更新内容 (中文)
主要变化
- 由 @tech-sumit 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/2957 中将已取消的 gRPC 代码替换为 HTTP 状态码 499
- 由 @kkolur 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/2960 中修复:移除方法的默认服务标签生成
- 由 @laurentsimon 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/2969 中为 SLSA 生成器改用标签替代哈希引脚
- 由 @hariso 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/2981 中将 Conduit 添加到采用者列表
- 由 @ionling 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/2965 中为 openapiv2 生成器新增尾部注释支持
- 由 @gostajonasson 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/2986 中改进 openapiv2 生成器:保留与 “$ref” 字段相邻的字段
新贡献者
- @tech-sumit 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/2957 完成首次贡献
- @hariso 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/2981 完成首次贡献
- @ionling 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/2965 完成首次贡献
完整变更日志: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.12.0...v2.13.0
更新内容 (原始)
What’s Changed
- Updated gRPC code Cancelled replaced with HTTP code 499 by @tech-sumit in https://github.com/grpc-ecosystem/grpc-gateway/pull/2957
- fix: remove default service tag generation for methods by @kkolur in https://github.com/grpc-ecosystem/grpc-gateway/pull/2960
- Use tag instead of has pin for SLSA generator by @laurentsimon in https://github.com/grpc-ecosystem/grpc-gateway/pull/2969
- Add Conduit to adopters by @hariso in https://github.com/grpc-ecosystem/grpc-gateway/pull/2981
- feat(gen-openapiv2): support trailing comments by @ionling in https://github.com/grpc-ecosystem/grpc-gateway/pull/2965
- feat(gen-openapiv2): keep fields next to “$ref” fields by @gostajonasson in https://github.com/grpc-ecosystem/grpc-gateway/pull/2986
New Contributors
- @tech-sumit made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/2957
- @hariso made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/2981
- @ionling made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/2965
Full Changelog: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.12.0...v2.13.0
下载链接
- grpc-gateway_2.13.0_checksums.txt
- protoc-gen-grpc-gateway-v2.13.0-darwin-arm64
- protoc-gen-grpc-gateway-v2.13.0-darwin-x86_64
- protoc-gen-grpc-gateway-v2.13.0-linux-arm64
- protoc-gen-grpc-gateway-v2.13.0-linux-x86_64
- protoc-gen-grpc-gateway-v2.13.0-windows-arm64.exe
- protoc-gen-grpc-gateway-v2.13.0-windows-x86_64.exe
- protoc-gen-openapiv2-v2.13.0-darwin-arm64
- protoc-gen-openapiv2-v2.13.0-darwin-x86_64
- protoc-gen-openapiv2-v2.13.0-linux-arm64
- protoc-gen-openapiv2-v2.13.0-linux-x86_64
- protoc-gen-openapiv2-v2.13.0-windows-arm64.exe
- protoc-gen-openapiv2-v2.13.0-windows-x86_64.exe