From 70ec0313f386ebc049de85621082064c6ae44fa2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 26 May 2024 23:40:53 +0000 Subject: [PATCH 01/10] chore(deps): bump golang.org/x/net in the dependencies group Bumps the dependencies group with 1 update: [golang.org/x/net](https://github.com/golang/net). Updates `golang.org/x/net` from 0.24.0 to 0.25.0 - [Commits](https://github.com/golang/net/compare/v0.24.0...v0.25.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] --- go.mod | 6 +++--- go.sum | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/go.mod b/go.mod index b1de0ac..4c76d65 100644 --- a/go.mod +++ b/go.mod @@ -14,7 +14,7 @@ require ( github.com/k1LoW/protoresolv v0.1.0 github.com/minio/pkg v1.7.5 github.com/tenntenn/golden v0.5.4 - golang.org/x/net v0.24.0 + golang.org/x/net v0.25.0 google.golang.org/grpc v1.64.0 google.golang.org/protobuf v1.34.1 ) @@ -23,8 +23,8 @@ require ( github.com/josharian/mapfs v0.0.0-20210615234106-095c008854e6 // indirect github.com/josharian/txtarfs v0.0.0-20210615234325-77aca6df5bca // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.19.0 // indirect - golang.org/x/text v0.14.0 // indirect + golang.org/x/sys v0.20.0 // indirect + golang.org/x/text v0.15.0 // indirect golang.org/x/tools v0.20.0 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/go.sum b/go.sum index 4562645..478b5c7 100644 --- a/go.sum +++ b/go.sum @@ -44,8 +44,8 @@ golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w= -golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8= +golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= +golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= @@ -54,12 +54,12 @@ golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o= -golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= +golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= +golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= From e57663819d774033a84ff93ebee31fc14cded8ae Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 9 Jun 2024 23:53:53 +0000 Subject: [PATCH 02/10] chore(deps): bump the dependencies group with 3 updates Bumps the dependencies group with 3 updates: [github.com/bufbuild/protocompile](https://github.com/bufbuild/protocompile), [golang.org/x/net](https://github.com/golang/net) and google.golang.org/protobuf. Updates `github.com/bufbuild/protocompile` from 0.13.0 to 0.14.0 - [Release notes](https://github.com/bufbuild/protocompile/releases) - [Commits](https://github.com/bufbuild/protocompile/compare/v0.13.0...v0.14.0) Updates `golang.org/x/net` from 0.25.0 to 0.26.0 - [Commits](https://github.com/golang/net/compare/v0.25.0...v0.26.0) Updates `google.golang.org/protobuf` from 1.34.1 to 1.34.2-0.20240529085009-ca837e5c658b --- updated-dependencies: - dependency-name: github.com/bufbuild/protocompile dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: golang.org/x/net dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: google.golang.org/protobuf dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] --- go.mod | 12 ++++++------ go.sum | 23 ++++++++++++----------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/go.mod b/go.mod index 4c76d65..3ced2c9 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.1-20240508200655-46a4cf4ba109.1 connectrpc.com/connect v1.16.2 github.com/bmatcuk/doublestar/v4 v4.6.1 - github.com/bufbuild/protocompile v0.13.0 + github.com/bufbuild/protocompile v0.14.0 github.com/google/go-cmp v0.6.0 github.com/jaswdr/faker v1.19.1 github.com/jhump/protoreflect/v2 v2.0.0-20230705224148-00680b949112 @@ -14,18 +14,18 @@ require ( github.com/k1LoW/protoresolv v0.1.0 github.com/minio/pkg v1.7.5 github.com/tenntenn/golden v0.5.4 - golang.org/x/net v0.25.0 + golang.org/x/net v0.26.0 google.golang.org/grpc v1.64.0 - google.golang.org/protobuf v1.34.1 + google.golang.org/protobuf v1.34.2-0.20240529085009-ca837e5c658b ) require ( github.com/josharian/mapfs v0.0.0-20210615234106-095c008854e6 // indirect github.com/josharian/txtarfs v0.0.0-20210615234325-77aca6df5bca // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.20.0 // indirect - golang.org/x/text v0.15.0 // indirect - golang.org/x/tools v0.20.0 // indirect + golang.org/x/sys v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect + golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index 478b5c7..78a7f88 100644 --- a/go.sum +++ b/go.sum @@ -4,8 +4,8 @@ connectrpc.com/connect v1.16.2 h1:ybd6y+ls7GOlb7Bh5C8+ghA6SvCBajHwxssO2CGFjqE= connectrpc.com/connect v1.16.2/go.mod h1:n2kgwskMHXC+lVqb18wngEpF95ldBHXjZYJussz5FRc= github.com/bmatcuk/doublestar/v4 v4.6.1 h1:FH9SifrbvJhnlQpztAx++wlkk70QBf0iBWDwNy7PA4I= github.com/bmatcuk/doublestar/v4 v4.6.1/go.mod h1:xBQ8jztBU6kakFMg+8WGxn0c6z1fTSPVIjEY1Wr7jzc= -github.com/bufbuild/protocompile v0.13.0 h1:6cwUB0Y2tSvmNxsbunwzmIto3xOlJOV7ALALuVOs92M= -github.com/bufbuild/protocompile v0.13.0/go.mod h1:dr++fGGeMPWHv7jPeT06ZKukm45NJscd7rUxQVzEKRk= +github.com/bufbuild/protocompile v0.14.0 h1:z3DW4IvXE5G/uTOnSQn+qwQQxvhckkTWLS/0No/o7KU= +github.com/bufbuild/protocompile v0.14.0/go.mod h1:N6J1NYzkspJo3ZwyL4Xjvli86XOj1xq4qAasUFxGups= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= @@ -44,8 +44,8 @@ golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= +golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= @@ -54,17 +54,17 @@ golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= +golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= -golang.org/x/tools v0.20.0 h1:hz/CVckiOxybQvFw6h7b/q80NTr9IUQb4s1IIzW7KNY= -golang.org/x/tools v0.20.0/go.mod h1:WvitBU7JJf6A4jOdg4S1tviW9bhUxkgeCui/0JHctQg= +golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg= +golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -74,8 +74,9 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be/go. google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY= google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg= google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.2-0.20240529085009-ca837e5c658b h1:lkoSgiT5AF1nbA/WLFPX1H0fvBiNGQekpG17/3aIsck= +google.golang.org/protobuf v1.34.2-0.20240529085009-ca837e5c658b/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= From ad208e6132bf3fc5a804da37a2c515750956c26c Mon Sep 17 00:00:00 2001 From: k1LoW Date: Mon, 17 Jun 2024 09:49:07 +0900 Subject: [PATCH 03/10] Update --- go.mod | 6 +++--- go.sum | 6 ++++++ grpcstub.go | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 3ced2c9..95d63a4 100644 --- a/go.mod +++ b/go.mod @@ -10,13 +10,13 @@ require ( github.com/google/go-cmp v0.6.0 github.com/jaswdr/faker v1.19.1 github.com/jhump/protoreflect/v2 v2.0.0-20230705224148-00680b949112 - github.com/k1LoW/bufresolv v0.6.3 + github.com/k1LoW/bufresolv v0.6.4 github.com/k1LoW/protoresolv v0.1.0 github.com/minio/pkg v1.7.5 github.com/tenntenn/golden v0.5.4 golang.org/x/net v0.26.0 google.golang.org/grpc v1.64.0 - google.golang.org/protobuf v1.34.2-0.20240529085009-ca837e5c658b + google.golang.org/protobuf v1.34.2 ) require ( @@ -26,6 +26,6 @@ require ( golang.org/x/sys v0.21.0 // indirect golang.org/x/text v0.16.0 // indirect golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240610135401-a8a62080eff3 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index 78a7f88..7e57a07 100644 --- a/go.sum +++ b/go.sum @@ -22,6 +22,8 @@ github.com/josharian/txtarfs v0.0.0-20210615234325-77aca6df5bca h1:a8xeK4GsWLE4L github.com/josharian/txtarfs v0.0.0-20210615234325-77aca6df5bca/go.mod h1:UbC32ft9G/jG+sZI8wLbIBNIrYr7vp/yqMDa9SxVBNA= github.com/k1LoW/bufresolv v0.6.3 h1:q8Ds9t8qZJb5/VW9Vnvtgd0/74YYYcsM8Ao+50kb9NI= github.com/k1LoW/bufresolv v0.6.3/go.mod h1:urty3DXACF9PENrq7UhlB/mddN5UemglUIW6/cQqz2c= +github.com/k1LoW/bufresolv v0.6.4 h1:BVwawUcEOxblY5L+MjPGrRGKzPGDeVsl5aA3aGbfWjw= +github.com/k1LoW/bufresolv v0.6.4/go.mod h1:Yk6iGiriKUegLrl7/4xfrzSVRDdKg9y9D6M0xHQ1xyI= github.com/k1LoW/protoresolv v0.1.0 h1:5Or1g0EB8o6VSJSxUk8WEVoYZFzGQQMlkk8ezb8/mdA= github.com/k1LoW/protoresolv v0.1.0/go.mod h1:J3RVl3l/fNgwEYEhwTsCCwxXYsvTIAYU69jUXFQHEbQ= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= @@ -71,12 +73,16 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be h1:LG9vZxsWGOmUKieR8wPAUR3u3MpnYFQZROPIMaXh7/A= google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240610135401-a8a62080eff3 h1:9Xyg6I9IWQZhRVfCWjKK+l6kI0jHcPesVlMnT//aHNo= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240610135401-a8a62080eff3/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0= google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY= google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= google.golang.org/protobuf v1.34.2-0.20240529085009-ca837e5c658b h1:lkoSgiT5AF1nbA/WLFPX1H0fvBiNGQekpG17/3aIsck= google.golang.org/protobuf v1.34.2-0.20240529085009-ca837e5c658b/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= +google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= +google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/grpcstub.go b/grpcstub.go index 44db463..ffe309a 100644 --- a/grpcstub.go +++ b/grpcstub.go @@ -275,7 +275,7 @@ func (s *Server) Conn() *grpc.ClientConn { } creds = credentials.NewTLS(s.tlsc) } - conn, err := grpc.Dial( + conn, err := grpc.Dial( //nolint:staticcheck s.listener.Addr().String(), grpc.WithTransportCredentials(creds), ) From a1dad0b0c68efb3eec8982c19f13196aa9fd6d8e Mon Sep 17 00:00:00 2001 From: k1LoW Date: Mon, 17 Jun 2024 10:21:44 +0900 Subject: [PATCH 04/10] Fix CI --- .github/workflows/ci.yml | 3 ++ Makefile | 6 +++- .../bsr/protobuf/gen/go/pinger/pinger.pb.go | 8 ++--- .../protobuf/gen/go/pinger/pinger_grpc.pb.go | 9 ++--- testdata/hello/hello.pb.go | 14 ++++---- testdata/hello/hello_grpc.pb.go | 12 ++++--- testdata/routeguide/route_guide.pb.go | 14 ++++---- testdata/routeguide/route_guide_grpc.pb.go | 34 ++++++++++++------- 8 files changed, 59 insertions(+), 41 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1614e37..f451799 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,9 @@ jobs: with: go-version-file: go.mod + - name: Setup + run: make testclient + - name: Run lint uses: reviewdog/action-golangci-lint@v2 with: diff --git a/Makefile b/Makefile index bc3c703..bbdd217 100644 --- a/Makefile +++ b/Makefile @@ -12,8 +12,12 @@ depsdev: go install github.com/Songmu/ghch/cmd/ghch@latest go install github.com/Songmu/gocredits/cmd/gocredits@latest go install github.com/securego/gosec/v2/cmd/gosec@latest + go install github.com/bufbuild/buf/cmd/buf@latest + go install google.golang.org/protobuf/cmd/protoc-gen-go@latest + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest + go install connectrpc.com/connect/cmd/protoc-gen-connect-go@latest -testclient: +testclient: depsdev mkdir -p testdata/routeguide mkdir -p testdata/hello cd testdata/ && protoc --go_out=routeguide --go_opt=paths=source_relative --go-grpc_out=routeguide --go-grpc_opt=paths=source_relative route_guide.proto diff --git a/testdata/bsr/protobuf/gen/go/pinger/pinger.pb.go b/testdata/bsr/protobuf/gen/go/pinger/pinger.pb.go index 5f9df85..733efd1 100644 --- a/testdata/bsr/protobuf/gen/go/pinger/pinger.pb.go +++ b/testdata/bsr/protobuf/gen/go/pinger/pinger.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: pinger/pinger.proto @@ -157,7 +157,7 @@ func file_pinger_pinger_proto_rawDescGZIP() []byte { } var file_pinger_pinger_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_pinger_pinger_proto_goTypes = []interface{}{ +var file_pinger_pinger_proto_goTypes = []any{ (*PingRequest)(nil), // 0: pinger.PingRequest (*PingResponse)(nil), // 1: pinger.PingResponse } @@ -177,7 +177,7 @@ func file_pinger_pinger_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_pinger_pinger_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_pinger_pinger_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*PingRequest); i { case 0: return &v.state @@ -189,7 +189,7 @@ func file_pinger_pinger_proto_init() { return nil } } - file_pinger_pinger_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_pinger_pinger_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*PingResponse); i { case 0: return &v.state diff --git a/testdata/bsr/protobuf/gen/go/pinger/pinger_grpc.pb.go b/testdata/bsr/protobuf/gen/go/pinger/pinger_grpc.pb.go index 6ad7d12..4b58329 100644 --- a/testdata/bsr/protobuf/gen/go/pinger/pinger_grpc.pb.go +++ b/testdata/bsr/protobuf/gen/go/pinger/pinger_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc (unknown) // source: pinger/pinger.proto @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( PingerService_Ping_FullMethodName = "/pinger.PingerService/Ping" @@ -38,8 +38,9 @@ func NewPingerServiceClient(cc grpc.ClientConnInterface) PingerServiceClient { } func (c *pingerServiceClient) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(PingResponse) - err := c.cc.Invoke(ctx, PingerService_Ping_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, PingerService_Ping_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } diff --git a/testdata/hello/hello.pb.go b/testdata/hello/hello.pb.go index 19f126a..042d0fc 100644 --- a/testdata/hello/hello.pb.go +++ b/testdata/hello/hello.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.34.2 // protoc v4.25.3 // source: hello.proto @@ -315,7 +315,7 @@ func file_hello_proto_rawDescGZIP() []byte { } var file_hello_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_hello_proto_goTypes = []interface{}{ +var file_hello_proto_goTypes = []any{ (*HelloRequest)(nil), // 0: hello.HelloRequest (*HelloResponse)(nil), // 1: hello.HelloResponse (*HelloFieldsRequest)(nil), // 2: hello.HelloFieldsRequest @@ -342,7 +342,7 @@ func file_hello_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_hello_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_hello_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*HelloRequest); i { case 0: return &v.state @@ -354,7 +354,7 @@ func file_hello_proto_init() { return nil } } - file_hello_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_hello_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*HelloResponse); i { case 0: return &v.state @@ -366,7 +366,7 @@ func file_hello_proto_init() { return nil } } - file_hello_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_hello_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*HelloFieldsRequest); i { case 0: return &v.state @@ -378,7 +378,7 @@ func file_hello_proto_init() { return nil } } - file_hello_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_hello_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*HelloFieldsResponse); i { case 0: return &v.state @@ -391,7 +391,7 @@ func file_hello_proto_init() { } } } - file_hello_proto_msgTypes[1].OneofWrappers = []interface{}{} + file_hello_proto_msgTypes[1].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/testdata/hello/hello_grpc.pb.go b/testdata/hello/hello_grpc.pb.go index ad0b388..ffcd747 100644 --- a/testdata/hello/hello_grpc.pb.go +++ b/testdata/hello/hello_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc v4.25.3 // source: hello.proto @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( GrpcTestService_Hello_FullMethodName = "/hello.GrpcTestService/Hello" @@ -40,8 +40,9 @@ func NewGrpcTestServiceClient(cc grpc.ClientConnInterface) GrpcTestServiceClient } func (c *grpcTestServiceClient) Hello(ctx context.Context, in *HelloRequest, opts ...grpc.CallOption) (*HelloResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(HelloResponse) - err := c.cc.Invoke(ctx, GrpcTestService_Hello_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, GrpcTestService_Hello_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -49,8 +50,9 @@ func (c *grpcTestServiceClient) Hello(ctx context.Context, in *HelloRequest, opt } func (c *grpcTestServiceClient) HelloFields(ctx context.Context, in *HelloFieldsRequest, opts ...grpc.CallOption) (*HelloFieldsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(HelloFieldsResponse) - err := c.cc.Invoke(ctx, GrpcTestService_HelloFields_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, GrpcTestService_HelloFields_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } diff --git a/testdata/routeguide/route_guide.pb.go b/testdata/routeguide/route_guide.pb.go index 4eb5138..277809c 100644 --- a/testdata/routeguide/route_guide.pb.go +++ b/testdata/routeguide/route_guide.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.34.2 // protoc v4.25.3 // source: route_guide.proto @@ -423,7 +423,7 @@ func file_route_guide_proto_rawDescGZIP() []byte { } var file_route_guide_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_route_guide_proto_goTypes = []interface{}{ +var file_route_guide_proto_goTypes = []any{ (*Point)(nil), // 0: routeguide.Point (*Rectangle)(nil), // 1: routeguide.Rectangle (*Feature)(nil), // 2: routeguide.Feature @@ -456,7 +456,7 @@ func file_route_guide_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_route_guide_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_route_guide_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Point); i { case 0: return &v.state @@ -468,7 +468,7 @@ func file_route_guide_proto_init() { return nil } } - file_route_guide_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_route_guide_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*Rectangle); i { case 0: return &v.state @@ -480,7 +480,7 @@ func file_route_guide_proto_init() { return nil } } - file_route_guide_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_route_guide_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*Feature); i { case 0: return &v.state @@ -492,7 +492,7 @@ func file_route_guide_proto_init() { return nil } } - file_route_guide_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_route_guide_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*RouteNote); i { case 0: return &v.state @@ -504,7 +504,7 @@ func file_route_guide_proto_init() { return nil } } - file_route_guide_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_route_guide_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*RouteSummary); i { case 0: return &v.state diff --git a/testdata/routeguide/route_guide_grpc.pb.go b/testdata/routeguide/route_guide_grpc.pb.go index d530eba..b4e0b22 100644 --- a/testdata/routeguide/route_guide_grpc.pb.go +++ b/testdata/routeguide/route_guide_grpc.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.4.0 // - protoc v4.25.3 // source: route_guide.proto @@ -29,8 +29,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.62.0 or later. +const _ = grpc.SupportPackageIsVersion8 const ( RouteGuide_GetFeature_FullMethodName = "/routeguide.RouteGuide/GetFeature" @@ -42,6 +42,8 @@ const ( // RouteGuideClient is the client API for RouteGuide service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +// +// Interface exported by the server. type RouteGuideClient interface { // A simple RPC. // @@ -78,8 +80,9 @@ func NewRouteGuideClient(cc grpc.ClientConnInterface) RouteGuideClient { } func (c *routeGuideClient) GetFeature(ctx context.Context, in *Point, opts ...grpc.CallOption) (*Feature, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(Feature) - err := c.cc.Invoke(ctx, RouteGuide_GetFeature_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, RouteGuide_GetFeature_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -87,11 +90,12 @@ func (c *routeGuideClient) GetFeature(ctx context.Context, in *Point, opts ...gr } func (c *routeGuideClient) ListFeatures(ctx context.Context, in *Rectangle, opts ...grpc.CallOption) (RouteGuide_ListFeaturesClient, error) { - stream, err := c.cc.NewStream(ctx, &RouteGuide_ServiceDesc.Streams[0], RouteGuide_ListFeatures_FullMethodName, opts...) + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &RouteGuide_ServiceDesc.Streams[0], RouteGuide_ListFeatures_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &routeGuideListFeaturesClient{stream} + x := &routeGuideListFeaturesClient{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -119,11 +123,12 @@ func (x *routeGuideListFeaturesClient) Recv() (*Feature, error) { } func (c *routeGuideClient) RecordRoute(ctx context.Context, opts ...grpc.CallOption) (RouteGuide_RecordRouteClient, error) { - stream, err := c.cc.NewStream(ctx, &RouteGuide_ServiceDesc.Streams[1], RouteGuide_RecordRoute_FullMethodName, opts...) + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &RouteGuide_ServiceDesc.Streams[1], RouteGuide_RecordRoute_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &routeGuideRecordRouteClient{stream} + x := &routeGuideRecordRouteClient{ClientStream: stream} return x, nil } @@ -153,11 +158,12 @@ func (x *routeGuideRecordRouteClient) CloseAndRecv() (*RouteSummary, error) { } func (c *routeGuideClient) RouteChat(ctx context.Context, opts ...grpc.CallOption) (RouteGuide_RouteChatClient, error) { - stream, err := c.cc.NewStream(ctx, &RouteGuide_ServiceDesc.Streams[2], RouteGuide_RouteChat_FullMethodName, opts...) + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &RouteGuide_ServiceDesc.Streams[2], RouteGuide_RouteChat_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &routeGuideRouteChatClient{stream} + x := &routeGuideRouteChatClient{ClientStream: stream} return x, nil } @@ -186,6 +192,8 @@ func (x *routeGuideRouteChatClient) Recv() (*RouteNote, error) { // RouteGuideServer is the server API for RouteGuide service. // All implementations must embed UnimplementedRouteGuideServer // for forward compatibility +// +// Interface exported by the server. type RouteGuideServer interface { // A simple RPC. // @@ -266,7 +274,7 @@ func _RouteGuide_ListFeatures_Handler(srv interface{}, stream grpc.ServerStream) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(RouteGuideServer).ListFeatures(m, &routeGuideListFeaturesServer{stream}) + return srv.(RouteGuideServer).ListFeatures(m, &routeGuideListFeaturesServer{ServerStream: stream}) } type RouteGuide_ListFeaturesServer interface { @@ -283,7 +291,7 @@ func (x *routeGuideListFeaturesServer) Send(m *Feature) error { } func _RouteGuide_RecordRoute_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(RouteGuideServer).RecordRoute(&routeGuideRecordRouteServer{stream}) + return srv.(RouteGuideServer).RecordRoute(&routeGuideRecordRouteServer{ServerStream: stream}) } type RouteGuide_RecordRouteServer interface { @@ -309,7 +317,7 @@ func (x *routeGuideRecordRouteServer) Recv() (*Point, error) { } func _RouteGuide_RouteChat_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(RouteGuideServer).RouteChat(&routeGuideRouteChatServer{stream}) + return srv.(RouteGuideServer).RouteChat(&routeGuideRouteChatServer{ServerStream: stream}) } type RouteGuide_RouteChatServer interface { From 40a0f89194bc8657e07db75f518d6d1e5f7ce176 Mon Sep 17 00:00:00 2001 From: k1LoW Date: Mon, 17 Jun 2024 10:24:06 +0900 Subject: [PATCH 05/10] Setup protoc --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f451799..e15d059 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,9 @@ jobs: with: go-version-file: go.mod + - name: Install Protoc + uses: arduino/setup-protoc@v3 + - name: Setup run: make testclient From 91cff732a97a7476e320787fc0f7f617a0983895 Mon Sep 17 00:00:00 2001 From: k1LoW Date: Mon, 17 Jun 2024 10:45:47 +0900 Subject: [PATCH 06/10] Add deps --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index bbdd217..eace706 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,7 @@ depsdev: go install google.golang.org/protobuf/cmd/protoc-gen-go@latest go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest go install connectrpc.com/connect/cmd/protoc-gen-connect-go@latest + go get buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate/priv testclient: depsdev mkdir -p testdata/routeguide From 3b8f53d22919d3c46e3e9e6d7679425f51f006fd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 01:53:14 +0000 Subject: [PATCH 07/10] chore(deps): bump the dependencies group across 1 directory with 3 updates --- updated-dependencies: - dependency-name: buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: github.com/k1LoW/bufresolv dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: github.com/k1LoW/protoresolv dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] --- go.mod | 6 +++--- go.sum | 19 ++++++------------- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/go.mod b/go.mod index 95d63a4..d1fc619 100644 --- a/go.mod +++ b/go.mod @@ -3,15 +3,15 @@ module github.com/k1LoW/grpcstub go 1.22.2 require ( - buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.1-20240508200655-46a4cf4ba109.1 + buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.2-20240508200655-46a4cf4ba109.1 connectrpc.com/connect v1.16.2 github.com/bmatcuk/doublestar/v4 v4.6.1 github.com/bufbuild/protocompile v0.14.0 github.com/google/go-cmp v0.6.0 github.com/jaswdr/faker v1.19.1 github.com/jhump/protoreflect/v2 v2.0.0-20230705224148-00680b949112 - github.com/k1LoW/bufresolv v0.6.4 - github.com/k1LoW/protoresolv v0.1.0 + github.com/k1LoW/bufresolv v0.6.5 + github.com/k1LoW/protoresolv v0.1.1 github.com/minio/pkg v1.7.5 github.com/tenntenn/golden v0.5.4 golang.org/x/net v0.26.0 diff --git a/go.sum b/go.sum index 7e57a07..eeec8dd 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.1-20240508200655-46a4cf4ba109.1 h1:LEXWFH/xZ5oOWrC3oOtHbUyBdzRWMCPpAQmKC9v05mA= -buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.1-20240508200655-46a4cf4ba109.1/go.mod h1:XF+P8+RmfdufmIYpGUC+6bF7S+IlmHDEnCrO3OXaUAQ= +buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.2-20240508200655-46a4cf4ba109.1 h1:xbwNwISDF8gf8tzfmbHo30qDZkGicqSogMr/pFnGo8w= +buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.2-20240508200655-46a4cf4ba109.1/go.mod h1:a87Nh5Qswng4UfQGPJccT/tMGkP3MAdB7PMiNuE87KQ= connectrpc.com/connect v1.16.2 h1:ybd6y+ls7GOlb7Bh5C8+ghA6SvCBajHwxssO2CGFjqE= connectrpc.com/connect v1.16.2/go.mod h1:n2kgwskMHXC+lVqb18wngEpF95ldBHXjZYJussz5FRc= github.com/bmatcuk/doublestar/v4 v4.6.1 h1:FH9SifrbvJhnlQpztAx++wlkk70QBf0iBWDwNy7PA4I= @@ -20,12 +20,10 @@ github.com/josharian/mapfs v0.0.0-20210615234106-095c008854e6 h1:c+ctPFdISggaSNC github.com/josharian/mapfs v0.0.0-20210615234106-095c008854e6/go.mod h1:Rv/momJI8DgrWnBZip+SgagpcgORIZQE5SERlxNb8LY= github.com/josharian/txtarfs v0.0.0-20210615234325-77aca6df5bca h1:a8xeK4GsWLE4LYo5VI4u1Cn7ZvT1NtXouXR3DdKLB8Q= github.com/josharian/txtarfs v0.0.0-20210615234325-77aca6df5bca/go.mod h1:UbC32ft9G/jG+sZI8wLbIBNIrYr7vp/yqMDa9SxVBNA= -github.com/k1LoW/bufresolv v0.6.3 h1:q8Ds9t8qZJb5/VW9Vnvtgd0/74YYYcsM8Ao+50kb9NI= -github.com/k1LoW/bufresolv v0.6.3/go.mod h1:urty3DXACF9PENrq7UhlB/mddN5UemglUIW6/cQqz2c= -github.com/k1LoW/bufresolv v0.6.4 h1:BVwawUcEOxblY5L+MjPGrRGKzPGDeVsl5aA3aGbfWjw= -github.com/k1LoW/bufresolv v0.6.4/go.mod h1:Yk6iGiriKUegLrl7/4xfrzSVRDdKg9y9D6M0xHQ1xyI= -github.com/k1LoW/protoresolv v0.1.0 h1:5Or1g0EB8o6VSJSxUk8WEVoYZFzGQQMlkk8ezb8/mdA= -github.com/k1LoW/protoresolv v0.1.0/go.mod h1:J3RVl3l/fNgwEYEhwTsCCwxXYsvTIAYU69jUXFQHEbQ= +github.com/k1LoW/bufresolv v0.6.5 h1:TfQXGUaPQH5mJXvsPzDU64q5yPolbkgHOjHmp/aht6M= +github.com/k1LoW/bufresolv v0.6.5/go.mod h1:YAD7UyqFU2+hyrUot6HZtVCD2Hjk7PkO62id7GjCdn4= +github.com/k1LoW/protoresolv v0.1.1 h1:3Q5Sl4bOGyXy9etMZJraF60XqPQBqodFMfGoqBEBwYE= +github.com/k1LoW/protoresolv v0.1.1/go.mod h1:eVklYuDOPjSNzmbHZiNmXwmXX4OHqscY0MduCGQbSK0= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/minio/pkg v1.7.5 h1:UOUJjewE5zoaDPlCMJtNx/swc1jT1ZR+IajT7hrLd44= @@ -71,16 +69,11 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be h1:LG9vZxsWGOmUKieR8wPAUR3u3MpnYFQZROPIMaXh7/A= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY= google.golang.org/genproto/googleapis/rpc v0.0.0-20240610135401-a8a62080eff3 h1:9Xyg6I9IWQZhRVfCWjKK+l6kI0jHcPesVlMnT//aHNo= google.golang.org/genproto/googleapis/rpc v0.0.0-20240610135401-a8a62080eff3/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0= google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY= google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= -google.golang.org/protobuf v1.34.2-0.20240529085009-ca837e5c658b h1:lkoSgiT5AF1nbA/WLFPX1H0fvBiNGQekpG17/3aIsck= -google.golang.org/protobuf v1.34.2-0.20240529085009-ca837e5c658b/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= From 1e033f22e18f2f8d69ed46b94366c08330b99c22 Mon Sep 17 00:00:00 2001 From: k1LoW Date: Mon, 17 Jun 2024 10:59:04 +0900 Subject: [PATCH 08/10] update --- go.mod | 2 +- go.sum | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index d1fc619..60819c9 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/k1LoW/grpcstub go 1.22.2 require ( - buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.2-20240508200655-46a4cf4ba109.1 + buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.2-20240508200655-46a4cf4ba109.2 connectrpc.com/connect v1.16.2 github.com/bmatcuk/doublestar/v4 v4.6.1 github.com/bufbuild/protocompile v0.14.0 diff --git a/go.sum b/go.sum index eeec8dd..297517b 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.2-20240508200655-46a4cf4ba109.1 h1:xbwNwISDF8gf8tzfmbHo30qDZkGicqSogMr/pFnGo8w= -buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.2-20240508200655-46a4cf4ba109.1/go.mod h1:a87Nh5Qswng4UfQGPJccT/tMGkP3MAdB7PMiNuE87KQ= +buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.2-20240508200655-46a4cf4ba109.2 h1:cFrEG/pJch6t62+jqndcPXeTNkYcztS4tBRgNkR+drw= +buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.2-20240508200655-46a4cf4ba109.2/go.mod h1:ylS4c28ACSI59oJrOdW4pHS4n0Hw4TgSPHn8rpHl4Yw= connectrpc.com/connect v1.16.2 h1:ybd6y+ls7GOlb7Bh5C8+ghA6SvCBajHwxssO2CGFjqE= connectrpc.com/connect v1.16.2/go.mod h1:n2kgwskMHXC+lVqb18wngEpF95ldBHXjZYJussz5FRc= github.com/bmatcuk/doublestar/v4 v4.6.1 h1:FH9SifrbvJhnlQpztAx++wlkk70QBf0iBWDwNy7PA4I= @@ -8,8 +8,6 @@ github.com/bufbuild/protocompile v0.14.0 h1:z3DW4IvXE5G/uTOnSQn+qwQQxvhckkTWLS/0 github.com/bufbuild/protocompile v0.14.0/go.mod h1:N6J1NYzkspJo3ZwyL4Xjvli86XOj1xq4qAasUFxGups= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jaswdr/faker v1.19.1 h1:xBoz8/O6r0QAR8eEvKJZMdofxiRH+F0M/7MU9eNKhsM= @@ -67,13 +65,11 @@ golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJ golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/genproto/googleapis/rpc v0.0.0-20240610135401-a8a62080eff3 h1:9Xyg6I9IWQZhRVfCWjKK+l6kI0jHcPesVlMnT//aHNo= google.golang.org/genproto/googleapis/rpc v0.0.0-20240610135401-a8a62080eff3/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0= google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY= google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= From 1e1199a22e70721947a50b9d5e2f6350b7340aa2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 17 Jun 2024 02:00:30 +0000 Subject: [PATCH 09/10] [tagpr] prepare for the next release From 2e04f42ea5bfb9d11116fc23446080389069d1bf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 17 Jun 2024 02:00:30 +0000 Subject: [PATCH 10/10] [tagpr] update CHANGELOG.md --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7077468..a00478a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [v0.22.3](https://github.com/k1LoW/grpcstub/compare/v0.22.2...v0.22.3) - 2024-06-17 +### Other Changes +- chore(deps): bump golang.org/x/net from 0.24.0 to 0.25.0 in the dependencies group by @dependabot in https://github.com/k1LoW/grpcstub/pull/96 +- chore(deps): bump the dependencies group with 3 updates by @dependabot in https://github.com/k1LoW/grpcstub/pull/98 +- chore(deps): bump the dependencies group across 1 directory with 3 updates by @dependabot in https://github.com/k1LoW/grpcstub/pull/101 + ## [v0.22.2](https://github.com/k1LoW/grpcstub/compare/v0.22.1...v0.22.2) - 2024-05-20 ### Other Changes - chore(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 in the dependencies group by @dependabot in https://github.com/k1LoW/grpcstub/pull/93