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

1519 Commits

Author SHA1 Message Date
yeqown
fbf7855cf2
feat(discovery): provide an option to disable discovery debug log (#1942)
* feat(discovery): provide an option to disable discovery resolver one debug-like log

* styl: re-sort imports

* styl: rename option function name and comment
2022-04-22 20:06:29 +08:00
Tony Chen
d0b704b8f3
feat(selector): add node scheme (#1932)
* add node scheme
2022-04-14 13:48:20 +08:00
Windfarer
3990d91b9b
correct the func name in meatadata log (#1915) 2022-04-10 16:18:56 +08:00
Xudong Cai
9ca08888df
fix: error case2Camel (#1923) 2022-04-10 16:17:03 +08:00
Tony Chen
a72fc68ffd
feat: add error cause for statck trace (#1910)
* add error cause for statck trace
2022-04-10 16:15:34 +08:00
Casper-Mars
96cfbe6c22
feat: change description of Kratos (#1920)
* feat(README):change description of Kratos

* fix(cmd/protoc-gen-go-errors):fix lint problem (#1919)

use cases.Title instead of strings.Title
2022-04-10 16:15:20 +08:00
Casper-Mars
19637d9b87
feat(registry): consul client add DeregisterCriticalServiceAfter option (#1917)
* feat(registry/consul):add DeregisterCriticalServiceAfter option

* fix(cmd/protoc-gen-go-errors):fix lint problem (#1919)

use cases.Title instead of strings.Title
2022-04-10 16:14:33 +08:00
Casper-Mars
4f21094a56
fix(cmd/protoc-gen-go-errors):fix lint problem (#1919)
use cases.Title instead of strings.Title
2022-04-08 16:20:27 +08:00
yoogo
d5a2fb59ad
fix(cmd): protoc-gen-go-http use self release (#1909) 2022-04-03 00:55:38 +08:00
Tony Chen
fd2335ba38
add json codec for grpc (#1908) 2022-04-03 00:48:54 +08:00
包子
558ef4ebae
fix(transport): fix the problem that the context is not delivered correctly (#1906) 2022-04-01 10:52:32 +08:00
包子
99a0646acb
fix(log/aliyun): Improper Input Validation in GoGo Protobuf CVE-2021-3121 (#1902) 2022-03-30 10:09:30 +08:00
Cluas
13208d7908
fix(log): FilterFunc keyvals lost logger prefix (#1901) 2022-03-30 08:55:48 +08:00
Cluas
d4c0c57681
feat(log): log load config only when Debug level (#1899) 2022-03-29 16:39:31 +08:00
weetime
69df1ab9a6
feat(contrib): add eureka registry (#1792) (#1793)
* - feat(contrib): add eureka registry (#1792)


Co-authored-by: fangyong <fangyong@haodf.com>
2022-03-29 14:25:05 +08:00
Tony Chen
7a5c2207a1
fix: starter parent ctx (#1895)
* fix: starter parent ctx

* fix stop ctx
2022-03-18 23:05:29 +08:00
longxboy
e66a2905ab
feat: supprt non-kratos instance in consul registry (#1892) 2022-03-18 14:58:33 +08:00
包子
e98c0078cb
deps: upgrade kratos version to 2.2.1 (#1890) 2022-03-18 11:51:39 +08:00
包子
93b56d364d
fix: update semantic (#1891) 2022-03-18 11:43:26 +08:00
包子
de2d4eacda
fix(cmd): proto-gen-go-http warn only when ending with a slash (#1887) 2022-03-18 11:33:14 +08:00
Tony Chen
51fb0e0440
fix(log): call depth (#1885)
* fix log caller
2022-03-18 00:03:33 +08:00
letian
d373c51acf
fix: kratos command error on windows (#1884) 2022-03-17 16:58:33 +08:00
Tony Chen
c550a886e9
fix: decode empty body (#1882) 2022-03-17 10:04:48 +08:00
Sasha Melentyev
096e2b0d79
ci: Add 1.18 (#1880) 2022-03-16 20:40:24 +08:00
hoslo
f68702a8c2
fix: graceful shutdown (#1873) 2022-03-15 11:02:10 +08:00
包子
64bd619967
chore: remove examples (#1871) 2022-03-14 14:34:46 +08:00
包子
1c37eff18a
feat: add semantic.yml (#1876) 2022-03-14 11:44:39 +08:00
kwanhur
ac99a5c877
style(cmd/errors/examples/middleware/transport): fix common words' spelling mistakes (#1872)
* matchs to matches
* contraint to constraint
* resovle to resolver
* ser to set

Signed-off-by: kwanhur <huang_hua2012@163.com>
2022-03-10 22:42:44 +08:00
Chen Xinyuan
4387085047
fix: fix some typos (#1869) 2022-03-09 10:51:17 +08:00
kwanhur
79057d4326
chore(examples): optimize typos of swagger/server (#1862) 2022-03-07 13:20:55 +08:00
cui fliter
ed6ab7caf9
docs: fix some typos (#1852)
Signed-off-by: cuishuang <imcusg@gmail.com>
2022-03-01 22:14:59 +08:00
YuanXin Hu
e739f1d282
Example for Polaris (#1850)
* fix (registry/polaris): fix get unhealthy service

* fix (example/polaris): add polaris example
2022-03-01 19:58:24 +08:00
Tony Chen
03ad2b6636
fix: error code judgment (#1849)
* fix error code judgment

* fix errors test
2022-03-01 12:04:57 +08:00
Sasha Melentyev
48d407cc9b
perf: add prealloc (#1846) 2022-02-27 12:29:51 +08:00
Sasha Melentyev
da147b5763
feat: add zero prealloc (#1847) 2022-02-27 12:29:12 +08:00
Sasha Melentyev
997b6a9f79
build: add matrix strategy with go version (#1845) 2022-02-26 23:23:37 +08:00
Sasha Melentyev
d679466a7b
perf(app): add prealloc (#1843) 2022-02-26 23:23:26 +08:00
Sasha Melentyev
f56b325a3d
feat(example/transaction/ent): add ent install in Makefile (#1844) 2022-02-26 23:23:13 +08:00
YuanXin Hu
f3313476ac
Discovery For Tencent Polaris (#1839)
* feat (registry/polaris): discovery for polaris

1.add heartbeat report option
2.implements GetService function
3.implements Watch function

* test (registry/polaris): test for discovery

1.add GetService test
2.add Watch test

* test (registry/polaris): fix lint

* fix (registry/polaris): fix missing ServiceInstances
2022-02-25 17:15:53 +08:00
高永立
2ee4e5f37a
feat(examples/transaction): feature transaction gorm (#1838)
* feature-examples gorm transaction

* feat: examples transaction gorm

* feature  examples transaction gorm
2022-02-25 12:16:41 +08:00
Casper-Mars
5e18a15109
fix(config/config):fix type not match bug (#1837)
If the type of new value not match the old one, value stay the old one.
2022-02-24 23:45:27 +08:00
包子
d6896127b1
deps: upgrade kratos version to 2.2.0 (#1834) 2022-02-23 17:13:57 +08:00
包子
c9f1d7db6d
feat(examples/transaction): add transaction examples (#1836) 2022-02-23 17:11:41 +08:00
haiyux
24393ee655
fix lint (#1833) 2022-02-23 14:40:39 +08:00
youn
a52b17c268
fix: add yaml / yml parser (#1808)
Co-authored-by: yang.liu14 <yang.liu14@weimob.com>
2022-02-23 14:30:21 +08:00
Zhen Wang
4dadafff90
fix(jwt): parse server custom claims (#1817)
* fix(jwt): parse server custom claims

* fix(jwt): parse server custom claims & use factory pattern


Co-authored-by: 王真 <zhen.wang@yo-star.com>
2022-02-22 14:06:36 +08:00
Jin Peng
85800cedb9
fix(contrib): get nacos service of customize group name (#1798) 2022-02-22 10:51:47 +08:00
haiyux
9dec67bddd
update contrib readme (#1831) 2022-02-21 18:37:20 +08:00
YuanXin Hu
6446212258
feat(registry/polaris): add registry for Tencent Polaris (#1816)
* feat(registry): add polaris registry
2022-02-21 18:20:16 +08:00
Casper-Mars
c1e98e41de
fix(config/consul):Config from consul skip empty key (#1830)
* feat(config/consul):skip empty key

* feat(config/consul):delete empty blank
2022-02-21 18:16:56 +08:00