Skip to content

Releases: grpc-ecosystem/grpc-gateway

v2.11.2

06 Aug 08:41
820b926
Compare
Choose a tag to compare

This fixes an issue with the openapiv2 generator if there is a colon in the verb, and updates the minimum supported Go version to Go 1.17.

What's Changed

Full Changelog: v2.11.1...v2.11.2

v2.11.1

30 Jul 02:53
0149eb9
Compare
Choose a tag to compare

This release fixes a crash in the grpc-gateway handling of requests containing invalid an Grpc-Timeout or Grpc-Metadata-Bin header (#2822). It is strongly recommended that users upgrade both the runtime and generator versions.

What's Changed

New Contributors

Full Changelog: v2.11.0...v2.11.1

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