Repository navigation
This is a patch release of the redis and redis-clustering gems. It fixes a pub/sub regression in 6.1.0 that could drop a message or raise RedisClient::ProtocolError when the message arrived in parts.
Requires Ruby 3.2+ and works with Redis server 6.0+.
🐛 Bug fixes
- Fix
subscribe,psubscribeandssubscribe(and their_with_timeoutforms) dropping a message or raisingRedisClient::ProtocolErrorwhen the message arrives in parts more than 50 ms apart, a regression in 6.1.0. The fix applies toRedis::Clustertoo. Not fixed on thehiredis-clientdriver, which can still crash on such a message. (#1417)
Upgrade notes
- Applications that use pub/sub on 6.1.0 with the default Ruby driver should upgrade. Everything else is drop-in.