Releases: zeromicro/go-zero
Releases · zeromicro/go-zero
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
v1.6.0
What's Changed
- upgraded to Go 1.19, because gRPC fixed a security issue, and the supported Go version is 1.19+
- feat: add metrics for sqlx, redis, grpc and http clients by @MarkJoyMa in #3624
- feat: support the signal SIGINT for graceful shutdown by @Suyghur in #3611
- feat: support the timeout for individual rpc methods by @vankillua in #2742
- feat: model add withSession by @MarkJoyMa in #3658
- feat: retry with ctx deadline supported by @kevwan in #3626
- feat: support for disable mon logs like sqlx by @shenbaise9527 in #3606
- feat: support for resource injection in trace agent by @reatang in #3383
- feat: export devserver.Config for customizing devserver by @kesonan in #3638
- feat: added
Dec()
andSub()
inGaugeVec
in metrics by @Suyghur in #3666 - fix: UpdateStmt doesn't update the statement correctly in sqlx/bulkinserter.go by @kevwan in #3607
- fix: unmarshal from number to string with incorrect error message by @kevwan in #3625
- fix: optimize logx for less GC objects by @kevwan in #3627
- fix: upgrade grpc-go,fix 0day problem. by @guonaihong in #3623
- chore: update restful/grpc servers graceful stop to shutdown stage by @kevwan in #3662
- minor bug fixes and improvements
New Contributors
- @eltociear made their first contribution in #3620
- @sohamtembhurne made their first contribution in #3630
- @0Armaan025 made their first contribution in #3643
- @suravshresth made their first contribution in #3650
- @accaolei made their first contribution in #3427
- @7134g made their first contribution in #3642
- @bhargavshirin made their first contribution in #3664
- @vankillua made their first contribution in #2742
Full Changelog: v1.5.6...v1.6.0
goctl/v1.6.0
What's Changed
- feat: multiple files import the same api file by @7134g in #3642
- feat: support adding ignore_columns parameters to the goctl model pg by @accaolei in #3427
- optimize: fix experimental api by @kesonan in #3604
- minor bug fixes and improvements
New Contributors
- @eltociear made their first contribution in #3620
- @sohamtembhurne made their first contribution in #3630
- @0Armaan025 made their first contribution in #3643
- @suravshresth made their first contribution in #3650
- @accaolei made their first contribution in #3427
- @7134g made their first contribution in #3642
- @bhargavshirin made their first contribution in #3664
- @vankillua made their first contribution in #2742
- @reneleonhardt made their first contribution in #3677
Full Changelog: v1.5.6...tools/goctl/v1.6.0
v1.5.6
What's Changed
- feat: support json:"-" in mapping by @kevwan in #3521
- improve: optimize encoding functions and add descriptive comments by @cubxxw in #3543
- improve: limit logBrief http body size by @Awadabang in #3498
- fix: avoid losing logs before closing by @xt-inking in #3573
- fix: avoid integer overflow in mapping.Unmarshal by @kevwan in #3582
- fix: avoid float overflow in mapping.Unmarshal by @kevwan in #3590
New Contributors
- @liumin-go made their first contribution in #3512
- @POABOB made their first contribution in #3517
- @cubxxw made their first contribution in #3543
- @Awadabang made their first contribution in #3498
- @xt-inking made their first contribution in #3573
Full Changelog: v1.5.5...v1.5.6
goctl/v1.5.6
What's Changed
- feat: add api version by @kesonan in #3536
- fix: goctl pg gen will extract all fields when the same table name exists in different schemas (#3496) by @POABOB in #3517
New Contributors
- @liumin-go made their first contribution in #3512
- @POABOB made their first contribution in #3517
- @cubxxw made their first contribution in #3543
- @Awadabang made their first contribution in #3498
- @xt-inking made their first contribution in #3573
Full Changelog: v1.5.5...tools/goctl/v1.5.6
goctl/v1.5.5
What's Changed
- add api version declaration in API files by @kesonan in #3536
- fix #3499 by @kevwan in #3508
- minor improvements and bug fixes
New Contributors
- @liumin-go made their first contribution in #3512
Full Changelog: tools/goctl/v1.5.4...tools/goctl/v1.5.5