Skip to content

Commit c354fd3

Browse files
fix: Connect RPC v1.19.1 (#3009)
This pull request updates the Go client and handler code generated from protobuf definitions for several services, focusing on simplifying method descriptor usage and updating dependencies. The changes remove manually defined protoreflect descriptor variables and instead retrieve method descriptors dynamically, leading to cleaner and more maintainable generated code. Additionally, the Connect and Protobuf dependencies are updated to newer versions. Dependency updates: * Upgraded `connectrpc.com/connect` from v1.17.0 to v1.19.1 and `google.golang.org/protobuf` from v1.36.6 to v1.36.9 in `protocol/go/go.mod` and the relevant plugin configuration in `buf.gen.yaml`.
1 parent 67de794 commit c354fd3

File tree

21 files changed

+296
-471
lines changed

21 files changed

+296
-471
lines changed

buf.gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ plugins:
2121
- remote: buf.build/grpc/go:v1.3.0
2222
out: protocol/go
2323
opt: paths=source_relative
24-
- remote: buf.build/connectrpc/go:v1.17.0
24+
- remote: buf.build/connectrpc/go:v1.19.1
2525
out: protocol/go
2626
opt:
2727
- paths=source_relative

protocol/go/authorization/authorizationconnect/authorization.connect.go

Lines changed: 8 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protocol/go/authorization/v2/authorizationv2connect/authorization.connect.go

Lines changed: 10 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protocol/go/entityresolution/entityresolutionconnect/entity_resolution.connect.go

Lines changed: 6 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protocol/go/entityresolution/v2/entityresolutionv2connect/entity_resolution.connect.go

Lines changed: 6 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protocol/go/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ toolchain go1.24.11
66

77
require (
88
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.1-20240508200655-46a4cf4ba109.1
9-
connectrpc.com/connect v1.17.0
9+
connectrpc.com/connect v1.19.1
1010
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0
1111
google.golang.org/genproto/googleapis/api v0.0.0-20241007155032-5fefd90f89a9
1212
google.golang.org/grpc v1.67.1
13-
google.golang.org/protobuf v1.36.6
13+
google.golang.org/protobuf v1.36.9
1414
)
1515

1616
require (

protocol/go/go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.1-20240508200655-46a4cf4ba109.1 h1:LEXWFH/xZ5oOWrC3oOtHbUyBdzRWMCPpAQmKC9v05mA=
22
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.1-20240508200655-46a4cf4ba109.1/go.mod h1:XF+P8+RmfdufmIYpGUC+6bF7S+IlmHDEnCrO3OXaUAQ=
3-
connectrpc.com/connect v1.17.0 h1:W0ZqMhtVzn9Zhn2yATuUokDLO5N+gIuBWMOnsQrfmZk=
4-
connectrpc.com/connect v1.17.0/go.mod h1:0292hj1rnx8oFrStN7cB4jjVBeqs+Yx5yDIC2prWDO8=
3+
connectrpc.com/connect v1.19.1 h1:R5M57z05+90EfEvCY1b7hBxDVOUl45PrtXtAV2fOC14=
4+
connectrpc.com/connect v1.19.1/go.mod h1:tN20fjdGlewnSFeZxLKb0xwIZ6ozc3OQs2hTXy4du9w=
55
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
66
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
77
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
@@ -23,5 +23,5 @@ google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E=
2323
google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA=
2424
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
2525
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
26-
google.golang.org/protobuf v1.36.6 h1:z1NpPI8ku2WgiWnf+t9wTPsn6eP1L7ksHUlkfLvd9xY=
27-
google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY=
26+
google.golang.org/protobuf v1.36.9 h1:w2gp2mA27hUeUzj9Ex9FBjsBm40zfaDtEWow293U7Iw=
27+
google.golang.org/protobuf v1.36.9/go.mod h1:fuxRtAxBytpl4zzqUh6/eyUujkJdNiuEkXntxiD/uRU=

0 commit comments

Comments
 (0)