v1.8.0
Released on 2025-01-28 — GitHub Release
✨ Highlights
Section titled “✨ 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
Section titled “🚀 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
Section titled “🐛 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
Section titled “🧹 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
Section titled “🎉 New Contributors”Welcome to our new contributors who helped make this release possible:
- @R1aEnKK made their first contribution in https://github.com/zeromicro/go-zero/pull/4570
- @sauryniu made their first contribution in https://github.com/zeromicro/go-zero/pull/4490
- @Nanosk07 made their first contribution in https://github.com/zeromicro/go-zero/pull/4514
- @studyzy made their first contribution in https://github.com/zeromicro/go-zero/pull/4443
- @wangshiben made their first contribution in https://github.com/zeromicro/go-zero/pull/4397
- @xujb977644703 made their first contribution in https://github.com/zeromicro/go-zero/pull/4559
Full Changelog: https://github.com/zeromicro/go-zero/compare/v1.7.6…v1.8.0