Kratos Versions Save

Your ultimate Go microservices framework for the cloud-native era.

v2.1.4

2 years ago

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

  • sync to gitee (#1746)
  • upgrade(examples):upgrade go mod version (#1745)
  • test(errors): add errors test (#1739)
  • optimization: optimize error (#1740)
  • test(transport): add transport Listener test (#1735)

v2.1.3

2 years ago

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

  • docs: some wrong err msg description
  • consul: support WithServiceResolver option (#1693)
  • transport/http: delay pass context.Context (#1684)
  • registry/nacos: reduce twice string copies (#1681)
  • style: format (#1667)
  • revert to select filters (#1656)
  • optimize:chan bool to chan struct{} (#1648)

v2.1.2

2 years ago

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

  • Update main.go (#1627)
  • refactor: move from io/ioutil to io and os packages (#1633)
  • docs of etcd config (#1622)
  • docs: replenish config/apollo and registry/discovery readme (#1625)
  • test: add nacos test (#1603)
  • make the output of gin example right (#1598)
  • export selector node (#1606)

v2.1.1

2 years ago

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

2 years ago

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

  • deps: otel upgrade to v1.0.0 (#1500)
  • deps: update go version to 1.16 (#1536)

Other

  • log.SpanID -> tracing.SpanID
  • log.TraceID -> tracing.TraceID

v1.0.1

2 years ago

v2.0.5

2 years ago

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

  • optimize: template spaces to tabs (#1352)
  • refactor: optimize the code and use golangci-lint to check for any errors (#1298)
  • add: metadata test (#1324)

v2.0.4

2 years ago

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

2 years ago

New Features

  • feat(cmd/upgrade): compatible with go get and go install (#1255)

Bug Fixes

  • fix(grpc/resolver): fix builder context (#1258)
  • fix(config/env): fix env.load() index out of range (#1252)

Chores

  • chore(examples/i18n): typo (#1250)
  • chore(examples/registry): add registry tests (#1260)

Others

  • mod(examples): upgrade consul version (#1261)

v2.0.2

2 years ago

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)