github zeromicro/go-zero v1.9.4

7 hours ago

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:
    • Fixed missing color for levelSevere in log output formatting (#5281)
    • Resolved test log timing and scheduling issues (#5305)
  • 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 getFullName function in configuration module for better efficiency (#5328)
  • Improved bool parsing performance by using strings.EqualFold in 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

Don't miss a new go-zero release

NewReleases is sending notifications on new releases.