Skip to content

Releases: zeromicro/go-zero

Release v1.3.0-alpha

05 Jan 04:23
ba6a7c9
Compare
Choose a tag to compare
Release v1.3.0-alpha Pre-release
Pre-release

changed module name from github.com/tal-tech/go-zero to github.com/zeromicro/go-zero

Release goctl v1.2.5

03 Jan 16:07
e267d94
Compare
Choose a tag to compare
  • fix: goctl upgrade issue on windows by @anqiansong in #1307
  • fix: goctl not working for / path by @anqiansong in #1321
  • support postgresql data type bytea in model generation by @yangkequn in #1314
  • add goctl bug to report bugs conveniently by @anqiansong in #1332
  • keep the golang keywords in model tags by @qwxingzhe in #1369
  • support bit byte for mysql code generation by @anqiansong in #1380
  • add --remote for using remote git repo as goctl template by @anqiansong in #1387
  • fix --home bugs by @anqiansong in #1382

Release v1.2.5

03 Jan 13:07
290de6a
Compare
Choose a tag to compare

framework:

  • fix: load balancer for gRPC might crash on 32-bit cpu by @BYT0723 in #1298
  • fix: concurrent problems for logx.WithContext and logx.WithDuration by @kevwan in #1317
  • add redis.Decr, redis.Decrby, redis.Lindex methods by @CrazyZard in #1325
  • support adding custom cache to mongoc and sqlc by @MarkJoyMa in #1313
  • set the status code for client closed requests as 499 by @kevwan in #1350
  • support context in MapReduce by @kevwan in #1368
  • support array in default and options tags for unmarshal methods by @kevwan in #1386
  • httpx.SetErrorHandler now works for http timeout error by @kevwan in #1389
  • implement fx.NoneMatch, fx.First, fx.Last by @kevwan in #1402
  • support TLS for etcd client by @kevwan in #1390

goctl

  • fix: goctl upgrade issue on windows by @anqiansong in #1307
  • fix: goctl not working for / path by @anqiansong in #1321
  • support postgresql data type bytea in model generation by @yangkequn in #1314
  • add goctl bug to report bugs conveniently by @anqiansong in #1332
  • keep the golang keywords in model tags by @qwxingzhe in #1369
  • support bit byte for mysql code generation by @anqiansong in #1380
  • add --remote for using remote git repo as goctl template by @anqiansong in #1387
  • fix --home bugs by @anqiansong in #1382

New Contributors

Full Changelog: v1.2.4...v1.2.5

Release goctl v1.2.4

30 Dec 06:52
c6eb1a9
Compare
Choose a tag to compare
  1. add goctl bug command to start reporting bug window
  2. support bit type of mysql
  3. support bytea type of postgresql
  4. support / in API routes
  5. bug fixes and minor improvements

Release v1.2.4

01 Dec 15:00
9d528dd
Compare
Choose a tag to compare

framework:

  1. support map in config file
  2. support customizing headers in CORS handler
  3. export zrpc/resolver to let other frameworks to interact with go-zero
  4. minor improvements

goctl:

  1. fix builderx import problem
  2. support returning primitive types and arrays in API handlers
  3. support prefix directive in API
  4. support root path in API
  5. bug fixes and minor improvements

Release v1.2.3

16 Nov 00:19
67db40e
Compare
Choose a tag to compare

framework:

  1. support TLS in rest (web framework)
  2. support TLS in zrpc
  3. support TLS for redis connections
  4. support username/password authentication for etcd
  5. support CORS in rest (web framework)
  6. support prefix for group of routes, also supported through prefix in .api files
  7. support individual timeout setting for specific route(s)
  8. support NonBlock dependency checking mode, default to be blocking mode
  9. slow threshold for stat logs now can be set in redis, sqlx, mongo, rest, zrpc
  10. minor bug fixes and improvements

goctl:

  1. support prefix code generation in .api files
  2. support multiple version templates
  3. optimize the syntax of requests with empty body
  4. fix the issue of grpc client package generation
  5. goctl returns non-zero status code on failure
  6. bug fixes and minor improvements

Release v1.2.2

12 Oct 14:20
6a8638f
Compare
Choose a tag to compare

framework:

  1. Support OpenTelemetry, Trace ID is set in responses with HTTP header X-Trace-Id
  2. AtomicError now accept nil error
  3. Deprecated redis.NewRedis, use redis.New instead

goctl:

  1. Supported protoc plugin protoc-gen-goctl
  2. Fixed issue #1058

Release v1.2.1

14 Sep 00:45
2bd95aa
Compare
Choose a tag to compare

framework:

  1. downgrade k8s.io/client-go to use go 1.15
  2. fix proc.Done issue on windows

goctl:

  1. fix #1028, remove goctl config subcommand
  2. fix goctl issue on windows for ReadLink not defined

Release v1.2.0

13 Sep 04:02
71c0288
Compare
Choose a tag to compare

framework:

  1. suported Kubernetes based service discovery, use k8s://namespace/service:port as the RPC Target value. More service discovery solutions can be supported by plugins.
  2. logging arbitary value with json format, use logx.Infov/Errorv/Slowv.
  3. disable stat logs by calling logx.DisableStat().
  4. bug fixes and improvements.

goctl:

  1. optimize code generation for mongodb without cache
  2. optimize environment check before grpc code generation
  3. optimize naming specification in model
  4. print errors along with the goctl version and details
  5. #915 resolve inline message code generation in grpc
  6. #925, #929 optimize data type conversion for mysql in case NULL column
  7. #968 read the destination path from symbol link

Release v1.1.10

04 Aug 11:41
f7f3730
Compare
Choose a tag to compare

Framework:

  1. make circuit breaker works on RPC calls time out

goctl:

  1. code generation bug fixes