From f3691034c9f6e3d7fd0a67f881699fde4ccb7da9 Mon Sep 17 00:00:00 2001 From: Dave Polansky Date: Thu, 14 Feb 2019 18:52:43 -0800 Subject: [PATCH] Version v5.5.2 --- 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/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/importmapping/x/x.twirp.go | 8 ++++---- internal/twirptest/importmapping/x/x_pb2_twirp.py | 2 +- internal/twirptest/importmapping/y/y_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 +- 33 files changed, 79 insertions(+), 79 deletions(-) diff --git a/clientcompat/internal/clientcompat/clientcompat.twirp.go b/clientcompat/internal/clientcompat/clientcompat.twirp.go index f4dda843..f2dcd925 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 v5.5.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.5.2, 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 v5.5.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.5.2. It is generated from these files: clientcompat.proto @@ -499,7 +499,7 @@ func (s *compatServiceServer) ServiceDescriptor() ([]byte, int) { } func (s *compatServiceServer) ProtocGenTwirpVersion() string { - return "v5.5.0" + return "v5.5.2" } // ===== @@ -629,7 +629,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", "v5.5.0") + req.Header.Set("Twirp-Version", "v5.5.2") return req, nil } diff --git a/clientcompat/pycompat/clientcompat_pb2_twirp.py b/clientcompat/pycompat/clientcompat_pb2_twirp.py index 384e48f8..0ed56a4a 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 v5.5.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.5.2, DO NOT EDIT. # source: clientcompat.proto try: diff --git a/example/service.twirp.go b/example/service.twirp.go index 1d651f76..8b15eb4a 100644 --- a/example/service.twirp.go +++ b/example/service.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v5.5.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.5.2, 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 v5.5.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.5.2. It is generated from these files: service.proto @@ -326,7 +326,7 @@ func (s *haberdasherServer) ServiceDescriptor() ([]byte, int) { } func (s *haberdasherServer) ProtocGenTwirpVersion() string { - return "v5.5.0" + return "v5.5.2" } // ===== @@ -456,7 +456,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", "v5.5.0") + req.Header.Set("Twirp-Version", "v5.5.2") return req, nil } diff --git a/example/service_pb2_twirp.py b/example/service_pb2_twirp.py index 43689a8d..89e26311 100644 --- a/example/service_pb2_twirp.py +++ b/example/service_pb2_twirp.py @@ -1,4 +1,4 @@ -# Code generated by protoc-gen-twirp_python v5.5.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.5.2, DO NOT EDIT. # source: service.proto try: diff --git a/internal/gen/version.go b/internal/gen/version.go index 1ec25ef7..1f8e0b39 100644 --- a/internal/gen/version.go +++ b/internal/gen/version.go @@ -13,4 +13,4 @@ package gen -const Version = "v5.5.0" +const Version = "v5.5.2" diff --git a/internal/twirptest/gogo_compat/service.twirp.go b/internal/twirptest/gogo_compat/service.twirp.go index 6ca022ea..560451b8 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 v5.5.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.5.2, 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 v5.5.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.5.2. Test to make sure that Twirp plays well with code generated with github.com/gogo/protobuf/protoc-gen-gofast. @@ -328,7 +328,7 @@ func (s *svcServer) ServiceDescriptor() ([]byte, int) { } func (s *svcServer) ProtocGenTwirpVersion() string { - return "v5.5.0" + return "v5.5.2" } // ===== @@ -458,7 +458,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", "v5.5.0") + req.Header.Set("Twirp-Version", "v5.5.2") return req, nil } diff --git a/internal/twirptest/google_protobuf_imports/service.twirp.go b/internal/twirptest/google_protobuf_imports/service.twirp.go index 13f55ef3..ee54c735 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 v5.5.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.5.2, 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 v5.5.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.5.2. It is generated from these files: service.proto @@ -327,7 +327,7 @@ func (s *svcServer) ServiceDescriptor() ([]byte, int) { } func (s *svcServer) ProtocGenTwirpVersion() string { - return "v5.5.0" + return "v5.5.2" } // ===== @@ -457,7 +457,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", "v5.5.0") + req.Header.Set("Twirp-Version", "v5.5.2") 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 d5bdc431..79c8d5c4 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 v5.5.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.5.2, DO NOT EDIT. # source: service.proto try: diff --git a/internal/twirptest/importable/importable.twirp.go b/internal/twirptest/importable/importable.twirp.go index 52155f1c..e3363b15 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 v5.5.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.5.2, 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 v5.5.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.5.2. Test to make sure that importing other packages doesnt break @@ -327,7 +327,7 @@ func (s *svcServer) ServiceDescriptor() ([]byte, int) { } func (s *svcServer) ProtocGenTwirpVersion() string { - return "v5.5.0" + return "v5.5.2" } // ===== @@ -457,7 +457,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", "v5.5.0") + req.Header.Set("Twirp-Version", "v5.5.2") return req, nil } diff --git a/internal/twirptest/importable/importable_pb2_twirp.py b/internal/twirptest/importable/importable_pb2_twirp.py index bb8b26d8..e0cf8d9d 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 v5.5.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.5.2, DO NOT EDIT. # source: importable.proto try: diff --git a/internal/twirptest/importer/importer.twirp.go b/internal/twirptest/importer/importer.twirp.go index a3a140d9..4eeccd49 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 v5.5.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.5.2, 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 v5.5.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.5.2. Test to make sure that importing other packages doesnt break @@ -329,7 +329,7 @@ func (s *svc2Server) ServiceDescriptor() ([]byte, int) { } func (s *svc2Server) ProtocGenTwirpVersion() string { - return "v5.5.0" + return "v5.5.2" } // ===== @@ -459,7 +459,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", "v5.5.0") + req.Header.Set("Twirp-Version", "v5.5.2") return req, nil } diff --git a/internal/twirptest/importer/importer_pb2_twirp.py b/internal/twirptest/importer/importer_pb2_twirp.py index d3fb2e73..e936d563 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 v5.5.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.5.2, DO NOT EDIT. # source: importer.proto try: diff --git a/internal/twirptest/importmapping/x/x.twirp.go b/internal/twirptest/importmapping/x/x.twirp.go index 81169b06..df78d8d0 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 v5.5.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.5.2, 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 v5.5.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.5.2. It is generated from these files: x/x.proto @@ -326,7 +326,7 @@ func (s *svc1Server) ServiceDescriptor() ([]byte, int) { } func (s *svc1Server) ProtocGenTwirpVersion() string { - return "v5.5.0" + return "v5.5.2" } // ===== @@ -456,7 +456,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", "v5.5.0") + req.Header.Set("Twirp-Version", "v5.5.2") return req, nil } diff --git a/internal/twirptest/importmapping/x/x_pb2_twirp.py b/internal/twirptest/importmapping/x/x_pb2_twirp.py index 9aa7d767..27f403cb 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 v5.5.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.5.2, 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 49b216ba..1a6eb17a 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 v5.5.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.5.2, DO NOT EDIT. # source: y/y.proto try: diff --git a/internal/twirptest/multiple/multiple1.twirp.go b/internal/twirptest/multiple/multiple1.twirp.go index 147fee35..e7916f5d 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 v5.5.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.5.2, 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 v5.5.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.5.2. test to make sure that multiple proto files in one package works @@ -328,7 +328,7 @@ func (s *svc1Server) ServiceDescriptor() ([]byte, int) { } func (s *svc1Server) ProtocGenTwirpVersion() string { - return "v5.5.0" + return "v5.5.2" } // ===== @@ -458,7 +458,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", "v5.5.0") + req.Header.Set("Twirp-Version", "v5.5.2") return req, nil } diff --git a/internal/twirptest/multiple/multiple1_pb2_twirp.py b/internal/twirptest/multiple/multiple1_pb2_twirp.py index 74b202ec..13a90606 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 v5.5.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.5.2, DO NOT EDIT. # source: multiple1.proto try: diff --git a/internal/twirptest/multiple/multiple2.twirp.go b/internal/twirptest/multiple/multiple2.twirp.go index b1f01c48..2162d803 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 v5.5.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.5.2, DO NOT EDIT. // source: multiple2.proto package multiple @@ -486,7 +486,7 @@ func (s *svc2Server) ServiceDescriptor() ([]byte, int) { } func (s *svc2Server) ProtocGenTwirpVersion() string { - return "v5.5.0" + return "v5.5.2" } var twirpFileDescriptor1 = []byte{ diff --git a/internal/twirptest/multiple/multiple2_pb2_twirp.py b/internal/twirptest/multiple/multiple2_pb2_twirp.py index 2d7a8dcb..e6fdd3fc 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 v5.5.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.5.2, 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 afd0bb16..98906795 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 v5.5.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.5.2, 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 v5.5.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.5.2. It is generated from these files: no_package_name.proto @@ -324,7 +324,7 @@ func (s *svcServer) ServiceDescriptor() ([]byte, int) { } func (s *svcServer) ProtocGenTwirpVersion() string { - return "v5.5.0" + return "v5.5.2" } // ===== @@ -454,7 +454,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", "v5.5.0") + req.Header.Set("Twirp-Version", "v5.5.2") 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 15bd921c..eb6de789 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 v5.5.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.5.2, 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 6993fb2e..4bba3522 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 v5.5.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.5.2, 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 v5.5.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.5.2. It is generated from these files: no_package_name_importer.proto @@ -326,7 +326,7 @@ func (s *svc2Server) ServiceDescriptor() ([]byte, int) { } func (s *svc2Server) ProtocGenTwirpVersion() string { - return "v5.5.0" + return "v5.5.2" } // ===== @@ -456,7 +456,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", "v5.5.0") + req.Header.Set("Twirp-Version", "v5.5.2") 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 6eb2b400..9e2b0e60 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 v5.5.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.5.2, 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 b25c9212..2152d4a2 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 v5.5.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.5.2, 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 v5.5.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.5.2. Test to make sure that a package named proto doesn't break @@ -327,7 +327,7 @@ func (s *svcServer) ServiceDescriptor() ([]byte, int) { } func (s *svcServer) ProtocGenTwirpVersion() string { - return "v5.5.0" + return "v5.5.2" } // ===== @@ -457,7 +457,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", "v5.5.0") + req.Header.Set("Twirp-Version", "v5.5.2") return req, nil } diff --git a/internal/twirptest/proto/proto_pb2_twirp.py b/internal/twirptest/proto/proto_pb2_twirp.py index 98d7c2db..b60405b1 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 v5.5.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.5.2, DO NOT EDIT. # source: proto.proto try: diff --git a/internal/twirptest/service.twirp.go b/internal/twirptest/service.twirp.go index 922ef105..b70a670f 100644 --- a/internal/twirptest/service.twirp.go +++ b/internal/twirptest/service.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v5.5.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.5.2, 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 v5.5.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.5.2. It is generated from these files: service.proto @@ -326,7 +326,7 @@ func (s *haberdasherServer) ServiceDescriptor() ([]byte, int) { } func (s *haberdasherServer) ProtocGenTwirpVersion() string { - return "v5.5.0" + return "v5.5.2" } // ===== @@ -456,7 +456,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", "v5.5.0") + req.Header.Set("Twirp-Version", "v5.5.2") 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 5c32b996..a9f4c88c 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 v5.5.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.5.2, 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 v5.5.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.5.2. It is generated from these files: service_method_same_name.proto @@ -324,7 +324,7 @@ func (s *echoServer) ServiceDescriptor() ([]byte, int) { } func (s *echoServer) ProtocGenTwirpVersion() string { - return "v5.5.0" + return "v5.5.2" } // ===== @@ -454,7 +454,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", "v5.5.0") + req.Header.Set("Twirp-Version", "v5.5.2") 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 869906fb..014e7773 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 v5.5.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.5.2, 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 89fd6823..ba0a59a3 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 v5.5.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.5.2, 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 00864a05..c47ac0ad 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 v5.5.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.5.2, 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 v5.5.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.5.2. 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. @@ -329,7 +329,7 @@ func (s *haberdasherServer) ServiceDescriptor() ([]byte, int) { } func (s *haberdasherServer) ProtocGenTwirpVersion() string { - return "v5.5.0" + return "v5.5.2" } // ===== @@ -459,7 +459,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", "v5.5.0") + req.Header.Set("Twirp-Version", "v5.5.2") 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 4b141cd9..d77855dd 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 v5.5.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.5.2, 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 e44404d9..184e8cf2 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 v5.5.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.5.2, 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 v5.5.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.5.2. It is generated from these files: source_relative.proto @@ -324,7 +324,7 @@ func (s *svcServer) ServiceDescriptor() ([]byte, int) { } func (s *svcServer) ProtocGenTwirpVersion() string { - return "v5.5.0" + return "v5.5.2" } // ===== @@ -454,7 +454,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", "v5.5.0") + req.Header.Set("Twirp-Version", "v5.5.2") 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 630bcea5..aa7accf1 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 v5.5.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.5.2, DO NOT EDIT. # source: source_relative.proto try: