namely / docker-protoc

Docker images for generating protocol buffer definitions
BSD 3-Clause "New" or "Revised" License
724 stars 225 forks source link

fix(deps): update module github.com/grpc-ecosystem/grpc-gateway to v2 #361

Open renovate[bot] opened 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/grpc-ecosystem/grpc-gateway require major v1.16.0 -> v2.15.0

Release Notes

grpc-ecosystem/grpc-gateway ### [`v2.15.0`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.15.0) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.14.0...v2.15.0) #### What's Changed - utilities: Add preallocate for encoded by [@​sashamelentyev](https://togithub.com/sashamelentyev) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3024](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3024) - chore(logspam): allow_repeated_fields_in_body is deprecated by [@​alexeagle](https://togithub.com/alexeagle) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3040](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3040) - Various fixes by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3083](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3083) - fix(docs): add protoc-gen-openapiv2 to tutorial by [@​Fahmadi](https://togithub.com/Fahmadi) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3075](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3075) - fix: add check for repeated google.protobuf.Any type by [@​veith](https://togithub.com/veith) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3080](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3080) - Fix field order in yaml generated OAS file by [@​same-id](https://togithub.com/same-id) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3084](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3084) - fix: include json name to query param filter by [@​ljmsc](https://togithub.com/ljmsc) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3072](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3072) - Make read_only work with references using AllOf by [@​same-id](https://togithub.com/same-id) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3082](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3082) #### New Contributors - [@​alexeagle](https://togithub.com/alexeagle) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3040](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3040) - [@​Fahmadi](https://togithub.com/Fahmadi) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3075](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3075) - [@​ljmsc](https://togithub.com/ljmsc) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3072](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3072) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.14.0...v2.15.0 ### [`v2.14.0`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.14.0) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.13.0...v2.14.0) #### New features This release contains two significant new OpenAPIv2 generator features, contributed by [@​krak3n](https://togithub.com/krak3n): 1. A new option to [disable rendering of 200 OK responses](https://grpc-ecosystem.github.io/grpc-gateway/docs/mapping/customizing_openapi_output/#disable-default-responses). This is useful if you define custom responses for your endpoints and you modify the return code a forward response writer. Note that this does not change the behavior of the gateway itself. 2. A new annotation for [defining header parameters](https://grpc-ecosystem.github.io/grpc-gateway/docs/mapping/customizing_openapi_output/#custom-http-header-request-parameters). This lets to define header parameters you want to be rendered in the swagger.json output in addition to those defined in your API messages. Note that this does not change the behavior of the gateway itself and must be coupled with custom header parsing in your application. #### What's Changed - release: Update release.yml with option to workaround SLSA generator failure by [@​asraa](https://togithub.com/asraa) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2987](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2987) - release: add a workflow_dispatch trigger for testing by [@​asraa](https://togithub.com/asraa) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2989](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2989) - Use io/os instread of ioutil and use suitable verb by [@​sashamelentyev](https://togithub.com/sashamelentyev) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2991](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2991) - runtime pkg cleanup by [@​sashamelentyev](https://togithub.com/sashamelentyev) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2993](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2993) - mux: fix path components mutation by [@​jonathaningram](https://togithub.com/jonathaningram) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3001](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3001) - fix: set consumes definition per operation by [@​stomy13](https://togithub.com/stomy13) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2995](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2995) - protoc gen oas v2 cleanup by [@​sashamelentyev](https://togithub.com/sashamelentyev) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2996](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2996) - Use ReplaceAll instead of Replace with -1 pos by [@​sashamelentyev](https://togithub.com/sashamelentyev) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3003](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3003) - Errors cleanup by [@​sashamelentyev](https://togithub.com/sashamelentyev) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3004](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3004) - Cleanup by [@​sashamelentyev](https://togithub.com/sashamelentyev) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3012](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3012) - Support disabling default response rendering by [@​krak3n](https://togithub.com/krak3n) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3006](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3006) - Support request header parameters by [@​krak3n](https://togithub.com/krak3n) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3010](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3010) #### New Contributors - [@​asraa](https://togithub.com/asraa) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2987](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2987) - [@​sashamelentyev](https://togithub.com/sashamelentyev) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2991](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2991) - [@​stomy13](https://togithub.com/stomy13) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2995](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2995) - [@​krak3n](https://togithub.com/krak3n) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/3006](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/3006) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.13.0...v2.14.0 ### [`v2.13.0`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.13.0) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.12.0...v2.13.0) #### What's Changed - Updated gRPC code Cancelled replaced with HTTP code 499 by [@​tech-sumit](https://togithub.com/tech-sumit) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2957](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2957) - fix: remove default service tag generation for methods by [@​kkolur](https://togithub.com/kkolur) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2960](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2960) - Use tag instead of has pin for SLSA generator by [@​laurentsimon](https://togithub.com/laurentsimon) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2969](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2969) - Add Conduit to adopters by [@​hariso](https://togithub.com/hariso) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2981](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2981) - feat(gen-openapiv2): support trailing comments by [@​ionling](https://togithub.com/ionling) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2965](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2965) - feat(gen-openapiv2): keep fields next to "$ref" fields by [@​gostajonasson](https://togithub.com/gostajonasson) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2986](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2986) #### New Contributors - [@​tech-sumit](https://togithub.com/tech-sumit) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2957](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2957) - [@​hariso](https://togithub.com/hariso) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2981](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2981) - [@​ionling](https://togithub.com/ionling) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2965](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2965) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.12.0...v2.13.0 ### [`v2.12.0`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.12.0) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.11.3...v2.12.0) #### What's Changed - fix: support for oneof fields in request bodies by [@​isbang](https://togithub.com/isbang) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2867](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2867) - mux: calculate verb correctly for cases like DELETE /foo/bar:archive when user provided wrong method by [@​jonathaningram](https://togithub.com/jonathaningram) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2870](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2870) - Update googleapis dependency by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2875](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2875) - protoc-gen-openapiv2: RPC visibility setting transitively applied to messages by [@​erademacher](https://togithub.com/erademacher) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2880](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2880) - protoc-gen-openapiv2: Use json_name when generating required field names by [@​patrick246](https://togithub.com/patrick246) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2885](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2885) - fix: support service tags in OpenAPI config file ([#​2817](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/2817)) by [@​y-takuya](https://togithub.com/y-takuya) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2858](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2858) - feat: add option to disable rendering of service tags by [@​kkolur](https://togithub.com/kkolur) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2928](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2928) - fix: required properties of message type are required in OpenAPI by [@​gostajonasson](https://togithub.com/gostajonasson) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2904](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2904) - feat: add option to add description to tags by [@​same-id](https://togithub.com/same-id) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2939](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2939) - add extensions for Tag object by [@​kkolur](https://togithub.com/kkolur) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2950](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2950) - Make registry load packages deterministically by [@​gonzaloserrano](https://togithub.com/gonzaloserrano) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2945](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2945) #### New Contributors - [@​erademacher](https://togithub.com/erademacher) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2880](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2880) - [@​patrick246](https://togithub.com/patrick246) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2885](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2885) - [@​y-takuya](https://togithub.com/y-takuya) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2858](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2858) - [@​kkolur](https://togithub.com/kkolur) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2928](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2928) - [@​gostajonasson](https://togithub.com/gostajonasson) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2904](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2904) - [@​same-id](https://togithub.com/same-id) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2939](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2939) - [@​gonzaloserrano](https://togithub.com/gonzaloserrano) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2945](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2945) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.11.3...v2.12.0 ### [`v2.11.3`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.11.3) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.11.2...v2.11.3) This release adds signed release binaries with SLSA signatures. Please see the [README](https://togithub.com/grpc-ecosystem/grpc-gateway#download-the-binaries) for more information. #### What's Changed - fix: unnecessary -e arg for echo command in dockerfile by [@​MakDon](https://togithub.com/MakDon) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2840](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2840) - Fix identifiers generated from snake-cased enums not matching pb.go definitions by [@​jbaxx](https://togithub.com/jbaxx) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2826](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2826) - switch ci build env version to 1.19 by [@​MakDon](https://togithub.com/MakDon) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2845](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2845) - Signed release binaries with SLSA signatures by [@​laurentsimon](https://togithub.com/laurentsimon) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2847](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2847) - protoc-gen-openapiv2 generating the wrong schema fixing the issue [#​2635](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/2635) by [@​lakshkeswani](https://togithub.com/lakshkeswani) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2854](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2854) #### New Contributors - [@​jbaxx](https://togithub.com/jbaxx) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2826](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2826) - [@​laurentsimon](https://togithub.com/laurentsimon) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2847](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2847) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.11.2...v2.11.3 ### [`v2.11.2`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.11.2) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.11.1...v2.11.2) 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 - Fix openapiv2 path parameter parsing when colon in verb by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2825](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2825) - Update minimum supported Go version to 1.17 by [@​renovate](https://togithub.com/renovate) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2831](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2831) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.11.1...v2.11.2 ### [`v2.11.1`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.11.1) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.11.0...v2.11.1) This release fixes a crash in the grpc-gateway handling of requests containing invalid an `Grpc-Timeout` or `Grpc-Metadata-Bin` header ([#​2822](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/2822)). It is strongly recommended that users upgrade both the runtime and generator versions. #### What's Changed - Default allow_repeated_fields_in_body option to true and deprecate option by [@​armsnyder](https://togithub.com/armsnyder) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2813](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2813) - Fix timeout panic by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2823](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2823) #### New Contributors - [@​armsnyder](https://togithub.com/armsnyder) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2813](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2813) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.11.0...v2.11.1 ### [`v2.11.0`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.11.0) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.10.3...v2.11.0) #### What's Changed - Set fetch depth for renovate actions by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2741](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2741) - openapiv2: Field options are properly rendered for repeated fields [#​2531](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/2531) by [@​lakshkeswani](https://togithub.com/lakshkeswani) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2742](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2742) - Set version for gorelease by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2749](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2749) - Disable renovate on v1 by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2781](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2781) - feat: add support for oneof fields in request bodies by [@​aesadde](https://togithub.com/aesadde) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2739](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2739) - Bugfix/issue 2681 by [@​olegvelikanov](https://togithub.com/olegvelikanov) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2773](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2773) - chore: Included githubactions in the dependabot config by [@​naveensrinivasan](https://togithub.com/naveensrinivasan) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2673](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2673) - Change renovate branch trigger by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2791](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2791) - fix: extensions in YAML format \[[#​2795](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/2795)] by [@​hedhyw](https://togithub.com/hedhyw) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2797](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2797) - fix: yaml indent \[[#​2645](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/2645)] by [@​hedhyw](https://togithub.com/hedhyw) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2801](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2801) - Fix buf plugin's library version by [@​AlmogBaku](https://togithub.com/AlmogBaku) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2800](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2800) #### New Contributors - [@​lakshkeswani](https://togithub.com/lakshkeswani) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2742](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2742) - [@​aesadde](https://togithub.com/aesadde) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2739](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2739) - [@​olegvelikanov](https://togithub.com/olegvelikanov) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2773](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2773) - [@​AlmogBaku](https://togithub.com/AlmogBaku) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2800](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2800) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.10.3...v2.11.0 ### [`v2.10.3`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.10.3) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.10.2...v2.10.3) #### What's Changed - protoc-gen-openapiv2: Fix schema types for `Value` and `Empty` well-known types by [@​haines](https://togithub.com/haines) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2719](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2719) - Use custom token secret for pushes by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2725](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2725) - chore: renovate bot setting to pin actions to a full length commit SHA by [@​naveensrinivasan](https://togithub.com/naveensrinivasan) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2724](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2724) - protoc-gen-openapiv2: Support all HTTP methods supported in OpenAPI v2 by [@​mnito](https://togithub.com/mnito) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2726](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2726) - Fix overriding path parameter with custom verbs by [@​oyvindwe](https://togithub.com/oyvindwe) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2727](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2727) - Update git push to use full username by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2732](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2732) - Lets try using the checkout token setting by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2733](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2733) - Add old style build tag by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2734](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2734) - Update gopkg.in/yaml.v3 by [@​sousandrei](https://togithub.com/sousandrei) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2729](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2729) #### New Contributors - [@​haines](https://togithub.com/haines) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2719](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2719) - [@​sousandrei](https://togithub.com/sousandrei) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2729](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2729) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.10.2...v2.10.3 ### [`v2.10.2`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.10.2) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.10.1...v2.10.2) #### What's Changed - Fix node tests by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2704](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2704) - Fix panic in parsing null time/duration in query by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2703](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2703) - Migrate to Github Actions by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2700](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2700) - Add protobuf and grpc runtime versions to buf plugins by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2702](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2702) - Fix readme display error by [@​lanlyhs](https://togithub.com/lanlyhs) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2706](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2706) - openapiv2: fix comment by [@​kurochan](https://togithub.com/kurochan) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2701](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2701) #### New Contributors - [@​lanlyhs](https://togithub.com/lanlyhs) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2706](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2706) - [@​kurochan](https://togithub.com/kurochan) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2701](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2701) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.10.1...v2.10.2 ### [`v2.10.1`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.10.1) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.10.0...v2.10.1) #### What's Changed - protoc-gen-openapiv2: Use the canonical camelCase converter for protobuf by [@​oyvindwe](https://togithub.com/oyvindwe) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2599](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2599) - Revert gazelle dependency to original repository by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2605](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2605) - Use Bytes from convert.go to unmarshal byte value by [@​HubertZhang](https://togithub.com/HubertZhang) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2603](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2603) - correct generate field mask for google.protobuf.struct field by [@​marsianin](https://togithub.com/marsianin) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2619](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2619) - Update golangci-lint to 1.45 for Go 1.18 support by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2631](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2631) - Turn on dependabot updates for documentation by [@​achew22](https://togithub.com/achew22) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2604](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2604) - build(deps-dev): bump github-pages from 209 to 225 in /docs by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2633](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2633) - support google.protobuf.Value by [@​wclssdn](https://togithub.com/wclssdn) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2628](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2628) - fix: Correct typos in error messages from loading OpenAPI Configuration by [@​joonas](https://togithub.com/joonas) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2636](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2636) - Set permissions for GitHub actions by [@​naveensrinivasan](https://togithub.com/naveensrinivasan) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2641](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2641) - Field and schema extensions by [@​james-o-johnstone](https://togithub.com/james-o-johnstone) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2418](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2418) - chore(deps): update dependency com_github_bazelbuild_buildtools to v5.1.0 (master) by [@​renovate](https://togithub.com/renovate) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2645](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2645) - fix(deps): update google.golang.org/genproto digest to [`2d67ff6`](https://togithub.com/grpc-ecosystem/grpc-gateway/commit/2d67ff6) (master) by [@​renovate](https://togithub.com/renovate) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2646](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2646) - Format protobuf files with buf by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2650](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2650) - build(deps): bump nokogiri from 1.13.3 to 1.13.4 in /docs by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2638](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2638) - Add git blame ignore by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2652](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2652) - Export `defaultQueryParser` struct for custom query parsers by [@​MikeSouza](https://togithub.com/MikeSouza) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2651](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2651) - Fix typo in "uannotated" file links by [@​srowles](https://togithub.com/srowles) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2658](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2658) - fix: Content-Type and Grpc-Metadata-Content-Type headers with the health endpoint by [@​GreyXor](https://togithub.com/GreyXor) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2634](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2634) - protoc-gen-openapiv2: Remove path parameters from body when body is a snake_case field by [@​oyvindwe](https://togithub.com/oyvindwe) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2600](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2600) - Fixed \[]byte unmarshaling for non proto structs by [@​gknw](https://togithub.com/gknw) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2693](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2693) - protoc-gen-openapiv2: Document and warn about path parameters containing "/" by [@​oyvindwe](https://togithub.com/oyvindwe) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2697](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2697) #### New Contributors - [@​HubertZhang](https://togithub.com/HubertZhang) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2603](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2603) - [@​marsianin](https://togithub.com/marsianin) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2619](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2619) - [@​wclssdn](https://togithub.com/wclssdn) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2628](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2628) - [@​joonas](https://togithub.com/joonas) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2636](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2636) - [@​naveensrinivasan](https://togithub.com/naveensrinivasan) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2641](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2641) - [@​james-o-johnstone](https://togithub.com/james-o-johnstone) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2418](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2418) - [@​MikeSouza](https://togithub.com/MikeSouza) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2651](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2651) - [@​srowles](https://togithub.com/srowles) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2658](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2658) - [@​GreyXor](https://togithub.com/GreyXor) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2634](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2634) - [@​gknw](https://togithub.com/gknw) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2693](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2693) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.10.0...v2.10.1 ### [`v2.10.0`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.10.0) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.9.0...v2.10.0) 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](https://buf.build/grpc-ecosystem/grpc-gateway/tree/f85c60ac38544f2d8f346491c9d916e5). This can be accomplished by running `buf mod update` in the folder where you have your `buf.yaml`. #### What's Changed - Add delimiter after response stream error message ([#​2591](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/2591)) by [@​stelcodes](https://togithub.com/stelcodes) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2596](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2596) - protoc-gen-openapiv2: support overriding path parameter names by [@​oyvindwe](https://togithub.com/oyvindwe) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2562](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2562) #### New Contributors - [@​stelcodes](https://togithub.com/stelcodes) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2596](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2596) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.9.0...v2.10.0 ### [`v2.9.0`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.9.0) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.8.0...v2.9.0) 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](https://togithub.com/rogchap) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2574](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2574) - protoc-gen-openapiv2: support YAML OpenAPI/Swagger v2 definition generation by [@​hedhyw](https://togithub.com/hedhyw) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2579](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2579) - Add support for `google.api.VisibilityRule`s annotations to hide APIs and fields by [@​BCook98](https://togithub.com/BCook98) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2578](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2578) - feature/custom HTTP health check endpoint by [@​antonioiubatti93](https://togithub.com/antonioiubatti93) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2587](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2587) #### New Contributors - [@​rogchap](https://togithub.com/rogchap) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2574](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2574) - [@​hedhyw](https://togithub.com/hedhyw) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2579](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2579) - [@​BCook98](https://togithub.com/BCook98) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2578](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2578) - [@​antonioiubatti93](https://togithub.com/antonioiubatti93) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2587](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2587) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.8.0...v2.9.0 ### [`v2.8.0`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.8.0) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.7.3...v2.8.0) #### 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](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/1670) and [#​1015](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/1015)). #### What's Changed - Include Package in Service Tags when Option is Enabled by [@​dkiswanto](https://togithub.com/dkiswanto) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2519](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2519) - Add `WithHealthzEndpoint` as `ServeMuxOption` to register a `/healthz`endpoint by [@​brumhard](https://togithub.com/brumhard) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2319](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2319) - protoc-gen-openapiv2: remove path parameters from body parameters by [@​oyvindwe](https://togithub.com/oyvindwe) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2553](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2553) #### New Contributors - [@​dkiswanto](https://togithub.com/dkiswanto) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2519](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2519) - [@​brumhard](https://togithub.com/brumhard) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2319](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2319) - [@​oyvindwe](https://togithub.com/oyvindwe) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2553](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2553) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.7.3...v2.8.0 ### [`v2.7.3`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.7.3) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.7.2...v2.7.3) #### What's Changed - Update gorelease base to v2.7.2 by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2467](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2467) - Fix README typo about manuall generation by [@​baryluk](https://togithub.com/baryluk) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2471](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2471) - Use insecure.NewCredentials instead of grpc.WithInsecure by [@​jxlwqq](https://togithub.com/jxlwqq) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2470](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2470) - fix typos by [@​haiker2011](https://togithub.com/haiker2011) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2474](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2474) - docs: specify invalid cases for FieldMask by [@​hhhapz](https://togithub.com/hhhapz) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2477](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2477) - typo in mux.go by [@​gabroo](https://togithub.com/gabroo) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2479](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2479) - Add omit-enum-default-value option to protoc-gen-openapiv2 by [@​hiroyoshii](https://togithub.com/hiroyoshii) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2480](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2480) - update plugin option of customizing_openapi_output docs by [@​hiroyoshii](https://togithub.com/hiroyoshii) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2490](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2490) - embedding UnimplementedGreeterServer to creating_main.go.md server struct by [@​mkusaka](https://togithub.com/mkusaka) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2502](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2502) - Fixes additional paths generated when many methods have the same resource path by [@​aethanol](https://togithub.com/aethanol) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2496](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2496) #### New Contributors - [@​baryluk](https://togithub.com/baryluk) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2471](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2471) - [@​jxlwqq](https://togithub.com/jxlwqq) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2470](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2470) - [@​haiker2011](https://togithub.com/haiker2011) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2474](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2474) - [@​hhhapz](https://togithub.com/hhhapz) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2477](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2477) - [@​gabroo](https://togithub.com/gabroo) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2479](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2479) - [@​hiroyoshii](https://togithub.com/hiroyoshii) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2480](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2480) - [@​mkusaka](https://togithub.com/mkusaka) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2502](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2502) - [@​aethanol](https://togithub.com/aethanol) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2496](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2496) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.7.2...v2.7.3 ### [`v2.7.2`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.7.2) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.7.1...v2.7.2) #### What's Changed - Log warning if HeaderMatcherFunc passes malformed HTTP headers to grpc server by [@​MakDon](https://togithub.com/MakDon) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2455](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2455) - Fixes [#​407](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/407) and [#​1700](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/1700) - google.api.http path parameter constraints and multiple HTTP path/method endpoint support by [@​betmix-matt](https://togithub.com/betmix-matt) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2461](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2461) This fixes a long standing issue with OpenAPI spec generation in the face of complex path parameter use #### New Contributors - [@​MakDon](https://togithub.com/MakDon) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2455](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2455) - [@​betmix-matt](https://togithub.com/betmix-matt) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2461](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2461) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.7.1...v2.7.2 ### [`v2.7.1`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.7.1) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.7.0...v2.7.1) #### What's Changed - Replace "github.com/ghodss/yaml" with "sigs.k8s.io/yaml" by [@​slntopp](https://togithub.com/slntopp) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2436](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2436) - build: upgrade `go` directive in `go.mod` to 1.17 by [@​Juneezee](https://togithub.com/Juneezee) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2443](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2443) - Revert "support grpc.ClientConnInterface in RegisterXXXHandler ([#​2398](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/2398))" by [@​shane-kerr](https://togithub.com/shane-kerr) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2444](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2444) #### New Contributors - [@​slntopp](https://togithub.com/slntopp) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2436](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2436) - [@​Juneezee](https://togithub.com/Juneezee) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2443](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2443) - [@​shane-kerr](https://togithub.com/shane-kerr) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2444](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2444) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.7.0...v2.7.1 ### [`v2.7.0`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.7.0) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.6.0...v2.7.0) #### What's Changed - Decode path-encoded URL components by [@​v3n](https://togithub.com/v3n) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2332](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2332) - Add docs for merging OpenAPI into a single file by [@​alee792](https://togithub.com/alee792) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2354](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2354) - Fix timestamp string conversion by [@​momom-i](https://togithub.com/momom-i) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2367](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2367) - Upgrade bazel toolchain by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2390](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2390) - Log zero property as warning instead of error by [@​JungWinter](https://togithub.com/JungWinter) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2387](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2387) - support grpc.ClientConnInterface in RegisterXXXHandler by [@​defool](https://togithub.com/defool) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2398](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2398) - Allow OpenAPI query parameters to be generated for all HTTP methods, regardless of body by [@​alee792](https://togithub.com/alee792) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2402](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2402) #### New Contributors - [@​v3n](https://togithub.com/v3n) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2332](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2332) - [@​alee792](https://togithub.com/alee792) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2354](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2354) - [@​0rax](https://togithub.com/0rax) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2386](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2386) - [@​JungWinter](https://togithub.com/JungWinter) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2387](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2387) - [@​defool](https://togithub.com/defool) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2398](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2398) - [@​AdamKorcz](https://togithub.com/AdamKorcz) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2405](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2405) - [@​jzelinskie](https://togithub.com/jzelinskie) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2413](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2413) - [@​aronrichter](https://togithub.com/aronrichter) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2412](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2412) **Full Changelog**: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.6.0...v2.7.0 ### [`v2.6.0`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.6.0) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.5.0...v2.6.0) [Changes in this release](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.5.0...v2.6.0) Major features in this release include: - The ability to auto-generate the `x-nullable` field from proto3 optional in openapiv2 contributed by Ken Brownfield ([@​irridia](https://togithub.com/irridia)) in [#​2215](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/2215) - More comprehensive openapiv2 name generation options contributed by [@​alperengozeten](https://togithub.com/alperengozeten) and Malte Isberner ([@​misberner](https://togithub.com/misberner)) in [#​2310](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/2310) As well as various bug fixes, including the auto generation of the `Www-Authenticate` header when returning an 401 Unauthorized error ([#​2314](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/2314)), better `google.protobuf.Any` representation in openapiv2 files ([#​2292](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/2292)) and much more. This is also the first release to automatically publish the Protobuf plugins to the [Buf Schema Registry](https://buf.build/explore). See https://buf.build/grpc-ecosystem/plugins. These can be used together with the new `buf generate` remote plugins feature: https://docs.buf.build/configuration/v1/buf-gen-yaml#name-or-remote. An example `buf.gen.yaml` using these new plugins looks like this: ```yaml version: v1 plugins: - remote: buf.build/library/plugins/go:v1.27.1-1 out: gen/go opt: paths=source_relative - remote: buf.build/library/plugins/go-grpc:v1.1.0-2 out: gen/go opt: paths=source_relative - remote: buf.build/grpc-ecosystem/plugins/grpc-gateway:v2.6.0-1 out: gen/go opt: paths=source_relative - remote: buf.build/grpc-ecosystem/plugins/openapiv2:v2.6.0-1 out: gen/openapiv2 ``` ### [`v2.5.0`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.5.0) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.4.0...v2.5.0) [Changes in this release](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.4.0...v2.5.0) This release adds support for [extracting the HTTP path for an incoming request through the request context](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2195). Thanks to [@​0daryo](https://togithub.com/0daryo) for the contribution! Note that this release slightly changes the behavior of the generator, so you *must* ensure that you are using the new version of the runtime library after updating the generator to this new version. ### [`v2.4.0`](https://togithub.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.4.0) [Compare Source](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.3.0...v2.4.0) This release adds support for [customizing routing error HTTP status codes](https://grpc-ecosystem.github.io/grpc-gateway/docs/mapping/customizing_your_gateway/#customizing-routing-errors). Thanks to [@​electrofelix](https://togithub.com/electrofelix) for the contribution! #### Other changes - implements a max recursive depth check by [@​drewwells](https://togithub.com/drewwells) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2022](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2022) - Fix typo in README.md by [@​cxmcc](https://togithub.com/cxmcc) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2047](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2047) - Add doc with info about binary upload a custom route, for [#​500](https://togithub.com/grpc-ecosystem/grpc-gateway/issues/500) by [@​jonathanbp](https://togithub.com/jonathanbp) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2063](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2063) - Fix path params being in the body by [@​stijndehaes](https://togithub.com/stijndehaes) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2078](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2078) - Update CI to use 1.16 and latest release by [@​johanbrandhorst](https://togithub.com/johanbrandhorst) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2099](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2099) - Patcher for fields of type google.protobuf.Any by [@​veith](https://togithub.com/veith) in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2103](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2103) #### New Contributors - [@​drewwells](https://togithub.com/drewwells) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2022](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2022) - [@​cxmcc](https://togithub.com/cxmcc) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2047](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2047) - [@​jonathanbp](https://togithub.com/jonathanbp) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2063](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2063) - [@​stijndehaes](https://togithub.com/stijndehaes) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2078](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2078) - [@​veith](https://togithub.com/veith) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2103](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2103) - [@​electrofelix](https://togithub.com/electrofelix) made their first contribution in [https://github.com/grpc-ecosystem/grpc-gateway/pull/2101](https://togithub.com/grpc-ecosystem/grpc-gateway/pull/2101) **Full Changelog**: https://github.com/grpc-ecosystem/

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 1 year ago

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: gwy/templates/go.mod.tmpl
Command failed: docker run --rm --name=renovate_sidecar --label=renovate_child -v "/mnt/renovate/gh/namely/docker-protoc":"/mnt/renovate/gh/namely/docker-protoc" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -v "/tmp/containerbase":"/tmp/containerbase" -e GOPATH -e GOPROXY -e GOFLAGS -e CGO_ENABLED -e GIT_CONFIG_KEY_0 -e GIT_CONFIG_VALUE_0 -e GIT_CONFIG_KEY_1 -e GIT_CONFIG_VALUE_1 -e GIT_CONFIG_KEY_2 -e GIT_CONFIG_VALUE_2 -e GIT_CONFIG_COUNT -e BUILDPACK_CACHE_DIR -e CONTAINERBASE_CACHE_DIR -w "/mnt/renovate/gh/namely/docker-protoc/gwy/templates" docker.io/renovate/sidecar bash -l -c "install-tool golang 1.19.4 && go get -d -t ./..."
go: go.mod file not found in current directory or any parent directory.
    'go get' is no longer supported outside a module.
    To build and install a command, use 'go install' with a version,
    like 'go install example.com/cmd@latest'
    For more information, see https://golang.org/doc/go-get-install-deprecation
    or run 'go help get' or 'go help install'.
