Kratos Versions Save

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

v2.5.1

1 year ago

New Features

  • feat: golangci add goimports local-prefixes (#2413)
  • feat: remote assert libraries (#2372)
  • feat(internal/host): prefer ipv4 than ipv6 (#2342)
  • feat(cmd): user prePage to check changelog dev (#2340)

Bug Fixes

  • fix: fmt import (#2379)
  • fix(aliyun log): 'format bool' is missing in 'toString' function (#2406)
  • fix: modify interface check way on selector (#2399)
  • fix(http/binding): fix http encode url (#2400)
  • fix(registry/consul): use health check option to control custom checks (#2391)
  • fix(http/binding): fix http encode url (#2392)
  • fix: typo and grammatical errors (#2368)
  • fix: .gitignore del Repeated .*so (#2367)
  • fix: modify interface check way (#2375)
  • fix(apollo): config return nil when watch err
  • fix(makefile): add "make proto" for proto generating (#2130)

Chores

  • chore(log): let log toString same (#2414)
  • chore: Update go.yml (#2426)

Others

  • cleanup: remove redundancy type conversion and golangci add unconvert (#2409)
  • add custom binding (#2428)
  • expose request from transport (#2427)
  • style: modify declaring empty slices (#2378)
  • style(config/value): optimize atomicValue format string (#2401)
  • test(log): add toString unit test (#2373)
  • cleanup: remove fmt and errors new err (#2377)
  • cleanup: remove the repeated import (#2393)
  • cleanup: modify deprecated field (#2380)
  • typo for log (#2374)
  • test: supplement the unit testing of transport/grpc (#2371)
  • revise err logic or null pointer exception (#2376)
  • test(cmd): add ModulePath test (#2337)

New Contributors

Full Changelog: https://github.com/go-kratos/kratos/compare/v2.5.0...v2.5.1

v2.5.0

1 year ago

contrib -> go get github.com/kraots/contrib/xxxx@ba722304772728e1cd286e7d5a89de2ff4ae10ae

Dependencies

  • deps: upgreade kratos version to v2.5.0 (#2286)

New Features

  • feat: add servicecomb registry (#2114)
  • feat(registry): consul get service support remote (#2275)
  • feat(log): add tencent cls (#2244)

Bug Fixes

  • fix: encoding form decode field mask from well-know (#2285)
  • fix typo (#2284)
  • fix: delete endpoint service discovery compatibility (#2289)
  • fix logger caller depth (#2283)
  • fix: wrong order of Logger prefix kvs (#2273)
  • fix(log): DefaultCaller doesn't returns "pkg/file:line", it returns "file:line" now. For example, both biz/user.go and data/user.go are printed as user.go in logger. It's not clear. (#2274)
  • fix(chore): set nacos-server v2.1.0 and consul v1.12.3 (#2268)
  • fix lint error (#2266)
  • fix: in case url or form bind param error should return BadRequest (#2256)
  • fix(registry): contrib/registry/zookeeper ephemeral nodes handling after restart (#2245)

Others

  • doc: grammar problems in the Readme file (#2281)
  • bc: apollo unable to get and watch to the properties file (#2269)
  • refactor(log) aliyun use the same interface name (#2251)
  • refactor: unify selector filter (#2277)
  • Global logger (#2265)
  • build(deps): bump google.golang.org/protobuf in /contrib/log/aliyun (#2249)
  • build(deps): bump github.com/prometheus/common (#2210)

New Contributors

Full Changelog: https://github.com/go-kratos/kratos/compare/v2.4.1...v2.5.0

v2.4.1

1 year ago

contrib -> go get github.com/kraots/contrib/xxxx@eff368621fb383112bfd8c79b4379036fc245193

New Features

  • feat(middleware): add selector matcher (#2239)
  • feat: support passing program args with run cmd (#2207)

Bug Fixes

  • fix default behavior for gRPC encoding (#2187)
  • fix: zookeeper add auto re-register (#2235)
  • fix(contrib/config/polaris): Use injected client properly (#2238)
  • fix: remove unuseful file when use nomod (#2234)
  • fix(contrib): add logrus fatal level (#2222)

Others

  • update ignore for go workspace (#2240)
  • build(deps): bump k8s.io/client-go in /contrib/config/kubernetes (#2217)
  • build(deps): bump k8s.io/client-go in /contrib/registry/kubernetes (#2218)
  • build(deps): bump github.com/hashicorp/consul/api (#2211)
  • build(deps): bump github.com/hashicorp/consul/api (#2209)
  • build(deps): bump k8s.io/api in /contrib/config/kubernetes (#2219)
  • build(deps): bump k8s.io/api in /contrib/registry/kubernetes (#2220)
  • build(deps): bump github.com/go-zookeeper/zk (#2236)
  • proto build client structName not match to server's structName (#2200)
  • docs: update README_zh.md (#2208)
  • build(deps): bump github.com/prometheus/common (#2188)
  • build(deps): bump actions/setup-go from 3.2.0 to 3.2.1 (#2189)
  • Feature/improve app test (#2190)
  • test: increase endpoint,env, options and reader tests coverage. (#2192)
  • test(contrib): update unit test for contrib/registry/polaris (#2196)
  • test(log): increase tests coverage (#2197)

New Contributors

Full Changelog: https://github.com/go-kratos/kratos/compare/v2.4.0...v2.4.1

v2.4.0

1 year ago

contrib -> go get github.com/kraots/contrib/xxxx@1451b9e0c0e3e1ee88a4595d9f9cfaf24eb8150f

New Features

  • feat(http): add http router walk (#2181)
  • feat(metadata): Ignore service if the dependencies are not found (#2171)
  • feat: add logrus to contrib log (#2077)
  • feat: add contrib/config/polaris polaris as configcenter (#2158)
  • feat: add protoc-gen-go-http annotations synchronization with protoc-gen-go-grpc (#2151)

Bug Fixes

  • fix(transport): http endpoint listening (#2180)
  • fix transport early listening (#2177)
  • fix(errors): panic when err of Clone is nil (#2176)
  • fix(encoding/form): encode optional value (#2155)
  • fix: typo on emptypb.Empty (#2150)

Others

  • test(options): increase tests coverage (#2183)
  • test(transport): add unit test for transport coverage: 91.7% of state… (#2172)
  • test(contrib): add unit test for contrib/metrics/prometheus (#2182)
  • test(contrib/config/consul): add unit test for contrib/config/consul (#2179)
  • test(errors): improve coverage (#2178)
  • build(deps): bump k8s.io/client-go in /contrib/registry/kubernetes (#2120)
  • tests(coverage): Increase middleware tests coverage (#2165)
  • test(config/file): add format test (#2147) (#2168)
  • build(deps): bump github.com/hashicorp/consul/api (#2082)
  • test(contrib): add unit test for contrib/registry/k8s (#2166)
  • build(deps): bump github.com/hashicorp/consul/api (#2081)
  • build(deps): bump k8s.io/client-go in /contrib/config/kubernetes (#2122)
  • build(deps): bump k8s.io/api in /contrib/registry/kubernetes (#2124)
  • test(contrib): add unit test for aliyun.go (#2164)
  • test(encoding/form): well konw types test (#2147) (#2160)
  • test: supplement the unit testing of metadata (#2161)
  • build(deps): bump github.com/aliyun/aliyun-log-go-sdk (#2152)
  • test(nacos): add nacos unit test and remove unused function (#2145)
  • test(contrib): add unit test for contrib/config/k8s (#2140)
  • test(contrib): add unit test for contrib/registry/consul (#2148)

New Contributors

Full Changelog: https://github.com/go-kratos/kratos/compare/v2.3.1...v2.4.0###

v2.3.1

1 year ago

contrib -> go get github.com/kraots/contrib/xxxx@95dce008525d763283c4cd4772afac9c1d4d3796

New Features

  • feat: make secure url to grpcs://127.0.0.1/ (#2072)
  • feat: add config log (#2060)
  • feat:add context for log (#2041)

Bug Fixes

  • fix with logger (#2062)
  • fix: config log

Others

  • transport/http(feat): add redirector to forward request (#2074)
  • build(deps): bump gopkg.in/yaml.v3 in /contrib/config/nacos (#2067)
  • build(deps): bump gopkg.in/yaml.v3 in /contrib/config/apollo (#2068)
  • build(deps): bump k8s.io/client-go in /contrib/config/kubernetes (#2056)
  • build(deps): bump k8s.io/client-go in /contrib/registry/kubernetes (#2057)
  • build(deps): bump github.com/aliyun/aliyun-log-go-sdk (#2053)
  • build(deps): bump k8s.io/api in /contrib/config/kubernetes (#2052)
  • log: remove component logger to use global logger (#2061)
  • build(deps): bump k8s.io/api in /contrib/registry/kubernetes (#2058)
  • app: fix instance nil when not registered (#2059)
  • build(deps): bump actions/setup-go from 2 to 3.2.0 (#2048)
  • build(deps): bump golangci/golangci-lint-action from 2 to 3 (#2047)
  • build(deps): bump actions/checkout from 2 to 3 (#2046)
  • build(deps): bump github/codeql-action from 1 to 2 (#2045)
  • Update dependabot.yml
  • Create dependabot.yml

New Contributors

Full Changelog: https://github.com/go-kratos/kratos/compare/v2.3.0...v2.3.1

v2.3.0

1 year ago

contrib v2.3.0 -> v2.0.0-20220524035307-70317d05a07a

Dependencies

  • deps: upgrade go mod version (#2028)

New Features

  • feat(contrib/opensergo): add opensergo reportMetadata fields (#1996)
  • feat(registry): zookeeper watch node changed (#1986)

Bug Fixes

  • fix:fix error camel case (#2032)
  • fix:#2006 config.atomicValue Other basic types are supported (#2007)
  • fix(protoc-gen-go-errors): fix generated function comments have extra blank lines. (#2008)
  • fix:#2002 definition service lowercase generation cannot be exported (#2003)
  • fix: update ci gocyclo min-complexity 50 (#2000)
  • fix:(transport/http): fix unexpected overriding behavior when return an error (#1984)

Others

  • opensergo: fix http path & method (#2035)
  • log: fix global logger (#2034)
  • http: handle default mux (#2033)
  • Update project.go (#2024)
  • Update server.go (#2021)
  • style:change (#2022)
  • Update path.go (#2023)
  • Update run.go (#2025)
  • stype:gen_go_errors (#2026)
  • Update server.go (#2027)
  • style:ewma (#2018)
  • Style:trace (#2017)
  • Update jwt.go (#2016)
  • Update metadata.go (#2015)
  • style:log (#2014)
  • Update encode.go (#2019)
  • Update endpoint.go (#2012)
  • Update host.go (#2013)
  • Update errors.go (#2009)
  • Update file.go (#2005)
  • Added ability to configure protojson (#1993)

New Contributors

Full Changelog: https://github.com/go-kratos/kratos/compare/v2.2.2...v2.3.0

v2.2.2

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/go-kratos/kratos/compare/v2.2.1...v2.2.2

v2.2.1

2 years ago

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

  • chore: remove examples (#1871)
  • chore(examples): optimize typos of swagger/server (#1862)

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

2 years ago

contrib v2.2.0 -> v2.0.0-20220223091357-d6896127b137

BreakChange

  • jwt.WithClaims accept a func instead of claim interface

Dependencies

  • deps(thirdparty): clean openapi2 proto (#1826)
  • deps: upgrade go mod version (#1800)

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

  • update contrib readme (#1831)
  • move container group to internal (#1827)

v2.1.5

2 years ago

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

  • make logger appliance as logger proxy (#1765)
  • test:remove testify go mod (#1766)
  • optimization: optimize global logger (#1763)
  • readme:add log third party log library readme (#1753)
  • upgrade:upgrade grpc and opentelemetry version (#1751)