grpc-gateway v2.19.0 版本更新介绍
发布日期: 2024-01-03
版本号: v2.19.0
本次更新主要包含以下改动:修复了在可能情况下优先使用req.Body替代IOReaderFactory的问题;为运行时添加了外传trailer匹配功能;支持通过命令行向Go模板传递openapiv2_opt参数;修复了生成OpenAPI时未考虑openapiv2_tag.name属性的问题;新增将部分消息创建为命名定义的功能;修正了方法中的名称标签问题;并撤销了特定提交。新增贡献者包括@leungster、@adriansmares、@500poundbear、@omrikiei和@nkcr,他们分别通过对应的PR完成了首次贡献。
更新内容 (中文)
更新内容
- 修复:尽可能使用
req.Body
替代IOReaderFactory
by @leungster in https://github.com/grpc-ecosystem/grpc-gateway/pull/3727 - 运行时:添加出站 trailer 匹配功能 by @adriansmares in https://github.com/grpc-ecosystem/grpc-gateway/pull/3725
- 新增通过命令行向 go 模板传递值的 openapiv2_opt 支持 by @500poundbear in https://github.com/grpc-ecosystem/grpc-gateway/pull/3764
- [Bug #3829] [protoc-gen-openapiv2] 生成 OpenAPI 时考虑 openapiv2_tag.name 属性 by @omrikiei in https://github.com/grpc-ecosystem/grpc-gateway/pull/3830
- 功能:将部分消息创建为命名定义 by @nkcr in https://github.com/grpc-ecosystem/grpc-gateway/pull/3743
- 修复方法中的名称标签 by @omrikiei in https://github.com/grpc-ecosystem/grpc-gateway/pull/3843
- 撤销提交 4c79b45386348459926176911cb6b35f6f53dcdc by @johanbrandhorst in https://github.com/grpc-ecosystem/grpc-gateway/pull/3856
新贡献者
- @leungster 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/3727 提交了首次贡献
- @adriansmares 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/3725 提交了首次贡献
- @500poundbear 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/3764 提交了首次贡献
- @omrikiei 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/3830 提交了首次贡献
- @nkcr 在 https://github.com/grpc-ecosystem/grpc-gateway/pull/3743 提交了首次贡献
完整变更日志: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.18.1...v2.19.0
更新内容 (原始)
What’s Changed
- fix: use req.Body instead of IOReaderFactory when possible by @leungster in https://github.com/grpc-ecosystem/grpc-gateway/pull/3727
- runtime: Add outgoing trailer matching by @adriansmares in https://github.com/grpc-ecosystem/grpc-gateway/pull/3725
- Add openapiv2_opt support for passing values to go templates via cli by @500poundbear in https://github.com/grpc-ecosystem/grpc-gateway/pull/3764
- [Bug #3829] [protoc-gen-openapiv2] consider openapiv2_tag.name attribute when generating ope… by @omrikiei in https://github.com/grpc-ecosystem/grpc-gateway/pull/3830
- feat: partial message created as named definitions by @nkcr in https://github.com/grpc-ecosystem/grpc-gateway/pull/3743
- Fix name tags in methods by @omrikiei in https://github.com/grpc-ecosystem/grpc-gateway/pull/3843
- Revert 4c79b45386348459926176911cb6b35f6f53dcdc by @johanbrandhorst in https://github.com/grpc-ecosystem/grpc-gateway/pull/3856
New Contributors
- @leungster made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/3727
- @adriansmares made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/3725
- @500poundbear made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/3764
- @omrikiei made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/3830
- @nkcr made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/3743
Full Changelog: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.18.1...v2.19.0
下载链接
- grpc-gateway_2.19.0_checksums.txt
- multiple.intoto.jsonl
- protoc-gen-grpc-gateway-v2.19.0-darwin-arm64
- protoc-gen-grpc-gateway-v2.19.0-darwin-x86_64
- protoc-gen-grpc-gateway-v2.19.0-linux-arm64
- protoc-gen-grpc-gateway-v2.19.0-linux-x86_64
- protoc-gen-grpc-gateway-v2.19.0-windows-arm64.exe
- protoc-gen-grpc-gateway-v2.19.0-windows-x86_64.exe
- protoc-gen-openapiv2-v2.19.0-darwin-arm64
- protoc-gen-openapiv2-v2.19.0-darwin-x86_64
- protoc-gen-openapiv2-v2.19.0-linux-arm64
- protoc-gen-openapiv2-v2.19.0-linux-x86_64
- protoc-gen-openapiv2-v2.19.0-windows-arm64.exe
- protoc-gen-openapiv2-v2.19.0-windows-x86_64.exe