Releases: zeromicro/go-zero
Releases · zeromicro/go-zero
v1.3.4
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
goctl/v1.3.6
goctl
- add
goctl quickstart
command - refactor cli to cobra
- improve cache management in model update template
- bug fixes and improvements
v1.3.3
- add
mon
andmonc
packages to use official driver for mongodb - add
httpc.Do
andhttpc.Service.Do
to make requests from defined structs - ignore timeout settings on websocket connections
- support sub-domains for CORS
- tracing span added in redis, sql and mongodb calls
- upgrade
gRPC
to 1.46, removed the deprecated usage ofgrpc.WithBalancerName
- bug fixes and minor improvements
goctl/v1.3.5
v1.3.2
- support
cgroups v2
for CPU statistics - add
httpc
package- enable
OpenTelemetry
and circuit breaker for HTTP client calls - make parsing HTTP responses easy with
httpc.Parse(...)
- enable
- support
-
in tags of model, allows ignoring the corresponding fields on SQL queries - support
:N
dynamic parameters in Oracle database - support
getset
redis command SetBit
in redis now returns the original value- disable re-entrance for
RedisLock
- minor improvements and bug fixes
goctl/v1.3.4
What's Changed
- support to set
timeout
in api on #1713 by jiang4869 - support api format with reader input on #1722 by fynxiu
- support
-base
to specify image for goctl docker on #1668 by kevwan - add
--verbose
flag forgoctl env
andgoctl rpc
on #1686 by anqiansong - make directories if not exists while zrpc code generation on #1659 by anqiansong
- optimize cache model code generation on #1672 by Mikaelemmmm
- optimize model tag on #1663 by mervin0502
- remove command
goctl rpc proto
on #1665 by anqiansong
New Contributors
- @mervin0502 made their first contribution in #1663
- @wubenqi made their first contribution in #1693
- @aimuz made their first contribution in #1702
- @jiang4869 made their first contribution in #1713
Full Changelog: tools/goctl/v1.3.3...tools/goctl/v1.3.4
tools/goctl/v1.3.3
Features
- Add ServiceAccount on goctl kuke on #1543 by @Mikaelemmmm
- Support context in sql model generation on #1551 by @kevwan
- Add goctl env on #1557 by @anqiansong
- Support pg serial type on #1563 by @kurimi1
- Support absoulutely import path on #1569 by @fynxiu
- Support Dart v2 on #1603 by @fynxiu
Fixes
- Use struct pointer on #1538 by @mlr3000
- Fix integer overflow while build goctl on arch 386 on #1582 by @anqiansong
- Support
form
tag in dart on #1596 by @fynxiu - Fix goctl rpc code genertion on #1624 by @anqiansong
- Fix kotlin code generion error on #1632 by @soasurs
- Fix context missing in sql model on #1642 by @xybingbing
v1.3.1
What's Changed
- update go-redis to v8, support ctx in redis methods, OpenTelemetry enabled by @kevwan in #1507
- support ctx in sqlx/sqlc, OpenTelemetry enabled by @kevwan in #1535
- support ctx in
Cache
, OpenTelemetry enabled by @chenquan in #1518 - log 404 requests with traceid by @kevwan in #1554
- minor bug fixes and improvements
New Contributors
- @mlr3000 made their first contribution in #1538
- @fynxiu made their first contribution in #1569
- @x1nchen made their first contribution in #1589
Full Changelog: v1.3.0...v1.3.1
Release goctl v1.3.2
Release tools/goctl/v1.3.0
What's Changed
- docs: update tal-tech to zeromico in docs by @kevwan in #1498
- fix: goctl not compile on windows by @kevwan in #1500
- chore: update command comment by @kevwan in #1501
- fix typo: goctl protoc usage by @anqiansong in #1502
- ci: add test for win by @kevwan in #1503
- test: change fuzz tests by @kevwan in #1504
- feature: Add
goctl completion
by @anqiansong in #1505 - fixes typo by @anqiansong in #1511
- feat: update go-redis to v8, support ctx in redis methods by @kevwan in #1507
- chore: make error clearer by @chenquan in #1514
- chore: optimize yaml unmarshaler by @chenquan in #1513
- refactor: refactor yaml unmarshaler by @kevwan in #1517
Full Changelog: v1.3.0...tools/goctl/v1.3.0