Releases: zeromicro/go-zero
Releases · zeromicro/go-zero
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
v1.5.5
What's Changed
- feat: add prometheus summary metrics by @ShyunnY in #3440
- feat: support dot(.) char in form and path names in rest by @kevwan in #3493
- feat: optimize mapping error by @MarkJoyMa in #3438
- fix: format error should not trigger circuit breaker in sqlx by @kevwan in #3437
- fix: remove mapping redundant error by @MarkJoyMa in #3439
- fix: potential nil pointer errors by @kevwan in #3454
- minor improvements and bug fixes
Full Changelog: v1.5.4...v1.5.5
v1.5.4
What's Changed
- feat: httpx add
httpx.SetOkHandler
by @zhouyusd in #3269 - feat: optimize
logx.Must
with adding stacktrace by @MarkJoyMa in #3384 - feat: support
Flush
inrest.TimeoutHandler
by @u2nyakim in #3388 - feat: make
ServiceGroup
panic as demand by @kevwan in #3422 - feat: support for custom
Acceptable
function by @chenquan in #3405 - feat: add detail type mismatch info in number fields check by @lxy1992 in #3387
- feat: logx with
Compress
auto delete old logs by @ren544735689 in #3329 - fix:
NewClientWithTarget
miss default config by @MarkJoyMa in #3358 - optimize: improve logx performance by @kevwan in #3371
- optimize: improve logx gzip by @kevwan in #3332
- minor improvements and bug fixes
New Contributors
- @ren544735689 made their first contribution in #3329
- @elza2 made their first contribution in #3319
- @zhouyusd made their first contribution in #3269
- @2822132073 made their first contribution in #3357
- @u2nyakim made their first contribution in #3388
- @lxy1992 made their first contribution in #3387
Full Changelog: v1.5.3...v1.5.4
goctl/v1.5.4
What's Changed
- feat: add whether to generate rpc client option by @Mikaelemmmm on #3361
- fix: invalid character 'A' looking for beginning of value on windows by @2822132073 on #3357
- fix: soft link dir recognized error by @reatang on #3337
- fix: goctl model gen bug with default null #3328 by @kesonan on #3348
- fix: goctl home dir read error by @elza2 on #3319
New Contributors
- @ren544735689 made their first contribution in #3329
- @elza2 made their first contribution in #3319
- @zhouyusd made their first contribution in #3269
- @2822132073 made their first contribution in #3357
- @u2nyakim made their first contribution in #3388
- @lxy1992 made their first contribution in #3387
Full Changelog: tools/goctl/v1.5.3...tools/goctl/v1.5.4
goctl/v1.5.3
What's Changed
- [dart-gen] Fix nullable list item issue by @fondoger in #3192
- feat: replaced color package to support Windows by @almas1992 in #3207
- [dart-gen] Fix lists containing atomic types by @fondoger in #3210
- fix: generate client directory for goctl by @wangyi12358 in #3166
- api imports take the form of relative paths by @lchjczw in #3201
New Contributors
- @guonaihong made their first contribution in #3176
- @SleeplessBot made their first contribution in #3226
- @runtu666 made their first contribution in #3224
- @toby1991 made their first contribution in #3219
- @wangyi12358 made their first contribution in #3166
- @me-cs made their first contribution in #3285
- @lhcGinv made their first contribution in #3249
- @JasonMing made their first contribution in #3292
- @Kangkeizai made their first contribution in #3298
Full Changelog: v1.5.2...tools/goctl/v1.5.3