Skip to content
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

Prepare for v1.7.0 #496

Merged
merged 1 commit into from
Apr 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/protoc-gen-connect-go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func generatePreamble(g *protogen.GeneratedFile, file *protogen.File) {
"compiled into your binary. You can fix the problem by either regenerating this code ",
"with an older version of connect or updating the connect version compiled into your binary.")
if needsWithIdempotency(file) {
g.P("const _ = ", connectPackage.Ident("IsAtLeastVersion1_6_0"))
g.P("const _ = ", connectPackage.Ident("IsAtLeastVersion1_7_0"))
} else {
g.P("const _ = ", connectPackage.Ident("IsAtLeastVersion0_1_0"))
}
Expand Down
4 changes: 2 additions & 2 deletions connect.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ import (
)

// Version is the semantic version of the connect module.
const Version = "1.7.0-dev"
const Version = "1.7.0"

// These constants are used in compile-time handshakes with connect's generated
// code.
const (
IsAtLeastVersion0_0_1 = true
IsAtLeastVersion0_1_0 = true
IsAtLeastVersion1_6_0 = true
IsAtLeastVersion1_7_0 = true
)

// StreamType describes whether the client, server, neither, or both is
Expand Down
2 changes: 1 addition & 1 deletion internal/gen/connect/ping/v1/pingv1connect/ping.connect.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.