Skip to content

Releases: grpc-ecosystem/grpc-gateway

v2.11.0

19 Jul 22:54
9f825b9
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.10.3...v2.11.0

v2.10.3

01 Jun 13:46
406eec6
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.10.2...v2.10.3

v2.10.2

23 May 22:53
3849b8a
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @lanlyhs made their first contribution in #2706
  • @kurochan made their first contribution in #2701

Full Changelog: v2.10.1...v2.10.2

v2.10.1

20 May 00:10
5abbca7
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.10.0...v2.10.1

v2.10.0

21 Mar 20:42
43dbac1
Compare
Choose a tag to compare

This release contains a new annotation that allows you to configure the path parameter names generated in your swagger.json, which can be useful in some circumstances. Please see https://grpc-ecosystem.github.io/grpc-gateway/docs/mapping/customizing_openapi_output/#path-parameters for documentation on how to use this new capability.

Note that in order to take advantage of the new annotation, you will need to update your vendored dependency, or update your buf.build/grpc-ecosystem/grpc-gateway dependency to at least f85c60ac38544f2d8f346491c9d916e5. This can be accomplished by running buf mod update in the folder where you have your buf.yaml.

What's Changed

New Contributors

Full Changelog: v2.9.0...v2.10.0

v2.9.0

18 Mar 01:29
c5b969a
Compare
Choose a tag to compare

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 #2574
  • protoc-gen-openapiv2: support YAML OpenAPI/Swagger v2 definition generation by @hedhyw in #2579
  • Add support for google.api.VisibilityRules annotations to hide APIs and fields by @BCook98 in #2578
  • feature/custom HTTP health check endpoint by @antonioiubatti93 in #2587

New Contributors

Full Changelog: v2.8.0...v2.9.0

v2.8.0

02 Mar 17:58
bd0d991
Compare
Choose a tag to compare

Overview

This release introduces the new WithHealthzEndpoint which makes it easy to forward your gRPC health check endpoint to your gRPC-gateway server, and fixes a long standing bug in protoc-gen-openapiv2 where path parameters were included in both the path and the body of the generated spec (#1670 and #1015).

What's Changed

  • Include Package in Service Tags when Option is Enabled by @dkiswanto in #2519
  • Add WithHealthzEndpoint as ServeMuxOption to register a /healthzendpoint by @brumhard in #2319
  • protoc-gen-openapiv2: remove path parameters from body parameters by @oyvindwe in #2553

New Contributors

Full Changelog: v2.7.3...v2.8.0

v2.7.3

20 Jan 02:27
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.7.2...v2.7.3

v2.7.2

16 Dec 01:09
Compare
Choose a tag to compare

What's Changed

  • Log warning if HeaderMatcherFunc passes malformed HTTP headers to grpc server by @MakDon in #2455
  • Fixes #407 and #1700 - google.api.http path parameter constraints and multiple HTTP path/method endpoint support by @betmix-matt in #2461
    This fixes a long standing issue with OpenAPI spec generation in the face of complex path parameter use

New Contributors

Full Changelog: v2.7.1...v2.7.2

v2.7.1

02 Dec 03:30
432b7f7
Compare
Choose a tag to compare

What's Changed

  • Replace "github.com/ghodss/yaml" with "sigs.k8s.io/yaml" by @slntopp in #2436
  • build: upgrade go directive in go.mod to 1.17 by @Juneezee in #2443
  • Revert "support grpc.ClientConnInterface in RegisterXXXHandler (#2398)" by @shane-kerr in #2444

New Contributors

Full Changelog: v2.7.0...v2.7.1