zeromicro/go-zero
 Watch   
 Star   
 Fork   
16 days ago
go-zero

goctl/v1.7.7

Release Notes - go-zero/goctl v1.7.7

🚀 Features

  • Added support for go work (#4344) @ningzio
  • Added support for custom key prefix in cache generation (#4643) @kesonan

🐛 Bug Fixes

  • Fixed duplicate path expression handling under different prefixes (#4626) @youzipi

📦 Dependencies

  • Bumped github.com/spf13/pflag from 1.0.5 to 1.0.6 (#4615)
  • Bumped golang.org/x/text from 0.21.0 to 0.22.0 (#4620)
  • Bumped google.golang.org/protobuf from 1.36.4 to 1.36.5 (#4628)

🎉 Welcome New Contributors!

We're excited to welcome these new contributors to the project:

Links

2025-01-29 12:47:23
go-zero

goctl/v1.7.6

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)
    • Contributed by @kesonan
  • 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: https://github.com/zeromicro/go-zero/compare/tools/goctl/v1.7.5...tools/goctl/v1.7.6

2025-01-29 00:32:21
go-zero

v1.8.0

✨ 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: https://github.com/zeromicro/go-zero/compare/v1.7.6...v1.8.0

2025-01-02 22:33:19
go-zero
2025-01-02 22:12:10
go-zero

v1.7.6

What's Changed

Full Changelog: https://github.com/zeromicro/go-zero/compare/v1.7.5...v1.7.6

2025-01-02 00:26:08
go-zero

goctl/v1.7.4

What's Changed

New Contributors

Full Changelog: https://github.com/zeromicro/go-zero/compare/tools/goctl/v1.7.3...tools/goctl/v1.7.4

2025-01-01 20:49:45
go-zero

v1.7.5

What's Changed

New Contributors

Full Changelog: https://github.com/zeromicro/go-zero/compare/v1.7.4...v1.7.5

2024-11-21 21:40:08
go-zero

v1.7.4

What's Changed

New Contributors

Full Changelog: https://github.com/zeromicro/go-zero/compare/v1.7.3...v1.7.4

2024-10-20 10:38:04
go-zero

goctl/v1.7.3

What's Changed

New Contributors

Full Changelog: https://github.com/zeromicro/go-zero/compare/tools/goctl/v1.7.2...tools/goctl/v1.7.3

2024-10-19 23:37:44
go-zero

v1.7.3

What's Changed

New Contributors

Full Changelog: https://github.com/zeromicro/go-zero/compare/v1.7.2...v1.7.3