Features and Updates:
- support using third-party logging libs with logx
- support
LogField
with methodsInfow
,Errorw
andSloww
in logx,
likelogx.Infow(msg, logx.Field(key1, val1), logx.Field(key2, val2))
- logx now supports terminal colors with
Encoding: plain
- support
toml
config files - support client stream interceptors for gRPC
- set default connection idle time to 5 minutes for gRPC servers
- enable health check in gRPC servers
- even more clear trace info for redis, sql and mongodb
- removed deprecated usages from dependencies
- update go version to 1.16, because of security reasons in
k8s.io/client-go
- minor bug fixes and improvements
Change logs
- docs: update readme by @kevwan in #1849
- test: add more tests by @kevwan in #1856
- fix typo by @sixwaaaay in #1857
- feat: add fields with logx methods, support using third party logging libs. by @kevwan in #1847
- chore: use time.Now() instead of timex.Time() because go optimized it by @kevwan in #1860
- test: add codecov by @kevwan in #1861
- test: add codecov by @kevwan in #1863
- chore: refine tests by @kevwan in #1864
- fix time, duration, slice types on logx.Field by @kevwan in #1868
- add conf documents by @kevwan in #1869
- chore: fix deprecated usages by @kevwan in #1871
- feat: Replace cli to cobra by @anqiansong in #1855
- feat: logx with color by @kevwan in #1872
- chore: update some logs by @kevwan in #1875
- chore: improve codecov by @kevwan in #1878
- fix:tools/goctl/rpc/generator/template_test.go file has wrong parameters by @wangzeping722 in #1882
- fix ts template by @SeigeC in #1879
- fix: Code generation by @anqiansong in #1897
- feat: Add goctl quickstart by @anqiansong in #1889
- refactor: refactor trace in redis & sql & mongo by @chenquan in #1865
- chore: coding style for quickstart by @kevwan in #1902
- feat: add toml config by @kevwan in #1899
- chore: use goproxy properly by @kevwan in #1903
- chore: use get for quickstart, plain logs for easy understanding by @kevwan in #1905
- feat: support WithStreamClientInterceptor for zrpc clients by @kevwan in #1907
- fix: Fix process blocking problem during check by @anqiansong in #1911
- chore: update k8s.io/client-go for security reason, go is upgrade to 1.16 by @kevwan in #1912
- feat: set default connection idle time for grpc servers, and health check supported by @kevwan in #1922
- fix: Useless delete cache logic in update by @anqiansong in #1923
- fix: Support built-in shorthand flags by @anqiansong in #1925
- feat: update docker alpine package mirror by @kevwan in #1924
- chore: add release action to auto build binaries by @chenquan in #1884
- chore(action): simplified release configuration by @chenquan in #1935
- core/mr:a little optimization for collector initialization in ForEach function by @notrynosuccess in #1937
- code simplification. by @lizhichao in #1939
- chore: refine docker for better compatible with package main by @kevwan in #1944
- Delete duplicated crash recover logic. by @kunyu in #1950
- chore: update roadmap by @kevwan in #1948
- fix: panic on convert to string on fillSliceFromString() by @cjf8134 in #1951
- chore: refactoring mapping string to slice by @kevwan in #1959
New Contributors
- @sixwaaaay made their first contribution in #1857
- @wangzeping722 made their first contribution in #1882
- @SeigeC made their first contribution in #1879
- @notrynosuccess made their first contribution in #1937
- @kunyu made their first contribution in #1950
- @cjf8134 made their first contribution in #1951
Full Changelog: v1.3.3...v1.3.4