Releases: zeromicro/go-zero
Releases · zeromicro/go-zero
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
v1.5.3
What's Changed
- support using session to execute statements in transaction by @kevwan in #3252
- enable prometheus global switch when user enable devsever metrics by @zcong1993 in #3169
- support optional otel global initialization for #3284 by @JasonMing in #3292
- trace exporter, add new type
file
by @Kangkeizai in #3298 - change port to 6060 by default in devserver by @kevwan in #3191
- remove default keepalive params for NewClientWithTarget by @zcong1993 in #3208
- remove etcd pings to avoid too-many-pings error by @kevwan in #3212
- sqlc add SetCacheWithExpire method by @lhcGinv in #3249
- expand the retry method to support timeout and interval control by @jiang4869 in #3283
- add method label for prometheus middleware metrics by @SleeplessBot in #3226
- add RunSafe with context by @runtu666 in #3224
- add otlptracegrpc otlptracehttp headers support for Uptrace by @toby1991 in #3219
- add OtlpHttpPath config support for ZincObserve Telemetry by @toby1991 in #3271
- more minor improvements and bug fixes
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...v1.5.3
v1.5.2
What's Changed
- fixed timeout problem in gateway config
- set 0 as default value for keepalive in gRPC clients, this is the default behavior for gRPC
- make max bytes limit take effect on cryptionhandler on HTTP handlers
- add Max/Min for stream in fx package
- make error messages more accurate
- minor bug fixes and improvements
New Contributors
- @fzdwx made their first contribution in #3114
- @RivenChan made their first contribution in #3129
- @liamhao made their first contribution in #3142
Full Changelog: v1.5.1...v1.5.2
goctl/v1.5.2
What's Changed
- fix(goctl): missing rpc --style flag by @anqiansong in #3112
- fix(goctl): test field by @fzdwx in #3114
New Contributors
- @fzdwx made their first contribution in #3114
- @RivenChan made their first contribution in #3129
- @liamhao made their first contribution in #3142
Full Changelog: v1.5.1...tools/goctl/v1.5.2