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

1886 Commits

Author SHA1 Message Date
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
yonwoo9
665a72e67f
fix: fix contrib registry eureka watcher as *watcher (#2693) 2023-03-10 00:09:18 +08:00
包子
a672980a15
fix: upgrade go.sum (#2715)
* fix: upgrade go.sum

* fix
2023-03-09 23:52:45 +08:00
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>
2023-03-07 23:51:06 +08:00
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>
2023-03-07 23:49:37 +08:00
dependabot[bot]
91be9c1071
build(deps): bump k8s.io/apimachinery in /contrib/config/kubernetes (#2694)
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.26.0 to 0.26.2.
- [Release notes](https://github.com/kubernetes/apimachinery/releases)
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.26.0...v0.26.2)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  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-07 23:49:18 +08:00
dependabot[bot]
a11002d7ee
build(deps): bump github.com/hashicorp/consul/api (#2685)
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>
2023-03-07 23:47:49 +08:00
dependabot[bot]
15de2007c7
build(deps): bump golang.org/x/sync in /contrib/registry/zookeeper (#2687)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.0.0-20220513210516-0976fa681c29 to 0.1.0.
- [Release notes](https://github.com/golang/sync/releases)
- [Commits](https://github.com/golang/sync/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  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-03-07 23:46:06 +08:00
dependabot[bot]
1579155a2c
build(deps): bump golang.org/x/net in /contrib/opensergo (#2699)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220520000938-2e3eb7b945c2 to 0.8.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.8.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-03-07 23:45:00 +08:00
dependabot[bot]
51a34df0a6
build(deps): bump golang.org/x/net in /contrib/config/polaris (#2706)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220624214902-1bab6f366d9e to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 23:44:27 +08:00
dependabot[bot]
61176708e6
build(deps): bump golang.org/x/net (#2703)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20210405180319-a5a99cb37ef4 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 23:42:03 +08:00
dependabot[bot]
b79c142580
build(deps): bump golang.org/x/net in /contrib/polaris (#2705)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220425223048-2871e0cb64e4 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 23:41:34 +08:00
dependabot[bot]
f458e2535f
build(deps): bump github.com/prometheus/common (#2698)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.40.0 to 0.41.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.40.0...v0.41.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>
2023-03-07 23:39:23 +08:00
dependabot[bot]
8203a90047
build(deps): bump golang.org/x/net in /contrib/registry/servicecomb (#2704)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20210405180319-a5a99cb37ef4 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 23:38:13 +08:00
dependabot[bot]
c65f823c38
build(deps): bump golang.org/x/text in /cmd/protoc-gen-go-errors (#2675)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 21:16:08 +08:00
dependabot[bot]
a6c9fdd9d3
build(deps): bump golang.org/x/text in /contrib/opensergo (#2678)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 21:15:36 +08:00
dependabot[bot]
7e89bbd799
build(deps): bump golang.org/x/text in /contrib/polaris (#2679)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 21:14:43 +08:00
包子
834b781ee2
feat: support load balance for streaming connection creation (#2669)
* feat: support load balance for streaming connection creation

* fix lint
2023-02-27 15:43:21 +08:00
hoslo
19f008b483
feat: Add latency to the recover handler context (#2653)
* feat: Make recovey log information more abundant

* feat: Add latency to the recover handler context

* feat: Add latency to the recover handler context

* feat: Add latency to the recover handler context

---------

Co-authored-by: shuai_yang <shuai_yang@intsig.net>
2023-02-23 18:26:23 +08:00
180909
e4595db3d8
fix: cmd proto add nil pointer (#2670) 2023-02-23 18:24:52 +08:00
dependabot[bot]
e33d644a78
build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 in /cmd/kratos (#2676)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-23 18:24:27 +08:00
180909
d8d231e725
fix(selector): version NodeFilter append func (#2671) 2023-02-23 18:23:32 +08:00
weetime
bab67facad
fix(contrib): fix eureka server load too high (#2546)
Co-authored-by: fangyong <fangyong@haodf.com>
2023-02-22 15:50:22 +08:00
thinkgo
d0b1d84850
feat: add comment to http server interface method (#2657)
Co-authored-by: gogogo <gogogo@aliyun.com>
2023-02-21 18:24:26 +08:00
dependabot[bot]
54f19c1dcb
build(deps): bump github.com/prometheus/common (#2668)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.37.0 to 0.40.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.37.0...v0.40.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>
2023-02-21 18:24:07 +08:00