Skip to content

Releases: zeromicro/go-zero

v1.4.2

22 Oct 15:35
06e4914
Compare
Choose a tag to compare

New Features

  • add logc package, use it like logc.Info(ctx, msg)
  • support debug level in logx
  • support caller skip in logx
  • add color for debug logs
  • add AddGlobalFields for logc and logx
  • add logger.WithFields method in logx
  • support unmarshaling string into map in httpx.Parse
  • support customizing timeout for redis blpop
  • support unmarshaling types that implements encoding.TextUnmarshaler, like uuid.UUID
  • support disabling trace for specified span names

What's Changed

New Contributors

Full Changelog: v1.4.1...v1.4.2

goctl/v1.4.2

22 Oct 15:40
06e4914
Compare
Choose a tag to compare

What's Changed

  • feat(goctl):Add ignore-columns flag by @anqiansong in #2407
  • fix goctl help message by @MarkJoyMa in #2414
  • fix(goctl): fix the unit test bug of goctl by @chenquan in #2458
  • feat(goctl): better generate the api code of typescript by @foliet in #2483
  • fix(goctl): Fix mongo insert tpl by @anqiansong in #2512
  • fix(goctl): Fix issues by @anqiansong in #2543

New Contributors

Full Changelog: tools/goctl/v1.4.1...tools/goctl/v1.4.2

v1.4.1

17 Sep 14:43
1f6688e
Compare
Choose a tag to compare

Framework

  • Support disabling sql logs and sql slow logs respectively
  • Make gRPC builtin health check optional, configure it in config files
  • Add ZaddFloat & ZaddFloatCtx for redis
  • Collect CPU usages if necessary
  • Add Range method in safemap
  • Support baggage propagation in httpc
  • Add opentelemetry grpc exporter
  • Support mysql and redis metrics
  • Fix the CORS problem when JWT expires
  • More accurate panic message on mapreduce
  • Handle the scenarios that content-length is invalid
  • Minor improvements and bug fixes

What's Changed

New Contributors

Full Changelog: v1.4.0...v1.4.1

goctl/v1.4.1

17 Sep 15:08
Compare
Choose a tag to compare

Fix:

  • fix issue # 2359: nested type generation error on #2368 by @anqiansong
  • fix unsignedTypeMap type error on #2246 by @fyyang

Features:

  • Hide java command

v1.4.0

07 Aug 08:23
731b3eb
Compare
Choose a tag to compare

Framework:

  • Support gRPC gateway, use RESTful APIs for gRPC services
  • Support Routes method to get all registered HTTP routes
  • Support log file rotation base on file size
  • Auto close response.Body in httpc when calling Parse methods
  • Support context as parameters in RedisLock
  • Minor bug fixes and improvements

What's Changed

New Contributors

Full Changelog: v1.3.5...v1.4.0

goctl/v1.4.0

07 Aug 08:50
da5770e
Compare
Choose a tag to compare

Features

  1. Support for multiple rpc service generation and rpc grouping by @anqiansong on #1972
  2. goctl model mongo add easy flag for easy declare by @czyt on #2073

Fixes

  1. Fix url routing bug by @anqiansong on #2131
  2. Fix duplicate import rest/httpx by @smithyj on #2152
  3. Fix duplicate route check by @fisnone on #2154

What's Changed

New Contributors

Full Changelog: tools/goctl/v1.3.9...tools/goctl/v1.4.0

v1.3.5

09 Jul 10:03
97a1714
Compare
Choose a tag to compare

Features and Updates:

  1. add svr.PrintRoutes() to print registered routes in rest servers
  2. convert grpc errors to http status codes automatically
  3. support to disable builtin middlewares and use self-defined ones in rest
  4. add trace-id, span-id in httpc
  5. add TakeCtx in PeriodLimit
  6. minor improvements and bug fixes

What's Changed

New Contributors

Full Changelog: v1.3.4...v1.3.5

goctl/v1.3.9

09 Jul 10:04
97a1714
Compare
Choose a tag to compare

feature

  1. Add 'imagePullPolicy' parameter for 'goctl kube deploy' by @swliao425
  2. Replace mongo package with mon & monc
  3. Add command desc & color commands
  4. Support build Dockerfile from current dir
  5. Support generate mongo model with auto generated collection names

fix

  1. Fix pg subcommand level error by @anqiansong
  2. Fix generate bad Dockerfile on given dir by @kevwan
  3. Fix goctl api clone template fail by @MarkJoyMa
  4. Fix issue #1977 by @anqiansong
  5. Fix quickstart wrong package when go.mod exists in parent dir by @kevwan

goctl/v1.3.8

06 Jun 12:44
2c6b422
Compare
Choose a tag to compare

Bug fixes.

goctl/v1.3.7

05 Jun 11:04
1d95e95
Compare
Choose a tag to compare

goctl

  • add goctl quickstart command
  • refactor cli to cobra
  • improve cache management in model update template
  • bug fixes and improvements
  • fix the beta tag in version