grpc-gateway v2.22.0 版本更新介绍
发布日期: 2024-08-16
版本号: v2.22.0
grpc-gateway项目进行了多项功能更新和修复:新增了完全覆盖HTTP响应的示例说明;修复了转发响应选项时的错误日志打印问题;添加了CustomQueryParser功能文档及使用示例;解决了OpenAPI中Unique Items参数的定位问题;修复了所有测试的lint警告提示;更新了CI支持的Go语言版本范围;新增WithForwardResponseRewriter功能以实现更灵活的响应控制。本次更新还迎来了五位首次贡献者@nguyentranbao-ct、@taichimaeda、@texzone、@sebaraj和@nkcmr,他们分别完成了上述部分功能的开发与文档完善工作。
更新内容 (中文)
更新内容
- docs: 新增完整覆盖HTTP响应示例 by @nguyentranbao-ct in https://github.com/grpc-ecosystem/grpc-gateway/pull/4564
- 通过@taichimaeda在https://github.com/grpc-ecosystem/grpc-gateway/pull/4594中修复handleForwardResponseOptions的错误日志输出
- 通过@texzone在https://github.com/grpc-ecosystem/grpc-gateway/pull/4602中新增CustomQueryParser功能说明及示例文档
- 修复#4614中Unique Items的定位问题 by @sebaraj in https://github.com/grpc-ecosystem/grpc-gateway/pull/4619
- 通过@johanbrandhorst在https://github.com/grpc-ecosystem/grpc-gateway/pull/4632中修复所有测试的lint告警
- ci: 更新支持的Go版本 by @johanbrandhorst in https://github.com/grpc-ecosystem/grpc-gateway/pull/4634
- feat: 新增WithForwardResponseRewriter以增强响应控制 by @nkcmr in https://github.com/grpc-ecosystem/grpc-gateway/pull/4622
新贡献者
- @nguyentranbao-ct 在https://github.com/grpc-ecosystem/grpc-gateway/pull/4564完成首次贡献
- @taichimaeda 在https://github.com/grpc-ecosystem/grpc-gateway/pull/4594完成首次贡献
- @texzone 在https://github.com/grpc-ecosystem/grpc-gateway/pull/4602完成首次贡献
- @sebaraj 在https://github.com/grpc-ecosystem/grpc-gateway/pull/4619完成首次贡献
- @nkcmr 在https://github.com/grpc-ecosystem/grpc-gateway/pull/4622完成首次贡献
完整变更日志: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.21.0…v2.22.0
更新内容 (原始)
What’s Changed
- docs: add example to fully override http responses by @nguyentranbao-ct in https://github.com/grpc-ecosystem/grpc-gateway/pull/4564
- stop printing error logs in handleForwardResponseOptions by @taichimaeda in https://github.com/grpc-ecosystem/grpc-gateway/pull/4594
- Add some documenation for CustomQueryParser with examples by @texzone in https://github.com/grpc-ecosystem/grpc-gateway/pull/4602
- Fix #4614 Unique Items placement by @sebaraj in https://github.com/grpc-ecosystem/grpc-gateway/pull/4619
- all: fix test lint warnings by @johanbrandhorst in https://github.com/grpc-ecosystem/grpc-gateway/pull/4632
- ci: update go versions supported by @johanbrandhorst in https://github.com/grpc-ecosystem/grpc-gateway/pull/4634
- feat: Add WithForwardResponseRewriter to allow easier/more useful response control by @nkcmr in https://github.com/grpc-ecosystem/grpc-gateway/pull/4622
New Contributors
- @nguyentranbao-ct made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/4564
- @taichimaeda made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/4594
- @texzone made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/4602
- @sebaraj made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/4619
- @nkcmr made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/4622
Full Changelog: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.21.0...v2.22.0
下载链接
- grpc-gateway_2.22.0_checksums.txt
- multiple.intoto.jsonl
- protoc-gen-grpc-gateway-v2.22.0-darwin-arm64
- protoc-gen-grpc-gateway-v2.22.0-darwin-x86_64
- protoc-gen-grpc-gateway-v2.22.0-linux-arm64
- protoc-gen-grpc-gateway-v2.22.0-linux-x86_64
- protoc-gen-grpc-gateway-v2.22.0-windows-arm64.exe
- protoc-gen-grpc-gateway-v2.22.0-windows-x86_64.exe
- protoc-gen-openapiv2-v2.22.0-darwin-arm64
- protoc-gen-openapiv2-v2.22.0-darwin-x86_64
- protoc-gen-openapiv2-v2.22.0-linux-arm64
- protoc-gen-openapiv2-v2.22.0-linux-x86_64
- protoc-gen-openapiv2-v2.22.0-windows-arm64.exe
- protoc-gen-openapiv2-v2.22.0-windows-x86_64.exe