From dff337b186d4ea1ada1d1e54ef422fdbcfa3113d Mon Sep 17 00:00:00 2001 From: Spencer Nelson Date: Tue, 23 Jan 2018 16:15:43 -0800 Subject: [PATCH] Release version v5.1.0 This is the first release since v5.0.0. It includes improvements in generated APIs, typo fixes, bug fixes, and very minor performance improvements. --- 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 ++++---- 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/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 ++++---- internal/twirptest/service_pb2_twirp.py | 2 +- 22 files changed, 53 insertions(+), 53 deletions(-) diff --git a/clientcompat/internal/clientcompat/clientcompat.twirp.go b/clientcompat/internal/clientcompat/clientcompat.twirp.go index 508898f1..0a60f336 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.0.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.1.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 v5.0.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.1.0. It is generated from these files: clientcompat.proto @@ -457,7 +457,7 @@ func (s *compatServiceServer) ServiceDescriptor() ([]byte, int) { } func (s *compatServiceServer) ProtocGenTwirpVersion() string { - return "v5.0.0" + return "v5.1.0" } // ===== @@ -581,7 +581,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType req.Header = customHeader } req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v5.0.0") + req.Header.Set("Twirp-Version", "v5.1.0") return req, nil } diff --git a/clientcompat/pycompat/clientcompat_pb2_twirp.py b/clientcompat/pycompat/clientcompat_pb2_twirp.py index aafda181..be8a070f 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.0.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.1.0, DO NOT EDIT. # source: clientcompat.proto import httplib diff --git a/example/service.twirp.go b/example/service.twirp.go index 3fbfd6e5..1632d6f7 100644 --- a/example/service.twirp.go +++ b/example/service.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v5.0.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.1.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 v5.0.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.1.0. It is generated from these files: service.proto @@ -305,7 +305,7 @@ func (s *haberdasherServer) ServiceDescriptor() ([]byte, int) { } func (s *haberdasherServer) ProtocGenTwirpVersion() string { - return "v5.0.0" + return "v5.1.0" } // ===== @@ -429,7 +429,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType req.Header = customHeader } req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v5.0.0") + req.Header.Set("Twirp-Version", "v5.1.0") return req, nil } diff --git a/example/service_pb2_twirp.py b/example/service_pb2_twirp.py index e12084c1..5184fa0f 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.0.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.1.0, DO NOT EDIT. # source: service.proto import httplib diff --git a/internal/gen/version.go b/internal/gen/version.go index c0237882..12e3c50d 100644 --- a/internal/gen/version.go +++ b/internal/gen/version.go @@ -13,4 +13,4 @@ package gen -const Version = "v5.0.0" +const Version = "v5.1.0" diff --git a/internal/twirptest/gogo_compat/service.twirp.go b/internal/twirptest/gogo_compat/service.twirp.go index b9cde54e..e21f6041 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.0.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.1.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 v5.0.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.1.0. Test to make sure that Twirp plays well with code generated with github.com/gogo/protobuf/protoc-gen-gofast. @@ -307,7 +307,7 @@ func (s *svcServer) ServiceDescriptor() ([]byte, int) { } func (s *svcServer) ProtocGenTwirpVersion() string { - return "v5.0.0" + return "v5.1.0" } // ===== @@ -431,7 +431,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType req.Header = customHeader } req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v5.0.0") + req.Header.Set("Twirp-Version", "v5.1.0") return req, nil } diff --git a/internal/twirptest/importable/importable.twirp.go b/internal/twirptest/importable/importable.twirp.go index 2484f77f..5de9b734 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.0.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.1.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 v5.0.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.1.0. Test to make sure that importing other packages doesnt break @@ -306,7 +306,7 @@ func (s *svcServer) ServiceDescriptor() ([]byte, int) { } func (s *svcServer) ProtocGenTwirpVersion() string { - return "v5.0.0" + return "v5.1.0" } // ===== @@ -430,7 +430,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType req.Header = customHeader } req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v5.0.0") + req.Header.Set("Twirp-Version", "v5.1.0") return req, nil } diff --git a/internal/twirptest/importable/importable_pb2_twirp.py b/internal/twirptest/importable/importable_pb2_twirp.py index 2b99bc15..5d0badf4 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.0.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.1.0, DO NOT EDIT. # source: importable.proto import httplib diff --git a/internal/twirptest/importer/importer.twirp.go b/internal/twirptest/importer/importer.twirp.go index 9fdeb407..ea32926b 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.0.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.1.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 v5.0.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.1.0. Test to make sure that importing other packages doesnt break @@ -308,7 +308,7 @@ func (s *svc2Server) ServiceDescriptor() ([]byte, int) { } func (s *svc2Server) ProtocGenTwirpVersion() string { - return "v5.0.0" + return "v5.1.0" } // ===== @@ -432,7 +432,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType req.Header = customHeader } req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v5.0.0") + req.Header.Set("Twirp-Version", "v5.1.0") return req, nil } diff --git a/internal/twirptest/importer/importer_pb2_twirp.py b/internal/twirptest/importer/importer_pb2_twirp.py index 2b58c2f2..4b84cd8c 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.0.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.1.0, DO NOT EDIT. # source: importer.proto import httplib diff --git a/internal/twirptest/multiple/multiple1.twirp.go b/internal/twirptest/multiple/multiple1.twirp.go index bcc6a72a..eacb1ad8 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.0.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.1.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 v5.0.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.1.0. test to make sure that multiple proto files in one package works @@ -307,7 +307,7 @@ func (s *svc1Server) ServiceDescriptor() ([]byte, int) { } func (s *svc1Server) ProtocGenTwirpVersion() string { - return "v5.0.0" + return "v5.1.0" } // ===== @@ -431,7 +431,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType req.Header = customHeader } req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v5.0.0") + req.Header.Set("Twirp-Version", "v5.1.0") return req, nil } diff --git a/internal/twirptest/multiple/multiple1_pb2_twirp.py b/internal/twirptest/multiple/multiple1_pb2_twirp.py index 12a81451..56b56784 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.0.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.1.0, DO NOT EDIT. # source: multiple1.proto import httplib diff --git a/internal/twirptest/multiple/multiple2.twirp.go b/internal/twirptest/multiple/multiple2.twirp.go index 66ee7e3e..778526c5 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.0.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.1.0, DO NOT EDIT. // source: multiple2.proto package multiple @@ -444,7 +444,7 @@ func (s *svc2Server) ServiceDescriptor() ([]byte, int) { } func (s *svc2Server) ProtocGenTwirpVersion() string { - return "v5.0.0" + return "v5.1.0" } var twirpFileDescriptor1 = []byte{ diff --git a/internal/twirptest/multiple/multiple2_pb2_twirp.py b/internal/twirptest/multiple/multiple2_pb2_twirp.py index 4aaf9930..0eb8ac53 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.0.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.1.0, DO NOT EDIT. # source: multiple2.proto import httplib 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 4b70f603..3f67d330 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.0.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.1.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 v5.0.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.1.0. It is generated from these files: no_package_name.proto @@ -303,7 +303,7 @@ func (s *svcServer) ServiceDescriptor() ([]byte, int) { } func (s *svcServer) ProtocGenTwirpVersion() string { - return "v5.0.0" + return "v5.1.0" } // ===== @@ -427,7 +427,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType req.Header = customHeader } req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v5.0.0") + req.Header.Set("Twirp-Version", "v5.1.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 69c2aa3b..51017a6f 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.0.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.1.0, DO NOT EDIT. # source: no_package_name.proto import httplib 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 347bf52e..b088b36e 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.0.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.1.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 v5.0.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.1.0. It is generated from these files: no_package_name_importer.proto @@ -305,7 +305,7 @@ func (s *svc2Server) ServiceDescriptor() ([]byte, int) { } func (s *svc2Server) ProtocGenTwirpVersion() string { - return "v5.0.0" + return "v5.1.0" } // ===== @@ -429,7 +429,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType req.Header = customHeader } req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v5.0.0") + req.Header.Set("Twirp-Version", "v5.1.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 7f210991..72be43b8 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.0.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.1.0, DO NOT EDIT. # source: no_package_name_importer.proto import httplib diff --git a/internal/twirptest/proto/proto.twirp.go b/internal/twirptest/proto/proto.twirp.go index b60e29d6..9045a97b 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.0.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.1.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 v5.0.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.1.0. Test to make sure that a package named proto doesn't break @@ -306,7 +306,7 @@ func (s *svcServer) ServiceDescriptor() ([]byte, int) { } func (s *svcServer) ProtocGenTwirpVersion() string { - return "v5.0.0" + return "v5.1.0" } // ===== @@ -430,7 +430,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType req.Header = customHeader } req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v5.0.0") + req.Header.Set("Twirp-Version", "v5.1.0") return req, nil } diff --git a/internal/twirptest/proto/proto_pb2_twirp.py b/internal/twirptest/proto/proto_pb2_twirp.py index 287324b3..75159f73 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.0.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.1.0, DO NOT EDIT. # source: proto.proto import httplib diff --git a/internal/twirptest/service.twirp.go b/internal/twirptest/service.twirp.go index 455daaa5..86803d28 100644 --- a/internal/twirptest/service.twirp.go +++ b/internal/twirptest/service.twirp.go @@ -1,9 +1,9 @@ -// Code generated by protoc-gen-twirp v5.0.0, DO NOT EDIT. +// Code generated by protoc-gen-twirp v5.1.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 v5.0.0. +This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v5.1.0. It is generated from these files: service.proto @@ -305,7 +305,7 @@ func (s *haberdasherServer) ServiceDescriptor() ([]byte, int) { } func (s *haberdasherServer) ProtocGenTwirpVersion() string { - return "v5.0.0" + return "v5.1.0" } // ===== @@ -429,7 +429,7 @@ func newRequest(ctx context.Context, url string, reqBody io.Reader, contentType req.Header = customHeader } req.Header.Set("Content-Type", contentType) - req.Header.Set("Twirp-Version", "v5.0.0") + req.Header.Set("Twirp-Version", "v5.1.0") return req, nil } diff --git a/internal/twirptest/service_pb2_twirp.py b/internal/twirptest/service_pb2_twirp.py index 5d5939fe..af79b73e 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.0.0, DO NOT EDIT. +# Code generated by protoc-gen-twirp_python v5.1.0, DO NOT EDIT. # source: service.proto import httplib