redis-store v1.5.0 Release Notes

Release Date: 2018-04-16 // about 6 years ago
  • We're happy to announce the release of v1.5.0 of redis-store, which has 4 new features mostly related to using Redis::Store in distributed setups. Redis, and the redis.rb client that we depend on, has added support for connecting to a group of Redis servers that make up the total cache store, and you can now use that support directly in Redis::Store and all of the redis-store gems that are in use in your Ruby applications.

    ๐Ÿ†• New Features

    ๐Ÿ‘Œ Support for distributed mget/read_multi

    Allows using the read_multi and fetch_multi methods in Rails cache with a DistributedStore.

    PR: #282

    ๐Ÿ‘Œ Support for Redis v4.x

    โœ… We now test against Redis.rb v4. There were no changes to the codebase as a result, but since the dependency was bumped we are now recommending the usage of the highest version of Redis client that your application will support.

    PR: #292
    Issue: #277

    ๐Ÿ‘Œ Support for UNIX path connections

    ๐Ÿ‘ Since one can in theory connect to Redis over a UNIX socket, we now have support for doing so within Redis::Store. This caused some errors previously.

    PR: #298

    โž• Add tests for Namespace#flushdb

    PR: #299

    ๐Ÿ‘ Allow configuring the HashRing for a distributed store

    ๐Ÿ‘‰ Uses the Redis::HashRing for selecting the proper server in a DistributedStore.

    PR: #304

    ๐Ÿ› Bug Fixes

    ๐Ÿ›  Fix inefficient use of KEYS when calling FLUSHDB without a namespace

    We can rely on the base command FLUSHDB when there is no namespace, since this command should actually clear everything in the database.

    PR: #297