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

1704 Commits

Author SHA1 Message Date
包子
b354f185c0
feat(registry): consul support user custom checks (#2317) 2022-08-26 10:54:02 +08:00
jesse.tang
73a8323ee7
fix: slice/map make init cap (#2300) 2022-08-24 18:19:07 +08:00
Germiniku
cb6176dbbb
feat(tracing) custom tracer name (#2310)
* feat(log): add tencent cls

fix

update

* refactor(log) use the same interface name

* fix(log) tencent toString

* feat(tracing) custom tracer name
2022-08-24 12:39:20 +08:00
过客龙门
0ce9e8d069
specify array capacity hints (#2299) 2022-08-22 14:44:49 +08:00
dependabot[bot]
b1bb0bd18f
build(deps): bump github.com/hashicorp/consul/api (#2278)
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul) from 1.13.1 to 1.14.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/v1.13.1...api/v1.14.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-20 14:51:58 +08:00
dependabot[bot]
869fcd57c8
build(deps): bump go.uber.org/zap in /contrib/log/zap (#2280)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.21.0...v1.22.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-20 14:51:20 +08:00
icylight
5c3f0aa73e
style(metadata): specify map capacity hints (#2296) 2022-08-20 14:48:03 +08:00
jesse.tang
6ca225b078
add notes by not used defer (#2291) 2022-08-18 10:58:56 +08:00
YidaZhou
ba72230477
doc: grammar problems in the Readme file (#2281) 2022-08-17 18:17:25 +08:00
Astone
205aa88d86
fix: encoding form decode field mask from well-know (#2285)
Co-authored-by: Astone <caliburn_marco@163.com>
2022-08-17 14:32:18 +08:00
pwli
bdfeb4bf78
fix typo (#2284)
Co-authored-by: pwli0755 <lipw0755@gmial.com>
2022-08-17 14:31:54 +08:00
haiyux
39796ea0dc
fix: delete endpoint service discovery compatibility (#2289)
* fix: delete endpoint package endpoint

* fix lint
2022-08-17 14:31:37 +08:00
包子
563ad0d34a
deps: upgreade kratos version to v2.5.0 (#2286) 2022-08-17 14:23:48 +08:00
包子
3f31b4d734
bc: apollo unable to get and watch to the properties file (#2269) 2022-08-17 13:04:56 +08:00
Tony Chen
2d206076f8
fix logger caller depth (#2283) 2022-08-16 22:54:55 +08:00
Germiniku
de2f93fbec
refactor(log) aliyun use the same interface name (#2251)
* feat(log): add tencent cls

fix

update

* refactor(log) use the same interface name

* fix(log) tencent toString
2022-08-16 21:22:35 +08:00
longxboy
11cd43e3c3
refactor: unify selector filter (#2277)
* unify selector

Co-authored-by: caoguoliang01 <caoguoliang01@bilibili.com>
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2022-08-16 21:21:58 +08:00
kkf1
d11c6892b4
feat: add servicecomb registry (#2114)
* add servicecomb registry
2022-08-15 22:09:48 +08:00
Haibo
6d665c0ce6
fix: wrong order of Logger prefix kvs (#2273) 2022-08-13 13:00:43 +08:00
包子
84235462b7
feat(registry): consul get service support remote (#2275)
* feat(registry): consul get service support remote acces

* fix lint
2022-08-13 13:00:17 +08:00
SeniorPlayer
b9b7888d51
fix(log): DefaultCaller doesn't returns "pkg/file:line", it returns "file:line" now. For example, both biz/user.go and data/user.go are printed as user.go in logger. It's not clear. (#2274)
Co-authored-by: SeniorPlayer <SeniorPlayer@gg.com>
2022-08-13 13:00:02 +08:00
realityone
f0c2a6ed90
Global logger (#2265)
* global logger

* return global logger appliance instead of inner logger

* fix lint issues

* global logger test
2022-08-11 11:32:10 +08:00
Weizhen Wang
57dee517e5
fix(chore): set nacos-server v2.1.0 and consul v1.12.3 (#2268)
* fix(chore): set nacos-server v2.1.0

Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>

* improve(chore): set consul 1.12.3

Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
2022-08-10 22:34:25 +08:00
Kagaya
e4d73db523
fix lint error (#2266) 2022-08-10 17:04:07 +08:00
dependabot[bot]
0aa9719e3a
build(deps): bump google.golang.org/protobuf in /contrib/log/aliyun (#2249)
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go) from 1.28.0 to 1.28.1.
- [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.0...v1.28.1)

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  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>
2022-08-09 21:07:06 +08:00
shifengbin
c407afc81d
fix: in case url or form bind param error should return BadRequest (#2256)
* fix: binding url or form convert type error should be return BadRequest

* golint
2022-08-09 12:00:10 +08:00
Germiniku
fea863e783
feat(log): add tencent cls (#2244) 2022-08-01 23:55:03 +08:00
林晓炜
1f3ac4ea22
fix(registry): contrib/registry/zookeeper ephemeral nodes handling after restart (#2245) 2022-08-01 23:42:45 +08:00
dependabot[bot]
aae0339692
build(deps): bump github.com/prometheus/common (#2210)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.36.0 to 0.37.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.36.0...v0.37.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>
2022-08-01 10:03:00 +08:00
包子
eff368621f
deps: upgrade kratos version to v2.4.1 (#2242) 2022-07-28 19:43:50 +08:00
kiripeng
a5eb913aa0
chore: go workspace contain go.work and go.work.sum (#2241)
* fix: map 其桶中只能存储 8 个键值对元素,超过后会储存到溢出桶或者扩容,影响性能,预先声明容量以免影响性能

* update ignore for go workspace

Co-authored-by: caizhipeng <caizhipeng@xmfunny.com>
2022-07-28 18:30:36 +08:00
180909
ffa1c2696c
update ignore for go workspace (#2240) 2022-07-28 09:18:28 +08:00
dependabot[bot]
86eba94646
build(deps): bump k8s.io/client-go in /contrib/config/kubernetes (#2217)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.24.2 to 0.24.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.24.2...v0.24.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>
2022-07-27 13:07:15 +08:00
dependabot[bot]
2951b420f1
build(deps): bump k8s.io/client-go in /contrib/registry/kubernetes (#2218)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.24.2 to 0.24.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.24.2...v0.24.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>
2022-07-27 13:06:58 +08:00
Tony Chen
f3b0da3f04
feat(middleware): add selector matcher (#2239)
* feat(middleware): add selector matcher


Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
2022-07-27 13:05:45 +08:00
dependabot[bot]
377356d04d
build(deps): bump github.com/hashicorp/consul/api (#2211)
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul) from 1.13.0 to 1.13.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.13.0...api/v1.13.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/consul/api
  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>
2022-07-27 10:57:56 +08:00
dependabot[bot]
247a74e631
build(deps): bump github.com/hashicorp/consul/api (#2209)
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul) from 1.13.0 to 1.13.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.13.0...api/v1.13.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/consul/api
  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>
2022-07-27 10:57:14 +08:00
Tony Chen
3c54997dd8
fix default behavior for gRPC encoding (#2187)
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
2022-07-27 10:56:36 +08:00
dependabot[bot]
e6767bc612
build(deps): bump k8s.io/api in /contrib/config/kubernetes (#2219)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.24.2 to 0.24.3.
- [Release notes](https://github.com/kubernetes/api/releases)
- [Commits](https://github.com/kubernetes/api/compare/v0.24.2...v0.24.3)

---
updated-dependencies:
- dependency-name: k8s.io/api
  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>
2022-07-27 10:56:17 +08:00
dependabot[bot]
9d24dac487
build(deps): bump k8s.io/api in /contrib/registry/kubernetes (#2220)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.24.2 to 0.24.3.
- [Release notes](https://github.com/kubernetes/api/releases)
- [Commits](https://github.com/kubernetes/api/compare/v0.24.2...v0.24.3)

---
updated-dependencies:
- dependency-name: k8s.io/api
  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>
2022-07-27 10:55:55 +08:00
dependabot[bot]
e2c1fd7489
build(deps): bump github.com/go-zookeeper/zk (#2236)
Bumps [github.com/go-zookeeper/zk](https://github.com/go-zookeeper/zk) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/go-zookeeper/zk/releases)
- [Commits](https://github.com/go-zookeeper/zk/compare/v1.0.2...v1.0.3)

---
updated-dependencies:
- dependency-name: github.com/go-zookeeper/zk
  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>
2022-07-27 10:52:57 +08:00
hshe
b7422717cf
proto build client structName not match to server's structName (#2200)
* fix(proto/server): server .ServerName not Match to Client ServerName

* fix(proto/server): unit server_test
2022-07-27 10:51:19 +08:00
Haibo
59b758ceda
feat: support passing program args with run cmd (#2207) 2022-07-27 10:50:23 +08:00
林晓炜
246d8d9c28
fix: zookeeper add auto re-register (#2235)
* feat(registry): contrib/registry/zookeeper add re-register support

* feat(registry): contrib/registry/zookeeper add re-register support fix with lint
2022-07-27 10:50:12 +08:00
Paul
92b3c8f94a
fix(contrib/config/polaris): Use injected client properly (#2238) 2022-07-27 10:44:48 +08:00
haiyux
14cfd65b62
fix: remove unuseful file when use nomod (#2234) 2022-07-24 15:12:16 +08:00
wangcong
82dfb955f5
fix(contrib): add logrus fatal level (#2222) 2022-07-21 21:25:42 +08:00
风雨雾凇
de0e4e2228
docs: update README_zh.md (#2208) 2022-07-20 13:11:10 +08:00
dependabot[bot]
1ab3d8f028
build(deps): bump github.com/prometheus/common (#2188)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.32.1 to 0.36.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.32.1...v0.36.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>
2022-07-14 20:59:01 +08:00
dependabot[bot]
0ff80e42e7
build(deps): bump actions/setup-go from 3.2.0 to 3.2.1 (#2189)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3.2.0...v3.2.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>
2022-07-14 20:24:32 +08:00