Skip to content

Releases: zeromicro/go-zero

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

Release v1.0.26

08 Nov 14:56
Compare
Choose a tag to compare
  1. support Dockerfile generation in goctl
    goctl docker -go shorturl.go
    and run following command in the dir which contains go.mod, like
    docker build -t shorturl:v1 -f api/Dockerfile .
    to build the docker image
  2. fix goctl proto arguments problem, use -o to specify proto file

Release v1.0.25

05 Nov 11:09
856b5aa
Compare
Choose a tag to compare
  1. fix goctl rpc generation bug

Release v1.0.24

05 Nov 07:58
e76f44a
Compare
Choose a tag to compare
  1. support https in rest
  2. optimized goctl rpc commands
  3. minor improvements