Skip to content

Releases: zeromicro/go-zero

Release v1.1.9

03 Aug 08:11
c8428a7
Compare
Choose a tag to compare

Framework:

  1. httpx.Parse(...) now parses http header as well
  2. exits on port already in use
  3. minor bug fixes and improvements

goctl:

  1. add flag --go_opt for goctl proto to be compatible with github.com/golang/protobuf/[email protected]
  2. replace sql-parser with ddl-parser
  3. support gRPC stream code generation
  4. support postgresql model generation
  5. support mysql data type blob
  6. add flag --home to specify the directory to save the goctl templates

Release v1.1.8

28 Jun 09:21
9ccb997
Compare
Choose a tag to compare

framework:

  1. upgrade gRPC to v1.38.0
  2. upgrade etcd to v3.5.0
  3. add more functions in fx package
  4. support unmarshaling multi-dim slices in mapping package
  5. more clear errors on wrong routes for rest routes
  6. detail sql statements in sql logs
  7. minor bug fixes and improvements

goctl:

  1. replace cache key with colon
  2. parse comments and documents in .api files to api.Spec
  3. replace new line with empty string for column comment
  4. minor bug fixes and improvements

Release v1.1.7

08 May 13:56
8478474
Compare
Choose a tag to compare

framework:

  1. support tls in redis
  2. disable prometheus if not configured in config files
  3. remove contextx.ShrinkDeadline, use context.WithTimeout instead

goctl:

  1. fix antlr conflicts on installing goctl

Release v1.1.6

27 Mar 12:29
8885516
Compare
Choose a tag to compare
  1. support websocket, check example at https://github.com/zeromicro/zero-examples/tree/main/chat
  2. support customizing time format in logx
  3. support postgresql
  4. support goctl mongodb model generation
  5. minor improvements

Release v1.1.5

02 Mar 14:08
f01472c
Compare
Choose a tag to compare
  • Framework:

    • support disabling stat logs via stat.DisableLog()
    • change zrpc default timeout to 2s, set 0 to disable timeout
    • minor improvements
  • goctl:

    • support unique indexes on multiple columns in sql+cache code generation
    • minor improvements

Release v1.1.4

18 Jan 08:55
43e712d
Compare
Choose a tag to compare

framework:

  1. improvements on rolling window algorithm
  2. improvements on shutdown callbacks on windows

goctl:

  1. make goctl error more accurate
  2. fix minor bugs

Release v1.1.3-beta

14 Jan 03:25
744c18b
Compare
Choose a tag to compare
Release v1.1.3-beta Pre-release
Pre-release

framework:

  1. improvements on rolling window algorithm
  2. improvements on shutdown callbacks on windows

goctl:

  1. make goctl error more accurate
  2. fix minor bugs

Release v1.1.2

08 Jan 05:18
57b73d8
Compare
Choose a tag to compare
  1. rest multiple RunOption supported
  2. race condition fixed in PeriodicalExecutor
  3. support http.Flusher in http.ResponseWriter implementations
  4. support env vars in config file, use ${VAR}

Release v1.1.1

12 Dec 10:25
acd48f0
Compare
Choose a tag to compare
  1. Dockerfile generation improvements in goctl
  2. minor improvements in goctl

Release v1.1.0

09 Dec 14:45
0d7f1d2
Compare
Choose a tag to compare

goctl:

  1. require go 1.14
  2. plugins supported in api code generation
  3. support kubernetes deployment yaml file generation
    $ goctl kube deploy
    NAME:
       goctl kube deploy - generate deployment yaml file
    
    USAGE:
       goctl kube deploy [command options] [arguments...]
    
    OPTIONS:
       --name value         the name of deployment
       --namespace value    the namespace of deployment
       --image value        the docker image of deployment
       --secret value       the image pull secret
       --requestCpu value   the request cpu to deploy (default: 500)
       --requestMem value   the request memory to deploy (default: 512)
       --limitCpu value     the limit cpu to deploy (default: 1000)
       --limitMem value     the limit memory to deploy (default: 1024)
       -o value             the output yaml file
       --replicas value     the number of replicas to deploy (default: 3)
       --revisions value    the number of revision history to limit (default: 5)
       --port value         the port of the deployment to listen on pod (default: 0)
       --nodePort value     the nodePort of the deployment to expose (default: 0)
       --minReplicas value  the min replicas to deploy (default: 3)
       --maxReplicas value  the max replicas of deploy (default: 10)