Skip to content

Releases: zeromicro/go-zero

goctl/v1.3.6

03 Jun 12:11
46078e7
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

v1.3.3

01 May 03:38
3bbc90e
Compare
Choose a tag to compare
  1. add mon and monc packages to use official driver for mongodb
  2. add httpc.Do and httpc.Service.Do to make requests from defined structs
  3. ignore timeout settings on websocket connections
  4. support sub-domains for CORS
  5. tracing span added in redis, sql and mongodb calls
  6. upgrade gRPC to 1.46, removed the deprecated usage of grpc.WithBalancerName
  7. bug fixes and minor improvements

goctl/v1.3.5

01 May 03:39
3bbc90e
Compare
Choose a tag to compare

Features

  • Support nested importing in API files
  • Add go-grpc_opt, go_opt flag for cmd goctl rpc new on #1769 by @chowyu12
  • Support go work multi-module on #1800 by @fynxiu
  • Minor improvements

Fix

  • Fix nil pointer if group not exists on #1773 by @anqiansong
  • Fix model code generation crash bug on #17777 by @600ML
  • Fix typo in file api/new/api.tpl on #1788 by @fynxiu
  • Fix generated files without name from empty API file on #1811 by @anqiansong
  • Other bug fixes

v1.3.2

03 Apr 12:09
78ea076
Compare
Choose a tag to compare
  • support cgroups v2 for CPU statistics
  • add httpc package
    • enable OpenTelemetry and circuit breaker for HTTP client calls
    • make parsing HTTP responses easy with httpc.Parse(...)
  • support - in tags of model, allows ignoring the corresponding fields on SQL queries
  • support :N dynamic parameters in Oracle database
  • support getset redis command
  • SetBit in redis now returns the original value
  • disable re-entrance for RedisLock
  • minor improvements and bug fixes

goctl/v1.3.4

03 Apr 14:00
58a0b17
Compare
Choose a tag to compare

What's Changed

  • support to set timeout in api on #1713 by jiang4869
  • support api format with reader input on #1722 by fynxiu
  • support -base to specify image for goctl docker on #1668 by kevwan
  • add --verbose flag for goctl env and goctl rpc on #1686 by anqiansong
  • make directories if not exists while zrpc code generation on #1659 by anqiansong
  • optimize cache model code generation on #1672 by Mikaelemmmm
  • optimize model tag on #1663 by mervin0502
  • remove command goctl rpc proto on #1665 by anqiansong

New Contributors

Full Changelog: tools/goctl/v1.3.3...tools/goctl/v1.3.4

tools/goctl/v1.3.3

17 Mar 14:28
448029a
Compare
Choose a tag to compare

Features

Fixes

  • Use struct pointer on #1538 by @mlr3000
  • Fix integer overflow while build goctl on arch 386 on #1582 by @anqiansong
  • Support form tag in dart on #1596 by @fynxiu
  • Fix goctl rpc code genertion on #1624 by @anqiansong
  • Fix kotlin code generion error on #1632 by @soasurs
  • Fix context missing in sql model on #1642 by @xybingbing

v1.3.1

01 Mar 12:29
e311286
Compare
Choose a tag to compare

What's Changed

  • update go-redis to v8, support ctx in redis methods, OpenTelemetry enabled by @kevwan in #1507
  • support ctx in sqlx/sqlc, OpenTelemetry enabled by @kevwan in #1535
  • support ctx in Cache, OpenTelemetry enabled by @chenquan in #1518
  • log 404 requests with traceid by @kevwan in #1554
  • minor bug fixes and improvements

New Contributors

Full Changelog: v1.3.0...v1.3.1

Release goctl v1.3.2

14 Feb 15:36
6deb806
Compare
Choose a tag to compare
  1. support goctl completion to enable zsh/bash completion
    type goctl and press TAB key to show completion, like below:
    image
  2. bug fixes and minor improvements

Release tools/goctl/v1.3.0

10 Feb 10:40
a402541
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.0...tools/goctl/v1.3.0

Release v1.3.0

01 Feb 04:32
7727d70
Compare
Choose a tag to compare

Framework

  • rename module from tal-tech to zeromicro by @kevwan in #1413
    • upgrade from earlier versions:
      1. update goctl: go install github.com/zeromicro/go-zero/tools/goctl@latest
      2. migrate command: goctl migrate --verbose --version v1.3.0
  • support re-entrance in periodlimit by @kevwan in #1428
  • support panic handling in mapreduce (core/mr package) by @kevwan in #1433
  • support the ltrim command of redis by @shenbaise9527 in #1443
  • implement console plain output for debug logs by @kevwan in #1456
  • optimize string search with Aho–Corasick algorithm by @kevwan in #1476
  • minor improvements and bug fixes

goctl

  • add migrate subcommand to upgrade go-zero from earlier versions by @anqiansong in #1419
  • fix goctl pg model generation without tag by @SpectatorNan in #1407
  • support rpc protoc subcommand to use installed protoc by @anqiansong in #1251
  • support global parameters in templates by @anqiansong in #1458
  • support JwtTransition in API files by @anqiansong in #1460
  • support same handler name in different API groups by @anqiansong in #1478
  • minor improvements and bug fixes

New Contributors

Full Changelog: v1.2.5...v1.3.0