发布日期: 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

New Contributors

Full Changelog: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.21.0...v2.22.0

下载链接