Skip to content

Commit 530081c

Browse files
authored
Update protoc-gen-go and protogen (#7528)
WISOTT
1 parent 6dbb97d commit 530081c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+8829
-26297
lines changed

Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@ BUF := $(LOCALBIN)/buf-$(BUF_VER)
195195
$(BUF): | $(LOCALBIN)
196196
$(call go-install-tool,$(BUF),github.com/bufbuild/buf/cmd/buf,$(BUF_VER))
197197

198-
GO_API_VER := v1.33.0
198+
GO_API_VER = $(shell go list -m -f '{{.Version}}' go.temporal.io/api \
199+
|| (echo "failed to fetch version for go.temporal.io/api" >&2))
199200
PROTOGEN := $(LOCALBIN)/protogen-$(GO_API_VER)
200201
$(PROTOGEN): | $(LOCALBIN)
201202
$(call go-install-tool,$(PROTOGEN),go.temporal.io/api/cmd/protogen,$(GO_API_VER))
@@ -236,7 +237,7 @@ $(STAMPDIR)/stringer-$(STRINGER_VER): | $(STAMPDIR) $(LOCALBIN)
236237
@touch $@
237238
$(STRINGER): $(STAMPDIR)/stringer-$(STRINGER_VER)
238239

239-
PROTOC_GEN_GO_VER := v1.33.0
240+
PROTOC_GEN_GO_VER := v1.36.6
240241
PROTOC_GEN_GO := $(LOCALBIN)/protoc-gen-go
241242
$(STAMPDIR)/protoc-gen-go-$(PROTOC_GEN_GO_VER): | $(STAMPDIR) $(LOCALBIN)
242243
$(call go-install-tool,$(PROTOC_GEN_GO),google.golang.org/protobuf/cmd/protoc-gen-go,$(PROTOC_GEN_GO_VER))

api/adminservice/v1/request_response.pb.go

+1,157-3,222
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/adminservice/v1/service.pb.go

+53-439
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/archiver/v1/message.pb.go

+80-193
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/checksum/v1/message.pb.go

+43-146
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/cli/v1/message.pb.go

+125-380
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/clock/v1/message.pb.go

+36-77
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)