Skip to content

6.1.1

Latest

Choose a tag to compare

@vladvildanov vladvildanov released this 26 Nov 07:45

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, psubscribe and ssubscribe (and their _with_timeout forms) dropping a message or raising RedisClient::ProtocolError when the message arrives in parts more than 50 ms apart, a regression in 6.1.0. The fix applies to Redis::Cluster too. Not fixed on the hiredis-client driver, which can still crash on such a message. (#1417)

Upgrade notes

  1. Applications that use pub/sub on 6.1.0 with the default Ruby driver should upgrade. Everything else is drop-in.