Releases: zeromicro/go-zero
Releases · zeromicro/go-zero
Release v1.3.0-alpha
changed module name from github.com/tal-tech/go-zero
to github.com/zeromicro/go-zero
Release goctl v1.2.5
- 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
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
- @BYT0723 made their first contribution in #1298
- @CrazyZard made their first contribution in #1325
- @yangkequn made their first contribution in #1314
- @MarkJoyMa made their first contribution in #1313
- @lizhichao made their first contribution in #1343
- @charliecen made their first contribution in #1359
- @richardJiang made their first contribution in #1356
- @peasfarmer made their first contribution in #1366
- @qwxingzhe made their first contribution in #1369
- @Leizhengzi made their first contribution in #1377
- @moyrne made their first contribution in #1388
Full Changelog: v1.2.4...v1.2.5
Release goctl v1.2.4
- add
goctl bug
command to start reporting bug window - support bit type of mysql
- support bytea type of postgresql
- support
/
in API routes - bug fixes and minor improvements
Release v1.2.4
framework:
- support map in config file
- support customizing headers in CORS handler
- export zrpc/resolver to let other frameworks to interact with go-zero
- minor improvements
goctl:
- fix builderx import problem
- support returning primitive types and arrays in API handlers
- support prefix directive in API
- support root path in API
- bug fixes and minor improvements
Release v1.2.3
framework:
- support TLS in rest (web framework)
- support TLS in zrpc
- support TLS for redis connections
- support
username/password
authentication for etcd - support
CORS
in rest (web framework) - support
prefix
for group of routes, also supported throughprefix
in.api
files - support individual
timeout
setting for specific route(s) - support
NonBlock
dependency checking mode, default to be blocking mode slow threshold
for stat logs now can be set in redis, sqlx, mongo, rest, zrpc- minor bug fixes and improvements
goctl:
- support
prefix
code generation in.api
files - support multiple version templates
- optimize the syntax of requests with empty body
- fix the issue of grpc client package generation
- goctl returns non-zero status code on failure
- bug fixes and minor improvements
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