1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-12 02:28:05 +02:00
Commit Graph

1926 Commits

Author SHA1 Message Date
Monet Lee
fb926d4126
chore: fix typo var name in shell (#2955) 2023-10-23 10:14:15 +08:00
Tony Chen
6c026bce56
bugfix: fix map decode (#2979)
* fix map decode

* fix lint

* fix lint
2023-08-30 21:14:53 +08:00
leyou240
a09f4d8ebb
ci: support go version 1.21.x 2023-08-23 10:43:26 +08:00
包子
7888107c4b
deps: upgrade kratos version to v2.7.0 (#2944) 2023-08-08 13:17:27 +08:00
qzwxsaedc
d2b1119d5e
fix(kratos cli): kratos cli gives wrong import path when creating app with --nomod parameter (#2938)
* fix: kratos cli gives wrong import path when creating app with --nomod parameter

* style(kratos): solute lint error.

* style(kratos): solute lint error in project.go.
2023-08-08 00:20:58 +08:00
蒋光华
79e862d5b9
fix:go-http plugin path encoding error (#2917)
* fix:go-http plugin path encoding error

* fix:(http_test.go) File is not gofmt -ed with -s (gofmt)

* fix:(http_test.go) File is not gofmt -ed with -s (gofmt)

---------

Co-authored-by: J-guanghua <490011961@qq.com>
2023-08-04 11:28:04 +08:00
dependabot[bot]
25e12da4d2
build(deps): bump github.com/apolloconfig/agollo/v4 (#2939)
Bumps [github.com/apolloconfig/agollo/v4](https://github.com/apolloconfig/agollo) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/apolloconfig/agollo/releases)
- [Commits](https://github.com/apolloconfig/agollo/compare/v4.3.0...v4.3.1)

---
updated-dependencies:
- dependency-name: github.com/apolloconfig/agollo/v4
  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-08-04 11:21:14 +08:00
dependabot[bot]
ef59bd9515
build(deps): bump google.golang.org/grpc in /contrib/config/etcd (#2935)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.56.1 to 1.57.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.56.1...v1.57.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: haiyux <haiyux@foxmail.com>
2023-08-04 11:16:30 +08:00
Shuhui Xu
ba142466a1
feat(contrib): add zerolog (#2942)
* feat(contrib): add zerolog

* deps(contrib/log): tidy go mod
2023-08-04 11:07:37 +08:00
Tony Chen
3109546ed0
feat(transport/http): add walk http handler (#2943)
* add walk http handler
2023-08-03 21:08:18 +08:00
Tony Chen
072b2ee769
Update gitee-sync.yml (#2936) 2023-07-28 19:49:59 +08:00
hoslo
e2a0bac628
feat: add bindQuery default (#2915)
* feat: add bindQuery default

* fix: change priority

---------

Co-authored-by: shuai_yang <shuai_yang@intsig.net>
2023-07-28 18:27:05 +08:00
Mystic
7d9a0d1dee
build(go): upgrade to go 1.19 (#2905)
BREAKING CHANGE: upgrade go 1.19
2023-07-28 18:08:49 +08:00
LinXiaoWei
bffc1a0989
feat(transport): add endpoint option for server (#2904) 2023-07-06 19:59:02 +08:00
包子
32b1d13f90
deps: upgrade kratos version to v2.6.3 (#2903)
* deps: upgrade kratos version to v2.6.3

* fix ci

* go mod tidy

* upgrade 1.19
2023-07-04 13:14:01 +08:00
dependabot[bot]
db2a565d1c
build(deps): bump github.com/prometheus/common (#2840)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.42.0 to 0.44.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.42.0...v0.44.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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: Weizhen Wang <wangweizhen@pingcap.com>
2023-06-30 16:46:00 +08:00
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