1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-04-11 11:42:10 +02:00

59 Commits

Author SHA1 Message Date
包子
cde962a6c1
fix(cmd/http): warn only when a get or delete request declares a body (#1789) 2022-02-18 08:59:27 +08:00
包子
9ea78f302d
deps: upgrade kratos version to v2.1.5 (#1785) 2022-01-24 15:26:45 +08:00
haiyux
00c05e82a3
test:remove testify go mod (#1766)
* test:remove testify go mod

* tidy go mdo

* fix test
2022-01-14 10:02:42 +08:00
包子
7fe194ead4
deps: uprade kratos version to v2.1.4 (#1749) 2022-01-05 16:30:08 +08:00
Giovanny Gutiérrez
b6b95089c4
fix(cmd/protoc-gen-go-http): Fix when replacement rule is not ending (#1721) 2021-12-28 15:41:38 +08:00
aldslvda
c1ab0cce3c
fix: fix typo in cmd/protoc-gen-go-http/http.go(is does not -> does not) (#1718) 2021-12-28 10:53:30 +08:00
Giovanny Gutiérrez
ccb649a201
fix(protoc-gen-go-http): Update http rule when path mappings (#1704)
* fix(cmd/protoc-gen-go-http): Follow the http rule to use the query string
2021-12-26 21:13:38 +08:00
包子
0e72cc2dcb
fix(cmd/proto-gen-http-go): remove go.mod replace (#1707) 2021-12-22 16:24:35 +08:00
包子
1117350b9c
deps: update kratos version to 2.1.3 (#1706) 2021-12-22 14:15:09 +08:00
haiyux
ef3322ec07
fix: remove cmd replace (#1640) 2021-11-19 17:14:24 +08:00
Giovanny Gutiérrez
7a52468ea8
fix(cmd/protoc-gen-go-http): follow the http rule to use query strings (#1629) 2021-11-15 11:52:31 +08:00
包子
5aac2ef5a7
fix(cmd/http): fixed cannot declare a route with a regular expression (#1608)
* fix(cmd/http): fixed cannot declare a route with a regular expression
2021-11-05 16:44:57 +08:00
longxboy
2d026f1f95
fix: cmd http embed message path generate (#1561)
fix: cmd http embed message path generate (#1561)
2021-10-17 16:33:46 +08:00
包子
014778b72a
fix(cmd/proto-gen-http): fix the problem that the field declaration does not exist causing panic (#1553) 2021-10-15 17:18:13 +08:00
包子
979ec39c53
deps: update kratos version (#1554) 2021-10-15 17:15:02 +08:00
Windfarer
f3e75bffca
feat: update go version to 1.16 (#1536) 2021-10-08 20:49:56 +08:00
海雨
23a96a3d63
feat:add warning when http path filed use map or list (#1526)
* feat:add warning when http path filed use map or list
2021-09-30 14:12:27 +08:00
Casper-Mars
f5339e3ea3
fix(cmd/protoc-gen-go-http):part of #1430,fix cmd/protoc-gen-go-http (#1440) 2021-09-07 14:26:24 +08:00
包子
ff78611766
feat(cmd/pgh): add processing when generating HTTP code (#1306)
* feat: add processing when generating HTTP code
2021-08-09 10:28:20 +08:00
Tony Chen
e7d2f4966a
upgrade kratos to v2.0.3 (#1264) 2021-07-27 15:59:34 +08:00
Tony Chen
623fc5cb3f
update version to v2.1.0-dev (#1249)
* update version to v2.1.0-dev

* fix pkg ordering

* upgrade kratos version
2021-07-25 22:29:16 +08:00
Tony Chen
f872ec4685
mod: clean cmd mod (#1240) 2021-07-25 00:29:09 +08:00
longXboy
f0d077a328 change version to 2.0.1 2021-07-18 20:15:52 +08:00
longXboy
14d383bc6f add v2.0.0 2021-07-08 13:54:09 +08:00
longxboy
7530fadde0
Feat/fix examples (#1129)
remove github protobuf dependency
2021-06-30 15:33:08 +08:00
Tony Chen
d4d6925cd0
cmd/protoc-gen-go-http: fix http protoc to bind query_string (#1126)
* fix http protoc to bind query_string

Co-authored-by: longXboy <longxboyhi@gmail.com>
2021-06-30 14:13:28 +08:00
longxboy
a639340274
add rc7 (#1125) 2021-06-29 19:55:48 +08:00
longxboy
b6fc811744
fix version (#1090) 2021-06-21 11:24:24 +08:00
longxboy
e278a4cf36
fix protoc http cmd (#1079) 2021-06-18 11:49:25 +08:00
longxboy
8baa2ede4b
add path pattern for http (#1076)
* add path pattern for http
2021-06-17 17:34:27 +08:00
longxboy
dc80d0865f
add omitempty (#1054) 2021-06-14 11:43:22 +08:00
Tony Chen
8d8cd8c8a8
Middleware/metadata v2 (#1050)
* add middleware metadata
* add transport header
* add transport carrier

Co-authored-by: longXboy <longxboy@gmail.com>
2021-06-14 00:59:07 +08:00
Tony Chen
99719dd667
cmd: update cmd version (#1040)
* update cmd version

* update app info
2021-06-13 01:07:43 +08:00
Tony Chen
2729caeecf
http/binding: rename encode url (#1039)
* rename binding url
2021-06-13 00:56:01 +08:00
Tony Chen
eca0f35cb5
transport/http: add vars to http context (#1037)
* add vars to http context

* add query to http context

* remove http deps

* clean request decoder
2021-06-12 22:21:54 +08:00
Tony Chen
1b13abd136
transport/http: add http route (#1029)
* add http route

* fix http context

* add HTTP middleware

Co-authored-by: longXboy <longxboyhi@gmail.com>
2021-06-12 18:30:17 +08:00
longxboy
736385c8e6
Feat/uni transport (#1028)
* add metadata incoming&outgoing

* regenerate proto

* uni transport

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-06-11 15:05:57 +08:00
Tony Chen
05c2e16b9e
fix http rules empty (#1023) 2021-06-09 13:44:34 +08:00
Michael Li
ad8f12c9fd
remove redundant statements in generated code template for protoc-gen-go-http (#976) 2021-06-01 00:21:56 +08:00
Tony Chen
7dec80ccfd
fix error code and regenerate proto (#954)
* fix error code and regenerate proto
2021-05-26 20:05:34 +08:00
longxboy
eb958b2093
add path for rpc stub (#947)
* add path for rpc stub

* fix http body and response_body

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-05-26 14:23:43 +08:00
longxboy
9a3a02fc68
add http client rpc stub (#943)
* add http client
2021-05-24 23:01:26 +08:00
Tony Chen
4d0770a6a2
fix http handler (#939) 2021-05-22 11:14:55 +08:00
Tony Chen
b9f821c29f
transport/http: add http handler (#937)
* add http handler

* fix request error
2021-05-21 23:11:36 +08:00
Tony Chen
eeab979d5f
remove errors generator (#892) 2021-05-02 00:00:44 +08:00
Tony Chen
d85f5e9ae1
encoding/json: fix nil value (#884)
* fix nil value
2021-04-29 15:49:44 +08:00
Tony Chen
311a65367e
update kratos (#785) 2021-03-18 00:21:15 +08:00
Tony Chen
2b47dc4dfb
fix http templates (#783) 2021-03-17 20:27:16 +08:00
Tony Chen
a185916df6
cmd: update kratos version (#773)
* update kratos version
2021-03-16 23:38:18 +08:00
Windfarer
5546be9188
fix example (#755)
* fix example
2021-03-11 23:42:28 +08:00