Releases: go-kratos/kratos
Releases · go-kratos/kratos
v2.1.4
contrib v2.1.4 -> v2.0.0-20220105083008-7fe194ead489
New Features
- feat(registry/consul): add WithHeartbeat option (#1738)
- feat(examples/):add etcd registry cmux example (#1734)
- feat(transport):add grpc and http with listen (#1729)
- feat(cmd/kratos): generating API documentation using Gnostic (#1716)
Bug Fixes
- fix: k8s client logr incompatible update (#1744)
- fix(registry/consul):fix can't get service instance in async mode (#1731)
- fix(registry/consul): fix can not find service in 20s (#1728)
- fix: remove the use of client timeout as discovery time (#1715)
- fix(cmd/kratos): add look protoc-gen-openapi when use kratos proto client (#1726)
- fix FieldMask are converted to/from lower-camel naming conventions. (#1724)
- fix(cmd/protoc-gen-go-http): Fix when replacement rule is not ending (#1721)
- fix: fix typo in cmd/protoc-gen-go-http/http.go(is does not -> does not) (#1718)
- fix(protoc-gen-go-http): Update http rule when path mappings (#1704)
- fix(cmd): fixed a camel word enum error
- fix(cmd/proto-gen-http-go): remove go.mod replace (#1707)
Others
v2.1.3
contrib 2.1.3 -> v2.0.0-20211222061509-1117350b9c47
New Features
- feat(transport/grpc): gRPC client discovery supports incoming logger and timeout (#1702)
- feat: middleware seletor add ctx match (#1652)
- feat(registry/nacos): add default kind option (#1650)
- feat(app): app info delivery to stop context (#1649)
Bug Fixes
- fix(cmd/proto-gen-errors): non nil assertion for error (#1700)
- fix(nacos): call unsubscribe when watching is stopped (#1697)
- fix(internal/host): fixed network interface is enabled (#1687)
- fix: init nacos.Register rmd & metada map cap (#1671)
- fix(config): apollo close function: useless infinite loop causes high cpu usage (#1674)
- fix: circuitbreaker use client context (#1679)
- fix: nacos.Register many endpoint metadata kind error (#1664)
- fix(grpc): Block the RCP unil a new picker is available (#1660)
- fix: remove cmd replace (#1640)
Chores
- chore: completion command in the comment (#1680)
Others
v2.1.2
contrib 2.1.2 -> v2.0.0-20211119072916-7e0045cd0f2f
Dependencies
- deps: upgrade 2.1.2 (#1638)
New Features
- feat: upgrade grpc version to 1.42.0 (#1626)
- feat(form/form): add support google.protobuf.Struct; (#1617)
- feat(contrib/config): use key file extension as format & config load log (#1619)
- feat: add base fitler to improve performace (#1612)
- feat(http): http client support service discovery in Do (#1563)
- feat: add raw node (#1611)
- feat: recovery logger with ctx (#1601)
- feat: add descriptor.proto (#1590)
Bug Fixes
- fix: nacos a vulnerable dependency was referenced (#1639)
- fix doc (#1636)
- fix:add consul all health check (#1620)
- fix(cmd/protoc-gen-go-http): follow the http rule to use query strings (#1629)
- fix(cmd/new): print the correct error message (#1630)
- fix(middleware/tracing): modify kartos to kratos (#1628)
- fix[cmd]: if enum is a word in proto file, it should be camel too. (#1618)
- fix:modify annotation and wrong words (#1615)
- fix: nacos registry test data race (#1613)
- fix(cmd/http): fixed cannot declare a route with a regular expression (#1608)
- fix: k8s nacos and zookeeper registry lint (#1599)
- fix: fix p2c test (#1607)
- fix(cmd/kratos): use context timeout control, add timeout param (#1592)
- fix(app): use new context when app stop (#1589)
Others
v2.1.1
Bug Fixes
- fix(transport/grpc): grpc use global selector which leads to balancer nil error (#1564)
- fix(cmd/proto-gen-http): cmd http embed message path generate (#1561)
- fix(http/encoding): encode well known proto types in form and url query (#1559)
- fix(cmd/proto-gen-http): fix the problem that the field declaration does not exist causing panic (#1553)
v2.1.0
New Features
- feat(loadbalancing): add client load balancing and router selector (#1485)
- feat(auth): add jwt auth middleware (#1274)
- feat(circuitbreaker): add client side circuit breaker middleware (#1299)
- feat(ratelimit): add server side rate limiter middleware (#1271)
- feat(registry): support discovery registry center (#1480)
- feat(log): default message key (#1545)
- feat(config): add config slice map support (#1538)
- feat: add backupConfigPath method (#1511)
Bug Fixes
- fix consul registry TTL. (#1537)
- fix:etcd prifex find error (#1507)
- fix:http server start panic when use Endpoint (#1492)
Dependencies
Other
- log.SpanID -> tracing.SpanID
- log.TraceID -> tracing.TraceID
v2.0.5
Bug Fixes
- fix: proto errors when swagger api import kratos errors (#1348)
- fix: if not kratos context then panic will result (#1338)
- fix(cmd/run): command execution directory error (#1336)
- fix(config): Support colon as default value in config.yaml (#1332)
- fix:config groutine(watch) leak (#1327)
Chores
- chore(config/env): polish watcher (#1341)
Others
v2.0.4
New Features
- feat(cmd/pgh): add processing when generating HTTP code (#1306)
- feat: kratos tool support generate stream service code (#1284)
- feat: enhance tracing (#1300)
- feat: change grpc gateway import path (#1295)
- feat(endpoint): add endpoint parser (#1273)
- feat(cmd): support the third party specify by self and fix the warning when third party is not in current directory (#1266)
- feat(transport): add transport tls config (#1267)
Bug Fixes
- fix:etcd<3.13 block question (#1317)
- fix(config): fix data race (#1316)
- fix example blog makefile (#1296)
- fix: using t.TempDir (#1289)
- fix endpoint panic (#1291)
Others
- append config watchers when watch source (#1320)
- upgrade examples mod dependent version (#1314)
- upgrade: grpc to v1.39.1 (#1312)
- add appinfo test (#1293)
- test: option tests (#1292)
- ci: add pull request template (#1280)
- add selector code annotation (#1275)
- grpc‘s secure discovery (#1270)
- upgrade kratos to v2.0.3 (#1264)
v2.0.3
v2.0.2
New Features
- feat(cmd/changelog): add chore group (#1217)
- feat(middleware/selector): add middleware selector (#1244)
Bug Fixes
- fix(env): index out panic when env key is preifix (#1247)
- fix http resovler bug (#1231)
- fix: using rv directly (#1213)
- fix(cmd/new): print exception to console (#1227)
- fix(config): load env and file source order bug (#1220)
- fix: fixed kratos "new" command #1218 (#1221)
Chores
- chore(config/env): minor refactor (#1232)
- chore(examples/event): examples of increasing use of event (#1228)
- chore: add zookeeper registry example (#1223)
- chore: optimize import sort and the short description of run cmd (#1211)
- chore(typo): fixed document errors in README_ZH (#1209)
Others
- add codecov (#1195)
- repair some misspelling (#1248)
- style: add gosimple linter and gofmt linter (#1242)
- mod: clean cmd mod (#1240)
- mod: upgrade uuid & form (#1239)
- Revert "replace env underscore to dot (#1229)" (#1235)
- replace env underscore to dot (#1229)
- http form array (#1226)
- support expand config keys (#1224)
- update WithDecoder comment
- add zero endpoint protection (#1215)
- test config struct (#1212)
v2.0.1
New Features
- feat(env): add config env source (#1181)
- feat(examples/i18n) add i18n example (#1157)
- feat(config): support Resolver for config variable placeholders (#1135)
Bug Fixes
- fix(transport/http): fixed the problem of getting empty node list (#1206)
- fix(examples/config): fixed spelling mistake (#1186)
- fix(examples/cors): method misuse (#1184)
- fix(config): strconv.ParseFloat use correct bitSize
- fix(cmd/run): fix the problem of looking for the cmd directory outside the project (#1166)
Others
- add router group for http server (#1208)
- add sub router for http
- use "and" replace "sub" (#1207)
- add gin examples
- upgrade consul (#1205)
- typo: modify the comments of the proto-gen-go-errors (#1204)
- chore(config/file): add tests for file watcher (#1199)
- docs: add wechat official account image to the Chinese document (#1190)
- style(transport): remove duplicate get path code (#1188)
- docs: default documents points to the english document (#1180)
- ci(github action): use golangci-lint to replace the deprecated golint (#1175)
- docs: Added a list of acknowledgments that influence on kratos's design. (#1171)
- examples: add echo example (#1162)
- chore(example/blog): add ent tracing, and print the original SQL (#1163)