Releases: go-kratos/kratos
Releases · go-kratos/kratos
v2.2.1
contrib v2.2.1 -> v2.0.0-20220318035139-e98c0078cb29
Dependencies
- deps: upgrade kratos version to 2.2.1 (#1890)
New Features
- feat: add semantic.yml (#1876)
- feat: add zero prealloc (#1847)
- feat(example/transaction/ent): add ent install in Makefile (#1844)
- feat(examples/transaction): feature transaction gorm (#1838)
Bug Fixes
- fix: update semantic (#1891)
- fix(cmd): proto-gen-go-http warn only when ending with a slash (#1887)
- fix(log): call depth (#1885)
- fix: kratos command error on windows (#1884)
- fix: decode empty body (#1882)
- fix: graceful shutdown (#1873)
- fix: fix some typos (#1869)
- fix: error code judgment (#1849)
- fix(config/config):fix type not match bug (#1837)
Chores
Others
- ci: Add 1.18 (#1880)
- style(cmd/errors/examples/middleware/transport): fix common words' spelling mistakes (#1872)
- docs: fix some typos (#1852)
- Example for Polaris (#1850)
- perf: add prealloc (#1846)
- build: add matrix strategy with go version (#1845)
- perf(app): add prealloc (#1843)
- Discovery For Tencent Polaris (#1839)
v2.2.0
contrib v2.2.0 -> v2.0.0-20220223091357-d6896127b137
BreakChange
- jwt.WithClaims accept a func instead of claim interface
Dependencies
New Features
- feat(examples/transaction): add transaction examples (#1836)
- feat(registry/polaris): add registry for Tencent Polaris (#1816)
- feat:add examples redirect url (#1807)
- feature(middleware/jwt): add server custom claims(#1817)
Bug Fixes
- fix lint (#1833)
- fix: add yaml / yml parser (#1808)
- fix(contrib): get nacos service of customize group name (#1798)
- fix(config/consul):Config from consul skip empty key (#1830)
- fix: fix the latest version of lint problem (#1825)
- fix(cmd/http): warn only when a get or delete request declares a body (#1789)
- fix: k8s discovery interface (#1820)
- fix: fix ci tool (#1803)
- fix: allocates new objects each time (#1802)
Others
v2.1.5
contrib v2.1.5 -> v2.0.0-20220124072645-9ea78f302d5a
Dependencies
- deps: upgrade kratos version to v2.1.5 (#1785)
- deps(cmd/kratos): Upgrade Cobra 1.2.1 -> v1.3.0 (#1783)
New Features
- feat: add logger sdk for aliyun (#1748)
- feat:add stream interceptor use ctx encapsulation (#1770)
- feat(log): add global logger appliance, as process level default logger (#1761)
- feat:sync to gitee where release a version (#1755)
- feat(middleware/auth/jwt): add customer header (#1752)
Bug Fixes
- fix: change consul config docs (#1784)
- fix: consul heartbeat ttl not registered (#1781)
- fix: perhaps MISSING (#1779)
- fixed the problem that grpc stop could not close properly
- fix:fix log caller error (#1773)
- fix(cmd/kratos): specified version for upgrade (#1772)
- fix(cmd/kratos): filepath walk nil pointer reference problem (#1762)
- fix: change installation package path for protoc-gen-openapi (#1759)
Others
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)