diff --git a/cmd/kratos/version.go b/cmd/kratos/version.go index c18e31daf..fd88039d2 100644 --- a/cmd/kratos/version.go +++ b/cmd/kratos/version.go @@ -1,4 +1,4 @@ package main // release is the current kratos tool version. -const release = "v2.1.5" +const release = "v2.2.0" diff --git a/cmd/protoc-gen-go-errors/version.go b/cmd/protoc-gen-go-errors/version.go index 7e593a748..a694fdec7 100644 --- a/cmd/protoc-gen-go-errors/version.go +++ b/cmd/protoc-gen-go-errors/version.go @@ -1,4 +1,4 @@ package main // release is the current protoc-gen-go-errors version. -const release = "v2.1.5" +const release = "v2.2.0" diff --git a/cmd/protoc-gen-go-http/version.go b/cmd/protoc-gen-go-http/version.go index 146297b96..0bc08582f 100644 --- a/cmd/protoc-gen-go-http/version.go +++ b/cmd/protoc-gen-go-http/version.go @@ -1,4 +1,4 @@ package main // release is the current protoc-gen-go-http version. -const release = "v2.1.5" +const release = "v2.2.0" diff --git a/contrib/config/apollo/go.mod b/contrib/config/apollo/go.mod index 3631b634c..fb5cc5b1d 100644 --- a/contrib/config/apollo/go.mod +++ b/contrib/config/apollo/go.mod @@ -4,7 +4,7 @@ go 1.16 require ( github.com/apolloconfig/agollo/v4 v4.1.0 - github.com/go-kratos/kratos/v2 v2.1.5 + github.com/go-kratos/kratos/v2 v2.2.0 ) require ( diff --git a/contrib/config/consul/go.mod b/contrib/config/consul/go.mod index 38f427f0e..d6f052de4 100644 --- a/contrib/config/consul/go.mod +++ b/contrib/config/consul/go.mod @@ -3,7 +3,7 @@ module github.com/go-kratos/kratos/contrib/config/consul/v2 go 1.15 require ( - github.com/go-kratos/kratos/v2 v2.1.5 + github.com/go-kratos/kratos/v2 v2.2.0 github.com/hashicorp/consul/api v1.10.0 ) diff --git a/contrib/config/etcd/go.mod b/contrib/config/etcd/go.mod index f71d7832b..d61acef64 100644 --- a/contrib/config/etcd/go.mod +++ b/contrib/config/etcd/go.mod @@ -3,7 +3,7 @@ module github.com/go-kratos/kratos/contrib/config/etcd/v2 go 1.16 require ( - github.com/go-kratos/kratos/v2 v2.1.5 + github.com/go-kratos/kratos/v2 v2.2.0 go.etcd.io/etcd/client/v3 v3.5.0 google.golang.org/grpc v1.44.0 ) diff --git a/contrib/config/kubernetes/go.mod b/contrib/config/kubernetes/go.mod index a1b37c200..983d633d2 100644 --- a/contrib/config/kubernetes/go.mod +++ b/contrib/config/kubernetes/go.mod @@ -3,7 +3,7 @@ module github.com/go-kratos/kratos/contrib/config/kubernetes/v2 go 1.16 require ( - github.com/go-kratos/kratos/v2 v2.1.5 + github.com/go-kratos/kratos/v2 v2.2.0 k8s.io/api v0.23.3 k8s.io/apimachinery v0.23.3 k8s.io/client-go v0.23.3 diff --git a/contrib/config/nacos/go.mod b/contrib/config/nacos/go.mod index 926eb1fc1..8e7c607a3 100644 --- a/contrib/config/nacos/go.mod +++ b/contrib/config/nacos/go.mod @@ -3,7 +3,7 @@ module github.com/go-kratos/kratos/contrib/config/nacos/v2 go 1.16 require ( - github.com/go-kratos/kratos/v2 v2.1.5 + github.com/go-kratos/kratos/v2 v2.2.0 github.com/nacos-group/nacos-sdk-go v1.0.9 gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b ) diff --git a/contrib/encoding/msgpack/go.mod b/contrib/encoding/msgpack/go.mod index f68df4d91..691916984 100644 --- a/contrib/encoding/msgpack/go.mod +++ b/contrib/encoding/msgpack/go.mod @@ -3,7 +3,7 @@ module github.com/go-kratos/kratos/contrib/encoding/msgpack/v2 go 1.16 require ( - github.com/go-kratos/kratos/v2 v2.1.5 + github.com/go-kratos/kratos/v2 v2.2.0 github.com/vmihailenco/msgpack/v5 v5.3.4 ) diff --git a/contrib/log/aliyun/go.mod b/contrib/log/aliyun/go.mod index 89b8de332..d401f8096 100644 --- a/contrib/log/aliyun/go.mod +++ b/contrib/log/aliyun/go.mod @@ -4,7 +4,7 @@ go 1.16 require ( github.com/aliyun/aliyun-log-go-sdk v0.1.27 - github.com/go-kratos/kratos/v2 v2.1.5 + github.com/go-kratos/kratos/v2 v2.2.0 google.golang.org/protobuf v1.27.1 ) diff --git a/contrib/log/fluent/go.mod b/contrib/log/fluent/go.mod index 4cb3fabd3..5b097cb45 100644 --- a/contrib/log/fluent/go.mod +++ b/contrib/log/fluent/go.mod @@ -5,7 +5,7 @@ go 1.16 require ( github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect github.com/fluent/fluent-logger-golang v1.5.0 - github.com/go-kratos/kratos/v2 v2.1.5 + github.com/go-kratos/kratos/v2 v2.2.0 github.com/kr/pretty v0.3.0 // indirect github.com/tinylib/msgp v1.1.6 // indirect ) diff --git a/contrib/log/zap/go.mod b/contrib/log/zap/go.mod index d1f969093..6a45ed556 100644 --- a/contrib/log/zap/go.mod +++ b/contrib/log/zap/go.mod @@ -3,7 +3,7 @@ module github.com/go-kratos/kratos/contrib/log/zap/v2 go 1.16 require ( - github.com/go-kratos/kratos/v2 v2.1.5 + github.com/go-kratos/kratos/v2 v2.2.0 go.uber.org/zap v1.19.0 ) diff --git a/contrib/metrics/datadog/go.mod b/contrib/metrics/datadog/go.mod index 2e33cd558..8e2364712 100644 --- a/contrib/metrics/datadog/go.mod +++ b/contrib/metrics/datadog/go.mod @@ -5,7 +5,7 @@ go 1.16 require ( github.com/DataDog/datadog-go v4.8.1+incompatible github.com/Microsoft/go-winio v0.5.0 // indirect - github.com/go-kratos/kratos/v2 v2.1.5 + github.com/go-kratos/kratos/v2 v2.2.0 ) diff --git a/contrib/metrics/prometheus/go.mod b/contrib/metrics/prometheus/go.mod index 6fbbcc183..8b311cb02 100644 --- a/contrib/metrics/prometheus/go.mod +++ b/contrib/metrics/prometheus/go.mod @@ -3,7 +3,7 @@ module github.com/go-kratos/kratos/contrib/metrics/prometheus/v2 go 1.16 require ( - github.com/go-kratos/kratos/v2 v2.1.5 + github.com/go-kratos/kratos/v2 v2.2.0 github.com/prometheus/client_golang v1.9.0 ) diff --git a/contrib/registry/consul/go.mod b/contrib/registry/consul/go.mod index f0baa9283..c35c60181 100644 --- a/contrib/registry/consul/go.mod +++ b/contrib/registry/consul/go.mod @@ -3,7 +3,7 @@ module github.com/go-kratos/kratos/contrib/registry/consul/v2 go 1.16 require ( - github.com/go-kratos/kratos/v2 v2.1.5 + github.com/go-kratos/kratos/v2 v2.2.0 github.com/hashicorp/consul/api v1.9.1 ) diff --git a/contrib/registry/discovery/go.mod b/contrib/registry/discovery/go.mod index b04a74723..ea1acde3c 100644 --- a/contrib/registry/discovery/go.mod +++ b/contrib/registry/discovery/go.mod @@ -3,7 +3,7 @@ module github.com/go-kratos/kratos/contrib/registry/discovery/v2 go 1.16 require ( - github.com/go-kratos/kratos/v2 v2.1.5 + github.com/go-kratos/kratos/v2 v2.2.0 github.com/go-resty/resty/v2 v2.6.0 github.com/pkg/errors v0.9.1 ) diff --git a/contrib/registry/etcd/go.mod b/contrib/registry/etcd/go.mod index e201fab64..5755e6352 100644 --- a/contrib/registry/etcd/go.mod +++ b/contrib/registry/etcd/go.mod @@ -3,7 +3,7 @@ module github.com/go-kratos/kratos/contrib/registry/etcd/v2 go 1.16 require ( - github.com/go-kratos/kratos/v2 v2.1.5 + github.com/go-kratos/kratos/v2 v2.2.0 go.etcd.io/etcd/client/v3 v3.5.0 google.golang.org/grpc v1.44.0 ) diff --git a/contrib/registry/kubernetes/go.mod b/contrib/registry/kubernetes/go.mod index 5056709fd..11011f773 100644 --- a/contrib/registry/kubernetes/go.mod +++ b/contrib/registry/kubernetes/go.mod @@ -3,7 +3,7 @@ module github.com/go-kratos/kratos/contrib/registry/kubernetes/v2 go 1.16 require ( - github.com/go-kratos/kratos/v2 v2.1.5 + github.com/go-kratos/kratos/v2 v2.2.0 github.com/json-iterator/go v1.1.12 k8s.io/api v0.23.1 k8s.io/apimachinery v0.23.1 diff --git a/contrib/registry/nacos/go.mod b/contrib/registry/nacos/go.mod index 0c219d570..f97b40613 100644 --- a/contrib/registry/nacos/go.mod +++ b/contrib/registry/nacos/go.mod @@ -3,7 +3,7 @@ module github.com/go-kratos/kratos/contrib/registry/nacos/v2 go 1.16 require ( - github.com/go-kratos/kratos/v2 v2.1.5 + github.com/go-kratos/kratos/v2 v2.2.0 github.com/nacos-group/nacos-sdk-go v1.0.9 ) diff --git a/contrib/registry/polaris/go.mod b/contrib/registry/polaris/go.mod index 096caed0c..5361b2872 100644 --- a/contrib/registry/polaris/go.mod +++ b/contrib/registry/polaris/go.mod @@ -1,32 +1,10 @@ module github.com/go-kratos/kratos/contrib/registry/polaris/v2 -go 1.17 +go 1.16 require ( - github.com/go-kratos/kratos/v2 v2.1.5 + github.com/go-kratos/kratos/v2 v2.2.0 github.com/polarismesh/polaris-go v1.0.1 ) -require ( - github.com/ghodss/yaml v1.0.0 // indirect - github.com/golang/protobuf v1.5.2 // indirect - github.com/google/uuid v1.3.0 // indirect - github.com/hashicorp/errwrap v1.0.0 // indirect - github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/mitchellh/go-homedir v1.1.0 // indirect - github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/natefinch/lumberjack v2.0.0+incompatible // indirect - github.com/spaolacci/murmur3 v1.1.0 // indirect - go.uber.org/atomic v1.7.0 // indirect - go.uber.org/multierr v1.6.0 // indirect - go.uber.org/zap v1.19.1 // indirect - golang.org/x/net v0.0.0-20210917221730-978cfadd31cf // indirect - golang.org/x/sys v0.0.0-20210816074244-15123e1e1f71 // indirect - golang.org/x/text v0.3.6 // indirect - google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350 // indirect - google.golang.org/grpc v1.44.0 // indirect - google.golang.org/protobuf v1.27.1 // indirect - gopkg.in/yaml.v2 v2.3.0 // indirect -) - replace github.com/go-kratos/kratos/v2 => ../../../ diff --git a/contrib/registry/zookeeper/go.mod b/contrib/registry/zookeeper/go.mod index 2f5af9bc2..150983168 100644 --- a/contrib/registry/zookeeper/go.mod +++ b/contrib/registry/zookeeper/go.mod @@ -3,7 +3,7 @@ module github.com/go-kratos/kratos/contrib/registry/zookeeper/v2 go 1.16 require ( - github.com/go-kratos/kratos/v2 v2.1.5 + github.com/go-kratos/kratos/v2 v2.2.0 github.com/go-zookeeper/zk v1.0.2 ) diff --git a/examples/go.mod b/examples/go.mod index c7d74336c..f4c97ce6e 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -15,7 +15,7 @@ require ( github.com/go-kratos/kratos/contrib/registry/etcd/v2 v2.0.0-00010101000000-000000000000 github.com/go-kratos/kratos/contrib/registry/nacos/v2 v2.0.0-00010101000000-000000000000 github.com/go-kratos/kratos/contrib/registry/zookeeper/v2 v2.0.0-00010101000000-000000000000 - github.com/go-kratos/kratos/v2 v2.1.5 + github.com/go-kratos/kratos/v2 v2.2.0 github.com/go-kratos/swagger-api v1.0.0 github.com/go-redis/redis/extra/redisotel v0.3.0 github.com/go-redis/redis/v8 v8.11.2 diff --git a/version.go b/version.go index eaf82f050..c860c052e 100644 --- a/version.go +++ b/version.go @@ -1,4 +1,4 @@ package kratos // Release is the current kratos version. -const Release = "v2.1.5" +const Release = "v2.2.0"