grpc-gateway v2.15.0 版本更新介绍
发布日期: 2022-12-21
版本号: v2.15.0
本次更新主要包含以下改进和修复:新增编码预分配功能,弃用允许重复字段参数并修复多个问题,包括文档补全、重复Any类型检查、YAML生成字段顺序调整、查询参数过滤逻辑优化及引用处理兼容性改进。此外,教程文档补充了protoc-gen-openapiv2工具的说明。三位新贡献者@alexeagle、@Fahmadi和@ljmsc首次参与项目提交代码。
更新内容 (中文)
变更内容
- utilities: 为编码数据添加预分配功能 by @sashamelentyev in https://github.com/grpc-ecosystem/grpc-gateway/pull/3024
- chore(logspam): 弃用 allow_repeated_fields_in_body 参数 by @alexeagle in https://github.com/grpc-ecosystem/grpc-gateway/pull/3040
- 多项修复 by @johanbrandhorst in https://github.com/grpc-ecosystem/grpc-gateway/pull/3083
- fix(docs): 在教程中添加 protoc-gen-openapiv2 说明 by @Fahmadi in https://github.com/grpc-ecosystem/grpc-gateway/pull/3075
- fix: 增加对重复 google.protobuf.Any 类型的检查 by @veith in https://github.com/grpc-ecosystem/grpc-gateway/pull/3080
- 修复 YAML 生成的 OAS 文件字段顺序 by @same-id in https://github.com/grpc-ecosystem/grpc-gateway/pull/3084
- fix: 将 JSON 名称包含到查询参数过滤器中 by @ljmsc in https://github.com/grpc-ecosystem/grpc-gateway/pull/3072
- 通过 AllOf 使 read_only 支持引用类型 by @same-id in https://github.com/grpc-ecosystem/grpc-gateway/pull/3082
新贡献者
- @alexeagle 首次贡献于 https://github.com/grpc-ecosystem/grpc-gateway/pull/3040
- @Fahmadi 首次贡献于 https://github.com/grpc-ecosystem/grpc-gateway/pull/3075
- @ljmsc 首次贡献于 https://github.com/grpc-ecosystem/grpc-gateway/pull/3072
完整变更日志: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.14.0...v2.15.0
更新内容 (原始)
What’s Changed
- utilities: Add preallocate for encoded by @sashamelentyev in https://github.com/grpc-ecosystem/grpc-gateway/pull/3024
- chore(logspam): allow_repeated_fields_in_body is deprecated by @alexeagle in https://github.com/grpc-ecosystem/grpc-gateway/pull/3040
- Various fixes by @johanbrandhorst in https://github.com/grpc-ecosystem/grpc-gateway/pull/3083
- fix(docs): add protoc-gen-openapiv2 to tutorial by @Fahmadi in https://github.com/grpc-ecosystem/grpc-gateway/pull/3075
- fix: add check for repeated google.protobuf.Any type by @veith in https://github.com/grpc-ecosystem/grpc-gateway/pull/3080
- Fix field order in yaml generated OAS file by @same-id in https://github.com/grpc-ecosystem/grpc-gateway/pull/3084
- fix: include json name to query param filter by @ljmsc in https://github.com/grpc-ecosystem/grpc-gateway/pull/3072
- Make read_only work with references using AllOf by @same-id in https://github.com/grpc-ecosystem/grpc-gateway/pull/3082
New Contributors
- @alexeagle made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/3040
- @Fahmadi made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/3075
- @ljmsc made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/3072
Full Changelog: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.14.0...v2.15.0
下载链接
- grpc-gateway_2.15.0_checksums.txt
- multiple.intoto.jsonl
- protoc-gen-grpc-gateway-v2.15.0-darwin-arm64
- protoc-gen-grpc-gateway-v2.15.0-darwin-x86_64
- protoc-gen-grpc-gateway-v2.15.0-linux-arm64
- protoc-gen-grpc-gateway-v2.15.0-linux-x86_64
- protoc-gen-grpc-gateway-v2.15.0-windows-arm64.exe
- protoc-gen-grpc-gateway-v2.15.0-windows-x86_64.exe
- protoc-gen-openapiv2-v2.15.0-darwin-arm64
- protoc-gen-openapiv2-v2.15.0-darwin-x86_64
- protoc-gen-openapiv2-v2.15.0-linux-arm64
- protoc-gen-openapiv2-v2.15.0-linux-x86_64
- protoc-gen-openapiv2-v2.15.0-windows-arm64.exe
- protoc-gen-openapiv2-v2.15.0-windows-x86_64.exe