Skip to content

Releases: zeromicro/go-zero

v1.6.0

28 Oct 13:02
07e3e14
Compare
Choose a tag to compare

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() and Sub() in GaugeVec 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

Full Changelog: v1.5.6...v1.6.0

goctl/v1.6.0

28 Oct 13:47
52963c2
Compare
Choose a tag to compare

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

Full Changelog: v1.5.6...tools/goctl/v1.6.0

v1.5.6

27 Sep 14:37
421e661
Compare
Choose a tag to compare

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

Full Changelog: v1.5.5...v1.5.6

goctl/v1.5.6

27 Sep 14:57
4878f90
Compare
Choose a tag to compare

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

Full Changelog: v1.5.5...tools/goctl/v1.5.6

goctl/v1.5.5

03 Sep 04:06
c4ef9ce
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: tools/goctl/v1.5.4...tools/goctl/v1.5.5

v1.5.5

20 Aug 13:23
14fcbd7
Compare
Choose a tag to compare

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

14 Jul 13:26
b245159
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.3...v1.5.4

goctl/v1.5.4

16 Jul 13:21
5764442
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: tools/goctl/v1.5.3...tools/goctl/v1.5.4

goctl/v1.5.3

04 Jun 09:32
50e29e2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.2...tools/goctl/v1.5.3

v1.5.3

04 Jun 09:19
452c9db
Compare
Choose a tag to compare

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

Full Changelog: v1.5.2...v1.5.3