Skip to content

Releases: zeromicro/go-zero

goctl/v1.4.4

21 Jan 13:50
f3369f8
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: tools/goctl/v1.4.3...tools/goctl/v1.4.4

v1.4.3

14 Dec 15:40
7a75dce
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.4.2...v1.4.3

goctl/v1.4.3

12 Dec 16:22
f76b976
Compare
Choose a tag to compare

What's Changed

  • fix(goctl): fix redundant import by @anqiansong in #2551
  • chore: update "DO NOT EDIT" format by @foliet in #2559
  • fix(goctl): Fix #2561 by @anqiansong in #2562
  • fix(change model template file type): All model template variables ar… by @jsonMark in #2573
  • fix: fix conflict with the import package name by @chensylz in #2610
  • replace strings.Title to cases.Title by @EinfachePhy in #2650
  • Fixes #2603 bump goctl cobra version to macos completion help bug by @bensonfx in #2656
  • optimize(goctl): Add more test by @anqiansong in #2692

New Contributors

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

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