We're excited to announce go-zero v1.9.4! This release includes important improvements, performance optimizations, and new features to enhance your microservices development experience.
New Features
- Kubernetes EndpointSlice Support: Migrated zrpc kube resolver from deprecated Endpoints API to EndpointSlice API for improved scalability and performance in Kubernetes environments (#4987)
- Redis GETEX Command: Added support for Redis GETEX command, enabling atomic get-and-expire operations (#5323)
Improvements
- Logging Improvements:
- Timing Wheel: Added missing
Wait()call and improved code clarity in timing wheel implementation (#5315) - Service Discovery: Added retry cooldown mechanism in etcd discovery to prevent CPU/disk exhaustion during authentication errors (#5347)
- Configuration Center: Fixed incorrect value notifications in configuration center updates (#5348)
- RPC Metrics: Corrected slow threshold priority handling in zrpc stat interceptor (#5310)
Performance Optimizations
- Optimized
getFullNamefunction in configuration module for better efficiency (#5328) - Improved bool parsing performance by using
strings.EqualFoldin mapping module (#5324)
New Contributors
Welcome to our new contributors!
Full Changelog
For a complete list of changes, see: v1.9.3...v1.9.4