grpc-gateway v2.11.1 版本更新介绍
发布日期: 2022-07-30
版本号: v2.11.1
此次更新修复了grpc-gateway在处理包含无效
Grpc-Timeout
或Grpc-Metadata-Bin
请求头时可能引发的崩溃问题(#2822),强烈建议用户同时升级运行时库和生成器版本。主要变更包括:默认启用allow_repeated_fields_in_body
选项并弃用相关配置,以及修复超时机制导致的异常崩溃。此外,开发者@armsnyder首次贡献了代码并参与相关功能调整。该版本为v2.11.1,完整更新内容可通过对比v2.11.0版本查看。
更新内容 (中文)
此版本修复了在grpc-gateway处理包含无效Grpc-Timeout
或Grpc-Metadata-Bin
请求头时导致的崩溃问题(#2822)。强烈建议用户同时升级运行时和生成器版本。
变更内容
- 将allow_repeated_fields_in_body选项默认设为true并弃用该选项 by @armsnyder in https://github.com/grpc-ecosystem/grpc-gateway/pull/2813
- 修复超时panic by @johanbrandhorst in https://github.com/grpc-ecosystem/grpc-gateway/pull/2823
新贡献者
- @armsnyder 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/2813 提交了首次贡献
完整变更日志: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.11.0...v2.11.1
更新内容 (原始)
This release fixes a crash in the grpc-gateway handling of requests containing invalid an Grpc-Timeout
or Grpc-Metadata-Bin
header (#2822). It is strongly recommended that users upgrade both the runtime and generator versions.
What’s Changed
- Default allow_repeated_fields_in_body option to true and deprecate option by @armsnyder in https://github.com/grpc-ecosystem/grpc-gateway/pull/2813
- Fix timeout panic by @johanbrandhorst in https://github.com/grpc-ecosystem/grpc-gateway/pull/2823
New Contributors
- @armsnyder made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/2813
Full Changelog: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.11.0...v2.11.1
下载链接
- grpc-gateway_2.11.1_checksums.txt
- protoc-gen-grpc-gateway-v2.11.1-darwin-arm64
- protoc-gen-grpc-gateway-v2.11.1-darwin-x86_64
- protoc-gen-grpc-gateway-v2.11.1-linux-arm64
- protoc-gen-grpc-gateway-v2.11.1-linux-x86_64
- protoc-gen-grpc-gateway-v2.11.1-windows-arm64.exe
- protoc-gen-grpc-gateway-v2.11.1-windows-x86_64.exe
- protoc-gen-openapiv2-v2.11.1-darwin-arm64
- protoc-gen-openapiv2-v2.11.1-darwin-x86_64
- protoc-gen-openapiv2-v2.11.1-linux-arm64
- protoc-gen-openapiv2-v2.11.1-linux-x86_64
- protoc-gen-openapiv2-v2.11.1-windows-arm64.exe
- protoc-gen-openapiv2-v2.11.1-windows-x86_64.exe