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 inRedis::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
andfetch_multi
methods in Rails cache with aDistributedStore
.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.
๐ 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 aDistributedStore
.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