-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update module github.com/grpc-ecosystem/grpc-gateway to v2 #361
base: master
Are you sure you want to change the base?
fix(deps): update module github.com/grpc-ecosystem/grpc-gateway to v2 #361
Conversation
⚠ Artifact update problemRenovate 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
|
c69f4a3
to
6b51511
Compare
This PR definitely seems weird - do we have two versions of gRPC gateway in here intentionally? |
6b51511
to
67362c5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nycdotnet is right
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 |
Edited/Blocked NotificationRenovate 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. |
@nycdotnet @abe545 @jtabachnick – okay, I removed the older listing/version from the template. Let's see how that goes...! |
@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). |
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 |
@nycdotnet @abe545 – are you saying I should restore the deleted v1 line? And, will the resulting go.mod files actually work in generated repos? |
@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, So upgrading can be done, it's just a matter of being prepared to handle the breaking change in the FE. |
@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? |
FWIW - I forked it and pushed to dockerhub via |
This PR contains the following updates:
v1.16.0
->v2.15.0
Release Notes
grpc-ecosystem/grpc-gateway
v2.15.0
Compare Source
What's Changed
New Contributors
Full Changelog: grpc-ecosystem/grpc-gateway@v2.14.0...v2.15.0
v2.14.0
Compare Source
New features
This release contains two significant new OpenAPIv2 generator features, contributed by @krak3n:
What's Changed
New Contributors
Full Changelog: grpc-ecosystem/grpc-gateway@v2.13.0...v2.14.0
v2.13.0
Compare Source
What's Changed
New Contributors
Full Changelog: grpc-ecosystem/grpc-gateway@v2.12.0...v2.13.0
v2.12.0
Compare Source
What's Changed
New Contributors
Full Changelog: grpc-ecosystem/grpc-gateway@v2.11.3...v2.12.0
v2.11.3
Compare Source
This release adds signed release binaries with SLSA signatures. Please see the README for more information.
What's Changed
New Contributors
Full Changelog: grpc-ecosystem/grpc-gateway@v2.11.2...v2.11.3
v2.11.2
Compare Source
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: grpc-ecosystem/grpc-gateway@v2.11.1...v2.11.2
v2.11.1
Compare Source
This release fixes a crash in the grpc-gateway handling of requests containing invalid an
Grpc-Timeout
orGrpc-Metadata-Bin
header (#2822). It is strongly recommended that users upgrade both the runtime and generator versions.What's Changed
New Contributors
Full Changelog: grpc-ecosystem/grpc-gateway@v2.11.0...v2.11.1
v2.11.0
Compare Source
What's Changed
New Contributors
Full Changelog: grpc-ecosystem/grpc-gateway@v2.10.3...v2.11.0
v2.10.3
Compare Source
What's Changed
Value
andEmpty
well-known types by @haines in https://github.com/grpc-ecosystem/grpc-gateway/pull/2719New Contributors
Full Changelog: grpc-ecosystem/grpc-gateway@v2.10.2...v2.10.3
v2.10.2
Compare Source
What's Changed
New Contributors
Full Changelog: grpc-ecosystem/grpc-gateway@v2.10.1...v2.10.2
v2.10.1
Compare Source
What's Changed
2d67ff6
(master) by @renovate in https://github.com/grpc-ecosystem/grpc-gateway/pull/2646defaultQueryParser
struct for custom query parsers by @MikeSouza in https://github.com/grpc-ecosystem/grpc-gateway/pull/2651New Contributors
Full Changelog: grpc-ecosystem/grpc-gateway@v2.10.0...v2.10.1
v2.10.0
Compare Source
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 runningbuf mod update
in the folder where you have yourbuf.yaml
.What's Changed
New Contributors
Full Changelog: grpc-ecosystem/grpc-gateway@v2.9.0...v2.10.0
v2.9.0
Compare Source
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:
WithHealthEndpointAt
ServeMux
optionWhat's Changed
google.api.VisibilityRule
s annotations to hide APIs and fields by @BCook98 in https://github.com/grpc-ecosystem/grpc-gateway/pull/2578New Contributors
Full Changelog: grpc-ecosystem/grpc-gateway@v2.8.0...v2.9.0
v2.8.0
Compare Source
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 inprotoc-gen-openapiv2
where path parameters were included in both the path and the body of the generated spec (#1670 and #1015).What's Changed
WithHealthzEndpoint
asServeMuxOption
to register a/healthz
endpoint by @brumhard in https://github.com/grpc-ecosystem/grpc-gateway/pull/2319New Contributors
Full Changelog: grpc-ecosystem/grpc-gateway@v2.7.3...v2.8.0
v2.7.3
Compare Source
What's Changed
New Contributors
Full Changelog: grpc-ecosystem/grpc-gateway@v2.7.2...v2.7.3
v2.7.2
Compare Source
What's Changed
This fixes a long standing issue with OpenAPI spec generation in the face of complex path parameter use
New Contributors
Full Changelog: grpc-ecosystem/grpc-gateway@v2.7.1...v2.7.2
v2.7.1
Compare Source
What's Changed
go
directive ingo.mod
to 1.17 by @Juneezee in https://github.com/grpc-ecosystem/grpc-gateway/pull/2443New Contributors
Full Changelog: grpc-ecosystem/grpc-gateway@v2.7.0...v2.7.1
v2.7.0
Compare Source
What's Changed
New Contributors
Full Changelog: grpc-ecosystem/grpc-gateway@v2.6.0...v2.7.0
v2.6.0
Compare Source
Changes in this release
Major features in this release include:
x-nullable
field from proto3 optional in openapiv2 contributed by Ken Brownfield (@irridia) in #2215As well as various bug fixes, including the auto generation of the
Www-Authenticate
header when returning an 401 Unauthorized error (#2314), bettergoogle.protobuf.Any
representation in openapiv2 files (#2292) and much more.This is also the first release to automatically publish the Protobuf plugins to the Buf Schema Registry. 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 examplebuf.gen.yaml
using these new plugins looks like this:v2.5.0
Compare Source
Changes in this release
This release adds support for extracting the HTTP path for an incoming request through the request context. Thanks to @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
Compare Source
This release adds support for customizing routing error HTTP status codes. Thanks to @electrofelix for the contribution!
Other changes
New Contributors
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.