1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-14 02:33:03 +02:00
Commit Graph

1860 Commits

Author SHA1 Message Date
jessetang
fcd3b18e83
fix(encoding/form): failed to decode the map type (#2468) 2023-06-16 19:54:56 +08:00
freezeChen
3445f3ea8e
fix: logging middle don't get trace_id value when logger is filterLogger (#2869)
* Description (what this PR does / why we need it):
fix logging middle don't get trace_id value when logger is filterLogger

Which issue(s) this PR fixes (resolves / be part of):
 #2570
 #2571

* format

* fix:remove unuse test
2023-06-16 19:45:58 +08:00
Tony Chen
32c0d2dd97
feat: add omitempty prefix to rule path (#2870)
* add omitempty prefix to rule path

* fix empty method
2023-06-16 17:04:08 +08:00
xu0o0
e86ad248c3
fix(cli): fix import path with --nomod (#2775)
Co-authored-by: 包子 <baozhecheng@foxmail.com>
2023-06-08 17:20:11 +08:00
liaochuntao
69d73225a9
update polaris-standalone docker image (#2854) 2023-05-30 14:54:57 +08:00
Fengbin Shi
49ffd95a0c
fix: http parse pb message body panic (#2847)
* fix: issue #2782

* fix: issue #2782 rename

* fix: make fix
2023-05-29 11:17:56 +08:00
haiyux
96480c11ee
fix: fix go import path when add project --nomod (#2837) 2023-05-19 14:19:18 +08:00
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>
2023-05-16 13:40:17 +08:00
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>
2023-05-15 11:02:02 +08:00
Xudong Cai
4a56b5669d
chore: remove the dependency of grpc_testing module (#2824) 2023-05-09 14:36:47 +08:00
包子
56777ee655
deps: upgrade kratos version to v2.6.2 (#2817)
* deps: upgrade kratos version to v2.6.2

* fix ci

* mod tidy

* mod tidy
2023-05-08 21:05:40 +08:00
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>
2023-05-08 11:51:15 +08:00
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>
2023-05-08 11:39:23 +08:00
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>
2023-05-08 11:38:38 +08:00
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>
2023-05-08 11:38:17 +08:00
chen quan
a837603c6d
chore: embedding template (#2810) 2023-05-08 11:35:10 +08:00
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>
2023-05-08 11:35:02 +08:00
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>
2023-05-08 11:34:30 +08:00
Haibo
1f10166028
fix(tracing): use global provider by default, but allow custom providers (#2803) 2023-05-08 11:29:02 +08:00
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>
2023-05-08 11:28:30 +08:00
Bin
aed172b8dd
feat: jwt KeyFunc external return (#2809)
* Update jwt.go

* Update jwt.go
2023-05-04 17:15:36 +08:00
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>
2023-04-24 23:48:14 +08:00
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>
2023-04-10 14:35:38 +08:00
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>
2023-04-08 22:58:12 +08:00
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>
2023-04-08 22:57:29 +08:00
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>
2023-04-07 18:09:50 +08:00
jessetang
f03f5f8988
fix(middleware/tracing): golang filename modify (#2727) 2023-03-26 22:54:30 +08:00
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>
2023-03-26 22:54:08 +08:00
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>
2023-03-26 22:53:28 +08:00
yonwoo9
e273c5188a
chore: update comment (#2747)
Co-authored-by: haiyux <haiyux@foxmail.com>
2023-03-26 22:52:49 +08:00
jessetang
393bf4dbcb
fix(contrib/registry/servicecomb): wrong stop ticker (#2749)
Co-authored-by: haiyux <haiyux@foxmail.com>
2023-03-26 22:52:21 +08:00
虫子樱桃
6a4d17d79a
add http.ResponseController type alias (#2713)
Co-authored-by: czyt <czyt@w.cn>
2023-03-26 22:51:38 +08:00
Bin
99ccd00434
fix: package path to filepath (#2672)
* fix: package path to filepath

* fix: automatic import

* fix: automatic import
2023-03-26 22:50:52 +08:00
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>
2023-03-23 11:08:21 +08:00
dependabot[bot]
3d1af9af38
build(deps): bump k8s.io/apimachinery in /contrib/config/kubernetes (#2757) 2023-03-22 03:17:14 +00:00
jessetang
9a973d29c2
fix: rectification of non-standard lint codes (#2746) 2023-03-21 15:33:08 +08:00
jessetang
0c2d2632ac
fix(transport/grpc/resolver/discovery/resolver.go): remove attributes.Attributes.New() (#2742) 2023-03-20 19:41:45 +08:00
包子
78a2089f2b
feat: issue translate (#2744)
* feat: issue translate

* feat: stable bot
2023-03-18 00:38:02 +08:00
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
2023-03-16 13:03:05 +08:00
包子
8af9ca33bd
feat: support grpc balancer health check (#2736) 2023-03-16 13:02:38 +08:00
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>
2023-03-16 13:02:26 +08:00
jessetang
6369db2e8e
fix(cmd/kratos/internal/base/repo.go): missing error (#2734)
* fix(cmd/kratos/internal/base): missing error

* fix
2023-03-16 11:33:22 +08:00
jessetang
492248d032
fix(cmd): import format (#2735) 2023-03-16 11:32:44 +08:00
虫子樱桃
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>
2023-03-13 17:01:12 +08:00
包子
33cb4576e9
Update Makefile (#2725) 2023-03-13 16:05:38 +08:00
包子
768ffd71d4
fix(grpc/balancer): fix the problem that the watch log cannot be closed (#2726) 2023-03-13 16:05:09 +08:00
jessetang
9ee4fcb48a
fix: remove repeat net/http package (#2708)
* fix: remove repeat package

* fix

* fix

* fix
2023-03-13 15:43:47 +08:00
jessetang
ae2dcb04c0
fix: markdown form format (#2721)
* fix: markdown form format

* format import
2023-03-13 15:42:19 +08:00
Xin
6602dc325e
fix: correct message of CmdServer (#2724) 2023-03-13 15:40:21 +08:00
包子
7eca8f8034
deps: upgrade kratos version to v2.6.1 (#2716) 2023-03-10 00:16:11 +08:00