v1.6.0
版本发布时间: 2023-10-28 21:02:59
zeromicro/go-zero最新发布版本:v1.7.2(2024-09-03 09:09:07)
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 https://github.com/zeromicro/go-zero/pull/3624
- feat: support the signal SIGINT for graceful shutdown by @Suyghur in https://github.com/zeromicro/go-zero/pull/3611
- feat: support the timeout for individual rpc methods by @vankillua in https://github.com/zeromicro/go-zero/pull/2742
- feat: model add withSession by @MarkJoyMa in https://github.com/zeromicro/go-zero/pull/3658
- feat: retry with ctx deadline supported by @kevwan in https://github.com/zeromicro/go-zero/pull/3626
- feat: support for disable mon logs like sqlx by @shenbaise9527 in https://github.com/zeromicro/go-zero/pull/3606
- feat: support for resource injection in trace agent by @reatang in https://github.com/zeromicro/go-zero/pull/3383
- feat: export devserver.Config for customizing devserver by @kesonan in https://github.com/zeromicro/go-zero/pull/3638
- feat: added
Dec()
andSub()
inGaugeVec
in metrics by @Suyghur in https://github.com/zeromicro/go-zero/pull/3666 - fix: UpdateStmt doesn't update the statement correctly in sqlx/bulkinserter.go by @kevwan in https://github.com/zeromicro/go-zero/pull/3607
- fix: unmarshal from number to string with incorrect error message by @kevwan in https://github.com/zeromicro/go-zero/pull/3625
- fix: optimize logx for less GC objects by @kevwan in https://github.com/zeromicro/go-zero/pull/3627
- fix: upgrade grpc-go,fix 0day problem. by @guonaihong in https://github.com/zeromicro/go-zero/pull/3623
- chore: update restful/grpc servers graceful stop to shutdown stage by @kevwan in https://github.com/zeromicro/go-zero/pull/3662
- minor bug fixes and improvements
New Contributors
- @eltociear made their first contribution in https://github.com/zeromicro/go-zero/pull/3620
- @sohamtembhurne made their first contribution in https://github.com/zeromicro/go-zero/pull/3630
- @0Armaan025 made their first contribution in https://github.com/zeromicro/go-zero/pull/3643
- @suravshresth made their first contribution in https://github.com/zeromicro/go-zero/pull/3650
- @accaolei made their first contribution in https://github.com/zeromicro/go-zero/pull/3427
- @7134g made their first contribution in https://github.com/zeromicro/go-zero/pull/3642
- @bhargavshirin made their first contribution in https://github.com/zeromicro/go-zero/pull/3664
- @vankillua made their first contribution in https://github.com/zeromicro/go-zero/pull/2742
Full Changelog: https://github.com/zeromicro/go-zero/compare/v1.5.6...v1.6.0