diff --git a/Makefile b/Makefile index 4a110482..907de277 100644 --- a/Makefile +++ b/Makefile @@ -77,7 +77,7 @@ stressgen: tools # Regenerate all Gorums and protobuf generated files across the repo (dev, benchmark, tests, examples). # This will force regeneration even though the proto files have not changed. -genproto: +genproto: installgorums dev @echo "Regenerating all proto files (dev, benchmark, tests, examples)" @$(MAKE) -B -s dev @$(MAKE) -B -s benchmark @@ -106,7 +106,8 @@ prepare-release: release-tools @$(MAKE) genproto @echo "+ Running gorelease to suggest the next version" @tmp=$$(mktemp); \ - gorelease | tee $$tmp; \ + gorelease > $$tmp; \ + cat $$tmp | tee release-notes.txt; \ suggested=$$(awk -F': ' '/^Suggested version:/ {print $$2; exit}' $$tmp); \ echo "--------------------------------------------------------------------------"; \ echo ""; \ @@ -121,12 +122,15 @@ prepare-release: release-tools echo " go get -C examples github.com/relab/gorums@$${suggested:-vX.Y.Z}"; \ echo " go mod tidy && (cd examples && go mod tidy)"; \ echo ""; \ + echo "Commit all changes and create an empty commit with the release notes:"; \ + echo " git commit --allow-empty -F release-notes.txt"; \ + echo ""; \ echo "Then create the release PR:"; \ echo " make release-pr VERSION=$${suggested:-vX.Y.Z}" release-pr: @if [ -z "$(VERSION)" ]; then echo "Usage: make release-pr VERSION=v0.9.0"; exit 1; fi - @if [ -n "$$(git status --porcelain)" ]; then echo "Uncommitted changes present; commit or stash first; aborting."; exit 1; fi + @if [ -n "$$(git status --porcelain --untracked-files=no)" ]; then echo "Uncommitted changes present; commit or stash first; aborting."; exit 1; fi @BRANCH="release/$(VERSION)-devel"; \ git switch -c $$BRANCH; \ git add -A; \ diff --git a/benchmark/benchmark_gorums.pb.go b/benchmark/benchmark_gorums.pb.go index 590a4ab0..9a3a8100 100644 --- a/benchmark/benchmark_gorums.pb.go +++ b/benchmark/benchmark_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: benchmark/benchmark.proto @@ -17,9 +17,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/cmd/protoc-gen-gorums/dev/zorums_async_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_async_gorums.pb.go index a8b44181..68b78199 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_async_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_async_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: zorums.proto @@ -15,9 +15,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // QuorumCallAsync plain. diff --git a/cmd/protoc-gen-gorums/dev/zorums_client_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_client_gorums.pb.go index ddd2f43b..ff3c2462 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_client_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_client_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: zorums.proto @@ -14,9 +14,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // ZorumsServiceClient is the client interface for the ZorumsService service. diff --git a/cmd/protoc-gen-gorums/dev/zorums_correctable_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_correctable_gorums.pb.go index 4e398499..7856f665 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_correctable_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_correctable_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: zorums.proto @@ -15,9 +15,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // Correctable plain. diff --git a/cmd/protoc-gen-gorums/dev/zorums_multicast_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_multicast_gorums.pb.go index 86f51fac..4b446540 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_multicast_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_multicast_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: zorums.proto @@ -15,9 +15,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // Multicast plain. Response type is not needed here. diff --git a/cmd/protoc-gen-gorums/dev/zorums_qspec_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_qspec_gorums.pb.go index a3325375..06acfaad 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_qspec_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_qspec_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: zorums.proto @@ -13,9 +13,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // QuorumSpec is the interface of quorum functions for ZorumsService. diff --git a/cmd/protoc-gen-gorums/dev/zorums_quorumcall_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_quorumcall_gorums.pb.go index 55740914..d92c4369 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_quorumcall_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_quorumcall_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: zorums.proto @@ -15,9 +15,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // QuorumCall plain. diff --git a/cmd/protoc-gen-gorums/dev/zorums_rpc_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_rpc_gorums.pb.go index ed8540a6..b5ec6efe 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_rpc_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_rpc_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: zorums.proto @@ -13,9 +13,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // GRPCCall plain gRPC call; testing that Gorums can ignore these, but that diff --git a/cmd/protoc-gen-gorums/dev/zorums_server_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_server_gorums.pb.go index 6661a705..745d35a4 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_server_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_server_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: zorums.proto @@ -14,9 +14,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // ZorumsService is the server-side API for the ZorumsService Service diff --git a/cmd/protoc-gen-gorums/dev/zorums_types_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_types_gorums.pb.go index 4be6db99..ab2f6e80 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_types_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_types_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: zorums.proto @@ -13,9 +13,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) type internalEmpty struct { diff --git a/cmd/protoc-gen-gorums/dev/zorums_unicast_gorums.pb.go b/cmd/protoc-gen-gorums/dev/zorums_unicast_gorums.pb.go index e0bd4141..cf3ab4f2 100644 --- a/cmd/protoc-gen-gorums/dev/zorums_unicast_gorums.pb.go +++ b/cmd/protoc-gen-gorums/dev/zorums_unicast_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: zorums.proto @@ -14,9 +14,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // Unicast is a quorum call invoked on all nodes in configuration c, diff --git a/examples/go.mod b/examples/go.mod index 07da0471..ece4467d 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -4,7 +4,7 @@ go 1.25.4 require ( github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 - github.com/relab/gorums v0.9.0 + github.com/relab/gorums v0.10.0 golang.org/x/term v0.37.0 google.golang.org/grpc v1.76.0 google.golang.org/protobuf v1.36.10 diff --git a/examples/storage/proto/storage_gorums.pb.go b/examples/storage/proto/storage_gorums.pb.go index e048a371..a44212f9 100644 --- a/examples/storage/proto/storage_gorums.pb.go +++ b/examples/storage/proto/storage_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: storage/proto/storage.proto @@ -17,9 +17,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/internal/version/version.go b/internal/version/version.go index aef4b17c..abb9b3de 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -10,7 +10,7 @@ import ( // Steps for cutting a new release is described in doc/release-guide.md. const ( Major = 0 - Minor = 9 + Minor = 10 Patch = 0 PreRelease = "devel" ) diff --git a/release-notes.txt b/release-notes.txt new file mode 100644 index 00000000..fcdf1f5f --- /dev/null +++ b/release-notes.txt @@ -0,0 +1,134 @@ +# github.com/relab/gorums +## incompatible changes +Message.Message: removed +Message.Metadata: removed +SendMessage: removed +Server: old is comparable, new is not +WrapMessage: removed +requestHandler: changed from func(ServerCtx, *Message, chan<- *Message) to func(ServerCtx, *Message) (*Message, error) +## compatible changes +(*Message).GetMessageID: added +(*Message).GetMetadata: added +(*Message).GetMethod: added +(*Message).GetProtoMessage: added +(*Message).GetStatus: added +(*ServerCtx).SendMessage: added +AsProto: added +Handler: added +Interceptor: added +NewResponseMessage: added +WithInterceptors: added + +# github.com/relab/gorums/benchmark +## incompatible changes +github.com/relab/gorums.(*Server).RegisterHandler: changed from func(string, github.com/relab/gorums.requestHandler) to func(string, github.com/relab/gorums.Handler) + +# github.com/relab/gorums/tests/config +## incompatible changes +(*Request).Descriptor: removed +(*Response).Descriptor: removed +Request.Num: removed +Response.Name: removed +Response.Num: removed +## compatible changes +(*Request).SetNum: added +(*Response).SetName: added +(*Response).SetNum: added +Request_builder: added +Response_builder: added + +# github.com/relab/gorums/tests/correctable +## incompatible changes +(*CorrectableRequest).Descriptor: removed +(*CorrectableResponse).Descriptor: removed +CorrectableResponse.Level: removed +## compatible changes +(*CorrectableResponse).SetLevel: added +CorrectableRequest_builder: added +CorrectableResponse_builder: added + +# github.com/relab/gorums/tests/dummy +## incompatible changes +(*Empty).Descriptor: removed +## compatible changes +Empty_builder: added + +# github.com/relab/gorums/tests/metadata +## incompatible changes +(*IPAddr).Descriptor: removed +(*NodeID).Descriptor: removed +IPAddr.Addr: removed +NodeID.ID: removed +## compatible changes +(*IPAddr).SetAddr: added +(*NodeID).SetID: added +IPAddr_builder: added +NodeID_builder: added + +# github.com/relab/gorums/tests/mock +## incompatible changes +(*Request).Descriptor: removed +(*Response).Descriptor: removed +File_mock_proto: removed +Request.Val: removed +Response.Val: removed +## compatible changes +(*Request).SetVal: added +(*Response).SetVal: added +File_mock_mock_proto: added +Request_builder: added +Response_builder: added + +# github.com/relab/gorums/tests/oneway +## incompatible changes +(*Empty).Descriptor: removed +(*Request).Descriptor: removed +Request.Num: removed +## compatible changes +(*Request).SetNum: added +Empty_builder: added +Request_builder: added + +# github.com/relab/gorums/tests/ordering +## incompatible changes +(*Request).Descriptor: removed +(*Response).Descriptor: removed +Request.Num: removed +Response.InOrder: removed +## compatible changes +(*Request).SetNum: added +(*Response).SetInOrder: added +Request_builder: added +Response_builder: added + +# github.com/relab/gorums/tests/qf +## incompatible changes +(*Request).Descriptor: removed +(*Response).Descriptor: removed +Request.Value: removed +Response.Result: removed +## compatible changes +(*Request).SetValue: added +(*Response).SetResult: added +Request_builder: added +Response_builder: added + +# github.com/relab/gorums/tests/tls +## incompatible changes +(*Request).Descriptor: removed +(*Response).Descriptor: removed +Response.OK: removed +## compatible changes +(*Response).SetOK: added +Request_builder: added +Response_builder: added + +# github.com/relab/gorums/tests/unresponsive +## incompatible changes +(*Empty).Descriptor: removed +## compatible changes +Empty_builder: added + +# summary +Inferred base version: v0.9.0 +Suggested version: v0.10.0 diff --git a/tests/config/config_gorums.pb.go b/tests/config/config_gorums.pb.go index 4ad53db9..dbe7d4ab 100644 --- a/tests/config/config_gorums.pb.go +++ b/tests/config/config_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: config/config.proto @@ -16,9 +16,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/tests/correctable/correctable_gorums.pb.go b/tests/correctable/correctable_gorums.pb.go index 6956baa2..849a33e2 100644 --- a/tests/correctable/correctable_gorums.pb.go +++ b/tests/correctable/correctable_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: correctable/correctable.proto @@ -16,9 +16,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/tests/dummy/dummy_gorums.pb.go b/tests/dummy/dummy_gorums.pb.go index 77a93ef9..7e362e9e 100644 --- a/tests/dummy/dummy_gorums.pb.go +++ b/tests/dummy/dummy_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: dummy/dummy.proto @@ -15,9 +15,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/tests/metadata/metadata_gorums.pb.go b/tests/metadata/metadata_gorums.pb.go index 51a55ffe..eb7e3702 100644 --- a/tests/metadata/metadata_gorums.pb.go +++ b/tests/metadata/metadata_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: metadata/metadata.proto @@ -16,9 +16,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/tests/oneway/oneway_gorums.pb.go b/tests/oneway/oneway_gorums.pb.go index 2fded899..2bc3c166 100644 --- a/tests/oneway/oneway_gorums.pb.go +++ b/tests/oneway/oneway_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: oneway/oneway.proto @@ -16,9 +16,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/tests/ordering/order_gorums.pb.go b/tests/ordering/order_gorums.pb.go index 1f729b1c..71762717 100644 --- a/tests/ordering/order_gorums.pb.go +++ b/tests/ordering/order_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: ordering/order.proto @@ -16,9 +16,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/tests/qf/qf_gorums.pb.go b/tests/qf/qf_gorums.pb.go index 11b16c5e..ee239454 100644 --- a/tests/qf/qf_gorums.pb.go +++ b/tests/qf/qf_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: qf/qf.proto @@ -16,9 +16,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/tests/tls/tls_gorums.pb.go b/tests/tls/tls_gorums.pb.go index b831e3e4..1ac54160 100644 --- a/tests/tls/tls_gorums.pb.go +++ b/tests/tls/tls_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: tls/tls.proto @@ -15,9 +15,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/tests/unresponsive/unresponsive_gorums.pb.go b/tests/unresponsive/unresponsive_gorums.pb.go index 5f4d0eec..5af991c0 100644 --- a/tests/unresponsive/unresponsive_gorums.pb.go +++ b/tests/unresponsive/unresponsive_gorums.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-gorums. DO NOT EDIT. // versions: -// protoc-gen-gorums v0.9.0-devel+55cec922 +// protoc-gen-gorums v0.10.0-devel // protoc v6.33.0 // source: unresponsive/unresponsive.proto @@ -15,9 +15,9 @@ import ( const ( // Verify that this generated code is sufficiently up-to-date. - _ = gorums.EnforceVersion(9 - gorums.MinVersion) + _ = gorums.EnforceVersion(10 - gorums.MinVersion) // Verify that the gorums runtime is sufficiently up-to-date. - _ = gorums.EnforceVersion(gorums.MaxVersion - 9) + _ = gorums.EnforceVersion(gorums.MaxVersion - 10) ) // A Configuration represents a static set of nodes on which quorum remote diff --git a/version.go b/version.go index b7dcaece..36908b63 100644 --- a/version.go +++ b/version.go @@ -10,11 +10,11 @@ const ( // GenVersion is the runtime version required by generated .pb.go files. // This is incremented when generated code relies on new functionality // in the runtime. - GenVersion = 9 + GenVersion = 10 // MinVersion is the minimum supported version for generated .pb.go files. // This is incremented when the runtime drops support for old code. - MinVersion = 9 + MinVersion = 10 ) // EnforceVersion is used by code generated by protoc-gen-gorums