nycdotnet commented 1 year ago

This PR definitely seems weird - do we have two versions of gRPC gateway in here intentionally?

jtabachnick commented 1 year ago

I approved, but I think I might agree with @nycdotnet also. Why do we have two?

abe545 commented 1 year ago

I approved, but I think I might agree with @nycdotnet also. Why do we have two?

I'm not sure, but if we want to update to this version, I'd suggest we update the v2 one

renovate[bot] commented 1 year ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

jcburley commented 1 year ago

@nycdotnet @abe545 @jtabachnick – okay, I removed the older listing/version from the template. Let's see how that goes...!

nycdotnet commented 1 year ago

@abe545 I think we have v1 here intentionally. This was the version that would by default not include default but didn't support changing it, etc. It was a while ago that I think we intentionally decided to have both. I think the 1.x dependency should probably be pinned to the latest version of 1.x if it's not already and is not on the latest (assuming dev has stopped on it) or we do a breaking release and drop 1.x altogether. I don't know if we use gRPC gateway 1.x anywhere.

abe545 commented 1 year ago

@abe545 I think we have v1 here intentionally. This was the version that would by default not include default but didn't support changing it, etc. It was a while ago that I think we intentionally decided to have both. I think the 1.x dependency should probably be pinned to the latest version of 1.x if it's not already and is not on the latest (assuming dev has stopped on it) or we do a breaking release and drop 1.x altogether. I don't know if we use gRPC gateway 1.x anywhere.

