Releases: zeromicro/go-zero
Releases · zeromicro/go-zero
Release v1.2.2
framework:
- Support OpenTelemetry,
Trace ID
is set in responses with HTTP headerX-Trace-Id
AtomicError
now accept nil error- Deprecated
redis.NewRedis
, useredis.New
instead
goctl:
- Supported protoc plugin
protoc-gen-goctl
- Fixed issue #1058
Release v1.2.1
framework:
- downgrade
k8s.io/client-go
to use go 1.15 - fix
proc.Done
issue on windows
goctl:
- fix #1028, remove
goctl config
subcommand - fix goctl issue on windows for
ReadLink
not defined
Release v1.2.0
framework:
- suported Kubernetes based service discovery, use
k8s://namespace/service:port
as the RPCTarget
value. More service discovery solutions can be supported by plugins. - logging arbitary value with json format, use
logx.Infov/Errorv/Slowv
. - disable stat logs by calling
logx.DisableStat()
. - bug fixes and improvements.
goctl:
- optimize code generation for mongodb without cache
- optimize environment check before grpc code generation
- optimize naming specification in model
- print errors along with the goctl version and details
- #915 resolve inline message code generation in grpc
- #925, #929 optimize data type conversion for mysql in case NULL column
- #968 read the destination path from symbol link
Release v1.1.10
Framework:
- make circuit breaker works on RPC calls time out
goctl:
- code generation bug fixes
Release v1.1.9
Framework:
httpx.Parse(...)
now parses http header as well- exits on port already in use
- minor bug fixes and improvements
goctl:
- add flag
--go_opt
forgoctl proto
to be compatible withgithub.com/golang/protobuf/[email protected]
- replace sql-parser with ddl-parser
- support gRPC stream code generation
- support postgresql model generation
- support mysql data type blob
- add flag
--home
to specify the directory to save the goctl templates
Release v1.1.8
framework:
- upgrade gRPC to v1.38.0
- upgrade etcd to v3.5.0
- add more functions in fx package
- support unmarshaling multi-dim slices in mapping package
- more clear errors on wrong routes for rest routes
- detail sql statements in sql logs
- minor bug fixes and improvements
goctl:
- replace cache key with colon
- parse comments and documents in .api files to api.Spec
- replace new line with empty string for column comment
- minor bug fixes and improvements
Release v1.1.7
framework:
- support tls in redis
- disable prometheus if not configured in config files
- remove contextx.ShrinkDeadline, use context.WithTimeout instead
goctl:
- fix antlr conflicts on installing goctl
Release v1.1.6
- support websocket, check example at https://github.com/zeromicro/zero-examples/tree/main/chat
- support customizing time format in logx
- support postgresql
- support goctl mongodb model generation
- minor improvements
Release v1.1.5
-
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
framework:
- improvements on rolling window algorithm
- improvements on shutdown callbacks on windows
goctl:
- make goctl error more accurate
- fix minor bugs