Skip to content

Releases: grpc-ecosystem/grpc-gateway

v2.11.0

19 Jul 22:54
9f825b9

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

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

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

Choose a tag to compare

What's Changed

  • protoc-gen-openapiv2: Use the canonical camelCase converter for protobuf by @oyvindwe in #2599
  • Revert gazelle dependency to original repository by @johanbrandhorst in #2605
  • Use Bytes from convert.go to unmarshal byte value by @HubertZhang in #2603
  • correct generate field mask for google.protobuf.struct field by @marsianin in #2619
  • Update golangci-lint to 1.45 for Go 1.18 support by @johanbrandhorst in #2631
  • Turn on dependabot updates for documentation by @achew22 in #2604
  • build(deps-dev): bump github-pages from 209 to 225 in /docs by @dependabot in #2633
  • support google.protobuf.Value by @wclssdn in #2628
  • fix: Correct typos in error messages from loading OpenAPI Configuration by @joonas in #2636
  • Set permissions for GitHub actions by @naveensrinivasan in #2641
  • Field and schema extensions by @james-o-johnstone in #2418
  • chore(deps): update dependency com_github_bazelbuild_buildtools to v5.1.0 (master) by @renovate in #2645
  • fix(deps): update google.golang.org/genproto digest to 2d67ff6 (master) by @renovate in #2646
  • Format protobuf files with buf by @johanbrandhorst in #2650
  • build(deps): bump nokogiri from 1.13.3 to 1.13.4 in /docs by @dependabot in #2638
  • Add git blame ignore by @johanbrandhorst in #2652
  • Export defaultQueryParser struct for custom query parsers by @mikesouza in #2651
  • Fix typo in "uannotated" file links by @srowles in #2658
  • fix: Content-Type and Grpc-Metadata-Content-Type headers with the health endpoint by @GreyXor in #2634
  • protoc-gen-openapiv2: Remove path parameters from body when body is a snake_case field by @oyvindwe in #2600
  • Fixed []byte unmarshaling for non proto structs by @gknw in #2693
  • protoc-gen-openapiv2: Document and warn about path parameters containing "/" by @oyvindwe in #2697

New Contributors

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

v2.10.0

21 Mar 20:42
43dbac1

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

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

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

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

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

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