Yeah, that makes sense. I think since this is an open source repo, we shouldn't just drop it if it behaves differently. I imagine we could cause problems for others if we unilaterally drop it because we don't need it. We probably need to tweak renovate so it doesn't do this again (if we decide to keep v1).

nycdotnet commented 1 year ago

ok it appears that 1.16.0 is the final release of gRPC Gateway 1.x https://github.com/grpc-ecosystem/grpc-gateway/releases?page=3

jcburley commented 1 year ago

@nycdotnet @abe545 – are you saying I should restore the deleted v1 line? And, will the resulting go.mod files actually work in generated repos?

nycdotnet commented 1 year ago

@jcburley let's discuss tomorrow. I don't know what we should do. All I can say is that the 1.x and 2.x dependencies are both there intentionally for legacy reasons and that they have different behavior.

idodod commented 1 year ago

@jcburley let's discuss tomorrow. I don't know what we should do. All I can say is that the 1.x and 2.x dependencies are both there intentionally for legacy reasons and that they have different behavior.

Hey guys, I hope this can provide some more context about why we still use v1 - https://github.com/namely/docker-protoc/pull/229 Also why we don't upgrade to the latest v2 version - https://github.com/namely/docker-protoc/pull/318#issuecomment-1360242973

So upgrading can be done, it's just a matter of being prepared to handle the breaking change in the FE.

jcburley commented 1 year ago

@nycdotnet @abe545 et al — I've rolled in a number of (I think) innocuous Renovate changes here, but backed out the problematic grpc_gateway upgrade that we should try to address soon.

But the tests still don't pass, and (offhand) I don't understand why?

cdecoux commented 1 year ago

FWIW - I forked it and pushed to dockerhub via cdecoux/protoc-all. Updated the version as shown here: https://github.com/cdecoux/docker-protoc/commit/4d4772ea30fab48b4a9edef962a9d0e66a9828d6