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

1587 Commits

Author SHA1 Message Date
jesse.tang
4d95050747
fix: fmt import (#2379) 2022-09-27 14:08:08 +08:00
swliao425
8d067a32db
fix(aliyun log): 'format bool' is missing in 'toString' function (#2406) 2022-09-27 12:19:21 +08:00
180909
2170a12aa4
fix: modify interface check way on selector (#2399) 2022-09-24 23:29:00 +08:00
180909
add67beeb3
fix(http/binding): fix http encode url (#2400)
`/api/v1/[name]`
2022-09-24 12:21:58 +08:00
包子
7866ff75fd
fix(registry/consul): use health check option to control custom checks (#2391) 2022-09-21 15:21:56 +08:00
Tony Chen
2d325fd386
fix(http/binding): fix http encode url (#2392)
* fix(http/binding): fix http encode url
2022-09-21 11:31:51 +08:00
jesse.tang
080165f2ee
cleanup: modify deprecated field (#2380) 2022-09-20 11:24:30 +08:00
jesse.tang
9737a3c5e4
fix: typo and grammatical errors (#2368)
* fix: grammar

* fix: grammar

* fix overrode

* translate to English

* translate to English
2022-09-19 10:39:54 +08:00
Jiepeng Cao
7f2666be9f
typo for log (#2374) 2022-09-15 21:31:13 +08:00
jesse.tang
7a320233cd
fix: .gitignore del Repeated .*so (#2367) 2022-09-15 20:15:07 +08:00
Loner1024
d3f80c1061
test: supplement the unit testing of transport/grpc (#2371)
* test:grpc codec test

* style:go fmt

* refactor:delete useless code

* style:go fmt
2022-09-15 20:13:51 +08:00
jesse.tang
b0b49be383
feat: remote assert libraries (#2372) 2022-09-15 20:13:08 +08:00
jesse.tang
0ed01efdfd
revise err logic or null pointer exception (#2376) 2022-09-15 20:10:39 +08:00
jesse.tang
f2a33929d0
fix: modify interface check way (#2375)
* fix: modify interface check way

* fix
2022-09-14 22:05:48 +08:00
包子
ae505063fe
fix(apollo): config return nil when watch err 2022-09-14 19:44:04 +08:00
Guoqiang Ding
667d63839c
fix(makefile): add "make proto" for proto generating (#2130)
Co-authored-by: Guoqiang Ding <guoqiang10@staff.sina.com.cn>
2022-09-07 11:44:23 +08:00
hshe
e176ddfcdd
feat(internal/host): prefer ipv4 than ipv6 (#2342)
* feat:prefer ipv4 than ipv6

* feat:prefer ipv4 than ipv6

* feat:prefer ipv4 than ipv6

* feat:prefer ipv4 than ipv6
2022-09-07 11:43:55 +08:00
180909
0f0c75e20b
feat(cmd): user prePage to check changelog dev (#2340) 2022-09-07 11:42:59 +08:00
180909
18c5734930
test(cmd): add ModulePath test (#2337) 2022-09-06 13:50:00 +08:00
180909
8d76eebf8b
test(cmd/change): add ParseGithubURL test (#2339)
* test(cmd/change): add ParseGithubURL test

* use anonymous struct
2022-09-06 13:49:16 +08:00
GongGuoWei
cb69bf3714
test(config): add etcd config method test (#2349)
Added test cases for the about etcd method
- WithPath(path string)
- WithPrefix(prefix bool)

Update #2135
2022-09-06 13:46:14 +08:00
黄仲辉
617ee1aa39
fix(lint): Using deprecated package io/ioutil cause lint interrupted, change to os or io package. (#2353)
Co-authored-by: 黄仲辉 <610195979@qq.com>
2022-09-02 15:08:26 +08:00
180909
39536d3279
fix(cmd): fix CmdAdd long message example (#2343) 2022-09-01 23:21:27 +08:00
dependabot[bot]
e820b392e9
build(deps): bump github.com/hashicorp/consul/api (#2279)
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-09-01 21:14:50 +08:00
dependabot[bot]
aaabd07474
build(deps): bump actions/setup-go from 3.2.1 to 3.3.0 (#2313)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.2.1 to 3.3.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3.2.1...v3.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-go
  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-09-01 16:12:08 +08:00
dependabot[bot]
7a336ca353
build(deps): bump google.golang.org/protobuf in /contrib/opensergo (#2248)
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 16:10:55 +08:00
dependabot[bot]
503efd3825
build(deps): bump go.uber.org/zap in /contrib/log/zap (#2326)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.22.0 to 1.23.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.22.0...v1.23.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-09-01 16:09:21 +08:00
icylight
60b00c8ade
fix(config/env): prefixs typo (#2321) 2022-08-31 22:58:32 +08:00
Wang-TaoTao
ad7597c0b1
fix: init global selector to wrr (#2323) 2022-08-31 21:42:54 +08:00
icylight
cbfb6db9cf
fix(internal/host): Extract can't return the minium index ip (#2298)
* fix(internal/host): Extract can't return the minium index ip

* rollback

* fix index
2022-08-31 21:35:59 +08:00
虫子樱桃
20c2425c18
fix kratos new -r not support scp styled git url.issue https://gith… (#2295)
* fix `kratos new -r` not support scp styled git url.issue https://github.com/go-kratos/kratos/issues/2294

* fix lint

* fix lint

* remove tail space and add  test case

Co-authored-by: czyt <czyt@w.cn>
Co-authored-by: czyt <x-gopher@qq.com>
2022-08-31 21:35:38 +08:00
包子
890bc21ac1
docs: update readme.md, remove qq group (#2341) 2022-08-31 21:04:14 +08:00
川桑
361391732b
test(selector): improve coverage (#2320)
* test(selector): improve coverage

* style: gofumpt
2022-08-29 09:27:44 +08:00
包子
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