From e3c82006097c7bbb9beaa3c57dc12d89b73c0e05 Mon Sep 17 00:00:00 2001 From: Chetan Vala Date: Thu, 8 Apr 2021 22:24:22 -0700 Subject: [PATCH] Version v7.2.0 release --- clientcompat/internal/clientcompat/clientcompat.twirp.go | 8 ++++---- clientcompat/pycompat/clientcompat_pb2_twirp.py | 2 +- example/service.twirp.go | 8 ++++---- example/service_pb2_twirp.py | 2 +- internal/gen/version.go | 2 +- internal/twirptest/empty_service/empty_service.twirp.go | 8 ++++---- .../twirptest/empty_service/empty_service_pb2_twirp.py | 2 +- internal/twirptest/gogo_compat/service.twirp.go | 8 ++++---- .../twirptest/google_protobuf_imports/service.twirp.go | 8 ++++---- .../google_protobuf_imports/service_pb2_twirp.py | 2 +- internal/twirptest/importable/importable.twirp.go | 8 ++++---- internal/twirptest/importable/importable_pb2_twirp.py | 2 +- internal/twirptest/importer/importer.twirp.go | 8 ++++---- internal/twirptest/importer/importer_pb2_twirp.py | 2 +- internal/twirptest/importer_local/importer_local.twirp.go | 8 ++++---- .../importer_local/importer_local_msgdef_pb2_twirp.py | 2 +- .../twirptest/importer_local/importer_local_pb2_twirp.py | 2 +- internal/twirptest/importmapping/x/x.twirp.go | 8 ++++---- internal/twirptest/importmapping/x/x_pb2_twirp.py | 2 +- internal/twirptest/importmapping/y/y_pb2_twirp.py | 2 +- .../json_serialization/json_serialization.twirp.go | 8 ++++---- .../json_serialization/json_serialization_pb2_twirp.py | 2 +- internal/twirptest/multiple/multiple1.twirp.go | 8 ++++---- internal/twirptest/multiple/multiple1_pb2_twirp.py | 2 +- internal/twirptest/multiple/multiple2.twirp.go | 4 ++-- internal/twirptest/multiple/multiple2_pb2_twirp.py | 2 +- .../twirptest/no_package_name/no_package_name.twirp.go | 8 ++++---- .../no_package_name/no_package_name_pb2_twirp.py | 2 +- .../no_package_name_importer.twirp.go | 8 ++++---- .../no_package_name_importer_pb2_twirp.py | 2 +- internal/twirptest/proto/proto.twirp.go | 8 ++++---- internal/twirptest/proto/proto_pb2_twirp.py | 2 +- internal/twirptest/service.twirp.go | 8 ++++---- .../service_method_same_name.twirp.go | 8 ++++---- .../service_method_same_name_pb2_twirp.py | 2 +- internal/twirptest/service_pb2_twirp.py | 2 +- .../twirptest/snake_case_names/snake_case_names.twirp.go | 8 ++++---- .../snake_case_names/snake_case_names_pb2_twirp.py | 2 +- .../twirptest/source_relative/source_relative.twirp.go | 8 ++++---- .../source_relative/source_relative_pb2_twirp.py | 2 +- 40 files changed, 95 insertions(+), 95 deletions(-) diff --git a/clientcompat/internal/clientcompat/clientcompat.twirp.go b/clientcompat/internal/clientcompat/clientcompat.twirp.go index 2b9f2fb8..f209d46a 100644 --- a/clientcompat/internal/clientcompat/clientcompat.twirp.go +++ b/clientcompat/internal/clientcompat/clientcompat.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v7.1.1, DO NOT EDIT. +// Code generated by protoc-gen-twirp v7.2.0, DO NOT EDIT. // source: clientcompat.proto /* Package clientcompat is a generated twirp stub package. -This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.1.1. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.2.0. It is generated from these files: clientcompat.proto @@ -772,7 +772,7 @@ func (s *compatServiceServer) ServiceDescriptor() ([]byte, int) { } func (s *compatServiceServer) ProtocGenTwirpVersion() string { - return "v7.1.1" + return "v7.2.0" } // PathPrefix returns the base service path, in the form: "//./" @@ -945,7 +945,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType } req.Header.Set("Accept", contentType) req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v7.1.1") + req.Header.Set("Twirp-Version", "v7.2.0") return req, nil } diff --git a/clientcompat/pycompat/clientcompat_pb2_twirp.py b/clientcompat/pycompat/clientcompat_pb2_twirp.py index f625149a..cabd67bb 100644 --- a/clientcompat/pycompat/clientcompat_pb2_twirp.py +++ b/clientcompat/pycompat/clientcompat_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: clientcompat.proto try: diff --git a/example/service.twirp.go b/example/service.twirp.go index 35d183dc..700fdb91 100644 --- a/example/service.twirp.go +++ b/example/service.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v7.1.1, DO NOT EDIT. +// Code generated by protoc-gen-twirp v7.2.0, DO NOT EDIT. // source: service.proto /* Package example is a generated twirp stub package. -This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.1.1. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.2.0. It is generated from these files: service.proto @@ -500,7 +500,7 @@ func (s *haberdasherServer) ServiceDescriptor() ([]byte, int) { } func (s *haberdasherServer) ProtocGenTwirpVersion() string { - return "v7.1.1" + return "v7.2.0" } // PathPrefix returns the base service path, in the form: "//./" @@ -673,7 +673,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType } req.Header.Set("Accept", contentType) req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v7.1.1") + req.Header.Set("Twirp-Version", "v7.2.0") return req, nil } diff --git a/example/service_pb2_twirp.py b/example/service_pb2_twirp.py index c6ec707e..eb3bd92a 100644 --- a/example/service_pb2_twirp.py +++ b/example/service_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: service.proto try: diff --git a/internal/gen/version.go b/internal/gen/version.go index 269a0ff0..0ef79a23 100644 --- a/internal/gen/version.go +++ b/internal/gen/version.go @@ -13,4 +13,4 @@ package gen -const Version = "v7.1.1" +const Version = "v7.2.0" diff --git a/internal/twirptest/empty_service/empty_service.twirp.go b/internal/twirptest/empty_service/empty_service.twirp.go index c274f344..f60c8a85 100644 --- a/internal/twirptest/empty_service/empty_service.twirp.go +++ b/internal/twirptest/empty_service/empty_service.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v7.1.1, DO NOT EDIT. +// Code generated by protoc-gen-twirp v7.2.0, DO NOT EDIT. // source: empty_service.proto /* Package empty_service is a generated twirp stub package. -This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.1.1. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.2.0. It is generated from these files: empty_service.proto @@ -217,7 +217,7 @@ func (s *emptyServer) ServiceDescriptor() ([]byte, int) { } func (s *emptyServer) ProtocGenTwirpVersion() string { - return "v7.1.1" + return "v7.2.0" } // PathPrefix returns the base service path, in the form: "//./" @@ -390,7 +390,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType } req.Header.Set("Accept", contentType) req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v7.1.1") + req.Header.Set("Twirp-Version", "v7.2.0") return req, nil } diff --git a/internal/twirptest/empty_service/empty_service_pb2_twirp.py b/internal/twirptest/empty_service/empty_service_pb2_twirp.py index a0b46850..c1b325e2 100644 --- a/internal/twirptest/empty_service/empty_service_pb2_twirp.py +++ b/internal/twirptest/empty_service/empty_service_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: empty_service.proto try: diff --git a/internal/twirptest/gogo_compat/service.twirp.go b/internal/twirptest/gogo_compat/service.twirp.go index 6e72cbf5..db5183d5 100644 --- a/internal/twirptest/gogo_compat/service.twirp.go +++ b/internal/twirptest/gogo_compat/service.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v7.1.1, DO NOT EDIT. +// Code generated by protoc-gen-twirp v7.2.0, DO NOT EDIT. // source: service.proto /* Package gogo_compat is a generated twirp stub package. -This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.1.1. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.2.0. Test to make sure that Twirp plays well with code generated with github.com/gogo/protobuf/protoc-gen-gofast. @@ -502,7 +502,7 @@ func (s *svcServer) ServiceDescriptor() ([]byte, int) { } func (s *svcServer) ProtocGenTwirpVersion() string { - return "v7.1.1" + return "v7.2.0" } // PathPrefix returns the base service path, in the form: "//./" @@ -675,7 +675,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType } req.Header.Set("Accept", contentType) req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v7.1.1") + req.Header.Set("Twirp-Version", "v7.2.0") return req, nil } diff --git a/internal/twirptest/google_protobuf_imports/service.twirp.go b/internal/twirptest/google_protobuf_imports/service.twirp.go index 9f98c74e..1b463c60 100644 --- a/internal/twirptest/google_protobuf_imports/service.twirp.go +++ b/internal/twirptest/google_protobuf_imports/service.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v7.1.1, DO NOT EDIT. +// Code generated by protoc-gen-twirp v7.2.0, DO NOT EDIT. // source: service.proto /* Package google_protobuf_imports is a generated twirp stub package. -This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.1.1. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.2.0. It is generated from these files: service.proto @@ -501,7 +501,7 @@ func (s *svcServer) ServiceDescriptor() ([]byte, int) { } func (s *svcServer) ProtocGenTwirpVersion() string { - return "v7.1.1" + return "v7.2.0" } // PathPrefix returns the base service path, in the form: "//./" @@ -674,7 +674,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType } req.Header.Set("Accept", contentType) req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v7.1.1") + req.Header.Set("Twirp-Version", "v7.2.0") return req, nil } diff --git a/internal/twirptest/google_protobuf_imports/service_pb2_twirp.py b/internal/twirptest/google_protobuf_imports/service_pb2_twirp.py index 9749c021..eadd852d 100644 --- a/internal/twirptest/google_protobuf_imports/service_pb2_twirp.py +++ b/internal/twirptest/google_protobuf_imports/service_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: service.proto try: diff --git a/internal/twirptest/importable/importable.twirp.go b/internal/twirptest/importable/importable.twirp.go index 6f679d42..d36dc99c 100644 --- a/internal/twirptest/importable/importable.twirp.go +++ b/internal/twirptest/importable/importable.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v7.1.1, DO NOT EDIT. +// Code generated by protoc-gen-twirp v7.2.0, DO NOT EDIT. // source: importable.proto /* Package importable is a generated twirp stub package. -This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.1.1. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.2.0. Test to make sure that importing other packages doesnt break @@ -501,7 +501,7 @@ func (s *svcServer) ServiceDescriptor() ([]byte, int) { } func (s *svcServer) ProtocGenTwirpVersion() string { - return "v7.1.1" + return "v7.2.0" } // PathPrefix returns the base service path, in the form: "//./" @@ -674,7 +674,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType } req.Header.Set("Accept", contentType) req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v7.1.1") + req.Header.Set("Twirp-Version", "v7.2.0") return req, nil } diff --git a/internal/twirptest/importable/importable_pb2_twirp.py b/internal/twirptest/importable/importable_pb2_twirp.py index 0a63da82..276d34f5 100644 --- a/internal/twirptest/importable/importable_pb2_twirp.py +++ b/internal/twirptest/importable/importable_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: importable.proto try: diff --git a/internal/twirptest/importer/importer.twirp.go b/internal/twirptest/importer/importer.twirp.go index c0cc5138..f8dc6e1c 100644 --- a/internal/twirptest/importer/importer.twirp.go +++ b/internal/twirptest/importer/importer.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v7.1.1, DO NOT EDIT. +// Code generated by protoc-gen-twirp v7.2.0, DO NOT EDIT. // source: importer.proto /* Package importer is a generated twirp stub package. -This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.1.1. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.2.0. Test to make sure that importing other packages doesnt break @@ -503,7 +503,7 @@ func (s *svc2Server) ServiceDescriptor() ([]byte, int) { } func (s *svc2Server) ProtocGenTwirpVersion() string { - return "v7.1.1" + return "v7.2.0" } // PathPrefix returns the base service path, in the form: "//./" @@ -676,7 +676,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType } req.Header.Set("Accept", contentType) req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v7.1.1") + req.Header.Set("Twirp-Version", "v7.2.0") return req, nil } diff --git a/internal/twirptest/importer/importer_pb2_twirp.py b/internal/twirptest/importer/importer_pb2_twirp.py index 77f00e82..128c78d2 100644 --- a/internal/twirptest/importer/importer_pb2_twirp.py +++ b/internal/twirptest/importer/importer_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: importer.proto try: diff --git a/internal/twirptest/importer_local/importer_local.twirp.go b/internal/twirptest/importer_local/importer_local.twirp.go index 6f4b7e34..845c2dbb 100644 --- a/internal/twirptest/importer_local/importer_local.twirp.go +++ b/internal/twirptest/importer_local/importer_local.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v7.1.1, DO NOT EDIT. +// Code generated by protoc-gen-twirp v7.2.0, DO NOT EDIT. // source: importer_local.proto /* Package importer_local is a generated twirp stub package. -This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.1.1. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.2.0. It is generated from these files: importer_local.proto @@ -498,7 +498,7 @@ func (s *svcServer) ServiceDescriptor() ([]byte, int) { } func (s *svcServer) ProtocGenTwirpVersion() string { - return "v7.1.1" + return "v7.2.0" } // PathPrefix returns the base service path, in the form: "//./" @@ -671,7 +671,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType } req.Header.Set("Accept", contentType) req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v7.1.1") + req.Header.Set("Twirp-Version", "v7.2.0") return req, nil } diff --git a/internal/twirptest/importer_local/importer_local_msgdef_pb2_twirp.py b/internal/twirptest/importer_local/importer_local_msgdef_pb2_twirp.py index 23adcf13..527f09b7 100644 --- a/internal/twirptest/importer_local/importer_local_msgdef_pb2_twirp.py +++ b/internal/twirptest/importer_local/importer_local_msgdef_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: importer_local_msgdef.proto try: diff --git a/internal/twirptest/importer_local/importer_local_pb2_twirp.py b/internal/twirptest/importer_local/importer_local_pb2_twirp.py index 3bfe0e1b..33aae886 100644 --- a/internal/twirptest/importer_local/importer_local_pb2_twirp.py +++ b/internal/twirptest/importer_local/importer_local_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: importer_local.proto try: diff --git a/internal/twirptest/importmapping/x/x.twirp.go b/internal/twirptest/importmapping/x/x.twirp.go index 07696c1b..e0c3c600 100644 --- a/internal/twirptest/importmapping/x/x.twirp.go +++ b/internal/twirptest/importmapping/x/x.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v7.1.1, DO NOT EDIT. +// Code generated by protoc-gen-twirp v7.2.0, DO NOT EDIT. // source: x/x.proto /* Package x is a generated twirp stub package. -This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.1.1. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.2.0. It is generated from these files: x/x.proto @@ -500,7 +500,7 @@ func (s *svc1Server) ServiceDescriptor() ([]byte, int) { } func (s *svc1Server) ProtocGenTwirpVersion() string { - return "v7.1.1" + return "v7.2.0" } // PathPrefix returns the base service path, in the form: "//./" @@ -673,7 +673,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType } req.Header.Set("Accept", contentType) req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v7.1.1") + req.Header.Set("Twirp-Version", "v7.2.0") return req, nil } diff --git a/internal/twirptest/importmapping/x/x_pb2_twirp.py b/internal/twirptest/importmapping/x/x_pb2_twirp.py index ac34b052..d3b959b9 100644 --- a/internal/twirptest/importmapping/x/x_pb2_twirp.py +++ b/internal/twirptest/importmapping/x/x_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: x/x.proto try: diff --git a/internal/twirptest/importmapping/y/y_pb2_twirp.py b/internal/twirptest/importmapping/y/y_pb2_twirp.py index a8038383..ce0dae5e 100644 --- a/internal/twirptest/importmapping/y/y_pb2_twirp.py +++ b/internal/twirptest/importmapping/y/y_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: y/y.proto try: diff --git a/internal/twirptest/json_serialization/json_serialization.twirp.go b/internal/twirptest/json_serialization/json_serialization.twirp.go index baf2edc8..df3c8bab 100644 --- a/internal/twirptest/json_serialization/json_serialization.twirp.go +++ b/internal/twirptest/json_serialization/json_serialization.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v7.1.1, DO NOT EDIT. +// Code generated by protoc-gen-twirp v7.2.0, DO NOT EDIT. // source: json_serialization.proto /* Package json_serialization is a generated twirp stub package. -This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.1.1. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.2.0. It is generated from these files: json_serialization.proto @@ -498,7 +498,7 @@ func (s *jSONSerializationServer) ServiceDescriptor() ([]byte, int) { } func (s *jSONSerializationServer) ProtocGenTwirpVersion() string { - return "v7.1.1" + return "v7.2.0" } // PathPrefix returns the base service path, in the form: "//./" @@ -671,7 +671,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType } req.Header.Set("Accept", contentType) req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v7.1.1") + req.Header.Set("Twirp-Version", "v7.2.0") return req, nil } diff --git a/internal/twirptest/json_serialization/json_serialization_pb2_twirp.py b/internal/twirptest/json_serialization/json_serialization_pb2_twirp.py index c4870167..a4ede9a5 100644 --- a/internal/twirptest/json_serialization/json_serialization_pb2_twirp.py +++ b/internal/twirptest/json_serialization/json_serialization_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: json_serialization.proto try: diff --git a/internal/twirptest/multiple/multiple1.twirp.go b/internal/twirptest/multiple/multiple1.twirp.go index fe9b4934..a701b894 100644 --- a/internal/twirptest/multiple/multiple1.twirp.go +++ b/internal/twirptest/multiple/multiple1.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v7.1.1, DO NOT EDIT. +// Code generated by protoc-gen-twirp v7.2.0, DO NOT EDIT. // source: multiple1.proto /* Package multiple is a generated twirp stub package. -This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.1.1. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.2.0. test to make sure that multiple proto files in one package works @@ -502,7 +502,7 @@ func (s *svc1Server) ServiceDescriptor() ([]byte, int) { } func (s *svc1Server) ProtocGenTwirpVersion() string { - return "v7.1.1" + return "v7.2.0" } // PathPrefix returns the base service path, in the form: "//./" @@ -675,7 +675,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType } req.Header.Set("Accept", contentType) req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v7.1.1") + req.Header.Set("Twirp-Version", "v7.2.0") return req, nil } diff --git a/internal/twirptest/multiple/multiple1_pb2_twirp.py b/internal/twirptest/multiple/multiple1_pb2_twirp.py index 7de792dc..8a608a5e 100644 --- a/internal/twirptest/multiple/multiple1_pb2_twirp.py +++ b/internal/twirptest/multiple/multiple1_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: multiple1.proto try: diff --git a/internal/twirptest/multiple/multiple2.twirp.go b/internal/twirptest/multiple/multiple2.twirp.go index e63d654b..f4cccf42 100644 --- a/internal/twirptest/multiple/multiple2.twirp.go +++ b/internal/twirptest/multiple/multiple2.twirp.go @@ -1,4 +1,4 @@ -// Code generated by protoc-gen-twirp v7.1.1, DO NOT EDIT. +// Code generated by protoc-gen-twirp v7.2.0, DO NOT EDIT. // source: multiple2.proto package multiple @@ -759,7 +759,7 @@ func (s *svc2Server) ServiceDescriptor() ([]byte, int) { } func (s *svc2Server) ProtocGenTwirpVersion() string { - return "v7.1.1" + return "v7.2.0" } // PathPrefix returns the base service path, in the form: "//./" diff --git a/internal/twirptest/multiple/multiple2_pb2_twirp.py b/internal/twirptest/multiple/multiple2_pb2_twirp.py index 1816621d..269d9467 100644 --- a/internal/twirptest/multiple/multiple2_pb2_twirp.py +++ b/internal/twirptest/multiple/multiple2_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: multiple2.proto try: diff --git a/internal/twirptest/no_package_name/no_package_name.twirp.go b/internal/twirptest/no_package_name/no_package_name.twirp.go index cc2b6fe5..418f95d3 100644 --- a/internal/twirptest/no_package_name/no_package_name.twirp.go +++ b/internal/twirptest/no_package_name/no_package_name.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v7.1.1, DO NOT EDIT. +// Code generated by protoc-gen-twirp v7.2.0, DO NOT EDIT. // source: no_package_name.proto /* Package no_package_name is a generated twirp stub package. -This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.1.1. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.2.0. It is generated from these files: no_package_name.proto @@ -498,7 +498,7 @@ func (s *svcServer) ServiceDescriptor() ([]byte, int) { } func (s *svcServer) ProtocGenTwirpVersion() string { - return "v7.1.1" + return "v7.2.0" } // PathPrefix returns the base service path, in the form: "//./" @@ -671,7 +671,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType } req.Header.Set("Accept", contentType) req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v7.1.1") + req.Header.Set("Twirp-Version", "v7.2.0") return req, nil } diff --git a/internal/twirptest/no_package_name/no_package_name_pb2_twirp.py b/internal/twirptest/no_package_name/no_package_name_pb2_twirp.py index b81a7561..4e7afe9e 100644 --- a/internal/twirptest/no_package_name/no_package_name_pb2_twirp.py +++ b/internal/twirptest/no_package_name/no_package_name_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: no_package_name.proto try: diff --git a/internal/twirptest/no_package_name_importer/no_package_name_importer.twirp.go b/internal/twirptest/no_package_name_importer/no_package_name_importer.twirp.go index 23902eb3..2f4b22e3 100644 --- a/internal/twirptest/no_package_name_importer/no_package_name_importer.twirp.go +++ b/internal/twirptest/no_package_name_importer/no_package_name_importer.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v7.1.1, DO NOT EDIT. +// Code generated by protoc-gen-twirp v7.2.0, DO NOT EDIT. // source: no_package_name_importer.proto /* Package no_package_name_importer is a generated twirp stub package. -This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.1.1. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.2.0. It is generated from these files: no_package_name_importer.proto @@ -500,7 +500,7 @@ func (s *svc2Server) ServiceDescriptor() ([]byte, int) { } func (s *svc2Server) ProtocGenTwirpVersion() string { - return "v7.1.1" + return "v7.2.0" } // PathPrefix returns the base service path, in the form: "//./" @@ -673,7 +673,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType } req.Header.Set("Accept", contentType) req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v7.1.1") + req.Header.Set("Twirp-Version", "v7.2.0") return req, nil } diff --git a/internal/twirptest/no_package_name_importer/no_package_name_importer_pb2_twirp.py b/internal/twirptest/no_package_name_importer/no_package_name_importer_pb2_twirp.py index 00045f14..02ba7a3e 100644 --- a/internal/twirptest/no_package_name_importer/no_package_name_importer_pb2_twirp.py +++ b/internal/twirptest/no_package_name_importer/no_package_name_importer_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: no_package_name_importer.proto try: diff --git a/internal/twirptest/proto/proto.twirp.go b/internal/twirptest/proto/proto.twirp.go index bfc82802..ee813be4 100644 --- a/internal/twirptest/proto/proto.twirp.go +++ b/internal/twirptest/proto/proto.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v7.1.1, DO NOT EDIT. +// Code generated by protoc-gen-twirp v7.2.0, DO NOT EDIT. // source: proto.proto /* Package proto is a generated twirp stub package. -This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.1.1. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.2.0. Test to make sure that a package named proto doesn't break @@ -501,7 +501,7 @@ func (s *svcServer) ServiceDescriptor() ([]byte, int) { } func (s *svcServer) ProtocGenTwirpVersion() string { - return "v7.1.1" + return "v7.2.0" } // PathPrefix returns the base service path, in the form: "//./" @@ -674,7 +674,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType } req.Header.Set("Accept", contentType) req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v7.1.1") + req.Header.Set("Twirp-Version", "v7.2.0") return req, nil } diff --git a/internal/twirptest/proto/proto_pb2_twirp.py b/internal/twirptest/proto/proto_pb2_twirp.py index 53653a31..ae784015 100644 --- a/internal/twirptest/proto/proto_pb2_twirp.py +++ b/internal/twirptest/proto/proto_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: proto.proto try: diff --git a/internal/twirptest/service.twirp.go b/internal/twirptest/service.twirp.go index 9fc52dc2..88e42310 100644 --- a/internal/twirptest/service.twirp.go +++ b/internal/twirptest/service.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v7.1.1, DO NOT EDIT. +// Code generated by protoc-gen-twirp v7.2.0, DO NOT EDIT. // source: service.proto /* Package twirptest is a generated twirp stub package. -This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.1.1. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.2.0. It is generated from these files: service.proto @@ -500,7 +500,7 @@ func (s *haberdasherServer) ServiceDescriptor() ([]byte, int) { } func (s *haberdasherServer) ProtocGenTwirpVersion() string { - return "v7.1.1" + return "v7.2.0" } // PathPrefix returns the base service path, in the form: "//./" @@ -673,7 +673,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType } req.Header.Set("Accept", contentType) req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v7.1.1") + req.Header.Set("Twirp-Version", "v7.2.0") return req, nil } diff --git a/internal/twirptest/service_method_same_name/service_method_same_name.twirp.go b/internal/twirptest/service_method_same_name/service_method_same_name.twirp.go index 9702a39c..4908f123 100644 --- a/internal/twirptest/service_method_same_name/service_method_same_name.twirp.go +++ b/internal/twirptest/service_method_same_name/service_method_same_name.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v7.1.1, DO NOT EDIT. +// Code generated by protoc-gen-twirp v7.2.0, DO NOT EDIT. // source: service_method_same_name.proto /* Package service_method_same_name is a generated twirp stub package. -This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.1.1. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.2.0. It is generated from these files: service_method_same_name.proto @@ -498,7 +498,7 @@ func (s *echoServer) ServiceDescriptor() ([]byte, int) { } func (s *echoServer) ProtocGenTwirpVersion() string { - return "v7.1.1" + return "v7.2.0" } // PathPrefix returns the base service path, in the form: "//./" @@ -671,7 +671,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType } req.Header.Set("Accept", contentType) req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v7.1.1") + req.Header.Set("Twirp-Version", "v7.2.0") return req, nil } diff --git a/internal/twirptest/service_method_same_name/service_method_same_name_pb2_twirp.py b/internal/twirptest/service_method_same_name/service_method_same_name_pb2_twirp.py index 98b32221..b223dfd8 100644 --- a/internal/twirptest/service_method_same_name/service_method_same_name_pb2_twirp.py +++ b/internal/twirptest/service_method_same_name/service_method_same_name_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: service_method_same_name.proto try: diff --git a/internal/twirptest/service_pb2_twirp.py b/internal/twirptest/service_pb2_twirp.py index bba0cbef..b4376b03 100644 --- a/internal/twirptest/service_pb2_twirp.py +++ b/internal/twirptest/service_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: service.proto try: diff --git a/internal/twirptest/snake_case_names/snake_case_names.twirp.go b/internal/twirptest/snake_case_names/snake_case_names.twirp.go index 41af06a6..de8ecaa2 100644 --- a/internal/twirptest/snake_case_names/snake_case_names.twirp.go +++ b/internal/twirptest/snake_case_names/snake_case_names.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v7.1.1, DO NOT EDIT. +// Code generated by protoc-gen-twirp v7.2.0, DO NOT EDIT. // source: snake_case_names.proto /* Package snake_case_names is a generated twirp stub package. -This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.1.1. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.2.0. Test that protoc-gen-twirp follows the same behavior as protoc-gen-go for converting RPCs and message names from snake case to camel case. @@ -521,7 +521,7 @@ func (s *haberdasherV1Server) ServiceDescriptor() ([]byte, int) { } func (s *haberdasherV1Server) ProtocGenTwirpVersion() string { - return "v7.1.1" + return "v7.2.0" } // PathPrefix returns the base service path, in the form: "//./" @@ -694,7 +694,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType } req.Header.Set("Accept", contentType) req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v7.1.1") + req.Header.Set("Twirp-Version", "v7.2.0") return req, nil } diff --git a/internal/twirptest/snake_case_names/snake_case_names_pb2_twirp.py b/internal/twirptest/snake_case_names/snake_case_names_pb2_twirp.py index d9f816b9..023ad77b 100644 --- a/internal/twirptest/snake_case_names/snake_case_names_pb2_twirp.py +++ b/internal/twirptest/snake_case_names/snake_case_names_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: snake_case_names.proto try: diff --git a/internal/twirptest/source_relative/source_relative.twirp.go b/internal/twirptest/source_relative/source_relative.twirp.go index 33ef480a..70543e0e 100644 --- a/internal/twirptest/source_relative/source_relative.twirp.go +++ b/internal/twirptest/source_relative/source_relative.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v7.1.1, DO NOT EDIT. +// Code generated by protoc-gen-twirp v7.2.0, DO NOT EDIT. // source: source_relative.proto /* Package source_relative is a generated twirp stub package. -This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.1.1. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v7.2.0. It is generated from these files: source_relative.proto @@ -498,7 +498,7 @@ func (s *svcServer) ServiceDescriptor() ([]byte, int) { } func (s *svcServer) ProtocGenTwirpVersion() string { - return "v7.1.1" + return "v7.2.0" } // PathPrefix returns the base service path, in the form: "//./" @@ -671,7 +671,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType } req.Header.Set("Accept", contentType) req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v7.1.1") + req.Header.Set("Twirp-Version", "v7.2.0") return req, nil } diff --git a/internal/twirptest/source_relative/source_relative_pb2_twirp.py b/internal/twirptest/source_relative/source_relative_pb2_twirp.py index 625c85ba..1e09102c 100644 --- a/internal/twirptest/source_relative/source_relative_pb2_twirp.py +++ b/internal/twirptest/source_relative/source_relative_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v7.1.1, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v7.2.0, DO NOT EDIT. # source: source_relative.proto try: