grpc-gateway v2.19.1 版本更新介绍
发布日期: 2024-01-29
版本号: v2.19.1
本次更新主要包含以下改进和修复:移除生成protoComments中的内部注释;在请求体使用oneof字段时,排除同组字段在查询参数中的出现;当map类型字段未设置子字段时,自动将其加入fieldMask;支持在使用X-HTTP-Method-Override请求头时解析请求体;修复查询参数覆盖路径参数的问题。此次共有四位新贡献者加入:@kiambogo提交了首个PR#3864,@ovargas贡献了#3862,@sbansal7完成了#3879,@eyasy1217实现了#3918的修改。
更新内容 (中文)
更新内容
- (修复) 从生成的 protoComments 中移除内部注释 by @kiambogo in https://github.com/grpc-ecosystem/grpc-gateway/pull/3864
- 修复(protoc-gen-openapiv2): 排除查询参数中与请求体同属一个 oneof 组的字段 by @ovargas in https://github.com/grpc-ecosystem/grpc-gateway/pull/3862
- 当映射未设置子字段时,将字段添加至 fieldMask by @sbansal7 in https://github.com/grpc-ecosystem/grpc-gateway/pull/3879
- 使用 X-HTTP-Method-Override 标头时解析请求体 by @eyasy1217 in https://github.com/grpc-ecosystem/grpc-gateway/pull/3918
- 通过查询参数修复路径参数覆盖问题 by @ljmsc in https://github.com/grpc-ecosystem/grpc-gateway/pull/3946
新贡献者
- @kiambogo 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/3864 完成首次贡献
- @ovargas 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/3862 完成首次贡献
- @sbansal7 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/3879 完成首次贡献
- @eyasy1217 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/3918 完成首次贡献
完整变更日志: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.19.0…v2.19.1
更新内容 (原始)
What’s Changed
- (fix) remove internal comments from generated protoComments by @kiambogo in https://github.com/grpc-ecosystem/grpc-gateway/pull/3864
- fix(protoc-gen-openapiv2): exclude from query params oneof fields in the same group as the one used in the body by @ovargas in https://github.com/grpc-ecosystem/grpc-gateway/pull/3862
- If no subfields are set in a map, add the field to fieldMask by @sbansal7 in https://github.com/grpc-ecosystem/grpc-gateway/pull/3879
- Parse request body when using X-HTTP-Method-Override header by @eyasy1217 in https://github.com/grpc-ecosystem/grpc-gateway/pull/3918
- fix path param override by query params by @ljmsc in https://github.com/grpc-ecosystem/grpc-gateway/pull/3946
New Contributors
- @kiambogo made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/3864
- @ovargas made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/3862
- @sbansal7 made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/3879
- @eyasy1217 made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/3918
Full Changelog: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.19.0...v2.19.1
下载链接
- grpc-gateway_2.19.1_checksums.txt
- multiple.intoto.jsonl
- protoc-gen-grpc-gateway-v2.19.1-darwin-arm64
- protoc-gen-grpc-gateway-v2.19.1-darwin-x86_64
- protoc-gen-grpc-gateway-v2.19.1-linux-arm64
- protoc-gen-grpc-gateway-v2.19.1-linux-x86_64
- protoc-gen-grpc-gateway-v2.19.1-windows-arm64.exe
- protoc-gen-grpc-gateway-v2.19.1-windows-x86_64.exe
- protoc-gen-openapiv2-v2.19.1-darwin-arm64
- protoc-gen-openapiv2-v2.19.1-darwin-x86_64
- protoc-gen-openapiv2-v2.19.1-linux-arm64
- protoc-gen-openapiv2-v2.19.1-linux-x86_64
- protoc-gen-openapiv2-v2.19.1-windows-arm64.exe
- protoc-gen-openapiv2-v2.19.1-windows-x86_64.exe