grpc-gateway v2.24.0 版本更新介绍
发布日期: 2024-11-22
版本号: v2.24.0
本次更新包含多项功能改进与修复:新增当响应为空时跳过调用HTTP Write方法的功能;支持指定流内容类型及Bazel模块;优化生成代码的空行数量,统一使用标准HTTP方法及errors.Is进行错误比较;修复了文档示例中的序列化函数命名、有效时间戳错误处理、Bazel模块依赖及构建工具依赖问题。文档方面更新了定制化网关的参考资料。新增贡献者包括@reversearrow、@emmanuel-ferdman、@huin、@AlejoAsd、@mmorel-35、@o-nix和@jakec-github。
更新内容 (中文)
详见原始内容
更新内容 (原始)
What’s Changed
- feat: skip calling http Write method when response is of empty type by @reversearrow in https://github.com/grpc-ecosystem/grpc-gateway/pull/4902
- docs: update
customizing_your_gateway.md
reference by @emmanuel-ferdman in https://github.com/grpc-ecosystem/grpc-gateway/pull/4940 - Optional specification of stream content type by @huin in https://github.com/grpc-ecosystem/grpc-gateway/pull/4926
- Add bzlmod support by @AlejoAsd in https://github.com/grpc-ecosystem/grpc-gateway/pull/4937
- chore: reduce number of empty lines in generated code by @mmorel-35 in https://github.com/grpc-ecosystem/grpc-gateway/pull/4965
- Fix Bazel module dependencies by @AlejoAsd in https://github.com/grpc-ecosystem/grpc-gateway/pull/4974
- chore: use standard httpMethod in generated code by @mmorel-35 in https://github.com/grpc-ecosystem/grpc-gateway/pull/4970
- chore: use errors.Is to compare errors in generated code by @mmorel-35 in https://github.com/grpc-ecosystem/grpc-gateway/pull/4971
- Fix marshaler interface function name in examples in docs by @o-nix in https://github.com/grpc-ecosystem/grpc-gateway/pull/4978
- Errors on valid timestamps by @jakec-github in https://github.com/grpc-ecosystem/grpc-gateway/pull/4973
- Fix Bazel
buildtools
dependency by @AlejoAsd in https://github.com/grpc-ecosystem/grpc-gateway/pull/4980
New Contributors
- @reversearrow made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/4902
- @emmanuel-ferdman made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/4940
- @huin made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/4926
- @AlejoAsd made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/4937
- @mmorel-35 made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/4965
- @o-nix made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/4978
- @jakec-github made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/4973
Full Changelog: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.23.0...v2.24.0
下载链接
- grpc-gateway_2.24.0_checksums.txt
- multiple.intoto.jsonl
- protoc-gen-grpc-gateway-v2.24.0-darwin-arm64
- protoc-gen-grpc-gateway-v2.24.0-darwin-x86_64
- protoc-gen-grpc-gateway-v2.24.0-linux-arm64
- protoc-gen-grpc-gateway-v2.24.0-linux-x86_64
- protoc-gen-grpc-gateway-v2.24.0-windows-arm64.exe
- protoc-gen-grpc-gateway-v2.24.0-windows-x86_64.exe
- protoc-gen-openapiv2-v2.24.0-darwin-arm64
- protoc-gen-openapiv2-v2.24.0-darwin-x86_64
- protoc-gen-openapiv2-v2.24.0-linux-arm64
- protoc-gen-openapiv2-v2.24.0-linux-x86_64
- protoc-gen-openapiv2-v2.24.0-windows-arm64.exe
- protoc-gen-openapiv2-v2.24.0-windows-x86_64.exe