Releases: zeromicro/go-zero
Releases · zeromicro/go-zero
v1.6.5
What's Changed
- feat: support context in breaker methods by @kevwan in #4088
- feat: use breaker with ctx to prevent deadline exceeded by @kevwan in #4091
- feat: add errorx.In to facility error checking by @kevwan in #4105
- feat: add fx.ParallelErr by @kevwan in #4107
- feat: trigger breaker on underlying service timeout by @kevwan in #4112
- feat: httpx.Parse supports parsing structures that implement the Unmarshaler interface by @lyuangg in #4143
- optimize: improve breaker algorithm on recovery time by @kevwan in #4077
- optimize: add tracing information to the log by @chenquan in #4126
- fix: timeout on query should return context.DeadlineExceeded by @kevwan in #4060
- fix: fix ignored scanner.Err() by @kevwan in #4063
- fix: fix ignored context.DeadlineExceeded by @kevwan in #4066
- fix: avoid duplicate in logx plain mode by @kevwan in #4080
- fix: zrpc kube resolver builder after gRPC resolver behavior changes by @soasurs in #4119
- fix: log panic on Error() or String() panics with logx.Field by @kevwan in #4136
New Contributors
Full Changelog: v1.6.4...v1.6.5
goctl/v1.6.5
What's Changed
- feat: add model config by @kesonan in #4062
- feat: add customized.tpl for model template by @suyhuai in #4086
- fix: GOPROXY env should set by ourself by @jaronnie in #4087
- fix: fix prefix syntax by @kesonan in #4113
- fix: make command: Command not found by @testwill in #4132
New Contributors
Full Changelog: tools/goctl/v1.6.4...tools/goctl/v1.6.5
v1.6.4
What's Changed
- feat: support http stream response by @kevwan in #4055
- feat: add custom health response information by @fearlessfei in #4034
- fix: didn't count failure in allow method with breaker algorithm by @kevwan in #4008
- fix: only add log middleware to not found handler when enabled by @AlexLast in #3969
- fix: mysql WithAcceptable bug by @MarkJoyMa in #3986
- fix: StopAgent panics when trace agent disabled by @ansoda in #3981
- optimize: change err == xx to errors.Is(err, xx) by @mongobaba in #3991
- optimize: migrate redis breaker into hook by @MarkJoyMa in #3982
- optimize: Optimize the error log to be more specific by @patche-v in #3994
New Contributors
- @ansoda made their first contribution in #3981
- @patche-v made their first contribution in #3994
- @shyandsy made their first contribution in #4026
- @ak5w made their first contribution in #4030
- @linden-in-China made their first contribution in #4035
- @wjiec made their first contribution in #3988
- @jaronnie made their first contribution in #4053
Full Changelog: v1.6.3...v1.6.4
goctl/v1.6.4
What's Changed
- feat: add gen api @doc comment to logic handler routes by @ch3nnn in #3790
- fix: fix the usage datasource url of postgresql (#4029) by @ak5w in #4030
- fix: multi imports the api cause redeclared error in types.go by @wjiec in #3988
- fix: when digits in the name, goctl not generating correctly by @kesonan in #4032
New Contributors
- @ansoda made their first contribution in #3981
- @patche-v made their first contribution in #3994
- @shyandsy made their first contribution in #4026
- @ak5w made their first contribution in #4030
- @linden-in-China made their first contribution in #4035
- @wjiec made their first contribution in #3988
- @jaronnie made their first contribution in #4053
Full Changelog: tools/goctl/v1.6.3...tools/goctl/v1.6.4
goctl/v1.6.3
What's Changed
- feat: improve docker build by @reneleonhardt in #3682
- fix: fix parser issues by @kesonan in #3930
New Contributors
- @fffreedom made their first contribution in #3927
- @mongobaba made their first contribution in #3947
- @ch3nnn made their first contribution in #3946
- @fearlessfei made their first contribution in #3808
Full Changelog: tools/goctl/v1.6.2...tools/goctl/v1.6.3
v1.6.3
What's Changed
- feat: support
SSE
, ignore timeout on server-sent events by @chenquan in #2041 - feat: support
ScheduleImmediately
in TaskRunner by @kevwan in #3896 - feat: add StableRunner to get messages in pushing order by @kevwan in #3941
- feat: support breaker with sql prepared statements by @kevwan in #3936
- feat: add break metrics for sqlx.statement by @mongobaba in #3947
- feat: support linux distributions without cgroup by @AlexLast in #3948
- feat: make
BatchError
thread safe by @ch3nnn in #3946 - feat: add
ZADDNX
command in redis by @Suyghur in #3944 - feat: add
MSET
command in redis by @codeErrorSleep in #3820 - feat: retry with ignoring specified errors by @fearlessfei in #3808
- feat: add a mongodb registry option to convert type easier. by @POABOB in #3780
- fix: mapping
FillDefault
with fields mutable optional bug by @MarkJoyMa in #3940 - optimize: improve load shedding algorithm performance by @kevwan in #3908
- optimize: optimize circuit breaker algorithm by @kevwan in #3897
- optimize: improve performance when log disabled by @kevwan in #3916
New Contributors
- @fffreedom made their first contribution in #3927
- @mongobaba made their first contribution in #3947
- @ch3nnn made their first contribution in #3946
- @fearlessfei made their first contribution in #3808
Full Changelog: v1.6.2...v1.6.3
v1.6.2
What's Changed
- feat: upgrade go-redis to v9 by @kevwan in #3088
- optimize: make cpu usage more smooth by @kevwan in #3842
- fix: cpu stat in cgroup v2 by @kevwan in #3857
- fix: negative float32 overflow when unmarshalling by @Kimjin-gd in #3811
- fix: call fillSliceValue panic if the value is nil by @wuqinqiang in #3839
- fix: issue 3840 by @kevwan in #3845
- fix: issue #3840 by @kevwan in #3846
- fix: revert sqlx metric namespace by @MarkJoyMa in #3847
New Contributors
- @Kimjin-gd made their first contribution in #3811
Full Changelog: v1.6.1...v1.6.2
goctl/v1.6.2
What's Changed
- fix: #3825 by @kesonan in #3828
- fix: goctl new parser by @kesonan in #3834
- fix: fix unresolved type if linked api imported by @kesonan in #3881
New Contributors
- @Kimjin-gd made their first contribution in #3811
Full Changelog: tools/goctl/v1.6.1...tools/goctl/v1.6.2
v1.6.1
What's Changed
- feat: auto stop profiling after one minute by @kevwan in #3742
- feat: add dbtest to facility db test by @kevwan in #3768
- feat: add redis ExistsMany method by @codeErrorSleep in #3769
- feat: redis ttl command returning -1 and -2 supported by @1067088037 in #3783
- fix: use logx for shutdown message by @AlexLast in #3719
- fix: request parser in gateway supports http without body content by @gongluck in #3788
- fix: prevent ring index overflow by @POABOB in #3738
- fix: endless loop caused by ErrCompacted by @LeeDF in #3774
New Contributors
- @tvermaashutosh made their first contribution in #3680
- @zzhaolei made their first contribution in #3694
- @anstns made their first contribution in #3704
- @lvillis made their first contribution in #3745
- @zzZZzzz888 made their first contribution in #3777
- @1067088037 made their first contribution in #3783
- @AlexLast made their first contribution in #3719
- @gongluck made their first contribution in #3788
- @codeErrorSleep made their first contribution in #3769
Full Changelog: v1.6.0...v1.6.1
goctl/v1.6.1
What's Changed
- fix: import error if generate multiple proto by @zzhaolei in #3694
- feat: default new api parser by @kesonan in #3683
- feat: change command-line arg 'table' from string to slice type by @kesonan in #3707
- feat: add map type by @anstns in #3704
- fix: goctl FindOne error by @MarkJoyMa in #3731
- fix: circle import in case new parser by @kesonan in #3750
- fix: prevent a crash if there is a unique key constraint with a nil field. by @POABOB in #3770
- fix: primary key unique key simultaneously exist cacheIdPrefix duplicate by @testwill in #3763
- fix: coredump: goctl model mysql ddl --src user_base.sql --dir . area… by @zzZZzzz888 in #3777
New Contributors
- @tvermaashutosh made their first contribution in #3680
- @zzhaolei made their first contribution in #3694
- @anstns made their first contribution in #3704
- @lvillis made their first contribution in #3745
- @zzZZzzz888 made their first contribution in #3777
- @1067088037 made their first contribution in #3783
- @AlexLast made their first contribution in #3719
- @gongluck made their first contribution in #3788
- @codeErrorSleep made their first contribution in #3769
Full Changelog: v1.6.0...tools/goctl/v1.6.1