Skip to content

Releases: zeromicro/go-zero

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)
    

Release v1.0.29

28 Nov 15:35
e5c560e
Compare
Choose a tag to compare

goctl:

  1. add model interface, easier for mocking
  2. improve naming style of generated files
  3. minor improvements

Release v1.0.28

19 Nov 14:25
e0afe0b
Compare
Choose a tag to compare
  1. support customized error handler for httpx.Error(...) in rest, check the example here
  2. struct keyword is optional in .api files
  3. add -style in goctl rpc subcommand, check details in goctl rpc proto -h
  4. fix goctl bugs

Release v1.0.27

14 Nov 13:52
16bfb1b
Compare
Choose a tag to compare
  1. fix the problem that adding grpc client interceptor overwrites existing interceptors
  2. optimize the parsing of api file
  3. support // comment in api file
  4. support type and service definition in imported api file