HominSu
cf009293e5
feat(cmd/protoc-gen-go-errors): support optional args generation
...
1. updated Details message to use the Format message instead of a plain string.
2. added the with_args field to the Format message, which controls whether code with arguments should be generated.
Signed-off-by: HominSu <hominsu@foxmail.com>
1 year ago
HominSu
fce113e7f7
feat(cmd/protoc-gen-go-errors): additional field to generate ErrorWithFormat code
...
1. add Details message to errors.proto to allow adding more info to error
2. add optional format field to the Details message to generate the ErrorWithFormat function
Signed-off-by: HominSu <hominsu@foxmail.com>
1 year ago
haiyux
96480c11ee
fix: fix go import path when add project --nomod ( #2837 )
2 years ago
dependabot[bot]
1d50f50262
build(deps): bump actions/setup-go from 4.0.0 to 4.0.1 ( #2829 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4.0.0...v4.0.1 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
6d741828c2
build(deps): bump google.golang.org/grpc in /contrib/opensergo ( #2823 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.54.0 to 1.55.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.54.0...v1.55.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Xudong Cai
4a56b5669d
chore: remove the dependency of grpc_testing module ( #2824 )
2 years ago
包子
56777ee655
deps: upgrade kratos version to v2.6.2 ( #2817 )
...
* deps: upgrade kratos version to v2.6.2
* fix ci
* mod tidy
* mod tidy
2 years ago
dependabot[bot]
b1cd1d3cf8
build(deps): bump google.golang.org/grpc in /contrib/config/etcd ( #2767 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.53.0 to 1.54.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.53.0...v1.54.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 包子 <baozhecheng@foxmail.com>
2 years ago
dependabot[bot]
37a521d59f
build(deps): bump google.golang.org/grpc in /contrib/opensergo ( #2768 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.50.1 to 1.54.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.50.1...v1.54.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
6cf407b9bd
build(deps): bump github.com/prometheus/client_golang ( #2787 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.14.0...v1.15.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
a904794546
build(deps): bump github.com/aliyun/aliyun-log-go-sdk ( #2807 )
...
Bumps [github.com/aliyun/aliyun-log-go-sdk](https://github.com/aliyun/aliyun-log-go-sdk ) from 0.1.43 to 0.1.44.
- [Release notes](https://github.com/aliyun/aliyun-log-go-sdk/releases )
- [Commits](https://github.com/aliyun/aliyun-log-go-sdk/compare/v0.1.43...v0.1.44 )
---
updated-dependencies:
- dependency-name: github.com/aliyun/aliyun-log-go-sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
chen quan
a837603c6d
chore: embedding template ( #2810 )
2 years ago
dependabot[bot]
0b1fdbe51c
build(deps): bump go.etcd.io/etcd/client/v3 in /contrib/config/etcd ( #2788 )
...
Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd ) from 3.5.4 to 3.5.8.
- [Release notes](https://github.com/etcd-io/etcd/releases )
- [Changelog](https://github.com/etcd-io/etcd/blob/main/Dockerfile-release.ppc64le )
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.4...v3.5.8 )
---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
81988e6a85
build(deps): bump go.etcd.io/etcd/client/v3 in /contrib/registry/etcd ( #2789 )
...
Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd ) from 3.5.5 to 3.5.8.
- [Release notes](https://github.com/etcd-io/etcd/releases )
- [Changelog](https://github.com/etcd-io/etcd/blob/main/Dockerfile-release.ppc64le )
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.5...v3.5.8 )
---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Haibo
1f10166028
fix(tracing): use global provider by default, but allow custom providers ( #2803 )
2 years ago
dependabot[bot]
c6a4604839
build(deps): bump github.com/hashicorp/consul/api ( #2731 )
...
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul ) from 1.19.1 to 1.20.0.
- [Release notes](https://github.com/hashicorp/consul/releases )
- [Changelog](https://github.com/hashicorp/consul/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/consul/compare/api/v1.19.1...api/v1.20.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/consul/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Bin
aed172b8dd
feat: jwt KeyFunc external return ( #2809 )
...
* Update jwt.go
* Update jwt.go
2 years ago
dependabot[bot]
520b321fe9
build(deps): bump golang.org/x/net in /contrib/opensergo ( #2779 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.8.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
ibrahim albarghouthi
3958f9d5c0
refactor: metadata supports key corresponding to multiple values ( #2772 )
...
* Adding Add/Values fn for transport and metadata layers, fixed tests and included tests to new functionaltieis, updated metadata middleware to append instead of hard set of key-values
* Remove useless function
* Linit fix
---------
Co-authored-by: Ibrahim Barghouthi <ibrahim.barghouthi@cenomi.com>
2 years ago
dependabot[bot]
e9870cb48f
build(deps): bump github.com/hashicorp/consul/api ( #2733 )
...
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul ) from 1.19.1 to 1.20.0.
- [Release notes](https://github.com/hashicorp/consul/releases )
- [Changelog](https://github.com/hashicorp/consul/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/consul/compare/api/v1.19.1...api/v1.20.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/consul/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: haiyux <haiyux@foxmail.com>
2 years ago
dependabot[bot]
f8c19c37af
build(deps): bump google.golang.org/protobuf in /contrib/log/aliyun ( #2751 )
...
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go ) from 1.28.1 to 1.30.0.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash )
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.28.1...v1.30.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
woniu317
d0847cd462
feat: log helper support sprint option ( #2616 )
...
* feat:add sprint option
* fix: with helper need sprint
---------
Co-authored-by: zhoushijie <shijie.zhou@yunzhanghu.com>
2 years ago
jessetang
f03f5f8988
fix(middleware/tracing): golang filename modify ( #2727 )
2 years ago
jessetang
d470886977
refactor(transport): format import and init slice cap ( #2741 )
...
* fix(transport): format import and init slice cap
* fix lint: local-prefixes: github.com/go-kratos
---------
Co-authored-by: haiyux <haiyux@foxmail.com>
2 years ago
Bin
446774f9e5
fix:proto nesting causes template generation problems ( #2718 )
...
* fix:proto nesting causes template generation problems
* feat: add test
* fix: cmd introduction word change
---------
Co-authored-by: haiyux <haiyux@foxmail.com>
2 years ago
yonwoo9
e273c5188a
chore: update comment ( #2747 )
...
Co-authored-by: haiyux <haiyux@foxmail.com>
2 years ago
jessetang
393bf4dbcb
fix(contrib/registry/servicecomb): wrong stop ticker ( #2749 )
...
Co-authored-by: haiyux <haiyux@foxmail.com>
2 years ago
虫子樱桃
6a4d17d79a
add http.ResponseController type alias ( #2713 )
...
Co-authored-by: czyt <czyt@w.cn>
2 years ago
Bin
99ccd00434
fix: package path to filepath ( #2672 )
...
* fix: package path to filepath
* fix: automatic import
* fix: automatic import
2 years ago
dependabot[bot]
f47a238478
build(deps): bump k8s.io/client-go in /contrib/config/kubernetes ( #2756 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.26.2 to 0.26.3.
- [Release notes](https://github.com/kubernetes/client-go/releases )
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.26.2...v0.26.3 )
---
updated-dependencies:
- dependency-name: k8s.io/client-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
3d1af9af38
build(deps): bump k8s.io/apimachinery in /contrib/config/kubernetes ( #2757 )
2 years ago
jessetang
9a973d29c2
fix: rectification of non-standard lint codes ( #2746 )
2 years ago
jessetang
0c2d2632ac
fix(transport/grpc/resolver/discovery/resolver.go): remove attributes.Attributes.New() ( #2742 )
2 years ago
包子
78a2089f2b
feat: issue translate ( #2744 )
...
* feat: issue translate
* feat: stable bot
2 years ago
Xin
d05729399e
fix: change the working directory of the command ( #2560 )
...
* fix: change the working directory of the command
Refs #2519
* fix: change the working directory by kratos run --work=xxxxx
2 years ago
包子
8af9ca33bd
feat: support grpc balancer health check ( #2736 )
2 years ago
dependabot[bot]
bd26120ec6
build(deps): bump actions/setup-go from 3.5.0 to 4.0.0 ( #2737 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3.5.0 to 4.0.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3.5.0...v4.0.0 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
jessetang
6369db2e8e
fix(cmd/kratos/internal/base/repo.go): missing error ( #2734 )
...
* fix(cmd/kratos/internal/base): missing error
* fix
2 years ago
jessetang
492248d032
fix(cmd): import format ( #2735 )
2 years ago
虫子樱桃
ae4dd7f4a8
fix: refactor project creation params process ( #2714 )
...
* add http.ResponseController type alias
* refactor:project creation
* Delete codec_go1.20.go
---------
Co-authored-by: czyt <czyt@w.cn>
Co-authored-by: 包子 <baozhecheng@foxmail.com>
2 years ago
包子
33cb4576e9
Update Makefile ( #2725 )
2 years ago
包子
768ffd71d4
fix(grpc/balancer): fix the problem that the watch log cannot be closed ( #2726 )
2 years ago
jessetang
9ee4fcb48a
fix: remove repeat `net/http` package ( #2708 )
...
* fix: remove repeat package
* fix
* fix
* fix
2 years ago
jessetang
ae2dcb04c0
fix: markdown form format ( #2721 )
...
* fix: markdown form format
* format import
2 years ago
Xin
6602dc325e
fix: correct message of CmdServer ( #2724 )
2 years ago
包子
7eca8f8034
deps: upgrade kratos version to v2.6.1 ( #2716 )
2 years ago
yonwoo9
665a72e67f
fix: fix contrib registry eureka watcher as *watcher ( #2693 )
2 years ago
包子
a672980a15
fix: upgrade go.sum ( #2715 )
...
* fix: upgrade go.sum
* fix
2 years ago
dependabot[bot]
51fac4ff90
build(deps): bump k8s.io/client-go in /contrib/config/kubernetes ( #2695 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.24.3 to 0.26.2.
- [Release notes](https://github.com/kubernetes/client-go/releases )
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.24.3...v0.26.2 )
---
updated-dependencies:
- dependency-name: k8s.io/client-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
9c7182058e
build(deps): bump github.com/hashicorp/consul/api ( #2688 )
...
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul ) from 1.18.0 to 1.19.1.
- [Release notes](https://github.com/hashicorp/consul/releases )
- [Changelog](https://github.com/hashicorp/consul/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/consul/compare/api/v1.18.0...api/v1.19.1 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/consul/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago