π Highlights
- Token-based Authentication: Added
StreamingCredentialsProvider for dynamic credential updates (experimental)
- Connection Statistics: Added connection waiting statistics for better monitoring
- Failover Improvements: Added
ParseFailoverURL for easier failover configuration
- Ring Client Enhancements: Added shard access methods for better Pub/Sub management
β¨ New Features
- Added
StreamingCredentialsProvider for token-based authentication (#3320)
- Supports dynamic credential updates
- Includes connection close hooks
- Note: Currently marked as experimental
- Added
ParseFailoverURL for parsing failover URLs (#3362)
- Added connection waiting statistics (#2804)
- Added new utility functions:
ParseFloat and MustParseFloat in public utils package (#3371)
- Unit tests for
Atoi, ParseInt, ParseUint, and ParseFloat (#3377)
- Added Ring client shard access methods:
GetShardClients() to retrieve all active shard clients
GetShardClientForKey(key string) to get the shard client for a specific key (#3388)
π Bug Fixes
- Fixed routing reads to loading slave nodes (#3370)
- Added support for nil lag in XINFO GROUPS (#3369)
- Fixed pool acquisition timeout issues (#3381)
- Optimized unnecessary copy operations (#3376)
π Documentation
- Updated documentation for XINFO GROUPS with nil lag support (#3369)
- Added package-level comments for new features
β‘ Performance and Reliability
- Optimized
ReplaceSpaces function (#3383)
- Set default value for
Options.Protocol in init() (#3387)
- Exported pool errors for public consumption (#3380)
π§ Dependencies and Infrastructure
- Updated Redis CI to version 8.0.1 (#3372)
- Updated spellcheck GitHub Actions (#3389)
- Removed unused parameters (#3382, #3384)
π§ͺ Testing
- Added unit tests for pool acquisition timeout (#3381)
- Added unit tests for utility functions (#3377)
π₯ Contributors
We would like to thank all the contributors who made this release possible:
@ndyakov, @ofekshenawa, @LINKIWI, @iamamirsalehi, @fukua95, @lzakharov, @DengY11
π Changelog
For a complete list of changes, see the full changelog.