v2.9.0
版本发布时间: 2022-03-18 09:29:01
grpc-ecosystem/grpc-gateway最新发布版本:v2.22.0(2024-08-17 05:45:29)
This release adds the ability to filter properties (Services, RPCs, Fields, Enum values) from being rendered in the OpenAPI v2 spec generated by protoc-gen-openapiv2
. See https://grpc-ecosystem.github.io/grpc-gateway/docs/mapping/customizing_openapi_output/#hiding-fields-methods-services-and-enum-values for more information about this new exciting capability!
Other new features:
- A new option to generate the OpenAPI v2 spec in YAML format
- Allow serving a health endpoint at an arbitrary path with the new
WithHealthEndpointAt
ServeMux
option
What's Changed
- Annotate incoming and outgoing context by @rogchap in https://github.com/grpc-ecosystem/grpc-gateway/pull/2574
- protoc-gen-openapiv2: support YAML OpenAPI/Swagger v2 definition generation by @hedhyw in https://github.com/grpc-ecosystem/grpc-gateway/pull/2579
- Add support for
google.api.VisibilityRule
s annotations to hide APIs and fields by @BCook98 in https://github.com/grpc-ecosystem/grpc-gateway/pull/2578 - feature/custom HTTP health check endpoint by @antonioiubatti93 in https://github.com/grpc-ecosystem/grpc-gateway/pull/2587
New Contributors
- @rogchap made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/2574
- @hedhyw made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/2579
- @BCook98 made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/2578
- @antonioiubatti93 made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/2587
Full Changelog: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.8.0...v2.9.0
1、 grpc-gateway_2.9.0_checksums.txt 665B
2、 protoc-gen-grpc-gateway-v2.9.0-darwin-x86_64 7.42MB
3、 protoc-gen-grpc-gateway-v2.9.0-linux-x86_64 6.76MB
4、 protoc-gen-grpc-gateway-v2.9.0-windows-x86_64.exe 7.03MB
5、 protoc-gen-openapiv2-v2.9.0-darwin-x86_64 7.9MB
6、 protoc-gen-openapiv2-v2.9.0-linux-x86_64 7.15MB