Skip to content

Releases: zeromicro/go-zero

goctl/v1.7.6

29 Jan 04:52
e134e77
Compare
Choose a tag to compare

Features

  • Added support for generating unit test files for API handlers and logic (#4443)
    • Implemented as per the request in issue #4442
    • Contributed by @studyzy

Bug Fixes

  • Fixed syntax of key expression (#4586)
  • Fixed security vulnerability related to arbitrary file access during archive extraction ("Zip Slip") (#4604)
    • Addressed code scanning alert no. 57
    • Contributed by @kevwan

Improvements

  • Removed default usage of goproxy (#4613)
    • goproxy should be set by go env -w if needed
    • Contributed by @kevwan

New Contributors

Full Changelog: tools/goctl/v1.7.5...tools/goctl/v1.7.6

v1.8.0

28 Jan 16:48
ae09d0e
Compare
Choose a tag to compare

✨ Highlights

  • Added inbound HTTP to outbound HTTP in gateway, previously only inbound HTTP to outbound gRPC
  • Introduced automatic config validation
  • Added FreeBSD support
  • Enhanced logging capabilities with new Debugfn and Infofn functions
  • Added SQL metrics functionality
  • Added Redis user authentication support

🚀 Features

  • Support for HTTP to HTTP in gateway
  • Automatic configuration validation
  • FreeBSD platform support
  • New SQL metrics functionality
  • Added Debugfn and Infofn to logx/logc
  • Redis authentication with new User property in RedisConf
  • Improved metrics collection for MySQL

🐛 Bug Fixes

  • Resolved etcd discovery mechanism on gRPC with idle manager on latest gRPC versions
  • Fixed health check issues, returns OK before server finishing start
  • Fixed httpx.ParseJsonBody error with []byte fields
  • Fixed empty form values handling in HTTP requests

🧹 Chores & Optimizations

  • Updated Go version
  • Multiple dependency updates:
    • golang.org/x/time to v0.9.0
    • golang.org/x/sys to v0.29.0
    • google.golang.org/protobuf to v1.36.4
    • golang.org/x/net to v0.34.0
    • go.mongodb.org/mongo-driver to v1.17.2
  • Optimized error messages for mapping data method
  • Enhanced logging system with more tests

🎉 New Contributors

Welcome to our new contributors who helped make this release possible:

Full Changelog: v1.7.6...v1.8.0

v1.7.6

02 Jan 14:13
cdd0685
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.7.5...v1.7.6

goctl/v1.7.5

02 Jan 14:41
4ac8b49
Compare
Choose a tag to compare

What's Changed

Full Changelog: tools/goctl/v1.7.4...tools/goctl/v1.7.5

v1.7.5

01 Jan 15:53
48d21ef
Compare
Choose a tag to compare

What's Changed

  • feat: support form array in three notations by @kevwan in #4498
  • feat: add ShutdownConf to make shutdown time configurable by @WqyJh in #4446
  • fix: service group not working well when callback takes long time by @kevwan in #4531
  • fix: go work duplicate prefix get error by @godLei6 in #4487
  • fix: SetSlowThreshold not effective in function logDetails by @wwwangxc in #4511
  • fix: DetailedLog format. by @r27153733 in #4467

New Contributors

Full Changelog: v1.7.4...v1.7.5

goctl/v1.7.4

01 Jan 16:30
cfe03ea
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: tools/goctl/v1.7.3...tools/goctl/v1.7.4

v1.7.4

24 Nov 10:22
cad2439
Compare
Choose a tag to compare

What's Changed

  • feat: support query array with httpx.Parse by @kevwan in #4440
  • feat: support using json array directly in HTTP request body with httpx.Parse by @kevwan in #4444

New Contributors

Full Changelog: v1.7.3...v1.7.4

goctl/v1.7.3

20 Oct 02:39
1a3dc75
Compare
Choose a tag to compare

What's Changed

  • chore: fix goctl Dockerfile warnings by @kevwan in #4358
  • fix: goctl k8s autoscaling version upgrade by @kevwan in #4387
  • fix the source code directory after the soft link by @yangjinheng in #4425
  • minor improvements and bug fixes

New Contributors

Full Changelog: tools/goctl/v1.7.2...tools/goctl/v1.7.3

v1.7.3

19 Oct 15:46
796dd5b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.7.2...v1.7.3

v1.7.2

03 Sep 01:09
077b607
Compare
Choose a tag to compare

What's Changed

  • fix: etcd scheme on grpc resolver with multiple zrpc clients by @MarkJoyMa in #4349
  • fix: should check if devServer Enabled, then call once.Do() by @jursonmo in #4351

New Contributors

Full Changelog: v1.7.1...v1.7.2